@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Lexend:wght@500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* Warm editorial-premium palette (Stripe/Arc-inspired) — the single
     design language for the whole product. Light theme = warm cream
     paper, dark theme = deep ink. One confident amber-orange accent,
     no more teal. See body[data-page="home"] below for the homepage's
     extra decorative (hm-*) layer, which builds on these same tokens. */
  --page-bg: #faf5ec;
  --surface: #ffffff;
  --surface-2: #f4ecdc;
  --surface-3: #ece0c9;
  --line: #e6d9bd;
  --line-soft: #efe6d1;
  --text: #201808;
  --text-dim: #6c614c;
  --text-faint: #9a8f76;
  --amber: #a8730f;
  --danger: #b3402c;

  --green: #e2481e;
  --green-dim: #c23a17;
  --green-deep: #9c2f12;
  --green-glow: rgba(226, 72, 30, 0.22);
  --accent-grad: linear-gradient(135deg, #ff8a3d 0%, #e2481e 55%, #b3300f 100%);
  --on-accent: #fff8ef;

  --term-bg: #191309;
  --term-bg-2: #21190d;
  --term-line: #362a17;
  --term-text: #f6ecdb;
  --term-text-dim: #ab9a80;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 26px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --shadow-xs: 0 1px 2px rgba(32, 20, 4, 0.05);
  --shadow-card: 0 1px 1px rgba(32, 20, 4, 0.04), 0 10px 24px -14px rgba(32, 20, 4, 0.18), 0 30px 60px -32px rgba(32, 20, 4, 0.2);
  --shadow-lg: 0 2px 6px rgba(32, 20, 4, 0.08), 0 30px 70px -24px rgba(32, 20, 4, 0.3);
  --shadow-glow: 0 0 0 1px rgba(226, 72, 30, 0.35), 0 16px 40px -14px rgba(226, 72, 30, 0.4);
}

:root[data-theme="dark"] {
  --page-bg: #100c06;
  --surface: #191308;
  --surface-2: #1f180c;
  --surface-3: #271e10;
  --line: #332711;
  --line-soft: #241b0d;
  --text: #f7efdf;
  --text-dim: #b3a488;
  --text-faint: #7c7057;
  --amber: #f0c15a;
  --danger: #f0806a;
  --green-glow: rgba(255, 154, 84, 0.24);
  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.25), 0 10px 24px -14px rgba(0, 0, 0, 0.5), 0 30px 60px -32px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 30px 70px -24px rgba(0, 0, 0, 0.65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page-bg: #100c06;
    --surface: #191308;
    --surface-2: #1f180c;
    --surface-3: #271e10;
    --line: #332711;
    --line-soft: #241b0d;
    --text: #f7efdf;
    --text-dim: #b3a488;
    --text-faint: #7c7057;
    --amber: #f0c15a;
    --danger: #f0806a;
    --green-glow: rgba(255, 154, 84, 0.24);
    --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.25), 0 10px 24px -14px rgba(0, 0, 0, 0.5), 0 30px 60px -32px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 30px 70px -24px rgba(0, 0, 0, 0.65);
  }
}

* { box-sizing: border-box; }

