@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Geist+Mono:wght@400;500;600&display=swap');

/* ============================================================================
   BEAUTYSCAN — "BOLD" / Navy-led editorial fashion-tech.
   Deep-navy dominates the big moments (hero, score, lever, bridge, paywall);
   white cards on a blush canvas carry the working detail. High contrast,
   large tight type, graphic structure. Brand navy #0C3275, blush #fce4df.
   ============================================================================ */
:root{
  --navy:#0C3275; --navy-2:#16489c; --navy-deep:#0a2860; --navy-ink:#0C3275;
  --blush:#fce4df; --blush-2:#f9d6cd; --blush-deep:#f3c3b8; --pink-soft:#fff5f2;
  --card:#ffffff;
  --ink:#0C3275; --ink-soft:#42507a; --muted:#737e9c; --faint:#9aa2bd;
  --on-navy:#ffffff; --on-navy-soft:rgba(255,255,255,.74); --on-navy-faint:rgba(255,255,255,.5);
  --line:rgba(12,50,117,.13); --line-2:rgba(12,50,117,.22); --line-3:rgba(12,50,117,.34);
  --track:#e6e8f2;
  --good:#2f9b6e; --warn:#c47d1c; --bad:#d44a45;
  --sh-sm:0 1px 2px rgba(10,30,70,.07);
  --sh:0 2px 6px rgba(10,30,70,.06),0 18px 34px -22px rgba(12,50,117,.32);
  --sh-navy:0 18px 44px -18px rgba(12,50,117,.6);
  --r:16px; --r-sm:11px; --r-lg:22px; --pill:999px;
  --sans:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --mono:'Geist Mono',ui-monospace,'SF Mono',monospace;
  --ease:cubic-bezier(.22,.61,.36,1);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%;color-scheme:light}
body{
  font-family:var(--sans);color:var(--ink);line-height:1.5;min-height:100vh;font-weight:400;
  background:var(--blush);
  background-image:radial-gradient(135% 60% at 50% 102%,rgba(12,50,117,.10),transparent 60%);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;
}

#app{position:relative;z-index:1;max-width:480px;margin:0 auto;
  padding:0 16px calc(64px + env(safe-area-inset-bottom));padding-top:env(safe-area-inset-top)}

/* progress */
#progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;background:rgba(12,50,117,.12)}
#progress span{display:block;height:100%;width:0;background:var(--navy);transition:width .5s var(--ease)}

/* topbar */
.topbar{display:flex;align-items:center;justify-content:space-between;padding:15px 0 12px;position:sticky;top:0;z-index:40;background:transparent}
.topbar::before{content:"";position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:100vw;background:var(--blush);border-bottom:1px solid var(--line);z-index:-1}
.brand{display:flex;align-items:center;gap:9px;font-weight:800;letter-spacing:-.02em;font-size:19px;color:var(--navy)}
.brand .logo-mark{display:inline-block;width:26px;height:26px;flex-shrink:0;background:var(--navy);
  -webkit-mask:url(/brand/mark.svg) center/contain no-repeat;mask:url(/brand/mark.svg) center/contain no-repeat}
.iconbtn{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--card);
  border:1px solid var(--line-2);color:var(--ink-soft);cursor:pointer;box-shadow:var(--sh-sm);transition:.15s var(--ease)}
.iconbtn:hover{color:var(--navy);border-color:var(--line-3)}
.iconbtn:active{transform:scale(.93)}
.topbar-right{display:flex;align-items:center;gap:8px}
.lang-select{appearance:none;-webkit-appearance:none;background:var(--card);border:1px solid var(--line);border-radius:11px;color:var(--ink);font-family:inherit;font-size:12.5px;font-weight:600;padding:7px 26px 7px 11px;cursor:pointer;box-shadow:var(--sh-sm);transition:.15s var(--ease);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C3275' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;background-size:12px}
.lang-select:hover{border-color:var(--line-2)}
.i{width:18px;height:18px;display:inline-block;vertical-align:-3px}
.i-lg{width:30px;height:30px}

/* type */
.muted{color:var(--muted)} .small{font-size:13.5px} .xsmall{font-size:11.5px;line-height:1.5}
.center{text-align:center}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:-.01em;color:var(--navy);margin:0 0 12px}
.eyebrow::before{content:"";width:16px;height:2px;background:var(--blush-deep);border-radius:2px}
.eyebrow.accent::before{background:var(--navy)}
h1{font-size:clamp(33px,9vw,46px);line-height:1.02;letter-spacing:-.035em;font-weight:800;margin:0 0 14px}
h2{font-size:26px;line-height:1.1;letter-spacing:-.03em;font-weight:800;margin:0 0 8px}
h3{font-size:16px;font-weight:700;letter-spacing:-.01em;margin:0 0 12px}
.lede{font-size:16.5px;color:var(--ink-soft);margin:0 0 22px;line-height:1.45}
.note{margin-top:14px}
strong{font-weight:700;color:inherit}

/* screens */
.screen{display:none}
.screen.active{display:block;animation:rise .42s var(--ease)}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* buttons — flat, solid navy on light */
button,.secondary,.file-btn,.product{font-family:inherit;cursor:pointer}
.primary{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;padding:0 22px;margin-top:12px;
  border:0;border-radius:13px;background:var(--navy);color:#fff;font-size:15px;font-weight:700;letter-spacing:-.01em;
  box-shadow:var(--sh-sm);transition:background .18s var(--ease),transform .12s var(--ease),opacity .2s}
