/* The public Scrybe pages. Halo's light palette, Geist type and hairlines, with one indigo accent. No framework. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/GeistMono-Regular.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/GeistMono-Medium.woff2") format("woff2"); }

:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #0b0d12;
  --muted: #5f6576;
  --line: #e7e8ee;
  --soft: #f1f2f7;
  --flair: #5145f5;
  --flair-ink: #3f35d8;
  --on-flair: #ffffff;
  --radius: 14px;
  --f-sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flair-ink); }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--flair); outline-offset: 3px; border-radius: 5px; }

.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 9px 14px; border-radius: 8px; background: var(--ink); color: var(--surface); font-size: 13px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.mono { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.kicker { margin: 0 0 14px; color: var(--flair-ink); font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; letter-spacing: -.02em; text-decoration: none; font-size: 18px; }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--flair); position: relative; box-shadow: 0 6px 18px -7px var(--flair); }
.brand-mark::after { content: ""; position: absolute; inset: 6px 5px; border: 2px solid #fff; border-radius: 2px 7px 2px 7px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .signin { color: var(--ink); }
.nav a.button, .nav a.button:hover { color: var(--on-flair); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--flair); border-radius: 9px; background: var(--flair); color: var(--on-flair); font-weight: 600; font-size: 14px; line-height: 1.2; text-decoration: none; box-shadow: 0 8px 20px -10px var(--flair); transition: translate .15s ease, box-shadow .15s ease; }
.button:hover { color: var(--on-flair); translate: 0 -1px; box-shadow: 0 12px 26px -12px var(--flair); }
.button.secondary { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: none; }
.button.secondary:hover { color: var(--ink); border-color: #cfd2dc; }
.button.small { padding: 8px 13px; font-size: 13px; }
.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { position: relative; overflow: clip; padding: 84px 0 70px; }
.hero::before { content: ""; position: absolute; inset: -30% 20% auto 20%; height: 620px; background: radial-gradient(50% 55% at 50% 0%, color-mix(in oklab, var(--flair) 13%, transparent), transparent 78%); pointer-events: none; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: 58px; align-items: center; }
.hero h1 { margin: 0; max-width: 12ch; font-size: clamp(44px, 6.2vw, 76px); line-height: .98; letter-spacing: -.055em; font-weight: 650; }
.hero h1 em { font-style: normal; color: var(--flair-ink); }
.hero-lead { max-width: 34ch; margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 12.5px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; margin-right: 14px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--flair); }
.hero-visual { display: grid; justify-items: center; gap: 15px; }
.phone-glow { position: relative; width: min(100%, 390px); }
.phone-glow::before { content: ""; position: absolute; inset: 8% -12% -4%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in oklab, var(--flair) 22%, transparent), transparent 72%); filter: blur(16px); z-index: -1; }
.phone { position: relative; border: 9px solid #12141b; border-radius: 42px; background: #12141b; padding: 3px; box-shadow: 0 36px 70px -34px rgb(15 20 40 / .55), 0 0 0 1px rgb(255 255 255 / .1) inset; }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; translate: -50%; width: 78px; height: 18px; border-radius: 0 0 12px 12px; background: #12141b; z-index: 2; }
.phone iframe { display: block; width: 100%; height: 690px; border: 0; border-radius: 31px; background: var(--bg); }
.swatches { display: grid; gap: 8px; justify-items: center; }
.swatch-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.swatch { width: 24px; height: 24px; padding: 0; border: 2px solid var(--surface); border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: scale .12s ease, box-shadow .12s ease; }
.swatch:hover { scale: 1.12; }
.swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ink); scale: 1.08; }
.swatch-name { color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }

/* Sections */
.section { padding: 76px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 34px; }
.section h2 { margin: 0; max-width: 22ch; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -.04em; font-weight: 650; }
.section-intro { max-width: 40ch; margin: 0; color: var(--muted); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.step { padding: 26px; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; }
.step-num { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 18px; border-radius: 50%; background: var(--soft); color: var(--flair-ink); font-family: var(--f-mono); font-size: 12px; font-weight: 500; }
.step h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature { min-height: 172px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature.wide { grid-column: span 2; }
.feature svg { width: 22px; height: 22px; margin-bottom: 15px; color: var(--flair-ink); }
.feature h3 { margin: 0 0 5px; font-size: 15px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.feature.wide p { max-width: 40ch; }

.example-strip { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(110deg, var(--surface), color-mix(in oklab, var(--flair) 5%, var(--surface))); }
.example-strip h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 5px; }
.example-strip p { margin: 0; color: var(--muted); font-size: 14px; }

.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.price-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.price-card.featured { border-color: color-mix(in oklab, var(--flair) 38%, var(--line)); box-shadow: 0 20px 50px -34px var(--flair); }
.price { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; }
.price strong { font-size: 48px; line-height: 1; letter-spacing: -.05em; font-weight: 650; }
.price span { color: var(--muted); font-size: 14px; }
.price-list { display: grid; gap: 9px; margin: 22px 0 24px; padding: 0; list-style: none; }
.price-list li { display: flex; gap: 9px; align-items: start; color: var(--muted); font-size: 13.5px; }
.price-list li::before { content: "✓"; color: var(--flair-ink); font-weight: 700; }
.price-free { display: grid; align-content: center; color: var(--muted); font-size: 14px; }
.price-free a { color: var(--ink); font-weight: 600; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; list-style: none; font-weight: 550; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-family: var(--f-mono); font-size: 18px; font-weight: 400; transition: rotate .15s ease; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 68ch; margin: -2px 0 20px; color: var(--muted); font-size: 14px; }

.cta { padding: 70px 0; border-top: 1px solid var(--line); text-align: center; background: radial-gradient(44% 100% at 50% 0%, color-mix(in oklab, var(--flair) 9%, transparent), transparent 80%); }
.cta h2 { max-width: 18ch; margin: 0 auto 16px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.02; letter-spacing: -.05em; }
.cta p { margin: 0 auto 24px; max-width: 42ch; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px; align-items: start; }
.footer-brand { max-width: 32ch; }
.footer-brand p { margin: 9px 0 0; color: var(--muted); font-size: 12.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .05em; }

/* Legal and report pages */
.doc { max-width: 720px; margin: 0 auto; padding: 70px 0 90px; }
.doc h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.045em; }
.doc .updated { margin-bottom: 34px; color: var(--muted); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.doc h2 { margin: 34px 0 10px; font-size: 20px; letter-spacing: -.02em; }
.doc h3 { margin: 24px 0 8px; font-size: 16px; }
.doc p, .doc li { color: #3f4453; font-size: 14.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .callout { margin: 26px 0; padding: 18px 20px; border: 1px solid var(--line); border-left: 3px solid var(--flair); border-radius: 0 10px 10px 0; background: var(--surface); }
.doc .callout p { margin: 0; }

.form { max-width: 560px; margin-top: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.field .hint { color: var(--muted); font-size: 12px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: 10px 12px; border: 1px solid #d8dae3; border-radius: 9px; background: var(--surface); color: var(--ink); font-size: 14px; }
.field textarea { min-height: 110px; resize: vertical; }
.form .button { width: fit-content; border: 0; cursor: pointer; }
.form .button:disabled { opacity: .6; cursor: progress; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 9px; background: var(--soft); color: var(--ink); font-size: 13.5px; }
.form-status.error { background: #fff1f0; color: #9f1a12; }
.turnstile-slot { min-height: 65px; }

@media (prefers-reduced-motion: reduce) {
  .button, .swatch { transition: none; }
  .button:hover, .swatch:hover { translate: none; scale: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero h1 { max-width: 14ch; }
  .hero-visual { order: 2; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature.wide { grid-column: span 2; }
  .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .nav { gap: 14px; }
  .nav a:not(.signin):not(.button) { display: none; }
  .hero { padding: 42px 0 50px; }
  .hero h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-lead { font-size: 16px; margin: 18px 0 24px; }
  .phone iframe { height: 580px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature.wide { grid-column: auto; min-height: 0; }
  .section { padding: 54px 0; }
  .example-strip { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 32px; }
  .footer-in { display: grid; }
}