section[id] { scroll-margin-top: 76px; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, .brand, .plan-card .price, .mkt-h2 {
  font-family: var(--font-display);
}

.term,
.term .intake input,
.chrome .path {
  font-family: ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;
}

.mono { font-variant-numeric: tabular-nums; }

a { color: inherit; }

/* --- topbar --- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page-bg) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}
.brand .accent { color: inherit; }

.brand-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--accent-grad);
  box-shadow: 0 2px 8px -2px var(--green-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark svg { display: block; color: var(--on-accent); }

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
}
.topbar nav a { color: var(--text-dim); text-decoration: none; }
.topbar nav a:hover, .topbar nav a.active { color: var(--text); }

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px 10px;
  margin: 0 -10px;
  border-radius: 7px;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-trigger:hover, .nav-dropdown-trigger.active { color: var(--text); background: var(--surface-2); }
.nav-dropdown-trigger svg { transition: transform 0.15s; }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  padding: 6px;
  z-index: 10;
}
.nav-dropdown.open .nav-dropdown-panel { display: block; }

.nav-dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--text) !important;
}
.nav-dropdown-item:hover, .nav-dropdown-item.active { background: var(--surface-2); }
.nav-dropdown-item .label { font-size: 14px; font-weight: 600; }
.nav-dropdown-item .desc { font-size: 12px; color: var(--text-dim); }
.soon-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-dim);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 4px;
  vertical-align: middle;
}

.quota-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
}
.quota-pill .bar { width: 36px; height: 3px; border-radius: 2px; background: var(--surface-2); overflow: hidden; }
.quota-pill .bar > i { display: block; height: 100%; background: var(--green-dim); }

/* --- page shell --- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

main.narrow { max-width: 420px; }

h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.sub { color: var(--text-dim); font-size: 15.5px; margin-bottom: 26px; }

/* --- cards / forms --- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="url"],
select {
  width: 100%;
  padding: 11px 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus { outline: none; border-color: var(--green-dim); box-shadow: 0 0 0 3px var(--green-glow); }
input:disabled { opacity: 0.6; cursor: not-allowed; }

.row { display: flex; gap: 12px; }
.row .form-group { flex: 1; }

.payment-history-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.payment-history-table th {
  text-align: left; padding: 8px 10px; color: var(--text-dim); font-weight: 600;
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.03em;
  border-bottom: 1px solid var(--line);
}
.payment-history-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.payment-history-table tr:last-child td { border-bottom: none; }
.payment-history-table .status-failed { color: var(--danger); }

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  background: var(--accent-grad);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(10, 111, 99, 0.3);
  transition: box-shadow 0.18s ease, transform 0.12s ease, filter 0.18s ease;
}
button:hover, .btn:hover { filter: brightness(1.08); box-shadow: 0 6px 18px -6px var(--green-glow); transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(1px); filter: brightness(0.98); }
button:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; transform: none; }

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover { background: var(--surface-2); border-color: var(--text-faint); box-shadow: var(--shadow-xs); filter: none; }

.btn-block { width: 100%; }

.message {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 16px;
}
.message.error { background: rgba(192, 70, 58, 0.1); color: var(--danger); }
.message.success { background: rgba(13, 143, 128, 0.12); color: var(--green-dim); }

.hidden { display: none !important; }

.field-hint { font-size: 13px; color: var(--text-dim); margin-top: 14px; text-align: center; }

/* --- auth pages (login, forgot/reset password, verify email) --- */
main.narrow { padding-top: 72px; }
.auth-head { text-align: center; margin-bottom: 28px; }
.auth-head .brand-mark { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 18px; }
.auth-head .brand-mark svg { width: 20px; height: 20px; }
.auth-head h1 { font-style: italic; text-align: center; }
.auth-head .sub { text-align: center; }
.card.auth-card { padding: 32px; }
@media (max-width: 480px) { main.narrow { padding-top: 48px; } }

/* --- account tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tabs button {
  background: transparent;
  color: var(--text-dim);
  border: none;
  border-radius: 6px 6px 0 0;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
}
.tabs button:hover { background: var(--surface-2); color: var(--text); }
.tabs button.active { color: var(--text); background: var(--surface-2); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-panel .card + .card { margin-top: 16px; }
.card h3 { margin: 0 0 16px; font-size: 17px; }

/* --- plans --- */
.grid-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
  align-items: stretch;
}