.primary:hover{background:var(--navy-deep)}
.primary:active{transform:translateY(1px) scale(.995)}
.primary:disabled{opacity:.3;cursor:not-allowed;background:var(--navy)}
.primary.big{min-height:60px;font-size:16px}
.primary .i{width:19px;height:19px}
/* on navy surfaces → blush button */
.hero .primary,.bridge-card .primary,.offer .primary{background:var(--blush);color:var(--navy)}
.hero .primary:hover,.bridge-card .primary:hover,.offer .primary:hover{background:#fff}
.hero .primary:disabled{background:var(--blush)}
.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 18px;border-radius:12px;
  background:var(--card);color:var(--navy);border:1.5px solid var(--line-3);font-size:14.5px;font-weight:700;letter-spacing:-.01em;
  text-decoration:none;transition:.15s var(--ease)}
.secondary:hover{border-color:var(--navy);background:var(--pink-soft)}
.secondary:active{transform:scale(.98)}
.secondary.full,.ghost.full{width:100%}
.ghost{background:none;border:0;color:var(--muted);font-size:14px;font-weight:600;padding:12px;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;gap:6px}
.ghost:hover{color:var(--navy)}
.ghost.full{width:100%;margin-top:2px}
.file-btn input{display:none}

/* cards */
.card{position:relative;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:22px;margin:0 0 14px;box-shadow:var(--sh)}

