/* Noga Labs — Dark tech + glass + timeline (original pattern) */

:root {
  --bg: #f4f9fd;
  --bg-alt: #eef5fa;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0ea5e9; /* Lighter blue matching logo tails */
  --primary-gradient: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  --primary-hover: #0284c7;
  --primary-pressed: #0369a1;
  --accent: #0ea5e9;
  --accent-line: #38bdf8;
  --timeline-accent: #2563eb; /* Blue for timeline */
  --timeline-accent-line: #60a5fa;
  --bento-bg: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%); /* Accent gradient for bento background */
  --bento-card-bg: #0f172a; /* Flipped dark cards */
  --bento-text: #f8fafc;
  --bento-text-muted: #94a3b8;
  --bento-icon: #38bdf8; /* Lighter icon color */
  --border: #e2e8f0;
  --gray-dot: #cbd5e1;
  --glass-border: rgba(226, 232, 240, 0.8);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --blur: 16px;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-ui: 12px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --track-head: -0.03em;
  --mobile-pad: 24px;
  --header-h: 72px;
  --timeline-vh: min(58vh, 520px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#welcome,
#benefits,
#how-it-works,
#waitlist-footer {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.08), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.08), transparent 25%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (max-width: 767px) {
  .container {
    padding-inline: var(--mobile-pad);
  }
}

/* Glass */
.glass-header {
  background: rgba(224, 242, 254, 0.9);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  border-top: 3px solid var(--primary);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  min-height: 64px;
  padding-block: 0.5rem;
}

@media (min-width: 768px) {
  .header-inner {
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
    gap: 1rem;
  }

  .logo-link {
    grid-column: 1;
    justify-self: start;
  }

  .header-nav {
    grid-column: 2;
    justify-self: center;
  }

  .header-cta-group {
    grid-column: 3;
    justify-self: end;
  }

  .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }

  .logo-link {
    grid-column: 1;
    justify-self: start;
  }

  .header-cta-group {
    grid-column: 2;
    justify-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 0.15rem;
    min-width: 0;
  }

  .nav-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .header-nav {
    display: none;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: auto;
  width: auto;
  max-height: 48px;
  display: block;
}

.logo-img--desktop {
  display: none;
}

.logo-img--mobile {
  display: block;
  max-height: 44px;
}

@media (min-width: 768px) {
  .logo-img--mobile {
    display: none;
  }

  .logo-img--desktop {
    display: block;
    max-height: 52px;
  }
}

.header-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
    gap: 2.5rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.header-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 110;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: var(--primary-gradient);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 767px) {
  .btn.btn-header {
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(0.75rem, 3vw, 1rem);
    font-size: clamp(0.8125rem, 3.5vw, 0.875rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
    white-space: nowrap;
  }
}

@media (min-width: 768px) {
  .btn-header {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

.btn-header:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-header:active {
  background: var(--primary-pressed);
  transform: translateY(0);
  box-shadow: none;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 110;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav-drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 105;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem var(--mobile-pad) 1.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
}

.mobile-nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer[hidden] {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.mobile-nav-link--cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.875rem 1rem;
  text-align: center;
  font-weight: 600;
  color: #fff;
  background: var(--primary-gradient);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  border-bottom: none;
  transition: all 0.2s ease;
}
.mobile-nav-link--cta:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.mobile-nav-link--cta:active {
  background: var(--primary-pressed);
  transform: translateY(0);
  box-shadow: none;
}

@media (min-width: 768px) {
  .mobile-nav-drawer {
    display: none !important;
  }
}

/* Hero — above the fold + content column width */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 0;
}

.hero-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: end;
}

.hero-content {
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: 0;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  z-index: 10;
}

.hero-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  transform: rotate(-4deg) translateY(10px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image:hover {
  transform: rotate(0deg) translateY(0) scale(1.02);
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1.5fr 0.5fr;
    gap: 2rem;
    align-items: start;
  }
  
  .hero-content {
    margin-inline: 0;
    max-width: 760px;
    padding-top: 1rem;
    padding-bottom: 3.75rem;
  }

  .hero-image-wrapper {
    margin-top: 1rem;
  }

  .hero-image {
    max-width: 250px;
  }
}

.hero-title {
  margin: 0 0 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-sub {
  margin: 0 0 11rem;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
}

.hero-note {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-lead-text {
  font-size: clamp(0.78rem, 2.6vw, 0.9rem);
  line-height: 1.45;
}

.form-perk {
  margin: 0 0 0.75rem;
  padding: 0.65rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.08);
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.form-perk:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
}

.form-perk:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 3px;
}

.form-perk__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--primary);
}

