:root {
  --ink: #17241b;
  --ink-2: #24362a;
  --muted: #5d6b61;
  --paper: #f5f3ec;
  --paper-2: #ece9df;
  --paper-3: #dfdfd0;
  --accent: #b35f3f;
  --accent-soft: #e5cdbf;
  --lime: #dce87a;
  --sage: #9daf91;
  --line: rgba(23, 36, 27, 0.14);
  --line-dark: rgba(245, 243, 236, 0.18);
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", Inter, system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--lime);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.section-shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 78px;
  border-bottom: 1px solid transparent;
  transition: height .2s ease, background .2s ease, border-color .2s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(245, 243, 236, .94);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.wordmark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.wordmark > span { display: flex; flex-direction: column; line-height: 1.1; }
.wordmark strong { font-size: 13px; font-weight: 700; letter-spacing: -.02em; }
.wordmark small {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 12px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--muted); transition: color .2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-cta {
  color: var(--paper);
  background: var(--ink);
  padding: 10px 15px;
  border-radius: 2px;
}
.menu-button { display: none; border: 0; background: transparent; }

.hero {
  min-height: 780px;
  padding-top: 148px;
  padding-bottom: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(420px, .97fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}
.eyebrow,
.section-kicker,
.card-label,
.site-card-head,
.system-panel-head,
.proof-card-head,
.long-view-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 9px;
}
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(179,95,63,.12);
}
.hero h1 {
  max-width: 820px;
  margin: 30px 0 24px;
  font-family: var(--serif);
  font-size: clamp(56px, 6.4vw, 94px);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.052em;
}
.hero-intro {
  max-width: 700px;
  margin: 0;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: var(--muted);
}
.hero-intro strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--ink-2); }
.button-secondary { background: transparent; }
.button-secondary:hover { background: var(--paper-2); }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-meta > div { padding: 18px 20px 18px 0; }
.hero-meta > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-meta span { display: block; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero-meta strong { display: block; margin-top: 6px; font-size: 12px; }

.hero-system { align-self: center; }
.system-panel {
  background: var(--ink);
  color: var(--paper);
  padding: 24px;
  box-shadow: 0 22px 65px rgba(23,36,27,.18);
}
.system-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(245,243,236,.62);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
}
.status-dot { color: var(--lime); }
.system-stack { padding: 24px 0; }
.system-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(245,243,236,.14);
  background: rgba(245,243,236,.025);
}
.system-row.active { border-color: rgba(220,232,122,.42); background: rgba(220,232,122,.04); }
.system-index { font-family: var(--mono); font-size: 9px; color: var(--lime); }
.system-row strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1; }
.system-row small { display: block; margin-top: 7px; color: rgba(245,243,236,.56); font-size: 10px; line-height: 1.55; }
.system-connector { width: 1px; height: 14px; margin-left: 34px; background: rgba(245,243,236,.2); }
.system-footer { display: flex; align-items: center; gap: 10px; color: rgba(245,243,236,.46); font-family: var(--mono); font-size: 7px; text-transform: uppercase; letter-spacing: .07em; }
.system-footer i { flex: 1; height: 1px; background: rgba(245,243,236,.14); }

