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

:root {
  --dark: #07131d;
  --dark-mid: #0b1c29;
  --cream: #f4efe6;
  --accent: #9bb8d3;
  --accent-hover: #c2d8eb;
  --accent-dark: #7293b3;
  --text-dark: #18364d;
  --text-mid: #4c6678;
  --text-muted: #587082;
  --text-light: #5d7890;
  --text-input: #6f8798;
  --btn-bg: #8faecc;
  --btn-hover: #6f97bd;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Fraunces', Georgia, serif;
  --font-tagline: 'Roboto Mono', monospace;
}

html { scroll-behavior: smooth; overflow-x: clip; }

/* ══════════════════════════════════════
   ACCESSIBILITY
   ══════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .fade-up  { animation: none; opacity: 1; transform: none; }
  .fade-scale { animation: none; opacity: 1; transform: none; }
  .reveal   { transition: none; opacity: 1; transform: none; }
  .phone-left, .phone-right { animation: none; opacity: .9; }
  .story-screens img { transition: none; opacity: 0; }
  .story-screens img.active { opacity: 1; }
}

body {
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   LOGO COMPONENT
   ══════════════════════════════════════ */
.logo {
  text-decoration: none;
  display: inline-block;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-logo);
  font-weight: 700;
  line-height: .95;
  display: block;
}
.logo-tagline {
  font-family: var(--font-tagline);
  font-weight: 300;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 4px;
}

/* Nav logo — dark bg, light text */
.logo--nav .logo-text {
  font-size: 2.5rem;
  color: var(--cream);
}
.logo--nav .logo-tagline {
  font-size: 0.65rem;
  color: var(--accent);
}

/* Waitlist logo — dark bg, large */
.logo--waitlist .logo-text {
  font-size: 4.5rem;
  color: var(--cream);
}
.logo--waitlist .logo-tagline {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 8px;
}

/* Footer logo — light bg, dark text */
.logo--footer { display: inline-block; }
.logo--footer .logo-text {
  font-size: 2rem;
  color: var(--text-dark);
}
.logo--footer .logo-tagline {
  font-size: 0.6rem;
  color: var(--accent-dark);
  margin-top: 5px;
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 1.5rem 1.25rem 4rem;
  overflow-x: clip;
}
@media (min-width: 640px) { .hero-section { padding: 1.5rem 2rem 4rem; } }
@media (min-width: 1024px) { .hero-section { padding: 1.5rem 3.5rem 4rem; } }

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(135,168,200,.24), transparent 34%),
    radial-gradient(circle at 5% 80%, rgba(135,168,200,.16), transparent 30%),
    linear-gradient(180deg, #07131d 0%, #0b1c29 100%);
}

.hero-curve {
  position: absolute;
  left: -5%; right: -5%; bottom: 0;
  height: 10rem;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 1.25rem;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
@media (min-width: 640px)  { nav { padding: 1rem 2rem; } }
@media (min-width: 1024px) { nav { padding: 1rem 3.5rem; } }

.nav-inner {
  max-width: 80rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
}

nav.scrolled {
  background: rgba(7,19,29,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07);
}

.nav-links {
  display: none;
  align-items: center; gap: 2.25rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  list-style: none;
}
@media (min-width: 768px) { .nav-links { display: flex; } }

.nav-links a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  transition: color .2s;
  padding-bottom: 0.5rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}

.nav-right { display: flex; align-items: center; gap: 0.75rem; }

.lang-toggle {
  display: flex;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  padding: 0.25rem;
}
.lang-toggle button {
  border: none; cursor: pointer;
  border-radius: 9999px;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 0.75rem;
  transition: all .2s;
  background: transparent;
  color: rgba(255,255,255,.7);
}
.lang-toggle button.active {
  background: var(--accent);
  color: var(--dark);
}

.nav-cta {
  display: none;
  border-radius: 9999px;
  background: var(--accent);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
  transition: background .2s;
  box-shadow: 0 4px 16px rgba(155,184,211,.25);
  white-space: nowrap;
  min-width: 10rem;
  text-align: center;
}
.nav-cta:hover { background: var(--accent-hover); }
@media (min-width: 640px) { .nav-cta { display: block; } }

.mobile-menu-btn {
  display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 10px;
  min-width: 2.75rem; min-height: 2.75rem;
}
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

