/* howtovideos.ai marketing site. Mobile-first; one light theme. */
:root {
  --page: #fbfaf7;
  --surface: #ffffff;
  --ink: #12152e;
  --muted: #565b78;
  --line: #e4e2ea;
  --accent: #5b3df5;
  --accent-ink: #ffffff;
  --accent-soft: #efebff;
  --mint: #12a883;
  --mint-soft: #e3f6f0;
  --amber: #b4620a;
  --amber-soft: #fdf1e1;
  --dark: #12152e;
  --dark-2: #1d2147;
  --radius: 14px;
  --display: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 6.2vw, 64px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(251, 250, 247, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo .tld { color: var(--accent); }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -6px rgba(91, 61, 245, .55); }
.btn-primary:hover { background: #4a2ee0; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
@media (max-width: 380px) { .logo { font-size: 17px; } .btn-small { padding: 0 12px; font-size: 14px; } }
.btn:focus-visible, a:focus-visible, input:focus-visible, label:focus-within { outline: 3px solid rgba(91, 61, 245, .45); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Hero */
.hero { padding: 48px 0 64px; }
@media (min-width: 1000px) { .hero { padding: 72px 0 96px; } }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 8px 12px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { margin-top: 20px; font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Product mock */
.mock { position: relative; background: var(--dark); border-radius: 20px; padding: 14px; box-shadow: 0 40px 80px -30px rgba(18, 21, 46, .45); color: #e8e9f5; min-width: 0; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 12px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3f6b; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: #9da2c8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { display: grid; gap: 12px; }
@media (min-width: 560px) { .mock-body { grid-template-columns: 1.55fr 1fr; } }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #f4f5fb; }
.screen-zoom { position: absolute; inset: 0; transform-origin: 72% 30%; animation: zoom 9s ease-in-out infinite; }
.app-top { height: 14%; background: #fff; border-bottom: 1px solid #e3e5f0; display: flex; align-items: center; padding: 0 6%; gap: 4%; }
.app-top b { width: 18%; height: 30%; border-radius: 4px; background: #d9dcf0; }
.app-top em { margin-left: auto; width: 20%; height: 42%; border-radius: 6px; background: var(--accent); position: relative; }
.app-side { position: absolute; top: 14%; left: 0; bottom: 0; width: 20%; background: #fff; border-right: 1px solid #e3e5f0; }
.app-side::before, .app-side::after { content: ""; position: absolute; left: 14%; right: 14%; height: 5%; border-radius: 3px; background: #e6e8f4; top: 10%; box-shadow: 0 2.2em 0 #e6e8f4, 0 4.4em 0 #e6e8f4; }
.app-main { position: absolute; top: 20%; left: 25%; right: 5%; bottom: 6%; display: grid; gap: 8%; grid-template-rows: repeat(3, 1fr); }
.app-main i { border-radius: 6px; background: #fff; border: 1px solid #e3e5f0; }
.cursor { position: absolute; width: 6%; top: 60%; left: 40%; animation: cursor 9s ease-in-out infinite; filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.ripple { position: absolute; top: 18%; left: 79%; width: 8%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: ripple 9s ease-out infinite; }
.caption { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); background: rgba(18, 21, 46, .88); color: #fff; font-size: clamp(10px, 1.3vw, 13px); padding: 6px 10px; border-radius: 6px; white-space: nowrap; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 4px; margin-top: 10px; }
.wave i { flex: 1; background: #3a3f6b; border-radius: 2px; height: 30%; animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-delay: .2s; } .wave i:nth-child(3n+1) { animation-delay: .4s; } .wave i:nth-child(4n) { animation-delay: .6s; }
.steps { background: var(--dark-2); border-radius: 10px; padding: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.steps p { font: 600 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: #9da2c8; margin-bottom: 2px; }
.step { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 8px; color: #c7cae6; }
.step.on { background: rgba(91, 61, 245, .25); color: #fff; }
.step b { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #33386a; }
.step.done b { background: var(--mint); color: #fff; }
.step.on b { background: var(--accent); }
.outputs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: #262b57; color: #dfe1f5; }
.chip::before { content: "✓ "; color: var(--mint); }
@keyframes zoom { 0%, 18% { transform: scale(1); } 34%, 62% { transform: scale(1.65); } 80%, 100% { transform: scale(1); } }
@keyframes cursor { 0%, 10% { top: 62%; left: 40%; } 30%, 70% { top: 19%; left: 77%; } 90%, 100% { top: 62%; left: 40%; } }
@keyframes ripple { 0%, 32% { opacity: 0; transform: scale(.4); } 36% { opacity: 1; } 48%, 100% { opacity: 0; transform: scale(1.8); } }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 90%; } }
@media (prefers-reduced-motion: reduce) { .screen-zoom, .cursor, .ripple, .wave i { animation: none; } .cursor { top: 19%; left: 77%; } }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 1000px) { section { padding: 96px 0; } }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }
.kicker { display: block; font: 600 13px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }

/* Audience split */
.split { display: grid; gap: 16px; }
@media (min-width: 760px) { .split { grid-template-columns: 1fr 1fr; } }
.split a { display: block; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.split a:hover { border-color: var(--accent); transform: translateY(-2px); }
.split .q { font-size: 14px; color: var(--muted); }
.split h3 { margin: 8px 0 10px; font-size: 24px; }
.split p.d { color: var(--muted); }
.split .go { display: inline-block; margin-top: 18px; font-weight: 600; color: var(--accent); }

/* Steps grid */
.grid-3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font: 700 16px/1 var(--display); margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* Feature list with status tags */
.features { display: grid; gap: 14px; }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
.feature { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.feature .ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.feature p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.tag { font: 600 11px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.tag-launch { background: var(--mint-soft); color: #0b7a5f; }
.tag-soon { background: var(--amber-soft); color: var(--amber); }

/* Compare */
.compare { display: grid; gap: 16px; }
@media (min-width: 860px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare > div { border-radius: var(--radius); padding: 28px; }
.compare .them { background: var(--surface); border: 1px solid var(--line); }
.compare .us { background: var(--dark); color: #e8e9f5; }
.compare h3 { margin-bottom: 16px; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare li { display: flex; gap: 12px; }
.compare li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.compare .them li { color: var(--muted); }
.compare .them li::before { content: "–"; background: #eeedf2; color: var(--muted); }
.compare .us li::before { content: "✓"; background: var(--mint); color: #fff; }

/* Waitlist */
.waitlist { background: var(--dark); color: #e8e9f5; }
.waitlist-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .waitlist-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.waitlist h2 { color: #fff; }
.waitlist .sub { margin-top: 16px; color: #b9bcdb; font-size: 18px; }
.waitlist ul.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: #d6d8ef; }
.waitlist ul.perks li::before { content: "✓"; color: var(--mint); font-weight: 700; margin-right: 10px; }
form.signup { background: var(--surface); color: var(--ink); border-radius: 18px; padding: 24px; display: grid; gap: 18px; }
@media (min-width: 560px) { form.signup { padding: 32px; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.field .opt { font-weight: 400; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
input[type="email"], input[type="text"], input[type="url"] { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 16px var(--body); color: var(--ink); background: #fff; }
input:focus { border-color: var(--accent); outline: none; }
.choices { display: grid; gap: 10px; }
@media (min-width: 560px) { .choices { grid-template-columns: 1fr 1fr; } }
.field .choice { position: relative; display: flex; margin: 0; font-weight: 400; gap: 10px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 15px; line-height: 1.4; }
.choice input { margin: 3px 0 0; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.choice span { font-weight: 600; }
.choice small { font-weight: 400; display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { color: #b42318; font-size: 14px; font-weight: 500; min-height: 1em; }
.form-error:empty { display: none; }
.success { text-align: center; padding: 24px 8px; }
.success .big { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); display: grid; place-items: center; font-size: 28px; font-weight: 700; }
.success h3 { font-size: 24px; margin-bottom: 8px; }
.success p { color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font: 600 18px/1.4 var(--display); letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--muted); }

/* Page hero for audience pages */
.page-hero { padding: 56px 0 24px; }
@media (min-width: 1000px) { .page-hero { padding: 80px 0 32px; } }
.page-hero .lede { max-width: 40em; }
.proof-row { display: grid; gap: 12px; margin-top: 40px; }
@media (min-width: 760px) { .proof-row { grid-template-columns: repeat(3, 1fr); } }
.proof-row div { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.proof-row b { display: block; font: 700 18px/1.3 var(--display); }
.proof-row span { color: var(--muted); font-size: 15px; }

/* Legal / prose */
.prose { max-width: 720px; padding: 56px 0 80px; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 12px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose .meta { font-size: 14px; }

/* Footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
