/* The public site in design G: the home page, the free-preview form, and the
   privacy and terms pages. Fonts come from tokens.css (linked first on every
   page). The admin and portal have their own sheets; nothing here reaches them. */

:root {
  --s-ink: #0E0F0C;          /* page */
  --s-panel: #16180F;        /* raised sections and cards */
  --s-bubble: #22251D;       /* the chat's own bubbles on dark */
  --s-line: #2E3128;
  --s-chalk: #F2F2EA;        /* text on dark, light cards */
  --s-muted: #A3A69B;        /* secondary text on dark: 7:1 on the page */
  --s-muted-dark: #55584F;   /* secondary text on light: 6:1 on chalk */
  --s-field: #6F7268;        /* field borders on light */
  --s-lime: #C6F432;         /* the one accent */
  --s-err: #FFB4A8;          /* error text on dark */
  --s-err-dark: #B42318;     /* error text on light */
  --s-display: Unbounded, 'Arial Black', sans-serif;
  --s-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --s-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--s-ink); color: var(--s-chalk); font-family: var(--s-body); font-size: 16px; line-height: 1.5; }
img, svg { display: block; }
a { color: var(--s-chalk); text-decoration: none; }
a:hover { color: var(--s-lime); }
input, select, textarea, button { font: inherit; }
h1, h2, h3, p { margin: 0; }

