/* Scotto — marketing site.
   Concept: the site is subtitled. Meaning arrives as captions, cued by monospace timecodes.
   One signal colour (amber = the live voice). Display = Space Grotesk, body = Inter, cues = mono. */
:root {
  --ink: #0d0f12;
  --ink-warm: #101216;
  --card: #151b23;
  --card-2: #1a222c;
  --text: #F6F7F9;
  --slate: #9AA3B2;
  --slate-dim: #6b7482;
  --amber: #FFA23A;
  --amber-bright: #FFC75B;
  --amber-deep: #F07E1C;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.055);
  --maxw: 1160px;
  --radius: 20px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --display: "Space Grotesk", -apple-system, system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--ink); }
html { -webkit-text-size-adjust: 100%; }
body { color: var(--text); font-family: var(--body); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--slate); }
.amber { color: var(--amber); }

/* film grain + warm vignette so the dark isn't flat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(90% 60% at 50% -10%, rgba(255,162,58,0.10), rgba(255,162,58,0) 55%);
}
main, nav, footer { position: relative; z-index: 2; }

/* cue label — monospace timecode + text, the subtitle motif */
.cue { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--amber); display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; }
.cue .tc { color: var(--slate-dim); }
.cue.center { justify-content: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s } .d2 { transition-delay: .12s } .d3 { transition-delay: .18s } .d4 { transition-delay: .24s }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---- pill nav ---- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  display: flex; align-items: center; gap: 6px; padding: 7px 7px 7px 16px; border-radius: 999px;
  background: rgba(20, 24, 30, 0.62); border: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5); max-width: calc(100vw - 28px);
}
.nav .brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; padding-right: 6px; }
.nav .brand img { width: 26px; height: 26px; border-radius: 7px; }
.nav .links { display: flex; align-items: center; gap: 2px; }
.nav .links a { color: var(--slate); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav .links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .12s, filter .15s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep)); color: #16100a; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---- hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 70px; }
#wave { position: absolute; inset: 0; z-index: 0; display: block; opacity: 0.9; }
.hero .wrap { position: relative; z-index: 3; width: 100%; display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; }
h1 { font-family: var(--display); font-size: clamp(44px, 7.6vw, 88px); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; margin-top: 22px; }
h1 em { font-style: normal; color: var(--amber); }
.hero .lead { margin: 22px auto 0; font-size: clamp(17px, 2.1vw, 20px); color: #c2cad6; max-width: 600px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-note { margin-top: 15px; font-size: 13px; color: var(--slate); font-family: var(--mono); letter-spacing: 0.02em; }

/* subtitle player — the signature */
.player { margin: 44px auto 0; width: min(640px, 100%); background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02)); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px 24px; backdrop-filter: blur(10px); box-shadow: 0 30px 80px rgba(0,0,0,0.5); text-align: left; }
.player .top { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--slate); }
.player .reclip { display: inline-flex; align-items: center; gap: 7px; color: var(--amber); }
.player .reclip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.player .src { margin-left: auto; color: var(--slate-dim); }
.player .bars { display: flex; align-items: center; gap: 3px; height: 44px; margin: 16px 0 18px; }
.player .bars span { flex: 1; background: linear-gradient(180deg, var(--amber-bright), var(--amber-deep)); border-radius: 3px; height: 20%; opacity: 0.85; }
.player .orig { font-family: var(--mono); font-size: 13.5px; color: var(--slate); min-height: 20px; }
.player .trans { font-family: var(--display); font-size: clamp(19px, 3vw, 26px); font-weight: 500; letter-spacing: -0.02em; margin-top: 8px; min-height: 34px; line-height: 1.25; }
.player .trans .caret { color: var(--amber); font-weight: 400; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }

/* google play box */
.play-row { margin-top: 26px; display: flex; gap: 14px; align-items: center; justify-content: center; flex-wrap: wrap; }
.gplay { display: inline-flex; align-items: center; gap: 11px; background: #000; border: 1px solid var(--line); border-radius: 13px; padding: 10px 18px; }
.gplay.disabled { opacity: 0.5; }
.gplay svg { width: 22px; height: 22px; }
.gplay .g-sub { font-size: 10px; color: #cfd4dd; letter-spacing: .07em; text-transform: uppercase; line-height: 1; }
.gplay .g-main { font-family: var(--display); font-size: 17px; font-weight: 600; color: #fff; line-height: 1.2; }

/* marquee */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee span { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--slate); white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: 13px; }
@keyframes scrollx { to { transform: translateX(-50%) } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none } }

/* ---- sections ---- */
section { padding: 100px 0; position: relative; }
h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -0.028em; margin-top: 14px; font-weight: 600; line-height: 1.06; }
.section-lead { color: var(--slate); font-size: 17px; max-width: 620px; margin-top: 16px; }

/* how — transcript timeline */
.timeline { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tl { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); }
.tl .tc { font-family: var(--mono); font-size: 12.5px; color: var(--amber); letter-spacing: 0.03em; }
.tl h3 { font-family: var(--display); font-weight: 600; margin: 12px 0 7px; font-size: 19px; letter-spacing: -0.01em; }
.tl p { color: var(--slate); font-size: 15px; }