.form-perk__label {
  font-weight: 750;
}

.form-perk--footer {
  margin-top: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-perk--static {
  cursor: default;
}

.form-perk--static:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.25);
}

.form-perk--static:focus-visible {
  outline: none;
}

.beta-perks-section {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 35%, rgba(14, 165, 233, 0.10), transparent 38%),
    radial-gradient(circle at 85% 55%, rgba(37, 99, 235, 0.08), transparent 40%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.beta-perks-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at 80% 65%, rgba(37, 99, 235, 0.22), transparent 58%),
    radial-gradient(circle at 55% 25%, rgba(14, 165, 233, 0.18), transparent 55%);
  opacity: 0.65;
  transform: translate3d(0, 0, 0);
  animation: beta-mesh-drift 14s ease-in-out infinite alternate;
}

.beta-perks-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06), transparent 25%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.65), transparent 55%);
  mix-blend-mode: overlay;
  opacity: 0.35;
}

.beta-perks-section .container {
  position: relative;
  z-index: 1;
}

@keyframes beta-mesh-drift {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(2%, 1.5%, 0) scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-perks-section::before {
    animation: none;
  }
}

.section-intro--beta-perks {
  margin-bottom: 1.25rem;
}

.beta-perks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .beta-perks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .beta-perks-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.beta-perks-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.1rem;
  box-shadow: 0 10px 25px -20px rgba(15, 23, 42, 0.25);
}

.beta-perks-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.beta-perks-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--primary);
  flex: 0 0 auto;
}

.beta-perks-card__icon svg,
.beta-perks-card__icon .lucide,
.beta-perks-card__icon-svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.beta-perks-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

.beta-perks-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding-bottom: 1.5rem;
  }

  .hero-sub {
    margin-bottom: 1.5rem;
  }

  .hero-image-wrapper {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-note {
    margin-bottom: 0.5rem;
  }

  .waitlist-form--flat {
    margin-top: 0.15rem;
  }

  .footer-waitlist-lead {
    margin-bottom: 0.5rem !important;
  }

  .footer-waitlist-section .waitlist-form--flat {
    margin-top: 0.15rem;
  }
}

/* Forms — flat (no outer glass box) */
.waitlist-form {
  margin: 0;
  width: 100%;
}

