/* ============================================================
   SuperWiser — The music supervisor's command center
   Light brand system · cream + olive + ink
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Inter:wght@400;450;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- New brand palette ---- */
  --paper:     #FCF6EA;   /* base cream */
  --paper-2:   #FFFDF8;   /* near-white band / cards */
  --paper-3:   #F4EDDA;   /* warm cream band */
  --paper-4:   #EEEFD6;   /* olive-tinted band */
  --ink:       #17170F;   /* near-black (text + ink bands) */
  --ink-soft:  #20201A;
  --ink-2:     #4C4B3E;   /* secondary text on cream */
  --ink-3:     #807D6C;   /* muted text on cream */

  --olive:       #A8A50E; /* brand olive (fills, bars) */
  --olive-2:     #8C8A0C; /* hover */
  --olive-deep:  #6E6E12; /* olive text on cream (readable) */
  --olive-soft:  #EDEBB4; /* soft olive surface */
  --olive-bright:#C2C02A;

  --yellow:    #E9D873;   /* pending */
  --terra:     #C2553A;   /* over budget / negative */
  --amber:     #C98A1E;   /* warning */

  --line:      #E6DEC8;   /* hairline on cream */
  --line-2:    #D8CFB4;   /* stronger hairline */
  --line-ink:  rgba(246,240,224,.12);  /* hairline on ink */
  --line-ink-2:rgba(246,240,224,.20);

  --on-ink:    #F7F1E1;   /* primary text on ink */
  --on-ink-2:  #CFCAB6;   /* secondary on ink */
  --on-ink-3:  #918D7C;   /* muted on ink */

  /* ---- Back-compat aliases (existing inline markup) ---- */
  --navy: var(--paper);
  --navy-deep: var(--ink);
  --navy-soft: var(--paper-2);
  --slate: var(--paper-2);
  --slate-2: var(--paper-3);
  --white: var(--paper-2);
  --blue: var(--olive-deep);   /* accent text/links on cream */
  --green: #7E9A1C;            /* positive / checks */
  --red: var(--terra);
  --line-light: var(--line);
  --line-dark: var(--line-ink);
  --line-dark-2: var(--line-ink-2);
  --on-dark: var(--on-ink);
  --on-dark-2: var(--on-ink-2);
  --on-dark-3: var(--on-ink-3);

  --f-display: 'Bricolage Grotesque', 'Space Grotesk', system-ui, sans-serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'JetBrains Mono', ui-monospace, monospace;

  --maxw: 1200px;
  --gut: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(23,23,15,.10);
  --shadow:    0 14px 36px -16px rgba(23,23,15,.26);
  --shadow-lg: 0 44px 90px -34px rgba(23,23,15,.42);
  --glow:      0 0 0 1px rgba(168,165,14,.5), 0 24px 60px -22px rgba(168,165,14,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px; line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 4px; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(64px, 9vw, 132px) 0; position: relative; background: var(--paper); color: var(--ink); }
.section--light { background: var(--paper-2); }
.section--dark  { background: var(--paper-3); }
.section--deep  { background: var(--paper-4); }
.section--tight { padding-block: clamp(48px,6vw,84px); }

.eyebrow {
  font-family: var(--f-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--olive-deep);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--olive); }

h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; color: var(--ink); }
.h-sec { font-size: clamp(28px, 4.4vw, 48px); letter-spacing: -.03em; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; max-width: 60ch; color: var(--ink-2); }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 12px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary {
  background: var(--olive); color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 12px 26px -14px rgba(168,165,14,.85);
}
.btn--primary:hover { background: var(--olive-2); transform: translateY(-2px); box-shadow: 0 20px 38px -16px rgba(140,138,12,.9); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); transform: translateY(-2px); }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ghost button on ink bands */
.section--ink .btn--ghost, .cta-band .btn--ghost, .foot .btn--ghost {
  color: var(--on-ink); border-color: var(--line-ink-2);
}
.section--ink .btn--ghost:hover, .cta-band .btn--ghost:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

