:root {
  --bg: #edf4f7;
  --bg-deep: #dbe7ec;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #fdfefe;
  --line: rgba(21, 75, 98, 0.14);
  --ink: #21242e;
  --ink-soft: #666c7d;
  --teal: #14566f;
  --teal-soft: rgba(20, 86, 111, 0.08);
  --coral: #d96c52;
  --gold: #cfa04d;
  --shadow: 0 24px 60px rgba(24, 48, 66, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --title-font: "Avenir Next", "Gill Sans", "Trebuchet MS", sans-serif;
  --body-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 12%, rgba(20, 86, 111, 0.1), transparent 18%),
    radial-gradient(circle at 86% 14%, rgba(217, 108, 82, 0.08), transparent 20%),
    linear-gradient(180deg, #f8fbfc 0%, var(--bg) 48%, #e9f1f5 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background-image:
    linear-gradient(rgba(20, 86, 111, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 86, 111, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.45;
}

body::after {
  background:
    radial-gradient(circle at 22% 32%, rgba(255, 255, 255, 0.42), transparent 28%),
    radial-gradient(circle at 74% 62%, rgba(255, 255, 255, 0.28), transparent 30%);
  opacity: 0.55;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
p {
  margin: 0;
}

.page-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 28px 18px 40px;
  display: grid;
  gap: 18px;
}

.hero-card,
.signup-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card {
  padding: 22px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 86, 111, 0.08), transparent 36%),
    radial-gradient(circle at 85% 14%, rgba(217, 108, 82, 0.08), transparent 18%);
}

.hero-top,
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.highlight-kicker,
.pulse-mark {
  font-family: var(--title-font);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  padding: 16px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 75, 98, 0.12);
  box-shadow: 0 10px 24px rgba(20, 86, 111, 0.08);
}

.brand-logo {
  display: block;
  width: auto;
  height: 72px;
}

.hero-copy {
  max-width: 680px;
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

.eyebrow {
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

h1,
h2 {
  font-family: var(--title-font);
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 4.9rem);
  max-width: 11ch;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.lead {
  max-width: 60ch;
  line-height: 1.6;
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.highlight-grid {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.highlight-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(247, 251, 253, 0.96)),
    rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(21, 75, 98, 0.1);
}

.highlight-kicker {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-text {
  line-height: 1.5;
  color: var(--ink);
}

.signup-card {
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 253, 0.98)),
    var(--surface);
}

.signup-highlights {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mini-highlight {
  padding: 14px 15px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(20, 86, 111, 0.08), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(21, 75, 98, 0.1);
}

.mini-highlight-title {
  font-family: var(--title-font);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.mini-highlight-text {
  margin-top: 6px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.form-section + .form-section {
  margin-top: 26px;
}

.form-section {
  margin-top: 22px;
  padding: 18px;
  border-radius: 26px;
  border: 1px solid rgba(21, 75, 98, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 252, 0.9)),
    rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.section-kicker {
  font-family: var(--title-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-title {
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.5;
  max-width: 56ch;
}

.pulse-mark {
  width: 18px;
  height: 18px;
  margin-top: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff9ec, var(--gold) 60%, #9b7b36 100%);
  box-shadow:
    0 0 0 10px rgba(207, 160, 77, 0.12),
    0 0 24px rgba(207, 160, 77, 0.22);
}

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

.consent-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(247, 251, 253, 0.84);
  border: 1px solid rgba(21, 75, 98, 0.1);
}

.consent-row input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.preference-fieldset {
  margin: 18px 0 0;
  padding: 0;
  border: none;
  display: grid;
  gap: 10px;
}

.preference-fieldset legend,
.field-label {
  margin-bottom: 10px;
  font-family: var(--title-font);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.choice-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(21, 75, 98, 0.14);
  background: rgba(252, 254, 255, 0.88);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
  cursor: pointer;
}

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

.choice-card:has(input:checked) {
  border-color: rgba(20, 86, 111, 0.28);
  background:
    linear-gradient(135deg, rgba(20, 86, 111, 0.12), rgba(255, 255, 255, 0.94)),
    rgba(252, 254, 255, 0.92);
  box-shadow: 0 10px 24px rgba(20, 86, 111, 0.08);
}

.choice-card input {
  grid-row: 1 / span 2;
  margin-top: 4px;
  accent-color: var(--coral);
}

.choice-title {
  font-family: var(--title-font);
  color: var(--ink);
}

.choice-text {
  color: var(--ink-soft);
  line-height: 1.45;
}

.input-wrap {
  margin-top: 18px;
}

.text-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(21, 75, 98, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.text-input:focus {
  outline: none;
  border-color: rgba(18, 107, 108, 0.42);
  box-shadow: 0 0 0 4px rgba(18, 107, 108, 0.12);
}

.microcopy {
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.96rem;
}

.submit-button {
  margin-top: 18px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 15px 18px;
  background: linear-gradient(135deg, var(--coral), #ff8c56);
  color: #fffdf8;
  font-family: var(--title-font);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(240, 109, 87, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.submit-button:hover:enabled {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(240, 109, 87, 0.3);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

@media (min-width: 760px) {
  .page-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    align-items: start;
    padding-top: 34px;
  }

  .hero-card,
  .signup-card {
    min-height: 100%;
  }

  .highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .signup-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .preference-fieldset {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .preference-fieldset legend {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 56px;
  }

  .brand-logo-wrap {
    padding: 12px 14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-card,
  .signup-card {
    animation: rise-in 520ms ease both;
  }

  .signup-card {
    animation-delay: 90ms;
  }

  .highlight-card {
    animation: drift-in 520ms ease both;
  }

  .highlight-card:nth-child(2) {
    animation-delay: 100ms;
  }

  .highlight-card:nth-child(3) {
    animation-delay: 180ms;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(1deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
  }
}
