:root {
  --bg: #f5f2ed;
  --fg: #0a0a0a;
  --muted: #6b6b66;
  --line: rgba(10, 10, 10, 0.12);
  --line-strong: rgba(10, 10, 10, 0.28);
  --card: #ffffff;
  --peach: #FFE5CC;
  --lavender: #E8E3FF;
  --sky: #D6EBFF;
  --mint: #D4F4E7;
  --cream: #FFE8D6;
  --rose: #F5D5E0;
  --accent: #2E6BFF;
  --radius: 14px;
  --sans: "Helvetica Neue", Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --serif: "Times New Roman", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; font-size: 16px; line-height: 1.45; letter-spacing: -0.005em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }

.page { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.rule { height: 1px; background: var(--fg); width: 100%; }
.rule-thin { height: 1px; background: var(--line); width: 100%; }

/* ─────────── NAV ─────────── */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 16px; }
.nav-left { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 26px; height: 26px; display: inline-block; }
.brand { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.brand-dot { display: inline-block; width: 6px; height: 6px; background: var(--fg); border-radius: 50%; margin: 0 6px 2px 6px; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--line-strong); transition: transform .12s ease, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn-solid:hover { background: #222; }
.btn-ghost:hover { background: rgba(10,10,10,0.04); }
.btn-lg { padding: 14px 22px; font-size: 14px; }

/* ─────────── HERO ─────────── */
.hero { padding: 40px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: stretch; min-height: 620px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 32px; background: rgba(255,255,255,0.5); }
.hero-eyebrow .pulse { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

.hero h1 { font-family: var(--sans); font-weight: 700; letter-spacing: -0.035em; font-size: clamp(48px, 6.2vw, 88px); line-height: 0.96; margin: 0 0 28px; max-width: 14ch; }
.hero h1 .italic { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.hero h1 .slash { color: var(--muted); font-weight: 400; }
.hero-sub { font-size: 19px; line-height: 1.45; color: #1a1a1a; max-width: 44ch; margin: 0 0 36px; letter-spacing: -0.01em; }
.hero-sub b { font-weight: 600; }
.hero-cta-row { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.download-row { display: flex; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; align-items: center; }
.dl-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 16px;
  background: #0a0a0a; color: #fff;
  border-radius: 12px;
  border: 1px solid #0a0a0a;
  transition: transform .18s cubic-bezier(.2,.9,.3,1.2), box-shadow .2s, background .2s;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 6px 16px -6px rgba(10,10,10,0.35);
  min-width: 178px;
  position: relative;
}
.dl-btn:hover { transform: translateY(-2px); background: #1a1a1a; box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 12px 24px -10px rgba(10,10,10,0.45); }
.dl-btn:active { transform: translateY(0); }
.dl-btn svg { flex-shrink: 0; }
.dl-copy { display: flex; flex-direction: column; line-height: 1; text-align: left; }
.dl-small { font-size: 10px; letter-spacing: 0.02em; opacity: 0.85; margin-bottom: 4px; font-family: var(--sans); font-weight: 400; text-transform: none; }
.dl-big { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; font-family: var(--sans); }
.dl-btn .dl-divider { position: absolute; right: 56px; top: 14px; bottom: 14px; width: 1px; background: rgba(255,255,255,0.12); display: none; }
body.theme-ink .dl-btn { background: #f5f2ed; color: #0a0a0a; border-color: #f5f2ed; box-shadow: 0 6px 16px -6px rgba(0,0,0,0.6); }
body.theme-ink .dl-btn:hover { background: #fff; }
@media (max-width: 480px) {
  .dl-btn { min-width: 0; flex: 1; padding: 10px 14px 10px 12px; }
  .dl-big { font-size: 15px; }
}
.hero-meta { display: flex; gap: 28px; align-items: center; font-size: 12px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.04em; }
.hero-meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; display: inline-block; }

/* Hero stack (the animated product demo) */
.stack-frame { position: relative; border: 1px solid var(--line); border-radius: 20px; background: #ffffff; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(10,10,10,0.25), 0 4px 12px -4px rgba(10,10,10,0.06); }
.stack-frame::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 300px at 80% -20%, rgba(214,235,255,0.7), transparent 60%),
    radial-gradient(500px 260px at 10% 110%, rgba(255,229,204,0.55), transparent 60%);
}
.stack-chrome { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); position: relative; z-index: 1; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.stack-chrome-left { display: flex; gap: 6px; }
.stack-chrome-left span { width: 10px; height: 10px; border-radius: 50%; background: rgba(10,10,10,0.12); }
.stack-chrome-title { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

.stack-header { padding: 22px 24px 14px; position: relative; z-index: 1; }
.stack-header h3 { margin: 0; font-size: 26px; letter-spacing: -0.02em; font-weight: 700; }
.stack-header .progress-line { margin-top: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.dot-progress { margin-top: 10px; display: flex; gap: 6px; }
.dot-progress-col { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); gap: 2px; height: 10px; }
.dot-progress-col span { width: 3.5px; height: 3.5px; border-radius: 50%; background: rgba(10,10,10,0.25); }
.dot-progress-col.done span { background: var(--fg); }
.dot-progress-col.current span { background: var(--fg); }

.stack-canvas { position: relative; height: 420px; z-index: 1; }
.task-card {
  position: absolute; left: 50%; top: 40px; width: 78%;
  background: var(--card); border-radius: var(--radius); padding: 20px 20px 18px;
  border: 1px solid rgba(10,10,10,0.08);
  box-shadow: 0 20px 40px -20px rgba(10,10,10,0.2), 0 2px 6px -2px rgba(10,10,10,0.06);
  transform-origin: center top;
  transition: transform .5s cubic-bezier(.2,.9,.3,1.2), opacity .35s ease;
}
.task-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.task-icon { width: 28px; height: 28px; border-radius: 8px; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: 13px; }
.task-icon.ai { background: #9C27B0; }
.task-badge { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--fg); color: #fff; font-weight: 600; }
.task-badge.overdue { background: #e6e6e6; color: #000; }
.task-badge.today { background: #ccc; color: #000; }
.task-badge.normal { background: #efefef; color: #555; }
.task-badge.ai { background: #9C27B0; color: #fff; }

.task-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 4px 0 6px; }
.task-sub { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.task-ctx { font-family: var(--mono); font-size: 10px; letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.task-prop { display: flex; gap: 10px; align-items: center; padding: 10px; background: rgba(10,10,10,0.03); border-radius: 10px; margin-top: 4px; }
.task-prop-img { width: 48px; height: 48px; border-radius: 6px; background: linear-gradient(135deg, #D6EBFF, #E8E3FF); flex-shrink: 0; position: relative; overflow: hidden; }
.task-prop-img::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(255,255,255,0.35) 6px 7px); }
.task-prop-info { min-width: 0; }
.task-prop-addr { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task-prop-stats { font-size: 11px; color: var(--muted); font-family: var(--mono); }
.task-ai-tip { margin-top: 12px; padding: 10px 12px; background: rgba(156, 39, 176, 0.08); border-left: 2px solid #9C27B0; font-size: 12px; line-height: 1.4; color: #4a4a4a; border-radius: 0 8px 8px 0; }

.stack-swipe-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); z-index: 2; }
.stack-swipe-hint span { display: inline-flex; align-items: center; gap: 5px; }

/* Logos strip */
.logos { padding: 60px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 80px; }
.logos-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; white-space: nowrap; }
.logos-row { display: flex; gap: 44px; align-items: center; flex: 1; justify-content: space-around; opacity: 0.85; }
.logo-item { font-weight: 600; letter-spacing: -0.01em; font-size: 17px; color: #333; }
.logo-item.italic { font-family: var(--serif); font-style: italic; font-weight: 500; }
.logo-item.mono { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }

/* ─────────── PILLARS ─────────── */
.section { padding: 100px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 40px; }
.section-head h2 { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -0.03em; line-height: 1; font-weight: 700; margin: 12px 0 0; max-width: 18ch; }
.section-head h2 .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.section-head-right { max-width: 36ch; color: var(--muted); font-size: 15px; line-height: 1.5; }

.pillars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.pillar { padding: 28px 20px 32px; border-right: 1px solid var(--line); position: relative; transition: background .2s; cursor: default; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(10,10,10,0.03); }
.pillar-num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.pillar-icon { height: 80px; margin: 16px 0 18px; display: flex; align-items: flex-end; }
.pillar h4 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.pillar p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }

/* ─────────── FEATURE BLOCKS ─────────── */
.feature-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.feature { border-radius: 20px; padding: 32px; position: relative; overflow: hidden; border: 1px solid var(--line); min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; }
.feature.dark { background: #0a0a0a; color: #f0f0f0; border-color: #0a0a0a; }
.feature.dark .feature-label { color: rgba(255,255,255,0.6); }
.feature.peach { background: var(--peach); }
.feature.lav { background: var(--lavender); }
.feature.sky { background: var(--sky); }
.feature.mint { background: var(--mint); }
.feature.cream { background: var(--cream); }
.feature.rose { background: var(--rose); }
.feature.paper { background: #ffffff; }
.feature-span-5 { grid-column: span 5; }
.feature-span-7 { grid-column: span 7; }
.feature-span-6 { grid-column: span 6; }
.feature-span-4 { grid-column: span 4; }
.feature-span-8 { grid-column: span 8; }
.feature-span-12 { grid-column: span 12; }

.feature-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.feature h3 { font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0 0 14px; }
.feature h3 .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.feature p { font-size: 15px; line-height: 1.5; margin: 0 0 20px; max-width: 40ch; opacity: 0.85; }
.feature .art { margin-top: auto; }

/* Pipeline art */
.pipeline-board { display: flex; gap: 10px; height: 220px; }
.pipeline-col { flex: 1; background: rgba(255,255,255,0.75); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pipeline-col-head { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; color: #555; padding-bottom: 4px; border-bottom: 1px solid rgba(0,0,0,0.08); margin-bottom: 2px; }
.pipeline-col-head .ct { font-weight: 700; color: #000; }
.deal-chip { background: #fff; border-radius: 6px; padding: 7px 8px; font-size: 10.5px; line-height: 1.25; box-shadow: 0 1px 0 rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.04); }
.deal-chip .name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deal-chip .val { font-family: var(--mono); font-size: 9px; color: #666; margin-top: 2px; }
.deal-chip .dot-h { display: inline-block; width: 5px; height: 5px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.deal-chip .dot-h.green { background: #16a34a; }
.deal-chip .dot-h.amber { background: #f59e0b; }
.deal-chip .dot-h.red { background: #dc2626; }

/* Voice waveform */
.voice-art { height: 170px; position: relative; display: flex; align-items: center; justify-content: center; }
.waveform { display: flex; align-items: center; gap: 3px; height: 100%; width: 100%; }
.waveform span { flex: 1; background: #fff; border-radius: 2px; opacity: 0.92; }
.voice-badge { position: absolute; bottom: 14px; left: 14px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(0,0,0,0.7); color: #fff; padding: 5px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.voice-badge .rec { width: 6px; height: 6px; border-radius: 50%; background: #ff3b30; animation: rec 1.2s infinite; }
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.voice-transcript { background: rgba(255,255,255,0.85); border-radius: 10px; padding: 12px 14px; font-size: 12px; line-height: 1.45; margin-top: 10px; color: #111; }
.voice-transcript b { color: #000; }
.voice-task-out { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.voice-task-out span { font-family: var(--mono); font-size: 10px; background: #fff; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.08); }

/* Marketing asset */
.asset-preview { background: #111; aspect-ratio: 1/1; border-radius: 12px; padding: 20px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.asset-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.asset-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(0,0,0,0.75) 100%); z-index: 1; }
.asset-preview .top, .asset-preview .mid, .asset-preview .bot { position: relative; z-index: 2; }
.asset-preview .top { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7; position: relative; }
.asset-preview .mid { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; position: relative; }
.asset-preview .mid .it { font-family: var(--serif); font-style: italic; font-weight: 400; }
.asset-preview .bot { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; position: relative; opacity: 0.9; }
.asset-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.asset-mini { aspect-ratio: 1; border-radius: 8px; padding: 10px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; overflow: hidden; }
.asset-mini.a { background: #1e3a2f; color: #f5f2ed; }
.asset-mini.b { background: #f5f2ed; color: #1a1a2e; }
.asset-mini.c { background: #4a1a1a; color: #f5f2ed; }

/* Calendar layout */
.cal-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: auto; }
.cal-side { background: rgba(255,255,255,0.75); border-radius: 10px; padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.cal-side-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(0,0,0,0.08); }
.cal-side-count { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #fff; padding: 3px 7px; border-radius: 999px; }
.cal-timeline { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cal-slot { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; }
.cal-slot .t { font-family: var(--mono); font-size: 10px; color: var(--muted); padding-top: 7px; letter-spacing: 0.04em; }
.cal-slot .ev { background: #fff; border-radius: 6px; padding: 7px 9px; border-left: 2px solid #000; }
.cal-slot .ev-a { border-left-color: #f59e0b; }
.cal-slot .ev-b { border-left-color: #0a0a0a; }
.cal-slot .ev-c { border-left-color: #16a34a; }
.cal-slot .ev-title { font-size: 11.5px; font-weight: 600; line-height: 1.3; }
.cal-slot .ev-meta { font-size: 10px; color: var(--muted); margin-top: 2px; font-family: var(--mono); letter-spacing: 0.02em; }
.cal-syncs { display: flex; gap: 10px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.08); }
.cal-syncs .sync { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: #444; }

/* Calendar card */
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-day { background: rgba(255,255,255,0.75); border-radius: 8px; padding: 8px 6px; min-height: 130px; display: flex; flex-direction: column; gap: 4px; }
.cal-day-head { font-family: var(--mono); font-size: 9px; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 4px; }
.cal-day-head .num { font-weight: 700; color: #000; }
.cal-day.today { background: #000; color: #fff; }
.cal-day.today .cal-day-head { color: rgba(255,255,255,0.7); }
.cal-day.today .cal-day-head .num { color: #fff; }
.cal-event { font-size: 9px; padding: 4px 5px; border-radius: 4px; line-height: 1.25; background: #fff; color: #000; }
.cal-event.accent { background: #FFE5CC; }
.cal-event.accent2 { background: #D4F4E7; }
.cal-event.accent3 { background: #E8E3FF; }
.cal-day.today .cal-event { color: #000; }

/* Inbox */
.inbox-list { display: flex; flex-direction: column; gap: 6px; }
.inbox-row { display: grid; grid-template-columns: 18px 1fr 90px 70px; gap: 10px; align-items: center; padding: 10px 12px; background: rgba(255,255,255,0.55); border-radius: 10px; font-size: 12px; }
.inbox-row .tag { width: 8px; height: 8px; border-radius: 50%; }
.inbox-row .tag.hot { background: #dc2626; }
.inbox-row .tag.warm { background: #f59e0b; }
.inbox-row .tag.cool { background: #60a5fa; }
.inbox-row .who { font-weight: 600; }
.inbox-row .msg { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-row .stage { font-family: var(--mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #333; background: #fff; padding: 3px 7px; border-radius: 999px; text-align: center; }
.inbox-row .time { font-family: var(--mono); font-size: 9.5px; color: var(--muted); text-align: right; }

/* ─────────── WORKFLOW ─────────── */
.workflow { background: #0a0a0a; color: #f0f0f0; border-radius: 28px; padding: 72px 56px; margin: 24px 0; position: relative; overflow: hidden; }
.workflow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 20% 0%, rgba(214,235,255,0.08), transparent 60%), radial-gradient(600px 400px at 90% 100%, rgba(255,229,204,0.07), transparent 60%); pointer-events: none; }
.workflow h2 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -0.03em; line-height: 1.02; margin: 10px 0 20px; max-width: 20ch; font-weight: 700; position: relative; }
.workflow h2 .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.workflow-sub { color: #a0a0a0; max-width: 52ch; font-size: 16px; position: relative; margin-bottom: 48px; }
.flow-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-step { padding: 24px 24px 28px; border-left: 1px solid rgba(255,255,255,0.1); position: relative; }
.flow-step:first-child { border-left: 0; padding-left: 0; }
.flow-step .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: #6b6b66; margin-bottom: 40px; display: block; }
.flow-step h5 { font-size: 20px; letter-spacing: -0.015em; margin: 0 0 10px; font-weight: 600; }
.flow-step p { margin: 0 0 18px; color: #a0a0a0; font-size: 13.5px; line-height: 1.5; }
.flow-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #d0d0d0; margin-right: 6px; margin-bottom: 6px; }
.flow-chip .dt { width: 5px; height: 5px; border-radius: 50%; background: #FFE5CC; }

/* ─────────── STATS ─────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--fg); border-bottom: 1px solid var(--fg); }
.stat { padding: 32px 20px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-size: clamp(42px, 4.5vw, 64px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; }
.stat-num .unit { font-size: 0.45em; vertical-align: top; color: var(--muted); font-weight: 500; margin-left: 4px; }
.stat-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; max-width: 24ch; }

/* ─────────── TESTIMONIAL ─────────── */
.quote-block { padding: 48px 0; display: grid; grid-template-columns: 1fr 1.8fr; gap: 60px; align-items: start; }
.quote-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.quote-text { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 500; }
.quote-text .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.quote-attr { margin-top: 24px; display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.quote-attr .avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--lavender), var(--peach)); }

/* ─────────── FINAL CTA ─────────── */
.final-cta { background: var(--fg); color: var(--bg); border-radius: 28px; padding: 80px 56px 60px; margin: 40px 0 60px; position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 100% 0%, rgba(232,227,255,0.08), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(212,244,231,0.07), transparent 60%); }
.final-cta h2 { font-size: clamp(48px, 6vw, 88px); letter-spacing: -0.035em; line-height: 0.95; margin: 0 0 28px; max-width: 16ch; font-weight: 700; position: relative; }
.final-cta h2 .italic { font-family: var(--serif); font-style: italic; font-weight: 400; }
.final-cta .cta-row { display: flex; gap: 12px; align-items: center; position: relative; flex-wrap: wrap; }
.final-cta .btn-solid { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.final-cta .btn-ghost { border-color: rgba(255,255,255,0.25); color: var(--bg); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.final-cta .meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,237,0.55); margin-top: 36px; position: relative; }

/* ─────────── FOOTER ─────────── */
.footer { padding: 40px 0 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h6 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer a { font-size: 13px; color: #333; }
.footer a:hover { color: #000; }
.footer-brand { font-size: 13px; color: var(--muted); max-width: 38ch; line-height: 1.55; }
.footer-bar { padding: 18px 0 36px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); border-top: 1px solid var(--line); margin-top: 8px; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .pillar:nth-child(3) { border-right: 0; }
  .pillar:nth-child(n+4) { border-top: 1px solid var(--line); }
  .feature-span-5, .feature-span-7, .feature-span-6, .feature-span-4, .feature-span-8 { grid-column: span 12; }
  .flow-row { grid-template-columns: 1fr 1fr; }
  .cal-layout { grid-template-columns: 1fr; }
  .flow-step:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .quote-block { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .page { padding: 0 20px; }
  .nav-links { display: none; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-right: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-right: 0; }
  .flow-row { grid-template-columns: 1fr; }
  .flow-step { border-left: 0 !important; padding-left: 0 !important; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .logos-row { flex-wrap: wrap; gap: 20px; }
  .footer { grid-template-columns: 1fr; }
  .workflow, .final-cta { padding: 44px 24px; }
}

/* Theme variants — driven by Tweaks */
body.theme-paper { --bg: #f5f2ed; --fg: #0a0a0a; --card: #fff; }
body.theme-white { --bg: #ffffff; --fg: #0a0a0a; --card: #fff; }
body.theme-ink { --bg: #0a0a0a; --fg: #f5f2ed; --card: #141414; --muted: #8a8a82; --line: rgba(245,242,237,0.1); --line-strong: rgba(245,242,237,0.28); }
body.theme-ink .logo-item { color: #d0d0d0; }
body.theme-ink .btn-solid { background: var(--fg); color: var(--bg); }
body.theme-ink .stack-frame { background: #141414; border-color: rgba(255,255,255,0.08); }
body.theme-ink .task-card { background: #1c1c1c; color: #f5f2ed; border-color: rgba(255,255,255,0.08); }
body.theme-ink .task-sub, body.theme-ink .task-ctx { color: #8a8a82; }
body.theme-ink .workflow { background: #1a1a1a; }
body.theme-ink .final-cta { background: #ffffff; color: #0a0a0a; }
body.theme-ink .final-cta .btn-solid { background: #0a0a0a; color: #fff; border-color: #0a0a0a; }
body.theme-ink .final-cta .btn-ghost { border-color: rgba(0,0,0,0.25); color: #0a0a0a; }
body.theme-ink .pillar:hover { background: rgba(255,255,255,0.04); }