/* ============================================================
   Navbar (light, cream glass)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px) saturate(1.2);
  background: rgba(252,246,234,.82);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 21px; color: var(--ink); letter-spacing: -.02em; }
.brand__owl { width: 34px; height: 34px; object-fit: contain; flex: 0 0 auto; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: 16px; }
.nav__links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 13px; border-radius: 9px; transition: color .18s, background .18s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(168,165,14,.14); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__cta .btn { padding: 10px 17px; font-size: 14px; }
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content:""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4px); }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { transform: rotate(45deg); }
.nav.open .nav__toggle span::after  { transform: rotate(-45deg) translateY(-2px); }

@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__drawer {
    position: fixed; inset: 70px 0 auto 0; z-index: 55;
    background: var(--paper); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .22s;
    padding: 14px var(--gut) 26px; box-shadow: var(--shadow);
  }
  .nav.open .nav__drawer { transform: none; opacity: 1; pointer-events: auto; }
  .nav__drawer a { display: block; padding: 13px 8px; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 600; }
  .nav__drawer .btn { width: 100%; justify-content: center; margin-top: 14px; }
}
@media (min-width: 981px) { .nav__drawer { display: none; } }

/* ============================================================
   HERO (light)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 560px at 88% -12%, rgba(168,165,14,.20), transparent 58%),
    radial-gradient(640px 420px at 2% 6%, rgba(168,165,14,.08), transparent 55%),
    var(--paper);
  color: var(--ink);
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(56px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content:""; position: absolute; z-index: 0; right: -120px; top: 60px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(168,165,14,.16), transparent 62%);
  pointer-events: none;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,1.12fr);
  gap: clamp(28px, 4vw, 60px); align-items: center;
}
.hero__brandline { font-family: var(--f-display); font-size: clamp(48px, 8.4vw, 92px); font-weight: 800; letter-spacing: -.04em; line-height: .94; color: var(--ink); }
.hero__brandline .dot { color: var(--olive); }
.hero__sub { font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 2.4vw, 27px); color: var(--ink); margin-top: 14px; letter-spacing: -.02em; }
.hero__tune {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--olive-deep); background: var(--olive-soft); border: 1px solid #DEDC8E;
  padding: 7px 14px; border-radius: 999px;
}
.hero__tag {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em;
  color: var(--ink-2); margin-top: 16px; display: inline-flex; flex-wrap: wrap; gap: 8px 14px;
}
.hero__tag span { display: inline-flex; align-items: center; gap: 7px; }
.hero__tag .pip { width: 6px; height: 6px; border-radius: 50%; }
.hero__body { color: var(--ink-2); font-size: 17px; line-height: 1.66; max-width: 52ch; margin-top: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero__trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--ink-3); font-family: var(--f-mono); }
.hero__trust b { color: var(--ink); font-weight: 600; }

/* ============================================================
   APP MOCKUP (signature) — light, matches product UI
   ============================================================ */
.dash {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden; isolation: isolate;
}
.dash__bar { display: flex; align-items: center; gap: 9px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.dash__brand { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 800; font-size: 15px; color: var(--ink); }
.dash__brand img { width: 24px; height: 24px; }
.dash__burger { margin-left: auto; display: grid; gap: 3px; }
.dash__burger i { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
.dash__live { margin-left: 12px; font-family: var(--f-mono); font-size: 10px; color: var(--olive-deep); display: inline-flex; align-items: center; gap: 6px; }
.dash__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 0 rgba(168,165,14,.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(168,165,14,.5)} 70%{box-shadow:0 0 0 7px rgba(168,165,14,0)} 100%{box-shadow:0 0 0 0 rgba(168,165,14,0)} }

.dash__body { padding: 18px 18px 0; }

/* KPI row */
.dash__kpis { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper-2); }
.kcell { padding: 14px 16px; text-align: center; border-right: 1px solid var(--line); }
.kcell:last-child { border-right: none; }
.kcell .lbl { font-family: var(--f-body); font-size: 12px; color: var(--ink-3); font-weight: 500; }
.kcell .val { font-family: var(--f-display); font-size: clamp(17px,2vw,22px); font-weight: 800; color: var(--ink); margin-top: 5px; letter-spacing: -.02em; }
.kcell .val.olive { color: var(--olive-deep); }