.section { padding: 112px 0; }
.section-intro { display: grid; grid-template-columns: .4fr 1.15fr .65fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.section-kicker { margin: 7px 0 0; color: var(--accent); }
.section-intro h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}
.section-intro > p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr .95fr .95fr;
  margin-top: 68px;
  border: 1px solid var(--line);
}
.product-card { min-height: 390px; padding: 28px; border-right: 1px solid var(--line); }
.product-card:last-child { border-right: 0; }
.product-card-feature { background: var(--paper-2); }
.card-label { color: var(--accent); }
.product-card h3 {
  margin: 34px 0 15px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.product-card > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.compact-list { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.compact-list li { position: relative; padding: 7px 0 7px 17px; font-size: 11px; color: var(--ink-2); }
.compact-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 6px; height: 1px; background: var(--accent); }

.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-intro > p:last-child { color: rgba(245,243,236,.62); }
.section-kicker-light { color: var(--lime); }
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.method-step { min-height: 220px; padding: 26px; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.method-step > span { font-family: var(--mono); font-size: 9px; color: var(--lime); }
.method-step h3 { margin: 36px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.method-step p { margin: 0; color: rgba(245,243,236,.58); font-size: 12px; line-height: 1.7; }

.sites-section { padding-bottom: 120px; }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 68px; }
.site-card { padding: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.18); }
.site-card-head { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); }
.site-card-head span { color: var(--accent); }
.site-card h3 { margin: 42px 0 4px; font-family: var(--serif); font-size: 32px; line-height: 1; font-weight: 600; }
.site-location { margin: 0 0 22px; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.site-card > p:not(.site-location) { color: var(--muted); font-size: 13px; line-height: 1.7; }
.site-card dl { margin: 28px 0 0; }
.site-card dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.site-card dt { font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); }
.site-card dd { margin: 6px 0 0; font-size: 11px; line-height: 1.6; color: var(--ink-2); }

