/* ── CHANGELOG brand type system — self-hosted (Logan style guide v1.0) ──
   Vendored woff2 in /fonts (latin + latin-ext, unicode-range gated so English
   content only ever pulls the latin subset; latin-ext never loads at runtime).
   No Google Fonts fetch — preserves the site's cookie-less / no-PII posture
   (same reasoning as the Chart.js vendoring). Weights trimmed to those in use:
   Poppins 700/800 (display), Inter 400-700 (body/UI), JetBrains Mono 400/500
   (labels + log data). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/poppins-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Live palette — unchanged. Dan's call (2026-06-18): LIVE WINS on every
     conflict with the guide; the guide's named tokens are added as aliases
     below so new work can speak the brand vocabulary while working values stay
     put. Amber/red are the shared status palette (Try-it Status field) — also
     live-wins. */
  --bg: #0d1117;
  --panel: #161b22;
  --line: #21262d;
  --ink: #e6edf3;
  --muted: #8b949e;
  --accent: #3fb950;
  --accent2: #58a6ff;
  --amber: #d29922;
  --red: #f85149;
  --violet: #bc8cff;
  --radius: 16px;
  --max: 1080px;

  /* Brand-guide token aliases → mapped onto the live values above. */
  --green: var(--accent);
  --blue: var(--accent2);
  --purple: var(--violet);
  --surface: var(--panel);
  --border: var(--line);
  --text: var(--ink);
  /* Collision guard: the guide names the dark background "--ink", but the live
     site's "--ink" is the LIGHT text. We keep the live meaning and expose the
     background under a distinct alias so nothing reads the wrong one. */
  --surface-deep: var(--bg);

  /* Type roles (Logan guide §08): Poppins display, Inter body, JetBrains Mono
     labels + log data. System fallbacks keep text legible before swap. */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', 'Cascadia Code', Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(13, 17, 23, 0.95);
  border-bottom: 1px solid rgba(33, 38, 45, 0.9);
  backdrop-filter: blur(18px);
}

.page-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 24px;
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 18px;
}

/* Header logo as the master SVG lockup (brand guide: wordmark is fixed
   artwork, not live text). Sized to respect the 120px full-lockup minimum. */
