/* ============================================================
   LOCALLY-HOSTED FONTS — Fraunces + Nunito
   Fonts are served from ./fonts/ so no third-party requests are made.
   Each font is a variable-weight WOFF2; one @font-face per subset covers
   the full weight axis rather than one block per numeric weight.
   ============================================================ */

/* Fraunces — italic (400–600) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-italic-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fraunces — normal (400–700) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/fraunces-normal-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/fraunces-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/fraunces-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Nunito — normal (400–900) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream:       #FBF4E2;
  --cream-deep:  #F4E9CD;
  --cream-edge:  #E8DBB8;
  --paper:       #FEFCF5;
  --honey:       #E8B254;
  --honey-deep:  #C8902C;
  --honey-light: #F4D9A8;
  --dusk:        #F0A574;
  --bark:        #3D2E1F;
  --bark-soft:   #5A4838;
  --ink:         #2A2017;
  --muted:       #6B5E50;

  --d-letters:    #5C7AA8;
  --d-numbers:    #6BA38D;
  --d-wonder:     #D4A24E;
  --d-creativity: #D87E64;
  --d-emotion:    #9A85B5;

  --leaf:        #7DA875;
  --leaf-deep:   #5A8055;

  --shadow-soft: 0 6px 20px rgba(61,46,31,0.08);
  --shadow-card: 0 12px 32px rgba(61,46,31,0.12);
  --shadow-deep: 0 24px 56px rgba(61,46,31,0.18);

  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --max-w: 1180px;
  --max-form: 520px;

  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

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

/* screen-reader-only text (labels, etc.) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html, body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body {
  background-image:
    radial-gradient(circle at 8% 12%, rgba(232,178,84,0.12) 0%, transparent 40%),
    radial-gradient(circle at 92% 78%, rgba(240,165,116,0.10) 0%, transparent 45%);
  background-attachment: fixed;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============================================================
   LAYOUT WRAPPERS
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.form-container {
  max-width: var(--max-form);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ============================================================
   NAV
============================================================ */
.nav {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(251,244,226,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.nav.scrolled {
  border-color: var(--cream-deep);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo svg,
.logo .logo-img { width: 36px; height: 36px; display: block; }

.logo-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 22px;
  color: var(--bark);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bark-soft);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.nav-link:hover { color: var(--honey-deep); }

.nav-cta {
  background: var(--bark);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 64px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232,178,84,0.18);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  color: var(--bark);
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-title em {
  color: var(--honey-deep);
  font-weight: 600;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.6;
  color: var(--bark-soft);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--honey);
  color: var(--bark);
  padding: 18px 32px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--honey-deep);
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
}

.btn-primary svg { width: 16px; height: 16px; }

.hero-meta {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  font-family: var(--font-display);
}

.hero-illo {
  position: relative;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone {
  width: 240px;
  height: 480px;
  background: var(--bark);
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow-deep);
  transform: rotate(-4deg);
  position: relative;
  z-index: 2;
  animation: gentle-tilt 8s ease-in-out infinite;
}

@keyframes gentle-tilt {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}

.hero-phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F8E5C2 0%, #F4D9A8 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.hero-phone-content {
  position: absolute;
  inset: 0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-phone-greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--bark);
  text-align: center;
}

