:root {
  --ink: #031716;
  --forest-950: #051f20;
  --forest-900: #0b2b26;
  --forest-800: #163832;
  --forest-700: #235347;
  --mint-500: #8eb69b;
  --mint-200: #daf1de;
  --white: #f7fbf8;
  --muted: #adc5b7;
  --line: rgb(218 241 222 / 16%);
  --focus: #d8ff61;
  --danger: #ffb4ab;
  --shell: min(1160px, calc(100% - 40px));
  --shadow: 0 24px 90px rgb(0 0 0 / 30%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgb(35 83 71 / 24%), transparent 32rem),
    var(--ink);
  content: "";
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

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

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

h1,
h2,
h3,
.format-number {
  font-family: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  font-stretch: condensed;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: -0.035em;
  line-height: 0.94;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 8.2vw, 7.6rem);
}

h1 em {
  color: var(--mint-500);
  font-style: normal;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5.7vw, 5.2rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  line-height: 1.05;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--focus);
  font-weight: 800;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgb(3 23 22 / 84%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: 205px;
  height: auto;
}

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

.site-nav > a:not(.button) {
  color: var(--mint-200);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.button):hover {
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--mint-200);
  color: var(--forest-950);
  background: var(--mint-200);
  box-shadow: 7px 7px 0 var(--forest-700);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  background: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: 10px 10px 0 var(--forest-700);
}

.button:active {
  transform: translate(2px, 2px);
  box-shadow: 4px 4px 0 var(--forest-700);
}

.button-small {
  min-height: 42px;
  padding-inline: 17px;
  box-shadow: 5px 5px 0 var(--forest-700);
  font-size: 0.77rem;
}

.eyebrow {
  margin-bottom: 21px;
  color: var(--mint-500);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  min-height: 780px;
  padding: 154px 0 90px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgb(5 31 32 / 98%) 4%, rgb(5 31 32 / 84%) 55%, rgb(11 43 38 / 72%)),
    var(--forest-950);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -10vw;
  bottom: -12rem;
  width: 62vw;
  height: 24rem;
  background: var(--forest-700);
  content: "";
  opacity: 0.32;
  transform: skewY(-13deg);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(rgb(218 241 222 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(218 241 222 / 4%) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to right, black, transparent 86%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.6;
}

.hero-glow-one {
  top: -16rem;
  right: -8rem;
  width: 38rem;
  height: 38rem;
  background: radial-gradient(circle, rgb(142 182 155 / 22%), transparent 66%);
}

.hero-glow-two {
  bottom: -20rem;
  left: -8rem;
  width: 44rem;
  height: 44rem;
  background: radial-gradient(circle, rgb(35 83 71 / 32%), transparent 68%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: clamp(48px, 7vw, 110px);
}

.hero-copy {
  animation: reveal 700ms ease-out both;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: var(--mint-200);
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 29px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint-200);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.status-line span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--focus);
  box-shadow: 0 0 0 5px rgb(216 255 97 / 10%);
}

.format-card {
  position: relative;
  padding: 30px 29px 34px;
  border: 1px solid rgb(218 241 222 / 26%);
  background: rgb(5 31 32 / 68%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(13px);
  animation: reveal 700ms 160ms ease-out both;
}

.format-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.format-card-top img {
  width: 46px;
  height: auto;
}

.format-number {
  margin: 28px 0 4px;
  font-size: 6.2rem;
  letter-spacing: -0.05em;
  line-height: 0.83;
}

.format-number span {
  color: var(--mint-500);
  font-size: 0.62em;
}

.format-label {
  margin-bottom: 25px;
  color: var(--mint-200);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.format-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.format-stripe {
  position: absolute;
  right: -1px;
  bottom: -1px;
  left: -1px;
  height: 7px;
  background: linear-gradient(90deg, var(--mint-500) 0 34%, var(--mint-200) 34% 67%, var(--forest-700) 67%);
}

.section {
  padding: clamp(92px, 11vw, 150px) 0;
}

.section-intro {
  background: var(--white);
  color: var(--forest-950);
}

.section-heading {
  max-width: 760px;
}

.section-heading > p:last-child {
  max-width: 670px;
  color: #3f5f55;
  font-size: 1.08rem;
}

.section-intro .eyebrow {
  color: var(--forest-700);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid #d5e5da;
  background: #d5e5da;
}

.feature-card {
  min-height: 280px;
  padding: 35px 32px;
  background: var(--white);
}

.feature-index {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--forest-700);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.75rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: #49685f;
  font-size: 0.91rem;
}

.season {
  position: relative;
  overflow: hidden;
  background: var(--forest-900);
}

.season::before {
  position: absolute;
  top: -9rem;
  right: -5vw;
  width: 51vw;
  height: 38rem;
  border-left: 1px solid rgb(218 241 222 / 8%);
  background: rgb(35 83 71 / 24%);
  content: "";
  transform: skewX(-17deg);
}

.season-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
  gap: clamp(60px, 10vw, 150px);
}