/* ===== HERO — full-bleed navy block ===== */
.hero{position:relative;margin:8px -16px 18px;padding:34px 26px 34px;overflow:hidden;text-align:center;
  background:linear-gradient(168deg,#0e3a86 0%,var(--navy) 46%,var(--navy-deep) 100%);color:var(--on-navy);
  border-radius:0 0 26px 26px;box-shadow:var(--sh-navy)}
.hero-orb{position:absolute;top:-70px;right:-80px;width:280px;height:280px;margin:0;border-radius:0;pointer-events:none;
  background:no-repeat center/contain;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.4'%3E%3Crect x='30' y='30' width='180' height='180' rx='14'/%3E%3Crect x='66' y='66' width='108' height='108' rx='10'/%3E%3Crect x='100' y='100' width='40' height='40' rx='6'/%3E%3C/g%3E%3C/svg%3E")}
.hero-logo{position:relative;display:block;width:248px;max-width:82%;aspect-ratio:1116/786;margin:0 auto 22px;background:#ffffff;
  -webkit-mask:url(/brand/logo.svg) center/contain no-repeat;mask:url(/brand/logo.svg) center/contain no-repeat}
.hero h1{position:relative;color:#fff}
.hero .lede{position:relative;color:var(--on-navy-soft);max-width:400px;margin-left:auto;margin-right:auto}
.teaser{position:relative;list-style:none;padding:0;margin:0 auto 22px;max-width:380px;text-align:left;display:flex;flex-direction:column;gap:9px}
.teaser li{padding:12px 14px 12px 42px;position:relative;color:#fff;font-size:14.5px;font-weight:500;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:12px}
.teaser li strong{color:var(--blush)}
.teaser li::before{content:"";position:absolute;left:13px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:6px;background:var(--blush)}
.teaser li::after{content:"";position:absolute;left:19px;top:50%;width:5px;height:9px;border:solid var(--navy);border-width:0 2px 2px 0;transform:translateY(-66%) rotate(45deg)}
.disclaimer{position:relative;margin-top:18px;color:var(--on-navy-faint)}

/* form */
.field{display:block;margin:20px 0 6px}
.field>span{display:block;margin-bottom:8px;font-size:12.5px;font-weight:700;color:var(--ink-soft)}
.field input{width:100%;min-height:50px;padding:0 14px;border-radius:12px;border:1.5px solid var(--line-2);
  background:var(--card);color:var(--ink);font:inherit;font-size:15px;transition:.15s;color-scheme:light}
.field input:focus{outline:none;border-color:var(--navy);box-shadow:0 0 0 3px rgba(12,50,117,.16)}
.check{display:flex;gap:12px;align-items:flex-start;margin:14px 0;font-size:14.5px;color:var(--ink-soft);cursor:pointer;line-height:1.45}
.check input{appearance:none;-webkit-appearance:none;width:23px;height:23px;flex-shrink:0;border:1.5px solid var(--line-3);
  border-radius:7px;background:var(--card);cursor:pointer;position:relative;transition:.15s;margin-top:1px}
.check input:checked{background:var(--navy);border-color:transparent}
.check input:checked::after{content:"";position:absolute;left:7.5px;top:3.5px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.error{color:var(--bad);display:block;margin-top:8px;font-size:13px;font-weight:600}
.agegate{margin:18px 0 6px}
.agegate-q{display:block;margin-bottom:10px;font-size:14.5px;font-weight:600;color:var(--ink)}
.agegate-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.age-opt{min-height:50px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--card);color:var(--ink);font-family:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:.15s var(--ease)}
.age-opt:hover{border-color:var(--navy)}
.age-opt.sel{background:var(--navy);color:#fff;border-color:var(--navy)}

/* capture */
.preview{aspect-ratio:1/1;background:var(--blush);border:1.5px dashed var(--line-3);border-radius:16px;
  display:flex;align-items:center;justify-content:center;overflow:hidden;margin:16px 0}
.preview video,.preview img{width:100%;height:100%;object-fit:cover}
.preview-empty{display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--faint);font-size:14px}
.capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.capture-actions .secondary{width:100%}

/* analyzing */
.analyzing{padding-top:34px;padding-bottom:30px}
.scanner{position:relative;width:98px;height:98px;margin:0 auto 22px;border-radius:22px;
  background:linear-gradient(168deg,#0e3a86,var(--navy-deep));display:grid;place-items:center;overflow:hidden;color:#fff;box-shadow:var(--sh-navy)}
.scanner .i-face{width:54px;height:54px}
.scanline{position:absolute;left:0;right:0;height:32%;top:-32%;background:linear-gradient(rgba(252,228,223,0),rgba(252,228,223,.6),rgba(252,228,223,0));animation:scan 1.7s var(--ease) infinite}
@keyframes scan{0%{top:-32%}100%{top:100%}}
.steps{list-style:none;padding:0;margin:8px auto 0;text-align:left;max-width:330px;display:flex;flex-direction:column;gap:7px}
.steps li{padding:11px 0 11px 32px;position:relative;color:var(--faint);font-size:14.5px;font-weight:600;transition:color .3s}
.steps li::before{content:"";position:absolute;left:0;top:11px;width:16px;height:16px;border-radius:50%;border:1.5px solid var(--line-3);transition:.3s}
.steps li.done{color:var(--navy)}
.steps li.done::before{background:var(--navy);border-color:transparent;box-shadow:0 0 0 4px rgba(12,50,117,.12)}
.steps li.done::after{content:"";position:absolute;left:5px;top:14px;width:4px;height:7px;border:solid #fff;border-width:0 1.6px 1.6px 0;transform:rotate(45deg)}
.steps li.active{color:var(--navy)}
.steps li.active::before{border-color:var(--navy);border-top-color:transparent;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* ===== REVEAL — score medallion on navy ===== */
.score-card{display:flex;flex-direction:column;align-items:center;padding:30px 22px 26px;
  background:linear-gradient(168deg,#0e3a86,var(--navy) 58%,var(--navy-deep));border:0;box-shadow:var(--sh-navy)}
.ring-wrap{position:relative;width:190px;height:190px;border-radius:50%;background:#fff;box-shadow:0 0 0 6px rgba(255,255,255,.12)}
#score-ring{display:block;width:100%;height:100%}
.ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.score-num{font-size:64px;font-weight:800;letter-spacing:-.04em;line-height:1;color:var(--navy);font-variant-numeric:tabular-nums}
.score-of{font-family:var(--mono);font-size:15px;color:var(--faint);margin-top:2px}
.score-band{margin-top:18px;font-size:12.5px;font-weight:700;color:var(--navy);background:var(--blush);
  padding:7px 18px;border-radius:var(--pill);text-transform:capitalize;letter-spacing:.01em}

/* category list — graphic single-column bars */
.cats-card .eyebrow{margin-bottom:16px}
.cat-list{display:flex;flex-direction:column;gap:12px}
.cat{position:relative;display:block;padding:0 0 9px;border-bottom:1px solid var(--line)}
.cat:last-child{border-bottom:0;padding-bottom:0}
.cat-crop{position:absolute;right:0;top:1px;width:40px;height:40px;border-radius:10px;object-fit:cover;border:2px solid #fff;box-shadow:0 3px 10px rgba(12,50,117,.18)}
.cat-crop.ph{display:none}
.cat-body{display:flex;flex-direction:column;gap:5px}
.cat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-right:50px}
.cat-name{font-size:14px;font-weight:700;letter-spacing:-.01em;color:var(--ink);line-height:1.3}
.cat-val{font-family:var(--mono);font-size:16px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;flex-shrink:0;text-align:right;line-height:1.1}
.cat-pct{display:block;font-size:10.5px;font-weight:500;color:var(--muted);letter-spacing:0;margin-top:1px}
.cat-sentence{margin:5px 0 0;font-size:12.5px;line-height:1.45;color:var(--muted)}
.analyze-timer{margin-top:18px;display:flex;flex-direction:column;align-items:center;gap:1px}
#analyze-elapsed{font-family:var(--mono);font-size:26px;font-weight:600;color:var(--navy);font-variant-numeric:tabular-nums;line-height:1}
#analyze-expect{font-size:12px}
.cat-bar{height:9px;border-radius:var(--pill);background:var(--track);overflow:hidden}
.cat-fill{display:block;height:100%;width:0;border-radius:var(--pill);background:linear-gradient(90deg,var(--navy),var(--navy-2));transition:width 1s var(--ease)}
/* silent blur: per-row read is a decorative blurred placeholder (no per-row button) */
.cat-read{font-size:12.5px;line-height:1.5;color:var(--muted);padding-right:60px;min-height:52px;
  filter:blur(5px);opacity:.5;user-select:none;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,#000 60%,transparent);mask-image:linear-gradient(180deg,#000 60%,transparent)}
/* the ONE funnel: a single subtle caption → scrolls to the bottom unlock CTA */
.cats-locknote{display:flex;align-items:center;gap:8px;width:100%;margin:2px 0 16px;padding:9px 12px;
  background:var(--pink-soft);border:1px solid var(--line);border-radius:12px;cursor:pointer;
  font-family:inherit;font-size:12.5px;font-weight:600;color:var(--navy);text-align:left;transition:background .15s}
.cats-locknote:hover{background:var(--blush)}
.cats-locknote .i{width:16px;height:16px;flex-shrink:0;color:var(--navy)}
.cats-locknote span{flex:1}
.cats-locknote .arr{opacity:.65}

/* lever — navy feature card */
.lever-card{background:linear-gradient(168deg,#0e3a86,var(--navy-deep));border:0;color:#fff;box-shadow:var(--sh-navy)}
.lever-tag{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;letter-spacing:.01em;
  color:var(--navy);background:var(--blush);padding:6px 13px;border-radius:var(--pill);margin-bottom:14px}
.lever-card h2{color:#fff;margin-bottom:6px}
.lever-card .muted{color:var(--on-navy-soft)}
.lever-tip{margin-top:16px;padding:13px 15px 13px 16px;border-radius:13px;font-size:14px;line-height:1.45;font-weight:500;
  color:#fff;background:rgba(255,255,255,.08);border-left:3px solid var(--blush)}
.turnstile-box{margin:14px 0 4px;display:flex;justify-content:center;min-height:0}

/* share + bridge */
.share-card{text-align:center}
.share-actions{display:flex;gap:10px}
.share-actions>.secondary{flex:1;min-width:0;padding:0 10px;gap:7px;font-size:14.5px;white-space:nowrap}
.share-actions>.secondary .i{flex-shrink:0}
.share-card img{width:100%;max-width:248px;display:block;border-radius:16px;margin:0 auto 14px;border:1px solid var(--line);box-shadow:var(--sh)}
.bridge-card{text-align:center;background:linear-gradient(168deg,#0e3a86,var(--navy-deep));border:0;color:#fff;box-shadow:var(--sh-navy)}
.bridge{font-size:17px;margin:0 0 16px;color:#fff;font-weight:600;letter-spacing:-.01em}

.banner{background:var(--pink-soft);border:1px solid var(--line-2);border-left:4px solid var(--warn);color:#8a5a16;
  border-radius:12px;padding:13px 15px;margin-bottom:16px;font-size:13px;line-height:1.5}
.banner code{font-family:var(--mono);background:rgba(196,125,28,.15);padding:1px 6px;border-radius:5px;font-size:12px;color:#7a4d10}

/* paywall — navy offer */
.offer{background:linear-gradient(168deg,#0e3a86,var(--navy) 58%,var(--navy-deep));border:0;color:#fff;box-shadow:var(--sh-navy)}
.offer .eyebrow{color:var(--blush)}
.offer .eyebrow::before{background:var(--blush)}
.offer h2{color:#fff}
#pw-hook{font-size:21px;line-height:1.22;margin:2px 0 12px;letter-spacing:-.01em}
.teaser-line{font-size:14.5px;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);
  border-radius:12px;padding:14px 16px;margin:4px 0 18px;line-height:1.5}
.teaser-line strong{color:var(--blush)}
.includes{list-style:none;padding:0;margin:0 0 22px}
.includes li{padding:13px 0 13px 32px;position:relative;border-bottom:1px solid rgba(255,255,255,.14);font-size:14.5px;color:#fff}
.includes li:last-child{border-bottom:0}
.includes li strong{color:var(--blush)}
.includes li::before{content:"";position:absolute;left:0;top:14px;width:18px;height:18px;border-radius:6px;background:var(--blush)}
.includes li::after{content:"";position:absolute;left:6px;top:17.5px;width:5px;height:9px;border:solid var(--navy);border-width:0 2px 2px 0;transform:rotate(45deg)}
.price-row{display:flex;align-items:center;gap:10px;margin:8px 0 4px}
.price{font-size:42px;font-weight:800;letter-spacing:-.03em;color:#fff}
.badge{font-size:11px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#fff;padding:4px 10px;
  border-radius:var(--pill);text-transform:uppercase;letter-spacing:.06em;font-weight:700}
.offer .note{color:var(--on-navy-faint)}

/* report preview — a stylized, unreadable filmstrip of the report's pages (conveys depth/length) */
.report-preview{margin-top:20px}
.rp-label{display:block;font-size:10.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--blush);margin-bottom:11px}
.rp-strip{display:flex;gap:9px;align-items:flex-start;overflow:hidden;filter:blur(.4px);
  -webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}
.rp-page{flex:0 0 auto;width:64px;height:86px;background:#fff;border-radius:6px;position:relative;overflow:hidden;box-shadow:0 7px 16px rgba(0,0,0,.28)}
.rp-page::before{content:"";position:absolute;left:7px;top:9px;width:58%;height:5px;border-radius:2px;background:var(--navy)}
.rp-page::after{content:"";position:absolute;left:7px;right:9px;top:23px;bottom:8px;background:repeating-linear-gradient(180deg,#cdd6ea 0 1.5px,#fff 1.5px 5px)}
.rp-cover::before{width:42%}
.rp-cover .rp-ring{position:absolute;right:7px;top:8px;width:16px;height:16px;border-radius:50%;border:3px solid rgba(12,50,117,.22);border-top-color:var(--navy);transform:rotate(40deg)}
.rp-chart{display:flex;align-items:flex-end;justify-content:space-between;gap:3px;padding:36px 7px 9px}
.rp-chart::after{display:none}
.rp-chart i{flex:1;background:linear-gradient(180deg,#3a66bd,var(--navy));border-radius:1px 1px 0 0}
.rp-chart i:nth-child(1){height:40%}.rp-chart i:nth-child(2){height:70%}.rp-chart i:nth-child(3){height:52%}.rp-chart i:nth-child(4){height:84%}.rp-chart i:nth-child(5){height:62%}
.rp-faces::after{top:35px}
.rp-faces b{position:absolute;top:9px;width:23px;height:21px;border-radius:5px;background:linear-gradient(140deg,#f0d7cf,#c7d2ea)}
.rp-faces b:nth-child(1){left:7px}.rp-faces b:nth-child(2){right:7px}

/* report */
.report-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.report-head .secondary{min-height:42px;padding:0 16px}
.rep-section{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:20px;margin-bottom:14px;box-shadow:var(--sh)}
.rep-section h3{color:var(--navy);font-size:15px;font-weight:800;letter-spacing:-.01em;margin-bottom:14px;position:relative;padding-left:13px}
.rep-section h3::before{content:"";position:absolute;left:0;top:2px;bottom:2px;width:3px;border-radius:2px;background:var(--blush)}
.meas-list{display:flex;flex-direction:column}
.meas-row{display:grid;grid-template-columns:1.3fr .6fr 1.2fr 1.2fr;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}
.meas-row:last-child{border-bottom:0}
.meas-row .ml{color:var(--ink);font-weight:700}
.meas-row .mv{color:var(--navy);font-weight:700;font-family:var(--mono)}
.meas-row .mi{color:var(--faint);font-size:11.5px;font-family:var(--mono)}
.meas-row .mr{color:var(--muted)}
@media(max-width:560px){.meas-row{grid-template-columns:1fr auto;gap:1px 10px}.meas-row .mi,.meas-row .mr{grid-column:1/-1;font-size:11.5px}}
.narr{display:flex;gap:13px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.narr:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.narr-crop{width:58px;height:58px;border-radius:13px;object-fit:cover;border:1px solid var(--line-2);flex-shrink:0}
.narr-body{flex:1;min-width:0}
.narr h4{margin:0 0 5px;font-size:14.5px;font-weight:700}
.narr p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.subcats{margin-top:12px;display:flex;flex-direction:column;gap:8px}
.subcat{display:grid;grid-template-columns:1.1fr 64px 24px 1.3fr;gap:9px;align-items:center;font-size:12px}
.subcat .sl{color:var(--ink);font-weight:600}
.subcat .sbar{height:6px;background:var(--track);border-radius:4px;overflow:hidden}
.subcat .sbar span{display:block;height:100%;border-radius:4px;background:var(--navy)}
.subcat .ss{color:var(--navy);font-weight:700;text-align:right;font-family:var(--mono)}
.subcat .sr{color:var(--faint)}
@media(max-width:560px){.subcat{grid-template-columns:1fr 46px 22px;gap:4px 8px}.subcat .sr{grid-column:1/-1;color:var(--muted)}}
.proto-cat{margin-bottom:18px}.proto-cat:last-child{margin-bottom:0}
.proto-cat h4{margin:0 0 8px;font-size:14.5px;font-weight:700;color:var(--navy)}
.proto-step{font-size:13px;color:var(--muted);padding:5px 0 5px 18px;position:relative;line-height:1.5}
.proto-step::before{content:"";position:absolute;left:2px;top:11px;width:7px;height:7px;border-radius:50%;background:var(--navy)}
.proto-step .p,.proto-step .why,.why{color:var(--navy);font-weight:700}
.proto-step .tier{display:inline-block;font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--navy);background:rgba(12,50,117,.08);border-radius:5px;padding:1px 6px;margin-right:6px;vertical-align:1px}
/* deepened protocol */
.proto-overview{font-size:13px;line-height:1.6;color:var(--ink-soft);margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.proto-cat{padding-bottom:15px;border-bottom:1px solid var(--line)}
.proto-cat:last-child{border-bottom:0;padding-bottom:0}
.proto-head{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:2px}
.proto-head h4{margin:0;font-size:14.5px;font-weight:700}
.proto-tags{display:flex;align-items:center;gap:8px;flex-shrink:0;font-size:11.5px;color:var(--muted);font-weight:600}
.horizon{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--navy);background:rgba(12,50,117,.08);padding:2px 8px;border-radius:var(--pill)}
.proto-goal{margin:4px 0 4px;font-size:13px;font-weight:600;color:var(--ink)}
.proto-rationale{margin:0 0 10px;font-size:12.5px;line-height:1.55;color:var(--muted)}
.proto-step-main{font-size:13px;color:var(--ink-soft);font-weight:500}
.proto-detail{font-size:12px;line-height:1.5;color:var(--muted);margin-top:3px}
.proto-expected{margin:10px 0 0;font-size:12.5px;color:var(--ink-soft);background:rgba(12,50,117,.05);border-radius:9px;padding:9px 12px}
.proto-expected strong{color:var(--navy)}
.proto-caveat{font-size:11px;color:var(--faint);font-style:italic;margin:0 0 14px}
.proto-products{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:10px 0 0}
.proto-products-l{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.proto-products .p{font-size:12.5px;color:var(--navy);font-weight:600;text-decoration:none}
.proto-products .p:hover{text-decoration:underline}
/* overall assessment */
.assess-head{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.assess-now{font-size:32px;font-weight:800;color:var(--navy);letter-spacing:-.02em}
.assess-now small{font-size:14px;color:var(--faint);font-weight:600}
.assess-band{display:inline-block;margin-left:8px;font-size:12px;font-weight:700;color:var(--navy);background:rgba(12,50,117,.08);padding:4px 11px;border-radius:var(--pill);text-transform:capitalize}
.assess-meta{font-size:12px;color:var(--muted);font-family:var(--mono)}
.assess-text p{margin:0 0 10px;font-size:13.5px;line-height:1.62;color:var(--ink-soft)}
.assess-text p:last-child{margin-bottom:0}
.rep-photo{width:84px;height:84px;border-radius:16px;object-fit:cover;border:2px solid #fff;box-shadow:var(--sh);flex-shrink:0}
.assess-score{display:flex;flex-direction:column;gap:3px;min-width:0}
.narr-charts{margin:9px 0 11px;display:flex;flex-direction:column;gap:9px}
.dist{width:100%;max-width:300px;height:46px;display:block}
.np{display:flex;align-items:center;gap:10px;max-width:300px}
.np-bar{flex:1;height:9px;border-radius:var(--pill);background:var(--track);overflow:hidden;display:flex}
.np-now{height:100%;background:linear-gradient(90deg,var(--navy),var(--navy-2))}
.np-proj{height:100%;background:repeating-linear-gradient(45deg,rgba(12,50,117,.30),rgba(12,50,117,.30) 4px,rgba(12,50,117,.13) 4px,rgba(12,50,117,.13) 8px)}
.np-lbl{font-family:var(--mono);font-size:12px;color:var(--navy);white-space:nowrap;flex-shrink:0}
.radar-wrap{display:flex;justify-content:center;padding:4px 0}
/* wider than the old 230px square so the vertex category labels (issue #6) have room;
   height auto-derives from the 424x330 viewBox aspect. */
.radar{width:100%;max-width:440px;height:auto}
.gloss{display:flex;flex-direction:column;gap:10px}
.gloss-item{margin:0;font-size:12.5px;line-height:1.55;color:var(--ink-soft)}
.gloss-item strong{color:var(--navy)}
/* research-grounded sections (DL-0049) */
.grade{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;padding:2px 8px;border-radius:var(--pill);white-space:nowrap;flex-shrink:0}
.g-robust,.g-strong{color:#0a7a4f;background:rgba(16,160,105,.12)}
.g-moderate,.g-emerging{color:#8a5a16;background:rgba(200,140,30,.15)}
.g-overstated,.g-myth{color:#a3373a;background:rgba(190,70,74,.12)}
.drivers{display:flex;flex-direction:column;gap:14px;margin:4px 0 10px}
.driver{padding-left:13px;border-left:2px solid var(--line-2)}
.driver-top{display:flex;align-items:center;gap:9px;margin-bottom:4px;flex-wrap:wrap}
.driver-title{font-size:14.5px;font-weight:700;color:var(--ink)}
.driver-score{margin-left:auto;font-family:var(--mono);font-size:13px;font-weight:600;color:var(--navy)}
.driver-score small{color:var(--faint);font-size:10px}
.driver-text{margin:0;font-size:12.5px;line-height:1.55;color:var(--muted)}
.cite{margin-top:12px;font-style:italic;opacity:.72}
.prop{margin:14px 0}
.prop-label{font-size:12.5px;font-weight:600;color:var(--ink);margin-bottom:7px}
.prop-label em{color:var(--muted);font-weight:500;font-style:normal}
.prop-split{position:relative;display:flex;height:34px;border-radius:9px;overflow:hidden;font-family:var(--mono);font-size:12px;font-weight:600}
.ps-a{background:linear-gradient(90deg,var(--navy),var(--navy-2));color:#fff;display:flex;align-items:center;justify-content:center;min-width:0}
.ps-b{background:var(--track);color:var(--navy);display:flex;align-items:center;justify-content:center;min-width:0}
.ps-mark{position:absolute;left:50%;top:-3px;bottom:-3px;width:2px;background:var(--blush);box-shadow:0 0 0 1px rgba(12,50,117,.25)}
.prop-fifths{display:flex;height:26px;border-radius:8px;overflow:hidden;background:var(--track)}
.prop-fifths span{border-right:2px solid #fff;background:linear-gradient(180deg,var(--navy-2),var(--navy))}
.prop-fifths span:last-child{border-right:0}
.prop-sub{margin-top:6px;font-family:var(--mono);font-size:11.5px;color:var(--muted)}
.evidence{display:flex;flex-direction:column;gap:12px;margin-top:6px}
.ev-row{display:flex;gap:11px;align-items:flex-start}
.ev-body{flex:1;min-width:0}
.ev-body p{margin:0 0 3px;font-size:12.5px;line-height:1.5;color:var(--ink-soft)}
.ev-src{font-size:11px;font-style:italic;color:var(--faint)}
.reality{background:linear-gradient(168deg,#fff,var(--pink-soft))}
.reality-framing{font-size:13px;line-height:1.55;color:var(--ink-soft);margin:0 0 14px;padding:11px 14px;background:var(--card);border-radius:11px;border:1px solid var(--line)}
.myths{display:flex;flex-direction:column;gap:13px}
.myth-row{padding-bottom:13px;border-bottom:1px solid var(--line)}
.myth-row:last-child{border-bottom:0;padding-bottom:0}
.myth-head{display:flex;align-items:center;gap:9px;margin-bottom:5px}
.myth-claim{font-size:13.5px;font-weight:700;color:var(--ink);text-decoration:line-through;text-decoration-color:rgba(163,55,58,.55)}
.myth-truth{margin:0;font-size:12.5px;line-height:1.55;color:var(--muted)}
.pw-potential{margin-top:14px;padding:11px 14px;border-radius:12px;background:rgba(255,255,255,.10);border-left:3px solid var(--blush);font-size:14px;color:#fff}
.pw-potential strong{color:#fff;white-space:nowrap}
.comp{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.comp-title{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:10px}
.comp-row{display:grid;grid-template-columns:1fr 96px 30px;gap:10px;align-items:center;margin-bottom:8px;font-size:12.5px}
.comp-l{color:var(--ink)} .comp-l em{color:var(--muted);font-style:normal;font-weight:700;font-size:11.5px}
.comp-bar{height:7px;background:var(--track);border-radius:5px;overflow:hidden}
.comp-bar span{display:block;height:100%;background:var(--navy);border-radius:5px}
.comp-v{font-family:var(--mono);font-weight:700;color:var(--navy);text-align:right}
/* strengths / priorities */
.sp-item{padding:11px 0;border-bottom:1px solid var(--line)}
.sp-item:last-child{border-bottom:0;padding-bottom:0}
.sp-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-weight:700;font-size:14px;color:var(--ink)}
.sp-score{font-family:var(--mono);font-size:12.5px;font-weight:700;color:var(--navy);flex-shrink:0}
.sp-score.good{color:var(--good)}
.sp-item p{margin:5px 0 0;font-size:12.5px;line-height:1.55;color:var(--muted)}
.proto-step .why{font-size:12px;font-weight:600}
.outcome-img{width:100%;border-radius:14px;border:1px solid var(--line);box-shadow:var(--sh)}
.before-after{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}
.before-after figure{margin:0}
.before-after img{width:100%;border-radius:14px;border:1px solid var(--line);display:block;aspect-ratio:3/4;object-fit:cover;box-shadow:var(--sh-sm)}
.before-after figcaption{text-align:center;color:var(--muted);font-size:12px;margin-top:8px;font-weight:600}

/* transparency sheet */
#sheet-scrim{position:fixed;inset:0;background:rgba(10,30,70,.45);z-index:70}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:80;max-height:82vh;overflow:auto;
  background:var(--card);border-radius:24px 24px 0 0;padding:8px 22px calc(28px + env(safe-area-inset-bottom));
  box-shadow:0 -20px 60px rgba(10,30,70,.3);animation:sheetup .35s var(--ease)}
@keyframes sheetup{from{transform:translateY(100%)}to{transform:none}}
.sheet-grip{width:40px;height:4px;border-radius:4px;background:var(--line-3);margin:8px auto 16px}
.sheet .eyebrow{font-size:15px}
.prov-list{list-style:none;padding:0;margin:0 0 14px}
.prov-list li{display:flex;justify-content:space-between;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);font-size:13.5px;font-weight:600}
.prov-list li:last-child{border-bottom:0}
.tag{font-size:11px;padding:3px 11px;border-radius:var(--pill);font-weight:700;letter-spacing:.02em}
.tag.real{background:rgba(47,155,110,.15);color:var(--good)}
.tag.mock{background:rgba(196,125,28,.15);color:var(--warn)}
.egress{font-size:12.5px;background:var(--blush);border:1px solid var(--line-2);border-radius:12px;padding:13px;margin:10px 0;line-height:1.5;color:var(--ink-soft)}
.egress strong{color:var(--navy)}

.footer{padding:26px 4px;text-align:center;border-top:1px solid var(--line);margin-top:22px;line-height:1.6;color:var(--faint);font-weight:500}

/* =============================================================================
   RESPONSIVE — three tiers: phone (<600) · tablet (600–959) · desktop (≥960).
   Base is phone (#app max-width 480). Each tier only widens/reflows.
   ============================================================================= */

/* full-bleed the navy hero into a real banner from tablet up (matches the ≥600 content tier so
   it stays edge-to-edge); content stays a centred column. Bigger type kicks in on wider screens. */
@media(min-width:600px){
  body{overflow-x:hidden}
  .hero{left:50%;right:50%;width:100vw;margin-left:-50vw;margin-right:-50vw;padding:56px 26px 62px;border-radius:0 0 32px 32px}
  .hero>*{max-width:540px;margin-left:auto;margin-right:auto}
}
@media(min-width:760px){
  .hero{padding:64px 26px 70px;border-radius:0 0 36px 36px}
  .hero-logo{width:340px;margin-bottom:28px}
  .hero h1{font-size:56px;line-height:1.0}
  .hero .lede{font-size:18px;max-width:440px}
}

/* remove decorative concentric-square doodle from the navy hero (phone + desktop) */
.hero-orb{display:none!important}

/* ============ TABLET (≥600px) — content fills the width, no stranded 480 column ============ */
@media(min-width:600px){
  #app{max-width:700px;padding-left:22px;padding-right:22px}
  /* forms + wait screen stay comfortably narrow, centred within the wider frame */
  #screen-gate.active,#screen-capture.active,#screen-analyzing.active{max-width:520px;margin-left:auto;margin-right:auto}
}
@media(min-width:680px){
  /* the 13-row category list goes two-up so the reveal uses the tablet width */
  #screen-reveal .cat-list{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;align-items:start}
  #screen-reveal .cat{padding-bottom:12px}
}

/* ============ DESKTOP (≥960px) — summary rail + wide grid ============ */
@media(min-width:960px){
  #app{max-width:1140px;padding-left:34px;padding-right:34px}
  /* narrow, centred screens: forms, analyzing, paywall */
  #screen-gate.active,#screen-capture.active,#screen-analyzing.active,#screen-paywall.active{max-width:560px;margin:0 auto}
  /* REVEAL — summary rail (left) + wide category grid (right) */
  #screen-reveal.active{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px 26px;align-items:start;align-content:start}
  #faceaware-banner,#restored-note{grid-column:1/-1}
  .score-card{grid-column:1;grid-row:2}
  .lever-card{grid-column:1;grid-row:3}
  .share-card{grid-column:1;grid-row:4}
  .cats-card{grid-column:2;grid-row:2/6}
  .offer{grid-column:1/-1;grid-row:6}
  #screen-reveal .cat-list{grid-template-columns:1fr 1fr;gap:0 30px}
  #screen-reveal .cat{padding-bottom:13px}
  /* OFFER — readable line length + two-column checklist (was one column stretched wide) */
  .offer{padding:34px 40px}
  .offer>*{max-width:800px;margin-left:auto;margin-right:auto}
  #pw-hook{text-align:center;font-size:26px}
  .offer .teaser-line{text-align:center}
  .offer .includes{max-width:860px;display:grid;grid-template-columns:1fr 1fr;column-gap:38px;row-gap:0}
  .offer .price-row{justify-content:center}
  .offer #buy-btn{max-width:460px}
  .offer .report-preview .rp-strip{justify-content:center}
  /* REPORT — two columns; sections stay whole */
  #screen-report.active{max-width:1060px;margin:0 auto}
  #report-body{column-count:2;column-gap:26px}
  #report-body .rep-section{break-inside:avoid;-webkit-column-break-inside:avoid;margin-top:0;margin-bottom:26px}
  .before-after{max-width:560px}
}

/* ---------- blocking scan-error popup (DL-0067) ---------- */
#err-modal{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;
  padding:24px;background:rgba(10,30,70,.45);backdrop-filter:blur(2px)}
#err-modal[hidden]{display:none}
#err-modal .err-card{background:#fff;border-radius:18px;box-shadow:0 24px 60px -12px rgba(12,50,117,.45);
  padding:28px 24px 22px;max-width:380px;width:100%;text-align:center}
#err-modal .err-icon{width:44px;height:44px;margin:0 auto 12px;border-radius:50%;background:var(--blush);
  color:var(--navy);font-size:26px;font-weight:800;line-height:44px;text-align:center}
#err-modal p{margin:0 0 18px;color:var(--ink);font-size:15.5px;line-height:1.5;font-weight:500}
#err-modal button{width:100%;padding:13px;border:0;border-radius:12px;background:var(--navy);color:#fff;
  font-family:inherit;font-size:15px;font-weight:700;cursor:pointer}
#err-modal button:active{transform:translateY(1px)}

/* ---------- capture v2 (DL-0077/0080) ---------- */
.capture-actions .file-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:54px;border-radius:14px;font-weight:700}
/* all three action buttons align in the grid regardless of .primary/.secondary/.file-btn */
.capture-actions>*{margin-top:0;min-height:54px}
@keyframes pulse-in{0%{transform:scale(.97);box-shadow:0 0 0 0 rgba(12,50,117,.35)}70%{box-shadow:0 0 0 12px rgba(12,50,117,0)}100%{transform:scale(1);box-shadow:0 0 0 0 rgba(12,50,117,0)}}
.pulse{animation:pulse-in .9s ease-out 2}

/* ---------- paid overall score (DL-0081): locked ring on the free reveal ---------- */
.score-card.locked .score-num{filter:blur(7px);opacity:.85;user-select:none}
.score-card.locked .ring-wrap .arc{opacity:.45}
.score-unlock{display:inline-flex;align-items:center;gap:8px;margin-top:2px;padding:9px 16px;border:0;border-radius:999px;
  background:var(--blush);color:var(--navy);font-family:inherit;font-size:13.5px;font-weight:700;cursor:pointer;
  box-shadow:0 4px 14px rgba(0,0,0,.18);transition:transform .12s var(--ease)}
.score-unlock:active{transform:scale(.97)}
.score-unlock .i{width:15px;height:15px}

/* ---------- launch-offer anchor price + countdown (DL-0082) ---------- */
.price-was{font-size:24px;font-weight:700;color:var(--on-navy-faint);text-decoration:line-through;text-decoration-thickness:2.5px;text-decoration-color:#e0607a}
.deal-badge{padding:5px 11px;border-radius:999px;background:var(--blush);color:var(--navy);font-size:14px;font-weight:800;letter-spacing:.02em}
.deal-timer{margin:0 0 10px;font-size:13.5px;font-weight:700;color:var(--blush);font-variant-numeric:tabular-nums}