.roadmap-section { padding: 112px 0; background: var(--paper-2); }
.roadmap-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.roadmap-layout .section-intro { display: block; }
.roadmap-layout .section-intro h2 { margin-top: 18px; }
.roadmap-layout .section-intro > p:last-child { margin-top: 24px; max-width: 600px; }
.proof-card { background: var(--accent); color: #fff9f3; padding: 28px; }
.proof-card-head { display: flex; justify-content: space-between; gap: 20px; color: rgba(255,249,243,.68); padding-bottom: 18px; border-bottom: 1px solid rgba(255,249,243,.26); }
.proof-card blockquote { margin: 34px 0 44px; font-family: var(--serif); font-size: clamp(28px, 3vw, 43px); line-height: 1.08; letter-spacing: -.025em; }
.milestones { border-top: 1px solid rgba(255,249,243,.26); }
.milestone { display: grid; grid-template-columns: 14px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,249,243,.16); }
.milestone-state { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; border: 1px solid rgba(255,249,243,.5); }
.milestone-state.active { background: var(--lime); border-color: var(--lime); }
.milestone p { margin: 0; }
.milestone strong { display: block; font-size: 11px; }
.milestone small { display: block; margin-top: 2px; color: rgba(255,249,243,.62); font-size: 9px; }
.long-view { margin-top: 70px; padding-top: 24px; border-top: 1px solid var(--line); }
.long-view-label { color: var(--muted); }
.long-view-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 22px; border: 1px solid var(--line); }
.long-view-grid > div { min-height: 150px; padding: 20px; border-right: 1px solid var(--line); }
.long-view-grid > div:last-child { border-right: 0; }
.long-view-grid strong { display: block; font-family: var(--serif); font-size: 21px; }
.long-view-grid p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.contact-section { padding: 112px 0; background: var(--ink-2); color: var(--paper); }
.contact-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 100px; align-items: end; }
.contact-copy h2 { margin: 20px 0 22px; font-family: var(--serif); font-size: clamp(46px, 5vw, 72px); font-weight: 600; line-height: .98; letter-spacing: -.04em; }
.contact-copy > p:not(.section-kicker) { max-width: 670px; margin: 0; color: rgba(245,243,236,.64); font-size: 14px; line-height: 1.8; }
.contact-note { margin-top: 22px !important; font-size: 11px !important; color: rgba(245,243,236,.46) !important; }
.interest-form label { display: block; margin-bottom: 24px; }
.interest-form label > span { display: block; margin-bottom: 7px; font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; color: rgba(245,243,236,.62); }
.interest-form input,
.interest-form select { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(245,243,236,.35); border-radius: 0; outline: 0; background: transparent; color: var(--paper); font-size: 13px; }
.interest-form input:focus,
.interest-form select:focus { border-color: var(--lime); }
.interest-form input::placeholder { color: rgba(245,243,236,.3); }
.interest-form option { background: var(--ink); }
.button-light { width: 100%; margin-top: 5px; background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button-light:hover { background: var(--paper); border-color: var(--paper); }
.button:disabled { opacity: .7; cursor: default; transform: none; }
.form-note { margin: 12px 0 0; font-family: var(--mono); font-size: 7px; line-height: 1.6; color: rgba(245,243,236,.45); }
.form-note.success { color: var(--lime); }

.site-footer { padding: 54px 0 26px; background: var(--ink); color: var(--paper); }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 50px; }
.footer-brand { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.footer-top > div:first-child p { margin: 5px 0 0; color: rgba(245,243,236,.5); font-size: 12px; }
.footer-meta { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 30px; }
.footer-meta p { margin: 0; color: rgba(245,243,236,.48); font-size: 9px; line-height: 1.6; }
.footer-meta strong { display: block; margin-bottom: 5px; color: var(--paper); font-family: var(--mono); font-size: 7px; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(245,243,236,.12); font-family: var(--mono); font-size: 7px; text-transform: uppercase; letter-spacing: .07em; color: rgba(245,243,236,.48); }
.footer-bottom a { text-decoration: none; color: var(--paper); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-system { max-width: 700px; }
  .section-intro { grid-template-columns: .4fr 1fr; }
  .section-intro > p:last-child { grid-column: 2; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card { border-bottom: 1px solid var(--line); }
  .product-card:nth-child(2) { border-right: 0; }
  .product-card:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .site-cards { grid-template-columns: 1fr; }
  .roadmap-layout { grid-template-columns: 1fr; gap: 48px; }
  .long-view-grid { grid-template-columns: 1fr 1fr; }
  .long-view-grid > div:nth-child(2) { border-right: 0; }
  .long-view-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .contact-layout { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 760px) {
  .section-shell,
  .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .site-header { height: 66px; }
  .menu-button { position: relative; z-index: 4; display: flex; flex-direction: column; gap: 5px; width: 36px; padding: 9px 5px; }
  .menu-button span:not(.sr-only) { width: 26px; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { display: none; position: fixed; inset: 0; padding: 105px 22px 30px; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-family: var(--serif); font-size: 28px; font-weight: 600; }
  .site-nav .nav-cta { margin-top: 20px; padding: 13px 15px; text-align: center; font-family: var(--sans); font-size: 13px; }

  .hero { padding-top: 112px; padding-bottom: 72px; gap: 52px; }
  .hero h1 { font-size: clamp(50px, 15vw, 70px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { grid-template-columns: 1fr; }
  .hero-meta > div { padding: 14px 0; }
  .hero-meta > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .system-panel { padding: 18px; }
  .system-row { grid-template-columns: 30px 1fr; padding: 13px; }
  .system-row strong { font-size: 20px; }
  .system-connector { margin-left: 27px; }
  .system-footer { flex-wrap: wrap; }
  .system-footer i { min-width: 20px; }

  .section { padding: 82px 0; }
  .section-intro { display: block; }
  .section-intro h2 { margin-top: 18px; font-size: 46px; }
  .section-intro > p:last-child { margin-top: 22px; }
  .product-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .product-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-card:last-child { grid-column: auto; }
  .method-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .method-step { min-height: 0; }
  .site-cards { margin-top: 48px; }
  .roadmap-section { padding: 82px 0; }
  .proof-card { padding: 22px; }
  .proof-card blockquote { font-size: 29px; }
  .long-view-grid { grid-template-columns: 1fr; }
  .long-view-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .long-view-grid > div:last-child { border-bottom: 0; }
  .contact-section { padding: 82px 0; }
  .contact-copy h2 { font-size: 48px; }
  .footer-top { flex-direction: column; }
  .footer-meta { grid-template-columns: 1fr; }
}

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