/* ===== Tokens (lifted from the Interior Assist prototype) ===== */
:root {
  --bg: #FAF8F5;
  --bg-2: #F4F0EA;
  --bg-3: #ECE6DD;
  --bg-4: #E2DAC9;
  --ink: #1A1A1A;
  --ink-2: #3A3833;
  --ink-3: #6B655C;
  --ink-4: #A39B8E;
  --line: #E6E0D5;
  --line-2: #D8D0C0;
  --accent: #7C5C3C;
  --accent-2: #A07A52;
  --accent-soft: #EBE0D2;
  --green: #4F6B4A;
  --rose: #9C5A4F;
  --warn: #B2733A;

  --shadow-sm: 0 1px 2px rgba(50, 40, 25, 0.04), 0 1px 3px rgba(50, 40, 25, 0.03);
  --shadow-md: 0 4px 14px rgba(50, 40, 25, 0.06), 0 2px 4px rgba(50, 40, 25, 0.04);
  --shadow-lg: 0 28px 56px -16px rgba(50, 40, 25, 0.20), 0 10px 20px -10px rgba(50, 40, 25, 0.10);

  --serif: 'Fraunces', 'Cormorant', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, select, input { font-family: inherit; color: inherit; }
img, svg { display: block; }

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

.serif { font-family: var(--serif); font-feature-settings: "ss01"; letter-spacing: -0.012em; }
.mono { font-family: var(--mono); }

/* ===== Buttons / pills / chips ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: white;
  color: var(--ink); font-size: 13.5px; font-weight: 500;
  transition: all 140ms ease; cursor: pointer; line-height: 1;
}
.btn:hover { background: var(--bg-2); border-color: var(--line-2); }
.btn-ink { background: var(--ink); color: white; border-color: var(--ink); }
.btn-ink:hover { background: #2C2A26; border-color: #2C2A26; }
.btn-accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn-accent:hover { background: #6B4F33; border-color: #6B4F33; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-3); }
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn-lg { padding: 12px 18px; font-size: 14px; border-radius: 10px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  background: var(--bg-3); color: var(--ink-2);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.pill.accent { background: var(--accent-soft); color: var(--accent); }
.pill.ink { background: var(--ink); color: white; }
.pill.quiet { background: transparent; color: var(--ink-3); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  cursor: pointer;
}
.chip-soft { background: var(--bg-3); border-color: transparent; }
.chip-accent { background: var(--accent); color: white; border-color: var(--accent); }
.chip-ink { background: var(--ink); color: white; border-color: var(--ink); }

.kicker {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}

.kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--bg-3); color: var(--ink-3);
  border-radius: 4px; font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--line);
}

.muted { color: var(--ink-3); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, background 220ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent); color: var(--bg);
  font-family: var(--serif); font-weight: 600; font-size: 14px;
  letter-spacing: -0.02em;
}
.brand-name { font-size: 14.5px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-3); font-size: 13.5px; font-weight: 500; transition: color 120ms; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.link-quiet { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.link-quiet:hover { color: var(--ink); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Hero ===== */
.hero { padding: 80px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto -10%; height: 70%;
  background:
    radial-gradient(60% 50% at 30% 20%, rgba(124, 92, 60, 0.06), transparent 70%),
    radial-gradient(50% 40% at 80% 0%, rgba(124, 92, 60, 0.04), transparent 75%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1.4fr; gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 11px 6px 9px; border-radius: 999px;
  background: white; border: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3); font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(79, 107, 74, 0.18); }

.display {
  font-family: var(--serif);
  font-size: clamp(44px, 5.4vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 22px 0 18px;
  text-wrap: balance;
}
.lede {
  font-size: 17.5px; line-height: 1.55;
  color: var(--ink-2); max-width: 52ch;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; align-items: center; margin-bottom: 36px; }
.hero-meta {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  border-top: 1px solid var(--line); padding-top: 22px;
  max-width: 56ch;
}
.hero-meta li { font-size: 13.5px; color: var(--ink-3); }
.hero-meta .meta-k {
  display: inline-block; min-width: 70px;
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  text-transform: uppercase; letter-spacing: 0.08em; margin-right: 12px;
}

/* ===== Hero product preview (mini app shell) ===== */
.hero-preview { position: relative; }
.window {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px;
  background: linear-gradient(#F2EDE3, #EDE6D9);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.tl { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tl-r { background: #E27D60; } .tl-y { background: #E5C264; } .tl-g { background: #8EBE82; }
.window-title {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 12px; color: var(--ink-3); font-weight: 500;
}
.window-body { padding: 0; }

.app-mini {
  display: grid; grid-template-columns: 180px 1fr 240px;
  height: 480px;
  font-size: 12.5px;
}

.mini-sidebar {
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 2px;
  overflow: hidden;
}
.mini-studio { display: flex; align-items: center; gap: 9px; padding: 4px 4px 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mini-studio-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px;
  background: var(--accent); color: var(--bg);
  font-family: var(--serif); font-weight: 600;
}
.mini-studio-name { font-size: 12.5px; font-weight: 600; }
.mini-studio-meta { font-size: 10.5px; color: var(--ink-3); }
.mini-section {
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin: 10px 4px 4px;
}
.mini-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 8px; border-radius: 5px;
  color: var(--ink-2); font-size: 12px;
}
.mini-item.active { background: white; color: var(--ink); font-weight: 500; box-shadow: var(--shadow-sm); }
.mini-item.muted { color: var(--ink-4); }
.mini-badge {
  background: var(--accent); color: white;
  font-size: 10px; padding: 1px 5px; border-radius: 4px;
}

.mini-canvas { padding: 18px 22px; overflow: hidden; }
.mini-crumbs { font-size: 11px; color: var(--ink-4); margin-bottom: 4px; }
.mini-crumbs .sep { margin: 0 6px; }
.mini-crumbs .cur { color: var(--ink-2); }
.mini-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.mini-title { font-family: var(--serif); font-size: 22px; font-weight: 500; margin: 0; margin-right: 6px; }
.mini-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.mini-tab { padding: 7px 0; font-size: 11.5px; color: var(--ink-3); font-weight: 500; border-bottom: 2px solid transparent; }
.mini-tab.active { color: var(--ink); border-bottom-color: var(--accent); }

.mini-brief { background: var(--bg-2); border-radius: 8px; padding: 12px 14px; margin-bottom: 12px; }
.mini-brief-label { font-family: var(--mono); font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.mini-brief p { font-size: 12px; color: var(--ink-2); margin: 0; line-height: 1.5; }

.mini-rooms { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.room {
  font-size: 11px; padding: 3px 9px; border-radius: 999px;
  background: white; border: 1px solid var(--line); color: var(--ink-2);
}

.mini-activity { border-top: 1px solid var(--line); padding-top: 10px; }
.mini-activity-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.mini-activity-head .serif { font-size: 14px; }
.micro { font-family: var(--mono); font-size: 10px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; }
.ev { display: grid; grid-template-columns: 14px 1fr auto; align-items: baseline; gap: 8px; padding: 3px 0; font-size: 11.5px; color: var(--ink-2); }
.ev-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); margin-top: 5px; }
.ev-dot.accent { background: var(--accent); }
.ev-dot.ink { background: var(--ink); }
.ev-time { color: var(--ink-4); font-family: var(--mono); font-size: 10px; }
.ev-body b { font-weight: 600; color: var(--ink); }
.ev-body i { color: var(--accent); font-style: normal; }

.mini-agent {
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  padding: 14px 12px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.mini-agent-head { display: flex; align-items: center; gap: 9px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mini-agent-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ink); flex: none; position: relative;
}
.mini-agent-mark::after {
  content: ""; position: absolute; inset: 7px; border: 1.5px solid var(--bg); border-radius: 2px; transform: rotate(45deg);
}
.mini-agent-name { font-size: 12.5px; font-weight: 600; }
.mini-agent-meta { font-size: 10px; color: var(--ink-3); font-family: var(--mono); }

.bubble {
  font-size: 12px; line-height: 1.45;
  padding: 8px 11px; border-radius: 10px;
}
.bubble-user { background: white; color: var(--ink-2); border: 1px solid var(--line); align-self: flex-end; max-width: 90%; }
.bubble-agent { background: transparent; color: var(--ink-2); padding-left: 0; padding-right: 0; }

.tool-pill {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 7px;
  background: var(--accent-soft); color: var(--accent);
  font-family: var(--mono); font-size: 11px;
  align-self: flex-start;
}
.shimmer-bar {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  pointer-events: none;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.tool-name { font-weight: 500; }
.tool-arg { color: var(--accent-2); }

.caret {
  display: inline-block; width: 5px; height: 11px;
  background: var(--accent); vertical-align: -1px; margin-left: 2px;
  animation: blink 1s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.agent-suggest {
  margin-top: auto;
  background: white; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 11px;
  box-shadow: var(--shadow-sm);
}
.suggest-label { font-family: var(--mono); font-size: 9.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.suggest-text { font-size: 11.5px; color: var(--ink-2); line-height: 1.4; margin-bottom: 8px; }
.suggest-actions { display: flex; gap: 6px; }
.suggest-actions .chip { padding: 4px 9px; font-size: 11px; }

.mini-agent-input {
  display: flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 9px; font-size: 11.5px; color: var(--ink-3);
}
.input-glyph { color: var(--accent); font-weight: 700; }
.input-placeholder { flex: 1; }

/* Floating callout tags */
.float-tag {
  position: absolute;
  display: flex; flex-direction: column;
  background: white; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; box-shadow: var(--shadow-md);
  font-size: 12px;
}
.float-tag-tl { top: -16px; left: -20px; }
.float-tag-br { bottom: -18px; right: -22px; }
.tag-k { font-family: var(--mono); font-size: 9.5px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.tag-v { font-weight: 500; color: var(--ink); }

/* ===== Bands (sections) ===== */
.band { padding: 110px 0; border-top: 1px solid var(--line); position: relative; }
.band-tinted { background: var(--bg-2); }
.band-head { max-width: 760px; margin-bottom: 56px; }
.band-head-center { margin: 0 auto 56px; text-align: center; }
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
.h2 .muted { color: var(--ink-3); display: block; }
.band-sub { font-size: 17px; color: var(--ink-3); max-width: 60ch; margin: 16px 0 0; line-height: 1.55; }
.band-head-center .band-sub { margin-left: auto; margin-right: auto; }

/* ===== Positioning / Versus ===== */
.versus-grid {
  display: grid; grid-template-columns: 1fr 56px 1fr; align-items: stretch; gap: 24px;
}
.versus-col {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 30px; box-shadow: var(--shadow-sm);
}
.versus-before { background: var(--bg); border-style: dashed; }
.versus-after { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-md); }
.versus-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 6px;
}
.versus-after .versus-label { color: var(--accent); }
.versus-title { font-size: 24px; font-weight: 500; margin-bottom: 16px; line-height: 1.18; }
.versus-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.versus-list li { padding-left: 22px; position: relative; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.versus-before .versus-list li::before { content: "—"; position: absolute; left: 0; color: var(--ink-4); }
.versus-after .versus-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.versus-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); }

/* ===== Agentic loop ===== */
.loop-rail { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.loop-step { display: flex; flex-direction: column; gap: 12px; }
.loop-num {
  font-family: var(--serif); font-size: 13px; color: var(--accent);
  font-feature-settings: "tnum"; letter-spacing: 0.02em;
}
.loop-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  min-height: 360px;
}
.loop-card-head { display: flex; align-items: center; justify-content: space-between; }
.loop-card-title { font-size: 18px; font-weight: 500; line-height: 1.25; }
.loop-msg { font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 10px; }
.loop-msg-user { background: var(--bg-2); color: var(--ink-2); }
.loop-msg-agent { background: var(--accent-soft); color: var(--accent); }
.loop-msg-agent b { color: #5e442b; }

.loop-q-list { display: flex; flex-direction: column; gap: 8px; }
.loop-q {
  font-size: 12.5px; color: var(--ink-2); line-height: 1.45;
  padding: 8px 10px; background: var(--bg-2); border-radius: 8px;
}
.loop-q.muted { background: transparent; color: var(--ink-4); padding-left: 0; }
.loop-q .theme {
  display: inline-block; font-family: var(--mono); font-size: 9.5px;
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em;
  margin-right: 8px;
}

.loop-approval { background: var(--bg-2); border-radius: 10px; padding: 12px; display: grid; gap: 6px; }
.loop-ap-row { display: grid; grid-template-columns: 80px 1fr; align-items: baseline; font-size: 12.5px; }
.loop-ap-row span { color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.loop-ap-row b { color: var(--ink); font-weight: 500; }
.loop-ap-actions { display: flex; gap: 8px; margin-top: 6px; }

.loop-foot { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); }
.loop-out { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }

/* ===== Capability cards ===== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.cap-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.cap-num {
  font-family: var(--mono); font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em;
}
.cap-title { font-size: 22px; font-weight: 500; line-height: 1.18; margin: 0; }
.cap-text { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }
.cap-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.cap-list li { font-size: 12.5px; color: var(--ink-3); padding-left: 14px; position: relative; }
.cap-list li::before { content: "·"; color: var(--accent); position: absolute; left: 0; font-weight: 700; }

/* ===== Cameo grids ===== */
.cameo-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: 64px; align-items: center; }
.cameo-grid.reverse { grid-template-columns: 1.2fr 0.9fr; }
.cameo-grid.reverse .cameo-copy { order: 2; }
.bullets { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.bullets li { font-size: 14px; color: var(--ink-2); padding-left: 22px; position: relative; line-height: 1.55; }
.bullets li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.bullets b { color: var(--ink); font-weight: 600; margin-right: 4px; }

/* ===== FF&E table ===== */
.ffe-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.ffe-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ffe-title .serif { font-size: 17px; font-weight: 500; }
.ffe-sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.ffe-actions { display: flex; gap: 6px; }
.ffe-section-row { display: flex; align-items: center; gap: 8px; padding: 10px 20px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.ffe-section { font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.ffe-count { font-size: 11px; color: var(--ink-3); background: white; padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); }

.ffe-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ffe-table th, .ffe-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--bg-2); }
.ffe-table th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4); font-weight: 500; background: var(--bg);
}
.ffe-table td { color: var(--ink-2); }
.ffe-table td.mono { font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.ffe-table td.risk { color: var(--warn); font-family: var(--mono); font-size: 11px; }

.status { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-approved { background: rgba(79, 107, 74, 0.12); color: var(--green); }
.status-draft { background: var(--accent-soft); color: var(--accent); }
.status-alt { background: var(--bg-3); color: var(--ink-2); }
.status-cut { background: rgba(156, 90, 79, 0.10); color: var(--rose); }

.ffe-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(178, 115, 58, 0.08); border-top: 1px solid rgba(178, 115, 58, 0.18);
  font-size: 13px; color: #6c4621;
}
.banner-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); flex: none; box-shadow: 0 0 0 4px rgba(178, 115, 58, 0.15); }
.banner-text { flex: 1; }
.banner-text b { color: var(--ink); font-weight: 600; }
.banner-action { font-weight: 600; color: var(--warn); cursor: pointer; }

/* ===== Gantt cameo ===== */
.gantt {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px 18px; box-shadow: var(--shadow-md); position: relative;
}
.gantt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.gantt-title { font-size: 16px; font-weight: 500; }
.gantt-weeks {
  display: grid; grid-template-columns: repeat(11, 1fr);
  margin-left: 110px; margin-bottom: 10px;
  font-family: var(--mono); font-size: 9.5px; color: var(--ink-4); letter-spacing: 0.06em;
}
.lane {
  position: relative; height: 30px;
  margin-left: 110px; margin-bottom: 8px;
  background: var(--bg-2); border-radius: 6px;
}
.lane-label {
  position: absolute; left: -110px; top: 50%; transform: translateY(-50%);
  width: 100px; text-align: right;
  font-size: 11.5px; color: var(--ink-2); font-weight: 500;
}
.bar {
  position: absolute; top: 5px; bottom: 5px;
  border-radius: 4px;
  background: var(--accent-soft); border: 1px solid rgba(124, 92, 60, 0.25);
}
.bar-discovery { background: #E3D6C2; }
.bar-sd { background: #D9C9AE; }
.bar-dd { background: #CDB89A; }
.bar-proc { background: #BFA37D; }
.bar-install { background: var(--accent); border-color: var(--accent); }
.milestone {
  position: absolute; top: 50%; width: 10px; height: 10px;
  background: var(--ink); transform: translate(-50%, -50%) rotate(45deg);
  border: 1.5px solid white;
}
.milestone.risk-m { background: var(--warn); }

.today-line {
  position: absolute;
  top: 50px; bottom: 80px;
  left: calc(110px + 24px + (100% - 110px - 48px) * 0.40);
  width: 1px; background: var(--rose); opacity: 0.5;
}
.today-line::before {
  content: "today"; position: absolute; top: -16px; left: -12px;
  font-family: var(--mono); font-size: 9px; color: var(--rose);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.gantt-foot {
  margin-top: 18px; margin-left: 110px; padding-top: 14px; border-top: 1px dashed var(--line);
  display: grid; gap: 7px;
}
.team-load { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 14px; }
.team-load .micro { font-family: var(--mono); font-size: 10px; color: var(--ink-3); text-transform: none; letter-spacing: 0; }
.load-bar { height: 6px; border-radius: 3px; background: var(--bg-3); overflow: hidden; }
.load-fill { display: block; height: 100%; background: var(--accent); border-radius: 3px; }

/* ===== Vocabulary grid ===== */
.band-vocab { background: var(--ink); color: var(--bg); border-top-color: var(--ink); }
.band-vocab .h2 { color: var(--bg); }
.band-vocab .h2 .muted { color: rgba(250, 248, 245, 0.6); }
.band-vocab .kicker { color: var(--accent-2); }
.band-vocab .band-sub { color: rgba(250, 248, 245, 0.7); }

.vocab-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; overflow: hidden; }
.vocab-cell { background: var(--ink); padding: 24px; min-height: 140px; display: flex; flex-direction: column; gap: 10px; }
.vocab-term { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--bg); line-height: 1.15; letter-spacing: -0.01em; }
.vocab-def { font-size: 12.5px; color: rgba(250, 248, 245, 0.6); line-height: 1.5; }

/* ===== Trust ===== */
.trust-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 64px; align-items: start; }
.trust-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow-sm);
}
.trust-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.trust-title { font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.trust-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ===== Quote ===== */
.band-quote { background: var(--bg-2); }
.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.8vw, 36px); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--ink); margin: 0 0 18px; text-wrap: balance;
}
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote-author { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.quote-meta { font-family: var(--mono); font-size: 11px; color: var(--ink-4); text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== Pricing ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 32px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.price-card-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-md); }
.price-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: white;
  font-size: 11px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.price-name { font-size: 22px; font-weight: 500; }