.season-copy > p:last-child {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
}

.season-points {
  border-top: 1px solid var(--line);
}

.season-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 17px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.season-point > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--mint-500);
  color: var(--mint-500);
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.74rem;
}

.season-point strong {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-point p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.signup {
  background:
    linear-gradient(135deg, transparent 54%, rgb(142 182 155 / 10%) 54% 67%, transparent 67%),
    var(--forest-950);
}

.signup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.7fr);
  align-items: start;
  gap: clamp(55px, 10vw, 140px);
}

.signup-copy > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.signup-form {
  padding: 35px;
  border: 1px solid var(--line);
  background: rgb(11 43 38 / 74%);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.form-row label {
  color: var(--mint-200);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.form-row label span {
  color: var(--focus);
}

input,
select {
  width: 100%;
  min-height: 54px;
  padding: 0 15px;
  border: 1px solid rgb(218 241 222 / 24%);
  border-radius: 0;
  color: var(--white);
  background: var(--forest-950);
}

input::placeholder {
  color: #829c8f;
}

input:hover,
select:hover {
  border-color: rgb(218 241 222 / 52%);
}

input:focus,
select:focus {
  border-color: var(--mint-500);
  outline: 2px solid rgb(142 182 155 / 28%);
  outline-offset: 1px;
}

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

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mint-200) 50%),
    linear-gradient(135deg, var(--mint-200) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 23px,
    calc(100% - 13px) 23px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.check-row {
  display: grid;
  grid-template-columns: 19px 1fr;
  gap: 11px;
  margin: 4px 0 25px;
  color: var(--muted);
  font-size: 0.79rem;
  cursor: pointer;
}

.check-row input {
  width: 19px;
  min-height: 19px;
  margin: 2px 0 0;
  accent-color: var(--mint-500);
}

.check-row a,
.privacy a,
.site-footer a {
  color: var(--mint-200);
  text-underline-offset: 3px;
}

.minor-note {
  margin: -12px 0 25px 30px;
  color: #90aa9d;
  font-size: 0.73rem;
  line-height: 1.45;
}

.button-submit {
  width: 100%;
  justify-content: space-between;
}

.button-submit:disabled {
  opacity: 0.64;
  cursor: wait;
}

.form-hint,
.form-message {
  margin: 16px 0 0;
  color: #90aa9d;
  font-size: 0.73rem;
  line-height: 1.45;
}

.form-message {
  min-height: 0;
  color: var(--mint-200);
  font-weight: 700;
}

.form-message.is-error {
  color: var(--danger);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.privacy {
  padding: 24px 0 50px;
  background: var(--forest-950);
}

.privacy details {
  border-top: 1px solid var(--line);
}

.privacy summary {
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.privacy-copy {
  max-width: 950px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-copy p {
  margin-bottom: 9px;
}

.site-footer {
  padding: 45px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.mobile-cta {
  display: none;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand-footer .brand-logo {
  width: 190px;
}

.footer-meta {
  max-width: 560px;
  text-align: right;
}

.footer-meta p,
.footer-meta a {
  margin: 0 0 7px;
  color: #819b8e;
  font-size: 0.73rem;
}

.footer-meta a {
  color: var(--mint-200);
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .season-layout,
  .signup-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .format-card {
    width: min(100%, 430px);
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-index {
    margin-bottom: 40px;
  }

  .signup-layout {
    gap: 50px;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 1160px);
    --mobile-header: 64px;
  }

  html {
    scroll-padding-top: calc(var(--mobile-header) + 12px);
  }

  body {
    min-width: 0;
  }

  .header-inner {
    min-height: var(--mobile-header);
  }

  .brand-logo {
    width: 148px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 12px;
    border: 1px solid var(--line);
    place-content: center;
    gap: 5px;
    color: var(--white);
    background: rgb(5 31 32 / 80%);
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: var(--mobile-header);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px 16px 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgb(3 23 22 / 97%);
    box-shadow: 0 20px 40px rgb(0 0 0 / 24%);
  }

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

  .site-nav > a:not(.button) {
    padding: 13px 8px;
    font-size: 0.82rem;
  }

  .site-nav .button {
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding: 105px 0 64px;
    background:
      linear-gradient(155deg, rgb(5 31 32 / 98%) 8%, rgb(11 43 38 / 88%) 68%, rgb(5 31 32 / 98%)),
      var(--forest-950);
  }

  .hero-grid {
    background-size: 48px 48px;
    opacity: 0.72;
  }

  .hero::after {
    right: -26vw;
    bottom: 1rem;
    width: 92vw;
    height: 14rem;
    opacity: 0.23;
  }

  .hero-layout {
    gap: 45px;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(2.4rem, 11.8vw, 4rem);
    letter-spacing: -0.055em;
    line-height: 0.94;
  }

  .hero-title-line {
    display: block;
  }

  h2 {
    margin-bottom: 19px;
    font-size: clamp(2.55rem, 12vw, 3.55rem);
    line-height: 0.96;
  }

  h3 {
    font-size: 1.34rem;
  }

  .hero-lead {
    margin-bottom: 27px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 19px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
    font-size: 0.78rem;
  }

  .status-line {
    margin-top: 31px;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .format-card {
    display: grid;
    width: 100%;
    padding: 23px 21px 29px;
    grid-template-columns: auto 1fr;
    column-gap: 22px;
    align-items: center;
  }

  .format-card-top {
    grid-column: 1 / -1;
  }

  .format-card-top img {
    width: 38px;
  }

  .format-number {
    margin: 22px 0 18px;
    font-size: 4.6rem;
  }

  .format-label {
    margin: 4px 0 0;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .format-note {
    grid-column: 1 / -1;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading > p:last-child,
  .signup-copy > p:last-child {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .feature-grid {
    gap: 12px;
    margin-top: 40px;
    border: 0;
    background: transparent;
  }

  .feature-card {
    padding: 25px 22px 27px;
    border: 1px solid #d5e5da;
  }

  .feature-index {
    margin-bottom: 28px;
  }

  .season::before {
    top: 18rem;
    right: -32vw;
    width: 105vw;
    opacity: 0.6;
  }

  .season-layout {
    gap: 40px;
  }

  .season-copy > p:last-child {
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .season-point {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 20px 0;
  }

  .season-point > span {
    width: 34px;
    height: 34px;
  }

  .signup-layout {
    gap: 35px;
  }

  .signup-form {
    padding: 24px 19px 26px;
    box-shadow: 0 18px 55px rgb(0 0 0 / 25%);
  }

  input,
  select {
    min-height: 56px;
    font-size: 1rem;
  }

  .check-row {
    font-size: 0.76rem;
  }

  .minor-note {
    margin-left: 0;
    padding-left: 30px;
  }

  .privacy {
    padding: 17px 0 38px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }

  .footer-meta {
    text-align: left;
  }

  .brand-footer .brand-logo {
    width: 168px;
  }

  .mobile-cta {
    position: fixed;
    z-index: 19;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 19px;
    border: 1px solid var(--mint-200);
    color: var(--forest-950);
    background: var(--mint-200);
    box-shadow: 6px 6px 0 rgb(35 83 71 / 88%), 0 12px 34px rgb(0 0 0 / 36%);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 30px));
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  body.menu-open {
    overflow: hidden;
  }
}

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

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