/* HERO CONTENT */
.hero-grid {
  position: relative; z-index: 10;
  max-width: 80rem; margin: 0 auto;
  display: grid; gap: 3rem;
  padding-top: 6rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: .92fr 1.08fr; padding-top: 7rem; align-items: start; }
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeScale { to { opacity: 1; transform: scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: .9; } }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .7s ease forwards; }
.fade-scale { opacity: 0; transform: scale(.96); animation: fadeScale .7s ease .1s forwards; }
.fade-up-d1 { animation-delay: 0s; }
.fade-up-d2 { animation-delay: 0.12s; }
.fade-up-d3 { animation-delay: 0.22s; }
.fade-up-d4 { animation-delay: 0.33s; }
.fade-up-d5 { animation-delay: 0.44s; }

.hero-badge {
  display: inline-flex;
  border-radius: 9999px;
  border: 1px solid rgba(155,184,211,.35);
  background: rgba(255,255,255,.05);
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 40rem;
}
.hero-title .hl,
.hero-intro .hl,
.waitlist-title .hl { color: var(--accent); }

.hero-intro {
  margin-top: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  max-width: 32rem;
}
.hero-intro strong { color: var(--accent); }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; align-items: center; }
.store-badge-link {
  display: inline-block;
  border-radius: 0.5rem;
  transition: transform .2s, opacity .2s;
}
.store-badge-link:hover { transform: translateY(-2px); opacity: 0.88; }
.store-badge-link img { display: block; }

.demo-link {
  display: inline-flex; align-items: center; gap: 1rem;
  color: var(--accent); text-decoration: none;
  margin-top: 2rem; font-size: 1.125rem; font-weight: 500;
  transition: color .2s;
}
.demo-link:hover { color: var(--accent-hover); }
.demo-link-icon {
  display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.12);
  font-size: 1.25rem;
  transition: background .2s;
}
.demo-link:hover .demo-link-icon { background: rgba(255,255,255,.2); }

/* PHONE MOCKUPS */
.phones-container { position: relative; height: 520px; }
.phones-glow {
  position: absolute; inset: 0;
  border-radius: 3rem;
  background: rgba(155,184,211,.1);
  filter: blur(48px);
}

.phone {
  position: relative;
  border-radius: 2.2rem;
  border: 2px solid rgba(255,255,255,.15);
  background: #000;
  padding: 0.35rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.5);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.phone-center:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 32px 60px rgba(0,0,0,.6); }
.phone-left:hover  { transform: rotate(-3deg) translateY(-4px); box-shadow: 0 32px 60px rgba(0,0,0,.6); }
.phone-right:hover { transform: rotate(3deg) translateY(-4px); box-shadow: 0 32px 60px rgba(0,0,0,.6); }
.phone::before {
  content: '';
  position: absolute;
  left: 50%; top: 0.6rem;
  transform: translateX(-50%);
  width: 4.5rem; height: 1.1rem;
  border-radius: 9999px;
  background: #000;
  z-index: 20;
}
.phone img {
  width: 100%; height: 100%;
  border-radius: 1.9rem;
  object-fit: cover;
  display: block;
}

.phone-center {
  position: relative; z-index: 10;
  margin: 0 auto;
  width: 265px; height: 560px;
}
.phone-left, .phone-right {
  display: none;
  position: absolute;
  top: 3rem;
  width: 210px; height: 440px;
  opacity: 0;
}
.phone-left { left: 0; transform: rotate(-3deg); }
.phone-right { right: 0; transform: rotate(3deg); }
@media (min-width: 768px) {
  .phone-left { display: block; animation: fadeIn .6s ease .35s forwards; }
  .phone-right { display: block; animation: fadeIn .6s ease .45s forwards; }
}

/* FEATURES BAR */
.features-bar {
  position: relative; z-index: 20;
  max-width: 80rem; margin: 2.5rem auto 0;
  display: grid; gap: 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.09);
  padding: 1.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-dark);
}
@media (min-width: 768px) { .features-bar { grid-template-columns: repeat(4, 1fr); margin-bottom: -5rem; } }

.feature-card {
  display: flex; gap: 1rem; padding: 0.75rem; border-radius: 1.5rem;
  transition: background .2s;
  cursor: default;
}
.feature-icon {
  display: grid; place-items: center;
  width: 4rem; height: 4rem; flex-shrink: 0;
  border-radius: 1rem;
  background: rgba(24,54,77,.12);
  font-size: 1.75rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08);
}
.feature-card:hover { background: rgba(24,54,77,.06); }
.feature-card h3 { font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; font-size: 0.95rem; }
.feature-card p { font-size: 0.85rem; line-height: 1.6; color: var(--text-mid); }

