:root {
  --color-bg: #f8f7f2;
  --color-surface: transparent;
  --color-surface-strong: transparent;
  --color-text: #111111;
  --color-muted: #666666;
  --color-border: rgba(17, 17, 17, 0.9);
  --color-accent: #111111;
  --color-accent-strong: #000000;
  --color-danger: #8f3125;
  --shadow-soft: none;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-width: 1380px;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(17, 17, 17, 0.24);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.compact-page {
  min-height: 100vh;
  padding: 0;
}

.policy-page {
  min-height: 100vh;
  padding: 0;
}

.hero-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.2rem 2rem 0.9rem;
}

.policy-shell {
  width: min(100%, var(--max-width));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: 1.2rem 2rem 0.9rem;
}

.top-rail {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-bottom: 0.45rem;
}

.eyebrow,
.panel-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.55rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-mark {
  margin: 0;
  font-size: clamp(1.9rem, 2.4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.rail-note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stage {
  display: grid;
  align-items: start;
  gap: 1.35rem;
  min-height: 0;
}

.policy-stage {
  display: grid;
  align-items: start;
  gap: 1.35rem;
  min-height: 0;
}

.hero-copy,
.signup-panel {
  min-width: 0;
}

.policy-intro,
.policy-grid {
  min-width: 0;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.5rem);
  max-width: 9ch;
  margin-bottom: 1.2rem;
  font-weight: 600;
  line-height: 0.95;
}

h2 {
  font-size: clamp(1.2rem, 1.5vw, 1.55rem);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

.lead {
  margin: 0 0 0.85rem;
  max-width: 32rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: var(--color-text);
}

.policy-date,
.policy-footer-line {
  margin: 0;
  color: var(--color-muted);
}

.policy-date {
  font-size: 0.9rem;
}

.supporting,
.panel-top p,
.micro-copy p:last-child {
  margin: 0;
  color: var(--color-muted);
}

.supporting {
  max-width: 26rem;
  font-size: 0.98rem;
  margin-bottom: 0.95rem;
  line-height: 1.52;
}

.hero-copy > .eyebrow:not(:first-child) {
  margin-top: 0.35rem;
}

.hero-copy > .supporting:last-child {
  margin-bottom: 0;
}

.signup-panel {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  width: 100%;
  max-width: 30rem;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.tally-embed {
  width: 100%;
  max-width: 30rem;
}

.tally-embed iframe {
  display: block;
  width: 100%;
}

.policy-grid {
  display: grid;
  gap: 1rem 2rem;
}

.policy-block {
  max-width: 30rem;
}

.policy-number {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-top p {
  margin-top: 0.35rem;
}

.lead-form {
  display: grid;
  gap: 0.65rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-field input {
  width: 100%;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1.5px solid rgba(17, 17, 17, 0.84);
  border-radius: 0;
  background: transparent;
  color: var(--color-text);
}

.form-field input[aria-invalid="true"] {
  border-bottom-color: var(--color-danger);
}

.checkbox-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.4;
}

.checkbox-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.field-error {
  min-height: 1.25rem;
  margin: 0.1rem 0 0;
  color: var(--color-danger);
  font-size: 0.88rem;
}

.status-box {
  display: none;
  padding: 0.1rem 0 0.3rem;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.status-box.is-visible {
  display: block;
}

.status-box.is-error {
  color: var(--color-danger);
  border-color: rgba(143, 49, 37, 0.24);
  background: rgba(143, 49, 37, 0.08);
}

.status-box.is-success {
  color: var(--color-accent);
  border-color: rgba(39, 68, 58, 0.22);
  background: rgba(39, 68, 58, 0.08);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0 0 0.1rem;
  border: 0;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: none;
}

.button-primary {
  background: transparent;
  color: var(--color-text);
  justify-content: flex-start;
}

.button-primary:hover,
.button-primary:focus-visible {
  border-color: var(--color-text);
}

.submit-button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.bottom-strip {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.2rem;
}

.micro-copy {
  max-width: 18rem;
}

.micro-label {
  margin: 0 0 0.28rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 68rem) {
  .hero-stage {
    grid-template-columns: minmax(0, 1fr) minmax(24rem, 30rem);
    column-gap: 2.8rem;
  }

  .policy-stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2.8rem;
  }

  .hero-copy {
    align-self: start;
    padding-top: 0;
  }

  .policy-intro {
    align-self: start;
    padding-top: 0;
  }

  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
  }

  .bottom-strip {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .micro-copy-end {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 67.99rem) {
  .compact-page {
    padding: 0;
  }

  .hero-shell {
    min-height: auto;
    padding: 1rem;
  }

  .policy-shell {
    min-height: auto;
    padding: 1rem;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .signup-panel {
    justify-self: stretch;
  }

  .top-rail {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