.price-amount { display: flex; align-items: baseline; gap: 8px; }
.price-amount .amount { font-family: var(--serif); font-size: 40px; font-weight: 500; letter-spacing: -0.02em; }
.price-amount .per { color: var(--ink-3); font-size: 13.5px; }
.price-tag { color: var(--ink-3); font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.price-list li { font-size: 13.5px; color: var(--ink-2); padding-left: 22px; position: relative; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translateY(-1px);
}
.price-cta { margin-top: auto; justify-content: center; }
.price-fine { margin-top: 28px; font-size: 12px; color: var(--ink-4); text-align: center; max-width: 70ch; margin-left: auto; margin-right: auto; }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq-item { background: white; padding: 0; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  font-size: 16px; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 20px; color: var(--accent);
  transition: transform 200ms ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-2); margin: 0; max-width: 75ch; line-height: 1.6; }

/* ===== CTA ===== */
.band-cta { background: var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-h { margin-top: 0; }
.cta-form {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; box-shadow: var(--shadow-md);
  display: grid; gap: 12px;
}
.field { display: grid; gap: 5px; }
.field-k { font-family: var(--mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.field-v {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-size: 14px; background: var(--bg); color: var(--ink); outline: none;
  transition: border-color 120ms, box-shadow 120ms;
}
.field-v:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 92, 60, 0.12); background: white; }
.cta-submit { justify-content: center; margin-top: 6px; }
.cta-sent-msg { display: none; font-size: 13px; color: var(--green); text-align: center; }
.cta-form.cta-sent .cta-submit { display: none; }
.cta-form.cta-sent .cta-sent-msg { display: block; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(250, 248, 245, 0.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand .brand-mark { background: var(--accent); color: white; width: 32px; height: 32px; font-size: 14px; }
.footer-name { font-size: 15px; color: var(--bg); font-weight: 600; }
.footer-tag { font-size: 13px; color: rgba(250, 248, 245, 0.55); margin-top: 4px; max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col-h { font-family: var(--mono); font-size: 11px; color: var(--accent-2); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer-col a { font-size: 13.5px; color: rgba(250, 248, 245, 0.65); transition: color 120ms; }
.footer-col a:hover { color: var(--bg); }
.footer-fine {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; font-size: 12px; color: rgba(250, 248, 245, 0.45);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-preview { transform: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .loop-rail { grid-template-columns: repeat(2, 1fr); }
  .cameo-grid, .cameo-grid.reverse { grid-template-columns: 1fr; gap: 40px; }
  .cameo-grid.reverse .cameo-copy { order: 0; }
  .trust-grid { grid-template-columns: 1fr; gap: 32px; }
  .vocab-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .versus-grid { grid-template-columns: 1fr; }
  .versus-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .band { padding: 72px 0; }
  .cap-grid, .loop-rail, .trust-cards, .vocab-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .app-mini { grid-template-columns: 1fr; height: auto; }
  .mini-sidebar, .mini-agent { display: none; }
  .float-tag { display: none; }
}

/* ===== CTA reassurance + Two-paths (gap in design bundle) ===== */
.cta-reassure {
  list-style: none; padding: 0; margin: 22px 0 0;
  display: grid; gap: 8px;
}
.cta-reassure li {
  font-size: 14px; color: var(--ink-2);
  padding-left: 22px; position: relative; line-height: 1.55;
}
.cta-reassure li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 700;
}

.paths-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  align-items: stretch;
}
.path {
  background: white; border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 30px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.path-without { background: var(--bg); border-style: dashed; }
.path-with { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, var(--shadow-md); }
.path-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-4);
}
.path-with .path-label { color: var(--accent); }
.path-title {
  font-size: 22px; font-weight: 500; line-height: 1.18; margin: 0;
}
.path-list { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 10px; }
.path-list li {
  padding-left: 22px; position: relative;
  font-size: 14px; color: var(--ink-2); line-height: 1.55;
}
.path-without .path-list li::before {
  content: "—"; position: absolute; left: 0; color: var(--ink-4);
}
.path-with .path-list li::before {
  content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 600;
}
@media (max-width: 1100px) { .paths-grid { grid-template-columns: 1fr; } }

/* ===== Legal pages (privacy, terms) ===== */
.legal-page { padding: 64px 0 96px; max-width: 760px; margin: 0 auto; }
.legal-page .legal-meta {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.04em; margin: 24px 0 32px;
  border-left: 2px solid var(--accent); padding-left: 14px;
}
.legal-page .legal-meta b { color: var(--ink); font-weight: 500; }
.legal-page h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.legal-page h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 26px; line-height: 1.18; letter-spacing: -0.012em;
  margin: 56px 0 14px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.legal-page h2:first-of-type { border-top: none; padding-top: 0; }
.legal-page h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px; line-height: 1.3;
  margin: 32px 0 10px;
}
.legal-page p, .legal-page li {
  font-size: 15.5px; line-height: 1.65; color: var(--ink-2);
}
.legal-page p { margin: 0 0 16px; }
.legal-page ul, .legal-page ol { padding-left: 22px; margin: 0 0 16px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--ink); }
.legal-page strong, .legal-page b { color: var(--ink); font-weight: 600; }

.legal-page table {
  width: 100%; border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 13.5px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.legal-page th, .legal-page td {
  text-align: left; padding: 11px 14px;
  border-bottom: 1px solid var(--bg-2);
  vertical-align: top;
  line-height: 1.5;
}
.legal-page th {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3);
  background: var(--bg-2); font-weight: 500;
}
.legal-page tr:last-child td { border-bottom: none; }
.legal-page td { color: var(--ink-2); }
.legal-page td strong { color: var(--ink); }

.legal-page hr {
  border: none; border-top: 1px solid var(--line); margin: 48px 0;
}

.legal-page .legal-back {
  font-family: var(--mono); font-size: 12px; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: 0.1em;
  text-decoration: none;
}
.legal-page .legal-back:hover { color: var(--accent); }

@media (max-width: 720px) {
  .legal-page table { font-size: 12.5px; }
  .legal-page th, .legal-page td { padding: 9px 10px; }
}
