:root {
  --paper: #f3f8f6;
  --white: #ffffff;
  --ink: #17211d;
  --muted: #55655e;
  --line: #c8d6d0;
  --teal: #006d77;
  --coral: #e6533f;
  --yellow: #f4c74d;
  --blue: #2864dc;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); line-height: 1.55; }
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: absolute; z-index: 2; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; width: min(1220px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0; color: var(--white); }
.wordmark { font-family: var(--mono); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-decoration: none; }
nav { display: flex; gap: 22px; font-family: var(--mono); font-size: 0.75rem; }
nav a { text-decoration: none; border-bottom: 1px solid transparent; }
nav a:hover, nav a:focus-visible { border-bottom-color: currentColor; }

.hero { position: relative; display: grid; align-items: end; min-height: min(830px, 92vh); overflow: hidden; color: var(--white); background: #17211d; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(10, 19, 15, 0.6); }
.hero-content { position: relative; z-index: 1; padding: 160px 0 100px; }
.eyebrow, .section-label { margin: 0 0 16px; color: var(--teal); font-family: var(--mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow.light { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 820px; margin-bottom: 6px; font-family: var(--display); font-size: clamp(5rem, 12vw, 10rem); font-weight: 600; line-height: 0.88; letter-spacing: 0; }
.hero-copy { max-width: 680px; margin-bottom: 14px; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.02; }
.hero-note { max-width: 570px; margin-bottom: 28px; color: #e3ece8; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.button { display: inline-block; border: 1px solid transparent; border-radius: 5px; padding: 12px 16px; font-family: var(--mono); font-size: 0.78rem; font-weight: 800; text-decoration: none; }
.button-light { background: var(--white); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.button:hover, .button:focus-visible { border-color: currentColor; outline: 2px solid var(--yellow); outline-offset: 3px; }
.text-link { font-family: var(--mono); font-size: 0.78rem; font-weight: 700; }

.statement { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 48px; padding: 120px 0; }
.statement h2, .proof-copy h2, .modes h2, .safety-layout h2, .install h2 { margin-bottom: 22px; font-family: var(--display); font-size: clamp(2.45rem, 5vw, 4.75rem); font-weight: 600; line-height: 1.02; letter-spacing: 0; }
.statement p { max-width: 780px; color: var(--muted); font-size: 1.13rem; }

.example-band { padding: 100px 0; color: var(--white); background: #263f4a; }
.example-layout { display: grid; grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr); gap: 58px; align-items: center; }
.example-copy h2 { margin-bottom: 22px; font-family: var(--display); font-size: clamp(2.45rem, 5vw, 4.75rem); font-weight: 600; line-height: 1.02; letter-spacing: 0; }
.example-copy > p { color: #dbe6e8; font-size: 1.08rem; }
.example-copy .eyebrow { color: var(--yellow); }
.example-copy .example-note { margin-bottom: 28px; color: #a9bec2; font-family: var(--mono); font-size: 0.76rem; }
.example-copy .button-dark { color: var(--ink); background: var(--white); }
.example-image img { border-color: #5f7880; background: var(--white); }
.example-image figcaption { color: #b9cacc; }

.proof-band { padding: 88px 0; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr); align-items: center; gap: 64px; }
.asset-frame { margin: 0; }
.asset-frame img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
figcaption { margin-top: 10px; color: var(--muted); font-family: var(--mono); font-size: 0.72rem; }
.responsibilities { margin: 0; border-top: 1px solid var(--line); }
.responsibilities div { display: grid; grid-template-columns: 94px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.responsibilities dt { font-family: var(--mono); font-size: 0.78rem; font-weight: 800; }
.responsibilities dd { margin: 0; color: var(--muted); }

.modes { padding: 120px 0; }
.modes h2 { max-width: 700px; }
.modes-image { margin: 54px 0 42px; }
.mode-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.mode-list article { min-height: 230px; padding: 26px 24px 0 0; border-right: 1px solid var(--line); }
.mode-list article + article { padding-left: 24px; }
.mode-list article:last-child { border-right: 0; }
.mode-number { margin-bottom: 40px; color: var(--coral); font-family: var(--mono); font-size: 0.75rem; font-weight: 800; }
.mode-list h3 { margin-bottom: 10px; font-size: 1.2rem; }
.mode-list p:last-child { color: var(--muted); }

.safety-band { padding: 96px 0; color: var(--white); background: var(--teal); }
.safety-layout { display: grid; grid-template-columns: 1fr 0.8fr; gap: 64px; align-items: end; }
.safety-layout .eyebrow { color: var(--yellow); }
.safety-layout h2 { margin-bottom: 0; }
.safety-layout > p { margin: 0; color: #def2ee; font-size: 1.1rem; }

.install { padding: 120px 0; }
.install-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.install-grid > div > p { max-width: 440px; margin-bottom: 28px; color: var(--muted); font-size: 1.08rem; }
.command-panel { margin-top: 50px; overflow-x: auto; border: 1px solid var(--ink); border-left: 8px solid var(--coral); border-radius: 5px; padding: 21px 24px; background: var(--white); }
.command-panel code { font-family: var(--mono); font-size: 0.88rem; white-space: nowrap; }

.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 34px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-family: var(--mono); font-size: 0.74rem; }
.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1160px); }
  .site-header { width: min(100% - 32px, 1220px); padding: 18px 0; }
  nav { gap: 12px; font-size: 0.66rem; }
  nav a:nth-child(1), nav a:nth-child(2) { display: none; }
  .hero { min-height: 720px; }
  .hero-content { padding: 140px 0 62px; }
  h1 { font-size: clamp(4.5rem, 22vw, 7rem); }
  .hero-copy { font-size: 2.25rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .statement, .example-layout, .proof-layout, .install-grid, .safety-layout { grid-template-columns: 1fr; gap: 28px; }
  .statement { padding: 76px 0; }
  .example-band, .proof-band, .modes, .install { padding: 72px 0; }
  .mode-list { grid-template-columns: 1fr; }
  .mode-list article, .mode-list article + article { min-height: auto; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .mode-list article:last-child { border-bottom: 0; }
  .mode-number { margin-bottom: 16px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
