:root {
  --navy: #0f172a;
  --navy-deep: #0a1020;
  --ink: #142033;
  --muted: #5b6b7c;
  --green: #4b986c;
  --green-deep: #3a7a56;
  --cream: #f3f6f4;
  --paper: #eef3f0;
  --line: rgba(15, 23, 42, 0.12);
  --white: #ffffff;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --max: 1080px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-optical-sizing: auto;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(75, 152, 108, 0.12), transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 45%, #e7eee9 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  color: var(--navy);
  border-radius: 8px;
}

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

/* ── Hero: one composition, brand-first, full-bleed ── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(75, 152, 108, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(75, 152, 108, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 48%, #152238 100%);
  z-index: -3;
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 210deg at 70% 30%, transparent 0deg, rgba(75, 152, 108, 0.08) 80deg, transparent 160deg);
  z-index: -2;
  animation: wash-rotate 28s linear infinite;
}

.hero__hex {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.35' stroke-width='1' d='M42 1.5L82 24.5v46L42 93.5 2 70.5v-46z'/%3E%3C/svg%3E");
  background-size: 84px 97px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
}

.hero__graphic {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: min(42vh, 360px);
  pointer-events: none;
  opacity: 0.55;
  mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 78%, transparent 100%);
}

.hero__graphic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__inner {
  width: min(100% - 2.5rem, 720px);
  text-align: center;
  padding: 4.5rem 0 5.5rem;
  position: relative;
  z-index: 1;
}

.brand-mark {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  /* No hover/active visual feedback — Easter egg stays silent */
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.brand-mark img {
  width: 56px;
  height: 56px;
  pointer-events: none;
}

.brand-name {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 12vw, 5.75rem);
  letter-spacing: -0.04em;
  line-height: 0.92;
  text-transform: uppercase;
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero__headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.hero__lede {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 1.55;
  color: rgba(232, 240, 236, 0.86);
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 0.25rem;
  animation: rise-in 900ms cubic-bezier(0.22, 1, 0.36, 1) 320ms both;
}

.hero__version {
  margin: 1.35rem 0 0;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  animation: rise-in 1000ms cubic-bezier(0.22, 1, 0.36, 1) 400ms both;
}

/* ── Sections ── */

.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section__inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
}

.section__inner--narrow {
  width: min(100% - 2.5rem, 640px);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.25rem);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.section__copy {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 40rem;
}

.section--about .section__copy {
  max-width: 46rem;
}

.section--invite {
  background: linear-gradient(
    180deg,
    rgba(75, 152, 108, 0.08) 0%,
    transparent 70%
  );
}

.invite-actions {
  margin: 1.5rem 0 1.75rem;
}

.howto__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.howto {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.howto li {
  margin: 0.45rem 0;
}

.howto li strong {
  color: var(--ink);
  font-weight: 600;
}

.choice--legal {
  margin: 0.5rem 0 1rem;
  align-items: flex-start;
}

.choice--legal a {
  font-weight: 600;
}

.section--interest {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 18%, rgba(255, 255, 255, 0.7));
}

/* ── Form (interaction surface — not decorative cards) ── */

.interest-form {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label,
.field--choice legend {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 6rem;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(75, 152, 108, 0.7);
  box-shadow: 0 0 0 3px rgba(75, 152, 108, 0.18);
}

.field--choice {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
}

.choice input {
  accent-color: var(--green);
  width: 1.05rem;
  height: 1.05rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero .btn--primary {
  background: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #9b2c2c;
}

.footer {
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer p {
  margin: 0.35rem 0;
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes atmosphere-drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.04) translate3d(-1.5%, 1%, 0);
  }
}

@keyframes wash-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ── Alternatives / inner pages ── */

.page-hero {
  position: relative;
  min-height: min(88svh, 720px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.page-hero .hero__atmosphere,
.page-hero .hero__wash,
.page-hero .hero__hex {
  position: absolute;
  inset: 0;
}

.page-hero .hero__atmosphere {
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(75, 152, 108, 0.28), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 75%, rgba(75, 152, 108, 0.16), transparent 50%),
    linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 48%, #152238 100%);
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.page-hero .hero__wash {
  inset: -20%;
  z-index: -2;
  background:
    conic-gradient(from 210deg at 70% 30%, transparent 0deg, rgba(75, 152, 108, 0.08) 80deg, transparent 160deg);
  animation: wash-rotate 28s linear infinite;
}

.page-hero .hero__hex {
  z-index: -2;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='97' viewBox='0 0 84 97'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.35' stroke-width='1' d='M42 1.5L82 24.5v46L42 93.5 2 70.5v-46z'/%3E%3C/svg%3E");
  background-size: 84px 97px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, #000 20%, transparent 75%);
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 0;
}

.site-nav__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}

.site-nav__brand:hover {
  color: rgba(255, 255, 255, 0.88);
}

.site-nav__link {
  color: rgba(232, 240, 236, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav__link:hover {
  color: var(--white);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  width: min(100% - 2.5rem, 720px);
  margin: 0 auto;
  padding: 3rem 0 4.5rem;
}

.brand-name--page {
  font-size: clamp(2.75rem, 9vw, 4.5rem);
}

.page-hero .btn--primary {
  background: var(--green);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.section__note {
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
}

.section__cta-row {
  margin: 1.5rem 0 0;
}

.section--compare {
  background: rgba(255, 255, 255, 0.35);
}

.alt-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
}

.alt-list__link {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: color 160ms ease;
}

.alt-list li:last-child .alt-list__link {
  border-bottom: 1px solid var(--line);
}

.alt-list__link:hover {
  color: var(--navy);
}

.alt-list__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.alt-list__desc {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--muted);
}

.compare {
  margin-top: 1.75rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.compare__row--head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.compare__row > span:first-child {
  font-weight: 600;
  color: var(--navy);
}

.compare__row--head > span:first-child {
  font-weight: 700;
}

.page-hero--compact {
  min-height: min(52svh, 420px);
}

.page-hero--compact .page-hero__inner {
  padding: 2.5rem 0 3.25rem;
}

.legal {
  max-width: 40rem;
}

.legal--wide {
  max-width: 44rem;
}

.legal h3 {
  margin: 1.35rem 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.legal__meta {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.45rem);
  letter-spacing: -0.02em;
  color: var(--navy);
}

.legal p,
.legal li {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.legal p {
  margin: 0 0 0.85rem;
}

.legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal li {
  margin: 0.35rem 0;
}

.legal li strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 700px) {
  .compare__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 1.1rem 0;
  }

  .compare__row--head {
    display: none;
  }

  .compare__row > span:nth-child(n + 2)::before {
    content: attr(data-label) ': ';
    color: var(--muted);
    font-weight: 500;
  }
}

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

  .hero__atmosphere,
  .hero__wash,
  .page-hero .hero__atmosphere,
  .page-hero .hero__wash,
  .brand-name,
  .hero__headline,
  .hero__lede,
  .hero__cta {
    animation: none !important;
  }
}
