/* Punte website.
   Layout: one centred column (max 1120px) of full-width bands; the bridge arch is the recurring
   motif, drawn from the app icon. System fonts only: the site loads nothing from third parties. */

:root {
  /* colour: light */
  --paper: #F3F6F7;      /* page ground, a cool grey leaning teal */
  --surface: #FFFFFF;    /* raised panels */
  --sunken: #E8EEF0;     /* wells, code, table stripes */
  --ink: #0C1A2E;        /* text, deep navy */
  --muted: #4B5D70;      /* secondary text */
  --line: #D3DDE2;       /* hairlines */
  --deep: #0B2A6F;       /* brand deep blue (icon) */
  --teal: #0A7A7B;       /* accent for text and links on light ground */
  --glow: #14A6A6;       /* brand teal (icon), for marks and fills */
  --on-brand: #F4FBFF;   /* text on the brand gradient */
  --device: #1A2230;     /* device frames */
  --good: #1F8A4C;
  --shadow: 0 1px 2px rgb(12 26 46 / 6%), 0 12px 32px -12px rgb(12 26 46 / 18%);
  --brand-gradient: linear-gradient(135deg, #0B2A6F 0%, #1A6F96 58%, #14A6A6 100%);
  --text-gradient: linear-gradient(110deg, #0B2A6F 10%, #0A7A7B 90%);

  /* type */
  --font-display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", Menlo, Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);

  --radius: 14px;
  --gutter: 20px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #07101C;
    --surface: #0E1A2A;
    --sunken: #13233A;
    --ink: #E6F0F3;
    --muted: #9AAFBF;
    --line: #1F3148;
    --deep: #8DB2FF;
    --teal: #45CBC6;
    --glow: #2BB8B4;
    --device: #04080F;
    --good: #4CC67F;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
    --text-gradient: linear-gradient(110deg, #9DBDFF 10%, #45CBC6 90%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #07101C;
  --surface: #0E1A2A;
  --sunken: #13233A;
  --ink: #E6F0F3;
  --muted: #9AAFBF;
  --line: #1F3148;
  --deep: #8DB2FF;
  --teal: #45CBC6;
  --glow: #2BB8B4;
  --device: #04080F;
  --good: #4CC67F;
  --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 16px 40px -16px rgb(0 0 0 / 60%);
  --text-gradient: linear-gradient(110deg, #9DBDFF 10%, #45CBC6 90%);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 30;
  background: var(--paper);
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 0.8em; }
ul, ol { margin: 0; padding-left: 1.25em; }
li + li { margin-top: 0.35em; }
code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--sunken); padding: 0.1em 0.35em; border-radius: 5px; }
kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0.05em 0.4em;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  text-align: center;
  line-height: 1.4;
}
strong { font-weight: 650; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.narrow { max-width: 820px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 550;
}
.nav-links a:hover { background: var(--sunken); }
.nav-links a[aria-current="page"] { color: var(--teal); }
.nav-links .btn { margin-left: 8px; }
.nav-links .btn:hover { background: var(--ink); }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.icon-btn svg { width: 20px; height: 20px; }
.theme-btn [data-icon] { display: none; }
.theme-btn[data-mode="auto"] [data-icon="auto"],
.theme-btn[data-mode="light"] [data-icon="light"],
.theme-btn[data-mode="dark"] [data-icon="dark"] { display: block; }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) 16px max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 12px; font-size: 1.05rem; }
  .nav-links .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- buttons and badges ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { text-decoration: none; filter: brightness(1.12); }
.nav-links a.btn { color: var(--paper); padding: 9px 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sunken); filter: none; }
.btn-small { padding: 8px 14px; font-size: 0.92rem; }

/* Store badge placeholders: replace with the official badge artwork once the listings are live. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 10px 18px 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  line-height: 1.15;
  border: 1px solid var(--ink);
}
.store-badge:hover { filter: brightness(1.15); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: 0.72rem; opacity: 0.8; letter-spacing: 0.02em; }
.store-badge span { font-weight: 650; font-size: 1.02rem; }
.store-badge[aria-disabled="true"] { cursor: default; }
.store-badge.soon { background: transparent; color: var(--ink); border: 1px dashed var(--muted); }
.badge-note { font-size: var(--step--1); color: var(--muted); margin-top: 10px; }

/* ---------- generic section furniture ---------- */

.band { padding-block: clamp(56px, 8vw, 104px); }
.band + .band { border-top: 1px solid var(--line); }
.band.tint { background: var(--surface); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.lede { font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.25rem); color: var(--muted); max-width: 40em; line-height: 1.5; }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.6em; }
.prose li + li { margin-top: 0.5em; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.chip.ok { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, var(--line)); }
.chip.pro { color: var(--teal); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); }
.chip.soon { border-style: dashed; }

.fingerprint {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--good);
  white-space: nowrap;
}

