/* =========================================================
   VidBnch — landing page styles
   Direction: fabric / tactile / studio-console (ecosystem D-29
   fabric system, re-themed for the Video Bench).
   Deep console ink + warm paper, with a spectrum accent that
   nods to the visual compositor (depth-wash / color-lift).
   GUARDRAIL: tactile, NOT heavy. Texture is decoration,
   never information. Fast, responsive, WCAG-AA.
   Pure CSS, system fonts. No JS required for layout.
   ========================================================= */

:root {
  /* Deep console ink over warm studio paper */
  --paper:      #f3eee4;   /* warm studio paper */
  --paper-deep: #e7ded0;
  --canvas:     #101418;   /* deep console ink (slate-black) */
  --canvas-2:   #1a2028;
  --thread:     #d6436b;   /* render magenta (primary thread) */
  --thread-2:   #f2864b;   /* warm amber thread */
  --spectrum:   #35c5d8;   /* signal cyan — the depth/compositor nod */
  --gold:       #e3b24a;
  --ink:        #241d2a;   /* warm near-black text */
  --ink-soft:   #5a4f5f;
  --cream:      #fbf6ee;

  --radius:     18px;
  --radius-sm:  12px;
  --maxw:       1080px;

  --shadow-soft: 0 2px 0 rgba(0,0,0,0.06), 0 8px 24px rgba(16,20,24,0.14);
  --shadow-lift: 0 3px 0 rgba(0,0,0,0.08), 0 14px 34px rgba(16,20,24,0.22);

  --font: ui-rounded, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--canvas);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--spectrum); text-decoration: underline; }
a:hover { text-decoration: none; color: var(--thread); }

.docbar {
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 18px 24px;
  font-size: 14px; letter-spacing: 0.03em;
}
.docbar a { font-size: 13px; }
.docbar .brand { font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cream); text-decoration: none; }

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

.section {
  padding: 48px 0;
  border-top: 1px dashed rgba(251,246,238,0.18);
}
.section:first-of-type { border-top: none; }

h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -1px; }
h3 { font-size: clamp(20px, 3vw, 28px); line-height: 1.2; margin: 0 0 8px; }
p { font-size: 17px; color: rgba(251,246,238,0.86); margin: 0 0 12px; }

.card {
  background: var(--canvas-2);
  border: 1px solid rgba(251,246,238,0.14);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
  box-shadow: var(--shadow-soft);
}
.card:hover { box-shadow: var(--shadow-lift); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

button {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--cream);
  background: var(--thread);
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px;
  cursor: pointer;
}
button:hover { background: var(--thread-2); }

input[type="email"] {
  font-family: inherit;
  font-size: 16px;
  color: var(--cream);
  background: rgba(251,246,238,0.08);
  border: 1px solid rgba(251,246,238,0.2);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  width: 100%;
}
input[type="email"]:focus { outline: 2px solid var(--spectrum); outline-offset: 2px; }

.waitlist {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 480px; margin: 24px auto;
}
.waitlist label { font-size: 14px; color: rgba(251,246,238,0.7); }
.waitlist .msg { font-size: 14px; min-height: 1.4em; color: var(--spectrum); }

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