/* Redrawn: editorial, restrained. */
:root {
  --paper: #FBF9F5;
  --paper-2: #F4F0E8;
  --ink: #1D1C1A;
  --ink-2: #5E5950;
  --rule: #E2DCD1;
  --rule-strong: #CFC7B9;
  --accent: #A9471F;
  --accent-soft: #F1E2D8;
  --accent-light: #E59A74;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --space-section: clamp(88px, 12vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
strong { font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 0.9375rem; text-decoration: none; color: var(--ink-2); }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  color: var(--ink); border: 1px solid var(--ink); padding: 8px 16px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--ink); color: var(--paper); }
.nav-toggle { display: none; }

/* Buttons */
.button {
  display: inline-block; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-weight: 500; font-size: 1rem; line-height: 1.3;
  padding: 16px 26px; border-radius: 999px; text-decoration: none;
  transition: background .15s ease;
}
.button:hover { background: var(--accent); color: #fff; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--accent-light); color: var(--ink); }

/* Type helpers */
.eyebrow, .section-num, .list-title, .panel-kicker, .price-step, .tag, .step-meta, .figure-label {
  font-family: var(--sans); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
}
.eyebrow { color: var(--ink-2); margin-bottom: 28px; }
.small { font-size: 0.9375rem; color: var(--ink-2); }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 8vw, 112px); }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.75rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -0.022em;
  max-width: 13ch; font-variation-settings: "opsz" 72;
}
.hero h1 em { font-style: italic; color: var(--ink); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(36px, 5vw, 64px); align-items: end;
}
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; max-width: 36em; margin: 0; }
.hero-actions .button { margin-bottom: 16px; }
.hero-note { font-size: 0.9375rem; color: var(--ink-2); max-width: 30em; margin: 0; }

.hero-figure { margin: clamp(64px, 8vw, 104px) 0 0; border-top: 1px solid var(--rule); padding-top: 28px; }
.hero-drawings { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 5vw, 80px); }
.hero-drawing svg { width: 100%; height: auto; }
.figure-label { color: var(--ink-2); margin: 12px 0 0; }
.hero-drawing:last-child .figure-label { color: var(--accent); }

/* SVG styling */
.ln { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ln-soft { fill: none; stroke: #9C958A; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.ln-accent { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; }
.dash { stroke-dasharray: 4 5; }
.nd { fill: var(--paper); stroke: var(--ink); stroke-width: 1.4; }
.nd-ai { fill: var(--accent); stroke: var(--accent); stroke-width: 1.4; }
.nd-decide { fill: var(--ink); }
.svg-note { font-family: var(--sans); font-size: 13px; fill: var(--accent); letter-spacing: 0.01em; }
.svg-note.ink { fill: var(--ink-2); }

.box rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.box-strong rect { stroke-width: 2.2; }
.bx-role { font-family: var(--sans); font-size: 15px; font-weight: 500; fill: var(--ink); }
.bx-seat { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--ink-2); }
.dots circle, .dot-ink { fill: var(--ink); }
.ai-tag rect, .ai-pill { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1; }
.ai-tag text { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.06em; fill: var(--accent); }

.fnode rect, .fnode path { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.fnode-ai rect { stroke: var(--accent); fill: #FCF4EE; }
.fnode-person rect { stroke-width: 1.2; }
.fnode-person { }
.fn-title { font-family: var(--sans); font-size: 15px; font-weight: 500; fill: var(--ink); }
.fn-sub { font-family: var(--serif); font-style: italic; font-size: 15px; fill: var(--ink-2); }
.fn-sub.ink { fill: var(--ink); font-size: 14px; }
.fn-tag { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; fill: var(--accent); }

/* Sections */
.section { padding: var(--space-section) 0 0; }
.section-tint { background: var(--paper-2); padding-bottom: var(--space-section); margin-top: var(--space-section); }
.section-tint + .section { }
.section-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(24px, 5vw, 80px);
}
.section-head { border-top: 1px solid var(--ink); padding-top: 18px; }
.section-num { color: var(--accent); margin: 0 0 10px; font-variant-numeric: tabular-nums; }
.section-head h2 {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.35;
}
.section-body { border-top: 1px solid var(--rule); padding-top: 18px; }
.statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.16; letter-spacing: -0.015em;
  max-width: 24em; margin: 0 0 clamp(40px, 5vw, 64px); font-variation-settings: "opsz" 48;
}
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); }
.two-col p { max-width: 34em; }
.list-title { color: var(--ink-2); margin: 0 0 14px; }