/* ══════════════════════════════════════
   STORY SECTION
   ══════════════════════════════════════ */
.story-section {
  background: var(--cream);
  padding: 5rem 1.25rem;
  color: var(--text-dark);
}
@media (min-width: 640px) { .story-section { padding: 5rem 2rem; } }
@media (min-width: 768px) { .story-section { padding: 5rem 2rem 5rem; } }
@media (min-width: 1024px) { .story-section { padding: 5rem 3.5rem 5rem; } }

.story-grid {
  max-width: 80rem; margin: 0 auto;
  display: grid; gap: 3rem;
}
@media (min-width: 1024px) {
  .story-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
}

.story-kicker {
  font-family: var(--font-tagline);
  font-size: 0.8rem; font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}
.story-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 900; line-height: 1.1;
}
.story-intro {
  margin-top: 1.5rem; font-size: 1.125rem;
  line-height: 2; color: var(--text-mid); max-width: 32rem;
}

.steps { margin-top: 2rem; display: grid; gap: 1rem; }
.step {
  display: flex; gap: 1rem;
  border-radius: 1.5rem;
  background: #fff;
  padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.step:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; flex-shrink: 0;
  border-radius: 9999px;
  background: var(--text-dark);
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 900; line-height: 1;
  color: var(--cream);
}
.step h3 { font-weight: 700; font-size: 0.95rem; }
.step p { margin-top: 0.25rem; font-size: 0.85rem; line-height: 1.6; color: var(--text-muted); }

.provinces-list {
  margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.04em;
  color: var(--text-muted); line-height: 1.8;
}

.trust-strip {
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.trust-item {
  display: flex; flex-direction: column; gap: 0.2rem;
  flex: 1; text-align: center;
}
.trust-num {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 900;
  color: var(--accent-dark);
  line-height: 1;
}
.trust-label {
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-muted);
}
.trust-divider {
  width: 1px; height: 2.5rem;
  background: rgba(0,0,0,.08);
  flex-shrink: 0;
}

.story-phone-showcase {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10rem;
}

.story-phone-sticky {
  position: sticky;
  top: 6rem;
}

.story-phones-duo {
  position: relative;
  width: 430px;
  height: 650px;
}

.story-duo-back {
  position: absolute;
  width: 270px; height: 568px;
  left: 0; top: 65px;
  transform: rotate(-7deg);
  z-index: 1;
  border-color: rgba(24,54,77,.18);
  box-shadow: 0 16px 48px rgba(24,54,77,.14), 0 4px 12px rgba(0,0,0,.08);
}

.story-duo-front {
  position: absolute;
  width: 295px; height: 618px;
  right: 0; top: 0;
  z-index: 2;
  border-color: rgba(24,54,77,.25);
  box-shadow: 0 24px 60px rgba(24,54,77,.2), 0 4px 16px rgba(0,0,0,.12);
}

.story-screens {
  position: absolute;
  inset: 0.35rem;
  border-radius: 1.9rem;
  overflow: hidden;
}

.story-screens img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

.story-screens img.active { opacity: 1; }

/* ══════════════════════════════════════
   WAITLIST SECTION
   ══════════════════════════════════════ */
.waitlist-section {
  position: relative;
  background: var(--dark);
  padding: 5rem 1.25rem;
}
@media (min-width: 640px) { .waitlist-section { padding: 5rem 2rem; } }
@media (min-width: 1024px) { .waitlist-section { padding: 5rem 3.5rem; } }

.waitlist-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(135,168,200,.2), transparent 30%);
}

.waitlist-card {
  position: relative;
  max-width: 72rem; margin: 0 auto;
  display: grid; gap: 2.5rem;
  border-radius: 2.5rem;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0,0,0,.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
@media (min-width: 1024px) {
  .waitlist-card { grid-template-columns: .7fr 1fr; align-items: center; padding: 3rem; }
}

.waitlist-logo { text-align: center; }
@media (min-width: 1024px) { .waitlist-logo { text-align: left; } }

.waitlist-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
}
.waitlist-text {
  margin-top: 1rem; font-size: 1.125rem;
  line-height: 1.7; color: rgba(255,255,255,.75); max-width: 36rem;
}