/* features */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card { background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(255,162,58,0.12); color: var(--amber); }
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--slate); font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.plan { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan.feature { border-color: rgba(255,162,58,0.5); box-shadow: 0 0 0 1px rgba(255,162,58,0.22), 0 24px 60px rgba(0,0,0,0.45); }
.plan .tag { font-family: var(--mono); font-size: 11px; color: var(--amber); font-weight: 500; margin-bottom: 8px; min-height: 14px; letter-spacing: .06em; text-transform: uppercase; }
.plan .pname { font-family: var(--display); font-size: 20px; font-weight: 600; }
.plan .price { font-family: var(--display); font-size: 38px; font-weight: 600; margin: 10px 0 2px; letter-spacing: -0.03em; }
.plan .price span { font-family: var(--body); font-size: 15px; color: var(--slate); font-weight: 400; }
.plan ul { list-style: none; margin: 20px 0 0; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 14px; color: var(--slate); display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--amber); font-weight: 700; }
.trial-note { text-align: center; margin-top: 28px; color: var(--slate); font-size: 15px; }

/* languages */
.langwrap { margin-top: 44px; display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 20px; }
.langbox { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; }
.langbox .k { font-family: var(--mono); font-size: 12.5px; color: var(--slate); letter-spacing: 0.04em; text-transform: uppercase; }
.langbox .count { font-family: var(--display); font-size: 42px; font-weight: 600; color: var(--amber); letter-spacing: -0.03em; line-height: 1; margin-top: 8px; }
.langbox p { color: var(--slate); font-size: 14px; margin-top: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 13px; color: var(--text); background: var(--card-2); border: 1px solid var(--line-soft); padding: 6px 12px; border-radius: 999px; }

/* privacy block — honest, product-rooted */
.privacy .inner { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.privacy .big { background: linear-gradient(145deg, rgba(255,162,58,0.1), rgba(255,162,58,0.02)); border: 1px solid rgba(255,162,58,0.26); border-radius: var(--radius); padding: 34px; }
.privacy .big h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.privacy .big p { color: #d3d8e0; font-size: 16px; }
.privacy .list { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.privacy .list .row { display: flex; gap: 13px; align-items: flex-start; }
.privacy .list .row b { font-family: var(--display); font-weight: 600; font-size: 15px; display: block; margin-bottom: 2px; }
.privacy .list .row span { color: var(--slate); font-size: 14px; }
.privacy .list .row .dot { color: var(--amber); margin-top: 2px; }

/* faq */
.faq { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 15px; padding: 20px 24px; transition: border-color .2s; }
details[open] { border-color: var(--line); }
details summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--amber); font-size: 24px; font-weight: 300; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--slate); margin-top: 14px; font-size: 15px; }

/* cta */
.cta-band { text-align: center; }
.cta-band .inner { background: radial-gradient(120% 140% at 50% 0%, rgba(255,162,58,0.16), rgba(255,162,58,0.03) 60%); border: 1px solid rgba(255,162,58,0.26); border-radius: 30px; padding: 60px 28px; }

/* footer */
footer { border-top: 1px solid var(--line-soft); padding: 46px 0; color: var(--slate); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer .brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; color: var(--text); }
footer .flinks { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--text); }

/* ---- content / legal pages ---- */
.doc { max-width: 780px; margin: 0 auto; padding: 130px 24px 90px; }
.doc .back { display: inline-flex; gap: 8px; align-items: center; color: var(--slate); font-family: var(--mono); font-size: 13px; margin-bottom: 22px; }
.doc .back:hover { color: var(--text); }
.doc h1 { font-family: var(--display); font-size: clamp(34px, 6vw, 50px); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.doc .updated { color: var(--slate); font-family: var(--mono); font-size: 13px; margin-bottom: 38px; }
.doc h2 { font-family: var(--display); font-size: 22px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-family: var(--display); font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.doc p, .doc li { color: #c8cdd6; font-size: 16px; margin-bottom: 11px; }
.doc ul { padding-left: 22px; margin-bottom: 14px; }
.doc a { color: var(--amber); }
.doc .lead-card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; margin: 8px 0 24px; }
.doc .lead-card p { margin: 0; color: var(--text); font-size: 17px; }
.tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 24px 0; }
.tier { background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px; }
.tier .g { font-family: var(--display); font-size: 28px; font-weight: 600; color: var(--amber); letter-spacing: -0.02em; }
.tier .pn { font-family: var(--mono); font-size: 13px; color: var(--slate); margin-top: 2px; }

/* recover */
.recover { max-width: 460px; margin: 0 auto; padding: 130px 24px 90px; }
.recover .box { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 34px; }
.recover h1 { font-family: var(--display); font-size: 28px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.recover p.sub { color: var(--slate); font-size: 15px; margin-bottom: 26px; }
.field { width: 100%; background: var(--card-2); border: 1px solid var(--line); color: var(--text); font-size: 16px; padding: 14px 16px; border-radius: 12px; margin-bottom: 14px; font-family: var(--body); }
.field:focus { outline: none; border-color: var(--amber); }
.recover .btn { width: 100%; }
.msg { margin-top: 16px; font-size: 14px; min-height: 20px; font-family: var(--mono); }
.msg.ok { color: var(--amber); } .msg.err { color: #ff6b6b; }
.hidden { display: none; }

@media (max-width: 880px) {
  .nav .links { display: none; }
  .timeline, .cards, .plans, .langwrap, .tiers, .privacy .inner { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
}
