:root {
  --ink: #14211f;
  --muted: #5f6b65;
  --paper: #f5f2ea;
  --paper-deep: #e9e4d9;
  --moss: #32594d;
  --moss-dark: #183b33;
  --moss-light: #dce4bb;
  --violet: #4d3b78;
  --line: rgba(20, 33, 31, 0.18);
  --line-light: rgba(248, 246, 239, 0.28);
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Palatino Linotype, Book Antiqua, Palatino, Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

button,
a { color: inherit; }
button { font: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--moss-light);
  outline-offset: 4px;
}

.hero {
  min-height: 720px;
  padding: 28px clamp(24px, 5vw, 84px) 30px;
  color: #f8f6ef;
  background:
    radial-gradient(circle at 76% 34%, rgba(181, 189, 131, 0.25), transparent 21rem),
    radial-gradient(circle at 17% 91%, rgba(111, 165, 142, 0.18), transparent 22rem),
    var(--moss-dark);
  display: flex;
  flex-direction: column;
}

.nav,
footer { display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: -0.03em; }
.brand-mark { width: 26px; height: 26px; }
.nav-note { color: rgba(248, 246, 239, 0.72); font: 0.7rem/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-content { max-width: 940px; margin: auto 0; padding: 64px 0; }
.eyebrow,
.section-label,
.number,
.step-number { font: 500 0.72rem/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--moss-light); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--moss-light); box-shadow: 0 0 0 4px rgba(220, 228, 187, 0.13); }