.waitlist-form {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 36rem;
  border-radius: 9999px;
  background: var(--cream);
  padding: 0.5rem;
}
@media (min-width: 640px) { .waitlist-form { flex-direction: row; } }

.waitlist-form input {
  flex: 1; min-height: 3.5rem;
  border: none; border-radius: 9999px;
  background: transparent;
  padding: 0 1.5rem; font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-dark); outline: none;
}
.waitlist-form input::placeholder { color: var(--text-input); }

.waitlist-form button {
  border: none; cursor: pointer;
  border-radius: 9999px;
  background: var(--btn-bg);
  padding: 1rem 2rem;
  font-size: 1rem; font-weight: 700;
  font-family: var(--font-body);
  color: #fff; transition: background .2s;
  white-space: nowrap;
}
.waitlist-form button:hover { background: var(--btn-hover); }

.waitlist-note { margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,.75); }
.waitlist-recaptcha { margin-top: 0.5rem; font-size: 0.72rem; color: rgba(255,255,255,.35); }
.waitlist-recaptcha a { color: rgba(255,255,255,.45); text-underline-offset: 2px; }

/* reCAPTCHA — hide floating badge; text disclaimer added in HTML instead */
.grecaptcha-badge { visibility: hidden !important; }

/* FOOTER */
footer {
  background: var(--cream);
  padding: 2.5rem 1.25rem;
  color: var(--text-dark);
}
@media (min-width: 640px)  { footer { padding: 2.5rem 2rem; } }
@media (min-width: 1024px) { footer { padding: 2.5rem 3.5rem; } }

.footer-inner {
  max-width: 80rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

footer p { margin-top: 0.75rem; font-size: 0.85rem; color: var(--text-light); }

.footer-contact-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 1.25rem auto 0;
  border-radius: 9999px;
  border: 1.5px solid var(--accent-dark);
  padding: 0.6rem 1.5rem;
  font-size: 0.875rem; font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.footer-contact-btn:hover {
  background: var(--accent-dark);
  color: #fff;
}

.footer-instagram {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.875rem; font-weight: 600;
  color: var(--accent-dark);
  text-decoration: none;
  transition: color .2s;
}
.footer-instagram:hover { color: var(--text-dark); }

.footer-copyright {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-mid);
}

/* THEME TOGGLE BUTTON */
.theme-toggle {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--cream);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(255,255,255,.16); }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

/* SCROLL REVEAL */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* MOBILE NAV */
@media (max-width: 767px) {
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(7,19,29,.97);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1.25rem;
    border-radius: 0 0 1.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,.08);
    z-index: 50;
  }
}

/* ══════════════════════════════════════
   LIGHT THEME
   Uses the same brand palette — cream becomes the
   hero background, dark navy becomes the text.
   ══════════════════════════════════════ */
[data-theme="light"] body {
  background: var(--cream);
  color: var(--text-dark);
}