.hero-phone-flowers {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.flower-stem {
  width: 48px;
  height: 100px;
  position: relative;
}

.flower-stem .stem {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 70px;
  background: var(--leaf-deep);
  border-radius: 2px;
}

.flower-stem .leaf {
  position: absolute;
  bottom: 28px;
  width: 14px;
  height: 18px;
  background: var(--leaf);
  border-radius: 50% 50% 50% 0;
}

.flower-stem .leaf.left { left: 14px; transform: rotate(-30deg); }
.flower-stem .leaf.right { right: 14px; transform: rotate(30deg) scaleX(-1); }

.flower-stem .bloom {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.flower-stem .bloom.b1 { background: var(--d-creativity); }
.flower-stem .bloom.b2 { background: var(--d-letters); }
.flower-stem .bloom.b3 { background: var(--d-numbers); }

.hero-phone-tagline {
  font-size: 11px;
  color: var(--bark-soft);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

.hero-bee {
  position: absolute;
  top: 40px;
  right: 30px;
  width: 100px;
  height: 100px;
  z-index: 3;
  transform: rotate(12deg);
  animation: float-bee 5s ease-in-out infinite;
}

@keyframes float-bee {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(8deg) translateY(-12px); }
}

.hero-owl {
  position: absolute;
  bottom: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  z-index: 3;
  transform: rotate(-6deg);
  animation: bob-owl 6s ease-in-out infinite;
}

@keyframes bob-owl {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-4px); }
}

/* ============================================================
   SECTIONS
============================================================ */
.section {
  padding: 80px 0;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--honey-deep);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--bark);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-heading em {
  color: var(--honey-deep);
  font-weight: 600;
}

.section-lede {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bark-soft);
  max-width: 540px;
  margin-bottom: 40px;
}

/* principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.principle-card {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.p-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: rgba(232,178,84,0.18);
}

.p-icon svg {
  width: 20px; height: 20px;
  color: var(--honey-deep);
}

.p-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 500;
  color: var(--bark);
  margin-bottom: 10px;
}

.p-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bark-soft);
}

/* nos */
.nos-section {
  padding: 64px 0;
  background: var(--paper);
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
}

.nos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.no-chip {
  padding: 10px 18px;
  background: var(--cream);
  border: 1px solid var(--cream-edge);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  color: #B85C5C;
  text-decoration: line-through;
  text-decoration-color: rgba(184,92,92,0.5);
}

/* founder */
.founder-section {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.founder-portrait {
  width: 220px;
  height: 220px;
  background: var(--cream-deep);
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 4px solid var(--paper);
}

.founder-text h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--bark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.founder-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--bark-soft);
  margin-bottom: 16px;
}

.founder-sig {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--bark);
  margin-top: 24px;
  font-size: 17px;
}

/* CTA section */
.cta-section {
  padding: 96px 0;
  text-align: center;
}

.cta-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--bark);
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -1px;
}

.cta-title em {
  color: var(--honey-deep);
  font-weight: 600;
}

.cta-sub {
  font-size: 17px;
  color: var(--bark-soft);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bark);
  color: var(--cream);
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 48px;
}

.footer h5 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--honey-light);
  margin-bottom: 16px;
}

.footer p, .footer a {
  color: rgba(251,244,226,0.75);
  line-height: 1.75;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.footer a:hover { color: var(--honey-light); }

.footer-link-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  color: rgba(251,244,226,0.75);
  line-height: 1.75;
  font-size: 14px;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
  text-align: left;
}
.footer-link-btn:hover { color: var(--honey-light); }

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--honey-light);
  font-size: 16px;
  margin-top: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(251,244,226,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(251,244,226,0.5);
}

/* ============================================================
   ONBOARDING — FULL-SCREEN MULTI-STEP
============================================================ */
.onboarding {
  position: fixed;
  inset: 0;
  background: var(--cream);
  background-image:
    radial-gradient(circle at 50% 8%, rgba(232,178,84,0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 92%, rgba(240,165,116,0.10) 0%, transparent 50%);
  z-index: 100;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.onboarding.active {
  opacity: 1;
  pointer-events: auto;
}

.onboarding-nav {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: var(--bark-soft);
  transition: background 0.2s;
}

.back-btn:hover { background: var(--paper); }

.back-btn svg { width: 14px; height: 14px; }

.progress {
  display: flex;
  gap: 6px;
  align-items: center;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cream-edge);
  transition: all 0.3s ease;
}

.progress-dot.active {
  background: var(--honey-deep);
  width: 28px;
  border-radius: 99px;
}

.progress-dot.done {
  background: var(--honey);
}

.onboarding-body {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 0 80px;
}

.step {
  display: none;
  width: 100%;
  animation: stepIn 0.35s ease forwards;
}

.step.active { display: block; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.step-mascot {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.step-mascot svg {
  width: 100px;
  height: 100px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--bark);
  line-height: 1.15;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--bark-soft);
  text-align: center;
  margin-bottom: 36px;
  font-family: var(--font-display);
  font-style: italic;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

/* google sign in button */
.google-btn {
  background: var(--paper);
  border: 1px solid var(--cream-edge);
  border-radius: 99px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--bark);
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  transition: transform 0.15s, box-shadow 0.2s;
  width: 100%;
}

.google-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.google-icon { width: 20px; height: 20px; }

.privacy-note {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  padding: 12px 8px 0;
  font-family: var(--font-display);
  font-style: italic;
}

.privacy-inline-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--cream-edge);
  text-underline-offset: 3px;
}
.privacy-inline-btn:hover { text-decoration-color: var(--bark-soft); }

