:root {
  color-scheme: light;
  --ink: #0d1210;
  --ink-soft: #323b36;
  --paper: #f7f4ed;
  --paper-clean: #fffdf8;
  --line: rgba(13, 18, 16, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --mint: #a7ffcf;
  --signal: #1f7a4d;
  --clay: #b84d2c;
  --steel: #d8e1dc;
  --shadow: 0 24px 70px rgba(13, 18, 16, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 48px);
  color: var(--paper-clean);
  transition:
    background 180ms ease,
    color 180ms ease,
    border 180ms ease,
    padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 237, 0.94);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 0.94rem;
  font-weight: 750;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  border: 1px solid transparent;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 680;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: currentColor;
  opacity: 1;
  outline: none;
}

.nav-toggle {
  display: none;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 10px 14px;
  font-weight: 760;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper-clean);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 18, 16, 0.88) 0%, rgba(13, 18, 16, 0.74) 34%, rgba(13, 18, 16, 0.18) 72%),
    linear-gradient(0deg, rgba(13, 18, 16, 0.82) 0%, rgba(13, 18, 16, 0.04) 56%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 118px 0 52px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--clay);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.1rem, 7vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.1rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.15;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button,
.copy-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 760;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--mint);
  background: var(--mint);
  color: var(--ink);
}

.button-secondary {
  color: var(--paper-clean);
}

.hero-brief {
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  bottom: 34px;
  z-index: 2;
  width: min(340px, calc(100% - 36px));
  border: 1px solid var(--line-dark);
  background: rgba(13, 18, 16, 0.62);
  padding: 20px;
  backdrop-filter: blur(16px);
}

.hero-brief span {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-brief strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.16;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.statement > div {
  background: var(--paper-clean);
  padding: clamp(30px, 6vw, 70px);
}

.statement p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(1.18rem, 2.5vw, 2rem);
  line-height: 1.16;
}

.section {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 144px) 0;
}

.section-main {
  min-width: 0;
}

.lead {
  max-width: 820px;
  margin-bottom: 44px;
  color: var(--ink-soft);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
}

.argument-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.argument-grid article,
.principle-card {
  background: var(--paper-clean);
  padding: clamp(22px, 3vw, 34px);
}

.number {
  display: block;
  margin-bottom: 48px;
  color: var(--signal);
  font-size: 0.78rem;
  font-weight: 850;
}

.argument-grid p,
.principle-card p,
.guardrail-list p,
.join-copy p,
.site-footer p {
  color: var(--ink-soft);
}

.panel-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--paper-clean);
}

.panel-band .section-kicker {
  color: var(--mint);
}

.panel-band .lead,
.panel-band .principle-card p {
  color: rgba(255, 253, 248, 0.72);
}

.principles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-dark);
  background: var(--line-dark);
}

.principle-card {
  background: rgba(255, 253, 248, 0.06);
}

.statute {
  align-items: start;
}

.statute-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.copy-button {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--paper-clean);
}

.model-text {
  border: 1px solid var(--line);
  background: var(--paper-clean);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.model-text h3 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
}

.model-text p {
  max-width: 900px;
  padding-left: 22px;
  border-left: 3px solid var(--signal);
  color: #1e2722;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
}

.model-text p:last-child {
  margin-bottom: 0;
}

.two-column {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
}

.guardrail-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.guardrail-list > div {
  background: var(--paper-clean);
  padding: 26px;
}

.manifesto {
  background: var(--clay);
  color: var(--paper-clean);
  padding: clamp(54px, 9vw, 110px) max(18px, calc((100vw - var(--max)) / 2));
}

.manifesto p {
  max-width: 1050px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 5.5rem);
  font-weight: 820;
  line-height: 0.98;
}

.join {
  align-items: center;
}

.signup {
  border: 1px solid var(--line);
  background: var(--paper-clean);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.signup label {
  display: block;
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 780;
}

.signup input {
  min-width: min(100%, 330px);
  flex: 1 1 240px;
  border: 1px solid rgba(13, 18, 16, 0.28);
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
}

.signup input:focus {
  border-color: var(--signal);
  outline: 3px solid rgba(31, 122, 77, 0.18);
}

.form-note {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding: 34px clamp(18px, 4vw, 48px);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer a {
  font-weight: 760;
}

@media (max-width: 980px) {
  .hero {
    min-height: 780px;
  }

  .hero-content {
    margin-left: 18px;
    margin-right: 18px;
    padding-bottom: 190px;
  }

  .hero-brief {
    display: none;
  }

  .statement,
  .section,
  .two-column {
    grid-template-columns: 1fr;
  }

  .section {
    gap: 18px;
  }

  .argument-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statute-header {
    display: block;
  }

  .copy-button {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 67px 12px auto;
    display: none;
    grid-template-columns: 1fr;
    border: 1px solid var(--line);
    background: var(--paper-clean);
    color: var(--ink);
    padding: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(13, 18, 16, 0.92) 0%, rgba(13, 18, 16, 0.78) 48%, rgba(13, 18, 16, 0.22) 100%),
      linear-gradient(0deg, rgba(13, 18, 16, 0.86) 0%, rgba(13, 18, 16, 0.08) 60%);
  }

  .hero-content {
    width: auto;
    padding-top: 104px;
    padding-bottom: 54px;
  }

  h1 {
    font-size: clamp(2.85rem, 15vw, 3.85rem);
  }

  .hero-actions .button,
  .input-row .button,
  .signup input {
    width: 100%;
  }

  .statement > div {
    padding: 28px 18px;
  }

  .argument-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .number {
    margin-bottom: 28px;
  }

  .model-text p {
    padding-left: 16px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 18px;
  }
}
