  :root {
    --cream:   #f0ece2;
    --cream-2: #e9e4d6;
    --card:    #ffffff;
    /* Brand red. Matches T.accent in client/src/lib/theme.js — keep in
       sync so the marketing site and the app don't drift apart. */
    --brand:   #c0202f;  /* primary brick red */
    --brand-2: #e8888f;  /* light tint */
    --brand-d: #8f1622;  /* dark — hover/pressed */
    --ink:     #111108;
    --sub:     #4a4838;
    --muted:   #888877;
    --border:  #d8d3c4;
    --border-2: #ece8de;
    --shadow-sm: 0 1px 2px rgba(17,17,8,0.04);
    --shadow:    0 4px 16px rgba(17,17,8,0.06), 0 1px 3px rgba(17,17,8,0.04);
    --shadow-lg: 0 16px 48px rgba(17,17,8,0.10), 0 4px 12px rgba(17,17,8,0.05);
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 0;
  }

  /* ─── Page glows (matches LoginPage feel) ─── */
  body::before, body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
  }
  body::before {
    top: -10%; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse, rgba(192,32,47,0.10) 0%, transparent 70%);
  }
  body::after {
    bottom: -15%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(ellipse, rgba(192,32,47,0.05) 0%, transparent 70%);
  }

  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
  .wrap-tight { max-width: 920px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

  /* ─── Logo ─── */
  .logo {
    display: inline-flex; align-items: center; gap: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .logo-dot {
    width: 22px; height: 22px;
    flex-shrink: 0;
    object-fit: contain;
  }
  .logo-letter {
    height: 1.25em;
    width: auto;
    object-fit: contain;
    vertical-align: -0.28em;
    margin-right: 1px;
  }

  /* ─── Buttons ─── */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 11px 20px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
  }
  .btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 2px 12px rgba(192,32,47,0.25);
  }
  .btn-primary:hover {
    background: var(--brand-d);
    box-shadow: 0 4px 16px rgba(192,32,47,0.35);
    transform: translateY(-1px);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.6); border-color: var(--brand); color: var(--brand); }
  .btn-link {
    background: transparent;
    color: var(--brand);
    padding: 11px 4px;
    border: none;
  }
  .btn-link:hover { color: var(--brand-d); }
  .btn-block { width: 100%; }
  .btn-arrow { transition: transform 0.2s; display: inline-block; }
  .btn:hover .btn-arrow { transform: translateX(3px); }

  /* ─── Header ─── */
  .header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(240, 236, 226, 0.82);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }
  .header.scrolled { border-bottom-color: var(--border); }
  .header-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
  }
  .header .logo { font-size: 18px; }
  .nav-links {
    display: flex; gap: 32px;
    font-size: 13px; color: var(--sub);
  }
  .nav-links a { transition: color 0.15s; }
  .nav-links a:hover { color: var(--brand); }
  .header-cta { display: flex; gap: 10px; align-items: center; }

  /* ─── Hero ─── */
  .hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.5);
    border-radius: 999px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: var(--brand-d);
    font-weight: 500;
    margin-bottom: 28px;
  }
  .eyebrow .eb-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 2px rgba(232,136,143,0.25);
  }
  .hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    max-width: 18ch;
    margin: 0 auto 24px;
    font-weight: 800;
  }
  .hero h1 .accent {
    color: var(--brand);
    font-style: italic;
    font-weight: 700;
  }
  .hero-sub {
    font-size: 16px;
    color: var(--sub);
    max-width: 60ch;
    margin: 0 auto 36px;
    line-height: 1.6;
  }
  .hero-ctas {
    display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 28px;
  }
  .hero-trust {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.04em;
    max-width: 70ch;
    margin: 0 auto;
    line-height: 1.7;
  }
  .hero-trust strong { color: var(--brand-d); font-weight: 500; }

  /* Hero product preview */
  .hero-preview {
    max-width: 1080px;
    margin: 72px auto 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
  }
  .hero-preview::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(240,236,226,0.4));
    pointer-events: none;
  }
  .hp-bar {
    display: flex; align-items: stretch; gap: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-2);
    background: #ededed;
    min-height: 36px;
  }
  .hp-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 14px 8px 12px;
    background: #faf8f3;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--ink);
    font-weight: 500;
    max-width: 220px;
    border: 1px solid transparent;
    border-bottom: none;
    position: relative;
    top: 1px;
  }
  .hp-tab-favicon {
    width: 12px; height: 12px;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    flex-shrink: 0;
  }
  .hp-tab-close {
    margin-left: 6px;
    width: 14px; height: 14px;
    border-radius: 3px;
    display: grid; place-items: center;
    color: var(--muted);
    font-size: 12px;
    line-height: 1;
  }
  .hp-nav {
    display: flex; align-items: center; gap: 4px;
    padding: 0 10px 0 12px;
  }
  .hp-nav-btn {
    width: 24px; height: 24px;
    display: grid; place-items: center;
    color: var(--sub);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
  }
  .hp-nav-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .hp-nav-btn.dim { color: var(--border); }
  .hp-url {
    flex: 1;
    align-self: center;
    background: #fff;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    padding: 5px 12px 5px 28px;
    font-size: 11px;
    color: var(--sub);
    margin: 0 8px;
    position: relative;
    max-width: none;
    text-align: left;
  }
  .hp-url::before {
    content: "";
    position: absolute;
    left: 9px; top: 50%;
    width: 10px; height: 10px;
    transform: translateY(-50%);
    background: var(--muted);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>") no-repeat center / contain;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='11' width='14' height='9' rx='1.5'/><path d='M8 11V8a4 4 0 0 1 8 0v3'/></svg>") no-repeat center / contain;
  }
  .hp-url strong { color: var(--ink); font-weight: 500; }
  .hp-win {
    display: flex; align-items: stretch;
    margin-left: auto;
  }
  .hp-win-btn {
    width: 42px;
    display: grid; place-items: center;
    color: var(--sub);
  }
  .hp-win-btn svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 1.2; }
  .hp-win-btn.close { color: var(--ink); }
  .hp-win-btn.close:hover { background: #e81123; color: #fff; }
  .hp-body {
    display: grid; grid-template-columns: 180px 1fr;
    min-height: 420px;
  }
  .hp-side {
    background: #fafaf3;
    border-right: 1px solid var(--border-2);
    padding: 18px 12px;
    font-size: 12px;
  }
  .hp-side-h {
    font-size: 9.5px; color: var(--muted);
    letter-spacing: 0.12em; padding: 10px 8px 6px;
    text-align: left;
  }
  .hp-side-h:first-child { padding-top: 0; }
  .hp-side-item {
    padding: 7px 10px; border-radius: 6px;
    color: var(--sub);
    display: flex; align-items: center; gap: 8px;
  }
  .hp-side-item.active { background: var(--brand); color: #fff; }
  .hp-side-count {
    margin-left: auto;
    font-size: 10px;
    opacity: 0.65;
  }
  .hp-main { padding: 22px 26px; }
  .hp-main-h {
    display: flex; align-items: baseline; justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-2);
  }
  .hp-main-h h4 {
    font-family: 'Inter', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--ink);
    margin: 0;
  }
  .hp-main-h .meta { font-size: 11px; color: var(--muted); }
  .hp-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
  .hp-table th {
    text-align: left;
    font-size: 9.5px; font-weight: 500;
    color: var(--muted); letter-spacing: 0.1em;
    padding: 10px 6px 8px;
    border-bottom: 1px solid var(--border-2);
  }
  .hp-table td {
    padding: 11px 6px;
    border-bottom: 1px solid var(--border-2);
    font-size: 12px;
    color: var(--ink);
  }
  .hp-table tr:last-child td { border-bottom: none; }
  .hp-id { color: var(--muted); font-size: 11px; }
  .hp-name { display: flex; align-items: center; gap: 9px; }
  .hp-thumb {
    width: 24px; height: 24px; border-radius: 5px;
    background: var(--cream);
    border: 1px solid var(--border-2);
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700;
    color: var(--brand);
    display: grid; place-items: center;
  }
  .pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
  }
  .pill .pdot { width: 5px; height: 5px; border-radius: 50%; }
  .pill.assigned { background: rgba(192,32,47,0.10); color: var(--brand-d); }
  .pill.assigned .pdot { background: var(--brand); }
  .pill.stock    { background: rgba(136,136,119,0.12); color: var(--sub); }
  .pill.stock .pdot { background: var(--muted); }
  .pill.repair   { background: rgba(228,207,138,0.30); color: #8a6d1a; }
  .pill.repair .pdot { background: #c9a72e; }
  .pill.retired  { background: rgba(228,168,160,0.30); color: #8a3030; }
  .pill.retired .pdot { background: #b03030; }

  /* ─── Dashboard preview ─── */
  .hp-dash .hp-main-h { align-items: flex-start; }
  .hp-dash .hp-main-h h4 { font-size: 19px; }
  .hp-stats {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
    margin: 18px 0 20px;
  }
  .hp-stat-card {
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 14px 14px 12px;
    background: #fff;
  }
  .hp-stat-num {
    font-family: 'Inter', sans-serif;
    font-size: 22px; font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
  }
  .hp-stat-label {
    font-size: 9px; font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-top: 6px;
  }
  .hp-stat-sub { font-size: 10.5px; color: var(--sub); margin-top: 2px; }
  .hp-panels {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px;
    align-items: start;
  }
  .hp-panel {
    border: 1px solid var(--border-2);
    border-radius: 10px;
    padding: 16px 18px 18px;
    background: #fff;
  }
  .hp-panel-h {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 10px; font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 12px;
  }
  .hp-panel-link { font-size: 11px; font-weight: 500; color: var(--brand); text-decoration: none; letter-spacing: normal; }
  .hp-bar-group-label {
    font-size: 9px; font-weight: 600; letter-spacing: 0.1em; color: var(--muted);
    margin: 12px 0 8px;
  }
  .hp-bar-group-label:first-of-type { margin-top: 0; }
  .hp-bar-row + .hp-bar-group-label { margin-top: 14px; }
  .hp-bar-row { margin-bottom: 10px; }
  .hp-bar-top {
    display: flex; justify-content: space-between;
    font-size: 12px; color: var(--ink);
    margin-bottom: 4px;
  }
  .hp-bar-top span:last-child { color: var(--muted); font-size: 11px; }
  .hp-bar-track { height: 6px; border-radius: 999px; background: var(--cream-2); overflow: hidden; }
  .hp-bar-fill { height: 100%; border-radius: 999px; }
  .hp-bar-fill.good { background: var(--brand); }
  .hp-bar-fill.warn { background: #c9a72e; }
  .hp-bar-fill.muted { background: var(--border); }
  .hp-bar-fill.accent { background: var(--brand-2); }
  .hp-recent-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-2);
  }
  .hp-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hp-recent-name { font-size: 13px; font-weight: 600; color: var(--ink); }
  .hp-recent-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
  .hp-recent-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
  .hp-recent-val { font-size: 11px; color: var(--sub); }

  /* ─── Section header ─── */
  section { position: relative; padding: 90px 0; }
  .sec-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    color: var(--brand);
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
  }
  .sec-eyebrow::before {
    content: ""; width: 18px; height: 1px; background: var(--brand);
  }
  .sec-title {
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    max-width: 22ch;
    margin: 0 0 16px;
  }
  .sec-sub {
    font-size: 15px;
    color: var(--sub);
    max-width: 62ch;
    line-height: 1.6;
    margin: 0;
  }
  .sec-head { margin-bottom: 56px; }
  .sec-head-center { text-align: center; margin-bottom: 56px; }
  .sec-head-center .sec-eyebrow::before { display: none; }
  .sec-head-center .sec-title,
  .sec-head-center .sec-sub { margin-left: auto; margin-right: auto; }

  /* ─── Features ─── */
  .feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .feat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 22px 22px;
    display: flex; flex-direction: column; gap: 10px;
    transition: all 0.18s;
    box-shadow: var(--shadow-sm);
  }
  .feat:hover {
    border-color: var(--brand-2);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  .feat-ico {
    width: 36px; height: 36px;
    border-radius: 9px;
    background: rgba(192,32,47,0.08);
    color: var(--brand);
    display: grid; place-items: center;
    margin-bottom: 4px;
  }
  .feat-ico svg { width: 18px; height: 18px; stroke-width: 1.75; }
  .feat h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .feat p {
    font-size: 12.5px;
    color: var(--sub);
    margin: 0;
    line-height: 1.55;
  }
  .feat-tag {
    display: inline-flex;
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--brand);
    background: rgba(192,32,47,0.08);
    padding: 2px 7px;
    border-radius: 4px;
    margin-top: 4px;
    align-self: flex-start;
    font-weight: 500;
  }

  /* ─── What teams track ─── */
  /* Reuses .feat / .feat-ico / .feat h3 / .feat p for the cards themselves —
     only the grid differs (3-up so six tiles form a clean 2x3). */
  .tracks { background: var(--cream-2); }
  .track-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .track-grid .feat p { color: var(--muted); }

  /* ─── Pricing ─── */
  .pricing { background: var(--cream-2); }
  .pricing::before {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: var(--border);
  }
  .price-toggle {
    display: inline-flex;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    margin: 0 auto 48px;
    position: relative;
  }
  .price-toggle input { position: absolute; opacity: 0; pointer-events: none; }
  .price-toggle label {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex; align-items: center; gap: 7px;
  }
  .price-toggle input:checked + label {
    background: var(--brand);
    color: #fff;
  }
  .save-badge {
    background: var(--brand-2);
    color: var(--brand-d);
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  .price-toggle input:checked + label .save-badge {
    background: rgba(255,255,255,0.20);
    color: #fff;
  }
  .toggle-wrap { text-align: center; }
  .usd-note {
    text-align: center;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
    margin: 14px 0 34px;
  }
  .usd-note::before {
    content: "· ";
    color: var(--brand);
  }
  .usd-note::after {
    content: " ·";
    color: var(--brand);
  }

  .plans {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .plan {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 20px 24px;
    display: flex; flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.18s;
  }
  .plan:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }
  .plan.popular {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px var(--brand), 0 8px 28px rgba(192,32,47,0.18);
  }
  .plan-ribbon {
    position: absolute;
    top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.14em;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
  }
  .plan h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
  }
  .plan-desc {
    font-size: 11.5px;
    color: var(--muted);
    margin-bottom: 18px;
    min-height: 30px;
  }
  .plan-price {
    display: flex; align-items: baseline; gap: 4px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 4px;
  }
  .plan-price .amt {
    font-size: 36px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .plan-price .unit {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
  }
  .plan-yearly {
    font-size: 10.5px;
    color: var(--muted);
    margin-bottom: 20px;
    min-height: 16px;
  }
  .plan-cta { margin-bottom: 20px; }
  .plan.popular .btn-ghost {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
  }
  .plan.popular .btn-ghost:hover { background: var(--brand-d); border-color: var(--brand-d); }
  .plan-feats-h {
    font-size: 9.5px;
    color: var(--muted);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-top: 16px;
    border-top: 1px dashed var(--border);
  }
  .plan-feats {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 8px;
  }
  .plan-feat {
    font-size: 11.5px;
    color: var(--sub);
    line-height: 1.45;
    padding-left: 18px;
    position: relative;
  }
  .plan-feat::before {
    content: "";
    position: absolute;
    left: 0; top: 6px;
    width: 9px; height: 5px;
    border-left: 1.5px solid var(--brand);
    border-bottom: 1.5px solid var(--brand);
    transform: rotate(-45deg);
  }
  .plan-feat.soon { color: var(--muted); }
  .plan-feat.soon::before { border-color: var(--muted); }

  /* Enterprise card */
  .enterprise {
    background: linear-gradient(135deg, #fafaf3 0%, var(--cream) 100%);
    border: 1px dashed var(--border);
    border-radius: 14px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr 1.6fr auto;
    gap: 32px;
    align-items: center;
  }
  .enterprise h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .ent-ribbon {
    display: inline-block;
    background: rgba(192,32,47,0.10);
    color: var(--brand-d);
    font-size: 9px;
    letter-spacing: 0.14em;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .enterprise p {
    font-size: 12.5px; color: var(--sub); margin: 0;
  }
  .ent-body {
    font-size: 12.5px;
    color: var(--sub);
    margin: 0;
    line-height: 1.65;
  }
  .ent-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 18px;
    list-style: none;
    padding: 0; margin: 0;
  }
  .ent-list li {
    font-size: 12px;
    color: var(--sub);
    padding-left: 16px;
    position: relative;
  }
  .ent-list li::before {
    content: "+";
    position: absolute; left: 0;
    color: var(--brand);
    font-weight: 700;
  }

  /* ─── Audit band ─── */
  .audit-band {
    text-align: center;
    background:
      radial-gradient(ellipse at center, rgba(192,32,47,0.06), transparent 70%),
      var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
  }
  .audit-band h2 {
    font-size: clamp(28px, 4vw, 40px);
    max-width: 24ch;
    margin: 0 auto 16px;
  }
  .audit-band h2 .accent { color: var(--brand); font-style: italic; }
  .audit-band p {
    font-size: 14.5px;
    color: var(--sub);
    max-width: 64ch;
    margin: 0 auto 28px;
    line-height: 1.65;
  }
  .audit-pills {
    display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  }
  .audit-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 11.5px;
    color: var(--sub);
  }
  .audit-pill .check {
    color: var(--brand); font-weight: 700;
  }

  /* ─── Trust ─── */
  .trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }
  .trust-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex; flex-direction: column; gap: 6px;
  }
  .trust-h {
    font-size: 9.5px;
    color: var(--muted);
    letter-spacing: 0.14em;
    font-weight: 500;
    text-transform: uppercase;
  }
  .trust-card h4 {
    font-size: 16px;
    font-weight: 700;
  }
  .trust-card p {
    font-size: 11.5px;
    color: var(--sub);
    margin: 0;
    line-height: 1.5;
  }
  .trust-foot {
    text-align: center;
    font-size: 12px;
    color: var(--muted);
  }
  .trust-foot a {
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(192,32,47,0.4);
  }

  /* ─── FAQ ─── */
  .faq {
    background: var(--cream);
  }
  .faq-list {
    border-top: 1px solid var(--border);
  }
  .faq details {
    border-bottom: 1px solid var(--border);
    padding: 4px 0;
  }
  .faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
    letter-spacing: -0.005em;
    transition: color 0.15s;
  }
  .faq summary:hover { color: var(--brand); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    color: var(--brand);
    font-weight: 400;
    transition: transform 0.2s;
    line-height: 1;
  }
  .faq details[open] summary::after { content: "−"; }
  .faq-body {
    padding: 0 0 22px;
    font-size: 13px;
    color: var(--sub);
    max-width: 70ch;
    line-height: 1.65;
  }
  .faq-body p { margin: 0 0 8px; }
  .faq-body p:last-child { margin-bottom: 0; }

  /* ─── Final CTA ─── */
  .final-cta {
    text-align: center;
    background: var(--cream-2);
    padding: 110px 0;
    border-top: 1px solid var(--border);
  }
  .final-cta h2 {
    font-size: clamp(36px, 5vw, 56px);
    max-width: 18ch;
    margin: 0 auto 18px;
    letter-spacing: -0.02em;
    line-height: 1.05;
  }
  .final-cta h2 .accent { color: var(--brand); font-style: italic; }
  .final-cta p {
    font-size: 15px;
    color: var(--sub);
    margin: 0 auto 32px;
    max-width: 50ch;
  }
  .final-cta .btn-primary {
    padding: 14px 28px;
    font-size: 14px;
  }

  /* ─── Footer ─── */
  footer {
    border-top: 1px solid var(--border);
    background: var(--cream);
    padding: 36px 0 32px;
  }
  .foot-inner {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; flex-wrap: wrap;
  }
  .foot-left {
    display: flex; flex-direction: column; gap: 6px;
  }
  .foot-left .copyright {
    font-size: 11px;
    color: var(--muted);
  }
  .foot-right {
    display: flex; align-items: center; gap: 20px;
    font-size: 12px;
    color: var(--muted);
  }
  .foot-right a { transition: color 0.15s; }
  .foot-right a:hover { color: var(--brand); }
  .status {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--sub);
  }
  .status .sdot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--brand-2);
    box-shadow: 0 0 0 2px rgba(232,136,143,0.25);
    animation: pulse 2.4s infinite ease-in-out;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(232,136,143,0.25); }
    50%      { box-shadow: 0 0 0 5px rgba(232,136,143,0.05); }
  }

  /* ─── Responsive ─── */
  @media (max-width: 1080px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .track-grid { grid-template-columns: repeat(2, 1fr); }
    .plans { grid-template-columns: repeat(2, 1fr); }
    .plan { min-width: 0; }
    .enterprise { grid-template-columns: 1fr; gap: 18px; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .ent-list { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    .wrap, .wrap-tight { padding: 0 20px; }
    section { padding: 64px 0; }
    .hero { padding: 60px 0 40px; }
    .nav-links { display: none; }
    .feat-grid { grid-template-columns: 1fr; }
    .track-grid { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .hp-body { grid-template-columns: 1fr; min-height: auto; }
    .hp-side { display: none; }
    .hp-table th:nth-child(2), .hp-table td:nth-child(2),
    .hp-table th:nth-child(4), .hp-table td:nth-child(4) { display: none; }
    .hp-stats { grid-template-columns: repeat(2, 1fr); }
    .hp-panels { grid-template-columns: 1fr; }
    .foot-inner { flex-direction: column; align-items: flex-start; }
  }

  /* Yearly mode (toggled via :has on the radio) */
  body:has(#yr:checked) .price-monthly { display: none; }
  body:not(:has(#yr:checked)) .price-yearly { display: none; }

  /* active nav state for multi-page */
  .nav-links a.active { color: var(--brand); font-weight: 600; }
  .page-lead { padding-top: 24px; }
