/* RecruitIndex — site styles. Tokens mirror /assets/brand/tokens.json */
:root {
  --navy: #071B3A;
  --navy-2: #0C2550;
  --primary: #1769FF;
  --electric: #2684FF;
  --white: #FFFFFF;
  --bg: #F5F8FC;
  --text: #17243A;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-2: #D5DEEA;
  --ok: #0F8A5F;
  --ok-bg: #E8F6EF;
  --warn: #9A6700;
  --warn-bg: #FFF6DD;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(7,27,58,.06), 0 8px 24px rgba(7,27,58,.06);
  --shadow-lg: 0 2px 4px rgba(7,27,58,.06), 0 24px 60px rgba(7,27,58,.14);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -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(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--tint { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark { background: var(--navy); color: #C9D6EA; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 600; color: var(--primary); margin-bottom: 14px; }
.section--dark .eyebrow { color: var(--electric); }
.lead { font-size: 1.125rem; color: var(--muted); }
.section--dark .lead { color: #A9BBD6; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-md); font: 600 .9375rem/1 var(--font); border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(7,27,58,.12), inset 0 1px 0 rgba(255,255,255,.12); }
.btn--primary:hover { background: #0F5CE8; }
.btn--secondary { background: #fff; color: var(--navy); border-color: var(--border-2); }
.btn--secondary:hover { border-color: #B8C6D9; background: var(--bg); }
.btn--ghost { color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--bg); }
.btn--on-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.2); }
.btn--on-dark:hover { background: rgba(255,255,255,.12); }
.btn--sm { height: 38px; padding: 0 14px; font-size: .875rem; }
.btn svg { width: 16px; height: 16px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--border); }
.header__bar { display: flex; align-items: center; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { color: var(--text); font-size: .9375rem; font-weight: 500; padding: 8px 12px; border-radius: var(--r-sm); }
.nav a:hover { background: var(--bg); text-decoration: none; color: var(--navy); }
.header__cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--border-2); border-radius: var(--r-md); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { display: block; position: fixed; inset: 68px 0 0 0; background: #fff; padding: 16px 24px 32px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; overflow-y: auto; }
  .mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.0625rem; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--border); }
  .mobile-nav .btn { width: 100%; margin-top: 12px; height: 48px; }
  .mobile-nav__cta { margin-top: 20px; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; background:
  radial-gradient(900px 420px at 85% -10%, rgba(38,132,255,.10), transparent 70%),
  linear-gradient(#fff, var(--bg)); border-bottom: 1px solid var(--border); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 75%); opacity: .55; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border: 1px solid var(--border-2); background: #fff; border-radius: 999px; font-size: .8125rem; font-weight: 500; color: var(--text); margin-bottom: 24px; }
.hero__badge b { background: var(--navy); color: #fff; font-weight: 600; font-size: .75rem; padding: 2px 8px; border-radius: 999px; }
.hero h1 .accent { color: var(--primary); }
.hero .lead { max-width: 520px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.trust-caption { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--muted); margin: 0; }
.trust-caption svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

/* App window (shared by hero + preview) */
.app { background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .8125rem; }
.app__chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--border); background: #FAFBFD; }
.app__dots { display: flex; gap: 6px; } .app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #DCE3EC; }
.app__url { flex: 1; max-width: 300px; margin: 0 auto; height: 24px; border-radius: 6px; background: #EEF2F7; color: var(--muted); font-size: .75rem; display: flex; align-items: center; justify-content: center; gap: 6px; }
.app__url svg { width: 11px; height: 11px; }
.demo-tag { font-size: .6875rem; font-weight: 600; color: var(--warn); background: var(--warn-bg); border: 1px solid #F3DE9F; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.app__body { display: grid; grid-template-columns: 172px 1fr; min-height: 380px; }
.app__side { border-right: 1px solid var(--border); padding: 14px 10px; background: #FBFCFE; }
.app__side img { height: 18px; width: auto; margin: 2px 6px 18px; }
.app__side a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--muted); font-weight: 500; pointer-events: none; }
.app__side a.is-active { background: #EAF1FF; color: var(--primary); }
.app__side svg { width: 14px; height: 14px; }
.app__main { padding: 16px 18px; min-width: 0; }
.app__toolbar { display: flex; gap: 8px; margin-bottom: 14px; }
.field { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--border-2); border-radius: 8px; background: #fff; color: var(--muted); }
.field svg { width: 14px; height: 14px; flex: none; }
.field--grow { flex: 1; min-width: 0; color: var(--text); }
.field input, .field select { border: 0; outline: 0; font: inherit; color: var(--text); background: transparent; width: 100%; min-width: 0; }
.field select { cursor: pointer; padding-right: 4px; }
.field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,105,255,.15); }
.meta-row { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .75rem; margin-bottom: 8px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 600; font-size: .6875rem; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--border); background: #FAFBFD; white-space: nowrap; }
.tbl td { padding: 10px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .12s; }
.tbl .emp { font-weight: 600; color: var(--navy); }
.tbl .sub { display: block; font-weight: 400; color: var(--muted); font-size: .6875rem; font-family: var(--mono); }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: .6875rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EEF2F7; color: var(--text); }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.pill--listed { background: var(--ok-bg); color: var(--ok); }
.pill--review { background: var(--warn-bg); color: var(--warn); }
.src { color: var(--primary); font-weight: 500; }
.flag { display: inline-block; font-family: var(--mono); font-size: .6875rem; font-weight: 600; color: var(--navy); background: #EEF2F7; border-radius: 4px; padding: 1px 5px; margin-right: 6px; }
.tbl-scroll { border: 1px solid var(--border); border-radius: 10px; overflow-x: auto; }

/* Hero visual tweaks */
.hero__visual { position: relative; }
.hero__visual .app { transform: perspective(1800px) rotateY(-4deg) rotateX(2deg); transform-origin: left center; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--border-2); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px 14px; font-size: .75rem; }
.float-card--rec { right: -18px; bottom: -32px; width: 250px; animation: rise .8s .3s both; }
.float-card h4 { font-size: .8125rem; margin: 0 0 8px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; color: var(--text); font-weight: 500; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 1px 2px rgba(7,27,58,.04); transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.icon-tile { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #EAF1FF; color: var(--primary); margin-bottom: 20px; }
.icon-tile svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: .9375rem; }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: .9375rem; color: var(--text); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: #EAF1FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%231769FF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--dark .ticks li { color: #DCE6F5; }
.section--dark .ticks li::before { background-color: rgba(38,132,255,.18); }

/* Product preview */
.preview .app__body { min-height: 460px; grid-template-columns: 200px 1fr; }
.preview__layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
.detail { border: 1px solid var(--border); border-radius: 10px; padding: 16px; background: #FBFCFE; align-self: start; }
.detail h4 { font-size: .9375rem; margin-bottom: 2px; }
.detail .muted { color: var(--muted); font-size: .75rem; margin-bottom: 14px; }
.detail .kv { font-size: .78rem; gap: 8px 12px; }
.detail .kv dd { word-break: break-word; }
.detail__note { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border-2); font-size: .7rem; color: var(--muted); line-height: 1.5; }
.preview .tbl tbody tr { cursor: pointer; }
.preview .tbl tbody tr:hover { background: #F7FAFF; }
.preview .tbl tbody tr[aria-selected="true"] { background: #EEF4FF; box-shadow: inset 3px 0 0 var(--primary); }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.preview-caption { margin-top: 20px; text-align: center; font-size: .875rem; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: calc(16.66% + 28px); right: calc(16.66% + 28px); height: 1px; background: repeating-linear-gradient(90deg, var(--border-2) 0 6px, transparent 6px 12px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__num { position: relative; z-index: 1; width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 14px; background: #fff; border: 1px solid var(--border-2); display: grid; place-items: center; color: var(--primary); box-shadow: var(--shadow); }
.step__num svg { width: 24px; height: 24px; }
.step__label { display: block; font-size: .75rem; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* AI section */
.ai__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.chat { background: #0B2247; border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8125rem; color: #A9BBD6; }
.chat__head .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; }
.chat__head .demo-tag { margin-left: auto; }
.chat__body { padding: 20px 16px; display: grid; gap: 16px; font-size: .875rem; }
.msg { max-width: 88%; padding: 12px 14px; border-radius: 12px; line-height: 1.5; }
.msg--user { justify-self: end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg--ai { background: rgba(255,255,255,.06); color: #DCE6F5; border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 4px; }
.tool-call { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .72rem; color: #8FB4FF; background: rgba(38,132,255,.12); border: 1px solid rgba(38,132,255,.25); border-radius: 6px; padding: 5px 9px; }
.tool-call svg { width: 12px; height: 12px; }
.mini-results { margin-top: 10px; display: grid; gap: 6px; }
.mini-results div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font-size: .78rem; }
.mini-results b { color: #fff; font-weight: 600; }
.mini-results span { color: #8FA3C2; font-size: .72rem; }
.chat__input { margin: 0 16px 16px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 6px 0 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #6F86A8; font-size: .875rem; }
.chat__input .send { margin-left: auto; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; color: #fff; }
.chat__input .send svg { width: 14px; height: 14px; }
.ai__points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.fine { font-size: .8125rem; color: #8FA3C2; margin-top: 28px; }

/* Trust */
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin-bottom: 32px; }
.trust-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.trust-item .icon-tile { width: 38px; height: 38px; margin-bottom: 14px; }
.trust-item .icon-tile svg { width: 18px; height: 18px; }
.trust-item h3 { font-size: 1rem; }
.trust-item p { margin: 0; font-size: .875rem; color: var(--muted); }
.disclaimer { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border-2); border-radius: var(--r-md); padding: 18px 20px; font-size: .9375rem; color: var(--text); }
.disclaimer svg { width: 20px; height: 20px; flex: none; color: var(--navy); margin-top: 2px; }
.disclaimer p { margin: 0; }

/* Security */
.security__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sec-item { display: flex; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
.sec-item .icon-tile { width: 38px; height: 38px; margin: 0; flex: none; }
.sec-item .icon-tile svg { width: 18px; height: 18px; }
.sec-item h3 { font-size: .9375rem; margin-bottom: 4px; }
.sec-item p { font-size: .8125rem; color: var(--muted); margin: 0; }
.note { font-size: .875rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; color: var(--navy); font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2364748B' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M10 4v12M4 10h12'/%3E%3C/svg%3E") center/20px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 720px; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--navy); border-radius: 20px; padding: 72px 48px; text-align: center; color: #A9BBD6; }
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.cta > * { position: relative; }
.cta h2 { color: #fff; max-width: 640px; margin: 0 auto 16px; }
.cta p { max-width: 520px; margin: 0 auto 32px; font-size: 1.0625rem; }
.cta__btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.cta__mark { width: 56px; height: 56px; margin: 0 auto 24px; border-radius: 13px; }

/* Footer */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 32px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 48px; }
.footer__brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--muted); max-width: 320px; font-size: .875rem; }
.footer h4 { font-size: .8125rem; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); font-size: .875rem; }
.footer ul a:hover { color: var(--navy); }
.footer__legal { border-top: 1px solid var(--border); padding-top: 24px; display: grid; gap: 10px; font-size: .8125rem; color: var(--muted); }
.footer__legal p { margin: 0; max-width: 900px; }

/* Inner pages */
.page { padding: 72px 0 112px; background: linear-gradient(#fff, var(--bg)); min-height: 60vh; }
.page__narrow { max-width: 760px; }
.page h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
.prose h2 { font-size: 1.375rem; margin-top: 2em; }
.prose p, .prose li { color: #334155; }
.placeholder-note { background: var(--warn-bg); border: 1px solid #F3DE9F; color: #6B4A00; border-radius: var(--r-md); padding: 14px 16px; font-size: .875rem; margin-bottom: 32px; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 32px; max-width: 520px; }
.form-card--wide { max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-row label { display: block; font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--border-2); border-radius: var(--r-md); font: inherit; color: var(--text); background: #fff; }
.form-row textarea { height: 110px; padding: 10px 12px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(23,105,255,.15); }
.form-row input:user-invalid { border-color: #D14343; }
.form-row .hint { font-size: .75rem; color: var(--muted); margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--text); }
.check input { width: 16px; height: 16px; margin-top: 3px; }
.form-status { margin-top: 16px; font-size: .875rem; padding: 12px 14px; border-radius: var(--r-md); display: none; }
.form-status.is-visible { display: block; background: #EAF1FF; color: var(--navy); border: 1px solid #C9DAFF; }
.form-card .btn { width: 100%; margin-top: 8px; height: 48px; }
.auth-wrap { display: grid; place-items: center; }
.auth-wrap .form-card { width: 100%; }
.auth-wrap .cta__mark { margin-bottom: 20px; }
.alt-link { text-align: center; font-size: .875rem; color: var(--muted); margin-top: 20px; }

/* Brand library page */
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.asset { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.asset__view { height: 180px; display: grid; place-items: center; padding: 24px; background: #fff; border-bottom: 1px solid var(--border); }
.asset__view--dark { background: var(--navy); }
.asset__view--check { background: repeating-conic-gradient(#EEF2F7 0 25%, #fff 0 50%) 0 0/16px 16px; }
.asset__view img { max-height: 120px; width: auto; max-width: 100%; }
.asset__meta { padding: 12px 14px; font-size: .8125rem; }
.asset__meta b { display: block; color: var(--navy); }
.asset__meta a { font-family: var(--mono); font-size: .72rem; word-break: break-all; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.swatch { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; font-size: .8125rem; }
.swatch i { display: block; height: 72px; }
.swatch div { padding: 8px 10px; } .swatch code { font-family: var(--mono); color: var(--muted); font-size: .75rem; }

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

/* Responsive */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__copy { max-width: 680px; }
  .hero__visual .app { transform: none; }
  .float-card--rec { right: 12px; }
  .preview__layout { grid-template-columns: 1fr; }
  .ai__grid, .security__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 860px) {
  .section { padding: 80px 0; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--border-2) 0 6px, transparent 6px 12px); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; text-align: left; padding: 0 0 36px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { margin: 0; }
  .step p { margin: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .app__body, .preview .app__body { grid-template-columns: 1fr; }
  .app__side { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 80px; }
  .hero__ctas .btn { flex: 1 1 100%; height: 48px; }
  .app__url { display: none; }
  .app__chrome { justify-content: space-between; }
  .app__toolbar { flex-wrap: wrap; }
  .app__toolbar .field--grow { flex: 1 1 100%; }
  .app__toolbar .field:not(.field--grow) { flex: 1; }
  .hide-sm { display: none; }
  .float-card--rec { position: relative; right: auto; bottom: auto; width: auto; margin: -24px 12px 0; }
  .ai__points, .sec-list, .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 56px 24px; border-radius: 16px; }
  .cta__btns .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card { padding: 24px; }
}

/* Hero mock: no sidebar, so all columns fit */
.hero__visual .app__side { display: none; }
.hero__visual .app__body { grid-template-columns: 1fr; min-height: 0; }
.float-card--rec { width: 280px; }
.float-card .kv dd { white-space: nowrap; }
@media (min-width: 1101px) { .hero__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); } }
.hero__visual .tbl td, .hero__visual .tbl th { padding-left: 9px; padding-right: 9px; }
@media (max-width: 1100px) { .preview__layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .mini-results div { grid-template-columns: 1fr; gap: 2px; } }
