/* dictavo.ai — landing, stage 1 (waitlist). Reproduces docs/design/Landing.dc.html (approved mockup).
   All CSS lives here (the CSP allows no inline styles). */

/* The trademark next to «Dictavo»: ™ until the registration is granted, then change THIS constant to "®". */
:root { --brand-mark: "™"; }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
/* Quicksand 700: only for the word «dictavo» */
@font-face { font-family: "Quicksand"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/quicksand-700-latin.woff2") format("woff2"); }

:root {
  --bg: #1C1C1E; --bg-alt: #232325; --surface: #2C2C2E; --border: #3A3A3C; --border-2: #48484A; --fill: #48484A;
  --text: #F5F5F7; --text-2: #A1A1A6; --link: #6FB2FF; --link-hover: #9CCBFF; --accent: #0066CC; --muted-box: #636366;
  --ok-bg: #0E2F17; --ok: #5EDC7B; --ok-dot: #30D158; --err: #FF6B6B;
  --grad: linear-gradient(135deg, #0A84FF 0%, #225BFF 55%, #6C24FF 100%);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }  /* the waitlist form is a grid: hiding it must still win */
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
button, input, select, textarea { font-family: inherit; }
input::placeholder, textarea::placeholder { color: #8E8E93; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; padding: 8px 12px; border-radius: 10px; background: var(--accent);
  color: #FFFFFF; z-index: 10; }
.skip:focus { top: 12px; }

.page { min-height: 100%; display: flex; flex-direction: column; }
.wrap { max-width: 1180px; width: 100%; margin: 0 auto; }
.band { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
section { scroll-margin-top: 16px; }

/* ---------- header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
  padding: 20px 24px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.brand img { height: 64px; width: auto; display: block; }
.mk::after { content: var(--brand-mark); }
.brand .mk { font-size: 20px; font-weight: 600; align-self: flex-start; margin-top: 8px; margin-left: -6px; }
.site-nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.site-nav a { text-decoration: none; color: var(--text-2); }
.site-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.lang button { padding: 5px 10px; border-radius: 999px; border: none; background: transparent; color: var(--text-2);
  font-size: 12px; font-weight: 600; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--fill); color: #FFFFFF; }
.pill-cta { padding: 10px 16px; border-radius: 999px; background: var(--accent); color: #FFFFFF; font-size: 13px;
  font-weight: 600; text-decoration: none; white-space: nowrap; }
.pill-cta:hover { color: #FFFFFF; background: #0A74E0; }

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 56px; padding: 56px 24px 72px; }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.badge { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px;
  border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-dot); display: inline-block; flex: none; }
.dot.grad { background: linear-gradient(135deg, #0A84FF, #6C24FF); }
h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em;
  text-wrap: balance; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--text-2); max-width: 54ch; }
.quick { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.field { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--surface);
  color: var(--text); font-size: 15px; min-width: 0; width: 100%; }
select.field { padding: 14px 12px; }
.quick .field[type="email"] { flex: 1 1 220px; width: auto; }
.quick select.field { flex: 0 1 130px; width: auto; }
.btn { padding: 14px 20px; border-radius: 14px; border: none; background: var(--accent); color: #FFFFFF; font-size: 15px;
  font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #0A74E0; }
.btn:disabled { opacity: 0.6; cursor: default; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--text-2); }

/* the panel mock */
.mock { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.mock-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); overflow: hidden; display: flex; flex-direction: column; }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-top .who { font-size: 13px; font-weight: 600; }
.mock-top .when { font-size: 11px; color: var(--text-2); }
.listening { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok); font-size: 11px; font-weight: 600; }
.mock-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.line { display: flex; gap: 10px; align-items: flex-start; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--border); color: var(--text); font-size: 10px;
  font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.avatar.me { background: var(--accent); color: #FFFFFF; }
.line .name { font-size: 11px; font-weight: 600; color: var(--text-2); }
.line .name.me { color: var(--link); }
.line .said { font-size: 13px; line-height: 1.45; }
.caret { display: inline-block; width: 2px; height: 14px; background: var(--link); vertical-align: -2px; margin-left: 3px; }
.say { background: var(--bg); border: 1px solid var(--border-2); border-radius: 14px; padding: 12px 14px; display: flex;
  flex-direction: column; gap: 6px; }
.say-head { display: flex; align-items: center; gap: 8px; }
.say-head .dot { width: 8px; height: 8px; }
.say-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.tag { padding: 2px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--link);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.say-line { font-size: 15px; line-height: 1.4; font-weight: 600; }
.say-why { font-size: 12px; line-height: 1.45; color: var(--text-2); }
.say-actions { display: flex; align-items: center; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.chip { padding: 6px 11px; border-radius: 999px; background: var(--border); color: var(--text); font-size: 12px; font-weight: 600; }
.chip.primary { background: var(--accent); color: #FFFFFF; }
.coverage { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11px; color: var(--text-2); }

/* ---------- sections ---------- */
.section { padding: 64px 24px; }
.section-inner { display: flex; flex-direction: column; gap: 28px; }
.section-inner.wide-gap { gap: 32px; }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 60ch; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
h2 { margin: 0; font-size: 34px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.section-head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); }
.row { display: flex; flex-wrap: wrap; gap: 16px; }
.row.tight { gap: 14px; }
.card { flex: 1 1 280px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 700; }
.card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.icon-box { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; }
.kind { flex: 1 1 240px; border-radius: 16px; padding: 18px; gap: 10px; }
.kind .tag { align-self: flex-start; padding: 3px 8px; background: var(--bg); font-size: 11px; letter-spacing: 0.06em; }
.kind .when { font-size: 12px; color: var(--text-2); }
.kind .quote { font-size: 15px; line-height: 1.4; font-weight: 600; }
.mode { flex: 1 1 360px; padding: 26px; gap: 14px; }
.mode-head { display: flex; align-items: center; gap: 12px; }
.mode h3 { font-size: 20px; }
.mode p { font-size: 15px; }
.mode ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--text); }
.mode .icon-box { width: 30px; height: 30px; border-radius: 10px; }
.after { flex: 1 1 300px; padding: 22px; gap: 12px; }
.mini-title { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.checks { display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }
.check { display: flex; gap: 10px; }
.box { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--muted-box); flex: none; margin-top: 2px; }
.dim { color: var(--text-2); }
.after .text { font-size: 14px; line-height: 1.55; color: var(--text); }
.bar-row { display: flex; align-items: center; gap: 10px; }
.bar-row span { font-size: 12px; font-weight: 600; color: var(--text-2); }
.bar { flex: 1; height: 5px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.bar i { display: block; width: 70%; height: 100%; background: linear-gradient(90deg, #0A84FF, #6C24FF); border-radius: 999px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 6px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: 12px; font-weight: 600; }

/* trust */
.trust { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.trust .section-head { flex: 1 1 320px; min-width: 0; }
.trust-grid { flex: 1 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trust-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; display: flex;
  flex-direction: column; gap: 6px; }
.trust-item strong { font-size: 14px; font-weight: 700; }
.trust-item span { font-size: 13px; line-height: 1.5; color: var(--text-2); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; }
.faq summary { cursor: pointer; font-size: 15px; font-weight: 600; list-style-position: outside; }
.faq p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2); }

/* waitlist */
.join { padding: 72px 24px 64px; max-width: 760px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 18px;
  align-items: center; text-align: center; }
.join-logo { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 6px; max-width: 100%; }
.join-logo img { height: 120px; max-width: 100%; width: auto; display: block; }
.join-logo .mk { font-size: 30px; font-weight: 600; margin-top: 14px; margin-left: -8px; }
.join h2 { font-size: 36px; line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.join > p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 48ch; }
.waitlist { width: 100%; max-width: 620px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  text-align: left; }
.waitlist label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.waitlist .full { grid-column: 1 / -1; }
.waitlist .btn { grid-column: 1 / -1; justify-self: center; }
.waitlist .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--text-2); text-align: center; }
.form-error { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--err); text-align: center; min-height: 0; }
.form-error:empty { display: none; }
.done { width: 100%; max-width: 560px; background: var(--ok-bg); border: 1px solid #1F5C2E; border-radius: 18px; padding: 22px;
  color: var(--text); font-size: 16px; line-height: 1.55; }
.done strong { color: var(--ok); }
.join .small { font-size: 12px; color: var(--text-2); }

/* footer */
.site-footer { padding: 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  font-size: 13px; color: var(--text-2); }
.word { font-family: Quicksand, Inter, sans-serif; font-weight: 700; color: var(--text); font-size: 16px; }
.footer-inner .word + .mk { color: var(--text); font-size: 11px; font-weight: 600; vertical-align: super; }
.footer-inner b { color: var(--text); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 24px 24px 64px; line-height: 1.6; }
.legal h1 { font-size: 34px; margin: 16px 0; }
.legal h2 { font-size: 22px; margin: 28px 0 8px; }
.legal p, .legal li { color: #D1D1D6; font-size: 15px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal blockquote { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--link); background: var(--surface);
  border-radius: 8px; color: var(--text); }
.draft { margin: 0 0 8px; padding: 14px 16px; border-radius: 14px; background: #3A2A0E; border: 1px solid #7A5A1C;
  color: #FFD27A; font-size: 14px; font-weight: 600; }
.legal-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; max-width: 1180px;
  margin: 0 auto; }
.legal-top img { height: 40px; width: auto; display: block; }

@media (max-width: 640px) {
  .brand img { height: 44px; }
  .brand .mk { font-size: 15px; margin-top: 4px; }
  .site-nav { order: 3; width: 100%; }
  .hero { padding-top: 32px; }
  h2 { font-size: 28px; }
  .join h2 { font-size: 30px; }
  .join-logo .mk { font-size: 20px; margin-top: 6px; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .waitlist { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.field[aria-invalid="true"] { border-color: var(--err); }