.plan-card {
  text-align: center;
  position: relative;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s;
}
.plan-card.featured { border-color: transparent; box-shadow: var(--shadow-glow); }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.plan-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-grad); color: var(--on-accent); font-size: 11px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase;
}
.plan-card .name { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.plan-card .plan-tagline { font-size: 13px; color: var(--text-dim); margin: 0 0 18px; }
.plan-card .price { font-size: 40px; font-weight: 800; margin: 4px 0 22px; letter-spacing: -0.02em; }
.plan-card .price span { font-size: 14px; color: var(--text-dim); font-weight: 400; }
.plan-card .quota { font-size: 14.5px; font-weight: 600; color: var(--green-dim); margin: 10px 0 24px; }

/* --- video history --- */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 44px 0 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.video-list { display: flex; flex-direction: column; }

.video-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.video-item .dur { font-size: 13px; color: var(--text-dim); padding-top: 3px; }
.video-item .title { font-weight: 600; font-size: 16.5px; margin: 0 0 5px; }
.video-item .tldr {
  color: var(--text-dim); font-size: 14px; margin: 0 0 8px; max-width: 50ch;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.source-link {
  display: inline-block;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: var(--green-dim);
}
.source-link:hover { text-decoration: underline; }

.status-badge {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-badge.done { background: rgba(13, 143, 128, 0.12); color: var(--green-dim); }
.status-badge.processing { background: rgba(163, 130, 31, 0.12); color: var(--amber); }
.status-badge.failed { background: rgba(192, 70, 58, 0.12); color: var(--danger); }

.empty-state { color: var(--text-dim); font-size: 14.5px; padding: 30px 0; text-align: center; }

.video-item { cursor: pointer; }
.video-item:hover { background: var(--surface-2); }

.video-detail {
  padding: 4px 0 22px 68px;
  border-bottom: 1px solid var(--line);
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}

.detail-block { margin-bottom: 18px; }
.detail-block:last-child { margin-bottom: 0; }
.detail-block h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.detail-block ul { margin: 0; padding-left: 18px; }
.detail-block li { font-size: 14.5px; color: var(--text); margin-bottom: 6px; line-height: 1.5; }

.chapter-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.chapter-time { font-size: 12px; color: var(--text-dim); padding-top: 2px; }
.chapter-title { font-weight: 600; font-size: 15px; margin: 0 0 3px; }
.chapter-summary { font-size: 14px; color: var(--text-dim); margin: 0; line-height: 1.5; }

.transcript-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  white-space: pre-wrap;
  max-height: 340px;
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin: 0 0 12px;
}
.transcript-actions { display: flex; gap: 8px; }
.transcript-actions button { padding: 8px 14px; font-size: 12.5px; }

.result-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.result-actions button { padding: 8px 14px; font-size: 12.5px; }


/* --- legal / prose pages --- */
main.legal {
  max-width: 680px;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
}
main.legal h1 { font-family: inherit; }
main.legal .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 32px; }
main.legal h2 {
  font-size: 18px;
  margin: 32px 0 10px;
  color: var(--text);
}
main.legal p, main.legal li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
}
main.legal ul { padding-left: 20px; }
main.legal a { color: var(--green-dim); }
main.legal strong { color: var(--text); }

/* --- terminal window (dashboard intake) --- */
.window {
  position: relative;
  background: var(--term-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -28px rgba(15, 15, 25, 0.45), 0 0 0 1px var(--term-line), 0 0 90px -30px var(--green-glow);
}

.quality-row {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
  position: relative;
  z-index: 1;
}
.quality-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--term-line);
  background: transparent;
  color: var(--term-text-dim);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.quality-opt.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-accent);
}
.quality-opt.locked { opacity: 0.6; }
.quality-opt .lock-badge { font-size: 11px; opacity: 0.8; }
.quality-hint {
  padding: 8px 16px 14px;
  margin: 0;
  font-size: 12px;
  color: var(--term-text-dim);
  position: relative;
  z-index: 1;
}

/* Try-it boxes sit on a light card, not the dark terminal window - use the
   page's own text/border tokens instead of the terminal-tuned ones above. */
.mkt-try-box .quality-row {
  padding: 14px 0 0;
  justify-content: center;
}
.mkt-try-box .quality-opt {
  border-color: var(--line);
  color: var(--text-dim);
}
.mkt-try-box .quality-opt.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--on-accent);
}

