/* Authentic — product site. Apple-style system: restrained palette, large type, generous space. */
@font-face {
  font-family: "Inter var";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --ai: #e8590c;
  --ai-soft: #fff1e8;
  --mid: #b25000;
  --mid-soft: #fff7df;
  --ok: #248a3d;
  --ok-soft: #e9f6ec;
  --g-text: linear-gradient(90deg, #2997ff 0%, #a35cff 50%, #ff5f9e 100%);
  --g-glow: conic-gradient(from var(--a, 0deg), #2997ff, #a35cff, #ff5f9e, #ffb340, #2997ff);
  --r-tile: 28px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .08);
  --shadow-modal: 0 8px 20px rgba(0, 0, 0, .08), 0 20px 60px rgba(0, 0, 0, .16);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter var", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 980px;
  --max-lg: 1200px;
  --ease: cubic-bezier(.28, .11, .32, 1);
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.47 var(--font); letter-spacing: -.022em; -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; letter-spacing: inherit; }
.wrap { width: min(var(--max), 100% - 44px); margin-inline: auto; }
.wrap-lg { width: min(var(--max-lg), 100% - 44px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 10px; background: #fff; color: #000; padding: 8px 14px; border-radius: 99px; z-index: 100; }
.hidden { display: none !important; }
.center { text-align: center; }

/* ---------- Navigation ---------- */
.gnav { position: relative; z-index: 30; height: 44px; background: rgba(22, 22, 23, .86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.gnav a { color: #e8e8ed; font-size: 12px; letter-spacing: -.01em; opacity: .88; }
.gnav a:hover { opacity: 1; text-decoration: none; }
.gnav nav { display: flex; gap: 32px; }
.mark { display: flex; align-items: center; gap: 8px; }
.mark svg { width: 18px; height: 18px; }
.lnav { position: sticky; top: 0; z-index: 25; height: 52px; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .12); }
.lnav .wrap { display: flex; align-items: center; height: 100%; gap: 24px; }
.lnav .title { font-size: 21px; font-weight: 600; letter-spacing: .011em; color: var(--text); margin-right: auto; }
.lnav .title:hover { text-decoration: none; }
.lnav .title small { margin-left: 8px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); vertical-align: 3px; }
.lnav nav { display: flex; align-items: center; gap: 22px; }
.lnav nav a { font-size: 12px; color: var(--text); opacity: .85; letter-spacing: -.01em; }
.lnav nav a:hover { opacity: 1; color: var(--link); text-decoration: none; }
.lnav nav a[aria-current="page"] { opacity: .45; pointer-events: none; }
.lnav .pill-sm { margin-left: 6px; opacity: 1; color: #fff; }
.lnav .pill-sm:hover { color: #fff; }
@media (max-width: 734px) { .lnav nav a:not(.pill-sm) { display: none; } .gnav nav { gap: 18px; } .gnav nav a.gopt { display: none; } }

/* ---------- Buttons and links ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; letter-spacing: -.022em; border: 0; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.pill:hover { background: var(--blue-hover); text-decoration: none; }
.pill.secondary { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.pill.secondary:hover { background: var(--blue); color: #fff; }
.on-dark .pill.secondary { color: var(--link-dark); box-shadow: inset 0 0 0 1px var(--link-dark); }
.on-dark .pill.secondary:hover { background: var(--link-dark); color: #000; }
.pill-sm { min-height: 28px; padding: 4px 12px; font-size: 12px; background: var(--blue); color: #fff; border-radius: 980px; display: inline-flex; align-items: center; }
.pill-sm:hover { background: var(--blue-hover); text-decoration: none; }
.more { font-size: 17px; color: var(--link); }
.more::after { content: " \203A"; }
.on-dark .more { color: var(--link-dark); }
.ctas { display: flex; gap: 20px 34px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.07; }
.eyebrow { font-size: 21px; font-weight: 600; letter-spacing: .011em; margin: 0 0 10px; }
.display { font-size: clamp(52px, 8.4vw, 104px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.headline { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -.028em; }
.title-3 { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.14; }
.lead { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.33; letter-spacing: .005em; color: var(--text-2); font-weight: 500; max-width: 760px; margin: 18px auto 0; }
.on-dark .lead { color: var(--on-dark-2); }
.gradient { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small { font-size: 14px; }
.tiny { font-size: 12px; color: var(--text-3); letter-spacing: -.01em; }

/* ---------- Sections ---------- */
.sec { padding: 120px 0; }
.alt { background: var(--bg-alt); }
.on-dark { background: #000; color: var(--on-dark); }
.sec-head { text-align: center; max-width: 840px; margin: 0 auto 64px; }
@media (max-width: 734px) { .sec { padding: 80px 0; } .sec-head { margin-bottom: 44px; } }

/* ---------- Hero ---------- */
.hero { background: #000; color: var(--on-dark); text-align: center; padding: 88px 0 0; overflow: hidden; }
.hero .eyebrow { color: var(--on-dark); }
.hero .lead { color: var(--on-dark-2); }
.stage { position: relative; margin: 72px auto 0; width: min(1000px, 100% - 32px); padding-bottom: 96px; }
.stage::before { content: ""; position: absolute; inset: 8% 4% 16%; background: var(--g-glow); filter: blur(90px); opacity: .42; border-radius: 50%; animation: spin 14s linear infinite; }
@keyframes spin { to { --a: 360deg; } }

/* Product window */
.window { position: relative; text-align: left; background: #fbfbfd; color: var(--text); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.window::before { content: ""; position: absolute; inset: 0; padding: 2px; border-radius: 22px; background: var(--g-glow); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; z-index: 3; }
.win-bar { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); background: #fff; font-size: 13px; color: var(--text-2); }
.win-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; margin-right: 10px; }
.win-bar .file { flex: 1; text-align: center; margin-right: 56px; font-weight: 500; color: var(--text); }
.win-body { display: grid; grid-template-columns: 1.55fr 1fr; min-height: 420px; }
.doc { position: relative; padding: 30px 34px; border-right: 1px solid var(--line-soft); }
.doc p { margin: 0 0 12px -8px; font-size: 13.5px; line-height: 1.62; color: #424245; border-radius: 6px; padding: 4px 8px; transition: background .6s var(--ease), box-shadow .6s var(--ease), color .6s var(--ease); }
.doc p.hot { background: var(--ai-soft); box-shadow: inset 3px 0 0 var(--ai); }
.doc p.warm { background: var(--mid-soft); box-shadow: inset 3px 0 0 #f0a500; }
.doc p.ghost { color: #e3e3e8; font-size: 11px; }
.doc p.ghost.found { color: var(--ai); background: var(--ai-soft); box-shadow: inset 3px 0 0 var(--ai); }
.scan { position: absolute; left: 0; right: 0; height: 64px; top: 0; background: linear-gradient(180deg, rgba(41, 151, 255, 0), rgba(41, 151, 255, .12) 70%, rgba(41, 151, 255, .4)); border-bottom: 2px solid rgba(41, 151, 255, .9); pointer-events: none; opacity: 0; transition: opacity .4s; }
.side { padding: 26px; background: #fff; display: flex; flex-direction: column; gap: 18px; }
.side .lbl { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin: 0 0 6px; }
.side .num { font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.side .num small { font-size: 14px; font-weight: 500; color: var(--text-2); letter-spacing: 0; margin-left: 4px; }
.meter { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #d8f0de, #fff0c2, #ffd9c2); margin-top: 12px; }
.meter .band { position: absolute; top: -4px; bottom: -4px; border-radius: 99px; border: 2px solid var(--text); background: rgba(29, 29, 31, .08); left: 0; width: 0; transition: left 1s var(--ease), width 1s var(--ease); }
.meter .dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--text); border: 2px solid #fff; left: 0; transition: left 1s var(--ease); }
.flag { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.flag.show { opacity: 1; transform: none; }
.flag b { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ai); background: var(--ai-soft); border-radius: 99px; padding: 3px 8px; }
@media (max-width: 734px) { .win-body { grid-template-columns: 1fr; } .doc { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 22px; } .win-bar .file { margin-right: 0; } .stage { margin-top: 48px; padding-bottom: 64px; } }

/* ---------- How it works ---------- */
.pipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: s; }
.pipe::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, #2997ff, #a35cff, #ff5f9e); opacity: .35; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .ic { position: relative; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--text); }
.step .ic svg { width: 30px; height: 30px; }
.step .ic::after { counter-increment: s; content: counter(s); position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--text); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--text-2); line-height: 1.43; }
@media (max-width: 900px) { .pipe { grid-template-columns: 1fr; gap: 28px; max-width: 440px; margin: 0 auto; } .pipe::before { display: none; } .step { display: grid; grid-template-columns: 68px 1fr; gap: 2px 18px; text-align: left; } .step .ic { margin: 0; grid-row: span 2; } }

/* ---------- Training data ---------- */
.big-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; text-align: center; }
.big-stats b { display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.big-stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); line-height: 1.35; }
@media (max-width: 900px) { .big-stats { grid-template-columns: 1fr 1fr; } }
.bars { max-width: 820px; margin: 72px auto 0; display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 180px 1fr 130px; gap: 16px; align-items: center; font-size: 14px; }
.bar-row .name { color: var(--text); font-weight: 500; }
.bar-row .name small { display: block; color: var(--text-3); font-weight: 400; font-size: 12px; }
.bar-row .track { height: 14px; border-radius: 99px; background: var(--line-soft); overflow: hidden; display: flex; }
.bar-row .h { background: #6e6e73; width: 0; transition: width 1.2s var(--ease); }
.bar-row .m { background: linear-gradient(90deg, #a35cff, #ff5f9e); width: 0; transition: width 1.2s var(--ease) .15s; }
.bar-row .val { color: var(--text-2); font-variant-numeric: tabular-nums; text-align: right; }
.bar-legend { display: flex; gap: 22px; justify-content: center; margin-top: 22px; font-size: 13px; color: var(--text-2); }
.bar-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: #6e6e73; }
.bar-legend i.m { background: linear-gradient(90deg, #a35cff, #ff5f9e); }
@media (max-width: 734px) { .bar-row { grid-template-columns: 1fr 100px; } .bar-row .track { grid-column: 1 / -1; grid-row: 2; } }
.models { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 860px; margin: 40px auto 0; padding: 0; list-style: none; }
.models li { font-size: 13px; padding: 6px 14px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.models li.test { background: transparent; color: var(--text-2); box-shadow: none; border: 1px dashed var(--line); }

/* ---------- Bento tiles ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; grid-column: span 2; border-radius: var(--r-tile); background: #fff; padding: 40px 36px; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.dark { background: #000; color: var(--on-dark); }
.tile .kicker { font-size: 14px; font-weight: 600; color: var(--text-2); margin: 0 0 8px; }
.tile.dark .kicker { color: var(--on-dark-2); }
.tile h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.022em; line-height: 1.1; }
.tile p { margin: 14px 0 0; color: var(--text-2); font-size: 17px; }
.tile.dark p { color: var(--on-dark-2); }
.tile .art { margin-top: auto; padding-top: 28px; }
@media (max-width: 1068px) { .tile, .tile.w3, .tile.w4 { grid-column: span 3; } }
@media (max-width: 734px) { .bento { grid-template-columns: 1fr; } .tile, .tile.w3, .tile.w4 { grid-column: auto; min-height: 0; padding: 32px 26px; } }
.code-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.code-chips code { font: 12.5px/1 var(--mono); padding: 9px 11px; border-radius: 10px; background: var(--bg-alt); color: var(--text); }
.tile.dark .code-chips code { background: #1d1d1f; color: #f5f5f7; }
.hidden-demo { border-radius: 16px; background: #fff; padding: 18px 20px; font-size: 14px; line-height: 1.55; color: #424245; }
.hidden-demo .inj { color: #fff; transition: color 1.2s var(--ease) .4s, text-shadow 1.2s var(--ease) .4s; }
.in .hidden-demo .inj { color: var(--ai); text-shadow: 0 0 22px rgba(232, 89, 12, .35); }
.formats { display: flex; gap: 12px; flex-wrap: wrap; }
.formats span { position: relative; display: grid; place-items: end center; padding-bottom: 12px; width: 66px; height: 82px; border-radius: 10px 18px 10px 10px; background: var(--bg-alt); font-size: 12px; font-weight: 600; }
.formats span::before { content: ""; position: absolute; top: 16px; left: 14px; right: 14px; height: 30px; background: repeating-linear-gradient(180deg, var(--line) 0 2px, transparent 2px 7px); }
.formats .d { color: #2b6cdf; } .formats .p { color: #d04a02; } .formats .f { color: #c4161c; } .formats .t { color: var(--text-2); }
.privacy-art { display: grid; place-items: center; height: 120px; }
.privacy-art svg { width: 92px; height: 92px; color: var(--text); }

/* ---------- Accuracy ---------- */
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.acc-grid b { display: block; font-size: clamp(48px, 6vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.acc-grid span { display: block; margin-top: 12px; font-size: 15px; color: var(--on-dark-2); line-height: 1.35; }
@media (max-width: 900px) { .acc-grid { grid-template-columns: 1fr 1fr; gap: 48px 20px; } }
.limits { max-width: 820px; margin: 80px auto 0; border-top: 1px solid #424245; }
.limits div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid #424245; font-size: 15px; }
.limits dt { color: var(--on-dark); font-weight: 500; }
.limits dd { margin: 0; color: var(--on-dark-2); }
@media (max-width: 734px) { .limits div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -5px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 5px; }
.faq details p { margin: -6px 0 24px; color: var(--text-2); max-width: 680px; }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg-alt); margin: 36px auto 0; }
.billing button, .seg button { border: 0; background: none; padding: 9px 20px; border-radius: 99px; cursor: pointer; color: var(--text-2); font-size: 14px; min-height: 40px; }
.billing button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
@media (max-width: 1068px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 734px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--r-tile); background: var(--bg-alt); padding: 36px 30px 30px; }
.plan.featured { background: #000; color: var(--on-dark); }
.plan .badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--g-text); color: #fff; }
.plan h3 { font-size: 28px; }
.plan .who { font-size: 15px; color: var(--text-2); margin: 8px 0 26px; min-height: 2.9em; }
.plan.featured .who { color: var(--on-dark-2); }
.price { font-size: 48px; font-weight: 700; letter-spacing: -.035em; line-height: 1; margin: 0; }
.price small { font-size: 15px; font-weight: 400; letter-spacing: -.01em; color: var(--text-2); margin-left: 4px; }
.plan.featured .price small { color: var(--on-dark-2); }
.plan .now { font-size: 13px; color: var(--ok); margin: 10px 0 0; font-weight: 500; }
.plan.featured .now { color: #30d158; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; font-size: 15px; flex: 1; }
.plan li { padding-left: 26px; position: relative; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 12px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan.featured li::before { border-color: var(--link-dark); }
.plan .pill { width: 100%; }
.plan.featured .pill.secondary { color: var(--link-dark); box-shadow: inset 0 0 0 1px var(--link-dark); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font-size: 17px; font-weight: 600; }
.compare td { color: var(--text-2); }
.compare td:first-child { color: var(--text); }
.compare .y::before { content: "\25CF"; color: var(--blue); }
.compare .n::before { content: "\2014"; color: var(--text-3); }
.scroll-x { overflow-x: auto; }

/* ---------- Checker ---------- */
.check-hero { background: var(--bg-alt); padding: 72px 0 88px; text-align: center; }
.panel { background: #fff; border-radius: var(--r-tile); box-shadow: var(--shadow); padding: 28px; margin-top: 40px; text-align: left; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg-alt); margin-bottom: 20px; }
.drop { display: grid; place-items: center; gap: 10px; padding: 56px 24px; border-radius: 20px; border: 2px dashed var(--line); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--blue); background: #f0f7ff; }
.drop svg { width: 48px; height: 48px; color: var(--blue); }
.drop strong { font-size: 21px; font-weight: 600; }
.drop span { color: var(--text-2); font-size: 14px; }
textarea { width: 100%; min-height: 260px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--text); font: 17px/1.55 var(--font); resize: vertical; letter-spacing: -.01em; }
textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0, 113, 227, .15); }
.row { display: flex; align-items: center; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.status { margin-top: 20px; min-height: 24px; font-size: 15px; color: var(--text-2); }
.error { color: #b3261e; background: #fdecea; padding: 14px 18px; border-radius: 14px; margin: 0; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: rot .8s linear infinite; display: inline-block; vertical-align: -4px; margin-right: 10px; }
@keyframes rot { to { transform: rotate(360deg); } }
.model-card { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin-top: 24px; font-size: 13px; color: var(--text-2); }
.model-card b { color: var(--text); font-weight: 600; }
.result { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; padding: 48px 0 120px; align-items: start; }
@media (max-width: 1068px) { .result { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: var(--r-tile); box-shadow: var(--shadow); overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 26px; border-bottom: 1px solid var(--line-soft); font-size: 14px; color: var(--text-2); }
.card-head b { color: var(--text); font-weight: 600; }
.card-body { padding: 28px 26px; }
.card-body h3 { font-size: 21px; margin: 32px 0 14px; }
.verdict-l { font-size: 14px; font-weight: 600; color: var(--text-2); margin: 0 0 6px; }
.verdict-n { font-size: clamp(44px, 6vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.verdict-s { margin: 10px 0 0; color: var(--text-2); }
.tag { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.ai { background: var(--ai-soft); color: var(--ai); }
.tag.mid { background: var(--mid-soft); color: var(--mid); }
.tag.ok { background: var(--ok-soft); color: var(--ok); }
.tag.neutral { background: var(--bg-alt); color: var(--text-2); }
.meter.lg { height: 12px; margin: 26px 0 8px; }
.meter.lg .band { top: -5px; bottom: -5px; }
.meter.lg .dot { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-3); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-low { background: var(--line); } .lg-mid { background: #f0a500; } .lg-high { background: var(--ai); }
.paras { display: grid; gap: 10px; }
.para { padding: 14px 16px 14px 18px; border-radius: 14px; background: var(--bg-alt); box-shadow: inset 3px 0 0 var(--line); font-size: 16px; line-height: 1.6; letter-spacing: -.01em; }
.para.h-mid { background: var(--mid-soft); box-shadow: inset 3px 0 0 #f0a500; }
.para.h-high { background: var(--ai-soft); box-shadow: inset 3px 0 0 var(--ai); }
.para .score { float: right; margin: 0 0 6px 12px; font-size: 12px; font-weight: 600; background: #fff; border-radius: 99px; padding: 3px 10px; box-shadow: var(--shadow); }
.alert { padding: 16px 18px; border-radius: 16px; background: var(--ai-soft); color: #7a2e00; margin: 0 0 24px; font-size: 15px; }
.trace { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.trace:first-child { border-top: 0; padding-top: 0; }
.trace p { margin: 0; }
.trace .ex { display: block; margin-top: 6px; font: 12.5px/1.5 var(--mono); color: var(--text-2); background: var(--bg-alt); border-radius: 10px; padding: 8px 10px; word-break: break-word; }
.trace .note { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: 14px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; word-break: break-word; }
.notice { font-size: 12px; color: var(--text-3); margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-soft); }

/* ---------- Legal ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 0 120px; }
.legal h1 { font-size: clamp(36px, 5vw, 48px); margin-bottom: 8px; }
.legal h2 { font-size: 24px; margin: 48px 0 12px; }
.legal p, .legal li { color: #424245; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 600; }
.legal .callout { background: var(--bg-alt); border-radius: 18px; padding: 18px 22px; }

/* ---------- Footer ---------- */
.foot { background: var(--bg-alt); color: var(--text-2); font-size: 12px; letter-spacing: -.01em; line-height: 1.33; padding: 20px 0 32px; }
.foot .notes { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.foot .notes p { margin: 0 0 8px; }
.foot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.foot h4 { font-size: 12px; font-weight: 600; color: var(--text); margin: 0 0 10px; letter-spacing: -.01em; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }
.foot .legal-row { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 16px; }
.foot .legal-row nav { display: flex; flex-wrap: wrap; row-gap: 6px; }
.foot .legal-row nav > * { padding: 0 10px; border-left: 1px solid var(--line); }
.foot .legal-row nav > :first-child { padding-left: 0; border-left: 0; }
.linkbtn { background: none; border: 0; color: var(--text-2); cursor: pointer; font-size: 12px; }
.linkbtn:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 734px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Cookie consent ---------- */
.consent { position: fixed; z-index: 60; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(760px, 100% - 24px); background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px); border-radius: 22px; box-shadow: var(--shadow-modal); padding: 20px 22px; display: flex; gap: 16px 22px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.consent p { margin: 0; flex: 1 1 320px; color: #424245; }
.consent .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent .pill { min-height: 36px; padding: 7px 16px; font-size: 14px; }
.modal { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .4); display: grid; place-items: center; padding: 16px; }
.modal-box { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; box-shadow: var(--shadow-modal); padding: 32px; }
.modal-box h2 { font-size: 28px; margin-bottom: 10px; }
.modal-box > p { color: var(--text-2); margin: 0 0 20px; font-size: 15px; }
.opt { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.opt h3 { font-size: 17px; margin-bottom: 4px; }
.opt p { margin: 0; font-size: 14px; color: var(--text-2); }
.switch { position: relative; flex: none; width: 51px; height: 31px; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #e9e9eb; transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15); transition: transform .2s var(--ease); }
.switch input:checked + span { background: #34c759; }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .gnav, .lnav, .foot, .check-hero, .consent, .no-print { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .result { grid-template-columns: 1fr; padding: 0; }
}

/* Download */
.dl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 20px; justify-content: center; margin: 48px auto 18px; }
.dl { display: grid; justify-items: center; gap: 8px; padding: 34px 24px; border-radius: var(--r-tile); background: #1d1d1f; color: var(--on-dark); transition: background .2s var(--ease), transform .2s var(--ease); }
.dl:hover { background: #2a2a2d; text-decoration: none; transform: translateY(-2px); }
.dl svg { width: 40px; height: 40px; margin-bottom: 6px; }
.dl b { font-size: 21px; font-weight: 600; }
.dl span { font-size: 13px; color: var(--on-dark-2); }
.hero .tiny { color: var(--on-dark-2); }
@media (max-width: 734px) { .dl-cards { grid-template-columns: 1fr; } }

/* Real-time scan walkthrough */
.para { position: relative; overflow: hidden; transition: background .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease); }
.para .score { transition: opacity .4s var(--ease); }
.para.pending { background: #fff; box-shadow: inset 3px 0 0 var(--line-soft); color: var(--text-3); }
.para.pending .score { opacity: 0; }
.para.scanning { background: #f2f8ff; color: var(--text); }
.para.scanning::after { content: ""; position: absolute; left: 0; right: 0; top: -56px; height: 56px; background: linear-gradient(180deg, rgba(41, 151, 255, 0), rgba(41, 151, 255, .16) 70%, rgba(41, 151, 255, .45)); border-bottom: 2px solid rgba(41, 151, 255, .9); animation: sweep var(--dur, 900ms) linear forwards; pointer-events: none; }
@keyframes sweep { to { top: 100%; } }
.trace { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.trace.pending { opacity: 0; transform: translateY(8px); }
.pending.tag, .pending.alert, .verdict-s.pending { opacity: 0; }
.tag, .alert, .verdict-s { transition: opacity .5s var(--ease); }
.is-scanning .verdict-n { color: var(--text-2); font-variant-numeric: tabular-nums; }
.scan-ctl { position: fixed; z-index: 50; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 18px; border-radius: 99px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-modal); font-size: 14px; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.scan-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse2 .9s ease-in-out infinite alternate; }
@keyframes pulse2 { to { opacity: .25; transform: scale(.7); } }
.scan-ctl .linkbtn { font-size: 14px; color: var(--link); padding: 4px 8px; }
@media (max-width: 734px) { .scan-ctl { font-size: 12.5px; gap: 8px; padding: 8px 10px 8px 14px; max-width: calc(100% - 24px); white-space: normal; } }

/* Training progress uses the existing Authentic tokens and content hierarchy. */
.training-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 48px 0 28px; }
.training-status article { padding: 28px 0; border-top: 1px solid var(--line-soft); }
.training-status h3 { font-size: 26px; margin: 10px 0 14px; }
.training-status p, .training-note, .training-archive p { color: var(--text-2); line-height: 1.65; }
.training-note { max-width: 860px; margin: 20px auto; font-size: 15px; }
.training-archive { margin: 40px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0; }
.training-archive summary { cursor: pointer; font-size: 19px; font-weight: 600; }
.training-archive p { margin-top: 20px; }
.training-comparison { margin: 44px 0 22px; }
.training-comparison table { width: 100%; border-collapse: collapse; text-align: left; table-layout: fixed; }
.training-comparison caption { text-align: left; color: var(--on-dark-2); font-size: 15px; padding-bottom: 18px; }
.training-comparison th, .training-comparison td { padding: 20px 12px; border-bottom: 1px solid var(--on-dark-2); vertical-align: top; overflow-wrap: anywhere; }
.training-comparison thead th { font-size: 14px; font-weight: 500; color: var(--on-dark-2); }
.training-comparison tbody th { width: 42%; font-size: 17px; font-weight: 500; }
.training-comparison td { font-size: 24px; font-variant-numeric: tabular-nums; }
.training-comparison small { color: var(--on-dark-2); font-size: 13px; }
.on-dark .on-dark-note { color: var(--on-dark-2); }
@media (max-width: 734px) {
  .training-status { grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .training-comparison th, .training-comparison td { padding: 16px 6px; }
  .training-comparison tbody th { font-size: 14px; }
  .training-comparison thead th { font-size: 12px; }
  .training-comparison td { font-size: 20px; }
}
