:root {
  --polar-white: #f7fafc;
  --ice-mist: #ddeffc;
  --glacier-blue: #9fd8f5;
  --frost-teal: #67c9d0;
  --deep-navy: #0d2b59;
  --ink: #06183a;
  --steel-slate: #5b6b7a;
  --ticker-blue: #9fd8f5;
  --cocoa: #6b4c3b;
  --mint: #8fe4d0;
  --peanut: #d7a95e;
  --line: rgba(13, 43, 89, 0.18);
  --shadow: 0 24px 60px rgba(6, 24, 58, 0.16);
  --body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --impact-font: "Archivo", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --condensed-font: "Barlow Condensed", "Arial Narrow", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  background:
    linear-gradient(135deg, rgba(221, 239, 252, 0.74) 0 1px, transparent 1px 32px),
    linear-gradient(180deg, #ffffff 0%, var(--polar-white) 42%, #eaf6fc 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  min-height: 64px;
  padding: 4px 28px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(13, 43, 89, 0.12);
  backdrop-filter: blur(16px);
}

.top-waitlist-button,
.primary-button,
.secondary-button,
.waitlist-form button,
.referral-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 4px;
  font-family: var(--condensed-font);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-waitlist-button,
.primary-button,
.waitlist-form button {
  color: #ffffff;
  background: #020b1f;
  box-shadow: 0 14px 28px rgba(6, 24, 58, 0.2);
}

.top-waitlist-button:hover,
.primary-button:hover,
.waitlist-form button:hover {
  background: var(--deep-navy);
}

.top-waitlist-button {
  justify-self: end;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
}

.brand-logo-image {
  width: clamp(108px, 9vw, 132px);
  height: auto;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  font-family: var(--condensed-font);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  color: #273246;
  border-radius: 4px;
}

.header-actions a:hover {
  color: var(--deep-navy);
  background: rgba(13, 43, 89, 0.08);
}

main {
  overflow: hidden;
}

.page-section {
  position: relative;
}

.hero-section {
  height: calc(100svh - 132px);
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #06183a;
}

.hero-image-wrap,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 24, 58, 0.83) 0%, rgba(6, 24, 58, 0.64) 32%, rgba(6, 24, 58, 0.08) 70%),
    linear-gradient(180deg, rgba(6, 24, 58, 0.08) 0%, rgba(6, 24, 58, 0.32) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  min-height: 0;
  padding: 42px 0 104px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--glacier-blue);
  font-family: var(--condensed-font);
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--impact-font);
  font-weight: 900;
  font-style: italic;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 4.65rem;
}

h2 {
  max-width: 12.2ch;
  margin-bottom: 18px;
  color: var(--deep-navy);
  font-size: 4rem;
}