.window canvas.rain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--term-bg-2);
  border-bottom: 1px solid var(--term-line);
  position: relative;
  z-index: 1;
}
.chrome .dot { width: 9px; height: 9px; border-radius: 50%; }
.chrome .dot.r { background: #e0645a; }
.chrome .dot.y { background: #e0b84f; }
.chrome .dot.g { background: #4fb865; }
.chrome .path { margin-left: 8px; font-size: 13px; color: var(--term-text-dim); }

.term {
  position: relative;
  z-index: 1;
  padding: 22px 26px 26px;
  color: var(--term-text);
}

.term .intake {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--term-bg-2);
  border: 1px solid var(--term-line);
  border-radius: 6px;
  padding: 3px 3px 3px 14px;
}
.term .intake .p { color: var(--green); flex-shrink: 0; font-size: 16px; }
.term .intake input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--term-text);
  font-family: inherit;
  font-size: 15px;
  padding: 12px 4px;
  outline: none;
}
.term .intake button { border-radius: 4px; padding: 10px 18px; font-size: 13px; }

.term-status {
  margin-top: 12px;
  font-size: 12px;
  color: var(--term-text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}
.term-status .blip {
  width: 6px; height: 6px; border-radius: 50%; background: var(--amber);
  animation: blip 1s step-start infinite;
}
@keyframes blip { 50% { opacity: 0.2; } }
@media (prefers-reduced-motion: reduce) { .term-status .blip { animation: none; } }

/* ============================================================
   Marketing pages (homepage, features) — "mkt-" prefixed to stay
   isolated from the app-shell h1/.sub/main sizing used elsewhere.
   ============================================================ */

.mkt-section { padding: 88px 24px; }
.mkt-section.tint { background: var(--surface); }
.mkt-inner { max-width: 720px; margin: 0 auto; }
.mkt-inner.wide { max-width: 900px; }

.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-glow);
  border: 1px solid rgba(226, 72, 30, 0.28);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
:root[data-theme="dark"] .mkt-eyebrow { color: var(--green); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mkt-eyebrow { color: var(--green); }
}
.mkt-eyebrow .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-dim);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .mkt-eyebrow .pulse-dot { animation: none; } }

/* --- hero --- */
.mkt-hero {
  position: relative;
  text-align: center;
  padding: 64px 24px 56px;
  overflow: hidden;
}
.mkt-hero::before {
  content: '';
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 460px;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle, rgba(15, 160, 143, 0.24) 0%, rgba(20, 184, 166, 0.08) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.mkt-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, black 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.mkt-hero .mkt-inner { position: relative; z-index: 1; max-width: 700px; }
.mkt-hero h1 {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 16px;
  text-wrap: balance;
  background: linear-gradient(135deg, var(--text) 45%, var(--green-deep) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mkt-hero .lede {
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 560px;
  text-wrap: balance;
}
.mkt-cta-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.mkt-cta-row .btn, .mkt-cta-row button { padding: 13px 26px; font-size: 15px; }
.mkt-trust { margin-top: 12px; font-size: 13px; color: var(--text-dim); }

@media (max-width: 640px) {
  .mkt-hero h1 { font-size: 32px; }
  .mkt-section { padding: 64px 20px; }
  .mkt-hero { padding: 40px 20px 40px; }
}

/* --- section headings (reused across homepage bands + features header) --- */
.mkt-h2 { font-size: 36px; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 12px; text-wrap: balance; }
.mkt-h2.center { text-align: center; }
.mkt-lede { font-size: 17px; color: var(--text-dim); line-height: 1.6; margin: 0 0 44px; max-width: 560px; }
.mkt-lede.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .mkt-h2 { font-size: 28px; }
}

/* --- demo window band (reuses .window/.chrome/.term) --- */
.mkt-demo .window { max-width: 640px; margin: 0 auto; }
.mkt-hero-window { max-width: 600px; margin: 26px auto 0; text-align: left; }

/* --- how it works: 3 numbered steps --- */
.mkt-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.mkt-step { padding: 4px 28px; text-align: center; }
.mkt-step:not(:first-child) { border-left: 1px solid var(--line); }
.mkt-step .num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--green-dim);
  font-size: 17px;
  font-weight: 800;
}
.mkt-step h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.mkt-step p { font-size: 15px; color: var(--text-dim); line-height: 1.55; margin: 0; }
@media (max-width: 720px) {
  .mkt-steps { grid-template-columns: 1fr; gap: 32px; }
  .mkt-step:not(:first-child) { border-left: none; padding-top: 24px; border-top: 1px solid var(--line); }
}

