
  :root {
    /* palette vars — mutated by Tweaks */
    --bg: #F7F5F0;
    --fg: #0B1220;
    --fg-dim: #4A5264;
    --line: #E4E0D7;
    --card: #FFFFFF;
    --elev: #FDFCF8;
    --accent: oklch(0.78 0.15 225);
    --accent-ink: #0B1220;
    --warn: oklch(0.78 0.15 75);
    --crit: oklch(0.62 0.18 25);
    --shadow: 0 1px 0 rgba(11,18,32,.04), 0 18px 48px -24px rgba(11,18,32,.15);

    --font-display: 'Instrument Serif', Georgia, serif;
    --font-ui: 'Geist', 'Inter', -apple-system, system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --r-sm: 6px; --r-md: 10px; --r-lg: 18px; --r-xl: 24px;

    --pad-section: 120px;
    --pad-gutter: 32px;
    --pad-card: 28px;
    --gap: 24px;

    --h-hero: clamp(54px, 8.2vw, 128px);
    --h-section: clamp(36px, 4.6vw, 68px);
    --h-card: 22px;
    --body: 17px;
    --small: 14px;
  }
  [data-density="tight"] {
    --pad-section: 84px;
    --pad-card: 20px;
    --gap: 16px;
  }
  [data-density="airy"] {
    --pad-section: 160px;
    --pad-card: 36px;
    --gap: 32px;
  }
  [data-theme="dark"] {
    --bg: #0B0E13;
    --fg: #E6EAF2;
    --fg-dim: #7C8599;
    --line: #1A1F2B;
    --card: #10141C;
    --elev: #151A24;
    --accent-ink: #0B0E13;
    --shadow: 0 1px 0 rgba(0,0,0,.4), 0 24px 60px -20px rgba(0,0,0,.7);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font-ui); font-size: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; transition: background .35s ease, color .35s ease; }
  body { overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

  .container { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-gutter); }

  /* ===== NAV ===== */
  .nav {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: color-mix(in oklab, var(--bg) 78%, transparent);
    border-bottom: 1px solid transparent;
    transition: border-color .3s ease, background .3s ease;
  }
  .nav.scrolled { border-color: var(--line); }
  .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
  .logo-mark {
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; filter: brightness(0) invert(1); opacity: .95; }
  .logo-text { font-size: 15px; letter-spacing: -0.01em; }
  .logo-text em { font-family: var(--font-display); font-style: italic; font-weight: 400; }
  .nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--fg-dim); }
  .nav-links a { position: relative; transition: color .2s; }
  .nav-links a:hover { color: var(--fg); }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
    background: var(--fg); transition: width .25s ease;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta { display: flex; gap: 10px; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
    border: 1px solid var(--line); background: transparent; color: var(--fg);
    transition: all .2s ease;
  }
  .btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .btn-primary {
    background: var(--fg); color: var(--bg); border-color: var(--fg);
  }
  .btn-primary:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .btn-accent {
    background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  }
  .btn-accent:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
  .btn svg { width: 14px; height: 14px; }

  .mobile-toggle { display: none; width: 40px; height: 40px; border-radius: 8px; align-items: center; justify-content: center; }
  .mobile-toggle svg { width: 20px; height: 20px; }

  /* ===== HERO ===== */
  .hero { padding: 60px 0 80px; position: relative; }
  .hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
  [data-hero="stacked"] .hero-inner { grid-template-columns: 1fr; max-width: 1100px; margin: 0 auto; text-align: center; }
  [data-hero="stacked"] .hero-meta, [data-hero="stacked"] .hero-cta { justify-content: center; }
  [data-hero="stacked"] .hero-visual { margin-top: 40px; display: flex; flex-direction: column; gap: 96px; }
  .shot-hero-alt { transform: none !important; margin-top: 24px; }
  .hero-visual:hover .shot-hero-alt { transform: none !important; }
  [data-hero="stacked"] .shot-hero-alt { transform: none !important; }
  [data-hero="split"] .hero-inner { grid-template-columns: 1fr 1fr; }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--fg-dim);
    padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
    background: var(--card);
  }
  .eyebrow::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 25%, transparent);
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in oklab, var(--accent) 0%, transparent); } }

  h1.hero-title {
    font-family: var(--font-display);
    font-size: var(--h-hero); line-height: 0.96; letter-spacing: -0.025em;
    font-weight: 400; margin: 28px 0 24px;
    text-wrap: balance;
  }
  h1.hero-title em { font-style: italic; color: color-mix(in oklab, var(--fg) 75%, var(--accent)); }
  h1.hero-title .accent-u {
    background: linear-gradient(to top, color-mix(in oklab, var(--accent) 60%, transparent) 25%, transparent 25%);
    padding: 0 2px;
  }
  .hero-lede { font-size: 19px; color: var(--fg-dim); max-width: 540px; text-wrap: pretty; margin-bottom: 36px; }
  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
  .hero-meta { display: flex; gap: 28px; align-items: center; color: var(--fg-dim); font-size: 13px; flex-wrap: wrap; }
  .hero-meta-item { display: flex; align-items: center; gap: 8px; }
  .hero-meta-item .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

  /* ===== DASHBOARD MOCK ===== */
  .hero-visual { position: relative; }
  .dash {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 18px; box-shadow: var(--shadow);
    transform: perspective(1800px) rotateX(2deg) rotateY(-6deg);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .hero-visual:hover .dash { transform: perspective(1800px) rotateX(0deg) rotateY(-2deg); }
  [data-hero="stacked"] .dash { transform: none; }
  .dash-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
  .dash-bar-tabs { display: flex; gap: 2px; background: var(--elev); border-radius: 8px; padding: 3px; font-size: 12px; font-weight: 500; }
  .dash-bar-tabs button { padding: 6px 12px; border-radius: 6px; color: var(--fg-dim); }
  .dash-bar-tabs button.on { background: var(--card); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
  .dash-bar-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); }
  .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.8s ease-in-out infinite; }

  .dash-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
  .dash-card { background: var(--elev); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
  .dash-card h4 { margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--fg-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em; }
  .dash-kpi { display: flex; align-items: baseline; gap: 8px; }
  .dash-kpi .num { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
  .dash-kpi .delta { font-size: 12px; font-family: var(--font-mono); color: var(--accent); display: inline-flex; align-items: center; gap: 2px; }
  .dash-kpi .delta.down { color: var(--crit); }

  /* sparkline chart */
  .chart { height: 76px; margin-top: 10px; position: relative; }
  .chart svg { width: 100%; height: 100%; }
  .chart .area { fill: color-mix(in oklab, var(--accent) 18%, transparent); }
  .chart .line { fill: none; stroke: var(--accent); stroke-width: 1.8; }

  /* bars */
  .bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 8px; }
  .bars .b {
    flex: 1; background: linear-gradient(to top, var(--fg), color-mix(in oklab, var(--fg) 60%, transparent));
    border-radius: 3px 3px 0 0; min-height: 4px; transition: height .6s cubic-bezier(.2,.7,.2,1);
    position: relative;
  }
  .bars .b.hi { background: linear-gradient(to top, var(--accent), color-mix(in oklab, var(--accent) 50%, var(--fg))); }
  .bars-x { display: flex; gap: 6px; margin-top: 6px; font-family: var(--font-mono); font-size: 9px; color: var(--fg-dim); }
  .bars-x span { flex: 1; text-align: center; }

  .dash-row { margin-top: 14px; background: var(--elev); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
  .dash-row-head { padding: 10px 14px; display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--line); }
  .shipment { display: grid; grid-template-columns: 80px 1fr 80px 90px; padding: 10px 14px; font-size: 12px; align-items: center; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
  .shipment:last-child { border: 0; }
  .shipment .code { font-family: var(--font-mono); color: var(--fg-dim); font-size: 11px; }
  .pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
  .pill.ok { background: color-mix(in oklab, var(--accent) 18%, transparent); color: color-mix(in oklab, var(--accent) 90%, var(--fg)); }
  .pill.warn { background: color-mix(in oklab, var(--warn) 20%, transparent); color: color-mix(in oklab, var(--warn) 85%, var(--fg)); }
  .pill.crit { background: color-mix(in oklab, var(--crit) 18%, transparent); color: color-mix(in oklab, var(--crit) 90%, var(--fg)); }

  /* ===== SCREENSHOT SLOTS ===== */
  .shot {
    position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--card); overflow: hidden; cursor: pointer;
    transition: border-color .25s ease, transform .5s cubic-bezier(.2,.7,.2,1);
  }
  .shot-hero {
    transform: none;
    box-shadow: var(--shadow);
  }
  .shot-hero:not(.filled) { aspect-ratio: 16/10; }
  .shot-hero.filled { aspect-ratio: auto; }
  .shot-hero.filled img { height: auto; width: 100%; display: block; }
  .shot-uc:not(.filled) { aspect-ratio: 16/9; }
  .shot-uc.filled { aspect-ratio: auto; }
  .shot-uc.filled img { height: auto; width: 100%; display: block; }
  .hero-visual:hover .shot-hero { transform: none; }
  [data-hero="stacked"] .shot-hero { transform: none; }
  .shot img { display: none; width: 100%; height: 100%; object-fit: contain; object-position: center; background: var(--elev); }
  .shot.filled img { display: block; }
  .shot.filled .shot-inner { display: none; }
  .shot-inner { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .shot-frame {
    display: flex; align-items: center; gap: 12px; padding: 14px 18px;
    border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--elev) 90%, transparent);
  }
  .shot-dots { display: flex; gap: 6px; }
  .shot-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
  .shot-tab { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.04em; }
  .shot-cta {
    flex: 1; display: grid; place-items: center; align-content: center; gap: 6px; text-align: center;
    color: var(--fg-dim); padding: 24px;
    background: repeating-linear-gradient(45deg, transparent 0 12px, color-mix(in oklab, var(--fg-dim) 6%, transparent) 12px 13px);
  }
  .shot-cta svg { color: var(--accent); }
  .shot-label { font-family: var(--font-ui); font-weight: 500; font-size: 15px; color: var(--fg); margin-top: 6px; }
  .shot-sub { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
  .shot:hover { border-color: var(--accent); }
  .shot-replace {
    position: absolute; top: 10px; right: 10px; padding: 6px 10px;
    background: color-mix(in oklab, var(--card) 90%, transparent); border: 1px solid var(--line);
    border-radius: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--fg); opacity: 0; transition: opacity .2s; display: none;
  }
  .shot.filled .shot-replace { display: block; }
  .shot.filled:hover .shot-replace { opacity: 1; }

  /* ===== USE CASE MODAL ===== */
  .modal-root { position: fixed; inset: 0; z-index: 200; display: none; }
  .modal-root.on { display: block; }
  .modal-backdrop { position: absolute; inset: 0; background: color-mix(in oklab, #000 70%, transparent); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
  @keyframes fadeIn { from { opacity: 0; } }
  .modal {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(860px, calc(100vw - 32px)); max-height: 90vh; overflow: auto;
    background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,.6);
    animation: popIn .3s cubic-bezier(.2,.7,.2,1);
  }
  @keyframes popIn { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
  .modal-head { padding: 28px 32px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
  .modal-head > div:first-child { flex: 1; min-width: 0; }
  .modal-crumbs { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); margin-bottom: 12px; }
  .modal-head h3 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 400; margin: 0 0 14px; }
  .modal-head h3 em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .modal-head .tag { color: var(--fg-dim); font-size: 16px; margin: 0; }
  .modal-close { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; color: var(--fg); background: var(--card); }
  .modal-close:hover { background: var(--fg); color: var(--bg); }
  .modal-body { padding: 28px 32px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .modal-body h4 { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); margin: 0 0 14px; font-weight: 500; }
  .modal-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .modal-body li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.45; text-wrap: pretty; }
  .modal-body li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--accent); }
  .modal-note { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; background: color-mix(in oklab, var(--accent) 8%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent); font-size: 13px; color: var(--fg-dim); }
  .modal-screenshot { margin: 8px 32px 24px; }
  .modal-foot { padding: 20px 32px 28px; border-top: 1px solid var(--line); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .modal-foot .hint { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.05em; }
  @media (max-width: 640px) { .modal-body { grid-template-columns: 1fr; } }

  /* floating cards */
  .float {
    position: absolute; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r-md); padding: 10px 14px; box-shadow: var(--shadow);
    font-size: 13px; display: flex; align-items: center; gap: 10px;
    animation: float 6s ease-in-out infinite;
  }
  @keyframes float { 50% { transform: translateY(-6px); } }
  .float-1 { top: 10%; left: -30px; animation-delay: -2s; }
  .float-2 { bottom: 10%; right: -20px; animation-delay: -4s; }
  .float .icon { width: 28px; height: 28px; border-radius: 7px; background: color-mix(in oklab, var(--accent) 20%, transparent); display: grid; place-items: center; }
  .float .icon svg { width: 14px; height: 14px; color: color-mix(in oklab, var(--accent) 80%, var(--fg)); }
  .float .label { font-size: 11px; color: var(--fg-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }
  .float .val { font-weight: 600; font-variant-numeric: tabular-nums; }

  /* ===== LOGO WALL ===== */
  .logos { padding: 80px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--bg); }
  .logos-label { text-align: center; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-dim); margin-bottom: 40px; opacity: 0.7; }
  .logos-track-wrap { position: relative; mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%); }
  .logos-track {
    display: flex; gap: 80px; animation: scroll 60s linear infinite;
    width: max-content; align-items: center;
  }
  @keyframes scroll { to { transform: translateX(-50%); } }
  .logo-item {
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--fg);
    opacity: 0.32; white-space: nowrap; font-weight: 500;
    flex-shrink: 0; transition: opacity .25s ease;
  }
  .logos:hover .logos-track { animation-play-state: paused; }
  .logo-item:hover { opacity: 0.85; }

  /* ===== SECTIONS ===== */
  section { padding: var(--pad-section) 0; position: relative; }
  .section-head { max-width: 820px; margin-bottom: 64px; }
  .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
  .section-label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fg-dim);
    margin-bottom: 18px;
  }
  .section-label::before { content: ""; width: 24px; height: 1px; background: var(--fg-dim); }
  h2 {
    font-family: var(--font-display); font-size: var(--h-section); line-height: 1; letter-spacing: -0.02em;
    font-weight: 400; margin: 0 0 20px; text-wrap: balance;
  }
  h2 em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .section-lede { font-size: 19px; color: var(--fg-dim); max-width: 620px; text-wrap: pretty; }
  .section-head.center .section-lede { margin: 0 auto; }

  /* ===== ABOUT ===== */
  .about { background: var(--elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
  .about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .stat { background: var(--card); padding: 32px; }
  .stat .n { font-family: var(--font-display); font-size: 58px; line-height: 1; letter-spacing: -0.02em; font-weight: 400; font-variant-numeric: tabular-nums; }
  .stat .n em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .stat .n .unit { font-family: var(--font-ui); font-size: 22px; font-weight: 500; color: var(--fg-dim); margin-left: 4px; }
  .stat .lbl { font-size: 13px; color: var(--fg-dim); margin-top: 10px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; }

  /* ===== FEATURES ===== */
  .features-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap);
  }
  .feature {
    border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card);
    padding: var(--pad-card); transition: all .3s ease;
    position: relative; overflow: hidden;
  }
  .feature:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); }
  .feature-lg { grid-column: span 4; min-height: 360px; }
  .feature-sm { grid-column: span 2; }
  .feature-md { grid-column: span 3; }
  .feature-num { font-family: var(--font-mono); font-size: 11px; color: var(--fg-dim); letter-spacing: 0.05em; }
  .feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -0.015em; margin: 16px 0 10px; }
  .feature h3 em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .feature p { color: var(--fg-dim); margin: 0 0 20px; font-size: 15px; }
  .feature-viz { margin-top: 20px; }

  /* spend viz */
  .spend-viz { display: flex; flex-direction: column; gap: 8px; }
  .spend-row { display: grid; grid-template-columns: 80px 1fr 60px; align-items: center; gap: 12px; font-size: 12px; font-family: var(--font-mono); }
  .spend-row .lbl { color: var(--fg-dim); }
  .spend-bar { height: 6px; background: var(--elev); border-radius: 3px; overflow: hidden; }
  .spend-bar .fill { height: 100%; background: var(--fg); border-radius: 3px; transition: width 1s cubic-bezier(.2,.7,.2,1); }
  .spend-row.hi .spend-bar .fill { background: var(--accent); }
  .spend-row .val { text-align: right; font-variant-numeric: tabular-nums; }

  /* map viz */
  .map-viz { position: relative; height: 180px; background: var(--elev); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
  .map-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 40%, transparent); animation: ping 2.2s ease-out infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }

  /* ===== USE CASES ===== */
  .uc { background: var(--bg); border-top: 1px solid var(--line); }
  .uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
  .uc-card {
    background: var(--card); padding: 28px 24px; min-height: 220px;
    display: flex; flex-direction: column; justify-content: space-between;
    gap: 18px; cursor: pointer; transition: background .25s ease, color .25s ease;
    position: relative;
  }
  .uc-card:hover { background: var(--fg); color: var(--bg); }
  .uc-card:hover .uc-num, .uc-card:hover .uc-desc, .uc-card:hover .uc-arrow { color: color-mix(in oklab, var(--bg) 70%, transparent); }
  .uc-card:hover .uc-arrow { color: var(--accent); }
  .uc-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; color: var(--fg-dim); }
  .uc-title { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; margin: 6px 0 12px; }
  .uc-title em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .uc-card:hover .uc-title em { color: var(--accent); }
  .uc-desc { font-size: 14px; color: var(--fg-dim); margin: 0; text-wrap: pretty; line-height: 1.45; }
  .uc-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--fg-dim); transition: transform .25s ease; }
  .uc-card:hover .uc-arrow { transform: translateX(4px); }
  @media (max-width: 960px) { .uc-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 640px) { .uc-grid { grid-template-columns: 1fr; } }

  /* ===== CUSTOMER STORIES ===== */
  .cs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--gap); }
  .cs-card {
    grid-column: span 2; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 32px; display: flex; flex-direction: column; gap: 20px; min-height: 340px;
    transition: all .3s ease;
  }
  .cs-card:hover { border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); transform: translateY(-2px); box-shadow: var(--shadow); }
  .cs-card.cs-lg { grid-column: span 3; }
  .cs-head { display: flex; flex-direction: column; gap: 6px; }
  .cs-co { font-family: var(--font-display); font-size: 22px; font-style: italic; letter-spacing: -0.01em; }
  .cs-tag { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); }
  .cs-quote {
    font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.28;
    letter-spacing: -0.005em; margin: 0; text-wrap: pretty; flex: 1;
  }
  .cs-card.cs-lg .cs-quote { font-size: 30px; line-height: 1.2; }
  .cs-foot { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
  .cs-author { display: flex; align-items: center; gap: 12px; }
  .cs-author .name { font-size: 14px; font-weight: 500; }
  .cs-author .role { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); }
  .cs-source { display: flex; align-items: center; gap: 12px; }
  .cs-source .name { font-size: 14px; font-weight: 500; letter-spacing: -0.005em; }
  .cs-source .role { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
  .src-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent); }
  .cs-outcomes { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
  .cs-outcomes li { position: relative; padding-left: 18px; font-size: 13px; color: var(--fg-dim); }
  .cs-outcomes li::before {
    content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 2px; background: var(--accent);
  }
  @media (max-width: 960px) {
    .cs-grid { grid-template-columns: 1fr; }
    .cs-card, .cs-card.cs-lg { grid-column: span 1; min-height: 0; }
  }

  /* ===== RESOURCES ===== */
  .resources { background: var(--bg); border-top: 1px solid var(--line); }
  .res-title { text-wrap: balance; }
  .res-title em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .res-grid {
    display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 80px;
    margin-top: 64px; align-items: start;
  }
  .res-eyebrow {
    display: inline-block; font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim);
    padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
    margin-bottom: 28px;
  }
  .res-h3 {
    font-family: var(--font-display); font-weight: 400;
    font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1;
    letter-spacing: -0.02em; margin: 0 0 24px; text-wrap: balance;
  }
  .res-body {
    font-size: 17px; line-height: 1.55; color: var(--fg-dim);
    max-width: 46ch; text-wrap: pretty;
  }
  .res-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
  .res-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  }
  .res-card {
    background: var(--card); border: 1px solid var(--line);
    padding: 28px 24px; min-height: 200px;
    display: flex; flex-direction: column; gap: 12px;
    transition: border-color .25s ease, background .25s ease;
  }
  .res-card:hover { border-color: var(--accent); background: color-mix(in oklab, var(--card) 88%, var(--accent) 12%); }
  .res-num {
    font-family: var(--font-mono); font-size: 11px;
    letter-spacing: 0.05em; color: var(--fg-dim);
  }
  .res-card h4 {
    font-family: var(--font-display); font-weight: 400;
    font-size: 22px; line-height: 1.2; letter-spacing: -0.015em;
    margin: 4px 0 0;
  }
  .res-card p {
    font-size: 14px; line-height: 1.5; color: var(--fg-dim);
    margin: 0; text-wrap: pretty;
  }
  .res-why {
    margin-top: 80px; padding: 40px 48px;
    border: 1px solid var(--line); background: var(--elev);
    display: grid; grid-template-columns: 220px 1fr; gap: 48px;
    align-items: center;
  }
  .res-why-label {
    font-family: var(--font-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim);
  }
  .res-outcomes {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px;
  }
  .res-outcomes li {
    position: relative; padding-left: 20px;
    font-size: 15px; color: var(--fg); line-height: 1.4;
  }
  .res-outcomes li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 10px; height: 2px; background: var(--accent);
  }
  @media (max-width: 960px) {
    .res-grid { grid-template-columns: 1fr; gap: 48px; }
    .res-cards { grid-template-columns: 1fr; }
    .res-why { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
    .res-outcomes { grid-template-columns: 1fr; }
  }

  /* ===== TESTIMONIALS ===== */
  .testimonials { background: var(--elev); }
  .tm-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); }
  .tm-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 36px; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 340px;
  }
  .tm-card .quote { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -0.005em; text-wrap: pretty; }
  .tm-card.big .quote { font-size: 40px; line-height: 1.15; }
  .tm-card#tmCard3 .quote { font-size: 28px; line-height: 1.2; }
  .tm-card .quote em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
  .tm-author { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--fg)); color: var(--bg); display: grid; place-items: center; font-weight: 600; font-size: 14px; flex-shrink: 0; }
  .tm-author .name { font-size: 14px; font-weight: 500; }
  .tm-author .role { font-size: 12px; color: var(--fg-dim); font-family: var(--font-mono); }
  .tm-stat { background: var(--fg); color: var(--bg); border-radius: var(--r-lg); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; min-height: 340px; }
  [data-theme="dark"] .tm-stat { background: var(--accent); color: var(--accent-ink); }
  .tm-stat .n { font-family: var(--font-display); font-size: 88px; line-height: 0.9; letter-spacing: -0.03em; font-weight: 400; }
  .tm-stat .n em { font-style: italic; }
  .tm-stat .desc { font-size: 15px; opacity: 0.75; max-width: 240px; text-wrap: pretty; }

  /* ===== CTA ===== */
  .cta-section { position: relative; }
  .cta-box {
    background: var(--fg); color: var(--bg); border-radius: var(--r-xl);
    padding: 96px 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end;
    position: relative; overflow: hidden;
  }
  .cta-box::before {
    content: ""; position: absolute; inset: 0;
    background:
      radial-gradient(ellipse 600px 300px at 100% 100%, color-mix(in oklab, var(--accent) 35%, transparent) 0%, transparent 70%),
      radial-gradient(ellipse 400px 250px at 0% 0%, color-mix(in oklab, var(--accent) 15%, transparent) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-box > * { position: relative; z-index: 2; }
  .cta-box h2 { color: var(--bg); font-size: clamp(40px, 5vw, 76px); line-height: 0.98; letter-spacing: -0.025em; }
  .cta-box h2 em { color: color-mix(in oklab, var(--accent) 85%, var(--bg)); }
  .cta-form { display: flex; flex-direction: column; gap: 16px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; }
  .field input, .field select {
    background: color-mix(in oklab, var(--bg) 8%, transparent); border: 1px solid color-mix(in oklab, var(--bg) 20%, transparent);
    border-radius: 10px; color: var(--bg); padding: 12px 14px; font: inherit; outline: none;
    transition: border-color .2s, background .2s;
  }
  .field input::placeholder { color: color-mix(in oklab, var(--bg) 40%, transparent); }
  .field input:focus, .field select:focus { border-color: var(--accent); background: color-mix(in oklab, var(--bg) 12%, transparent); }
  .field.err input { border-color: var(--crit); }
  .field .msg { font-size: 12px; font-family: var(--font-mono); color: var(--crit); min-height: 14px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .form-sent {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    padding: 28px; border-radius: 12px;
    background: color-mix(in oklab, var(--accent) 20%, transparent);
    border: 1px solid color-mix(in oklab, var(--accent) 45%, transparent);
  }
  .form-sent h4 { margin: 0; font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: -0.01em; }
  .form-sent p { margin: 0; opacity: 0.85; font-size: 14px; }

  /* ===== FOOTER ===== */
  footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
  .foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
  .foot-brand { max-width: 280px; }
  .foot-brand p { color: var(--fg-dim); font-size: 14px; margin: 16px 0; text-wrap: pretty; }
  .foot-col h5 { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-dim); margin: 0 0 16px; font-weight: 500; }
  .foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
  .foot-col a { font-size: 14px; color: var(--fg); opacity: 0.75; transition: opacity .2s; }
  .foot-col a:hover { opacity: 1; }
  .foot-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--fg-dim); font-size: 13px; font-family: var(--font-mono); }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 960px) {
    :root { --pad-section: 80px; --h-hero: clamp(48px, 11vw, 72px); --h-section: clamp(32px, 6vw, 48px); }
    .nav-links, .nav-cta .btn:not(.btn-primary) { display: none; }
    .mobile-toggle { display: flex; }
    .hero-inner, [data-hero="split"] .hero-inner, [data-hero="stacked"] .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { margin-right: -20px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-lg, .feature-sm, .feature-md { grid-column: span 1; }
    .tm-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .cta-box { grid-template-columns: 1fr; padding: 48px 28px; }
    .foot { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: span 2; }
    .float { display: none; }
    .dash { transform: none !important; }
    }

  .mobile-menu {
    position: fixed; inset: 0; background: var(--bg); z-index: 60; padding: 80px 32px; display: none; flex-direction: column; gap: 20px;
  }
  .mobile-menu.on { display: flex; }
  .mobile-menu a { font-family: var(--font-display); font-size: 42px; font-weight: 400; letter-spacing: -0.02em; }
  .mobile-menu .close { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; }

  /* reveal */
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .reveal.in { opacity: 1; transform: none; }


/* ============================================================
   PAGE-LEVEL ADDITIONS (multi-page site)
   ============================================================ */

/* Sub-page hero: shorter, balanced, no rotated mock */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-hero .crumbs {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-dim); margin-bottom: 20px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.page-hero .crumbs a { color: var(--fg-dim); transition: color .2s; }
.page-hero .crumbs a:hover { color: var(--fg); }
.page-hero .crumbs .sep { opacity: 0.5; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 92px); line-height: 0.98;
  letter-spacing: -0.025em; margin: 0 0 20px;
  text-wrap: balance; max-width: 18ch;
}
.page-hero h1 em {
  font-style: italic;
  color: color-mix(in oklab, var(--fg) 70%, var(--accent));
}
.page-hero .lede {
  font-size: 19px; color: var(--fg-dim);
  max-width: 640px; text-wrap: pretty; margin: 0 0 32px;
}
.page-hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Prose / use-case detail body */
.prose {
  display: grid; grid-template-columns: 220px 1fr; gap: 64px;
  align-items: start;
}
.prose-rail {
  position: sticky; top: 88px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.prose-body { max-width: 720px; }
.prose-body h2 {
  font-size: clamp(32px, 4vw, 48px); margin: 0 0 24px;
  text-wrap: balance;
}
.prose-body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 28px; line-height: 1.15; letter-spacing: -0.015em;
  margin: 48px 0 16px; text-wrap: balance;
}
.prose-body h3 em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
.prose-body p {
  font-size: 17px; line-height: 1.6; color: var(--fg-dim);
  margin: 0 0 18px; text-wrap: pretty;
}
.prose-body ul {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.prose-body li {
  position: relative; padding-left: 22px;
  font-size: 16px; line-height: 1.5; color: var(--fg);
  text-wrap: pretty;
}
.prose-body li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 12px; height: 2px; background: var(--accent);
}