/* email confirmation card */
.email-pill {
  background: var(--paper);
  border: 1px solid var(--cream-edge);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.em-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.em-addr {
  font-size: 16px;
  font-weight: 700;
  color: var(--bark);
  word-break: break-all;
}

.answer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.answer-btn {
  padding: 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border: 1px solid var(--cream-deep);
  background: var(--paper);
  color: var(--bark);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.answer-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.answer-btn.primary {
  background: var(--bark);
  color: var(--cream);
  border-color: var(--bark);
}

.answer-btn.primary:hover { background: var(--ink); }

/* email edit input */
.text-input {
  background: var(--paper);
  border: 1.5px solid var(--cream-edge);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--bark);
  width: 100%;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.text-input:focus {
  outline: none;
  border-color: var(--honey-deep);
}

/* class chips */
.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.class-chip {
  aspect-ratio: 1.2 / 1;
  background: var(--paper);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}

.class-chip:hover {
  transform: translateY(-2px);
  border-color: var(--honey);
}

.class-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 36px;
  color: var(--bark);
  line-height: 1;
}

.class-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.class-chip.selected {
  background: var(--honey-light);
  border-color: var(--honey-deep);
}

.class-chip.selected .class-num {
  color: var(--honey-deep);
}

.multi-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 18px;
  font-style: italic;
  font-family: var(--font-display);
  min-height: 18px;
}

/* board options */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.opt-row {
  background: var(--paper);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}

.opt-row:hover {
  transform: translateY(-1px);
  border-color: var(--honey);
}

.opt-row.selected {
  background: var(--honey-light);
  border-color: var(--honey-deep);
}

.opt-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--cream-edge);
  flex-shrink: 0;
  transition: all 0.2s;
}

.opt-row.selected .opt-radio {
  border-color: var(--honey-deep);
  background: var(--honey-deep);
  box-shadow: inset 0 0 0 4px var(--honey-light);
}

.opt-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--bark);
}

/* language grid */
.lang-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.lang-chip {
  background: var(--paper);
  border: 1.5px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s;
}

.lang-chip:hover {
  transform: translateY(-1px);
  border-color: var(--honey);
}

.lang-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--bark);
}

.lang-native {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 4px;
}

.lang-chip.selected {
  background: var(--honey-light);
  border-color: var(--honey-deep);
}

/* city autocomplete */
.city-search {
  position: relative;
  margin-bottom: 16px;
}

.city-input-wrap {
  background: var(--paper);
  border: 1.5px solid var(--cream-edge);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}

.city-input-wrap:focus-within {
  border-color: var(--honey-deep);
}

.city-input-wrap svg {
  width: 18px; height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}

.city-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 15px;
  color: var(--bark);
  font-family: inherit;
  font-weight: 600;
}

.city-input:focus { outline: none; }

.city-input::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.city-suggestions {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 24px;
}

.city-suggestions:empty { display: none; }

.city-row {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--bark);
  border-bottom: 1px solid var(--cream-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.15s;
  cursor: pointer;
}

