:root {
  color-scheme: light;
  --bg: #f5f1e8;
  --ink: #151515;
  --muted: #5f615d;
  --line: #d8d3c7;
  --panel: #ffffff;
  --panel-2: #ebe7de;
  --accent: #176b87;
  --accent-dark: #0d3f52;
  --copper: #a85236;
  --green: #3f6b4d;
  --shadow: 0 22px 60px rgba(32, 29, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(23, 107, 135, 0.08), transparent 34rem),
    linear-gradient(315deg, rgba(168, 82, 54, 0.08), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(246, 244, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(21, 21, 21, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.brand-mark img {
  width: 34px;
  max-height: 34px;
  object-fit: contain;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 4vw, 56px) 36px;
}

.hero-copy {
  max-width: 650px;
}

.hero-logo {
  width: min(420px, 82vw);
  margin-bottom: 28px;
  padding: 22px 26px;
  border: 1px solid rgba(21, 21, 21, 0.18);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 45px rgba(32, 29, 24, 0.08);
}

.hero-logo img {
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 62ch;
  margin-bottom: 28px;
  color: #373934;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  background: transparent;
}

.hero-figure,
.wide-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-figure img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 52% center;
}

.statement {
  margin: 0 clamp(20px, 4vw, 56px);
  padding: clamp(36px, 6vw, 70px);
  background: var(--accent-dark);
  color: #fff;
}

.statement p {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.04;
}

.section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px);
}

.split,
.status-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(28px, 6vw, 90px);
}

.section-copy {
  color: #393b37;
  font-size: 20px;
}

.section-copy p {
  max-width: 72ch;
}

.comparison {
  padding: 0 clamp(20px, 4vw, 56px) clamp(72px, 9vw, 128px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 30px;
}

.wide-figure img {
  width: 100%;
  background: #fff;
}

.layers,
.status-items,
.doc-list {
  display: grid;
  gap: 16px;
}

.layers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 28px;
}

.layers article,
.status-items article,
.doc-list a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.layers article {
  min-height: 210px;
  padding: 22px;
}

.layers p,
.status-items p {
  margin-bottom: 0;
  color: var(--muted);
}

.principles {
  background: var(--panel-2);
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.principle-list li {
  min-height: 92px;
  padding: 18px;
  border-left: 4px solid var(--green);
  background: var(--panel);
  font-weight: 750;
}

.status-items {
  grid-template-columns: 1fr;
}

.status-items article {
  padding: 26px;
}

.status-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

code {
  padding: 2px 5px;
  background: #eee7da;
  font-size: 0.92em;
}

.documents {
  padding-top: 0;
}

.doc-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.doc-list a {
  min-height: 150px;
  padding: 22px;
  text-decoration: none;
}

.doc-list a:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(23, 107, 135, 0.12);
}

.doc-list span {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.doc-list strong {
  display: block;
  font-size: 20px;
  line-height: 1.2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .split,
  .status-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-figure img {
    min-height: 360px;
  }

  .layers,
  .principle-list,
  .doc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
  }

  .brand {
    align-items: flex-start;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-logo {
    width: min(300px, 78vw);
  }

  h1 {
    font-size: clamp(48px, 17vw, 76px);
  }

  h2 {
    font-size: clamp(30px, 11vw, 46px);
  }

  .hero-figure img {
    min-height: 300px;
    object-position: 58% center;
  }

  .statement {
    margin: 0;
  }

  .layers,
  .principle-list,
  .doc-list {
    grid-template-columns: 1fr;
  }

  .principle-list li,
  .layers article,
  .doc-list a {
    min-height: auto;
  }
}
