/* ============================================================
   FCFCOA SRL Ecosystem — shared site styles (cream / ink / clay)
   Used by: /index.html, /claude-setup.html, /workspace-mcp.html
   ============================================================ */

  :root {
    --bg: #14141A;
    --bg-card: #1C1C24;
    --bg-card-dark: #0E0E14;
    --ink: #E8E5DC;
    --ink-soft: #BDB9AE;
    --ink-mute: #7A7770;
    --rule: #2A2A33;
    --rule-strong: #3C3B43;
    --accent: #D88A6A;        /* warm clay, brightened for dark */
    --accent-deep: #B5664A;
    --warn-bg: #2A1E18;
    --warn-bd: #5C3A2A;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Hanken Grotesk', system-ui, sans-serif;
    font-weight: 400;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image:
      radial-gradient(at 90% 5%, rgba(216, 138, 106, 0.05), transparent 60%),
      radial-gradient(at 5% 95%, rgba(216, 138, 106, 0.04), transparent 55%);
  }

  .container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
  @media (max-width: 640px) { .container { padding: 0 20px; } }

  /* ───── Top strip ───── */
  .topstrip {
    border-bottom: 1px solid var(--rule);
    background: rgba(20, 20, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 50;
  }
  .topstrip-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
    font-size: 14px;
  }
  .mark {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    font-size: 16px;
  }
  .mark sup { font-size: 9px; color: var(--ink-mute); margin-left: 4px; }
  .topnav { display: flex; gap: 28px; }
  .topnav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
  }
  .topnav a:hover { color: var(--accent); }
  @media (max-width: 640px) { .topnav { display: none; } }

  /* ───── Disclaimer banner ───── */
  .disclaimer-banner {
    background: #2A1E18;
    border-bottom: 1px solid #4A2F22;
    padding: 12px 0;
    font-size: 13.5px;
    color: #E0B6A0;
    font-weight: 500;
  }
  .disclaimer-banner strong { color: #F4D9C7; font-weight: 700; }
  .disclaimer-banner .container {
    display: flex; align-items: center; gap: 12px;
  }
  .disclaimer-banner .dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    flex-shrink: 0;
  }

  /* ───── Hero ───── */
  .hero { padding: 80px 0 60px; }
  @media (max-width: 640px) { .hero { padding: 50px 0 40px; } }

  .eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    font-weight: 600;
    margin-bottom: 24px;
  }

  h1 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
    max-width: 880px;
  }
  h1 em { font-style: italic; color: var(--accent); font-weight: 500; }

  .lead {
    font-size: clamp(17px, 1.5vw, 20px);
    color: var(--ink-soft);
    max-width: 640px;
    margin-bottom: 36px;
  }

  .hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  }
  .btn-primary { background: var(--accent); color: #14141A; }
  .btn-primary:hover {
    background: #E89B7B;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px -8px rgba(216, 138, 106, 0.4);
  }
  .btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--rule-strong);
  }
  .btn-ghost:hover {
    background: var(--bg-card);
    border-color: var(--ink-mute);
  }
  .btn .arrow { transition: transform 0.2s; }
  .btn:hover .arrow { transform: translateX(2px); }

  .hero-meta {
    margin-top: 32px;
    display: flex; gap: 32px; flex-wrap: wrap;
    font-size: 13.5px; color: var(--ink-mute);
  }
  .hero-meta strong { color: var(--ink); font-weight: 600; }

  /* ───── Sections ───── */
  section { padding: 70px 0; border-top: 1px solid var(--rule); }
  @media (max-width: 640px) { section { padding: 50px 0; } }

  .section-head {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
  }
  @media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  }
  .section-num {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
  }
  .section-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .section-intro {
    color: var(--ink-soft);
    font-size: 16.5px;
    margin-top: 12px;
    max-width: 560px;
  }

  /* ───── Pack contents ───── */
  .pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
  }
  .pack-card {
    background: var(--bg-card);
    padding: 28px 24px;
  }
  .pack-card h3 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  .pack-card p {
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.5;
  }
  .pack-card .ext {
    display: inline-block;
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
  }

  /* ───── Install ───── */
  .steps {
    display: flex; flex-direction: column;
    border-left: 2px solid var(--rule-strong);
    padding-left: 32px;
    max-width: 720px;
  }
  .step {
    position: relative;
    padding: 18px 0 30px;
    border-bottom: 1px solid var(--rule);
  }
  .step:last-child { border-bottom: none; padding-bottom: 0; }
  .step::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 26px;
    width: 12px; height: 12px;
    background: var(--accent);
    border-radius: 50%;
  }
  .step h4 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 8px;
    letter-spacing: -0.005em;
  }
  .step p {
    color: var(--ink-soft);
    font-size: 15px;
  }
  .step code {
    font-family: 'JetBrains Mono', 'Menlo', monospace;
    background: var(--bg-card);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid var(--rule);
  }

  /* ───── Pricing ───── */
  .price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
  }
  @media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }
  .price-grid.two-by-two { grid-template-columns: 1fr 1fr; }
  @media (max-width: 800px) { .price-grid.two-by-two { grid-template-columns: 1fr; } }
  .price-amount .setup-line {
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--ink-mute);
    font-style: italic;
    margin-top: 4px;
    letter-spacing: 0;
  }
  .price-card.featured .price-amount .setup-line { color: #6F6B5E; }

  .price-card {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 4px;
    padding: 32px 28px;
    display: flex; flex-direction: column;
  }
  .price-card.featured {
    background: #F4EFE3;
    color: #1C1B17;
    border-color: #F4EFE3;
  }
  .price-card.featured .price-tier { color: var(--accent-deep); }
  .price-card.featured h3 { color: #1C1B17; }
  .price-card.featured .price-amount { color: #1C1B17; }
  .price-card.featured .price-detail { color: #5C5750; }
  .price-card.featured ul li { color: #3B3A33; }
  .price-card.featured ul li::before { color: var(--accent-deep); }

  .price-tier {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
  }
  .price-card h3 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    line-height: 1.15;
  }
  .price-amount {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 400;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 4px;
  }
  .price-amount .currency { font-size: 22px; vertical-align: super; margin-right: 2px; color: var(--ink-mute); }
  .price-amount .per { font-size: 16px; color: var(--ink-mute); font-style: italic; }
  .price-card.featured .price-amount .currency,
  .price-card.featured .price-amount .per { color: #A8A292; }
  .price-detail {
    color: var(--ink-mute);
    font-size: 14px;
    margin-bottom: 24px;
  }
  .price-card ul {
    list-style: none;
    margin-bottom: 28px;
    flex-grow: 1;
  }
  .price-card ul li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.45;
  }
  .price-card ul li::before {
    content: '→';
    position: absolute;
    left: 0; top: 0;
    color: var(--accent);
    font-weight: 600;
  }
  .price-card .btn { align-self: flex-start; }

  /* ───── What you keep doing yourself ───── */
  .keep-doing {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    padding: 32px;
    margin-top: 36px;
    border-radius: 4px;
  }
  .keep-doing h4 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
  }
  .keep-doing ul {
    list-style: none;
    columns: 2;
    column-gap: 32px;
  }
  @media (max-width: 640px) { .keep-doing ul { columns: 1; } }
  .keep-doing li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
    break-inside: avoid;
  }
  .keep-doing li::before {
    content: '×';
    position: absolute;
    left: 0; top: -2px;
    color: var(--ink-mute);
    font-size: 18px;
    font-weight: 500;
  }

  /* ───── FAQ ───── */
  .faq-item {
    border-bottom: 1px solid var(--rule);
    padding: 22px 0;
  }
  .faq-item:last-child { border-bottom: none; }
  .faq-item summary {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 500;
    font-size: 19px;
    letter-spacing: -0.005em;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::after {
    content: '+';
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 300;
    font-size: 28px;
    color: var(--accent);
    transition: transform 0.2s;
    line-height: 1;
  }
  .faq-item[open] summary::after { transform: rotate(45deg); }
  .faq-item p {
    color: var(--ink-soft);
    font-size: 15.5px;
    margin-top: 14px;
    line-height: 1.6;
  }

  /* ───── Final disclaimer ───── */
  .final-disclaimer {
    background: #2A1E18;
    border: 1px solid #4A2F22;
    padding: 36px;
    margin-top: 32px;
    border-radius: 4px;
  }
  .final-disclaimer h3 {
    font-family: 'Hanken Grotesk', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #F4D9C7;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }
  .final-disclaimer p {
    color: #E0B6A0;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  .final-disclaimer p:last-child { margin-bottom: 0; }

  /* ───── Footer ───── */
  footer {
    border-top: 1px solid var(--rule);
    padding: 48px 0 32px;
    margin-top: 60px;
    color: var(--ink-mute);
    font-size: 13.5px;
  }
  footer .container {
    display: flex; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
  }
  footer a { color: var(--ink-soft); text-decoration: none; }
  footer a:hover { color: var(--accent); }

  /* ───── Micro motion ───── */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(12px);
      animation: rise 0.7s ease-out forwards;
    }
    .reveal-1 { animation-delay: 0.05s; }
    .reveal-2 { animation-delay: 0.15s; }
    .reveal-3 { animation-delay: 0.25s; }
    .reveal-4 { animation-delay: 0.35s; }
    @keyframes rise { to { opacity: 1; transform: translateY(0); } }
  }


/* ============================================================
   v2 additions — Claude setup & Workspace MCP pages
   ============================================================ */

/* ─── Page sub-hero (smaller than landing hero) ───────────── */
.subhero { padding: 70px 0 50px; }
@media (max-width: 640px) { .subhero { padding: 44px 0 36px; } }
.subhero h1 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
  max-width: 800px;
}
.subhero h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
.subhero .lead { max-width: 680px; }
.subhero-meta {
  margin-top: 28px;
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-mute);
}
.subhero-meta strong { color: var(--ink); font-weight: 600; }

/* ─── Three-up reasoning cards ────────────────────────────── */
.three-up {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 900px) { .three-up { grid-template-columns: 1fr; } }
.three-up .cell {
  background: var(--bg-card);
  padding: 28px 26px;
}
.three-up .cell .tag {
  display: inline-block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.three-up .cell h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.three-up .cell p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ─── Single centered price card (used on sub-pages) ──────── */
.solo-card-wrap {
  display: flex; justify-content: center;
}
.solo-card {
  max-width: 560px; width: 100%;
}
.solo-card .price-detail-foot {
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.55;
  text-align: center;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}

/* ─── Code block with copy button ─────────────────────────── */
.codeblock {
  margin: 28px 0;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.codeblock-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: rgba(28, 27, 23, 0.04);
  border-bottom: 1px solid var(--rule);
}
.codeblock-head .label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.codeblock-head .copy-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
}
.codeblock-head .copy-btn:hover {
  color: var(--ink); border-color: var(--ink); background: var(--bg);
}
.codeblock-head .copy-btn.copied {
  color: var(--accent); border-color: var(--accent);
  background: rgba(154, 62, 42, 0.06);
}
.codeblock-head .copy-btn svg { width: 12px; height: 12px; }
.codeblock pre {
  font-family: 'JetBrains Mono', 'IBM Plex Mono', Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.65;
  padding: 18px 20px;
  margin: 0;
  overflow-x: auto;
  color: var(--ink-soft);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-height: 480px;
  background: var(--bg-card);
}
.codeblock.tall pre { max-height: 720px; }

/* ─── Project knowledge file checklist (claude-setup) ─────── */
.file-checklist {
  margin: 20px 0 4px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--bg-card);
  overflow: hidden;
}
.file-checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--rule);
  font-family: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--ink-soft);
  list-style: none;
}
.file-checklist li:first-child { border-top: 0; }
.file-checklist .glyph {
  width: 14px; height: 14px;
  border: 1.5px solid var(--rule-strong);
  border-radius: 2px;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.file-checklist .glyph::after { content: "✓"; }

/* ─── Pitfall callouts (claude-setup) ─────────────────────── */
.pitfalls { display: grid; grid-template-columns: 1fr; gap: 0; margin: 24px 0; border-top: 1px solid var(--rule); }
.pitfall {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.pitfall .glyph {
  font-family: 'Hanken Grotesk', sans-serif;
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
  line-height: 1;
  padding-top: 3px;
}
.pitfall h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  color: var(--ink);
}
.pitfall p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ─── Comparison table (workspace-mcp) ────────────────────── */
.compare-table-wrap {
  margin: 24px 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-card);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare-table th, .compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th {
  background: rgba(28, 27, 23, 0.04);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.compare-table tbody tr:hover { background: rgba(216, 138, 106, 0.06); }
.compare-table .cap {
  width: 50%;
  color: var(--ink);
  font-weight: 500;
}
.compare-table .col {
  text-align: center;
  width: 25%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 500;
}
.compare-table .yes { color: var(--ink); }
.compare-table .partial { color: var(--ink-mute); }
.compare-table .no { color: rgba(28, 27, 23, 0.3); }
.compare-table-foot {
  font-size: 12.5px; color: var(--ink-mute);
  margin: 10px 2px 0; font-style: italic;
}
@media (max-width: 700px) {
  .compare-table-wrap { display: none; }
  .compare-stack { display: block; }
}
@media (min-width: 701px) {
  .compare-stack { display: none; }
}
.compare-stack {
  margin: 24px 0;
  border-top: 1px solid var(--rule);
}
.compare-stack .row {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.compare-stack .cap {
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 10px;
}
.compare-stack .pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.compare-stack .pair > div {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 8px 12px;
  border-radius: 3px;
}
.compare-stack .pair .lab {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}

/* ─── Scenario blocks (workspace-mcp) ─────────────────────── */
.scenarios { margin: 24px 0; }
.scenario {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid var(--rule);
}
.scenario:last-child { border-bottom: 1px solid var(--rule); }
.scenario .quote {
  font-family: 'Hanken Grotesk', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 60ch;
}
.scenario .answers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
@media (max-width: 700px) { .scenario .answers { grid-template-columns: 1fr; } }
.scenario .answers > div {
  padding: 16px 18px;
  border-radius: 3px;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.scenario .answers .lab {
  display: block;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 8px;
}
.scenario .answers .mcp { background: #0E0E14; color: #E8E5DC; border-color: var(--accent); }
.scenario .answers .mcp .lab { color: var(--accent); }

/* ─── Security trio (workspace-mcp) ───────────────────────── */
.sec-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 24px 0;
}
@media (max-width: 800px) { .sec-trio { grid-template-columns: 1fr; } }
.sec-trio .cell {
  background: var(--bg-card);
  padding: 24px 22px;
}
.sec-trio .cell h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.sec-trio .cell p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ─── Mobile nav (hamburger) ──────────────────────────────── */
.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  color: var(--ink);
}
.menu-btn svg { width: 16px; height: 16px; display: block; }
@media (max-width: 640px) {
  .menu-btn { display: inline-flex; }
  .topnav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 60px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: 8px 32px 16px;
    z-index: 60;
  }
  .topnav.open a {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
  }
  .topnav.open a:first-child { border-top: 0; }
  .topstrip-inner { position: relative; }
}

/* ─── Page footer link to handbook ────────────────────────── */
.footer-deep {
  font-size: 12.5px;
  color: var(--ink-mute);
}
.footer-deep a { color: var(--ink-soft); border-bottom: 1px solid var(--rule-strong); padding-bottom: 1px; text-decoration: none; }
.footer-deep a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ─── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── Print ───────────────────────────────────────────────── */
@media print {
  .topstrip, .menu-btn, .disclaimer-banner, .copy-btn, .codeblock-head { display: none !important; }
  body { background: #fff; }
  .codeblock { page-break-inside: avoid; }
  section { page-break-inside: avoid; }
}


/* ============================================================
   v3 additions — services restructure + policy pages
   ============================================================ */

/* ─── Services group sub-heading + rule ───────────────────── */
.services-group {
  margin-top: 8px;
}
.services-group-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 22px;
}
.services-group-head .lbl {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.services-group-head .rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
}
.services-group + .services-group {
  margin-top: 52px;
}

/* ─── "Most popular" ribbon on featured card ──────────────── */
.price-card { position: relative; }
.price-card .ribbon {
  position: absolute;
  top: 14px; right: -1px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px 5px 14px;
  border-radius: 3px 0 0 3px;
}
.price-card.featured .ribbon { background: #C6A78F; color: var(--ink); }

/* ─── Bundle hint below cards ─────────────────────────────── */
.bundle-hint {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  text-align: center;
  margin: 16px 0 0;
  max-width: 580px;
  margin-left: auto; margin-right: auto;
  line-height: 1.55;
}

/* ─── Setup card two-column inside ────────────────────────── */
.setup-card { max-width: 720px; width: 100%; padding: 36px 36px 28px; }
.setup-card .price-amount + .price-detail {
  margin-bottom: 22px;
}
.setup-card .discount-note {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  font-style: italic;
  margin-top: 2px;
}
.setup-card .twocol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 22px;
  flex-grow: 1;
}
@media (max-width: 640px) { .setup-card .twocol { grid-template-columns: 1fr; gap: 22px; } }
.setup-card .twocol h5 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.setup-card .twocol ul {
  list-style: none; padding: 0; margin: 0;
}
.setup-card .twocol li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.5;
}
.setup-card .twocol li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 600;
}
.setup-card .engagement {
  font-size: 12.5px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.setup-card .engagement strong { color: var(--ink); font-weight: 600; }

/* ─── "What we do NOT do" callout — strengthened ──────────── */
.keep-doing.do-not-do {
  border-color: var(--rule-strong);
  background: rgba(154, 62, 42, 0.04);
}
.keep-doing.do-not-do h4 {
  color: var(--accent-deep);
}

/* ─── Open-source attribution line on cards ───────────────── */
.card-foot-note {
  font-size: 12px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 18px;
  line-height: 1.6;
  font-style: italic;
}
.price-card.featured .card-foot-note {
  color: #A8A292;
  border-top-color: rgba(255,255,255,0.1);
  font-style: italic;
}
.card-foot-note a {
  color: inherit;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  text-decoration: none;
}
.price-card.featured .card-foot-note a {
  border-bottom-color: rgba(255,255,255,0.2);
}
.card-foot-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.price-card.featured .card-foot-note a:hover { color: #fff; border-bottom-color: #fff; }

/* ─── "Why not self-host?" prose section ──────────────────── */
.self-host-prose {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.self-host-prose p { margin-bottom: 14px; }
.self-host-prose a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  text-decoration: none;
}
.self-host-prose a:hover { border-bottom-color: var(--accent-deep); color: var(--accent-deep); }

/* ============================================================
   POLICY PAGES (privacy.html, terms.html)
   ============================================================ */

.staging-banner {
  background: #2D2510;
  border-bottom: 1px solid #5C4A1E;
  padding: 12px 0;
  font-size: 13.5px;
  color: #E0CC8A;
}
.staging-banner .container {
  display: flex; align-items: flex-start; gap: 12px;
}
.staging-banner .glyph {
  width: 14px; height: 14px;
  background: #C28F1E;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #FFF4D6;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.staging-banner .glyph::after { content: "!"; }
.staging-banner strong { color: #F4E2A0; }

/* Layout: reading-width with sticky TOC */
.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  padding-top: 36px;
  padding-bottom: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; gap: 24px; }
}

.policy-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 4px 0;
}
.policy-toc .label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.policy-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}
.policy-toc li { margin: 0; }
.policy-toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 4px;
  padding: 6px 10px 6px 12px;
  margin-left: -12px;
  text-decoration: none;
  color: var(--ink-soft);
  border-left: 1px solid transparent;
  border-radius: 0 2px 2px 0;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.policy-toc a .n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  color: var(--ink-mute);
}
.policy-toc a:hover { color: var(--ink); }
.policy-toc a.active {
  color: var(--ink);
  background: var(--bg-card);
  border-left-color: var(--accent);
}
.policy-toc a.active .n { color: var(--accent); }