.rule-list, .num-list { list-style: none; margin: 0; padding: 0; }
.rule-list li { padding: 12px 0; border-top: 1px solid var(--rule); }
.rule-list li:last-child { border-bottom: 1px solid var(--rule); }
.num-list { counter-reset: n; }
.num-list li { counter-increment: n; position: relative; padding: 12px 0 12px 36px; border-top: 1px solid var(--rule); }
.num-list li:last-child { border-bottom: 1px solid var(--rule); margin-bottom: 16px; }
.num-list li::before {
  content: counter(n); position: absolute; left: 0; top: 12px;
  font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.125rem;
}

/* Steps */
.steps {
  list-style: none; margin: clamp(8px, 2vw, 24px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.step { position: relative; padding: 28px 28px 0 0; border-top: 1px solid var(--ink); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--rule); }
.step-meta { display: flex; align-items: center; gap: 12px; color: var(--ink-2); margin-bottom: 22px; letter-spacing: 0.06em; }
.step-no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--ink); color: var(--ink); font-family: var(--serif); font-style: italic;
  text-transform: none; letter-spacing: 0; font-size: 1rem; flex: none;
}
.step:first-child .step-no { background: var(--accent); border-color: var(--accent); color: #fff; }
.step h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.875rem); line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.01em; }
.step p:last-child { color: var(--ink-2); font-size: 1rem; }

/* Picture: example */
.example-banner {
  display: flex; align-items: baseline; gap: 16px; margin: clamp(72px, 9vw, 120px) 0 36px;
  padding: 16px 0; border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong);
}
.example-banner p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
.tag {
  flex: none; color: var(--accent); border: 1px solid var(--accent); padding: 3px 10px; border-radius: 999px;
  font-size: 0.75rem;
}
.org-figure { margin: 0; }
.org-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.panel-title {
  font-family: var(--serif); font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.2; margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.panel-kicker { display: block; color: var(--ink-2); margin-bottom: 6px; }
.panel-kicker.accent { color: var(--accent); }
.org-svg { width: 100%; height: auto; overflow: visible; }
.legend {
  display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--rule); font-size: 0.875rem; color: var(--ink-2);
}
.legend-item { display: inline-flex; align-items: center; gap: 10px; }
.legend-item svg { height: 14px; width: auto; }

.flow-and-lines {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(72px, 9vw, 120px); align-items: start;
}
.flow-figure { margin: 0; }
.flow-svg { width: 100%; max-width: 440px; height: auto; }

.lines-table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 8px 0 32px; }
.lines-table th, .lines-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--rule); }
.lines-table thead th {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--ink-2);
  border-bottom: 1px solid var(--ink);
}
.lines-table thead th:last-child { color: var(--accent); }
.lines-table tbody th { font-weight: 600; white-space: nowrap; }
.lines-table td:last-child { color: var(--accent); }
.pullnote {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.35;
  border-left: 2px solid var(--accent); padding-left: 20px; max-width: 26em; margin: 0;
}

/* Pricing */
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(8px, 2vw, 24px); }
.price-card {
  border: 1px solid var(--ink); padding: clamp(28px, 3.5vw, 48px); background: var(--paper);
  display: flex; flex-direction: column;
}
.price-step { color: var(--accent); margin-bottom: 12px; }
.price-card h3 { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.01em; line-height: 1.1; }
.price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 10px; }
.price-num { font-family: var(--serif); font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.price-unit { color: var(--ink-2); font-size: 0.9375rem; }
.price-time { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 24px; }
.check-list { list-style: none; margin: 0 0 24px; padding: 0; }
.check-list li { position: relative; padding: 10px 0 10px 24px; border-top: 1px solid var(--rule); font-size: 1rem; }
.check-list li::before {
  content: ""; position: absolute; left: 2px; top: 1.05em; width: 10px; height: 5px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg);
}
.price-foot { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 0.9375rem; }

.support { margin-top: clamp(72px, 8vw, 112px); }
.support-title { font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.25rem); letter-spacing: -0.01em; }
.support-intro { color: var(--ink-2); margin: 10px 0 28px; max-width: 36em; }
.support-table { border-top: 1px solid var(--ink); }
.support-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 6fr); gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.s-name h4 { font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; }
.s-note { font-size: 0.875rem; color: var(--ink-2); margin: 4px 0 0; }
.s-price { color: var(--ink-2); font-size: 0.9375rem; }
.price-num-sm { font-family: var(--serif); font-size: 1.75rem; color: var(--ink); letter-spacing: -0.01em; margin-right: 4px; }
.s-desc { margin: 0; color: var(--ink-2); font-size: 1rem; max-width: 40em; }
.support-foot { margin-top: 20px; font-size: 1rem; }

