:root {
  color-scheme: dark;
  --ink: #eef1df;
  --ink-muted: #aebbaa;
  --ink-dark: #17201d;
  --paper: #e8e7d8;
  --paper-warm: #d8d6c1;
  --forest: #0b1715;
  --forest-light: #142a24;
  --moss: #6e8b63;
  --leaf: #a8c17f;
  --gold: #c9a75a;
  --line-dark: rgba(238, 241, 223, 0.14);
  --line-light: rgba(23, 32, 29, 0.18);
  --content: 1180px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--paper);
  color: var(--ink-dark);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  min-height: 5.5rem;
  padding: 0 var(--gutter);
  margin: 0 auto;
  border-bottom: 1px solid var(--line-dark);
}

.site-header-solid {
  position: relative;
  background: var(--forest);
}

.brand {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.site-nav {
  display: flex;
  gap: clamp(1.15rem, 2.6vw, 2.5rem);
  align-items: center;
}

.site-nav a,
.footer-nav a {
  color: var(--ink-muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.095em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.65rem;
  background: transparent;
  border: 0;
}

.nav-toggle span[aria-hidden] {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.42rem 0;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 100svh);
  padding: clamp(9rem, 20vh, 13rem) var(--gutter) 4rem;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 24%, rgba(184, 176, 125, 0.09), transparent 25rem),
    linear-gradient(160deg, #10231f 0%, #0a1515 55%, #07100f 100%);
}

.hero-content {
  z-index: 3;
  align-self: center;
  width: min(100%, var(--content));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.security-heading h2,
.document-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(4rem, 10vw, 8.6rem);
}

.hero-lead {
  max-width: 610px;
  margin: 2.25rem 0 0;
  color: #c9d2c2;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--paper);
  color: var(--ink-dark);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fffef0;
}

.button-quiet {
  border-color: rgba(238, 241, 223, 0.3);
  color: var(--ink);
}

.button-quiet:hover,
.button-quiet:focus-visible {
  border-color: rgba(238, 241, 223, 0.7);
  background: rgba(238, 241, 223, 0.06);
}

.hero-caption {
  position: absolute;
  right: var(--gutter);
  bottom: 2.2rem;
  z-index: 4;
  margin: 0;
  color: #849388;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.95;
  pointer-events: none;
}

.moon {
  position: absolute;
  top: 23%;
  right: 14%;
  width: clamp(4.5rem, 8vw, 7rem);
  aspect-ratio: 1;
  border: 1px solid rgba(225, 222, 184, 0.5);
  border-radius: 50%;
  box-shadow: 0 0 5rem rgba(213, 203, 143, 0.08);
}

.star {
  position: absolute;
  width: 3px;
  aspect-ratio: 1;
  background: rgba(229, 229, 198, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(229, 229, 198, 0.55);
}

.star-one { top: 18%; left: 58%; }
.star-two { top: 34%; right: 9%; width: 2px; }
.star-three { top: 12%; right: 32%; width: 2px; }
.star-four { top: 43%; left: 76%; width: 2px; }

.ridge {
  position: absolute;
  right: -10%;
  bottom: -18%;
  width: 82%;
  height: 57%;
  transform: rotate(-7deg);
  border-radius: 55% 18% 0 0;
  background: linear-gradient(145deg, rgba(30, 60, 47, 0.45), rgba(5, 14, 12, 0.86));
  clip-path: polygon(0 58%, 14% 42%, 23% 48%, 39% 18%, 53% 38%, 65% 6%, 79% 32%, 100% 12%, 100% 100%, 0 100%);
}

.ridge-far {
  right: -2%;
  bottom: -12%;
  opacity: 0.5;
  transform: rotate(2deg);
}

.ridge-near {
  right: -16%;
  bottom: -28%;
  width: 110%;
  height: 62%;
  background: #08110f;
}

.section {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(300px, 1.2fr);
  gap: clamp(3rem, 9vw, 9rem);
  max-width: calc(var(--content) + 2 * var(--gutter));
  padding: clamp(6rem, 11vw, 10rem) var(--gutter);
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink-dark);
}

.section-intro {
  max-width: none;
}

.section-intro > * {
  width: 100%;
}

.section-intro .section-heading {
  justify-self: end;
  width: min(100%, 440px);
}

.section-intro .intro-copy {
  width: min(100%, 650px);
}

.section-heading h2,
.security-heading h2 {
  font-size: clamp(3rem, 6.4vw, 6.1rem);
}

.section .eyebrow {
  color: #617653;
}

.intro-copy > :first-child,
.development-copy > :first-child {
  margin-top: 0;
}

.large-copy {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.45;
}

.feature-field {
  padding: clamp(6rem, 10vw, 9rem) var(--gutter);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--forest-light);
  background-size: 80px 80px;
}

