/* Second Chair — marketing site. Tokens mirror the product (+layout.svelte). */
:root {
  --ink: #141b2a; --ink-800: #1c2536; --ink-700: #2a3550;
  --text: #232b3e; --text-soft: #5b6378; --text-faint: #9097a9;
  --paper: #f4f2ec; --paper-deep: #ebe7db; --card: #ffffff;
  --line: #e3dfd3; --line-strong: #cdc7b6;
  --brass: #9a7b3f; --brass-deep: #7c6230; --brass-soft: #f5eedb; --brass-line: #ddcb9e;
  --brass-bright: #c9a961;
  --action: #24426b; --action-deep: #182f4f; --action-soft: #e9eef5;
  --danger: #a4432c;
  --font-display: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-ui: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px; --radius-lg: 14px;
  --shadow-md: 0 2px 6px rgba(20,27,42,.07), 0 8px 24px rgba(20,27,42,.06);
  --shadow-lg: 0 4px 12px rgba(20,27,42,.12), 0 24px 60px rgba(20,27,42,.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--brass-line); color: var(--ink); }
html { scroll-behavior: smooth; }
body { font-family: var(--font-ui); color: var(--text); background: var(--paper); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--action); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  background: var(--ink); color: var(--paper);
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid rgba(221,203,158,.25);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.lockup img { width: 34px; height: 34px; border-radius: 8px; }
.lockup .name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .01em; }
nav.top a { color: rgba(244,242,236,.8); text-decoration: none; font-size: .9rem; margin-left: 22px; font-weight: 600; }
nav.top a:hover { color: var(--brass-bright); }
nav.top a.cta {
  background: var(--brass); color: #fff; padding: 8px 16px; border-radius: 999px;
}
nav.top a.cta:hover { background: var(--brass-deep); color: #fff; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 84px 0 0; overflow: hidden; }
.hero .kicker { color: var(--brass-bright); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15; margin: 18px 0 20px; max-width: 17ch;
}
.hero h1 em { font-style: normal; color: var(--brass-bright); }
.hero .sub { color: rgba(244,242,236,.78); max-width: 54ch; font-size: 1.08rem; }
.hero .ctas { margin: 30px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
}
.btn.primary { background: var(--brass); color: #fff; }
.btn.primary:hover { background: var(--brass-deep); }
.btn.ghost { border-color: rgba(244,242,236,.35); color: var(--paper); }
.btn.ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.hero .shot-frame {
  margin: 56px auto -2px; max-width: 920px;
  border-radius: 14px 14px 0 0; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--ink-700); border-bottom: 0;
}
.hero .browser-bar { background: var(--ink-800); display: flex; gap: 7px; padding: 11px 14px; }
.hero .browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-700); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--paper-deep); }
.kicker { color: var(--brass); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
h2.sec {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 12px 0 18px; line-height: 1.2;
}
.lede { max-width: 62ch; color: var(--text-soft); font-size: 1.05rem; }
.lede strong { color: var(--text); }

/* Feature beats */
.beat { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 64px; }
.beat:nth-child(even) .beat-copy { order: 2; }
.beat .num {
  font-family: var(--font-display); color: var(--brass); font-size: 1rem;
  border: 1px solid var(--brass-line); border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; background: var(--brass-soft);
}
.beat h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 1.45rem; margin-bottom: 10px; }
.beat p { color: var(--text-soft); }
.beat .shot { border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line-strong); }
.beat .cap { font-size: .82rem; color: var(--text-faint); margin-top: 10px; font-style: italic; }

/* Privilege band */
.privilege { background: var(--ink); color: var(--paper); }
.privilege .card-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.privilege .pcard {
  background: var(--ink-800); border: 1px solid rgba(221,203,158,.28); border-radius: var(--radius-lg); padding: 26px;
}
.privilege .pcard h4 { font-family: var(--font-display); font-weight: 400; color: var(--brass-bright); margin-bottom: 8px; font-size: 1.1rem; }
.privilege .pcard p { color: rgba(244,242,236,.75); font-size: .93rem; }
.privilege h2.sec { color: var(--paper); }
.privilege .lede { color: rgba(244,242,236,.78); }

/* Status pills strip */
.pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.pill { font-size: .78rem; font-weight: 700; padding: 5px 13px; border-radius: 999px; }
.pill.unasked { background: #e9eef6; color: #32507c; }
.pill.answered { background: #e2efe6; color: #226343; }
.pill.followup { background: #f8eed3; color: #8a6312; }
.pill.incomplete { background: #f9e7e0; color: #a4432c; }

/* Video slot */
.video-slot {
  margin-top: 44px; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  background: var(--ink-800); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--text-faint);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.video-slot video { width: 100%; height: 100%; object-fit: cover; }

/* Waitlist */
.waitlist form { margin-top: 36px; max-width: 560px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-family: var(--font-ui); font-size: .95rem; background: var(--card); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brass-line); border-color: var(--brass); }
.check { display: flex; align-items: center; gap: 10px; margin: 18px 0; font-size: .92rem; color: var(--text-soft); }
.check input { width: auto; }
.form-note { font-size: .82rem; color: var(--text-faint); margin-top: 14px; }
#form-status { margin-top: 16px; font-weight: 700; display: none; }
#form-status.ok { color: #226343; display: block; }
#form-status.err { color: var(--danger); display: block; }

/* Footer */
footer.site { background: var(--ink); color: rgba(244,242,236,.7); padding: 44px 0; font-size: .88rem; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site .disclaimer { max-width: 58ch; }
footer.site strong { color: var(--paper); }

@media (max-width: 760px) {
  .beat { grid-template-columns: 1fr; gap: 22px; }
  .beat:nth-child(even) .beat-copy { order: 0; }
  .privilege .card-row { grid-template-columns: 1fr; }
  nav.top a:not(.cta) { display: none; }
  section { padding: 60px 0; }
}
