/* Heume marketing site (formerly FACET).
   Layout: a light, ruled page in the manner of a clinical report. Thin guide lines frame the
   content column, sections stack as bands, and every image of a face sits on the same soft sky
   backdrop. Colour comes from a navy ink, a clear blue accent and a sky gradient. */
:root {
  /* Heume brand kit: Lagoon for trust and actions, Glow only where the product shows potential. */
  --bg: #f3f4f1;       /* Mist, light ground */
  --bg-2: #fbfbf9;     /* paper card */
  --bg-3: #eceeea;     /* panel tint */
  --line: #dcdfda;
  --ink: #15191c;      /* Ink */
  --ink-2: #3a4240;
  --muted: #5f6866;    /* Stone */
  --tone: #5f8a84;     /* second tone in headings */
  --blue: #1e6b66;     /* Lagoon (old name kept so every rule follows) */
  --blue-deep: #16524e;
  --blue-soft: #e1ecea;
  --lagoon: #1e6b66;
  --glow: #ee9f74;     /* Glow, potential only */
  --sky-top: #eef1ee;
  --sky-bot: #c3d6d1;
  --good: #1e6b66;
  --warn: #c86f1e;
  --display: "Gilda Display", "Didot", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 20px;
  --wrap: 1240px;
  --sky: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%);
  --tone-grad: linear-gradient(90deg, var(--lagoon) 0%, var(--glow) 100%);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* Ruled column: guide lines at the edges of the content column, like a report page */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.ruled { position: relative; }
.ruled::before, .ruled::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); pointer-events: none; }
.ruled::before { left: max(8px, calc(50% - var(--wrap) / 2 + 8px)); }
.ruled::after { right: max(8px, calc(50% - var(--wrap) / 2 + 8px)); }

/* Type */
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: 0; }
.tone { color: var(--tone); }
.tone-grad { background: var(--tone-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0; }
.lede { font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--muted); max-width: 60ch; }
.small { font-size: 0.85rem; color: var(--muted); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label {
  display: inline-flex; align-items: center; width: fit-content; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg); font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.label.on-dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.num-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.num-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; font-size: 0.95rem; }
