/* taglia.ai — the same palette, glass and type as the app (Shared/Theme.swift). No scripts anywhere. */

:root {
  --canvas: #f2f2f5;
  --surface: #ffffff;
  --fill: #ebebef;
  --ink: #0b0b0c;
  --ink-2: #6e6e73;
  --ink-3: #a1a1a6;
  --line: #e2e2e7;
  --on-ink: #ffffff;
  --positive: #1e8e3e;
  --caution: #c24e00;
  --glass: rgba(255, 255, 255, 0.62);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-line: rgba(0, 0, 0, 0.06);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.05), 0 40px 90px rgba(0, 0, 0, 0.16);
  --radius: 26px;
  --wrap: 1120px;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #000000;
    --surface: #1c1c1e;
    --fill: #2c2c2e;
    --ink: #f5f5f7;
    --ink-2: #98989d;
    --ink-3: #66666b;
    --line: #333336;
    --on-ink: #0b0b0c;
    --positive: #32d74b;
    --caution: #ff9f0a;
    --glass: rgba(36, 36, 38, 0.55);
    --glass-edge: rgba(255, 255, 255, 0.1);
    --glass-line: rgba(255, 255, 255, 0.06);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 40px 90px rgba(0, 0, 0, 0.7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* The app's soft ambient backdrop. */
body::before {
  content: "";
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vw 40vw at 15% 10%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(45vw 45vw at 90% 20%, rgba(214, 214, 222, 0.55), transparent 70%),
    radial-gradient(50vw 50vw at 60% 95%, rgba(226, 222, 214, 0.5), transparent 70%);
}
@media (prefers-color-scheme: dark) {
  body::before {
    background:
      radial-gradient(40vw 40vw at 15% 10%, rgba(60, 60, 66, 0.35), transparent 70%),
      radial-gradient(45vw 45vw at 90% 20%, rgba(40, 40, 48, 0.4), transparent 70%),
      radial-gradient(50vw 50vw at 60% 95%, rgba(48, 44, 40, 0.3), transparent 70%);
  }
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.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; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; z-index: 100; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid var(--glass-line);
  box-shadow: inset 0 1px 0 var(--glass-edge), var(--shadow);
}

/* ——— Header ——— */
.site-head { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.site-head .bar {
  display: flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 10px 0 14px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.3px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { .logo-light { display: none; } .logo-dark { display: block; } }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--fill); }
.cta-small {
  margin-left: 8px; text-decoration: none; background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: 15px; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
}
@media (max-width: 860px) { .nav { display: none; } .cta-small { margin-left: auto; } }

/* ——— Type ——— */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2); text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; }
.display { font-size: clamp(46px, 7.4vw, 92px); }
.title { font-size: clamp(36px, 5.2vw, 64px); }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.45; color: var(--ink-2); margin: 20px 0 0; max-width: 34ch; letter-spacing: -0.01em; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; max-width: 46ch; }
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 110px 0; } }

/* ——— Store badges ——— */
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.badge { display: block; height: 52px; border-radius: 10px; }
.badge img { height: 52px; width: auto; }
.badge-apple-dark { display: none; }
@media (prefers-color-scheme: dark) { .badge-apple-light { display: none; } .badge-apple-dark { display: block; } }
.badge[aria-disabled="true"] { cursor: default; }
.soon { font-size: 14px; color: var(--ink-2); margin: 12px 0 0; display: flex; align-items: center; gap: 8px; }
.soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--caution); box-shadow: 0 0 0 4px color-mix(in srgb, var(--caution) 18%, transparent); }
.center .badges, .center .soon { justify-content: center; }