/* progress */
.dash__prog { display: flex; align-items: center; gap: 12px; margin: 14px 2px 4px; }
.dash__prog .track { flex: 1; height: 12px; border-radius: 999px; background: #ECE6D2; overflow: hidden; }
.dash__prog .track span { display: block; height: 100%; width: 75%; border-radius: 999px; background: linear-gradient(90deg, var(--olive), var(--olive-bright)); animation: grow 1.5s var(--ease) both; }
@keyframes grow { from { width: 0; } }
.dash__prog .pct { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); font-weight: 600; }

/* song table */
.dash__table { margin: 12px -18px 0; }
.strow { display: grid; grid-template-columns: 1.7fr .9fr .5fr .5fr .9fr .7fr; align-items: center; gap: 8px; padding: 11px 18px; border-top: 1px solid var(--line); font-size: 12px; }
.strow--head { background: var(--ink); border-top: none; padding-top: 10px; padding-bottom: 10px; }
.strow--head span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-2); font-weight: 500; }
.strow .song { display: flex; align-items: center; gap: 10px; }
.strow .play { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper-2); display: grid; place-items: center; flex: 0 0 auto; }
.strow .play svg { width: 9px; height: 9px; }
.strow .song b { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 12.5px; display: block; letter-spacing: -.01em; }
.strow .song small { color: var(--ink-3); font-size: 10.5px; font-style: italic; }
.strow .use { color: var(--ink-2); font-size: 11px; }
.strow .ck { display: grid; place-items: center; }
.strow .ck i { width: 18px; height: 18px; border-radius: 50%; background: var(--olive); display: grid; place-items: center; }
.strow .ck i svg { width: 10px; height: 10px; color: var(--ink); }
.strow .ck.off { color: var(--ink-3); font-family: var(--f-mono); }
.strow .bud { font-family: var(--f-mono); font-weight: 600; color: var(--ink); text-align: right; font-size: 11.5px; }
.strow:hover { background: rgba(168,165,14,.06); }

/* bottom nav */
.dash__nav { display: flex; justify-content: space-between; gap: 4px; background: var(--ink); padding: 11px 18px calc(11px + env(safe-area-inset-bottom)); margin-top: 0; }
.dash__nav a { display: grid; justify-items: center; gap: 4px; font-family: var(--f-body); font-size: 10px; color: var(--on-ink-3); }
.dash__nav a.on { color: var(--olive-bright); }
.dash__nav a svg { width: 17px; height: 17px; }

.hero__float {
  position: absolute; z-index: 3;
  background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 9px 13px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink);
}
.hero__float svg { width: 15px; height: 15px; }
.hero__float b { font-weight: 600; }
.hero__float--a { top: -16px; right: 24px; }
.hero__float--a .dotok { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.hero__float--b { bottom: -18px; left: -16px; }
@media (max-width: 620px){ .hero__float { display: none; } }

/* ============================================================
   Pillars strip (Track cues / Manage budgets / Stay SuperWiser)
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.pillar { display: flex; align-items: center; gap: 14px; }
.pillar__ic { width: 50px; height: 50px; border-radius: 14px; background: var(--olive); color: var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.pillar__ic svg { width: 24px; height: 24px; }
.pillar b { font-family: var(--f-display); font-weight: 700; font-size: 16px; color: var(--ink); display: block; }
.pillar span { font-size: 13px; color: var(--ink-2); }

/* ============================================================
   Logo strip
   ============================================================ */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-3); }
.logos__inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; padding: 22px 0; }
.logos p { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.logos span { font-family: var(--f-display); font-weight: 700; font-size: 15px; color: var(--ink-2); opacity: .85; }

/* ============================================================
   Card grids
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--olive-soft); color: var(--olive-deep); border: 1px solid #DEDC8E;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; margin-bottom: 9px; color: var(--ink); }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.card--problem { border-left: 3px solid var(--terra); }
.card--problem .card__icon { background: #F5DDD3; color: var(--terra); border-color: #E6BBAA; }
.card__cue { font-family: var(--f-mono); font-size: 11px; color: var(--olive-deep); letter-spacing: .08em; }

/* ============================================================
   Chips / types
   ============================================================ */
.chips { display: flex; flex-wrap: wrap; gap: 11px; }
.chip {
  font-family: var(--f-body); font-weight: 600; font-size: 14.5px;
  padding: 11px 18px; border-radius: 12px;
  background: var(--paper-2); border: 1px solid var(--line);
  color: var(--ink); display: inline-flex; align-items: center; gap: 9px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), border-color .2s, background .2s;
}
.chip:hover { transform: translateY(-3px); border-color: var(--olive); background: var(--olive-soft); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--olive); }