@media (max-width: 900px) {
  .policy-toc {
    position: static;
    max-height: none;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 20px;
    margin-bottom: 12px;
  }
}

.policy-body {
  max-width: 680px;
  min-width: 0;
}
.policy-header {
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}
.policy-header .eyebrow {
  margin-bottom: 18px;
}
.policy-header h1 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin-bottom: 18px;
}
.policy-header .meta {
  display: flex; flex-wrap: wrap; gap: 18px 32px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.policy-header .meta strong { color: var(--ink); font-weight: 600; }

.policy-body .doc-blockquote {
  margin: 20px 0 28px;
  padding: 18px 22px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-bd);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  font-size: 14.5px;
  color: var(--accent-deep);
  line-height: 1.6;
}
.policy-body .doc-blockquote strong { color: var(--accent-deep); font-weight: 700; }

.policy-body h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 56px 0 14px;
  padding-top: 18px;
  scroll-margin-top: 100px;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 14px;
}
.policy-body h2:first-of-type { margin-top: 0; padding-top: 0; }
.policy-body h2 .n {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  flex-shrink: 0;
}

.policy-body h3 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 28px 0 10px;
  color: var(--ink);
}

.policy-body h4 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 24px 0 8px;
}

.policy-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.policy-body p strong { color: var(--ink); font-weight: 600; }
.policy-body p em { color: var(--ink-soft); font-style: italic; }
.policy-body a {
  color: var(--accent);
  border-bottom: 1px solid rgba(154, 62, 42, 0.25);
  padding-bottom: 1px;
  text-decoration: none;
}
.policy-body a:hover { border-bottom-color: var(--accent); color: var(--accent-deep); }
.policy-body code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font-size: 13.5px;
  padding: 1px 6px;
  color: var(--ink-soft);
}
.policy-body ul, .policy-body ol {
  margin: 8px 0 16px 4px;
  padding-left: 22px;
}
.policy-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.policy-body li::marker { color: var(--ink-mute); }
.policy-body li strong { color: var(--ink); }
.policy-body hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 40px 0;
}

