/* SOP Assist site: landing page and sign-in.
   Fonts are self-hosted (not loaded from Google) so no visitor IP leaves for
   a third party just by opening the page. */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('fonts/barlow-condensed-800.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('fonts/inter-var.woff2') format('woff2'); }

:root {
  --ink: #050A18; --ink-2: #0B1530; --navy: #1B3A6B; --navy-2: #2a5296;
  --teal: #00A0B0; --gold: #F2C14E; --paper: #F7F7FB; --line: #E3E6EF;
  --text: #141C33; --muted: #5A6274; --green: #2E7D4F; --red: #C62F3B;
  --orange-bg: #FFEDD5; --orange-ink: #C2410C; --orange-edge: #FED7AA;
  --radius: 20px;
  --head: 'Barlow Condensed', 'Arial Narrow', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 2px solid transparent; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(27,58,107,.28); }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.btn-ghost:hover { opacity: 1; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.more-apps { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--orange-bg); color: var(--orange-ink); border: 1px solid var(--orange-edge); font: 700 13px/1 var(--body); text-decoration: none; white-space: nowrap; }
.more-apps:hover { filter: brightness(.97); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .2s ease, box-shadow .2s ease; }
.site-header.scrolled, .site-header.solid { background: rgba(5,10,24,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav { display: flex; align-items: center; gap: 14px; height: 72px; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--head); letter-spacing: .01em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav .spacer { flex: 1; }
.nav .links { display: flex; gap: 22px; margin-right: 6px; }
.nav .links a { text-decoration: none; opacity: .82; font-weight: 500; font-size: 15px; }
.nav .links a:hover { opacity: 1; }
.nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
@media (max-width: 860px) { .nav .links { display: none; } }
@media (max-width: 520px) { .nav .signin-link { display: none; } .brand span { font-size: 22px; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; margin-top: -72px; padding: 150px 0 90px;
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(42,82,150,.55), transparent 60%),
    radial-gradient(700px 500px at 85% 30%, rgba(0,160,176,.22), transparent 60%),
    radial-gradient(900px 700px at 60% 120%, rgba(242,193,78,.18), transparent 60%),
    linear-gradient(180deg, #050A18, #0B1A3E 70%, #10224c); }
.hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600; color: #cfe0ff; }
.eyebrow b { color: var(--gold); font-weight: 700; }
.hero h1 { font: 800 clamp(54px, 8.4vw, 104px)/.92 var(--head); letter-spacing: -.005em; margin: 22px 0 22px; text-transform: none; }
.hero h1 .num { background: linear-gradient(180deg, #fff, #cdf3ff 45%, #36c8d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: clamp(18px, 2vw, 21px); color: #c9d6f2; max-width: 34em; margin: 0 0 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .fine { margin-top: 18px; font-size: 14px; color: #93a6cc; }
.hero .fine span { white-space: nowrap; }

/* product mock */
.mock { position: relative; min-height: 520px; }
.mock .doc, .mock .score { position: absolute; background: #fff; color: var(--text); border-radius: 24px; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.mock .doc { inset: 0 70px 60px 0; padding: 28px 30px; }
.mock .doc .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock .doc .lbl { font-size: 13px; color: var(--muted); font-weight: 600; }
.mock .counter { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 10px; background: #E6F4EC; color: var(--green); white-space: nowrap; }
.mock .doc p { margin: 0 0 12px; font-size: 15px; line-height: 1.6; color: #1c2541; }
.mock mark { background: linear-gradient(transparent 10%, rgba(242,193,78,.55) 10%, rgba(242,193,78,.55) 92%, transparent 92%); color: inherit; padding: 0 2px; border-radius: 4px; }
.mock .score { right: 0; bottom: 0; width: 250px; padding: 20px 22px; }
.mock .score .ttl { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.mock .ring { position: relative; width: 132px; height: 132px; margin: 8px auto 14px; }
.mock .ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 54px/1 var(--head); color: var(--navy); }
.mock .dim { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 10px; font-size: 12px; color: #3b4459; font-weight: 600; margin-bottom: 5px; }
.mock .dim i { height: 7px; border-radius: 5px; background: #E7EAF2; overflow: hidden; }
.mock .dim i::after { content: ''; display: block; height: 100%; width: var(--v); border-radius: 5px; background: linear-gradient(90deg, #2E7D4F, #47b37a); }
.mock .typed { position: absolute; left: -24px; top: 34%; z-index: 2; max-width: 300px; background: #fff; color: var(--text); padding: 14px 16px; border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.4); border: 2px solid var(--navy); font-size: 13px; }
.mock .typed small { display: block; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
@media (max-width: 980px) { .mock { min-height: 470px; max-width: 620px; } }
@media (max-width: 560px) { .mock { min-height: 540px; } .mock .doc { inset: 0 0 150px 0; padding: 22px; } .mock .score { width: 220px; } .mock .typed { left: 8px; top: auto; bottom: 18px; max-width: 54%; } }

/* ---------- sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.kicker { font: 700 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
h2 { font: 800 clamp(40px, 5.4vw, 64px)/.98 var(--head); margin: 14px 0 16px; color: var(--ink-2); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.strip { padding: 28px 0; background: #fff; border-block: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; align-items: center; font-weight: 600; color: #3b4459; }
.strip .stat b { font: 800 30px/1 var(--head); color: var(--navy); margin-right: 6px; }
.strip .dot { width: 6px; height: 6px; border-radius: 50%; background: #c8cede; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 24px; right: 26px; font: 800 64px/1 var(--head); color: #eef1f7; }
.step h3 { font: 700 28px/1.05 var(--head); margin: 10px 0 10px; color: var(--ink-2); }
.step p { margin: 0; color: var(--muted); }
.step .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #E8EEFB; color: var(--navy); }

.dark { background: linear-gradient(180deg, #071230, #0B1A3E); color: #fff; }
.dark h2 { color: #fff; }
.dark .section-head p { color: #b9c6e4; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.feature h3 { font: 700 26px/1.05 var(--head); margin: 14px 0 8px; }
.feature p { margin: 0; color: #b9c6e4; font-size: 15.5px; }
.feature .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,160,176,.16); color: #7fe3ee; }
.feature.gold .ico { background: rgba(242,193,78,.16); color: var(--gold); }

.limits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .limits { grid-template-columns: 1fr; } }
.limit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.limit .uni { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.limit .uni i { width: 12px; height: 12px; border-radius: 50%; }
.limit .rule { font: 800 40px/1 var(--head); color: var(--navy); margin: 16px 0 6px; }
.limit p { margin: 0; color: var(--muted); font-size: 15px; }
.limit .tag { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.tag.ok { background: #E6F4EC; color: var(--green); }
.tag.amber { background: #FFF4DE; color: #9A6400; }

.video-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .video-wrap { grid-template-columns: 1fr; } }
.phone-video { justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; background: #000; box-shadow: 0 0 0 10px #0b0f1a, 0 0 0 12px #2a3350, 0 40px 90px rgba(0,0,0,.35); }
.phone-video video { width: 100%; height: 100%; object-fit: cover; }

.soon { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 30px 34px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } }
.soon .badge { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--orange-bg); color: var(--orange-ink); border: 1px solid var(--orange-edge); font-size: 12.5px; font-weight: 700; }
.soon h3 { font: 700 30px/1.05 var(--head); margin: 8px 0 6px; }
.soon p { margin: 0; color: var(--muted); }
.soon .ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: #F1F4FA; color: var(--navy); }

.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 650; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.cta-band { text-align: center; color: #fff; padding: 110px 0;
  background: radial-gradient(800px 420px at 50% 120%, rgba(242,193,78,.32), transparent 60%), linear-gradient(180deg, #0B1A3E, #050A18); }
.cta-band h2 { color: #fff; }
.cta-band h2 .gold { background: linear-gradient(180deg, #FFE7A3, #F2C14E 50%, #E59A2E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-band p { color: #c9d6f2; font-size: 18px; margin: 0 auto 30px; max-width: 34em; }

footer { background: var(--ink); color: #93a6cc; padding: 40px 0 46px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer a { color: #cfe0ff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .disc { flex-basis: 100%; color: #6f7fa3; font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- sign-in ---------- */
.auth-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; color: #fff;
  background: radial-gradient(800px 600px at 20% 0%, rgba(42,82,150,.55), transparent 60%), radial-gradient(700px 600px at 100% 100%, rgba(0,160,176,.2), transparent 60%), linear-gradient(180deg, #050A18, #0B1A3E); }
.auth-main { flex: 1; display: grid; place-items: center; padding: 28px 20px 48px; }
.auth-card { width: min(460px, 100%); background: #fff; color: var(--text); border-radius: 26px; padding: 34px 32px 28px; box-shadow: 0 40px 100px rgba(0,0,0,.45); }
@media (max-width: 480px) { .auth-card { padding: 28px 22px 24px; border-radius: 22px; } }
.auth-card h1 { font: 800 40px/1 var(--head); margin: 0 0 8px; color: var(--ink-2); }
.auth-card .sub { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: #F1F3F8; border-radius: 14px; padding: 4px; margin-bottom: 22px; }
.tabs button { border: 0; background: transparent; padding: 11px; border-radius: 11px; font: 650 15px/1 var(--body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(20,28,51,.1); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #2b3450; }
.field input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #D5DAE6; background: #fff; font: 16px var(--body); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(27,58,107,.12); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.field .row { display: flex; justify-content: space-between; align-items: baseline; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--navy); font: 600 14px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pw { position: relative; }
.pw input { padding-right: 70px; }
.pw button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--navy); font: 600 13px var(--body); cursor: pointer; padding: 8px; }
.divider { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: #8b93a7; font-size: 13px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.btn-google { background: #fff; color: #1f1f1f; border: 1.5px solid #D5DAE6; font-weight: 600; }
.btn-google:hover { background: #f8f9fb; }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14.5px; margin-bottom: 16px; }
.notice.error { background: #FDECEE; color: #8f1d29; border: 1px solid #F5C2C8; }
.notice.ok { background: #E6F4EC; color: #1e5a38; border: 1px solid #B9DEC8; }
.notice.info { background: #EEF3FC; color: #1B3A6B; border: 1px solid #CFDCF4; }
.auth-foot { margin-top: 18px; font-size: 13px; color: var(--muted); text-align: center; }
.auth-foot b { color: var(--text); }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
[hidden] { display: none !important; }