/* --- value prop / feature teaser tiles --- */
.mkt-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.mkt-tiles .card:hover { transform: translateY(-3px); border-color: var(--green-dim); box-shadow: var(--shadow-lg); }
.mkt-tiles .card h3 { font-size: 17px; margin: 0 0 8px; }
.mkt-tiles .card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; margin: 0; }
@media (max-width: 640px) { .mkt-tiles { grid-template-columns: 1fr; } }

/* --- products grid (homepage "pick your tool") --- */
.mkt-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.mkt-products .card { text-align: center; display: flex; flex-direction: column; height: 100%; }
.mkt-products .card:hover { transform: translateY(-4px); border-color: var(--green-dim); box-shadow: var(--shadow-lg); }
.mkt-products .mkt-icon-badge { margin-left: auto; margin-right: auto; }
.mkt-products .card h3 { font-size: 19px; margin: 0 0 10px; white-space: nowrap; }
.mkt-products .card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; margin: 0 0 20px; flex: 1; }
@media (max-width: 860px) { .mkt-products { grid-template-columns: 1fr; } }

.mkt-icon-badge {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--green-dim);
  margin-bottom: 16px;
}
.mkt-icon-badge svg { width: 20px; height: 20px; }

/* --- pricing teaser checklist --- */
.mkt-plan-checklist { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; flex: 1; }
.mkt-plan-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-dim);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}
.mkt-plan-checklist li:first-child { border-top: none; }
.mkt-plan-checklist svg { width: 15px; height: 15px; color: var(--green-dim); flex-shrink: 0; }

.mkt-more-link { display: block; text-align: right; margin-top: 18px; font-size: 14px; color: var(--green-dim); text-decoration: none; }
.mkt-more-link:hover { text-decoration: underline; }

/* --- pricing teaser row (labels above the reused .grid-plans) --- */
.mkt-pricing-cta { text-align: center; margin-top: 28px; }
.mkt-pricing-cta a { color: var(--green-dim); font-size: 14.5px; text-decoration: none; }
.mkt-pricing-cta a:hover { text-decoration: underline; }

/* --- final CTA band --- */
.mkt-cta-band { position: relative; text-align: center; overflow: hidden; }
.mkt-cta-band::before {
  content: '';
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 360px;
  background: radial-gradient(ellipse at center, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}
.mkt-cta-band .mkt-inner { position: relative; z-index: 1; }
.mkt-cta-band h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 26px; }

/* --- output mockup (shows a real example summary, using dashboard's own classes) --- */
.mkt-mockup { max-width: 640px; margin: 28px auto 0; text-align: left; }
.mkt-mockup .video-item { border-top: none; padding-top: 0; cursor: default; }
.mkt-mockup .video-item:hover { background: transparent; }
.mkt-mockup .video-detail { padding-left: 68px; border-bottom: none; }

/* --- features page: alternating rows --- */
.mkt-feature-row {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 900px;
  margin: 0 auto;
}
.mkt-feature-row.reverse { flex-direction: row-reverse; }
.mkt-feature-row .text { flex: 1 1 0; min-width: 0; }
.mkt-feature-row .text h3 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.mkt-feature-row .text p { font-size: 16px; color: var(--text-dim); line-height: 1.6; margin: 0; }
.mkt-feature-row .visual {
  flex: 0 0 260px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 720px) {
  .mkt-feature-row, .mkt-feature-row.reverse { flex-direction: column; gap: 24px; }
  .mkt-feature-row .visual { flex-basis: auto; width: 100%; }
}