.policy-body .doc-table {
  margin: 18px 0;
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.policy-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.policy-body th, .policy-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  vertical-align: top;
}
.policy-body tr:last-child td { border-bottom: 0; }
.policy-body th {
  background: rgba(28, 27, 23, 0.04);
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ─── Placeholder token style ─────────────────────────────── */
.placeholder {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86em;
  background: #2D2510;
  color: #E0CC8A;
  border: 1px dashed #5C4A1E;
  padding: 1px 6px;
  border-radius: 2px;
  margin: 0 1px;
  letter-spacing: 0.02em;
  font-weight: 500;
}


/* ─── Infrastructure gotchas (§04) ─────────────────────────── */
.gotcha-search {
  position: relative;
  margin: 0 0 24px;
  max-width: 480px;
}
.gotcha-search input {
  width: 100%;
  background: var(--bg-card);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 10px 14px 10px 38px;
  font: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.15s;
}
.gotcha-search input:focus { border-color: var(--accent); }
.gotcha-search input::placeholder { color: var(--ink-mute); }
.gotcha-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--ink-mute);
  pointer-events: none;
}
.gotcha-search .clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--ink-mute);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  display: none;
}
.gotcha-search .clear:hover { color: var(--ink); }
.gotcha-search.has-value .clear { display: inline-block; }