.types { display: flex; flex-wrap: wrap; gap: 10px; }
.type-tag {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .01em;
  padding: 9px 15px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper-2);
  transition: color .2s, border-color .2s, background .2s;
}
.type-tag:hover { color: var(--ink); border-color: var(--olive); background: var(--olive-soft); }

/* ============================================================
   Budget cards
   ============================================================ */
.budget-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.bcard { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm); }
.bcard .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }
.bcard .lbl i { width: 8px; height: 8px; border-radius: 3px; }
.bcard .val { font-family: var(--f-display); font-size: clamp(24px,3vw,30px); font-weight: 800; color: var(--ink); margin-top: 12px; letter-spacing: -.02em; }
.bcard .delta { font-family: var(--f-mono); font-size: 12px; margin-top: 6px; }
.delta.up { color: var(--olive-deep); } .delta.down { color: var(--terra); } .delta.flat { color: var(--ink-3); }
.bcard__bar { height: 6px; border-radius: 4px; background: #ECE6D2; margin-top: 14px; overflow: hidden; }
.bcard__bar span { display: block; height: 100%; border-radius: 4px; }

/* ============================================================
   Split rows
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.split--rev .split__media { order: -1; }
.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.feature-list .tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--olive); color: var(--ink); }
.feature-list .tick svg { width: 13px; height: 13px; }
.feature-list b { color: var(--ink); font-weight: 700; }

/* product UI sample panel (cue sheet) — light with ink header */
.sheet {
  background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.sheet__bar { display: flex; align-items: center; gap: 10px; padding: 13px 16px; background: var(--ink); }
.sheet__bar .t { font-family: var(--f-mono); font-size: 12px; color: var(--on-ink); }
.sheet__bar .x { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--olive-bright); }
.sheet table { width: 100%; border-collapse: collapse; font-size: 12px; }
.sheet th { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 10px 12px; font-weight: 500; background: var(--paper-3); }
.sheet td { padding: 10px 12px; border-top: 1px solid var(--line); color: var(--ink-2); }
.sheet td b { color: var(--ink); font-weight: 600; }
.sheet .mono { font-family: var(--f-mono); color: var(--ink); }

/* ============================================================
   Pricing
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; align-items: stretch; }
.price-grid.cols-3 { grid-template-columns: repeat(3,1fr); max-width: 980px; margin-inline: auto; }
.plan__seat { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); margin-top: -2px; }
.plan { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.plan--feat { border-color: var(--olive); box-shadow: var(--glow); position: relative; background: #FBFAE9; }
.plan__tag { position: absolute; top: -11px; left: 24px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--olive); padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.plan__name { font-family: var(--f-display); font-size: 20px; font-weight: 800; color: var(--ink); }
.plan__for { font-size: 13.5px; color: var(--ink-3); margin-top: 7px; min-height: 38px; line-height: 1.45; }
.plan__price { margin: 18px 0 6px; }
.plan__price .amt { font-family: var(--f-display); font-size: 34px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.plan__price .per { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.plan__feats { display: grid; gap: 11px; margin: 18px 0 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.plan__feats li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }
.plan__feats svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--olive-deep); margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line-2); }
.qa__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 6px; text-align: left; font-family: var(--f-display); font-size: clamp(16px,2vw,19px); font-weight: 700; color: var(--ink); }
.qa__q .ico { margin-left: auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--olive-deep); transition: transform .3s var(--ease), background .2s; }
.qa__q .num { font-family: var(--f-mono); font-size: 12px; color: var(--olive-deep); flex: 0 0 auto; }
.qa.open .qa__q .ico { transform: rotate(45deg); background: var(--olive-soft); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.qa__a p { padding: 0 6px 24px 44px; color: var(--ink-2); font-size: 15px; line-height: 1.65; max-width: 70ch; }

/* ============================================================
   CTA band (ink)
   ============================================================ */
.cta-band {
  background: radial-gradient(760px 340px at 50% -10%, rgba(168,165,14,.30), transparent 62%), var(--ink);
  color: var(--on-ink); text-align: center;
}
.cta-band h2 { font-size: clamp(30px,5vw,54px); color: var(--on-ink); letter-spacing: -.03em; }
.cta-band .lead { color: var(--on-ink-2); margin: 18px auto 0; }
.cta-band .hero__cta { justify-content: center; margin-top: 32px; }

/* ============================================================
   Forms (light)
   ============================================================ */
.form-card { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(24px,4vw,40px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.field label .req { color: var(--olive-deep); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 11px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(168,165,14,.22); }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; font-family: var(--f-mono); }
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.show { display: block; }
.form-success .badge { width: 56px; height: 56px; border-radius: 16px; background: var(--olive-soft); border: 1px solid #DEDC8E; color: var(--olive-deep); display: grid; place-items: center; margin: 0 auto 16px; }
.form-success h3 { color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.form-success p { color: var(--ink-2); font-size: 15px; }

/* aside info column */
.aside-card { background: var(--paper-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card + .aside-card { margin-top: 16px; }
.aside-card h4 { color: var(--ink); font-size: 16px; margin-bottom: 12px; }
.aside-list li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-2); padding: 7px 0; align-items: flex-start; }
.aside-list svg { width: 16px; height: 16px; color: var(--olive-deep); flex: 0 0 auto; margin-top: 2px; }

/* ============================================================
   Interior page hero
   ============================================================ */
.phero {
  background: radial-gradient(820px 380px at 82% -12%, rgba(168,165,14,.18), transparent 60%), var(--paper);
  color: var(--ink); padding: clamp(56px,8vw,104px) 0 clamp(40px,5vw,64px);
  border-bottom: 1px solid var(--line);
}
.phero h1 { font-size: clamp(34px,5.5vw,58px); color: var(--ink); max-width: 16ch; letter-spacing: -.03em; }
.phero .lead { margin-top: 20px; color: var(--ink-2); }
.phero__cta { margin-top: 28px; display: flex; gap: 13px; flex-wrap: wrap; }

.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.stat { border-left: 2px solid var(--olive); padding-left: 16px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(24px,3vw,32px); color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.stat span { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }

/* ============================================================
   Footer (ink)
   ============================================================ */
.foot { background: var(--ink); color: var(--on-ink-2); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.foot .brand { color: var(--on-ink); }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand .brand { margin-bottom: 14px; }
.foot__brand p { font-size: 14px; max-width: 34ch; color: var(--on-ink-3); }
.foot__brand .tagline { font-family: var(--f-mono); font-size: 12px; color: var(--olive-bright); margin-top: 14px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }
.foot__col h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-3); margin-bottom: 14px; }
.foot__col a { display: block; font-size: 14px; padding: 6px 0; color: var(--on-ink-2); transition: color .18s; }
.foot__col a:hover { color: var(--olive-bright); }
.foot__bot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-ink); font-size: 13px; color: var(--on-ink-3); flex-wrap: wrap; }
.foot__bot .meta { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .02em; }

/* ============================================================
   Status pills
   ============================================================ */
.pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid transparent; }
.pill i { width: 6px; height: 6px; border-radius: 50%; }
.pill--ok   { color: #585A07; background: #E8E69A; border-color: #CDCB55; }
.pill--ok i { background: var(--olive); }
.pill--warn { color: #6E5D10; background: #F2E7A2; border-color: #DDC966; }
.pill--warn i { background: #C9A91E; }
.pill--info { color: #515733; background: #E3E7CC; border-color: #C0C795; }
.pill--info i { background: #8B9442; }
.pill--bad  { color: #8A3318; background: #F3D9CE; border-color: #DCA48F; }
.pill--bad i { background: var(--terra); }
.pill--mute { color: #756F60; background: #ECE5D4; border-color: var(--line-2); }
.pill--mute i { background: var(--ink-3); }

/* completion dots */
.cmp { display: inline-flex; gap: 3px; align-items: center; }
.cmp i { width: 6px; height: 6px; border-radius: 50%; background: #D8D0BA; }
.cmp i.on { background: var(--olive); }
.cmp i.part { background: #C9A91E; }

/* over-budget warn strip */
.warn-strip { display: flex; align-items: center; gap: 10px; background: #F6E9D2; border: 1px solid #E6C794; border-radius: 12px; padding: 11px 14px; font-size: 12.5px; color: #7A5A12; }
.warn-strip svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--amber); }
.warn-strip b { color: #5E4509; }

/* ============================================================
   Reveal
   ============================================================ */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; }
.reveal[data-d="2"]{ transition-delay: .16s; }
.reveal[data-d="3"]{ transition-delay: .24s; }
.reveal[data-d="4"]{ transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .dash__prog .track span { width: 75% !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4, .budget-grid, .price-grid, .stat-strip { grid-template-columns: repeat(2,1fr); }
  .pillars { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .dash { margin-top: 8px; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .grid--4, .grid--2, .budget-grid, .price-grid, .stat-strip { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .foot__top { grid-template-columns: 1fr; }
  .strow { grid-template-columns: 1.6fr .8fr .5fr .8fr; }
  .strow .use, .strow--head .h-use { display: none; }
  .hero__cta .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   Cue-card panel (features page) — light product UI
   ============================================================ */
.cue-card { background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.cue-card__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: var(--ink); }
.cue-card__head .t { font-family: var(--f-display); font-size: 13px; color: var(--on-ink); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cue-card__head .meta { font-family: var(--f-mono); font-size: 11px; color: var(--on-ink-3); }
.cue-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.cue-table th { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); text-align: left; padding: 10px 14px; font-weight: 500; background: var(--paper-3); }
.cue-table td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.cue-table .cueid { font-family: var(--f-mono); color: var(--olive-deep); font-size: 11px; }
.cue-table .track { color: var(--ink); font-weight: 700; font-family: var(--f-display); }
.cue-table .track small { display: block; color: var(--ink-3); font-weight: 400; font-size: 10.5px; font-family: var(--f-body); font-style: italic; }
.cue-table .num { font-family: var(--f-mono); color: var(--ink); text-align: right; font-size: 11.5px; }
.cue-table .scene { font-family: var(--f-mono); color: var(--ink-2); font-size: 10.5px; }
.cue-table tr:hover td { background: rgba(168,165,14,.06); }

/* ============================================================
   Demo modal (popup)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; }
.modal.open { display: flex; }
.modal__overlay { position: fixed; inset: 0; background: rgba(23,23,15,.55); backdrop-filter: blur(3px); }
.modal__card { position: relative; z-index: 1; width: 100%; max-width: 520px; margin: auto; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(26px,4vw,40px); animation: modalIn .28s var(--ease) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); display: grid; place-items: center; background: var(--paper); transition: background .2s, color .2s, border-color .2s; }
.modal__close:hover { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }
.modal__title { font-size: clamp(22px,3vw,28px); margin-top: 4px; letter-spacing: -.02em; }
.modal__sub { color: var(--ink-2); font-size: 14.5px; margin: 10px 0 22px; }
body.modal-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce){ .modal__card { animation: none; } }

/* ============================================================
   Balanced typography — prevent orphans / hanging words
   ============================================================ */
/* Even out line lengths on headings and short text blocks */
h1, h2, h3, h4, h5,
.hero__sub, .lead, .modal__title, .modal__sub,
.plan__name, .plan__for, .plan__seat,
.card h3, .card__cue, .qa__q,
.stat b, .stat span, .pillar b, .pillar span,
.kcell .val, .kcell .lbl, .bcard .val,
.eyebrow, .warn-strip, .hero__trust, .foot__brand .tagline {
  text-wrap: balance;
}
/* Avoid a single word on the last line of body copy */
p, li,
.hero__body, .card p, .qa__a p,
.feature-list li, .aside-list li, .plan__feats li,
.foot__brand p, .form-note, .modal__sub {
  text-wrap: pretty;
}
/* .lead and subs are short enough to read best fully balanced */
.lead, .hero__sub, .modal__sub, .plan__for { text-wrap: balance; }