.feature-field > * {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.section-heading-light {
  margin-bottom: clamp(4rem, 8vw, 7rem);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-card {
  min-height: 25rem;
  padding: 2rem clamp(1.2rem, 3vw, 2.5rem) 2.5rem;
  border-right: 1px solid var(--line-dark);
}

.feature-card:first-child {
  padding-left: 0;
}

.feature-card:last-child {
  padding-right: 0;
  border-right: 0;
}

.feature-number {
  display: block;
  margin-bottom: 6rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.feature-card h3 {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 400;
}

.feature-card p {
  margin: 0;
  color: var(--ink-muted);
}

.development-section {
  max-width: none;
  background: var(--paper-warm);
}

.development-section > * {
  width: 100%;
}

.development-layout {
  width: min(100%, 650px);
}

.status-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  margin-bottom: 2.25rem;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  background: #668254;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(102, 130, 84, 0.15);
}

.status-label,
.status-value {
  margin: 0;
}

.status-label {
  color: #66706b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-value {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.security-section {
  padding: clamp(1rem, 3vw, 2.5rem);
  background: var(--paper);
  color: var(--ink-dark);
}

.security-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: calc(var(--content) + 2 * var(--gutter));
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  margin: 0 auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 80%, rgba(115, 143, 92, 0.14), transparent 30rem),
    var(--forest);
}

.security-content {
  max-width: 650px;
}

.security-content > :first-child {
  margin-top: 0;
}

.security-content a {
  color: var(--leaf);
}

.check-list {
  padding: 0;
  margin: 2rem 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}

.check-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.8rem;
  border-bottom: 1px solid var(--line-dark);
}

.check-list li::before {
  position: absolute;
  left: 0.2rem;
  color: var(--leaf);
  content: "·";
  font-size: 1.8rem;
  line-height: 1;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: end;
  max-width: calc(var(--content) + 2 * var(--gutter));
  padding: 4rem var(--gutter) 2.5rem;
  margin: 0 auto;
  background: var(--forest);
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer-brand p {
  margin: 0.1rem 0 0;
  color: #85948a;
  font-family: var(--sans);
  font-size: 0.78rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-end;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  margin: 0;
  color: #718077;
  font-size: 0.72rem;
  border-top: 1px solid var(--line-dark);
}

.document-main {
  background: var(--paper);
  color: var(--ink-dark);
}

.document-hero {
  padding: clamp(5rem, 9vw, 8rem) var(--gutter);
  background: var(--paper-warm);
}

.document-hero > * {
  max-width: var(--content);
  margin-inline: auto;
}

.document-hero .eyebrow {
  color: #617653;
}

.document-hero h1 {
  font-size: clamp(3.7rem, 8vw, 7.5rem);
}

.document-hero > p:not(.eyebrow, .document-date) {
  max-width: min(100%, 760px);
  margin-top: 2rem;
  margin-left: max(0px, calc((100% - var(--content)) / 2));
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.document-date {
  margin-top: 2rem;
  color: #69736e;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-content {
  max-width: 820px;
  padding: clamp(4rem, 8vw, 7rem) var(--gutter);
  margin: 0 auto;
}

.document-content section + section {
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--line-light);
}

.document-content h2 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
}

.document-content a {
  color: #46653e;
  font-weight: 650;
}

.policy-list {
  margin: 2rem 0;
}

.policy-list > div {
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) 1.4fr;
  gap: 1.5rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line-light);
}

.policy-list > div:last-child {
  border-bottom: 1px solid var(--line-light);
}

.policy-list dt {
  font-family: var(--serif);
  font-size: 1.15rem;
}

.policy-list dd {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 4.8rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0.7rem 1.1rem;
    background: rgba(9, 22, 19, 0.98);
    border: 1px solid var(--line-dark);
    box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.28);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 820px;
  }

  .hero-caption {
    right: auto;
    left: var(--gutter);
  }

  .moon {
    top: 18%;
    right: 10%;
  }

  .section,
  .security-panel {
    grid-template-columns: 1fr;
  }

  .section-intro .section-heading {
    justify-self: start;
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card:first-child,
  .feature-card:last-child {
    min-height: 0;
    padding: 2rem 0 2.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .feature-number {
    margin-bottom: 2.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .policy-list > div {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