h1,
h2,
h3,
p { margin-top: 0; }
h1,
h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.045em; }
h1 { max-width: 880px; margin: 24px 0 28px; font-size: clamp(3.3rem, 7.1vw, 7rem); line-height: 0.91; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 5.2vw, 5.4rem); line-height: 0.96; }
.hero-copy { max-width: 610px; margin-bottom: 32px; color: rgba(248, 246, 239, 0.85); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.button { display: inline-flex; gap: 18px; align-items: center; min-height: 48px; padding: 13px 18px; background: #f6f4ec; color: var(--ink); font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: transform 150ms ease, background 150ms ease; }
.button:hover { transform: translateY(-2px); background: var(--moss-light); }
.hero-footnote { display: flex; justify-content: space-between; gap: 24px; padding-top: 16px; border-top: 1px solid rgba(248, 246, 239, 0.25); color: rgba(248, 246, 239, 0.65); font: 0.69rem/1.4 var(--mono); letter-spacing: 0.04em; }

.section { padding: clamp(74px, 10vw, 144px) clamp(24px, 8vw, 152px); }
.section-label { margin-bottom: 30px; color: var(--moss); }
.intro { border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.7fr); gap: clamp(38px, 8vw, 154px); }
.intro-copy { max-width: 430px; color: var(--muted); font-size: 1.02rem; }
.intro-copy p + p { margin-top: 22px; }

.workflow { color: #f8f6ef; background: var(--moss); }
.workflow .section-label,
.principles .section-label { color: var(--moss-light); }
.workflow-heading,
.section-heading { display: grid; grid-template-columns: minmax(145px, 0.37fr) minmax(0, 1fr); gap: 28px; max-width: 1120px; }
.workflow-heading h2,
.section-heading h2 { max-width: 820px; }
.workflow-heading p:last-child { max-width: 610px; margin: 26px 0 0; color: rgba(248, 246, 239, 0.72); }
.workflow-layout { display: grid; grid-template-columns: minmax(230px, 0.36fr) minmax(0, 1fr); align-items: start; gap: clamp(36px, 6vw, 100px); margin-top: clamp(54px, 8vw, 100px); }
.screen-tabs { position: sticky; top: 28px; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.screen-tab { display: grid; grid-template-columns: 42px 1fr; width: 100%; min-height: 82px; gap: 12px; padding: 17px 4px; border: 0; border-bottom: 1px solid var(--line-light); color: rgba(248, 246, 239, 0.72); background: transparent; text-align: left; cursor: pointer; transition: color 150ms ease, padding-left 150ms ease; }
.screen-tab:hover,
.screen-tab.is-active { padding-left: 10px; color: #fff; }
.step-number { padding-top: 2px; color: var(--moss-light); }
.screen-tab strong,
.screen-tab small { display: block; }
.screen-tab strong { font-size: 0.98rem; letter-spacing: -0.02em; }
.screen-tab small { margin-top: 3px; color: inherit; font-size: 0.79rem; line-height: 1.35; }
.screen-panel { margin: 0; }
.screen-zoom { display: block; text-decoration: none; }
.zoom-hint { display: block; padding-top: 10px; color: var(--moss-light); font-size: 0.78rem; text-align: right; }
.screen-panel img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid rgba(248, 246, 239, 0.27); background: var(--paper-deep); box-shadow: 0 24px 54px rgba(12, 27, 23, 0.22); object-fit: cover; }
.screen-panel figcaption { display: grid; grid-template-columns: minmax(130px, 0.28fr) 1fr; gap: 22px; margin-top: 18px; color: rgba(248, 246, 239, 0.78); }
.screen-panel figcaption span { color: var(--moss-light); font: 0.7rem/1.3 var(--mono); letter-spacing: 0.05em; text-transform: uppercase; }
.screen-panel figcaption p { margin: 0; font-size: 0.92rem; }

.principles { color: #f8f6ef; background: var(--moss-dark); }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: clamp(68px, 10vw, 138px); }
.principle { padding-top: 18px; border-top: 1px solid var(--line-light); }
.principle .number { color: var(--moss-light); }
.principle h3 { margin: 54px 0 14px; font-size: 1.16rem; letter-spacing: -0.03em; }
.principle p { max-width: 300px; margin-bottom: 0; color: rgba(248, 246, 239, 0.72); }

.status { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr); gap: clamp(42px, 9vw, 150px); background: var(--paper-deep); }
.status-header h2 { max-width: 620px; }
.status-list { margin: 0; border-top: 1px solid var(--line); }
.status-list div { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.status-list dt { color: var(--muted); font-size: 0.9rem; }
.status-list dd { margin: 0; font-weight: 500; letter-spacing: -0.02em; }

.closing { max-width: 1080px; padding-top: clamp(94px, 12vw, 180px); padding-bottom: clamp(94px, 12vw, 180px); }
.closing h2 { max-width: 760px; }
.closing > p:last-child { max-width: 540px; margin: 30px 0 0; color: var(--muted); }
.closing > p { max-width: 540px; margin: 30px 0; color: var(--muted); }
.email-link { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 1.2rem; text-decoration: none; }
.closing a:focus-visible { outline-color: var(--moss); }

footer { gap: 16px; padding: 25px clamp(24px, 5vw, 84px); border-top: 1px solid var(--line); color: var(--muted); font: 0.73rem var(--mono); }
footer .brand { color: var(--ink); font-family: var(--sans); font-size: 0.95rem; }
footer .brand-mark { width: 21px; height: 21px; }

@media (max-width: 840px) {
  .intro-grid,
  .workflow-heading,
  .section-heading,
  .status,
  .workflow-layout { grid-template-columns: 1fr; }
  .workflow-heading,
  .section-heading { gap: 0; }
  .workflow-heading h2 { margin-top: 0; }
  .screen-tabs { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 8px; }
  .screen-tab { min-height: 96px; grid-template-columns: 1fr; gap: 6px; padding: 12px; border: 1px solid var(--line-light); }
  .screen-tab:hover,
  .screen-tab.is-active { padding-left: 12px; background: rgba(248, 246, 239, 0.1); }
  .screen-panel figcaption { grid-template-columns: 1fr; gap: 8px; }
  .principle-grid { grid-template-columns: 1fr; gap: 52px; }
  .principle h3 { margin-top: 35px; }
}

@media (max-width: 560px) {
  .hero { min-height: 650px; }
  .nav-note { max-width: 145px; text-align: right; font-size: 0.62rem; }
  .hero-footnote { align-items: flex-start; flex-direction: column; gap: 8px; }
  .screen-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-tab { min-height: 108px; }
  .status-list div { grid-template-columns: 1fr; gap: 5px; }
  footer { flex-wrap: wrap; }
  footer > :last-child { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .screen-tab { transition: none; }
}