/* Keyboard focus is always visible: lime on dark, ink on light. */
:focus-visible { outline: 3px solid var(--s-lime); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible, .s-card-light :focus-visible, .s-cta :focus-visible { outline-color: var(--s-ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.s-skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 12px 18px; border-radius: 22px; background: var(--s-lime); color: var(--s-ink); font-weight: 700; }
.s-skip:focus { top: 12px; }
.s-skip:hover, .s-skip:focus { color: var(--s-ink); }

.s-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.s-wrap.narrow { max-width: 1200px; }

/* ── header ──────────────────────────────────────────────────────────── */

.s-header { position: relative; z-index: 5; }
.s-header .s-wrap { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.s-brand:hover { color: var(--s-chalk); }
.s-tile { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: var(--s-lime); color: var(--s-ink); display: flex; align-items: center; justify-content: center; }
.s-brand b { font-family: var(--s-display); font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }
.s-nav { display: flex; flex-wrap: wrap; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
.s-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.s-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--s-line); border-radius: 22px; background: transparent; color: var(--s-chalk); align-items: center; justify-content: center; cursor: pointer; }
.s-menu { display: none; }

/* ── buttons ─────────────────────────────────────────────────────────── */

.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; text-align: center; }
.s-btn.lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.s-btn.lime { background: var(--s-lime); color: var(--s-ink); }
.s-btn.lime:hover { background: #D4FA5C; color: var(--s-ink); }
.s-btn.outline { border: 1.5px solid var(--s-chalk); color: var(--s-chalk); background: transparent; }
.s-btn.outline:hover { border-color: var(--s-lime); color: var(--s-lime); }
.s-btn.ink { background: var(--s-ink); color: var(--s-lime); }
.s-btn.ink:hover { background: #2E3128; color: var(--s-lime); }
.s-btn.ink-outline { border: 2px solid var(--s-ink); color: var(--s-ink); background: transparent; }
.s-btn.ink-outline:hover { background: rgba(14, 15, 12, 0.08); color: var(--s-ink); }
.s-btn[disabled] { opacity: 0.6; cursor: progress; }

.s-price { font-family: var(--s-mono); font-size: 15px; color: var(--s-muted); }
.s-price strong { font-family: var(--s-display); font-size: 30px; font-weight: 800; color: var(--s-chalk); }

/* ── hero ────────────────────────────────────────────────────────────── */

.s-hero { position: relative; overflow: hidden; min-height: min(900px, 100vh); display: flex; flex-direction: column; }
.s-hero-main { flex-grow: 1; padding-top: 40px; padding-bottom: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }
.s-hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 30px; position: relative; z-index: 1; }
.s-hero h1 { font-family: var(--s-display); font-size: clamp(46px, 6.6vw, 104px); line-height: 0.98; font-weight: 800; letter-spacing: -0.02em; }
.s-lime { color: var(--s-lime); }
.s-lede { font-size: 19px; line-height: 1.6; color: var(--s-muted); max-width: 560px; }
.s-lede.phone { display: none; }
.s-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.s-actions .s-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.s-mark { flex: 0 1 440px; min-width: 0; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.s-mark-box { position: relative; width: 100%; max-width: 500px; min-width: 280px; aspect-ratio: 1 / 1; touch-action: pan-y; }
.s-mark-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-mark figcaption { font-family: var(--s-mono); font-size: 13px; line-height: 1.5; color: var(--s-muted); text-align: center; max-width: 380px; }
.s-points { padding-bottom: 36px; }
.s-points ol { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--s-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px 24px; font-size: 15px; line-height: 1.45; }
.s-points li { display: flex; gap: 12px; }
.s-num { font-family: var(--s-mono); color: var(--s-lime); flex-shrink: 0; }

/* ── sections ────────────────────────────────────────────────────────── */

.s-section { padding: 96px 0; border-top: 1px solid var(--s-line); }
.s-section.raised { background: var(--s-panel); }
.s-section .s-wrap { max-width: 1200px; }
.s-eyebrow { font-family: var(--s-mono); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--s-lime); }
.s-h2 { font-family: var(--s-display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; }
.s-h2.sm { font-size: clamp(28px, 3vw, 42px); line-height: 1.06; }
.s-text { font-size: 18px; line-height: 1.6; color: var(--s-muted); }
.s-text.sm { font-size: 16px; }
.s-text.md { font-size: 17px; }
.s-stack { display: flex; flex-direction: column; gap: 18px; }
.s-split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.s-split > .s-stack { flex: 1 1 420px; min-width: 0; }

.s-steps-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.s-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.s-step { background: var(--s-panel); border: 1px solid var(--s-line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.s-step-n { font-family: var(--s-display); font-size: 44px; font-weight: 800; color: var(--s-lime); line-height: 1; }
.s-step h3 { font-size: 22px; font-weight: 700; }
.s-step p { font-size: 16px; line-height: 1.6; color: var(--s-muted); }

/* The sample lead email. */
.s-email { flex: 0 1 480px; min-width: 0; background: #FFFFFF; color: var(--s-ink); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.s-email-head { padding: 18px 22px; border-bottom: 1px solid #E4E5DF; display: flex; flex-direction: column; gap: 3px; }
.s-email-head b { font-size: 16px; }
.s-email-head span { font-size: 13px; color: var(--s-muted-dark); }
.s-email dl { margin: 0; padding: 16px 22px 20px; display: grid; grid-template-columns: 116px minmax(0, 1fr); row-gap: 10px; column-gap: 12px; font-size: 15px; line-height: 1.4; }
.s-email dt { color: var(--s-muted-dark); }
.s-email dd { margin: 0; overflow-wrap: anywhere; }
.s-email dd.b { font-weight: 700; }
.s-email dd.mono { font-family: var(--s-mono); font-size: 13px; }
.s-email-foot { padding: 0 22px 22px; }
.s-email-foot span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 21px; background: var(--s-ink); color: var(--s-lime); font-size: 15px; font-weight: 700; }

/* Guardrails. */
.s-guard { display: flex; flex-wrap: wrap; gap: 56px; }
.s-guard > .s-stack { flex: 1 1 460px; min-width: 0; gap: 22px; }
.s-nos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 18px; line-height: 1.45; }
.s-nos li { display: flex; gap: 14px; align-items: flex-start; }
.s-no { flex-shrink: 0; font-family: var(--s-mono); font-weight: 600; color: var(--s-lime); }

/* Chat examples drawn as pictures (role="img" with the conversation in the label). */
.s-convo { flex: 0 1 440px; min-width: 0; align-self: center; background: var(--s-panel); border: 1px solid var(--s-line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; }
.s-convo.dark { flex: none; align-self: stretch; background: var(--s-ink); border-radius: 18px; padding: 20px; gap: 10px; }
.s-convo-label { font-family: var(--s-mono); font-size: 12.5px; color: var(--s-muted); }
.s-convo-who { font-family: var(--s-mono); font-size: 12px; color: var(--s-lime); }
.s-say-v { align-self: flex-end; max-width: 86%; background: var(--s-chalk); color: var(--s-ink); padding: 11px 14px; border-radius: 16px 16px 4px 16px; }
.s-say-a { align-self: flex-start; max-width: 86%; background: var(--s-bubble); padding: 11px 14px; border-radius: 16px 16px 16px 4px; }

.s-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 56px; }
.s-dots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.5; }
.s-dots li { display: flex; gap: 12px; }
.s-dots li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 9px; border-radius: 4px; background: var(--s-lime); }

/* Pricing card. */
.s-card-light { flex: 0 1 460px; min-width: 0; background: var(--s-chalk); color: var(--s-ink); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.s-big-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.s-big-price strong { font-family: var(--s-display); font-size: 72px; line-height: 1; font-weight: 800; letter-spacing: -0.025em; }
.s-big-price span { font-family: var(--s-mono); font-size: 15px; }
.s-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.45; }
.s-checks li { display: flex; gap: 10px; }
.s-checks svg { flex-shrink: 0; margin-top: 1px; }
.s-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Questions. */
.s-faq-wrap { max-width: 900px !important; }
.s-faq { border-top: 1px solid var(--s-line); margin-top: 32px; }
.s-faq details { border-bottom: 1px solid var(--s-line); padding: 22px 0; }
.s-faq summary { font-size: 20px; font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; flex-shrink: 0; font-family: var(--s-mono); font-size: 22px; color: var(--s-lime); }
.s-faq details[open] summary::after { content: '–'; }
.s-faq p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--s-muted); }

