:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #596660;
  --paper: #f4f5f1;
  --white: #fcfdfb;
  --line: #ced5cf;
  --green: #1d5945;
  --green-dark: #123c2f;
  --signal: #d9923b;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  align-items: center; background: rgba(252, 253, 251, 0.94); border-bottom: 1px solid var(--line);
  display: grid; gap: 32px; grid-template-columns: 1fr auto 1fr; min-height: 78px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2)); position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
}
.brand { align-items: center; display: flex; gap: 12px; text-decoration: none; }
.brand-mark { align-items: center; background: var(--green); color: white; display: flex; font-size: 13px; font-weight: 800; height: 42px; justify-content: center; letter-spacing: .08em; width: 42px; }
.brand b, .brand small { display: block; }
.brand b { letter-spacing: .05em; }
.brand small { color: var(--muted); font-size: 11px; }
nav { display: flex; gap: 28px; }
nav a, .text-link { font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--green); }
.button { background: var(--green); border: 1px solid var(--green); color: white; display: inline-flex; font-size: 14px; font-weight: 750; justify-content: center; padding: 14px 20px; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { background: var(--green-dark); transform: translateY(-1px); }
.button-compact { justify-self: end; padding: 11px 16px; }
.hero { display: grid; gap: 72px; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); min-height: 650px; padding-block: 110px 90px; }
.eyebrow { color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .15em; margin: 0 0 20px; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6vw, 76px); letter-spacing: -.045em; line-height: 1.02; margin-bottom: 30px; max-width: 900px; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 42px; max-width: 820px; }
h3 { font-size: 21px; line-height: 1.25; margin-bottom: 12px; }
.hero-lead { color: var(--muted); font-size: clamp(18px, 2vw, 23px); max-width: 720px; }
.hero-actions { align-items: center; display: flex; gap: 28px; margin-top: 36px; }
.development-note { border-left: 3px solid var(--signal); color: var(--muted); font-size: 13px; margin-top: 48px; max-width: 650px; padding-left: 16px; }
.hero-system { align-self: center; background: var(--green-dark); color: white; padding: 38px; }
.system-node { border: 1px solid rgba(255,255,255,.35); padding: 20px; text-align: center; }
.system-node.core { background: var(--green); font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.system-node small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; opacity: .7; }
.system-line { background: rgba(255,255,255,.35); height: 30px; margin-inline: auto; width: 1px; }
.system-output-grid { display: grid; gap: 8px; grid-template-columns: repeat(2,1fr); }
.system-output-grid span { background: rgba(255,255,255,.08); padding: 14px; text-align: center; }
.section { padding-block: 100px; }
.card-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); background: var(--line); border: 1px solid var(--line); }
.card-grid article { background: var(--white); min-height: 240px; padding: 30px; }
.card-grid article > span { color: var(--signal); font-size: 12px; font-weight: 800; }
.card-grid p, .mode-grid p, .principle-layout > div > p { color: var(--muted); }
.principle-section { background: var(--green-dark); color: white; }
.principle-section .eyebrow { color: #8bd1b6; }
.principle-layout { display: grid; gap: 80px; grid-template-columns: .8fr 1.2fr; }
.principle-list { list-style: none; margin: 0; padding: 0; }
.principle-list li { border-top: 1px solid rgba(255,255,255,.2); display: grid; gap: 20px; grid-template-columns: 150px 1fr; padding: 20px 0; }
.principle-list span { color: rgba(255,255,255,.7); }
.mode-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.mode-grid article { border-top: 4px solid var(--green); background: var(--white); min-height: 200px; padding: 26px; }
.mode-note { color: var(--muted); font-size: 13px; margin-top: 28px; }
.cta { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-block: 70px; }
.cta h2 { margin-bottom: 0; }
footer { background: #0d1813; color: rgba(255,255,255,.72); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; padding-block: 30px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { gap: 48px; grid-template-columns: 1fr; padding-block: 72px; }
  .hero-system { max-width: 600px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-layout { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .section-shell { width: min(100% - 28px, 1180px); }
  .site-header { padding-inline: 14px; }
  .brand small { display: none; }
  .button-compact { font-size: 10px; padding: 9px 10px; }
  h1 { font-size: 42px; }
  .hero-actions, .cta, .footer-inner { align-items: stretch; flex-direction: column; }
  .hero-actions { gap: 18px; }
  .hero-system { padding: 22px; }
  .card-grid, .mode-grid { grid-template-columns: 1fr; }
  .principle-list li { grid-template-columns: 1fr; gap: 4px; }
  .section { padding-block: 72px; }
  .cta { gap: 24px; }
  .footer-inner { gap: 8px; }
}