.num-list li::before { content: "[" counter(n) "]"; counter-increment: n; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); padding-top: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-dark { background: var(--lagoon); color: #fff; }
.btn-dark:hover { background: var(--blue-deep); }
.btn-ghost { background: var(--bg); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-white { background: #fff; color: var(--ink); }
.btn-glass { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Announcement bar and header */
.announce { background: linear-gradient(90deg, #1e6b66, #2f8a83); color: #fff; font-size: 0.82rem; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(243,244,241,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: 0; }
.logo svg { width: 22px; height: 26px; }
.nav-links { display: none; gap: 2px; margin-inline: auto; }
.nav-links a { text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; font-size: 0.92rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--bg-3); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-cta .signin { display: none; }
.nav-cta .btn { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.menu-btn { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: grid; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; transition: transform .25s ease, background .25s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { border-top: 1px solid var(--line); padding-block: 8px 20px; }
.mobile-menu a { display: block; padding: 14px 4px; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; width: 100%; color: #fff; border-bottom: none; }
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 0; }
  .nav-cta .signin { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* Bands */
.band { border-top: 1px solid var(--line); padding-block: 64px; }
@media (min-width: 720px) { .band { padding-block: 96px; } }
.spacer { border-top: 1px solid var(--line); height: 48px; }
@media (min-width: 720px) { .spacer { height: 64px; } }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .lede { margin-inline: auto; }
.tint { background: var(--bg-3); }
.warm { background: var(--bg-2); }

/* Hero */
.hero { padding-block: 16px 0; }
.hero-panel { position: relative; border-radius: 28px; background: var(--sky); overflow: hidden; display: grid; gap: 0; }
.hero-copy { display: grid; gap: 20px; padding: 36px 24px 8px; align-content: center; position: relative; z-index: 1; }
.hero-copy .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; padding: 16px 16px 0; display: grid; align-items: end; }
.hero-visual .compare { border-radius: 22px 22px 0 0; max-width: 460px; margin-inline: auto; }
.hero-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(21,25,28,.12); }
.hero-points div { padding: 16px 14px; font-size: 0.82rem; color: var(--ink-2); border-left: 1px solid rgba(21,25,28,.12); }
.hero-points div:first-child { border-left: none; }
.hero-points b { display: block; font-weight: 500; color: var(--ink); font-size: 0.92rem; }
.float-chip {
  position: absolute; z-index: 4; background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 14px;
  padding: 10px 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 0.75rem; color: var(--muted); pointer-events: none;
  box-shadow: 0 8px 24px rgba(21,25,28,.10);
}
.float-chip b { display: block; font-size: 1.4rem; font-weight: 400; color: var(--ink); letter-spacing: -0.02em; }
.float-chip.tl { left: 10px; top: 22%; }
.float-chip.br { right: 10px; bottom: 18%; }
@media (min-width: 960px) {
  .hero-panel { grid-template-columns: 1.05fr 0.95fr; min-height: 600px; }
  .hero-copy { padding: 56px 48px 24px; }
  .hero-visual { padding: 40px 40px 0; }
  .hero-points { grid-column: 1 / -1; }
  .float-chip.tl { left: 6%; } .float-chip.br { right: 6%; }
}

/* Before/after compare */
.compare {
  position: relative; overflow: hidden; border-radius: 18px; aspect-ratio: 800 / 993; width: 100%; max-width: 100%;
  background: var(--sky); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; --pos: 50%;
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare .zoom { position: absolute; inset: 0; transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform .5s ease; }
.compare.zoomed .zoom { transform: scale(var(--zs, 2.2)); }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.compare .divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; margin-left: -0.5px; background: rgba(255,255,255,.95); }
.compare .handle {
  position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: 1.5px solid #fff; color: #fff; display: grid; place-items: center; cursor: ew-resize; z-index: 3;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 4px 16px rgba(21,25,28,.18);
}
.compare .handle svg { width: 18px; height: 18px; }
.compare .tag { position: absolute; top: 12px; z-index: 2; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; pointer-events: none; background: rgba(21,25,28,.38); padding: 4px 8px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.compare .tag.l { left: 12px; } .compare .tag.r { right: 12px; }
.compare-caption { display: flex; justify-content: center; gap: 8px; margin-top: 12px; font-size: 0.84rem; color: var(--muted); text-align: center; }
.compare-caption a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.compare-caption a::after { content: "+"; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-3); display: inline-grid; place-items: center; font-size: 0.8rem; }

/* Overlay drawing on faces */
.ov-line { stroke: #fff; fill: none; vector-effect: non-scaling-stroke; }
.overlay .ov-line { stroke-width: 1.6; }
.ov-line.peach { stroke: var(--blue); }
.ov-line.dash { stroke-dasharray: 4 4; }
.ov-dot { fill: #fff; stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ov-label { font-family: var(--mono); font-size: 3.1px; fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 0.9px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); cursor: pointer;
  font-size: 0.84rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: all .2s ease;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }

/* Tabs */
.tablist { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); max-width: 100%; width: fit-content; }
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; min-height: 38px; padding: 0 16px; border-radius: 999px; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 0.88rem; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
[role="tabpanel"] { animation: fadeUp .4s ease both; }
@keyframes fadeUp { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Study cards */
.study-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin-top: 20px; }
@media (min-width: 720px) { .study-grid { grid-template-columns: repeat(3, 1fr); } }
.study { background: var(--bg-2); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: space-between; min-height: 220px; }
.study h3 { font-size: 1.3rem; }
.study .cite { font-size: 0.74rem; color: var(--muted); display: grid; gap: 6px; }
.study .cite::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--muted); opacity: .6; }

/* Old way / new way */
.way { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: var(--bg-3); align-items: center; }
.way + .way { margin-top: 12px; }
.way.new { background: linear-gradient(110deg, #7f9e99 0%, #2f7a73 55%, #1e6b66 100%); color: #fff; }
.way .title { font-size: 1.25rem; display: flex; gap: 12px; align-items: center; }
.way .title i { width: 28px; height: 28px; border-radius: 50%; background: rgba(21,25,28,.12); display: grid; place-items: center; font-style: normal; font-size: .8rem; }
.way.new .title i { background: rgba(255,255,255,.25); }
.way ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.way li { display: grid; gap: 4px; font-size: 0.92rem; }
.way li::before { counter-increment: s; content: "Step " counter(s); font-family: var(--mono); font-size: 0.64rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
@media (min-width: 900px) { .way { grid-template-columns: 200px 1fr; } .way ol { grid-template-columns: repeat(5, 1fr); } .way li { border-top: 1px dashed rgba(95,104,102,.45); padding-top: 10px; } .way.new li { border-color: rgba(255,255,255,.45); } }

/* Contrast switch */
.contrast-switch { display: inline-grid; grid-template-columns: 1fr 1fr; width: fit-content; padding: 4px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line); position: relative; }
.contrast-switch button { position: relative; z-index: 1; border: none; background: transparent; min-height: 40px; padding: 0 20px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); transition: color .25s ease; }
.contrast-switch button[aria-pressed="true"] { color: #fff; }
.contrast-switch .pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.contrast-switch[data-side="facet"] .pill { transform: translateX(100%); }
.contrast-table { display: grid; margin-top: 20px; border-top: 1px solid var(--line); }
.contrast-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .contrast-row { grid-template-columns: 200px 1fr 1fr; align-items: center; gap: 20px; } }
.contrast-row .label-cell { font-family: var(--mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contrast-row .side { display: flex; gap: 10px; align-items: flex-start; transition: opacity .3s ease; }
.contrast-row .side::before { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--muted); }
.contrast-row .side.facet::before { background: var(--blue); }
.contrast-table[data-side="surgery"] .side.facet, .contrast-table[data-side="facet"] .side.surgery { opacity: .35; }
.contrast-table[data-side="surgery"] .side.surgery, .contrast-table[data-side="facet"] .side.facet { font-weight: 500; }
.contrast-row .side small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
@media (max-width: 719px) { .contrast-table[data-side="surgery"] .side.facet, .contrast-table[data-side="facet"] .side.surgery { display: none; } }

/* Analysis band with large portrait */
.portrait-band { background: linear-gradient(180deg, #93aba6 0%, #83a09a 100%); color: #fff; text-align: center; padding-top: 64px; overflow: hidden; }
.portrait-band .section-head { margin-bottom: 24px; }
.portrait-band .lede { color: rgba(255,255,255,.85); }
.portrait-band .tone { color: rgba(255,255,255,.62); }
.portrait-band .stage { position: relative; max-width: 560px; margin: 0 auto; }
.portrait-band .stage img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; object-position: 50% 15%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%); }
.portrait-band .pin { position: absolute; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(21,25,28,.28); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 5px 10px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.portrait-band .pin::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }

/* List cards (Taking into account / You will learn) */
.list-cards { max-width: 640px; margin: 0 auto; display: grid; gap: 10px; }
.list-card { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.list-card .thumb { width: 72px; height: 52px; border-radius: 10px; overflow: hidden; background: var(--sky); display: grid; place-items: center; color: var(--ink); font-size: 1.1rem; }
.list-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.list-card .thumb.row { display: flex; gap: 2px; padding: 4px; }
.list-card .thumb.row img { border-radius: 4px; width: 33%; }
.list-card h3 { font-size: 1rem; letter-spacing: -0.01em; }
.list-card p { font-size: 0.84rem; color: var(--muted); }

/* Feature showcase */
.showcase { display: grid; gap: 28px; margin-top: 28px; align-items: start; }
.showcase-copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.showcase-visual { max-width: 460px; width: 100%; margin-inline: auto; }
@media (min-width: 900px) { .showcase { grid-template-columns: 1fr 1fr; gap: 56px; } .showcase-visual { order: 2; } }
.readout { display: grid; border-top: 1px solid var(--line); }
.readout .row { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; }
.readout .row .k { font-size: 0.95rem; }
.readout .row .v { font-family: var(--mono); font-size: 0.84rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.readout .row .v .to { color: var(--good); }
.readout .row .note { grid-column: 1 / -1; font-size: 0.8rem; color: var(--muted); }

/* Bars */
.bar { height: 6px; border-radius: 999px; background: var(--bg-3); overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: linear-gradient(90deg, var(--lagoon), var(--glow)); border-radius: inherit; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.bar i.after { background: linear-gradient(90deg, var(--lagoon), var(--glow)); }

/* Plan band (report mock) */
.plan-band { background: linear-gradient(110deg, #86a29c 0%, #a9c1bb 45%, #dbe6e2 100%); }
.plan-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .plan-grid { grid-template-columns: 0.9fr 1.1fr; } }
.plan-copy { display: grid; gap: 18px; color: #fff; }
.plan-copy .lede { color: rgba(255,255,255,.9); }
.plan-copy .tone { color: rgba(255,255,255,.68); }
.plan-copy .num-list li::before { color: rgba(255,255,255,.75); }
.report { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 30px 60px rgba(21,25,28,.18); display: grid; gap: 14px; min-width: 0; }
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.report-head h3 { font-size: 1.5rem; }
.report-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.report-pair figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; background: var(--sky); aspect-ratio: 4 / 4.4; }
.report-pair img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.report-pair figcaption { position: absolute; top: 8px; left: 0; right: 0; text-align: center; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

/* Protocol (months + steps) */
.month-list { display: flex; gap: 6px; flex-wrap: wrap; }
.month-btn { border: 1px solid var(--line); border-radius: 999px; background: var(--bg); padding: 0 14px; min-height: 36px; cursor: pointer; font-size: .84rem; color: var(--ink-2); }
.month-btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.proto-steps { display: grid; gap: 8px; }
.proto-step { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); overflow: hidden; }
.proto-step summary { list-style: none; cursor: pointer; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
.proto-step summary::-webkit-details-marker { display: none; }
.proto-step summary .t { font-weight: 500; font-size: .95rem; }
.proto-step summary .meta { grid-column: 1; font-size: 0.78rem; color: var(--muted); }
.proto-step summary .pts { grid-row: 1 / span 2; grid-column: 2; font-family: var(--mono); font-size: 0.7rem; padding: 4px 8px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.proto-step .body { padding: 0 14px 14px; display: grid; gap: 8px; color: var(--muted); font-size: 0.88rem; }
.proto-step .body b { color: var(--ink); font-weight: 500; }
.proto-step[open] { border-color: var(--blue); }

/* Future-you grid */
.future { display: grid; gap: 12px; }
.future .center { order: -1; max-width: 460px; width: 100%; margin-inline: auto; }
.future .card h3 { margin-top: 12px; margin-bottom: 6px; }
@media (min-width: 960px) {
  .future { grid-template-columns: 1fr 1.1fr 1fr; grid-template-rows: auto auto; }
  .future .center { order: 0; grid-column: 2; grid-row: 1 / span 2; max-width: none; }
  .future .c1 { grid-column: 1; grid-row: 1; } .future .c2 { grid-column: 1; grid-row: 2; }
  .future .c3 { grid-column: 3; grid-row: 1; } .future .c4 { grid-column: 3; grid-row: 2; }
}
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card.warm { background: var(--bg-2); border-color: transparent; }
.mini-ui { border-radius: 12px; background: var(--sky); padding: 8px; display: flex; gap: 6px; height: 64px; width: 104px; align-items: flex-end; justify-content: center; }
.mini-ui img { width: 28px; height: 38px; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }

/* Metric cards (Track your progress) */
.track { display: grid; gap: 12px; }
@media (min-width: 960px) { .track { grid-template-columns: 1fr 1.25fr 1fr; align-items: start; } }
.track .col { display: grid; gap: 12px; }
.metric { background: var(--bg-2); border-radius: 16px; padding: 16px; display: grid; gap: 10px; }
.metric .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .92rem; }
.metric .status { font-size: .68rem; padding: 3px 8px; border-radius: 999px; background: #fff; color: var(--muted); }
.metric .status.good { color: var(--good); }
.metric .status.warn { color: var(--warn); }
.metric .val { font-size: 2.2rem; letter-spacing: -0.03em; line-height: 1; }
.metric .scale { position: relative; height: 24px; }
.metric .scale .track-line { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 4px; background: #fff; }
.metric .scale .ideal { position: absolute; top: 15px; height: 4px; border-radius: 4px; background: #9cc7c0; }
.metric .scale .you { position: absolute; top: 9px; width: 2px; height: 15px; background: var(--ink); }
.metric .scale .you::before { content: "YOU"; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .55rem; color: var(--ink-2); }
.metric .ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .58rem; color: var(--muted); }

/* Progress chart */
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 20px 40px rgba(21,25,28,.06); min-width: 0; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid line { stroke: var(--line); }
.chart .axis text { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.chart .area { fill: url(#areaGrad); }
.chart .line { fill: none; stroke: var(--blue); stroke-width: 2.5; }
.chart .pline { fill: none; stroke: var(--tone); stroke-width: 1.5; stroke-dasharray: 5 5; }
.chart .pt { fill: #fff; stroke: var(--blue); stroke-width: 2; }
.chart .pt.on { fill: var(--blue); }
.chart .cursor { stroke: var(--muted); stroke-dasharray: 3 4; }
.chart .ptext { fill: var(--muted); font-family: var(--mono); font-size: 11px; }
.range { width: 100%; accent-color: var(--blue); margin-top: 12px; min-height: 32px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.chart-legend i { display: inline-block; width: 18px; height: 2px; margin-right: 6px; vertical-align: middle; background: var(--blue); }
.chart-legend i.p { background: none; border-top: 2px dashed var(--tone); }

/* Phone mockup */
.phone-wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .phone-wrap { grid-template-columns: 1fr 1fr; } }
.phone { width: min(100%, 330px); margin-inline: auto; border-radius: 44px; padding: 10px; background: #0b0e10; box-shadow: 0 40px 80px rgba(21,25,28,.25); }
.phone .screen { border-radius: 35px; overflow: hidden; background: var(--bg-3); color: var(--ink); height: 600px; display: flex; flex-direction: column; }
.phone .status { display: flex; justify-content: space-between; padding: 12px 22px 6px; font-size: 0.72rem; font-weight: 600; }
.phone .app-body { flex: 1; overflow-y: auto; padding: 8px 14px 14px; display: grid; gap: 10px; align-content: start; scrollbar-width: none; }
.phone .app-body::-webkit-scrollbar { display: none; }
.phone .app-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: #fff; padding: 6px 4px 10px; }
.phone .app-tabs button { border: none; background: transparent; display: grid; justify-items: center; gap: 2px; font-size: 0.6rem; color: var(--muted); cursor: pointer; padding: 6px 0; border-radius: 10px; }
.phone .app-tabs button svg { width: 20px; height: 20px; }
.phone .app-tabs button[aria-selected="true"] { color: var(--blue); font-weight: 600; }
.app-title { font-size: 1.5rem; letter-spacing: -0.02em; }
.app-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.ring { position: relative; width: 150px; height: 150px; margin-inline: auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .track { stroke: var(--bg-3); }
.ring .prog { stroke: url(#ringGrad); stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2,.8,.2,1); }
.ring .center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .center b { font-size: 2.4rem; font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.ring .center span { font-size: 0.7rem; color: var(--muted); }
.triple { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: 6px; }
.triple b { font-size: 1.3rem; font-weight: 400; display: block; }
.triple span { font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); }
.mini-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; font-size: 0.82rem; }
.mini-row .bar { grid-column: 1 / -1; }
.app-step { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 0.82rem; padding: 10px 0; border-bottom: 1px solid var(--bg-3); }
.app-step:last-child { border-bottom: none; }
.app-step .ic { width: 30px; height: 30px; border-radius: 10px; background: var(--blue-soft); display: grid; place-items: center; font-size: 0.66rem; font-family: var(--mono); color: var(--blue-deep); }
.app-step .pts { font-family: var(--mono); color: var(--good); font-size: 0.72rem; }
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--bg-3); }
.seg button { border: none; background: transparent; padding: 6px 12px; border-radius: 999px; font-size: 0.72rem; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* Assessment accordion */
.assess { max-width: 860px; margin: 0 auto; background: var(--bg-3); border-radius: 22px; padding: 6px 18px; }
.assess details { border-bottom: 1px solid var(--line); }
.assess details:last-child { border-bottom: none; }
.assess summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr auto 20px; gap: 14px; align-items: center; padding: 10px 0; }
.assess summary::-webkit-details-marker { display: none; }
.assess summary .ic { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--sky); }
.assess summary .ic img { width: 100%; height: 100%; object-fit: cover; }
.assess summary .count { font-size: .78rem; color: var(--muted); }
.assess summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; color: var(--ink-2); transition: transform .25s ease; text-align: center; }
.assess details[open] summary::after { transform: rotate(45deg); }
.assess ul { list-style: none; margin: 0; padding: 0 0 14px 58px; display: grid; gap: 6px; font-size: .9rem; color: var(--ink-2); }
.assess ul li { display: flex; justify-content: space-between; gap: 12px; }
.assess ul li span { color: var(--muted); font-size: .76rem; text-align: right; }
@media (max-width: 560px) { .assess summary { grid-template-columns: 40px 1fr 20px; } .assess summary .count { display: none; } .assess ul { padding-left: 0; } }

/* Marker cards (analysis explorer) */
.marker-grid { display: grid; gap: 10px; align-items: start; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.marker { text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 16px; cursor: pointer; display: grid; gap: 8px; align-content: start; transition: border-color .2s ease, background .2s ease; width: 100%; }
.marker:hover { border-color: var(--ink-2); }
.marker[aria-expanded="true"] { border-color: var(--blue); background: var(--blue-soft); }
.marker .top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.marker .name { font-weight: 500; }
.marker .val { font-family: var(--mono); font-size: 0.8rem; color: var(--blue-deep); white-space: nowrap; }
.marker .more { display: none; font-size: 0.86rem; color: var(--muted); }
.marker[aria-expanded="true"] .more { display: block; }
.marker .kind { font-size: 0.66rem; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.marker .kind.can { color: var(--good); } .marker .kind.fixed { color: var(--warn); }
.explorer { display: grid; gap: 28px; margin-top: 28px; }
@media (min-width: 960px) { .explorer { grid-template-columns: 1fr 1fr; align-items: start; } .explorer .sticky { position: sticky; top: 84px; } }
.explorer-list { display: grid; gap: 10px; min-width: 0; align-content: start; }
.model-pick { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.model-pick button { width: 50px; height: 50px; border-radius: 50%; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sky); }
.model-pick button img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.model-pick button[aria-pressed="true"] { border-color: var(--blue); }

/* Steps (how it works) */
.steps { display: grid; gap: 24px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.step { display: grid; gap: 10px; align-content: start; }
.step .shot { border-radius: 16px; background: linear-gradient(180deg, #bcd0cb, #eef3f1); height: 200px; padding: 18px; display: grid; place-items: center; overflow: hidden; }
.step .n { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.step p { color: var(--muted); font-size: .9rem; }
.ui-box { width: 100%; max-width: 280px; background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); border-radius: 12px; padding: 12px; display: grid; gap: 8px; font-size: .74rem; color: var(--ink-2); }
.ui-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.75); border-radius: 8px; padding: 7px 10px; gap: 8px; }
.ui-row b { font-weight: 500; }
.ui-row .ok { color: var(--good); font-family: var(--mono); }
.pose-row { display: flex; gap: 6px; justify-content: center; }
.pose { width: 44px; height: 54px; border-radius: 8px; border: 1px dashed rgba(21,25,28,.35); display: grid; place-items: center; color: var(--ink-2); background: rgba(255,255,255,.45); }
.pose svg { width: 26px; height: 26px; }
.pose.opt { opacity: .55; }

/* Pricing */
.price-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .price-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checks li::before { content: ""; width: 12px; height: 7px; margin-top: 6px; border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); }
.checks b { font-weight: 500; display: block; }
.checks small { color: var(--muted); }
.member-card { border-radius: 22px; aspect-ratio: 1.6; padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; background: radial-gradient(120% 120% at 20% 10%, #cfe0dc 0%, #6f9b95 45%, #1e6b66 100%); box-shadow: 0 30px 60px rgba(30,107,102,.18); max-width: 440px; width: 100%; margin-inline: auto; }
.member-card .name { font-size: 1.3rem; line-height: 1.15; }
.member-card .name span { opacity: .7; }
.member-card .price-line { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.member-card .price-line b { font-size: 2.6rem; font-weight: 400; letter-spacing: -0.03em; line-height: 1; }
.member-card .price-line small { font-size: .78rem; opacity: .9; text-align: right; }
.pay-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 16px; font-family: var(--mono); font-size: .68rem; color: var(--muted); letter-spacing: .08em; }
.trust { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: 32px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust div { padding: 14px 4px; font-size: .84rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.trust div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); opacity: .6; }
.timeline-price { display: grid; border-left: 1px solid var(--line); margin-left: 6px; }
.timeline-price div { position: relative; padding: 0 0 18px 22px; }
.timeline-price div::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--blue); }
.timeline-price div:last-child { padding-bottom: 0; }
.timeline-price small { color: var(--muted); display: block; }
s.strike { color: var(--tone); text-decoration-thickness: 2px; }

.price-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: grid; gap: 18px; box-shadow: 0 30px 60px rgba(21,25,28,.08); min-width: 0; }
.price-card .member-card { max-width: none; }
.ticks { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 10px; font-size: .92rem; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 1.5px solid var(--blue); border-bottom: 1.5px solid var(--blue); transform: rotate(-45deg); }

/* FAQ with category nav */
.faq-wrap { display: grid; gap: 20px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 220px 1fr; gap: 48px; } }
.faq-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border: none; padding: 0; background: none; border-radius: 0; width: auto; }
.faq-nav::-webkit-scrollbar { display: none; }
.faq-nav button { flex: 0 0 auto; text-align: left; border: 1px solid var(--line); background: none; padding: 8px 14px; cursor: pointer; color: var(--muted); font-size: .86rem; border-radius: 999px; white-space: nowrap; }
.faq-nav button[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
@media (min-width: 900px) { .faq-nav { flex-direction: column; overflow: visible; align-self: start; } .faq-nav button { border: none; border-left: 2px solid transparent; border-radius: 0; padding: 8px 14px; } .faq-nav button[aria-selected="true"] { background: none; color: var(--ink); border-left-color: var(--ink); } }
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; font-weight: 300; transition: transform .25s ease; color: var(--ink-2); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); max-width: 68ch; }

/* Reassurance band */
.calm { position: relative; background: #122423; color: #fff; overflow: hidden; }
.calm .bgimg { position: absolute; top: 0; right: 0; height: 100%; width: min(70%, 900px); object-fit: cover; object-position: 50% 20%; opacity: .7; }
.calm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,36,35,1) 0%, rgba(18,36,35,.85) 40%, rgba(18,36,35,.2) 100%); }
.calm .wrap { position: relative; z-index: 1; display: grid; gap: 28px; padding-block: 72px; }
.calm .lede { color: rgba(255,255,255,.82); }
.calm .tone { color: rgba(255,255,255,.55); }
.glass-grid { display: grid; gap: 12px; }
@media (min-width: 900px) { .glass-grid { grid-template-columns: repeat(3, 1fr); } }
.glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 8px; }
.glass h3 { font-size: 1.15rem; }
.glass p { font-size: .86rem; color: rgba(255,255,255,.75); }

/* Results gallery */
.gallery { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.result { display: grid; gap: 10px; align-content: start; }
.result .changes { display: flex; flex-wrap: wrap; gap: 6px; }
.result .changes span { font-size: 0.74rem; padding: 4px 10px; border-radius: 999px; background: var(--bg-3); color: var(--ink-2); }
.grid-2 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* CTA band */
.cta-band { text-align: center; display: grid; gap: 20px; justify-items: center; }
.cta-band .cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-top: 48px; color: var(--muted); font-size: 0.88rem; overflow: hidden; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid .brand { grid-column: 1 / -1; display: grid; gap: 12px; max-width: 380px; }
@media (min-width: 860px) { .foot-grid .brand { grid-column: auto; } }
.foot-grid h4 { margin: 0 0 12px; font-size: 0.68rem; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 500; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--ink); }
.foot-grid a:hover { color: var(--blue-deep); }
.foot-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 0.78rem; }
.wordmark { font-family: var(--display); font-size: clamp(5rem, 25vw, 21rem); line-height: .8; letter-spacing: -0.02em; font-weight: 400; text-align: center; margin: 24px 0 -0.06em; background: linear-gradient(100deg, #1e6b66 0%, #2f8a83 45%, #ee9f74 100%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* Forms (sign in, checkout) */
.auth-wrap { padding-block: 32px 64px; background: var(--sky); }
.auth-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .auth-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; min-height: calc(100vh - 160px); } }
.auth-copy { display: grid; gap: 18px; }
.form-card { background: #fff; border-radius: 24px; padding: 24px 20px; display: grid; gap: 16px; width: 100%; max-width: 480px; margin-inline: auto; box-shadow: 0 30px 60px rgba(21,25,28,.12); }
@media (min-width: 560px) { .form-card { padding: 32px; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.84rem; font-weight: 500; }
.field input, .field select { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,107,102,.18); }
.field.invalid input, .field.invalid select { border-color: #c2413b; }
.field .err, .check-field .err { font-size: 0.8rem; color: #b3322c; }
.field .err:empty, .check-field .err:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-icon { position: relative; }
.input-icon input { padding-right: 76px; }
.input-icon .brand-tag { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 0.68rem; color: var(--muted); }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--blue-deep); font-weight: 500; font-size: 0.82rem; cursor: pointer; padding: 8px; }
.check-field { display: grid; gap: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 0.84rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.check-field.invalid .check { color: #b3322c; }
.divider-text { display: flex; align-items: center; gap: 12px; font-size: 0.78rem; color: var(--muted); }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social .btn { min-height: 44px; padding: 0 12px; }
.demo-note { font-size: 0.78rem; padding: 10px 12px; border-radius: 12px; background: var(--bg-3); color: var(--muted); }
.demo-note b { color: var(--ink); font-weight: 600; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg-3); }
.auth-tabs button { border: none; background: transparent; min-height: 40px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.form-card .btn { width: 100%; }
.auth-or { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 0.78rem; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--bg-3); }
.text-link { background: none; border: none; padding: 0; color: var(--blue-deep); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.summary { display: grid; gap: 16px; }
.summary .line { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(21,25,28,.12); }
.summary .line.total { font-weight: 600; border-bottom: none; font-size: 1.05rem; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: currentColor; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; display: grid; gap: 14px; justify-items: center; }
.success .badge { width: 60px; height: 60px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.success .badge svg { width: 28px; height: 28px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 0.88rem; box-shadow: 0 10px 30px rgba(21,25,28,.3); transition: all .3s ease; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.page-hero { padding-block: 48px 32px; }
.legal-body { max-width: 760px; display: grid; gap: 14px; color: var(--ink-2); }
.legal-body h2 { font-size: 1.5rem; margin-top: 20px; }
.legal-body ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.legal-body a { color: var(--blue-deep, inherit); text-decoration: underline; }
.compare[data-static] { cursor: default; touch-action: auto; }
.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; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* Website chat bubble */
.chat-launcher { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px 0 16px; border-radius: 999px; border: none; background: var(--lagoon); color: #fff; font-weight: 500; font-size: .92rem; cursor: pointer; box-shadow: 0 12px 30px rgba(21,25,28,.28); transition: transform .2s ease, background .2s ease; }
.chat-launcher:hover { background: var(--blue-deep); transform: translateY(-1px); }
.chat-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 600; display: grid; place-items: center; border: 2px solid #fff; }
.chat-open .chat-launcher { display: none; }
@media (max-width: 559px) { .chat-launcher { padding: 0; width: 52px; justify-content: center; } .chat-launcher-text { display: none; } }
.chat-panel { position: fixed; z-index: 95; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(380px, calc(100vw - 32px)); height: min(620px, calc(100vh - 32px)); height: min(620px, calc(100dvh - 32px)); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px rgba(21,25,28,.25); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none !important; }
@media (max-width: 559px) { .chat-panel { left: 0; right: 0; bottom: 0; width: 100%; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); } }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 16px 14px; background: var(--sky); color: var(--ink); }
.chat-head b { display: block; font-weight: 500; font-size: 1.05rem; }
.chat-head span { display: block; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }
.chat-close { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.7); font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--ink); }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); overscroll-behavior: contain; }
.chat-msg { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.chat-msg p { white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg small { display: block; margin-top: 3px; font-size: .68rem; opacity: .7; }
.chat-msg.them { align-self: flex-start; background: var(--bg-3); color: var(--ink); border-bottom-left-radius: 6px; }
.chat-msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 6px; }
.chat-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .8rem; color: var(--ink-2); cursor: pointer; text-align: left; }
.chat-chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.chat-note { align-self: center; text-align: center; font-size: .74rem; color: var(--muted); max-width: 90%; }
.chat-form { border-top: 1px solid var(--line); padding: 10px 12px 12px; display: grid; gap: 8px; background: #fff; }
.chat-who { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6px; }
.chat-who[hidden] { display: none; }
.chat-who input, .chat-row textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.chat-who input { min-height: 40px; padding: 0 10px; font-size: 14px; }
@media (max-width: 559px) { .chat-who input { font-size: 16px; } }
.chat-who input:focus, .chat-row textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,107,102,.18); }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row textarea { flex: 1; min-width: 0; resize: none; padding: 10px 12px; min-height: 44px; max-height: 120px; line-height: 1.35; }
.chat-send { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-form.busy .chat-send { opacity: .5; cursor: progress; }
.chat-err { font-size: .78rem; color: #b3322c; }
.chat-err:empty { display: none; }
.chat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