.mkt-visual-tile {
  width: 100%;
  height: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.mkt-visual-tile .big-num {
  font-size: 64px;
  font-weight: 800;
  color: var(--line);
  font-variant-numeric: tabular-nums;
}
.mkt-visual-tile .big-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--green-dim);
}
.mkt-visual-tile .big-icon svg { width: 38px; height: 38px; }
.mkt-visual-tile .bars { display: flex; align-items: flex-end; gap: 6px; height: 70%; }
.mkt-visual-tile .bars i { display: block; width: 10px; background: var(--green-dim); border-radius: 3px; opacity: 0.55; }
.mkt-visual-tile .bars i:nth-child(2) { opacity: 0.85; }
.mkt-visual-tile .snippet { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; color: var(--green-dim); text-align: left; line-height: 1.7; }
.mkt-visual-tile .snippet .dim { color: var(--text-dim); }
.mkt-visual-tile .mini-term { width: 100%; background: var(--term-bg); border-radius: 8px; overflow: hidden; }
.mkt-visual-tile .mini-term .chrome { padding: 8px 12px; }
.mkt-visual-tile .mini-term .term { padding: 10px 14px 14px; font-size: 12px; }
.mkt-visual-tile .mini-term .term .p { color: var(--green); margin-right: 6px; }

/* --- generic page header (features page) --- */
.mkt-page-header { text-align: center; padding: 72px 24px 56px; }
.mkt-page-header h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 14px; text-wrap: balance; }
.mkt-page-header p { font-size: 17px; color: var(--text-dim); max-width: 560px; margin: 0 auto; }
@media (max-width: 640px) { .mkt-page-header h1 { font-size: 30px; } }

.mkt-try-box { max-width: 560px; margin: 28px auto 0; }
.mkt-try-form { display: flex; gap: 8px; }
.mkt-try-form input { flex: 1; }
.mkt-try-form button { white-space: nowrap; }
@media (max-width: 480px) { .mkt-try-form { flex-direction: column; } }
.mkt-try-hint { font-size: 13px; color: var(--text-dim); margin: 10px 0 0; text-align: center; }
.mkt-try-result {
  margin-top: 18px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.mkt-try-result.hidden { display: none; }
.mkt-try-result h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-dim); margin: 16px 0 8px; }
.mkt-try-result ul { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.mkt-try-result .tldr { font-size: 15px; line-height: 1.6; margin: 0; }
.mkt-try-status { color: var(--text-dim); font-size: 14px; margin: 0; }
.mkt-try-error { color: var(--danger); font-size: 14px; margin: 0; }
.mkt-try-cta { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; }

/* --- scroll reveal (JS toggles .in-view via IntersectionObserver, see js/reveal.js) --- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.21s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* --- bento grid (asymmetric "why it matters" layout) --- */
.mkt-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}
.mkt-bento .card { display: flex; flex-direction: column; justify-content: center; }
.mkt-bento .card.b-wide { grid-column: span 2; }
.mkt-bento .card.b-tall { grid-row: span 2; }
.mkt-bento .card.b-large { grid-column: span 2; grid-row: span 2; }
.mkt-bento .card.b-large h3 { font-size: 21px; }
.mkt-bento .card.b-large p { font-size: 15.5px; }
.mkt-bento .mkt-icon-badge { width: 48px; height: 48px; border-radius: 12px; }
.mkt-bento .card.b-large .mkt-icon-badge { width: 56px; height: 56px; border-radius: 14px; }
.mkt-bento .card.b-large .mkt-icon-badge svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .mkt-bento { grid-template-columns: repeat(2, 1fr); }
  .mkt-bento .card.b-large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .mkt-bento { grid-template-columns: 1fr; }
  .mkt-bento .card.b-wide, .mkt-bento .card.b-tall, .mkt-bento .card.b-large { grid-column: span 1; grid-row: span 1; }
}

/* --- richer footer --- */
footer.mkt-footer {
  text-align: left;
  padding: 56px 32px 32px;
  border-top: 1px solid var(--line);
}
.mkt-footer-inner { max-width: 1080px; margin: 0 auto; }
.mkt-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
}
.mkt-footer-brand .brand { margin-bottom: 10px; }
.mkt-footer-brand p { font-size: 13.5px; color: var(--text-dim); max-width: 260px; line-height: 1.6; margin: 0; }
.mkt-footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.mkt-footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-dim); margin: 0 0 12px; font-weight: 600; }
.mkt-footer-col a { display: block; font-size: 14px; color: var(--text); text-decoration: none; margin-bottom: 9px; opacity: 0.82; }
.mkt-footer-col a:hover { opacity: 1; text-decoration: underline; }
.mkt-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--text-dim);
}