.city-row:last-child { border-bottom: none; }

.city-row:hover { background: var(--cream); }

.city-row svg {
  width: 16px; height: 16px;
  color: var(--muted);
}

.city-name { font-weight: 700; }

.city-state {
  color: var(--muted);
  font-size: 12px;
  margin-left: auto;
  font-weight: 400;
}

.selected-city {
  background: var(--honey-light);
  border: 1.5px solid var(--honey-deep);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-soft);
}

.selected-city-text { font-weight: 700; color: var(--bark); }

.selected-city-clear {
  color: var(--honey-deep);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* primary continue */
.continue-btn {
  background: var(--bark);
  color: var(--cream);
  padding: 18px 28px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.continue-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-deep);
  background: var(--ink);
}

.continue-btn:disabled {
  background: var(--cream-edge);
  color: var(--muted);
  box-shadow: none;
  cursor: not-allowed;
}

.continue-btn svg { width: 16px; height: 16px; }

/* confirmation step */
.confirm-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.confirm-mascot { width: 140px; height: 140px; margin-bottom: 28px; }

.confirm-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(32px, 5vw, 44px);
  color: var(--bark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.confirm-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--bark-soft);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 420px;
}

.confirm-stat {
  background: var(--paper);
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.stat-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 32px;
  color: var(--honey-deep);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.confirm-back-link {
  margin-top: 24px;
  font-size: 14px;
  color: var(--bark-soft);
  text-decoration: underline;
  text-decoration-color: var(--cream-edge);
  text-underline-offset: 4px;
}

.confirm-leave-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--bark-soft);
  opacity: 0.65;
  text-decoration: none;
}
.confirm-leave-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* already-signed-up step */
.already-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.summary-pill {
  background: var(--honey-light);
  border: 1.5px solid var(--honey-deep);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--honey-deep);
}

/* ============================================================
   PRIVACY MODAL
============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(42,32,23,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: var(--shadow-deep);
}

.modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  color: var(--bark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.modal-content { font-size: 15px; line-height: 1.7; color: var(--bark-soft); }
.modal-content p { margin-bottom: 14px; }
.modal-content strong { color: var(--bark); font-weight: 700; }

.modal-close {
  margin-top: 28px;
  background: var(--bark);
  color: var(--cream);
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
}

/* toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--bark);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-deep);
  z-index: 300;
  transition: transform 0.3s ease;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .hero {
    padding: 32px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .hero-cta-row { justify-content: center; }

  .hero-illo {
    height: 380px;
    order: -1;
  }

  .hero-phone {
    width: 200px;
    height: 400px;
  }

  .hero-bee { top: 20px; right: 50px; width: 80px; height: 80px; }
  .hero-owl { bottom: 20px; left: 50px; width: 75px; height: 75px; }

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

  .founder-section {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .founder-portrait { margin: 0 auto; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .nav-links .nav-link { display: none; }
}

@media (max-width: 600px) {
  .container, .form-container { padding: 0 20px; }

  .section { padding: 56px 0; }

  .nos-section { padding: 48px 0; }

  .hero-title { letter-spacing: -1px; }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .principle-card { padding: 22px; }

  .footer { padding: 48px 0 24px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta { padding: 9px 18px; font-size: 12px; }

  .modal { padding: 28px 22px; }

  .class-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .answer-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .answer-btn { padding: 16px; }

  .step-mascot svg { width: 84px; height: 84px; }

  .confirm-mascot { width: 110px; height: 110px; }

  .onboarding-body { padding: 24px 0 56px; }
}

@media (max-width: 380px) {
  .lang-grid { grid-template-columns: 1fr; }
}

/* respect reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

/* focus states for accessibility */
button:focus-visible, a:focus-visible, .opt-row:focus-visible, .class-chip:focus-visible, .lang-chip:focus-visible, .city-row:focus-visible {
  outline: 2px solid var(--honey-deep);
  outline-offset: 2px;
}