.gotcha-empty {
  display: none;
  padding: 24px 18px;
  border: 1px dashed var(--rule-strong);
  border-radius: 4px;
  color: var(--ink-mute);
  font-style: italic;
  font-size: 14px;
  text-align: center;
}

.gotcha-list { display: grid; gap: 10px; }

.gotcha-rule {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.gotcha-rule[open] { border-color: var(--rule-strong); }
.gotcha-rule.hot { border-left: 3px solid var(--accent); }
.gotcha-rule.hidden { display: none; }

.gotcha-rule > summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 14px;
  align-items: baseline;
  font-size: 15px;
  color: var(--ink);
  user-select: none;
}
.gotcha-rule > summary::-webkit-details-marker { display: none; }
.gotcha-rule > summary .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 2px;
}
.gotcha-rule.hot > summary .num { color: var(--accent); }
.gotcha-rule > summary .title {
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.gotcha-rule > summary .chev {
  color: var(--ink-mute);
  font-size: 14px;
  transition: transform 0.15s;
  padding-top: 4px;
}
.gotcha-rule[open] > summary .chev { transform: rotate(180deg); color: var(--accent); }

.gotcha-body {
  padding: 0 18px 18px 64px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.gotcha-body > .meta-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 10px 14px;
  margin-bottom: 14px;
}
.gotcha-body > .meta-row .tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-top: 3px;
}
.gotcha-body > .meta-row .tag.cause { color: var(--accent); }
.gotcha-body > .meta-row .tag.fix { color: var(--ink); }
.gotcha-body > .meta-row p { margin: 0; color: var(--ink-soft); }
.gotcha-body > p:not(:last-child) { margin-bottom: 10px; }
.gotcha-body ul {
  margin: 8px 0;
  padding-left: 20px;
}
.gotcha-body li {
  margin: 4px 0;
  color: var(--ink-soft);
}
.gotcha-body code {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg-card-dark);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1px 5px;
  font-size: 0.86em;
  color: var(--ink);
}
.gotcha-body pre {
  background: var(--bg-card-dark);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 14px 16px;
  margin: 12px 0;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink);
}
.gotcha-body pre code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

mark.gotcha-hit {
  background: rgba(216, 138, 106, 0.28);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

@media (max-width: 640px) {
  .gotcha-body { padding-left: 18px; }
  .gotcha-rule > summary { grid-template-columns: 1fr auto; }
  .gotcha-rule > summary .num { display: none; }
  .gotcha-body > .meta-row { grid-template-columns: 1fr; gap: 2px 0; }
  .gotcha-body > .meta-row .tag { padding-top: 8px; }
}

.gotcha-meta-rule {
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  background: var(--bg-card);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.gotcha-meta-rule .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.gotcha-meta-rule strong { color: var(--ink); }

.gotcha-footnote {
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