/* ---------- hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 88px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}
.hero h1 { max-width: 15ch; }
.hero h1 em {
  font-style: normal;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.word-note {
  margin-top: 22px;
  font-size: var(--step--1);
  color: var(--muted);
}
.word-note b { font-family: var(--font-display); color: var(--ink); }

.scene { position: relative; }
.scene svg { display: block; width: 100%; height: auto; }
.scene-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 14px;
}
.scene .packet { fill: var(--glow); }
.scene .arch { stroke: var(--teal); }
.scene .ground { stroke: var(--line); }
.scene .frame { fill: var(--device); }
.scene .bezel-hi { stroke: color-mix(in srgb, var(--on-brand) 18%, transparent); }
@media (prefers-reduced-motion: reduce) {
  .scene .packet { display: none; }
}

/* ---------- home: steps, features, apps, platforms ---------- */

.steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
  counter-reset: step;
}
.steps li {
  min-width: 0;
  margin: 0;
  padding: 24px;
  counter-increment: step;
  display: grid;
  gap: 10px;
  align-content: start;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-weight: 800;
}
.steps p { color: var(--muted); }
.code-sample {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
}
.code-sample span {
  display: grid;
  place-items: center;
  width: 1.65em;
  height: 2em;
  border-radius: 7px;
  background: var(--sunken);
  border: 1px solid var(--line);
}
.code-sample i { align-self: center; font-style: normal; color: var(--muted); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-grid > div {
  background: var(--surface);
  padding: 26px 24px 28px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.feature-grid p { color: var(--muted); }
.glyph {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--glow) 14%, transparent);
  color: var(--teal);
  margin-bottom: 6px;
}
.glyph svg { width: 22px; height: 22px; }
.more-link { margin-top: 28px; font-weight: 650; }

.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.app-card { padding: 28px; display: grid; gap: 14px; align-content: start; }
.app-card header { display: flex; gap: 16px; align-items: center; }
.app-card header img { width: 72px; height: 72px; border-radius: 18px; flex: none; }
.app-card .ios-icon { border-radius: 22.5%; }
.app-card h3 { font-size: var(--step-2); }
.app-card .store-name { font-size: var(--step--1); color: var(--muted); }
.app-card ul { color: var(--muted); }

.platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 14px;
}
.platform { padding: 20px; display: grid; gap: 6px; align-content: start; }
.platform svg { width: 30px; height: 30px; color: var(--ink); margin-bottom: 6px; }
.platform h3 { font-size: 1.1rem; }
.platform p { font-size: var(--step--1); color: var(--muted); }
.platform .chip { justify-self: start; margin-top: 6px; }

/* privacy band */
.dark-band {
  background: var(--brand-gradient);
  color: var(--on-brand);
}
.dark-band .eyebrow { color: #A8F0EC; }
.dark-band .section-head p, .dark-band p { color: color-mix(in srgb, var(--on-brand) 82%, transparent); }
.dark-band a { color: var(--on-brand); }
.nocloud {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 28px 32px;
  margin-top: 8px;
}
.nocloud h3 { color: var(--on-brand); margin-bottom: 6px; }
.nocloud .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-3);
  letter-spacing: -0.03em;
  color: var(--on-brand);
  margin-bottom: 6px;
}

/* pricing summary */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  align-items: stretch;
}
.price-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.price-card .for { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.price-card ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.price-card li { margin: 0; padding-left: 28px; position: relative; }
.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.price-card li.limit::before {
  border: 0;
  width: 12px;
  height: 2.5px;
  top: 0.75em;
  left: 3px;
  background: var(--muted);
  transform: none;
}
.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-card.featured {
  border: 2px solid var(--glow);
  position: relative;
}
.price-card.featured .tag {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-gradient);
  color: var(--on-brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* download band */
.download { display: grid; gap: 28px; }
.download-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.download-cols > div { padding: 26px; display: grid; gap: 14px; align-content: start; }
.download-cols h3 { display: flex; align-items: center; gap: 12px; }
.download-cols h3 img { width: 40px; height: 40px; border-radius: 10px; }

/* ---------- features page ---------- */

.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 18ch; }
.page-head .lede { margin-top: 18px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.toc a { text-decoration: none; }
.toc a:hover .chip { color: var(--ink); border-color: var(--muted); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature.flip > :first-child { order: 2; }
.feature-text { display: grid; gap: 14px; min-width: 0; }
.feature-text > p { color: var(--muted); }
.feature-text ul { color: var(--muted); display: grid; gap: 4px; }
.feature-text li { margin: 0; }
.feature-text li strong { color: var(--ink); }
.feature-visual { min-width: 0; }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > :first-child { order: 0; }
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin-top: 6px;
}
.facts div { padding: 14px 16px; border-radius: 12px; background: var(--sunken); }
.facts b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.facts span { font-size: var(--step--1); color: var(--muted); }

/* device frames (HTML) around real screenshots */
.device .screen-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}
.device.phone .screen-img { border-radius: 22px; }
.window-shot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgb(12 26 46 / 22%)) drop-shadow(0 1px 2px rgb(12 26 46 / 18%));
}
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.showcase figure { margin: 0; display: grid; gap: 14px; min-width: 0; }
.showcase figcaption { font-size: var(--step--1); color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
}