/* ================================================================
   HOMEPAGE DECORATIVE LAYER — hm-* classes, used only by index.html.
   The warm editorial-premium palette (Fraunces + Manrope, amber-
   orange accent) is now the site-wide default defined in :root
   above; everything here is index.html-specific layout/decoration
   (hero split, bento grid, CTA band, etc.), not a separate theme.
   ================================================================ */

/* a couple of extra accent tones used only by the hero's floating bits */
body[data-page="home"] { --ink-accent-2: #ffb43d; }
body[data-page="home"][data-theme="dark"],
body[data-page="home"].theme-dark { --ink-accent-2: #ffb43d; }

/* --- hero: asymmetric split, not centered --- */
.hm-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 32px 40px;
  border-bottom: 1px solid var(--line);
}
.hm-hero::before {
  content: '';
  position: absolute;
  top: -280px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  background: radial-gradient(circle, rgba(226, 72, 30, 0.28) 0%, rgba(255, 180, 61, 0.12) 45%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hm-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: var(--green-glow);
  border: 1px solid rgba(226, 72, 30, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
body[data-page="home"][data-theme="dark"] .hm-eyebrow,
body[data-page="home"].theme-dark .hm-eyebrow { color: var(--ink-accent-2); }
@media (prefers-color-scheme: dark) {
  body[data-page="home"]:not([data-theme="light"]) .hm-eyebrow { color: var(--ink-accent-2); }
}
.hm-eyebrow .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-dim); animation: pulse 2s infinite; }

.hm-hero h1 {
  font-size: 60px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
  text-wrap: balance;
  color: var(--text);
}
.hm-hero h1 em {
  font-style: italic;
  color: var(--green-dim);
}
.hm-hero .lede {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 30px;
  max-width: 480px;
}
.hm-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.hm-cta-row .btn, .hm-cta-row button { padding: 15px 28px; font-size: 15.5px; border-radius: 10px; }
.hm-trust { font-size: 13.5px; color: var(--text-faint); }

.hm-stat-row {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hm-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
}
.hm-stat span {
  display: block;
  font-size: 12.5px;
  color: var(--text-faint);
  margin-top: 2px;
}

/* --- hero visual: tilted product card instead of a terminal window --- */
.hm-hero-visual { position: relative; }
.hm-hero-visual .window {
  transform: rotate(1.2deg);
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(20, 10, 0, 0.5), 0 0 0 1px var(--term-line), 0 0 120px -40px var(--green-glow);
}
.hm-hero-visual .window:hover { transform: rotate(0deg); transition: transform 0.4s ease; }
.hm-hero-visual .term .intake .p { color: var(--ink-accent-2); }
.hm-float-card {
  position: absolute;
  bottom: -22px;
  left: -30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transform: rotate(-2deg);
  z-index: 2;
}
.hm-float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fae6b; }
@media (max-width: 980px) {
  .hm-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hm-hero h1 { font-size: 42px; }
  .hm-float-card { left: 8px; }
}
@media (max-width: 560px) {
  .hm-hero { padding: 56px 20px 32px; }
  .hm-hero h1 { font-size: 34px; }
  .hm-stat-row { gap: 22px; }
}

/* --- section shell reused across the rest of the page --- */
.hm-section { padding: 96px 32px; }
.hm-section.tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-inner { max-width: 1080px; margin: 0 auto; }
.hm-inner.narrow { max-width: 760px; }
.hm-kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin: 0 0 12px;
}
.hm-kicker.center { text-align: center; }
.hm-h2 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hm-h2.center { text-align: center; }
.hm-lede { font-size: 16.5px; color: var(--text-dim); line-height: 1.6; margin: 0 0 48px; max-width: 560px; }
.hm-lede.center { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) {
  .hm-section { padding: 64px 20px; }
  .hm-h2 { font-size: 28px; }
}

/* --- demo mockup band --- */
.hm-demo .hm-inner { max-width: 760px; }
.hm-mockup {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 8px 28px 28px;
}
.hm-mockup .video-item { border-top: none; padding-top: 20px; cursor: default; }
.hm-mockup .video-item:hover { background: transparent; }
.hm-mockup .video-detail { padding-left: 68px; border-bottom: none; }