/* The lime call to action. */
.s-cta { padding: 88px 0; background: var(--s-lime); color: var(--s-ink); }
.s-cta .s-wrap { max-width: 1200px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.s-cta .s-stack { flex: 1 1 520px; min-width: 0; gap: 14px; }
.s-cta h2 { font-family: var(--s-display); font-size: clamp(32px, 4vw, 58px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.s-cta p { font-size: 18px; line-height: 1.6; max-width: 620px; }
.s-cta .s-btn.lg { min-height: 56px; }

/* ── footer ──────────────────────────────────────────────────────────── */

.s-footer { padding: 40px 0 48px; border-top: 1px solid var(--s-line); }
.s-cta + .s-footer { border-top: 0; }
.s-footer .s-wrap { max-width: 1200px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; font-size: 15px; color: var(--s-muted); }
.s-footer .s-brand b { font-size: 17px; }
.s-footer .s-tile { width: 26px; height: 26px; border-radius: 7px; }
.s-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.s-footer nav a { color: var(--s-muted); display: inline-flex; align-items: center; min-height: 44px; }
.s-footer nav a:hover { color: var(--s-lime); }
.s-footer .s-copy { margin-left: auto; }

/* ── free-preview form ───────────────────────────────────────────────── */

.s-form-page { flex-grow: 1; padding-top: 40px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.s-form-intro { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.s-form-intro h1 { font-family: var(--s-display); font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.s-form-steps { list-style: none; margin: 8px 0 0; padding: 28px 0 0; border-top: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 22px; }
.s-form-steps li { display: flex; gap: 18px; align-items: flex-start; }
.s-form-steps .n { flex-shrink: 0; width: 44px; font-family: var(--s-display); font-size: 24px; font-weight: 800; color: var(--s-lime); line-height: 1.1; }
.s-form-steps div { display: flex; flex-direction: column; gap: 4px; }
.s-form-steps b { font-size: 18px; }
.s-form-steps span { font-size: 16px; line-height: 1.55; color: var(--s-muted); }
.s-price.after strong { font-size: 28px; }

.s-form-card { flex: 0 1 520px; min-width: 0; background: var(--s-chalk); color: var(--s-ink); border-radius: 24px; padding: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.s-form-card a { color: var(--s-ink); text-decoration: underline; }
.s-form-card a.s-btn { text-decoration: none; }
.s-form { display: flex; flex-direction: column; gap: 18px; }
/* display:flex would otherwise beat the hidden attribute. */
.s-form[hidden] { display: none; }
.s-form h2, .s-done h2 { font-family: var(--s-display); font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.5px; }
.s-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.s-field label { font-size: 15px; font-weight: 600; }
.s-field label span { font-weight: 400; color: var(--s-muted-dark); }
.s-pairs { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.s-pairs > .s-field { flex: 1 1 190px; }
.s-field input, .s-field select, .s-field textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid var(--s-field); border-radius: 12px; background: #FFFFFF; color: var(--s-ink); font-size: 16px; }
.s-field select { padding: 0 12px; }
.s-field textarea { padding: 12px 14px; line-height: 1.45; resize: vertical; min-height: 92px; }
.s-field input:focus-visible, .s-field select:focus-visible, .s-field textarea:focus-visible { outline: 3px solid var(--s-ink); outline-offset: 1px; border-color: var(--s-ink); }
.s-field [aria-invalid="true"] { border-color: var(--s-err-dark); border-width: 2px; }
.s-err { font-size: 14px; font-weight: 600; color: var(--s-err-dark); }
.s-err:empty { display: none; }
.s-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; }
.s-consent input { width: 22px; height: 22px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--s-ink); }
.s-consent input[aria-invalid="true"] { outline: 2px solid var(--s-err-dark); outline-offset: 2px; }
.s-form .s-btn.ink { min-height: 56px; font-size: 17px; width: 100%; }
.s-fine { font-size: 13px; line-height: 1.5; color: var(--s-muted-dark); }
.s-alert { border-radius: 12px; padding: 12px 14px; background: #FDF3F1; border: 1px solid #F2A39A; color: var(--s-err-dark); font-size: 15px; font-weight: 600; }
.s-alert:empty { display: none; }
/* The honeypot: out of sight and out of the tab order, for scripts that fill every field. */
.s-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.s-done { display: flex; flex-direction: column; gap: 18px; min-height: 560px; }
.s-done[hidden] { display: none; }
.s-done-tile { width: 56px; height: 56px; border-radius: 16px; background: var(--s-ink); color: var(--s-lime); display: flex; align-items: center; justify-content: center; }
.s-done h2 { font-size: 30px; line-height: 1.08; letter-spacing: -0.6px; }
.s-done h2:focus { outline: none; }
.s-done p { font-size: 17px; line-height: 1.6; }
.s-done p.quiet { color: var(--s-muted-dark); }
.s-done .s-row { margin-top: auto; }
.s-done .s-btn { min-height: 52px; padding: 0 24px; font-size: 16px; }

/* ── plain pages (privacy, terms) ────────────────────────────────────── */

.s-page { flex-grow: 1; padding-top: 40px; padding-bottom: 96px; }
.s-page .s-wrap { max-width: 820px; display: flex; flex-direction: column; gap: 22px; }
.s-page h1 { font-family: var(--s-display); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
.s-page p { font-size: 18px; line-height: 1.65; color: var(--s-muted); }
.s-placeholder { border: 2px dashed var(--s-line); border-radius: 16px; padding: 22px; color: var(--s-chalk) !important; font-family: var(--s-mono); font-size: 16px !important; }
.s-body-flex { min-height: 100vh; display: flex; flex-direction: column; }

/* ── phone ───────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  .s-wrap { padding: 0 20px; }
  .s-header .s-wrap { padding-top: 16px; padding-bottom: 16px; gap: 10px; }
  .s-brand b { font-size: 19px; }
  .s-tile { width: 28px; height: 28px; }
  .s-nav, .s-header .s-head-cta { display: none; }
  .s-menu-btn { display: flex; }
  .s-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--s-ink); border-bottom: 1px solid var(--s-line); padding: 8px 20px 20px; flex-direction: column; gap: 4px; }
  .s-menu.open { display: flex; }
  .s-menu a:not(.s-btn) { display: flex; align-items: center; min-height: 48px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--s-line); }
  .s-menu .s-btn { margin-top: 12px; min-height: 52px; font-size: 16px; }

  .s-hero { min-height: 0; }
  .s-hero-main { padding-top: 10px; padding-bottom: 28px; gap: 16px; flex-direction: column; align-items: stretch; }
  .s-hero-copy { display: contents; }
  .s-hero h1 { order: 1; font-size: 35px; line-height: 1.02; letter-spacing: -0.025em; }
  .s-mark { order: 2; flex: none; align-self: center; }
  .s-mark-box { width: 220px; height: 220px; min-width: 0; }
  .s-mark figcaption { display: none; }
  .s-hero .s-lede { order: 3; }
  .s-hero .s-lede.full { display: none; }
  .s-hero .s-lede.phone { display: block; font-size: 16px; line-height: 1.55; }
  .s-hero .s-actions { order: 4; flex-direction: column; align-items: stretch; gap: 10px; }
  .s-hero .s-actions .s-btns { flex-direction: column; gap: 10px; }
  .s-hero .s-actions .s-btn.lg { min-height: 52px; font-size: 16px; width: 100%; }
  .s-hero .s-actions .s-price { text-align: center; font-size: 14px; }
  .s-hero .s-actions .s-price strong { font-size: 24px; }
  .s-form-intro .s-lede { font-size: 17px; }

  .s-section { padding: 64px 0; }
  .s-steps-head { margin-bottom: 32px; }
  .s-step { padding: 24px; }
  .s-split, .s-guard, .s-pair { gap: 36px; }
  .s-split > .s-stack, .s-guard > .s-stack { flex-basis: 100%; }
  .s-pair { grid-template-columns: minmax(0, 1fr); }
  .s-email dl { grid-template-columns: 96px minmax(0, 1fr); padding: 14px 18px 18px; }
  .s-card-light { padding: 26px; }
  .s-big-price strong { font-size: 56px; }
  .s-row .s-btn { flex: 1 1 100%; }
  .s-cta { padding: 64px 0; }
  .s-footer .s-copy { margin-left: 0; width: 100%; }

  .s-form-page { padding-top: 16px; padding-bottom: 64px; gap: 36px; }
  .s-form-card { padding: 24px 20px; border-radius: 20px; }
  .s-done { min-height: 0; }
  .s-page { padding-top: 16px; padding-bottom: 64px; }
}
