/* Second Martin pass: shared handset previews, producer credit and treatment picker. */
#demos .demo-card h3 .demo-brand-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.app-device-preview {
  display: block;
  width: 292px;
  max-width: 100%;
  margin: auto;
  padding: 8px;
  border-radius: 39px;
  border: 1px solid #748085;
  background: linear-gradient(130deg, #c6cfd1 0%, #263238 12%, #0e1a1f 70%, #a9b7bc 100%);
  box-shadow: 0 22px 35px #1425262a;
  color: var(--ink);
  text-decoration: none;
  transform: none;
  position: relative;
  transition: transform 0.2s;
}
.app-device-preview:hover {
  transform: translateY(-4px);
}
.app-device-preview:focus-visible {
  outline-offset: 7px;
}
.preview-device-screen {
  border-radius: 31px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.preview-status {
  height: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px 0;
  font:
    700 8px Arial,
    sans-serif;
  position: relative;
}
.preview-status i {
  display: block;
  width: 55px;
  height: 5px;
  border-radius: 9px;
  background: #142126;
  position: absolute;
  top: 9px;
  left: calc(50% - 27px);
}
.preview-app-header {
  height: 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 13px;
  background: var(--paper);
}
.preview-app-header img {
  width: 183px;
  height: auto;
  object-fit: contain;
}
.preview-app-header > span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  background: var(--soft);
  font-size: 11px;
}
.preview-app-photo {
  position: relative;
}
.preview-app-photo > img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.preview-app-photo > span {
  position: absolute;
  left: 15px;
  bottom: 10px;
  background: var(--ink);
  color: white;
  font-size: 7px;
  padding: 5px 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.preview-app-dashboard {
  padding: 19px 16px 20px;
}
.preview-app-dashboard .eyebrow {
  font-size: 7px;
  margin-bottom: 8px;
}
.preview-app-dashboard h3 {
  font:
    750 23px/1.1 Figtree,
    Arial,
    sans-serif;
  letter-spacing: -0.04em;
  margin: 0 0 10px;
}
.preview-app-dashboard > p:not(.eyebrow) {
  font-size: 10px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.preview-booking {
  padding: 12px;
  background: var(--soft);
  border-left: 2px solid var(--accent);
  font-size: 8px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.preview-booking strong {
  font-weight: 600;
}
.preview-app-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.preview-app-tiles span {
  background: #ffffff99;
  border: 1px solid #0002;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 650;
  padding: 14px 8px;
}
.preview-bottom-tabs {
  display: flex;
  gap: 2px;
  padding: 6px 5px 2px;
  border-top: 1px solid #0001;
  background: var(--paper);
}
.preview-bottom-tabs > span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 20%;
  padding: 7px 2px;
  border-radius: 5px;
  color: var(--ink);
}
.preview-bottom-tabs > span:first-child {
  background: var(--soft);
  color: var(--accent);
}
.preview-bottom-tabs > span:last-child {
  background: var(--accent);
  color: white;
}
.preview-bottom-tabs small {
  font-size: 5.8px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.preview-home-indicator {
  background: var(--ink);
  width: 80px;
  height: 3px;
  border-radius: 7px;
  margin: 6px auto 7px;
}
.producer-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-top: 1px solid #ffffff30;
  padding: 22px 0 0;
  margin-top: 25px;
  font:
    400 11px/1.5 Figtree,
    Arial,
    sans-serif;
}
.producer-credit a {
  display: inline-block;
  line-height: 0;
}
.producer-credit img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.phone-device .producer-credit {
  border-color: #0002;
  margin-top: 17px;
  padding-top: 16px;
  font-size: 8px;
  gap: 8px;
}
.phone-device .producer-credit img {
  width: 27px;
  height: 27px;
}
.treatment-picker {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}
.treatment-picker legend {
  font-size: 13px;
  font-weight: 750;
  padding: 0;
  margin-bottom: 7px;
}
.treatment-picker > p {
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.treatment-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid #375d5040;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  margin-bottom: 9px;
}
.treatment-choice:has(input:checked) {
  background: #edf2e4;
  border-color: #375d50;
}
.treatment-choice input {
  appearance: auto;
  width: 19px;
  height: 19px;
  margin: 0;
  accent-color: #375d50;
  flex-shrink: 0;
}
.treatment-choice strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
}
.treatment-choice small {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  line-height: 1.6;
  color: #50694e;
}
.licence-summary {
  border: 1px solid #16332f35;
  background: #f4efdf;
  border-radius: 6px;
  padding: 25px;
  margin: 30px 0;
}
.licence-summary h2 {
  font-size: 28px;
}
.licence-summary p {
  font-size: 14px;
}
@media (max-width: 760px) {
  .app-device-preview {
    width: 278px;
  }
  .producer-credit {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-device-preview {
    transition: none;
  }
  .app-device-preview:hover {
    transform: none;
  }
}

.site-footer > .producer-credit {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 10px;
}
.licence-producer {
  border-top-color: #16332f30;
}
/* Version 03 uses explicit PNG assets, so old tilted preview styles cannot affect them. */
.app-promo .app-preview-link {
  display: block;
  width: 340px;
  max-width: 100%;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.app-promo .app-preview-link > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.app-promo .app-preview-link:hover {
  transform: translateY(-3px);
}
@media (max-width: 760px) {
  .app-promo .app-preview-link {
    width: 305px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .app-promo .app-preview-link:hover {
    transform: none;
  }
}
