/* Shared stylesheet for VideoNote keyword landing pages. Tokens mirror index.html :root. */
:root {
  --bg:        #0B0604;
  --bg-2:      #140B07;
  --surface:   rgba(255, 237, 215, 0.045);
  --surface-2: rgba(255, 237, 215, 0.08);
  --line:      rgba(255, 237, 215, 0.10);
  --line-2:    rgba(255, 237, 215, 0.18);
  --ink:       #FFEDD7;
  --ink-2:     #C9A98C;
  --ink-3:     #93735C;
  --orange:    #FF5A1F;
  --orange-d:  #DC5000;
  --amber:     #FFB36B;
  --r-card: 20px; --r-inner: 12px; --r-pill: 999px;
  --f-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-display); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line-2); }
a:hover { text-decoration-color: var(--orange); }
::selection { background: var(--orange); color: var(--bg); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.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: -60px; z-index: 30;
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(11, 6, 4, 0.88); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand svg { display: block; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.topbar-link {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--ink-2); text-decoration: none;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  transition: color 180ms, border-color 180ms;
}
.topbar-link:hover { color: var(--ink); border-color: var(--line-2); }
.topbar-cta {
  font-size: 14px; font-weight: 600; color: #1A0800; background: var(--orange); text-decoration: none;
  border-radius: var(--r-pill); padding: 8px 16px; transition: background 180ms; white-space: nowrap;
}
.topbar-cta:hover { background: #FF6D38; }

/* Layout */
main { display: block; }
section { padding: 72px 16px; border-top: 1px solid var(--line); }
.wrap { max-width: 760px; margin: 0 auto; }
.wrap.wide { max-width: 1040px; }
.label { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
h2 { font-size: clamp(32px, 5.5vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -0.04em; margin-top: 12px; text-wrap: balance; }
h2 em, h1 em { font-style: normal; color: var(--orange); }
h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.lede { font-size: 18px; color: var(--ink-2); margin-top: 16px; max-width: 62ch; }
p + p { margin-top: 12px; }

/* Hero */
.hero {
  border-top: 0; padding-top: clamp(48px, 10vh, 104px); padding-bottom: 56px;
  background: radial-gradient(120% 70% at 50% 0%, rgba(220, 80, 0, 0.14), transparent 60%), var(--bg);
}
.crumbs { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: '/'; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
h1 {
  font-size: clamp(40px, 8.5vw, 84px); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em;
  margin-top: 14px; text-wrap: balance;
}
.hero-sub { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); margin-top: 20px; max-width: 58ch; text-wrap: pretty; }

/* Link form: hands the link to the app at /?url=...#transcribe */
.link-form { margin-top: 32px; }
.input-card {
  display: flex; gap: 8px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color 200ms, background 200ms;
}
.input-card:focus-within { border-color: rgba(255, 90, 31, 0.55); background: var(--surface-2); }
.input-card input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  padding: 14px 16px; font-family: var(--f-mono); font-size: 16px; color: var(--ink);
}
.input-card input::placeholder { color: var(--ink-3); }
.input-card button {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 150px;
  background: var(--orange); color: #1A0800; font-family: inherit; font-size: 16px; font-weight: 600;
  border: none; border-radius: calc(var(--r-card) - 8px); padding: 0 22px; cursor: pointer;
  transition: background 180ms;
}
.input-card button:hover { background: #FF6D38; }
.form-note { margin-top: 14px; font-family: var(--f-mono); font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.form-fine { margin-top: 8px; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 64ch; }
.form-fine a { color: var(--ink-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; list-style: none; }
.chips li { font-size: 13px; color: var(--ink-2); padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--r-pill); }

/* In short: the definitional paragraph AI answers quote */
.in-short { border-top: 0; padding-top: 0; }
.in-short .box { padding: 24px; border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--r-inner); background: var(--surface); }
.in-short p { font-size: 18px; line-height: 1.65; color: var(--ink); max-width: 68ch; }
.in-short p + p { color: var(--ink-2); font-size: 16px; }

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.step { background: var(--bg); padding: 28px 24px 32px; }
.step-n { font-family: var(--f-mono); font-size: 13px; color: var(--orange); }
.step h3 { margin-top: 20px; font-size: 22px; }
.step p { font-size: 16px; color: var(--ink-2); margin-top: 8px; }

/* What you get */
.feats { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
.feat { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); }
.feat p { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.55; }

/* Use cases */
.cases { list-style: none; display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
.case { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-inner); }
.case p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* Comparison table: scrolls inside its own box so the page never scrolls sideways */
.table-scroll { margin-top: 36px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-inner); }
.compare { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; }
.compare caption { text-align: left; padding: 14px 16px 0; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare tr:last-child > * { border-bottom: 0; }
.compare-note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 4px; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 22px; line-height: 1; transition: transform 200ms; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.65; max-width: 68ch; }

/* Related tools */
.related { list-style: none; display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
.related a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-inner);
  text-decoration: none; transition: border-color 180ms, background 180ms;
}
.related a::after { content: '\2192'; color: var(--orange); }
.related a:hover { border-color: var(--line-2); background: var(--surface); }

/* Final call to action */
.cta-end { text-align: center; }
.cta-end .lede { margin-left: auto; margin-right: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 28px;
  font-family: inherit; font-size: 16px; font-weight: 500;
  padding: 14px 26px; border-radius: var(--r-pill); border: none; cursor: pointer; text-decoration: none;
  transition: transform 200ms cubic-bezier(.2,.8,.2,1), background 200ms;
}
.btn-cream { background: var(--ink); color: var(--bg); }
.btn-cream:hover { transform: translateY(-2px); background: #FFF6EA; }

/* Footer: same as index.html plus the maker credit */
footer { padding: 36px 16px 48px; border-top: 1px solid var(--line); }
footer .wrap { max-width: 1040px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a, .maker a { color: var(--ink-3); text-decoration: none; }
.foot-links a:hover, .maker a:hover { color: var(--ink); }
.maker { width: 100%; }

@media (max-width: 419px) {
  .topbar-link { display: none; }
}
@media (max-width: 599px) {
  .input-card { flex-direction: column; }
  .input-card button { padding: 15px; }
}
@media (min-width: 720px) {
  section { padding: 96px 24px; }
  .hero { padding-top: clamp(64px, 12vh, 120px); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step h3 { margin-top: 36px; }
  .feats, .cases, .related { grid-template-columns: repeat(2, 1fr); }
  footer { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1000px) {
  .feats { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-cream:hover { transform: none; }
}