/* ——— Hero ——— */
.hook { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 9px 16px 9px 13px; border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.hook svg { width: 19px; height: 19px; flex: none; }
.hero { padding: 40px 0 80px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-top: 30px; } }
.hero-copy { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-stage { display: flex; justify-content: center; animation: rise 1s 0.12s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ——— Phone ——— */
.phone {
  --w: min(340px, 86vw);
  width: var(--w); aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--w) * 0.155);
  padding: calc(var(--w) * 0.032);
  background: linear-gradient(145deg, #2a2a2d, #0b0b0c 40%, #1d1d20);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  position: relative;
}
.screen {
  height: 100%; border-radius: calc(var(--w) * 0.125); overflow: hidden; position: relative;
  background: var(--canvas); color: var(--ink); font-size: calc(var(--w) * 0.041);
  display: flex; flex-direction: column;
}
.screen::before { /* the app's backdrop, inside the phone */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 50% at 20% 0%, rgba(255, 255, 255, 0.85), transparent 70%), radial-gradient(70% 50% at 100% 40%, rgba(220, 220, 228, 0.5), transparent 70%);
}
@media (prefers-color-scheme: dark) { .screen::before { background: radial-gradient(80% 50% at 20% 0%, rgba(70, 70, 76, 0.35), transparent 70%); } }
.island { position: absolute; top: calc(var(--w) * 0.03); left: 50%; translate: -50% 0; width: 30%; height: calc(var(--w) * 0.085); background: #000; border-radius: 999px; z-index: 3; }
.status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 0.95em 1.9em 0.2em; font-weight: 600; font-size: 0.92em; z-index: 2; }
.status svg { height: 0.85em; width: auto; }
.status .icons { display: flex; gap: 0.35em; align-items: center; }
.scr { position: relative; z-index: 1; padding: 0.6em 1.05em 1em; display: flex; flex-direction: column; gap: 0.75em; flex: 1; min-height: 0; }
.scr-bar { display: flex; justify-content: space-between; align-items: center; }
.circle { width: 2.6em; height: 2.6em; border-radius: 50%; display: grid; place-items: center; }
.circle svg { width: 1em; height: 1em; }
.item-head { display: flex; gap: 0.75em; align-items: center; }
.thumb { width: 3.3em; height: 4.1em; border-radius: 0.75em; overflow: hidden; flex: none; box-shadow: 0 0 0 0.5px var(--glass-line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.item-head strong { display: block; font-size: 1.12em; letter-spacing: -0.02em; line-height: 1.2; }
.item-head span { color: var(--ink-2); font-size: 0.86em; }
.card { background: var(--surface); border-radius: 1.4em; box-shadow: 0 0 0 0.5px var(--glass-line), 0 0.4em 1.4em rgba(0, 0, 0, 0.05); }
.size-card { padding: 0.9em 1em 1em; }
.size-top { display: flex; align-items: flex-end; justify-content: space-between; }
.size-label { font-size: 0.8em; color: var(--ink-2); font-weight: 600; }
.size-value { font-size: 4.2em; font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; margin-top: 0.06em; }
.sure { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15em; font-size: 0.8em; color: var(--ink-2); font-weight: 600; }
.sure b { color: var(--positive); font-size: 1.15em; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.2em; padding: 0.22em; border-radius: 999px; background: var(--fill); margin-top: 0.85em; position: relative; }
.looks input { position: absolute; opacity: 0; pointer-events: none; }
.looks label { text-align: center; font-size: 0.8em; font-weight: 600; padding: 0.55em 0; border-radius: 999px; cursor: pointer; color: var(--ink-2); position: relative; z-index: 1; transition: color 0.25s; user-select: none; -webkit-user-select: none; }
.looks .knob { position: absolute; top: 0.22em; bottom: 0.22em; left: 0.22em; width: calc((100% - 0.44em - 0.6em) / 4); border-radius: 999px; background: var(--surface); box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.12); transition: translate 0.45s cubic-bezier(.3, 1.3, .5, 1); }
.looks input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -2px; }
.fitmap { padding: 0.35em 1em; }
.fitrow { display: grid; grid-template-columns: 5.2em 1fr; gap: 0.6em; align-items: center; padding: 0.62em 0; }
.fitrow + .fitrow { border-top: 0.5px solid var(--line); }
.fitrow .name { font-weight: 600; font-size: 0.86em; }
.fitrow .note { grid-column: 2; color: var(--ink-2); font-size: 0.78em; margin-top: -0.2em; }
.scale { position: relative; height: 0.4em; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--caution) 45%, var(--fill)), var(--fill) 35%, var(--fill) 65%, color-mix(in srgb, var(--ink-3) 60%, var(--fill))); }
.scale i { position: absolute; top: 50%; width: 1em; height: 1em; border-radius: 50%; background: var(--ink); border: 0.18em solid var(--surface); box-shadow: 0 0.1em 0.4em rgba(0, 0, 0, 0.25); translate: -50% -50%; left: var(--p, 50%); transition: left 0.6s cubic-bezier(.3, 1.2, .5, 1); }
.scale-ends { display: flex; justify-content: space-between; font-size: 0.68em; color: var(--ink-3); margin-top: 0.35em; }
.why { padding: 0.8em 1em; }
.why p { margin: 0.3em 0 0; font-size: 0.86em; line-height: 1.4; }
.primary { display: flex; align-items: center; justify-content: center; gap: 0.5em; background: var(--ink); color: var(--on-ink); border-radius: 999px; padding: 0.95em; font-weight: 600; font-size: 0.95em; margin-top: auto; }
.primary svg { width: 1.05em; height: 1.05em; }