/* --- "pick your tool" cards --- */
.hm-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.hm-tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.hm-tool-card:hover { transform: translateY(-5px); border-color: var(--green-dim); box-shadow: var(--shadow-lg); }
.hm-tool-num { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--green-dim); margin-bottom: 18px; }
.hm-tool-card h3 { font-size: 21px; margin: 0 0 10px; font-weight: 600; }
.hm-tool-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin: 0 0 22px; flex: 1; }
@media (max-width: 860px) { .hm-tools { grid-template-columns: 1fr; } }

/* --- how it works: connected steps --- */
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hm-step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.hm-step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-grad);
  color: var(--on-accent);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 18px;
}
.hm-step h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.hm-step p { font-size: 14.5px; color: var(--text-dim); line-height: 1.6; margin: 0; }
@media (max-width: 780px) { .hm-steps { grid-template-columns: 1fr; } }

/* --- FAQ --- */
.hm-faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.hm-faq-item { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.hm-faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.hm-faq-item h3 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.hm-faq-item p { font-size: 15px; color: var(--text-dim); line-height: 1.65; margin: 0; }
.hm-faq-item p a { color: var(--green-deep); text-decoration: underline; }

/* --- why it matters: bento --- */
.hm-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(160px, auto); gap: 18px; }
.hm-bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hm-bento-card.b-large { grid-column: span 2; grid-row: span 2; background: var(--text); color: var(--page-bg); }
.hm-bento-card.b-large h3 { color: inherit; font-size: 23px; }
.hm-bento-card.b-large p { color: color-mix(in srgb, var(--page-bg) 65%, var(--text) 35%); font-size: 15.5px; }
.hm-bento-card.b-large .hm-icon { background: color-mix(in srgb, var(--page-bg) 88%, transparent); border-color: transparent; color: var(--green-dim); }
.hm-bento-card.b-wide { grid-column: span 2; }
.hm-bento-card h3 { font-size: 17px; margin: 0 0 8px; font-weight: 600; }
.hm-bento-card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.55; margin: 0; }
.hm-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--line);
  color: var(--green-dim); margin-bottom: 16px;
}
.hm-icon svg { width: 21px; height: 21px; }
@media (max-width: 860px) {
  .hm-bento { grid-template-columns: repeat(2, 1fr); }
  .hm-bento-card.b-large { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px) {
  .hm-bento { grid-template-columns: 1fr; }
  .hm-bento-card.b-wide, .hm-bento-card.b-large { grid-column: span 1; }
}
.hm-more-link { display: inline-block; margin-top: 24px; font-size: 14.5px; font-weight: 700; color: var(--green-dim); text-decoration: none; }
.hm-more-link:hover { text-decoration: underline; }

/* --- pricing teaser --- */
.hm-pricing-cta { text-align: center; margin-top: 32px; }
.hm-pricing-cta a { color: var(--green-dim); font-size: 14.5px; font-weight: 700; text-decoration: none; }
.hm-pricing-cta a:hover { text-decoration: underline; }

/* --- final CTA band --- */
.hm-cta-band {
  position: relative;
  text-align: center;
  overflow: hidden;
  background: var(--text);
  color: var(--page-bg);
  border-radius: var(--radius-lg);
  margin: 0 32px 96px;
  padding: 88px 32px;
}
.hm-cta-band::before {
  content: '';
  position: absolute;
  bottom: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(226, 72, 30, 0.35) 0%, transparent 70%);
  pointer-events: none;
}
.hm-cta-band .hm-inner { position: relative; z-index: 1; }
.hm-cta-band h2 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.01em;
  margin: 0 0 30px;
  color: color-mix(in srgb, var(--page-bg) 92%, var(--text) 8%);
}
.hm-cta-band .btn { padding: 15px 30px; font-size: 15.5px; border-radius: 10px; }
@media (max-width: 640px) {
  .hm-cta-band { margin: 0 16px 64px; padding: 56px 24px; }
  .hm-cta-band h2 { font-size: 28px; }
}