/* Two-column outcomes block on use-case pages */
.uc-twocol {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  margin: 32px 0;
}
.uc-col {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
}
.uc-col h4 {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-dim); margin: 0 0 16px; font-weight: 500;
}
.uc-col ul { margin: 0; }

/* Use-case detail screenshot */
.uc-screenshot {
  margin: 32px 0 0;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--elev);
}
.uc-screenshot img { display: block; width: 100%; height: auto; }

/* Pager (prev/next at bottom of use-case pages) */
.uc-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.uc-pager a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 24px 28px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--card);
  transition: all .25s ease;
}
.uc-pager a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.uc-pager a.next { text-align: right; align-items: flex-end; }
.uc-pager .label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-dim);
}
.uc-pager .title {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.2;
}
.uc-pager .title em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }

/* "About" content: leadership / values */
.about-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.about-col {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
}
.about-col .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.05em; color: var(--fg-dim);
  margin-bottom: 16px;
}
.about-col h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.about-col h3 em { font-style: italic; color: color-mix(in oklab, var(--fg) 70%, var(--accent)); }
.about-col p { color: var(--fg-dim); font-size: 15px; margin: 0; line-height: 1.55; }

/* Contact page layout */
.contact-page {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start;
}
.contact-aside {
  display: flex; flex-direction: column; gap: 32px;
}
.contact-aside .item {
  padding: 24px; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--card);
}
.contact-aside .item .lbl {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-dim); margin-bottom: 8px;
}
.contact-aside .item .val {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 400; letter-spacing: -0.01em;
}
.contact-aside .item .val a:hover { color: var(--accent); }
.contact-aside .item p {
  margin: 8px 0 0; color: var(--fg-dim); font-size: 14px;
}