h3 {
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-family: var(--condensed-font);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subheadline {
  max-width: 760px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-proof-line {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-inline-form {
  grid-template-columns: calc(35ch + 32px) max-content;
  gap: 8px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  box-shadow: 0 20px 42px rgba(2, 11, 31, 0.3);
}

.hero-inline-form input {
  width: 100%;
  min-width: 0;
  min-height: 58px;
  color: var(--ink);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-inline-form input:focus {
  box-shadow: inset 0 0 0 2px rgba(61, 120, 184, 0.34);
}

.hero-inline-form button {
  min-height: 58px;
  padding: 0 12px;
  white-space: nowrap;
}

.secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.ticker-strip {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  overflow: hidden;
  color: #020b1f;
  background: var(--ticker-blue);
  border-top: 1px solid rgba(6, 24, 58, 0.16);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-left 24s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 0 42px;
  white-space: nowrap;
  font-family: var(--condensed-font);
  font-size: 1.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

@keyframes ticker-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-heading,
.why-copy,
.access-copy {
  max-width: 660px;
}

.how-section,
.why-section,
.access-section {
  width: min(1180px, calc(100% - 32px));
  padding: 96px 0;
  margin: 0 auto;
}

.flavors-section {
  width: 100%;
  padding: 88px clamp(16px, 6vw, 72px) 96px;
  margin: 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flavors-section h2 {
  max-width: none;
  margin: 0 auto 58px;
  color: #020b1f;
  font-size: clamp(2.5rem, 3.6vw, 4.15rem);
  line-height: 0.92;
  text-align: center;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 58px);
  align-items: start;
  max-width: 1380px;
  margin: 0 auto;
}

.flavor-card {
  display: grid;
  grid-template-rows: 390px minmax(76px, auto);
  justify-items: center;
  min-width: 0;
}

.flavor-card img {
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 28px rgba(6, 24, 58, 0.16));
}

.flavor-card h3 {
  margin: 30px 0 0;
  color: #020b1f;
  font-size: clamp(1.65rem, 2.15vw, 2.45rem);
  line-height: 0.95;
  text-align: center;
}

.why-section,
.access-section {
  border-top: 1px solid var(--line);
}

.how-section::before,
.access-section::before {
  position: absolute;
  inset: 0 auto auto 50%;
  z-index: -1;
  width: 50vw;
  height: 100%;
  content: "";
  background:
    linear-gradient(135deg, rgba(159, 216, 245, 0.28) 0 1px, transparent 1px 30px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(221, 239, 252, 0.3));
}

.how-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 34px;
}

.steps-grid {
  display: grid;
  gap: 14px;
}

.step-card,
.maker-panel,
.proof-grid article,
.full-form,
.success-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(6, 24, 58, 0.08);
}

.step-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 18px;
  align-content: start;
  min-height: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.step-card span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0;
  color: #ffffff;
  background: #3d78b8;
  border-radius: 6px;
  font-family: var(--condensed-font);
  font-size: 1.4rem;
  font-weight: 800;
}

.step-card h3 {
  margin-bottom: 6px;
}

.step-card p,
.maker-panel p,
.why-copy p,
.access-copy p {
  color: #334b6f;
  font-size: 1.08rem;
  line-height: 1.62;
}

.how-visual {
  position: relative;
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  background: var(--deep-navy);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.how-visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center center;
}

.maker-panel {
  grid-column: 1 / -1;
  min-height: 0;
  padding: 26px 30px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(13, 43, 89, 0.95), rgba(6, 24, 58, 0.95)),
    var(--deep-navy);
}

.maker-panel h3,
.maker-panel p {
  color: #ffffff;
}

.maker-panel p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.panel-kicker {
  margin: 0 0 4px;
  color: var(--glacier-blue);
  font-family: var(--condensed-font);
  font-weight: 800;
  text-transform: uppercase;
}

.why-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 46px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-grid article {
  min-height: 160px;
  padding: 24px;
  background: #ffffff;
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--deep-navy);
  font-family: var(--impact-font);
  font-size: 3.1rem;
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  text-transform: uppercase;
}

.proof-grid span {
  color: #415675;
  font-family: var(--condensed-font);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
}

.access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
  gap: 48px;
  align-items: start;
}

.waitlist-form {
  display: grid;
}

.full-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
}

.email-only-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

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

.email-only-form .form-row {
  grid-column: auto;
}

.email-only-form button {
  min-width: 190px;
  min-height: 54px;
}

.full-form button,
.privacy-note {
  grid-column: 1 / -1;
}

.email-only-form button {
  grid-column: auto;
}

.email-only-form .privacy-note {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--deep-navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.waitlist-form input,
.waitlist-form select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(13, 43, 89, 0.16);
  border-radius: 6px;
  outline: none;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
  border-color: #3d78b8;
  box-shadow: 0 0 0 4px rgba(159, 216, 245, 0.45);
}

.waitlist-form button[disabled] {
  cursor: wait;
  opacity: 0.64;
  box-shadow: none;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #415675;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.form-status[data-state="success"] {
  color: #0e6b3f;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.privacy-note {
  margin: 0;
  color: #5b6b7a;
  font-size: 0.88rem;
  line-height: 1.45;
}

.success-panel {
  grid-column: 2;
  padding: 24px;
  color: #ffffff;
  background: var(--deep-navy);
}

.success-panel h3 {
  color: #ffffff;
  font-size: 2.4rem;
}

.success-panel .eyebrow {
  color: var(--glacier-blue);
}