.site-logo img {
  height: 30px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav .active {
  color: var(--ink);
}

.page-header .cta {
  background: var(--accent);
  color: #04140a;
  border-radius: 999px;
  padding: 12px 20px;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section {
  padding: 72px 24px;
}

.section.hero {
  min-height: calc(100vh - 46px);
  min-height: calc(100dvh - 46px);
  display: grid;
  place-items: center;
}

/* Landing scroll-snap deck. Scoped to .deck so the header sub-pages
   (about/consulting/try/changelog) keep normal document flow. */
.deck {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.deck .section {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 64px 28px 96px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 86px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.lead {
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--muted);
  max-width: 760px;
  margin-top: 22px;
}

.sub {
  color: var(--muted);
  max-width: 760px;
  margin-top: 18px;
  font-size: 16px;
}

.mono {
  font-family: var(--font-mono);
}

.grid {
  display: grid;
  gap: 18px;
}

.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}

.card,
.form-card,
.chartbox,
.field,
.try-panel,
.feed-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card,
.form-card,
.feed-card {
  padding: 24px;
}

.card .k,
.form-card .k,
.feed-card .k {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 12px;
}

.stat {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
}

.stat.green {
  color: var(--accent);
}

.stat.blue {
  color: var(--accent2);
}

.stat.violet {
  color: var(--violet);
}

.pill,
.feed-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.pill {
  background: rgba(63, 185, 80, 0.13);
  color: var(--accent);
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.status-pill.complete {
  background: rgba(63, 185, 80, 0.12);
  color: var(--accent);
  border: 1px solid rgba(63, 185, 80, 0.3);
}

.status-pill.current {
  background: rgba(88, 166, 255, 0.12);
  color: var(--accent2);
  border: 1px solid rgba(88, 166, 255, 0.3);
}

.status-pill.delayed,
.status-pill.blocked,
.status-pill.on-hold {
  background: rgba(220, 130, 70, 0.12);
  color: var(--amber);
  border: 1px solid rgba(220, 130, 70, 0.3);
}

.status-pill.blocked {
  background: rgba(248, 81, 73, 0.12);
  color: var(--red);
  border: 1px solid rgba(248, 81, 73, 0.3);
}

.status-pill.on-hold {
  background: rgba(188, 140, 255, 0.12);
  color: var(--violet);
  border: 1px solid rgba(188, 140, 255, 0.3);
}

.clean {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.clean li {
  padding-left: 28px;
  position: relative;
  color: var(--ink);
  font-size: 17px;
}

.clean li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.clean li span {
  color: var(--muted);
  font-size: 15px;
}

.chartbox {
  padding: 20px;
  min-height: 340px;
  position: relative;
}

.chartbox.tall {
  min-height: 380px;
}

.datamodel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  justify-content: center;
}

.field {
  padding: 16px 20px;
  min-width: 120px;
  text-align: center;
}

.field .fk {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent2);
  font-weight: 500;
}

.field .fd {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.arrow {
  align-self: center;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

/* Collapse the 3-up roadmap to a single column on mobile, matching .g3. Placed
   after the base rule so it wins by source order (a max-width block earlier in
   the file would be overridden by the rule above). */
@media (max-width: 920px) {
  .roadmap {
    grid-template-columns: 1fr;
  }
}

.layer {
  padding: 24px;
  overflow: hidden;
}

.layer .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.layer ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.layer li {
  font-size: 15px;
  color: var(--ink);
  padding-left: 18px;
  position: relative;
}

.layer li:before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.layer .status {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.layer.l1 {
  border-color: rgba(63, 185, 80, 0.4);
}

.layer.l1 .tag {
  color: var(--accent);
}

.layer.l2 .tag {
  color: var(--accent2);
}

.layer.l3 .tag {
  color: var(--violet);
}

.quote {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.35;
  max-width: 820px;
  letter-spacing: -0.01em;
}

.quote .by {
  display: block;
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 18px;
}

.cta,
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #04140a;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}

.url {
  font-family: var(--font-mono);
  color: var(--accent2);
  font-size: 18px;
  margin-top: 14px;
  display: inline-block;
}

.statusbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  background: var(--panel);
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.statusbar .footer b {
  color: var(--ink);
}

.statusbar .hint {
  font-size: 12px;
  opacity: 0.75;
}

.statusbar .counter {
  font-family: var(--font-mono);
}

@media (max-width: 620px) {
  .statusbar .hint {
    display: none;
  }

  /* A tall section sitting under the mobile URL bar can become unreachable with
     mandatory snapping. Relax to proximity so every section stays scrollable;
     desktop keeps mandatory. */
  .deck {
    scroll-snap-type: y proximity;
  }

  /* Three Try-it charts stacked at 340px each ran ~1.1k px tall on a phone. */
  .chartbox {
    min-height: 220px;
  }

  .chartbox.tall {
    min-height: 260px;
  }
}

.navdots {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 50;
}

.navdots a {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #30363d;
  display: block;
  transition: 0.2s;
  border: 1px solid #30363d;
}

.navdots a.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}

.try-button {
  position: fixed;
  bottom: 64px;
  right: 24px;
  z-index: 70;
  background: var(--accent);
  color: #04140a;
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.try-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.try-panel {
  padding: 26px;
}

.try-panel h2 {
  margin-bottom: 18px;
}

/* "Add another" reopens the entry flow as a centered popup over a static page.
   The same .try-panel becomes a full-screen dim overlay; its inner step wrapper
   becomes the card. Background scroll is locked via body.modal-open. */
.try-panel.as-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 4, 9, 0.66);
  backdrop-filter: blur(3px);
  border: none;
  border-radius: 0;
}

.try-panel.as-modal #tryStepWrapper {
  width: 100%;
  max-width: 480px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

body.modal-open {
  overflow: hidden;
}

.try-step {
  display: grid;
  gap: 14px;
}

.try-step .prompt {
  font-size: 18px;
  font-weight: 700;
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f161f;
  color: var(--ink);
  padding: 16px 18px;
}

.form-input::-webkit-calendar-picker-indicator {
  filter: invert(0.9);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  background: transparent;
  /* Buttons don't inherit color, so set it explicitly or chips render black. */
  color: var(--ink);
}

.chip:hover {
  transform: translateY(-1px);
  border-color: var(--accent2);
}

.chip.selected {
  background: rgba(88, 166, 255, 0.16);
  border-color: var(--accent2);
  color: var(--accent2);
}

/* Area-of-Work autocomplete: a dropdown anchored under the text input. Absolute
   so it overlays rather than reflowing the step card; suggestions are real
   buttons (keyboard + tap reachable). */
.input-wrap {
  position: relative;
}

.area-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.area-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.area-opt:hover,
.area-opt.active {
  background: rgba(88, 166, 255, 0.16);
  color: var(--accent2);
}

.try-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.try-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

.feed-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.feed-card {
  padding: 22px;
}

.feed-card h3 {
  margin-bottom: 10px;
}

.feed-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  align-items: center;
}

.feed-meta .date {
  color: var(--muted);
  font-size: 14px;
}

.feed-pill {
  background: rgba(88, 166, 255, 0.14);
  color: var(--accent2);
  border: 1px solid rgba(88, 166, 255, 0.3);
}

.feed-pill.shipped {
  background: rgba(63, 185, 80, 0.14);
  color: var(--accent);
  border-color: rgba(63, 185, 80, 0.3);
}

.feed-pill.in-progress {
  background: rgba(88, 166, 255, 0.14);
  color: var(--accent2);
  border-color: rgba(88, 166, 255, 0.3);
}

.feed-pill.planned {
  background: rgba(210, 153, 34, 0.14);
  color: var(--amber);
  border-color: rgba(210, 153, 34, 0.3);
}

/* Try-it mock database table + fly-in insert animation */
.db-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.db-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.db-table th {
  font-family: var(--font-mono);
  text-align: left;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  font-weight: 500;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.db-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  vertical-align: top;
  background: transparent;
  transition: background 1.1s ease;
}

.db-table tbody tr:last-child td {
  border-bottom: none;
}

.db-table .col-change {
  min-width: 180px;
}

.db-row-enter {
  animation: rowIn 0.45s ease;
}

@keyframes rowIn {
  from {
    transform: translateY(-14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.db-row-highlight td {
  background: rgba(63, 185, 80, 0.16);
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.step-counter {
  margin-top: -4px;
}

.form-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-card .form-row {
  margin-bottom: 18px;
}

.inline-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.success-message {
  border: 1px solid #234a28;
  background: rgba(63, 185, 80, 0.12);
  color: var(--accent);
  padding: 18px;
  border-radius: 16px;
  margin-top: 18px;
}

.error-message {
  border: 1px solid #5c2b2b;
  background: rgba(248, 81, 73, 0.12);
  color: #ff7b72;
  padding: 18px;
  border-radius: 16px;
  margin-top: 18px;
}

.error-message a {
  color: inherit;
  font-weight: 600;
}

/* Email capture popup — lands just after the Try-it payoff reveals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(1, 4, 9, 0.66);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s ease;
  text-align: center;
}

.modal-card .try-actions {
  justify-content: center;
}

.modal-title {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.modal-overlay.show .modal-card {
  transform: translateY(0) scale(1);
}

.modal-card .success-message {
  margin-top: 0;
}

@media (max-width: 760px) {
  .page-header .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .try-button {
    right: 16px;
    bottom: 90px;
  }
}