.waitlist-form--flat {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  margin-top: 0.5rem;
  padding-bottom: 0.75rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-row--lead {
  width: 100%;
}

@media (min-width: 480px) {
  .form-row:not(.form-row--lead) {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
  }
}

@media (min-width: 768px) {
  .form-row--lead {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: wrap;
  }
}

.input-email {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.875rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.input-email::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.input-email:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
  background: #ffffff;
}

.input-email.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

@media (max-width: 767px) {
  .form-row--lead {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .form-row--lead .input-email {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }

  .form-row--lead .btn-primary {
    width: 100%;
    max-width: 280px;
    margin-inline: auto;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn:hover .btn-icon,
.btn-header:hover .btn-icon,
.mobile-nav-link--cta:hover .btn-icon {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: var(--primary-gradient);
  border: 1px solid transparent;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.btn-primary:active {
  background: var(--primary-pressed);
  transform: translateY(0);
  box-shadow: none;
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-status.is-success {
  color: #5eead4;
}

.form-status.is-error {
  color: #fca5a5;
}

.waitlist-form.is-success .form-row {
  animation: form-success-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes form-success-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.waitlist-form.is-success .btn-primary {
  animation: btn-check-flash 0.6s ease;
}

@keyframes btn-check-flash {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.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;
}

/* Sections */
.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.benefits-section {
  background: var(--bento-bg);
  border-top: none;
  border-bottom: none;
  color: #ffffff;
}

.benefits-section .section-title,
.benefits-section .section-lead {
  color: #ffffff;
}

.section-intro {
  margin-bottom: 2.5rem;
  max-width: none;
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Vault grid — 4 cards */
.vault-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .vault-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .vault-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vault-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  transition: all 0.3s ease;
  background: var(--bento-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.vault-card::before {
  content: none;
}

.vault-card:hover {
  transform: translateY(-4px);
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
}

.vault-card:hover::before {
  opacity: 1;
}

.vault-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  color: var(--bento-icon);
  background: rgba(56, 189, 248, 0.15);
  border-radius: 10px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.vault-icon .icon-glow {
  width: 1.5rem;
  height: 1.5rem;
  filter: none;
}

/* Lucide replaces <i data-lucide> with an inline <svg>. Normalize sizing/alignment. */
.vault-icon svg,
.vault-icon .lucide,
.vault-icon .icon-glow {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.vault-icon {
  line-height: 0;
}

.vault-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--bento-text);
}

.vault-text {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--bento-text-muted);
}

/* ── Timeline (original: sidebar + scroll wrapper) ── */
.timeline-outer {
  border-bottom: 1px solid var(--border);
  padding-block: 0.75rem 0;
  background-color: var(--bg);
}

.container--timeline-head {
  margin-bottom: 0;
  padding-bottom: 0.15rem;
}

.section-title--timeline {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 4.5vw, 2rem);
}

.timeline-desktop {
  position: relative;
  display: block;
  padding-inline: var(--mobile-pad);
}

@media (min-width: 768px) {
  .timeline-desktop {
    padding-inline: 1.25rem;
  }
}

.nav-sidebar {
  display: none;
}

.timeline-rail-sync {
  min-width: 0;
}

.timeline-wrapper-holder {
  position: relative;
  min-width: 0;
}

.timeline-wrapper {
  overflow: visible;
  scrollbar-width: none;
}

.timeline-wrapper::-webkit-scrollbar {
  display: none;
}

.timeline-section-slide {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0 0 1.5rem;
  scroll-snap-align: none;
}

.timeline-section-slide:last-child {
  padding-bottom: 0;
}

.scroll-hint {
  display: none;
}

.scroll-hint-text--mobile,
.scroll-hint-icon--mobile {
  display: none;
}

.timeline-card {
  width: 100%;
  max-width: 800px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.timeline-card::after {
  content: none;
}

.timeline-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.timeline-card:hover::after {
  opacity: 1;
}

.timeline-card--horizontal {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-card--horizontal .card-text {
  padding: 1.25rem;
  flex: 1;
  order: 2;
}

.timeline-card-heading {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.timeline-card--horizontal .card-image {
  width: 100%;
  order: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  background: #fff;
  aspect-ratio: 16 / 9;
}

.timeline-card--horizontal .card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1));
}

.timeline-card--horizontal .card-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.timeline-card-body {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Desktop timeline */
@media (min-width: 768px) {
  .timeline-outer {
    padding-block: 0.5rem 0;
  }

  .container--timeline-head {
    margin-bottom: 0;
    padding-bottom: 0.1rem;
  }

  .timeline-desktop {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 0.5rem;
    align-items: stretch;
    min-height: auto;
    max-width: 1120px;
    margin-inline: auto;
  }

  .timeline-rail-sync {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-height: 0;
  }

  .timeline-wrapper-holder {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: sticky;
    top: 72px;
    align-self: start;
    height: var(--timeline-vh);
    max-height: calc(100vh - 5.5rem);
    z-index: 5;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .dot-row {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .dot {
    width: 12px;
    height: 12px;
    background: var(--gray-dot);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.4s ease, transform 0.3s ease;
  }

  .dot-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-dot);
    max-width: 148px;
    line-height: 1.3;
    transition: color 0.4s ease;
  }

  .line {
    width: 2px;
    height: 40px;
    margin-left: 5px;
    margin-top: 4px;
    margin-bottom: 4px;
    background: var(--border);
    position: relative;
  }

  .line-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--timeline-accent);
    transition: height 0.6s ease;
  }

  .dot.active-dot {
    background: var(--timeline-accent) !important;
    transform: scale(1.25);
  }

  .dot-title.active-text {
    color: var(--timeline-accent-line) !important;
  }

  .line.active-line .line-fill {
    height: 100%;
  }

  .timeline-wrapper-holder {
    min-height: var(--timeline-vh);
    position: relative;
  }

  .scroll-hint {
    display: flex;
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 6;
  }

  .scroll-hint-text--desktop,
  .scroll-hint-icon--desktop {
    display: block;
  }

  .scroll-hint-text--mobile,
  .scroll-hint-icon--mobile {
    display: none !important;
  }

  .scroll-hint-icon--desktop {
    animation: hint-bounce 1.4s ease infinite;
  }

  @keyframes hint-bounce {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(5px);
    }
  }

  .scroll-hint.hidden {
    opacity: 0;
  }

  .timeline-wrapper {
    height: var(--timeline-vh);
    max-height: var(--timeline-vh);
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-section-slide {
    min-height: var(--timeline-vh);
    height: var(--timeline-vh);
    padding: 0.15rem 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    align-items: center;
    box-sizing: border-box;
  }

  .timeline-card--horizontal {
    flex-direction: row;
    align-items: stretch;
    max-height: min(52vh, 480px);
    width: 100%;
  }

  .timeline-card--horizontal .card-text {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    overflow-y: auto;
    order: 1;
  }

  .timeline-card--horizontal .card-image {
    width: 40%;
    min-height: 0;
    order: 2;
    position: relative;
    padding: 0;
  }
  
  .timeline-card--horizontal .card-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.1), transparent);
  }

}

/* Mobile text alignment */
@media (max-width: 767px) {
  .hero-inner,
  .section-intro--benefits,
  .footer-waitlist-inner {
    text-align: center;
  }

  .hero-title,
  .hero-sub,
  .hero-note {
    text-align: center;
  }

  .vault-card {
    text-align: center;
  }

  .vault-icon {
    margin-inline: auto;
  }

  .section-title--timeline,
  .container--timeline-head {
    text-align: center;
  }

  .footer-waitlist-inner .section-title,
  .footer-waitlist-lead {
    text-align: center;
  }

  .timeline-card--horizontal .card-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Mobile: cards → synced progress rail → swipe hint */
  .timeline-wrapper-holder {
    display: contents;
  }

  .timeline-desktop {
    display: flex;
    flex-direction: column;
    gap: clamp(0.3rem, 1.8vw, 0.55rem);
    align-items: stretch;
  }

  .timeline-wrapper {
    order: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    height: auto;
    min-height: clamp(300px, 52vw, 380px);
    max-height: none;
    width: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .timeline-rail-sync {
    order: 2;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.15rem 0 0.4rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .timeline-rail-sync::-webkit-scrollbar {
    display: none;
  }

  .nav-sidebar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 500%;
    min-width: 500%;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    margin: 0;
    border: none;
    position: static;
    height: auto;
    max-height: none;
  }

  .nav-item {
    flex: 0 0 20%;
    width: 20%;
    max-width: 20%;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    padding-inline: 1px;
  }

  .nav-item .dot-row {
    flex-direction: column;
    gap: 5px;
    align-items: center;
    flex-shrink: 0;
  }

  .nav-sidebar .dot {
    width: clamp(9px, 2.4vw, 11px);
    height: clamp(9px, 2.4vw, 11px);
  }

  .nav-sidebar .dot-title {
    font-size: clamp(0.55rem, 2.35vw, 0.68rem);
    max-width: min(22vw, 5.5rem);
    text-align: center;
    line-height: 1.2;
  }

  .nav-sidebar .line {
    display: block;
    width: clamp(1rem, 7vw, 2rem);
    height: 3px;
    margin: 0 0 0 2px;
    align-self: center;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    overflow: hidden;
  }

  .nav-sidebar .line-fill {
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--timeline-accent);
    transition: width 0.55s ease;
  }

  .nav-sidebar .line.active-line .line-fill {
    width: 100%;
    height: 100%;
  }

  .timeline-section-slide {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    min-height: auto;
    height: auto;
    scroll-snap-align: center;
    padding: 0;
    box-sizing: border-box;
  }

  #timeline-scroll-hint.scroll-hint {
    order: 3;
    display: flex;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 0.15rem;
    padding-bottom: 0.2rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3px;
    font-size: clamp(0.52rem, 2.2vw, 0.62rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    pointer-events: none;
    z-index: 6;
  }

  .scroll-hint-text--desktop,
  .scroll-hint-icon--desktop {
    display: none !important;
  }

  .scroll-hint-text--mobile {
    display: block;
  }

  .scroll-hint-icon--mobile {
    display: block;
    animation: hint-nudge-x 1.4s ease infinite;
  }
}

@keyframes hint-nudge-x {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}

/* Footer waitlist */
.footer-waitlist-section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  background-color: var(--bg-alt);
}

.footer-waitlist-inner {
  width: 100%;
}

.footer-waitlist-lead {
  margin-bottom: 1rem;
}

/* Site footer */
.site-footer {
  padding-block: 2rem;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  display: block;
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: min(240px, 85vw);
}

.footer-brand {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
  max-width: 100%;
}

/* —— Cookie consent (GDPR + GTM Consent Mode v2) —— */
body.has-cookie-banner {
  padding-bottom: clamp(7rem, 22vw, 9rem);
}

@media (min-width: 640px) {
  body.has-cookie-banner {
    padding-bottom: clamp(5.5rem, 12vw, 7rem);
  }
}

.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0.75rem 1rem 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  background: rgba(244, 249, 253, 0.92);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08);
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__inner {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}