/* Inline contact form (no dark-card wrapper) for /contact/ */
.contact-form-inline .field input,
.contact-form-inline .field select {
  background: color-mix(in oklab, var(--fg) 4%, transparent);
  border: 1px solid var(--line);
  color: var(--fg);
  border-radius: 10px; padding: 12px 14px; font: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.contact-form-inline .field input::placeholder { color: var(--fg-dim); }
.contact-form-inline .field input:focus,
.contact-form-inline .field select:focus {
  border-color: var(--accent);
}
.contact-form-inline .field label {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--fg-dim); opacity: 1;
}
.contact-form-inline .field .msg {
  font-size: 12px; font-family: var(--font-mono);
  color: var(--crit); min-height: 14px;
}

/* 404 page */
.notfound {
  min-height: 70vh; display: grid; place-items: center;
  text-align: center; padding: 80px 0;
}
.notfound .big {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(120px, 24vw, 280px); line-height: 0.85;
  letter-spacing: -0.04em; color: var(--accent);
  margin: 0 0 16px;
}
.notfound h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 16px;
}
.notfound p { color: var(--fg-dim); font-size: 17px; margin: 0 0 32px; max-width: 480px; }

@media (max-width: 960px) {
  .prose { grid-template-columns: 1fr; gap: 32px; }
  .prose-rail { position: static; }
  .uc-twocol { grid-template-columns: 1fr; }
  .uc-pager { grid-template-columns: 1fr; }
  .uc-pager a.next { text-align: left; align-items: flex-start; }
  .about-cols { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; gap: 48px; }
}


