/* VideoScript — marketing site
   Dark "editor" identity: 9:16 frames, filmstrip, mono timecodes.
   Brand coral matches the app (#FF3D6E); executed as a cinematic
   cutting-room, not a gradient hero. Neutrals mirror the app's dark theme. */

:root {
  --ink: #0e0d12;       /* ground — same near-black as the app */
  --ink-2: #14121a;     /* deep panel */
  --surface: #1a1822;   /* raised surface (app surface) */
  --line: #262330;      /* hairlines (app line) */
  --accent: #ff3d6e;    /* brand accent — the "selected / AI" signal */
  --accent-soft: #ff8fab;
  --amber: #ffc48a;     /* warm spark of real footage, used sparingly */
  --text: #f4f2f7;
  --muted: #a29daf;
  --faint: #6f6a7c;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1120px;
  --r: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* faint vignette so the ground reads as chosen, not flat black */
  background-image:
    radial-gradient(1200px 700px at 78% -8%, rgba(255, 61, 110, 0.16), transparent 60%),
    radial-gradient(900px 600px at 0% 100%, rgba(255, 196, 138, 0.05), transparent 55%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-wrap: balance; margin: 0; }

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--ink) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
/* Same mark as the app icon: coral outlined tile with a coral play. */
.brand .mark {
  width: 28px; height: 28px; border-radius: 9px;
  background: transparent;
  border: 3.5px solid var(--accent);
  position: relative;
}
.brand .mark::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; border-left: 8px solid var(--accent);
  border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent;
  transform: translateX(1px);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--accent-soft); border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 999px;
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.02; letter-spacing: -0.025em; margin: 20px 0 22px; }
.hero h1 .hl { color: var(--accent-soft); }
.lede { font-size: 19px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 13px; font-weight: 600; font-size: 15px;
}
.badge .apple { width: 17px; height: 17px; fill: var(--text); }
.badge .sub { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.for-iphone { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.04em; }

/* device mockup — a mini of the app's edit screen */
.device { justify-self: center; width: 300px; }
.phone {
  border-radius: 34px; padding: 10px;
  background: linear-gradient(180deg, #221d26, #14121a);
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 61, 110, 0.08);
}
.screen { border-radius: 26px; overflow: hidden; background: #000; }
.screen .appshot { display: block; width: 100%; height: auto; }

/* real app screenshots under How it works */
.approw { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.approw img {
  width: 100%; height: auto; border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.7);
}
@media (max-width: 860px) {
  .approw { grid-template-columns: repeat(2, 1fr); }
}
.frame916 { position: relative; aspect-ratio: 9 / 16; }
.frame916 .shot {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 70% 22%, #cfe0b8 0%, #8fae74 30%, #3f5a3a 62%, #24331f 100%);
}
.frame916 .shot::after { /* subject silhouette hint */
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 62%; height: 58%;
  background: radial-gradient(60% 70% at 50% 40%, rgba(60,40,30,0.55), transparent 70%);
}
.caption {
  position: absolute; left: 0; right: 0; top: 15%; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: 21px; color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6); letter-spacing: -0.01em;
}
.playbtn {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: grid; place-items: center;
}
.playbtn::after { content: ""; width: 0; height: 0; border-left: 15px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translateX(2px); }
.filmstrip { display: flex; gap: 6px; padding: 10px; background: #100e14; }
.filmstrip .cell {
  flex: 1; aspect-ratio: 9 / 14; border-radius: 6px; border: 1.5px solid transparent;
  background-size: cover; background-position: center;
}
.filmstrip .cell.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.c1 { background: linear-gradient(150deg, #9fb98a, #4a6340); }
.c2 { background: linear-gradient(150deg, #e7b98f, #9c5f43); }
.c3 { background: linear-gradient(150deg, #8aa0c8, #3f4f74); }
.c4 { background: linear-gradient(150deg, #c8a0bf, #6f4a63); }

/* ---------- generic section ---------- */
section { padding: 60px 0; }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.06; letter-spacing: -0.02em; margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 16px 0 0; }

/* insight: one thumbnail -> many moments */
.insight { border-top: 1px solid var(--line); }
.reel { display: flex; gap: 14px; align-items: stretch; overflow-x: auto; padding-bottom: 6px; }
.thumb {
  flex: 0 0 132px; aspect-ratio: 9 / 16; border-radius: 12px; position: relative;
  background: linear-gradient(150deg, #6b7f9a, #2f3b4f); border: 1px solid var(--line);
  display: grid; place-items: end start;
}
.thumb.raw { background: linear-gradient(160deg, #7d8aa0, #34324a); }
.thumb .tc { font-family: var(--mono); font-size: 10.5px; color: #fff; background: rgba(0,0,0,0.5); padding: 2px 6px; border-radius: 6px; margin: 8px; letter-spacing: 0.03em; }
.thumb .tag {
  position: absolute; top: 8px; left: 8px; right: 8px;
  font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-soft); background: rgba(14,13,18,0.55); border: 1px solid rgba(255,61,110,0.35);
  padding: 3px 6px; border-radius: 6px;
}
.arrow { align-self: center; color: var(--faint); font-family: var(--mono); font-size: 22px; flex: 0 0 auto; }
.moment { border-color: rgba(255,61,110,0.4); }
.m1 { background: linear-gradient(150deg, #9fb98a, #4a6340); }
.m2 { background: linear-gradient(150deg, #e7b98f, #9c5f43); }
.m3 { background: linear-gradient(150deg, #8aa0c8, #3f4f74); }

/* how it works — a real 3-step sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 28px; position: relative;
}
.step .n { font-family: var(--mono); font-size: 13px; color: var(--accent-soft); letter-spacing: 0.1em; }
.step h3 { font-size: 21px; margin: 14px 0 9px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* script line motif */
.scriptline {
  font-family: var(--mono); font-size: 15px; color: var(--text);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; display: inline-flex; align-items: center; gap: 2px;
}
.scriptline .caret { width: 2px; height: 1.15em; background: var(--accent); display: inline-block; margin-left: 4px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }

/* privacy panel */
.privacy-panel {
  background: linear-gradient(180deg, var(--ink-2), var(--surface));
  border: 1px solid var(--line); border-radius: 22px; padding: 44px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.privacy-panel h2 { font-size: 30px; letter-spacing: -0.02em; }
.privacy-panel p { color: var(--muted); margin: 16px 0 0; }
.locklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.locklist li { display: flex; gap: 12px; font-size: 15.5px; }
.locklist .dot { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: rgba(255,61,110,0.16); border: 1px solid rgba(255,61,110,0.4); display: grid; place-items: center; color: var(--accent-soft); font-size: 12px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot-links { display: flex; gap: 24px; color: var(--muted); font-size: 15px; }
.foot-links a:hover { color: var(--text); }
.copyright { font-family: var(--mono); font-size: 12.5px; color: var(--faint); letter-spacing: 0.03em; }

/* ---------- legal / support pages ---------- */
.doc { max-width: 760px; padding: 72px 0 40px; }
.doc .eyebrow { margin-bottom: 14px; display: block; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); letter-spacing: -0.025em; margin-bottom: 10px; }
.doc .updated { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-bottom: 40px; }
.doc h2 { font-size: 22px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #cfcbd8; font-size: 16.5px; }
.doc a { color: var(--accent-soft); text-decoration: underline; text-underline-offset: 3px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 8px 0; }
.note {
  background: var(--ink-2); border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: 10px; padding: 16px 18px; font-size: 14.5px; color: var(--muted); margin: 24px 0;
}
.faq { display: grid; gap: 2px; margin-top: 8px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-family: var(--display); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent-soft); font-family: var(--mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; }

:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  .device { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .privacy-panel { grid-template-columns: 1fr; padding: 32px; }
  .nav-links .hide-sm { display: none; }
}