.cookie-consent__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
  flex: 1;
  min-width: 0;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
}

@media (min-width: 768px) {
  .cookie-consent__actions {
    flex-shrink: 0;
    justify-content: flex-end;
  }
}

.btn-cookie {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-ui);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-cookie--primary {
  color: #fff;
  background: var(--primary-gradient);
  border-color: transparent;
}

.btn-cookie--primary:hover {
  filter: brightness(1.05);
}

.btn-cookie--secondary {
  color: var(--text);
  background: #fff;
  border-color: var(--border);
}

.btn-cookie--secondary:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
}

.btn-cookie--ghost {
  color: var(--text-muted);
  background: transparent;
  border-color: var(--border);
}

.btn-cookie--ghost:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.cookie-preferences {
  z-index: 300;
  max-width: calc(100vw - 2rem);
  width: min(440px, 100%);
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--radius-card);
  background: transparent;
}

.cookie-preferences::backdrop {
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cookie-preferences__panel {
  padding: 1.5rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.cookie-preferences__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: var(--track-head);
  color: var(--text);
}

.cookie-preferences__intro {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.55;
}

.cookie-preferences__options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.cookie-pref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cookie-pref-row:last-of-type {
  padding-bottom: 0;
  border-bottom: none;
}

.cookie-pref-row__text {
  min-width: 0;
}

.cookie-pref-row__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.cookie-pref-row__desc {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.cookie-switch__ui {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--gray-dot);
  transition: background-color 0.2s ease;
  pointer-events: none;
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.cookie-preferences__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}