/* device frames (HTML) */
.device {
  position: relative;
  background: var(--device);
  border-radius: 26px;
  padding: 12px;
  box-shadow: var(--shadow);
  max-width: 100%;
}
.device .screen {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--device);
  max-width: 100%;
}
.device.phone { border-radius: 30px; padding: 10px; }
.device.phone .screen { aspect-ratio: 19.5 / 9; border-radius: 22px; }

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: 12px;
  background: var(--sunken);
  gap: 4px;
}
.segmented span { padding: 8px 16px; border-radius: 9px; font-weight: 650; font-variant-numeric: tabular-nums; }
.segmented span.on { background: var(--surface); box-shadow: var(--shadow); }

.keys-demo { padding: 24px; display: grid; gap: 16px; }
.keys-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.keys-row .label { width: 100%; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.keys-row kbd { font-size: 1.15rem; min-width: 2.1em; padding: 0.2em 0.5em; }
.keys-arrow { color: var(--teal); font-weight: 800; }

.gesture-list { display: grid; gap: 0; margin: 0; }
.gesture-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.gesture-list dt { font-weight: 600; }
.gesture-list dd { margin: 0; color: var(--muted); }

.pair-card { padding: 26px; display: grid; gap: 16px; max-width: 460px; margin-inline: auto; }
.pair-card .code-sample { font-size: clamp(1.1rem, 4vw, 1.6rem); flex-wrap: wrap; }
.pair-card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pair-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.95rem; }
.pair-row span:first-child { color: var(--muted); }

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.mini-grid > div { padding: 22px; display: grid; gap: 8px; align-content: start; }
.mini-grid p { color: var(--muted); font-size: 0.98rem; }

/* ---------- pricing page ---------- */

.store-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); background: var(--sunken); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 650; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.yes { color: var(--good); font-weight: 700; }

.faq { display: grid; gap: 10px; max-width: 48rem; }
.faq details { padding: 4px 20px; }
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 800; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); }

/* ---------- support page ---------- */

.setup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.setup-card { padding: 26px; display: grid; gap: 14px; }
.setup-card h3 { display: flex; align-items: center; gap: 12px; font-size: var(--step-2); }
.setup-card h3 img { width: 44px; height: 44px; border-radius: 11px; }
.setup-card ol { display: grid; gap: 12px; }
.setup-card li { margin: 0; padding-left: 4px; }
.setup-card li::marker { font-weight: 700; color: var(--teal); }
.setup-card ul { margin-top: 8px; }
.setup-card ul li { margin-top: 6px; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  max-width: 480px;
  margin-bottom: 20px;
}
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 12px 0;
  outline: none;
}
.search:focus-within { outline: 3px solid var(--glow); outline-offset: 2px; }

.trouble { display: grid; gap: 10px; }
.trouble details { padding: 2px 20px; }
.trouble summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  font-weight: 650;
}
.trouble summary::-webkit-details-marker { display: none; }
.trouble summary .where { font-size: 0.75rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.trouble details > div { padding-bottom: 18px; color: var(--muted); }
.trouble details > div strong { color: var(--ink); }
.no-results { color: var(--muted); padding: 12px 4px; }

.contact { padding: 28px; display: grid; gap: 12px; }
.placeholder {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px dashed var(--muted);
  font-family: var(--font-mono);
  font-size: 0.9em;
}

/* ---------- privacy page ---------- */

.summary-box { padding: 24px 26px; display: grid; gap: 10px; }
.summary-box ul { display: grid; gap: 6px; }
.summary-box li { margin: 0; }
.data-table td:first-child { font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) {
  .data-table td:first-child { white-space: normal; }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 40px;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 28px; }
.footer-grid h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 10px; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer-grid li { margin: 0; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--ink); }
.footer-brand p { margin-top: 10px; max-width: 26ch; }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- analytics consent ---------- */

.link-btn {
  border: 0;
  padding: 0;
  margin-left: 6px;
  background: none;
  color: var(--teal);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.consent {
  position: fixed;
  z-index: 40;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: max(16px, env(safe-area-inset-left, 0px));
  max-width: 440px;
  margin-left: auto;
  padding: 20px 22px;
  display: grid;
  gap: 10px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgb(12 26 46 / 35%);
  font-size: 0.95rem;
  line-height: 1.5;
}
.consent h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
.consent p { color: var(--muted); }
.consent-actions { display: flex; gap: 10px; margin-top: 4px; }
.consent-actions .btn { flex: 1; justify-content: center; }

/* ---------- SEO-era additions: eyebrow inside h1, platform pages ---------- */

h1 .eyebrow { display: block; width: fit-content; letter-spacing: 0.08em; line-height: 1.4; }
.platform { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.platform:hover { border-color: var(--muted); }
.card-link:focus-visible { outline: none; }
.platform:has(.card-link:focus-visible) { outline: 3px solid var(--glow); outline-offset: 3px; }
.plain-steps { display: grid; gap: 12px; padding-left: 1.4em; }
.plain-steps li { margin: 0; }
.plain-steps li::marker { color: var(--teal); font-weight: 700; }
.req-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 16px; }
.req-list li { margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.device.phone.portrait { max-width: 280px; padding: 10px; border-radius: 34px; }
.device.phone.portrait .screen-img { border-radius: 26px; }