/* What it isn't */
.isnt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.isnt h3 {
  font-family: var(--serif); font-size: clamp(1.75rem, 2.6vw, 2.375rem); line-height: 1.1; letter-spacing: -0.015em;
  margin-bottom: 16px; position: relative; display: inline-block;
}
.isnt h3::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: 1.5px; background: var(--accent);
  transform: rotate(-2deg);
}
.isnt p { color: var(--ink-2); margin: 0; }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.5rem); line-height: 1.3;
  padding: 22px 48px 22px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink);
  transition: transform .2s ease;
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--accent); }
.faq-a { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44em; }
.faq-a p { margin: 0; }

/* Contact */
.contact { background: var(--ink); color: var(--paper); margin-top: var(--space-section); padding: clamp(88px, 11vw, 152px) 0; }
.contact-inner { max-width: calc(var(--wrap)); }
.section-num.light { color: var(--accent-light); }
.contact h2 {
  font-family: var(--serif); font-size: clamp(2.5rem, 5.5vw, 4.75rem); line-height: 1.04; letter-spacing: -0.02em;
  max-width: 14ch; margin: 8px 0 28px;
}
.contact-lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: #D9D3C8; max-width: 34em; margin-bottom: 36px; }
.contact-small { color: #B8B2A7; font-size: 0.9375rem; margin: 18px 0 0; max-width: 34em; }

/* Footer */
.site-footer { background: var(--ink); color: #B8B2A7; border-top: 1px solid #3A3833; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; padding-top: 28px; padding-bottom: 36px; font-size: 0.875rem; }
.footer-inner p { margin: 0; }
.wordmark-sm { font-size: 1.25rem; color: var(--paper); margin-right: auto !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .flow-and-lines { grid-template-columns: 1fr; }
  .flow-svg { margin: 0 auto 0 0; }
}

@media (max-width: 880px) {
  .section-grid { grid-template-columns: 1fr; gap: 0; }
  .section-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 20px; }
  .section-head .section-num { margin: 0; }
  .section-body { border-top: 0; padding-top: 4px; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .two-col, .price-cards, .isnt-grid { grid-template-columns: 1fr; }
  .org-pair { grid-template-columns: 1fr; gap: 64px; }
  .support-row { grid-template-columns: 1fr auto; gap: 6px 24px; }
  .s-desc { grid-column: 1 / -1; }
  .s-price { text-align: right; }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--ink);
    border-radius: 999px; padding: 8px 16px; font: 500 0.9375rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 68px; background: var(--paper);
    border-bottom: 1px solid var(--rule); display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .site-nav li a { display: block; padding: 14px 0; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; padding: 14px 16px; border: 1px solid var(--ink); }
  /* No JS: show the links inline instead of hiding them */
  .no-js .nav-toggle { display: none; }
  .no-js .site-nav { display: block; position: static; border: 0; }
}

@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step { padding: 24px 0 32px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--rule); }
  .step:first-child { border-top: 1px solid var(--ink); }
  .hero-drawings { gap: 16px; }
  .example-banner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .lines-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lines-table, .lines-table tbody, .lines-table tr, .lines-table th, .lines-table td { display: block; width: 100%; }
  .lines-table tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .lines-table tbody th { border: 0; padding: 0 0 6px; font-size: 1rem; }
  .lines-table td { border: 0; padding: 3px 0; display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
  .lines-table td::before {
    content: attr(data-label); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-2); padding-top: 3px;
  }
  .lines-table td:last-child::before { color: var(--accent); }
  .faq-a { padding-right: 0; }
  .button { display: block; text-align: center; }
}

/* ---------- Review fixes ---------- */
.ai-box { fill: #FCF4EE; stroke: var(--accent); stroke-width: 1.2; }
.person-box { fill: var(--paper); stroke: var(--ink); stroke-width: 1.2; }
.legend-flow { margin-top: 20px; max-width: 440px; }
.bx-role { font-size: 16px; }

.isnt h3 { display: block; padding-top: 20px; }
.isnt h3::after { content: none; }
.isnt h3::before {
  content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 1.5px; background: var(--accent);
}

.faq { border-top: 0; }
.faq details:first-child summary { padding-top: 4px; }

@media (max-width: 640px) {
  .hero-drawings { grid-template-columns: 1fr; gap: 36px; }
  .org-figure { margin-left: calc(-1 * var(--gutter) + 8px); margin-right: calc(-1 * var(--gutter) + 8px); }
  .org-figure .panel-title, .org-figure .legend { margin-left: calc(var(--gutter) - 8px); margin-right: calc(var(--gutter) - 8px); }
}
@media (max-width: 760px) {
  .site-nav li:last-child a.nav-cta { border: 1px solid var(--ink); }
}