/* ===== BLOG ===== */
.blog-index { padding-top: 0; }
.blog-feature {
  display: block;
  padding: 56px 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: inherit;
  margin-bottom: 32px;
  transition: border-color 200ms, transform 200ms;
}
.blog-feature:hover { border-color: var(--accent); transform: translateY(-2px); }
.blog-feature-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 20px;
}
.blog-cat {
  color: var(--accent);
}
.blog-feature-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.blog-feature-dek {
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 28px;
  text-wrap: pretty;
}
.blog-feature-read {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500;
  color: var(--accent);
}

.blog-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.blog-item {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 200ms;
}
.blog-item:hover { padding-left: 12px; }
.blog-item-meta {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.blog-item-title {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.blog-item-dek {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
}

.blog-empty {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* ===== POST PAGE ===== */
.post-hero {
  padding: 80px 0 48px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex; gap: 10px; align-items: center;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.post-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 920px;
  text-wrap: balance;
}
.post-dek {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.post-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.post-author { color: var(--fg); }
.post-meta-sep { opacity: 0.4; }

.post-body-wrap {
  display: grid;
  grid-template-columns: 1fr;
  padding-top: 56px;
  padding-bottom: 80px;
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg);
}
.post-body .lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--fg);
  margin: 0 0 32px;
  font-family: var(--font-serif);
  font-style: italic;
  letter-spacing: -0.005em;
}
.post-body h2 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
}
.post-body h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 40px 0 12px;
}
.post-body p {
  margin: 0 0 20px;
  color: color-mix(in oklab, var(--fg) 92%, transparent);
}
.post-body strong { color: var(--fg); font-weight: 600; }
.post-body em { font-family: var(--font-serif); font-style: italic; }
.post-body ul, .post-body ol {
  padding-left: 24px;
  margin: 0 0 24px;
}
.post-body li {
  margin: 0 0 10px;
  color: color-mix(in oklab, var(--fg) 92%, transparent);
}
.post-body li::marker { color: var(--accent); }
.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.post-body a:hover { text-decoration-thickness: 2px; }
.post-back {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .blog-feature { padding: 32px 24px; }
  .blog-item:hover { padding-left: 0; }
  .post-body { font-size: 17px; }
  .post-body .lede { font-size: 20px; }
}