/* Per-look content (CSS only: the radios sit inside .phone). */
.v { display: none; }
.phone:has(#look-fitted:checked) .v-fitted,
.phone:has(#look-regular:checked) .v-regular,
.phone:has(#look-relaxed:checked) .v-relaxed,
.phone:has(#look-oversized:checked) .v-oversized { display: inline; }
.phone:has(#look-fitted:checked) .size-value .v-fitted,
.phone:has(#look-regular:checked) .size-value .v-regular,
.phone:has(#look-relaxed:checked) .size-value .v-relaxed,
.phone:has(#look-oversized:checked) .size-value .v-oversized { display: inline-block; animation: pop 0.45s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(0.15em) scale(0.92); } to { opacity: 1; transform: none; } }
.phone:has(#look-fitted:checked) .knob { translate: 0 0; }
.phone:has(#look-regular:checked) .knob { translate: calc(100% + 0.2em) 0; }
.phone:has(#look-relaxed:checked) .knob { translate: calc(200% + 0.4em) 0; }
.phone:has(#look-oversized:checked) .knob { translate: calc(300% + 0.6em) 0; }
.phone:has(#look-fitted:checked) label[for="look-fitted"],
.phone:has(#look-regular:checked) label[for="look-regular"],
.phone:has(#look-relaxed:checked) label[for="look-relaxed"],
.phone:has(#look-oversized:checked) label[for="look-oversized"] { color: var(--ink); }
.phone:has(#look-fitted:checked) .s-chest { --p: 30%; }
.phone:has(#look-fitted:checked) .s-shoulder { --p: 38%; }
.phone:has(#look-fitted:checked) .s-length { --p: 42%; }
.phone:has(#look-regular:checked) .s-chest { --p: 50%; }
.phone:has(#look-regular:checked) .s-shoulder { --p: 50%; }
.phone:has(#look-regular:checked) .s-length { --p: 50%; }
.phone:has(#look-relaxed:checked) .s-chest { --p: 64%; }
.phone:has(#look-relaxed:checked) .s-shoulder { --p: 56%; }
.phone:has(#look-relaxed:checked) .s-length { --p: 52%; }
.phone:has(#look-oversized:checked) .s-chest { --p: 82%; }
.phone:has(#look-oversized:checked) .s-shoulder { --p: 76%; }
.phone:has(#look-oversized:checked) .s-length { --p: 66%; }
.hint { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; color: var(--ink-2); margin-top: 18px; }
.hint svg { width: 16px; height: 16px; }

/* ——— Steps ——— */
.steps { display: grid; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.panel { border-radius: var(--radius); padding: 26px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow); }
.step-num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--on-ink); font-weight: 700; font-size: 15px; }
.panel h3 { font-size: 24px; margin: 18px 0 8px; letter-spacing: -0.025em; }
.panel p { margin: 0; color: var(--ink-2); }
.vis { margin-top: 24px; border-radius: 18px; background: var(--canvas); min-height: 170px; display: grid; place-items: center; padding: 18px; overflow: hidden; position: relative; }

/* Share sheet mini */
.share { width: 100%; max-width: 300px; border-radius: 18px; padding: 14px; background: var(--surface); box-shadow: var(--shadow); }
.share-item { display: flex; gap: 10px; align-items: center; padding-bottom: 12px; border-bottom: 0.5px solid var(--line); }
.share-item .thumb { width: 34px; height: 42px; border-radius: 8px; }
.share-item b { font-size: 14px; display: block; }
.share-item span { font-size: 12px; color: var(--ink-2); }
.apps { display: flex; justify-content: space-between; padding-top: 12px; }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); }
.app i { width: 48px; height: 48px; border-radius: 12px; background: var(--fill); display: grid; place-items: center; }
.app i svg { width: 22px; height: 22px; color: var(--ink-2); }
.app.taglia i { background: none; box-shadow: 0 0 0 2px var(--ink); animation: beckon 2.4s ease-in-out infinite; }
.app.taglia i img { width: 48px; height: 48px; border-radius: 12px; }
.app.taglia { color: var(--ink); font-weight: 600; }
@keyframes beckon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* Look pills mini */
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pills span { padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line); font-weight: 600; font-size: 15px; color: var(--ink-2); }
.pills span.on { background: var(--ink); color: var(--on-ink); }
.pills span small { display: block; font-size: 11px; font-weight: 500; opacity: 0.7; text-align: center; }

/* Result mini */
.result-mini { display: flex; align-items: center; gap: 16px; background: var(--surface); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.result-mini .big { font-size: 54px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.result-mini small { color: var(--ink-2); display: block; font-size: 13px; }
.result-mini b { font-size: 16px; }
.result-mini .tick { color: var(--positive); display: inline-block; width: 16px; height: 16px; vertical-align: -2px; }

/* ——— Feature rows ——— */
.feature { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 72px; } .feature.flip .feature-copy { order: 2; } }
.feature-copy .lead { max-width: 30ch; }
.picnote { color: var(--ink-2); font-size: 14px; margin: 22px 0 0; }
.center-lead { margin-left: auto; margin-right: auto; }
.store-stage svg text { font-family: var(--font); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--ink-2); }
.ticks li b { color: var(--ink); font-weight: 600; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--ink); }

/* In-store tag */
.store-stage { border-radius: 32px; background: linear-gradient(180deg, #f6f3ee, #e7e2da); padding: 34px 20px; display: grid; place-items: center; box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow); position: relative; overflow: hidden; }
.store-stage svg { width: 100%; max-width: 460px; height: auto; color: #0b0b0c; }
.tag-swing { transform-origin: 50% 6%; animation: swing 5s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
.scan { animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(300px); opacity: 0; } }
.callout { animation: callout 6s ease-in-out infinite both; }
.callout.c2 { animation-delay: 1s; }
.callout.c3 { animation-delay: 2s; }
@keyframes callout { 0%, 8% { opacity: 0; } 18%, 85% { opacity: 1; } 100% { opacity: 0; } }

/* Try-on */
.tryon { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #ece8e1 0%, #ece8e1 74%, #ddd7cd 74%, #e4dfd7 100%); box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow-lg); }
.tryon .figure { position: absolute; left: 50%; bottom: 8%; height: 80%; aspect-ratio: 339 / 1000; translate: -50% 0; background: linear-gradient(180deg, #2c2c2e 0 14.5%, #d9cbb2 14.5% 52%, #3d3d41 52% 93.5%, #ecebe7 93.5%); -webkit-mask: url(/figure-men.png) center / contain no-repeat; mask: url(/figure-men.png) center / contain no-repeat; }
.tryon .figure.women { aspect-ratio: 329 / 1000; -webkit-mask-image: url(/figure-women.png); mask-image: url(/figure-women.png); }
.tryon .floor { position: absolute; left: 25%; right: 25%; bottom: 6.5%; height: 3%; border-radius: 50%; background: rgba(0, 0, 0, 0.12); filter: blur(10px); }
.tryon .shine { position: absolute; inset: -20% auto -20% -40%; width: 30%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); rotate: 18deg; animation: shine 4.5s ease-in-out infinite; mix-blend-mode: plus-lighter; }
@keyframes shine { 0%, 55% { translate: 0 0; } 100% { translate: 520% 0; } }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #0b0b0c; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(16px) saturate(180%); backdrop-filter: blur(16px) saturate(180%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 6px 20px rgba(0, 0, 0, 0.08); }
.chip.tl { top: 16px; left: 16px; }
.chip.bl { bottom: 16px; left: 16px; }
.chip img { width: 26px; height: 32px; border-radius: 6px; object-fit: cover; }
.chip svg { width: 16px; height: 16px; }
.outfit { position: absolute; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.outfit img { width: 54px; height: 68px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85), 0 6px 18px rgba(0, 0, 0, 0.12); }

/* Chat */
.chat { border-radius: 32px; padding: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; width: 100%; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 0.5px solid var(--line); }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--ink); color: var(--on-ink); flex: none; }
.chat-head b { display: block; }
.chat-head small { color: var(--ink-2); font-size: 13px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 15px; line-height: 1.4; }
.msg.me { align-self: flex-end; background: var(--ink); color: var(--on-ink); border-bottom-right-radius: 6px; }
.msg.them { align-self: flex-start; background: var(--fill); border-bottom-left-radius: 6px; }
.ask-card { align-self: flex-end; width: 74%; border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow); }
.ask-card .tryon { border-radius: 0; aspect-ratio: 5 / 4; box-shadow: none; }
.ask-card .tryon .figure { height: 86%; bottom: 5%; }
.ask-card .cap { padding: 10px 14px 12px; font-size: 14px; }
.ask-card .cap b { display: block; }
.ask-card .cap span { color: var(--ink-2); font-size: 13px; }
.votes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; }
.votes span { text-align: center; padding: 9px; border-radius: 999px; font-weight: 600; font-size: 14px; background: var(--fill); }
.votes span.yes { background: var(--ink); color: var(--on-ink); }
.react { align-self: flex-start; margin-top: -10px; margin-left: 10px; font-size: 13px; padding: 3px 8px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 20px; background: var(--fill); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dot 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* ——— Accuracy (inverted band) ——— */
.proof { background: #0b0b0c; color: #f5f5f7; border-radius: 40px; margin: 0 var(--gutter); padding: 64px 0; position: relative; overflow: hidden; }
@media (min-width: 900px) { .proof { padding: 96px 0; margin: 0 24px; } }
@media (prefers-color-scheme: dark) { .proof { background: #141416; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.08); } }
.proof::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 20%, rgba(255, 255, 255, 0.08), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(255, 255, 255, 0.05), transparent 70%); pointer-events: none; }
.proof .eyebrow { color: #98989d; }
.proof-grid { display: grid; gap: 48px; align-items: center; position: relative; }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.hero-figure { font-size: clamp(88px, 15vw, 176px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.9; margin: 6px 0 0; display: flex; align-items: baseline; }
.hero-figure .pct { font-size: 0.42em; letter-spacing: -0.02em; margin-left: 0.04em; color: #98989d; }
@property --n { syntax: "<integer>"; initial-value: 0; inherits: false; }
.count { --n: 98; counter-reset: n var(--n); }
.count::before { content: counter(n); }
@supports (animation-timeline: view()) {
  .count { animation: count linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes count { from { --n: 0; } to { --n: 98; } }
}
.proof-sub { font-size: clamp(19px, 2vw, 22px); color: #c7c7cc; margin: 18px 0 0; max-width: 30ch; line-height: 1.45; }
.proof-sub b { color: #fff; }
.meter { margin-top: 28px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); overflow: hidden; max-width: 420px; }
.meter i { display: block; height: 100%; width: 98.3%; border-radius: 999px; background: #f5f5f7; transform-origin: left; }
@supports (animation-timeline: view()) {
  .meter i { animation: grow linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
}
.meter-ends { display: flex; justify-content: space-between; max-width: 420px; font-size: 13px; color: #98989d; margin-top: 8px; }
.dots-wrap { position: relative; }
.dots { width: 100%; max-width: 480px; margin: 0 auto; }
.dots .fill { fill: #f5f5f7; }
.dots .miss { fill: #0b0b0c; stroke: #8e8e93; stroke-width: 1.2; }
@media (prefers-color-scheme: dark) { .dots .miss { fill: #141416; } }
@supports (animation-timeline: view()) {
  .dots { animation: wipe linear both; animation-timeline: view(); animation-range: entry 5% cover 50%; }
  @keyframes wipe { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
}
.dots-wrap { margin: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; font-size: 14px; color: #c7c7cc; margin-top: 18px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; background: #f5f5f7; }
.legend i.o { background: transparent; box-shadow: inset 0 0 0 1.2px #8e8e93; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: 24px; overflow: hidden; margin-top: 56px; position: relative; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(4, 1fr); margin-top: 72px; } }
.kpi { background: #0b0b0c; padding: 24px 22px; }
@media (prefers-color-scheme: dark) { .kpi { background: #141416; } }
.kpi b { display: block; font-size: clamp(34px, 4vw, 46px); letter-spacing: -0.04em; line-height: 1; }
.kpi span { display: block; color: #98989d; font-size: 15px; margin-top: 8px; line-height: 1.35; }
.footnote { font-size: 13px; color: #8e8e93; margin: 22px 0 0; position: relative; }

/* ——— Privacy ——— */
.trio { display: grid; gap: 18px; }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.trio .panel h3 { font-size: 21px; margin-top: 16px; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--canvas); }
.icon-tile svg { width: 24px; height: 24px; }

/* ——— Pricing ——— */
.plans { display: grid; gap: 18px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border-radius: var(--radius); padding: 28px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow); display: flex; flex-direction: column; }
.plan.dark { background: #0b0b0c; color: #f5f5f7; }
@media (prefers-color-scheme: dark) { .plan.dark { background: #f5f5f7; color: #0b0b0c; } .plan.dark .muted { color: #6e6e73; } }
.plan .tagline { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan.dark .tagline { color: #98989d; }
.plan h3 { font-size: 28px; margin: 10px 0 8px; letter-spacing: -0.03em; }
.plan p { margin: 0; color: var(--ink-2); }
.plan.dark p { color: #c7c7cc; }
@media (prefers-color-scheme: dark) { .plan.dark p { color: #3a3a3c; } }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; }
.price-note { text-align: center; color: var(--ink-2); font-size: 15px; margin: 28px auto 0; max-width: 60ch; }

/* ——— FAQ ——— */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 0.5px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); translate: 0 -70%; rotate: 45deg; transition: rotate 0.25s, translate 0.25s; }
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* ——— Final CTA ——— */
.final { text-align: center; }
.final .app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 28px; box-shadow: var(--shadow-lg); }

/* ——— Footer ——— */
.site-foot { border-top: 0.5px solid var(--line); margin-top: 40px; padding: 32px 0 48px; color: var(--ink-2); font-size: 15px; }
.foot-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-grid .brand { font-size: 16px; color: var(--ink); }
.foot-grid .brand img { width: 26px; height: 26px; border-radius: 7px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.copy { width: 100%; font-size: 13px; color: var(--ink-3); }

/* ——— Scroll reveal (no scripts) ——— */
@supports (animation-timeline: view()) {
  .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 28%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .count { --n: 98; }
}

/* ——— Documents (terms, privacy, support) ——— */
.doc-hero { padding: 40px 0 8px; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 64px); }
.doc-hero .meta { color: var(--ink-2); margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; }
.doc-layout { display: grid; gap: 40px; padding: 36px 0 80px; }
@media (min-width: 1000px) { .doc-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; } }
.toc { align-self: start; }
@media (min-width: 1000px) { .toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 6px; } }
.toc details { border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line); padding: 6px 16px; }
.toc summary { cursor: pointer; font-weight: 600; padding: 10px 0; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0 0 10px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 26px 1fr; text-decoration: none; color: var(--ink-2); font-size: 14px; line-height: 1.35; padding: 6px 0; }
.toc a::before { content: counter(toc) "."; color: var(--ink-3); }
.toc a:hover { color: var(--ink); }
.prose { max-width: 740px; font-size: 17px; }
.prose h2 { font-size: clamp(25px, 3vw, 30px); letter-spacing: -0.025em; line-height: 1.15; margin: 64px 0 14px; padding-top: 8px; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.25; margin: 30px 0 8px; }
.prose p, .prose li { color: var(--ink); }
.prose p { margin: 12px 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 12px 0; }
.prose li { margin: 7px 0; }
.prose li::marker { color: var(--ink-3); }
.prose a { color: var(--ink); }
.prose .muted { color: var(--ink-2); }
.prose strong { font-weight: 650; }
.summary { border-radius: 22px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--glass-line), var(--shadow); padding: 22px 24px; margin: 0 0 8px; }
.summary h2 { margin: 0 0 6px !important; font-size: 21px !important; padding: 0 !important; }
.summary ul { margin: 10px 0 0; }
.inshort { border-left: 3px solid var(--ink); padding: 2px 0 2px 16px; color: var(--ink-2); margin: 14px 0 18px; }
.inshort b { color: var(--ink); }
.table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0; font-size: 15px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 0.5px var(--line); background: var(--surface); }
.table th, .table td { text-align: left; vertical-align: top; padding: 13px 14px; border-bottom: 0.5px solid var(--line); line-height: 1.45; }
.table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-2); background: var(--fill); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { font-weight: 600; }
@media (max-width: 720px) {
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: 100%; }
  .table tr { border-bottom: 0.5px solid var(--line); padding: 10px 0; }
  .table tr:last-child { border-bottom: 0; }
  .table td { border: 0; padding: 4px 16px; }
  .table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-2); font-weight: 600; margin-top: 6px; }
}
.company { border-radius: 18px; background: var(--surface); box-shadow: 0 0 0 0.5px var(--line); padding: 18px 20px; margin: 16px 0; font-size: 15px; line-height: 1.6; }
.caps { text-transform: uppercase; font-size: 15px; letter-spacing: 0.01em; }
.qa h2 { font-size: 21px !important; margin: 40px 0 8px !important; }
@media print {
  body::before, .site-head, .toc, .site-foot { display: none; }
  .doc-layout { display: block; }
  .prose { max-width: none; }
  a { text-decoration: none; }
}

/* ——— Not found ——— */
.notfound { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.notfound .badges { justify-content: center; }
.notfound .cta-small { margin: 0; font-size: 17px; padding: 14px 26px; }
@media (max-width: 420px) {
  .badge, .badge img { height: 44px; }
  .badges { gap: 10px; }
}
