:root {
  --bg: #f5efe4;
  --paper: rgba(255, 251, 245, 0.88);
  --surface: #fffaf2;
  --surface-strong: rgba(255, 255, 255, 0.96);
  --ink: #172135;
  --muted: #5f6778;
  --line: rgba(23, 33, 53, 0.1);
  --brand: #153d6f;
  --brand-strong: #0b2850;
  --accent: #d27c2c;
  --accent-soft: #f5dbc1;
  --ok: #26795c;
  --shadow: 0 22px 60px rgba(20, 36, 67, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
  --display-font: "Fraunces", Georgia, serif;
  --text-font: "Manrope", "Trebuchet MS", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--text-font);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(210, 124, 44, 0.18), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(21, 61, 111, 0.14), transparent 22%),
    linear-gradient(180deg, #f7f0e5 0%, #f3eadc 34%, #efe6d9 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 24px auto 0;
  padding: 14px 18px;
  background: rgba(255, 250, 242, 0.72);
  border: 1px solid rgba(23, 33, 53, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 14px 36px rgba(27, 39, 65, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-family: var(--display-font);
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--brand) 0%, #1f5ca6 100%);
  color: white;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 0.96rem;
}

.brand-copy span {
  font-size: 0.8rem;
  color: var(--muted);
}

.topbar-links {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-links a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
}

.topbar-links .button-link {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  font-weight: 700;
}

.layout {
  width: min(calc(100% - 32px), var(--content-width));
  margin: 28px auto 56px;
}

.hero-grid,
.dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.stack-layout {
  display: grid;
  gap: 28px;
}

.content-grid,
.offer-story-grid,
.hub-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.feature-grid,
.spotlight-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.panel {
  background: var(--paper);
  border: 1px solid rgba(23, 33, 53, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  animation: rise-in 0.7s ease both;
}

.hero-card,
.content-card,
.form-card,
.thanks-card,
.legal-card,
.offer-card,
.event-card,
.strip-card {
  padding: 30px;
}

.hero-card {
  overflow: hidden;
  position: relative;
}

.hero-card::after,
.offer-card::after,
.event-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 124, 44, 0.2), transparent 68%);
  pointer-events: none;
}

.offer-card,
.event-card {
  position: sticky;
  top: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(210, 124, 44, 0.12);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title,
.section-title,
.legal-title,
.thanks-title {
  margin: 18px 0 14px;
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-title,
.thanks-title {
  font-size: clamp(1.7rem, 2.4vw, 2.7rem);
  margin: 0 0 12px;
}

.hero-subtitle,
.lead,
.legal-intro,
.thanks-subtitle,
.cta-copy,
.embed-copy {
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
}

.stats-grid,
.offer-stats,
.event-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.stat-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 53, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.list-clean,
.meta-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 14px;
}

.list-clean li,
.meta-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  line-height: 1.6;
}

.list-bullet {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #f0b17a 100%);
  flex: 0 0 auto;
}

.profile-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(21, 61, 111, 0.08), rgba(210, 124, 44, 0.12));
  border: 1px solid rgba(21, 61, 111, 0.08);
}

.profile-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.profile-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.profile-meta,
.inline-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preview-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(210, 124, 44, 0.14);
  border: 1px solid rgba(210, 124, 44, 0.24);
  color: #7b430e;
  font-size: 0.95rem;
  line-height: 1.5;
}

.lead-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.consent label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(23, 33, 53, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(21, 61, 111, 0.45);
  transform: translateY(-1px);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(21, 61, 111, 0.05);
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.helper-text,
.microcopy {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.button,
.button-secondary,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 17px 22px;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button {
  background: linear-gradient(135deg, var(--brand) 0%, #1c5ba5 100%);
  color: white;
  box-shadow: 0 16px 34px rgba(17, 62, 114, 0.24);
}

.button-secondary {
  background: transparent;
  color: var(--brand);
  border: 1px solid rgba(21, 61, 111, 0.16);
}

.button:hover,
.button-secondary:hover,
.button-link:hover {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.8;
}

.hero-link {
  min-height: 72px;
}

.legal-links,
.inline-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.legal-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thanks-shell,
.legal-shell {
  width: min(calc(100% - 32px), 860px);
  margin: 32px auto 56px;
}

.thanks-actions,
.cta-actions {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.thanks-note {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(38, 121, 92, 0.08);
  border: 1px solid rgba(38, 121, 92, 0.12);
  color: #1f6049;
  margin: 18px 0 0;
}

.legal-card {
  margin-top: 22px;
}

.legal-section + .legal-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-family: var(--display-font);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.legal-section p {
  margin: 0;
  line-height: 1.75;
  color: var(--muted);
}

.feature-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 53, 0.08);
}

.feature-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.feature-card-link {
  display: grid;
  gap: 8px;
}

.strip-card {
  background: linear-gradient(135deg, rgba(21, 61, 111, 0.9), rgba(11, 40, 80, 0.94));
  color: white;
}

.strip-card .lead,
.strip-card .microcopy {
  color: rgba(255, 255, 255, 0.82);
}

.strip-card .inline-link {
  color: white;
}

.price-pill {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(21, 61, 111, 0.08);
  border: 1px solid rgba(21, 61, 111, 0.12);
  font-weight: 700;
  line-height: 1.6;
}

.embed-shell {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(23, 33, 53, 0.08);
}

.embed-placeholder {
  min-height: 320px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(21, 61, 111, 0.25);
  background:
    radial-gradient(circle at top left, rgba(210, 124, 44, 0.16), transparent 30%),
    linear-gradient(160deg, rgba(21, 61, 111, 0.08), rgba(255, 255, 255, 0.82));
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.embed-placeholder strong {
  font-size: 1.15rem;
}

.embed-placeholder span {
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 33, 53, 0.08);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.hub-note-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--content-width));
  margin: 0 auto 120px;
  padding: 22px 24px;
  border-radius: var(--radius-xl);
  background: rgba(20, 36, 67, 0.9);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(10, 19, 36, 0.24);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.site-footer__brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.site-footer__brand p,
.site-footer__brand a {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.site-footer__links a {
  color: white;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  width: min(100% - 24px, 520px);
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.94);
  border: 1px solid rgba(23, 33, 53, 0.1);
  box-shadow: 0 22px 60px rgba(20, 36, 67, 0.2);
  backdrop-filter: blur(14px);
  animation: rise-in 0.5s ease both;
}

.cookie-banner__copy strong {
  display: block;
  margin-bottom: 8px;
}

.cookie-banner__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-banner__actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.cookie-link {
  font-size: 0.9rem;
}

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

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

@media (max-width: 960px) {
  .hero-grid,
  .dual-grid,
  .content-grid,
  .offer-story-grid,
  .hub-grid,
  .event-grid,
  .feature-grid,
  .spotlight-grid,
  .support-grid,
  .hero-link-grid,
  .stats-grid,
  .offer-stats,
  .event-stats {
    grid-template-columns: 1fr;
  }

  .form-card,
  .offer-card,
  .event-card {
    position: static;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .topbar {
    border-radius: 28px;
    padding: 16px;
    align-items: flex-start;
  }

  .topbar,
  .topbar-links {
    flex-direction: column;
  }

  .topbar-links,
  .topbar-links .button-link {
    width: 100%;
  }

  .hero-card,
  .content-card,
  .form-card,
  .thanks-card,
  .legal-card,
  .offer-card,
  .event-card,
  .strip-card {
    padding: 24px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 13vw, 3.2rem);
  }

  .button,
  .button-secondary,
  .button-link {
    width: 100%;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 12px;
  }

  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }
}