/* Toggle button flips icons */
[data-theme="light"] .theme-toggle {
  border-color: rgba(24,54,77,.2);
  background: rgba(24,54,77,.07);
  color: var(--text-dark);
}
[data-theme="light"] .theme-toggle:hover { background: rgba(24,54,77,.14); }
[data-theme="light"] .theme-toggle .icon-sun  { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* Hero bg — cream base with brand-blue glows */
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(circle at 78% 18%, rgba(114,147,179,.18), transparent 34%),
    radial-gradient(circle at 5% 80%, rgba(114,147,179,.1), transparent 30%),
    linear-gradient(180deg, var(--cream) 0%, #ede8df 100%);
}
[data-theme="light"] .hero-curve { background: #fff; }

/* Nav */
[data-theme="light"] .logo--nav .logo-text { color: var(--text-dark); }
/* --accent-dark is 2.80:1 on cream — use text-mid (5.27:1) */
[data-theme="light"] .logo--nav .logo-tagline { color: var(--text-mid); }
[data-theme="light"] .nav-links a { color: rgba(24,54,77,.8); }
[data-theme="light"] .nav-links a:hover,
[data-theme="light"] .nav-links a.active { color: var(--accent-dark); border-bottom-color: var(--accent-dark); }
[data-theme="light"] .nav-cta { background: var(--text-dark); color: var(--cream); box-shadow: 0 4px 16px rgba(24,54,77,.2); }
[data-theme="light"] .nav-cta:hover { background: var(--accent-dark); color: #fff; }
[data-theme="light"] .lang-toggle { border-color: rgba(24,54,77,.18); background: rgba(24,54,77,.06); }
[data-theme="light"] .lang-toggle button { color: rgba(24,54,77,.6); }
[data-theme="light"] .lang-toggle button.active { background: var(--text-dark); color: var(--cream); }
[data-theme="light"] .mobile-menu-btn span { background: var(--text-dark); }

/* Hero content */
[data-theme="light"] .hero-badge {
  color: var(--text-dark);
  border-color: rgba(24,54,77,.2);
  background: rgba(24,54,77,.06);
}
[data-theme="light"] .hero-title { color: var(--text-dark); }
/* #2a6080 = darker brand blue, 6:1 on cream — distinct from body navy */
[data-theme="light"] .hero-title .hl,
[data-theme="light"] .hero-intro .hl { color: #2a6080; }
[data-theme="light"] .hero-intro { color: rgba(24,54,77,.75); }
[data-theme="light"] .hero-intro strong { color: var(--text-dark); }
[data-theme="light"] .demo-link { color: var(--text-dark); }
[data-theme="light"] .demo-link:hover { color: var(--text-mid); }
[data-theme="light"] .demo-link-icon { background: rgba(24,54,77,.09); }
[data-theme="light"] .demo-link:hover .demo-link-icon { background: rgba(24,54,77,.16); }
[data-theme="light"] .phones-glow { background: rgba(114,147,179,.1); }
[data-theme="light"] .phone { border-color: rgba(24,54,77,.12); }

/* Features bar */
[data-theme="light"] .features-bar {
  background: rgba(24,54,77,.09);
  border-color: rgba(24,54,77,.12);
  box-shadow: 0 25px 50px rgba(24,54,77,.15);
}
[data-theme="light"] .feature-icon { background: rgba(24,54,77,.12); }
[data-theme="light"] .feature-card:hover { background: rgba(24,54,77,.06); }
[data-theme="light"] .feature-card h3 { color: var(--text-dark); }
[data-theme="light"] .feature-card p { color: var(--text-mid); }

/* Story */
[data-theme="light"] .story-section { background: #fff; }
[data-theme="light"] .story-kicker { color: var(--text-dark); }
[data-theme="light"] .step { background: var(--cream); box-shadow: 0 1px 4px rgba(24,54,77,.06); }
[data-theme="light"] .step:hover { box-shadow: 0 6px 20px rgba(24,54,77,.1); }
/* Step number: flip to dark bg + cream text (10.96:1) instead of accent bg + white (2.06:1) */
[data-theme="light"] .step-num { background: var(--text-dark); color: var(--cream); }
[data-theme="light"] .trust-strip { background: var(--cream); box-shadow: 0 1px 4px rgba(24,54,77,.06); }
/* Trust numbers used --accent-dark (2.80:1 on cream) — fix to text-dark (10.96:1) */
[data-theme="light"] .trust-num { color: var(--text-dark); }

/* Waitlist */
[data-theme="light"] .waitlist-section { background: var(--text-dark); }
[data-theme="light"] .waitlist-bg {
  background: radial-gradient(circle at 20% 20%, rgba(155,184,211,.25), transparent 30%);
}
[data-theme="light"] .waitlist-card {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
/* Waitlist keeps dark bg in light mode — force text back to cream */
[data-theme="light"] .waitlist-title,
[data-theme="light"] .waitlist-logo .logo-tagline { color: var(--cream); }
[data-theme="light"] .waitlist-text { color: rgba(244,239,230,.8); }

/* Footer */
[data-theme="light"] footer { background: #fff; }
/* --accent-dark is 2.80:1 on white — use text-dark (10.96:1) instead */
[data-theme="light"] .footer-contact-btn { border-color: var(--text-dark); color: var(--text-dark); }
[data-theme="light"] .footer-contact-btn:hover { background: var(--text-dark); color: var(--cream); }
/* Remove opacity so text-muted (4.52:1 on white) isn't dragged below threshold */
[data-theme="light"] .footer-copyright { opacity: 1; }

/* Scrolled nav — light theme */
[data-theme="light"] nav.scrolled {
  background: rgba(244,239,230,.9);
  box-shadow: 0 1px 0 rgba(24,54,77,.08);
}

/* Mobile nav dropdown */
[data-theme="light"] .nav-links.open {
  background: rgba(244,239,230,.97);
  border-color: rgba(24,54,77,.1);
}
[data-theme="light"] .nav-links.open a { color: rgba(24,54,77,.85); }

/* ══════════════════════════════════════
   MOBILE IMPROVEMENTS
   ══════════════════════════════════════ */

/* Nav: compact on small screens — keep lang-toggle visible */
@media (max-width: 639px) {
  .logo--nav .logo-text    { font-size: 1.5rem; }
  .logo--nav .logo-tagline { font-size: 0.5rem; letter-spacing: 0.05em; }
  .theme-toggle            { width: 2.75rem; height: 2.75rem; }
  .nav-right               { gap: 0.4rem; }
  .lang-toggle button      { padding: 0.5rem 0.65rem; font-size: 0.7rem; min-height: 2.75rem; }
}

/* Hero phones: horizontal scroll-snap carousel on mobile */
@media (max-width: 767px) {
  /* Bleed to viewport edges, overriding hero padding */
  .phones-container {
    display: flex;
    height: auto;
    max-width: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1rem;
    padding: 0.5rem calc(50vw - 100px) 1.5rem;
    width: calc(100% + 2.5rem);
    margin-left: -1.25rem;
    margin-right: -1.25rem;
  }
  .phones-container::-webkit-scrollbar { display: none; }
  .phones-glow { display: none; }

  /* All phones become equal-sized flex items */
  .phone {
    display: block;
    flex-shrink: 0;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    position: static;
    width: 200px;
    height: 422px;
    top: auto; left: auto; right: auto;
    transform: none;
    opacity: 1;
    animation: none;
  }
  /* Disable desktop hover transforms on touch */
  .phone:hover { transform: none; }
  .phone-center { margin: 0; }
  .phone::before { width: 3.5rem; height: 0.88rem; top: 0.55rem; }
}
/* Wider hero padding at 640px+ — adjust bleed accordingly */
@media (min-width: 640px) and (max-width: 767px) {
  .phones-container {
    width: calc(100% + 4rem);
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

/* Carousel dot indicators */
.phones-dots { display: none; }
@media (max-width: 767px) {
  .phones-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: -0.5rem;
    padding-bottom: 0.25rem;
  }
}
.phones-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(155,184,211,.3);
  transition: background .25s, transform .25s;
}
.phones-dot.active { background: var(--accent); transform: scale(1.4); }

/* Features bar: 2 columns on mid mobile; fix text colour on dark bg */
@media (min-width: 480px) and (max-width: 767px) {
  .features-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .feature-card h3   { color: var(--cream); }
  .feature-card p    { color: rgba(244,239,230,.72); }
  .feature-icon      { color: var(--accent); background: rgba(155,184,211,.12); }
}
[data-theme="light"] .feature-card h3 { color: var(--text-dark); }
[data-theme="light"] .feature-card p  { color: var(--text-mid); }

/* Hero: shrink cream curve on mobile so it clears the features-bar */
@media (max-width: 767px) {
  .hero-curve { height: 3rem; }
}

/* Story phones: single phone on tablet */
@media (max-width: 1023px) {
  .story-phone-showcase { padding-top: 2rem; }
  .story-phone-sticky   { position: static; }
  .story-phones-duo     { width: 295px; height: 618px; margin: 0 auto; }
  .story-duo-back       { display: none; }
  .story-duo-front      { position: relative; width: 100%; height: 100%; right: auto; top: auto; transform: none; }
}
@media (max-width: 479px) {
  .story-phones-duo { width: 240px; height: 504px; }
}


/* Trust strip: 2×2 wrap on very small screens */
@media (max-width: 479px) {
  .trust-strip   { flex-wrap: wrap; gap: 0.75rem; padding: 1rem 0.75rem; }
  .trust-divider { display: none; }
  .trust-item    { flex: 0 0 calc(50% - 0.375rem); }
  .trust-num     { font-size: 1.5rem; }
  .trust-label   { font-size: 0.72rem; }
}

/* Waitlist form: card style when stacked on mobile */
@media (max-width: 639px) {
  .waitlist-form        { border-radius: 1.5rem; padding: 0.75rem; }
  .waitlist-form input  { padding: 0 1rem; min-height: 3rem; }
  .waitlist-form button { padding: 0.875rem 1.5rem; }
}

/* Footer: compact and stacked on mobile */
@media (max-width: 639px) {
  footer            { padding: 1.5rem 1.25rem; }
  .footer-inner     { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
  .footer-instagram { margin-top: 0; }
  .footer-copyright { margin-top: 0.35rem; }
}