.success-panel p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.referral-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 8px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.referral-box span {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0 10px;
  overflow: hidden;
  color: #ffffff;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-box button {
  min-height: 42px;
  color: var(--deep-navy);
  background: var(--glacier-blue);
  border: 0;
  box-shadow: none;
}

.site-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  padding: 8px 0 10px;
  margin: 0 auto;
  color: #415675;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-logo-image {
  width: 96px;
  height: auto;
  object-fit: contain;
}

.site-footer span {
  line-height: 1.2;
  text-align: center;
}

.site-footer a {
  color: var(--deep-navy);
  font-family: var(--condensed-font);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

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

  .ticker-track {
    animation: none;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand-lockup {
    justify-self: start;
  }

  .top-waitlist-button {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-content {
    height: 100%;
    min-height: 0;
  }

  .how-layout,
  .why-section,
  .access-section {
    grid-template-columns: 1fr;
  }

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

  .success-panel {
    grid-column: auto;
  }

  .how-visual,
  .how-visual img {
    min-height: 390px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: auto;
    padding: 10px 16px;
  }

  .top-waitlist-button {
    position: static;
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.96rem;
    white-space: nowrap;
    width: auto;
  }

  .brand-lockup {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .brand-logo-image {
    width: min(132px, 38vw);
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding-bottom: 4px;
  }

  .header-actions a {
    white-space: nowrap;
  }

  .hero-section {
    height: calc(100svh - 120px);
    min-height: 500px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 24, 58, 0.86) 0%, rgba(6, 24, 58, 0.66) 48%, rgba(6, 24, 58, 0.26) 100%),
      linear-gradient(90deg, rgba(6, 24, 58, 0.42), rgba(6, 24, 58, 0.08));
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
    height: 100%;
    min-height: 0;
    padding: 30px 0 104px;
    align-content: start;
  }

  h1 {
    max-width: 10ch;
    font-size: 3rem;
  }

  h2 {
    max-width: 10.5ch;
    font-size: 2.55rem;
  }

  .hero-subheadline {
    max-width: 330px;
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .hero-proof-line {
    max-width: 330px;
    margin-bottom: 18px;
    font-size: 0.92rem;
  }

  .hero-actions {
    display: grid;
    width: 100%;
    max-width: 340px;
  }

  .hero-inline-form {
    grid-template-columns: 1fr;
    gap: 8px;
    width: min(100%, 360px);
    padding: 8px;
  }

  .hero-inline-form input,
  .hero-inline-form button {
    min-height: 52px;
  }

  .hero-inline-form button {
    width: 100%;
  }

  .ticker-track span {
    min-height: 68px;
    padding: 0 28px;
    font-size: 1.48rem;
  }

  .how-section,
  .why-section,
  .access-section {
    width: min(100% - 28px, 1180px);
    padding: 64px 0;
  }

  .flavors-section {
    padding: 64px 14px 72px;
  }

  .flavors-section h2 {
    margin-bottom: 34px;
    font-size: 2.9rem;
  }

  .how-layout,
  .proof-grid,
  .full-form {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .how-visual,
  .how-visual img {
    min-height: 310px;
  }

  .flavor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .flavor-card img {
    height: 260px;
  }

  .flavor-card {
    grid-template-rows: 260px minmax(66px, auto);
  }

  .flavor-card h3 {
    margin-top: 16px;
    font-size: 1.45rem;
  }

  .email-only-form,
  .email-only-form .form-row,
  .email-only-form button,
  .full-form button,
  .privacy-note {
    grid-column: auto;
  }

  .email-only-form {
    grid-template-columns: 1fr;
  }

  .email-only-form .privacy-note {
    grid-column: auto;
  }

  .referral-box {
    grid-template-columns: 1fr;
  }

  .referral-box button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px 0 10px;
    font-size: 0.78rem;
  }

  .footer-logo-image {
    width: 72px;
  }
}

@media (max-width: 430px) {
  .flavor-card img {
    height: 220px;
  }

  .flavor-card {
    grid-template-rows: 220px minmax(64px, auto);
  }

  h1 {
    font-size: 3.05rem;
  }
}
