:root {
  --navy: #0e2a4a;
  --ink: #0b1f35;
  --cyan: #01a4d0;
  --cyan-light: #74d5ec;
  --mist: #e3f3fa;
  --paper: #edf2f6;
  --canvas: #fbfaf6;
  --white: #ffffff;
  --text: #132235;
  --soft: #4a5d70;
  --line: #d4e0e8;
  --radius: 20px;
  --radius-small: 12px;
  --shadow: 0 18px 46px -30px rgba(11, 31, 53, 0.4);
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: Epilogue, var(--font-body);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 420px at 50% 0, rgba(116, 213, 236, 0.28), transparent 68%),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

h1,
h2 {
  margin-top: 0;
  color: var(--navy);
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  max-width: 15ch;
  margin-bottom: 24px;
  color: var(--white);
  font-size: clamp(2.65rem, 6vw, 5.2rem);
  line-height: 1;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
}

p {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

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

.site-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(24px, calc((100vw - 1160px) / 2));
  color: var(--white);
  background: var(--ink);
}

.site-header img {
  display: block;
  width: auto;
  height: 32px;
}

.site-header span {
  color: var(--cyan-light);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

main {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.65fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 7vw, 80px);
  border: 1px solid var(--ink);
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(760px 390px at 100% -10%, rgba(1, 164, 208, 0.42), transparent 62%),
    linear-gradient(148deg, var(--navy), var(--ink));
  box-shadow: var(--shadow);
}

.hero__lead {
  max-width: 62ch;
  margin-bottom: 14px;
  color: #eff8fb;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero__content > p:not(.eyebrow):not(.offer-note):not(.time-note) {
  max-width: 65ch;
}

.eyebrow,
.panel-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 76ch;
  color: var(--cyan-light);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 780;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.contact-strip a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.button--primary {
  color: var(--ink);
  background: var(--cyan-light);
}

.button--primary:hover {
  background: var(--white);
}

.button--outline {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
}

.button--outline:hover {
  color: var(--white);
  background: var(--navy);
}

.offer-note {
  margin-bottom: 3px;
  color: #e6f5f9;
  font-size: 0.9rem;
  font-weight: 700;
}

.time-note {
  margin: 0;
  color: #c7dbe6;
  font-size: 0.86rem;
}

.tester-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.tester-card .panel-kicker {
  color: var(--cyan-light);
}

.tester-card__statement {
  margin-bottom: 9px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.25;
}

.tester-card p:last-child {
  margin: 18px 0 0;
  color: #d8e8ef;
  font-size: 0.9rem;
}

.section {
  margin-top: 24px;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.split-section,
.privacy-section,
.boundary-section,
.ownership-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(30px, 6vw, 86px);
}

.section-number {
  display: block;
  margin-bottom: 26px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 750;
}

.measure {
  max-width: 72ch;
  font-size: 1.02rem;
}

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

.notice {
  margin-top: 26px;
  padding: 17px 19px;
  border-left: 4px solid var(--cyan);
  border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.notice--quiet {
  color: var(--soft);
  background: var(--mist);
  font-size: 0.92rem;
}

.test-section {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.55fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: end;
}

.test-section__copy {
  max-width: 75ch;
}

.lens-card {
  padding: 26px;
  border: 1px solid var(--cyan);
  border-radius: var(--radius-small);
  background: var(--mist);
}

.lens-card p {
  margin: 0;
  color: var(--navy);
  font-weight: 650;
}

.privacy-section {
  background: var(--canvas);
}

.privacy-section strong {
  color: var(--navy);
}

.micro-note {
  color: var(--soft);
  font-size: 0.88rem;
}

.boundary-section {
  border-left: 5px solid var(--cyan);
  background: var(--mist);
}

.participation-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  color: var(--white);
  border-color: var(--navy);
  background: var(--navy);
}

.participation-section h2,
.participation-section .section-number {
  color: var(--white);
}

.participation-section .panel-kicker {
  color: var(--cyan-light);
}

.participation-section__copy {
  max-width: 68ch;
}

.participation-section__copy p:last-child {
  margin-bottom: 0;
}

.participation-section__actions {
  display: grid;
  min-width: min(100%, 310px);
  gap: 12px;
}

.tally-embed {
  grid-column: 1 / -1;
  overflow: hidden;
  padding: clamp(20px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius) - 4px);
  color: var(--ink);
  background: var(--canvas);
  scroll-margin-top: 24px;
}

.tally-embed__intro {
  max-width: 700px;
  margin: 0 auto 14px;
}

.tally-embed__intro .panel-kicker {
  color: var(--cyan-dark);
}

.tally-embed__intro h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}

.tally-embed__intro p:last-child {
  margin: 0;
  color: var(--soft);
}

.tally-embed iframe {
  display: block;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  border: 0;
}

.tally-embed__fallback {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.85rem;
  text-align: center;
}

.tally-embed__fallback a {
  color: var(--navy);
  font-weight: 750;
  text-underline-offset: 3px;
}

.participation-section .button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.participation-section .button--outline:hover {
  color: var(--ink);
  background: var(--white);
}

.grounded-close {
  max-width: 820px;
  margin: 28px auto;
  padding: 36px 10px;
  text-align: center;
}

.grounded-close p:first-child {
  margin-bottom: 13px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.grounded-close p:last-child {
  margin-bottom: 0;
  color: var(--soft);
}

.ownership-section {
  background: var(--canvas);
}

.text-link {
  color: var(--navy);
  font-weight: 750;
  text-underline-offset: 3px;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px clamp(24px, 5vw, 48px);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.contact-strip h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 1.95rem);
}

.contact-strip .panel-kicker {
  color: var(--cyan-light);
}

.contact-strip a {
  color: var(--cyan-light);
  font-weight: 750;
  text-underline-offset: 3px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - 1160px) / 2));
  color: #d7e5ec;
  background: var(--ink);
  font-size: 0.84rem;
}

footer p {
  margin: 0;
}

footer nav {
  display: flex;
  gap: 18px;
}

@media (max-width: 860px) {
  .hero,
  .split-section,
  .privacy-section,
  .boundary-section,
  .ownership-section,
  .test-section,
  .participation-section {
    grid-template-columns: 1fr;
  }

  .participation-section__actions {
    width: 100%;
  }
}

@media (max-width: 580px) {
  main {
    width: min(100% - 24px, 1160px);
    padding-top: 12px;
  }

  .site-header {
    padding: 16px;
  }

  .site-header span {
    display: none;
  }

  .hero,
  .section {
    padding: 25px 20px;
    border-radius: 15px;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.55rem);
  }

  .button-row,
  .button {
    width: 100%;
  }

  .contact-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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