/* Inner pages (camera, app, about) — built on the homepage tokens in connected.css. */
.inner-page main {
  overflow-x: clip;
}
.wrap {
  max-width: 1256px;
  margin-inline: auto;
  padding-inline: 32px;
}
.header-inner nav a[aria-current="page"] {
  color: var(--tech);
  font-weight: 600;
}

/* Page hero */
.page-hero {
  padding-block: 84px 96px;
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: center;
}
.page-hero h1 {
  font-size: clamp(42px, 5.2vw, 70px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.page-hero .lede {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.75;
}
.offer-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.offer-line > span {
  font-size: 14px;
  color: var(--muted);
}
.offer-line strong {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.offer-line small {
  flex-basis: 100%;
  font-size: 13px;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.actions .microcopy {
  flex-basis: 100%;
  margin-top: 4px;
}

/* Media */
.media-frame {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(16px, 2.4vw, 28px);
  box-shadow: var(--shadow);
}
.media-frame img {
  width: 100%;
  border-radius: 18px;
}
.media-frame figcaption,
.part figcaption {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.media-frame.is-phone img {
  max-height: 620px;
  object-fit: contain;
  margin-inline: auto;
}

/* Sections */
.band {
  padding-block: 96px;
  border-top: 1px solid var(--line);
}
.band.soft {
  background: var(--soft);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.split h2 {
  max-width: 12ch;
}
.split .body > p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 620px;
}
.split .body > p + p {
  margin-top: 16px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 22px;
  font-weight: 600;
  color: var(--tech);
}
.check-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
  max-width: 620px;
}
.check-list li {
  position: relative;
  padding: 14px 30px 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.check-list li::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 21px;
  width: 13px;
  height: 7px;
  border-left: 2px solid var(--tech);
  border-bottom: 2px solid var(--tech);
  transform: rotate(-45deg);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  max-width: 520px;
}
.facts div {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.facts strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.facts span {
  font-size: 14px;
  color: var(--muted);
}

/* System parts */
.parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.part {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 18px 20px;
}
.part img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
}
.part figcaption {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

/* Spec sheet */
.spec-sheet {
  margin: 48px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 56px;
}
.spec-sheet > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.spec-sheet dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.spec-sheet dd {
  margin: 0;
  font-size: 16px;
}

/* Dark panel — the same deep navy as the homepage hero */
.panel-dark {
  background: #12262d;
  color: #f0f7f7;
  border-top: 0;
}
html[data-theme="dark"] .panel-dark {
  background: #0b191e;
}
.panel-dark p {
  color: #bcd0d4;
}
.panel-dark .eyebrow,
.panel-dark .text-link {
  color: #61d0d3;
}
.panel-dark .chips li {
  border-color: #3a5961;
  color: #e3eef0;
  background: transparent;
}
.panel-dark :focus-visible {
  outline-color: #61d0d3;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.chips li,
.chips span {
  padding: 7px 13px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

/* App feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row + .feature-row {
  margin-top: 96px;
}
.feature-row.is-reverse > :first-child {
  order: 2;
}

/* Steps (about) */
.steps {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--tech);
  font-weight: 700;
}
.steps h3 {
  font-size: 20px;
}
.steps p {
  margin-top: 8px;
  font-size: 15px;
}
.badge-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}
.badge-row img {
  width: 96px;
  height: auto;
}
.badge-row p {
  font-size: 14px;
  max-width: 300px;
}

/* Cross link */
.crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-decoration: none;
}
.crosslink:hover {
  text-decoration: none;
  border-color: var(--tech);
}
.crosslink span {
  color: var(--muted);
  font-size: 15px;
}
.crosslink strong {
  display: block;
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.crosslink b {
  color: var(--tech);
  font-size: 15px;
  white-space: nowrap;
}

/* Closing CTA */
.cta-band {
  padding-block: 32px 104px;
}
.cta-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  padding: clamp(32px, 5vw, 64px);
  border-radius: 32px;
  background: #12262d;
  color: #f0f7f7;
}
.cta-card p {
  color: #bcd0d4;
  margin-top: 16px;
  font-size: 17px;
}
.cta-card .eyebrow {
  color: #61d0d3;
}
.cta-card .offer-line {
  margin-top: 0;
  padding-top: 0;
  border: 0;
}
.cta-card .offer-line > span,
.cta-card .offer-line small,
.cta-card .microcopy {
  color: #bcd0d4;
}
.cta-card .actions {
  margin-top: 22px;
}
.cta-card .microcopy {
  font-size: 12px;
  margin-top: 4px;
}
.cta-card .phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding-inline: 8px;
  color: #f0f7f7;
  font-weight: 600;
}
.cta-card :focus-visible {
  outline-color: #61d0d3;
}

@media (max-width: 980px) {
  .wrap {
    padding-inline: 24px;
  }
  .page-hero {
    padding-block: 48px 64px;
  }
  .page-hero .wrap,
  .split,
  .feature-row,
  .cta-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-row.is-reverse > :first-child {
    order: 0;
  }
  .band {
    padding-block: 72px;
  }
  .parts,
  .steps {
    grid-template-columns: 1fr;
  }
  .parts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .spec-sheet {
    grid-template-columns: 1fr;
  }
  .split h2 {
    max-width: none;
  }
}
@media (max-width: 600px) {
  .wrap {
    padding-inline: 20px;
  }
  .page-hero {
    padding-block: 36px 56px;
  }
  .page-hero h1 {
    font-size: clamp(36px, 10.4vw, 48px);
  }
  .page-hero .lede {
    font-size: 16px;
    margin-top: 18px;
  }
  .offer-line strong {
    font-size: 32px;
  }
  .actions .primary {
    flex: 1 1 100%;
  }
  .actions .whatsapp {
    flex: 1 1 100%;
  }
  .band {
    padding-block: 60px;
  }
  .parts {
    grid-template-columns: 1fr;
  }
  .part {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px;
  }
  .part img {
    padding: 8px;
  }
  .part figcaption {
    margin: 0;
    text-align: start;
  }
  .spec-sheet > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 0;
  }
  .feature-row + .feature-row {
    margin-top: 64px;
  }
  .crosslink {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .cta-band {
    padding-block: 16px 96px;
  }
  .cta-card {
    border-radius: 24px;
    padding: 28px 22px;
  }
  .cta-card .actions .button {
    flex: 1 1 100%;
  }
}
.split .body .media-frame {
  margin-top: 32px;
}
.feature-row .lede {
  margin-top: 20px;
  font-size: 17px;
}
html[data-theme="dark"] .cta-card {
  background: #0b191e;
  border: 1px solid var(--line);
}

/* Legal / long-form pages */
.legal-page {
  padding-block: 72px 112px;
}
.legal {
  max-width: 820px;
  margin-inline: auto;
}
.legal h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.legal h2 {
  font-size: clamp(22px, 2.4vw, 27px);
  margin: 44px 0 10px;
  letter-spacing: -0.02em;
}
.legal h3 {
  font-size: 19px;
  margin: 28px 0 8px;
}
.legal p,
.legal li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
}
.legal p + p {
  margin-top: 12px;
}
.legal ul,
.legal ol {
  margin: 8px 0 16px;
  padding-inline-start: 20px;
  display: grid;
  gap: 6px;
}
.legal strong {
  color: var(--ink);
}
.legal a {
  color: var(--tech);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal .muted-note {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-block: 16px;
}
.measurement-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.measurement-actions button {
  min-height: 44px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 16px;
}
.measurement-actions button[aria-pressed="true"] {
  border-color: var(--tech);
  box-shadow: inset 0 0 0 1px var(--tech);
  color: var(--tech);
  font-weight: 600;
}
.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 96px;
}
.not-found .lede {
  margin: 18px auto 0;
}
.not-found .actions {
  justify-content: center;
}
@media (max-width: 600px) {
  .legal-page {
    padding-block: 40px 96px;
  }
}
.part img {
  animation: lv-float 7s ease-in-out infinite;
}
.part:nth-child(2) img {
  animation-delay: -2.3s;
}
.part:nth-child(3) img {
  animation-delay: -4.6s;
}
@media (prefers-reduced-motion: reduce) {
  .part img {
    animation: none;
  }
}
html[data-theme="dark"] .badge-row img {
  filter: brightness(0) invert(0.92);
}
