/* ═══════════════════════════════════════════════════════
   WHITE MIRROR — Design System
   Fonts: Inter (body/UI) · Lora (display/serif)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --ink:        #0a0a0a;
  --graphite:   #1d1d1f;
  --secondary:  #515154;
  --tertiary:   #86868b;
  --quaternary: #aeaeb2;
  --border:     #e8e6e1;
  --border-mid: #d1cec9;
  --surface:    #f5f5f7;
  --bg:         #ffffff;
  --bg-warm:    #fafaf8;

  --font-display:    'Lora', Georgia, serif;
  --font-body:       'Inter', -apple-system, system-ui, sans-serif;
  --font-lora:       'Lora', Georgia, serif;
  --font-cormorant:  'Cormorant Garamond', Georgia, serif;
  --font-dm:         'DM Sans', -apple-system, system-ui, sans-serif;

  --nav-height: 44px;
  --container:  980px;
  --gutter:     22px;

  --radius-sm:  12px;
  --radius-md:  18px;
  --radius-lg:  28px;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Utility ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--tertiary);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ═══════════════════════════════════════════════════════
   NAV — Apple-style minimal
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav-logo {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: 0;
  transition: color 0.15s ease;
}

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

.nav-cta {
  font-size: 12px;
  font-weight: 400;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: 100px;
  transition: opacity 0.15s ease;
}

.nav-cta:hover { opacity: 0.8; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 28px;
}

.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem var(--gutter) 2rem;
  flex-direction: column;
  z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  text-decoration: none;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease;
}

.mobile-link:hover { color: var(--ink); }

.mobile-cta {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 100px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--nav-height) + 7rem);
  padding-bottom: 7rem;
  text-align: center;
}

.hero-kicker {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

.hero-headline em {
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 2.5rem;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-notice {
  margin-top: 1.5rem;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--tertiary);
  line-height: 1.6;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--bg);
  background: var(--ink);
  text-decoration: none;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

.btn-primary:hover { opacity: 0.8; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

.btn-ghost:hover { opacity: 0.7; }
.btn-ghost::after { content: ' ›'; }

/* ═══════════════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════════════════ */
.section {
  padding: 7rem 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 600;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--secondary);
  text-align: center;
  max-width: 480px;
  margin: 1.5rem auto 0;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════
   FEATURES — 6 tabs grid
   ═══════════════════════════════════════════════════════ */
.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-warm);
  padding: 2.5rem 2rem;
  transition: background 0.2s ease;
}

.feature-card:hover { background: var(--surface); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1.25rem;
}

.feature-tab {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quaternary);
  margin-bottom: 0.5rem;
}

.feature-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* ═══════════════════════════════════════════════════════
   METHOD
   ═══════════════════════════════════════════════════════ */
.method-section { background: var(--bg-warm); }

.mirror-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3.5rem;
}

.mirror-item {
  background: var(--bg);
  padding: 2rem 1.5rem;
  transition: background 0.2s ease;
}

.mirror-item:hover { background: var(--surface); }

.mirror-letter {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.mirror-word {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 0.6rem;
}

.mirror-desc {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   90 DAYS
   ═══════════════════════════════════════════════════════ */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3.5rem;
}

.phase-card {
  background: var(--bg-warm);
  padding: 2.5rem 2rem;
}

.phase-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--border-mid);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.phase-days-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quaternary);
  margin-bottom: 0.5rem;
}

.phase-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.phase-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.6;
  letter-spacing: -0.005em;
}

/* ═══════════════════════════════════════════════════════
   CTA BAND
   ═══════════════════════════════════════════════════════ */
.cta-band {
  padding: 7rem 0;
  background: var(--ink);
  text-align: center;
}

.cta-band .section-title {
  color: var(--bg);
}

.cta-band .section-sub {
  color: rgba(255,255,255,0.55);
}

.cta-band .btn-primary {
  background: var(--bg);
  color: var(--ink);
  margin-top: 2.5rem;
}

.cta-band .btn-primary:hover { opacity: 0.9; }

.cta-band-sub {
  margin-top: 1rem;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════════════════════
   WAITLIST
   ═══════════════════════════════════════════════════════ */
.waitlist-card {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.waitlist-header {
  margin-bottom: 2.5rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.waitlist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.waitlist-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--tertiary);
}

.waitlist-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--quaternary);
}

.waitlist-input {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.waitlist-input:focus {
  border-color: var(--secondary);
}

.waitlist-input::placeholder {
  color: var(--quaternary);
}

.waitlist-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.waitlist-notice {
  font-size: 12px;
  color: var(--quaternary);
  margin-top: -0.25rem;
}

.waitlist-success {
  text-align: center;
  padding: 2rem 0;
}

.waitlist-success-icon {
  font-size: 1.5rem;
  color: var(--tertiary);
  margin-bottom: 1rem;
}

.waitlist-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.waitlist-success p {
  font-size: 14px;
  color: var(--secondary);
}

.hidden { display: none !important; }

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3.5rem;
}

.contact-block {
  background: var(--bg-warm);
  padding: 3rem 2.5rem;
}

.contact-block-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quaternary);
  margin-bottom: 1rem;
}

.contact-block-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.contact-block-desc {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  letter-spacing: -0.005em;
}

.contact-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-mid);
  transition: opacity 0.15s ease;
}

.contact-link:hover { opacity: 0.7; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
  background: var(--bg-warm);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--tertiary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quaternary);
  margin-bottom: 0.25rem;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover { color: var(--ink); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--quaternary);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--quaternary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-link:hover { color: var(--secondary); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .mirror-grid   { grid-template-columns: repeat(3, 1fr); }
  .phases-grid   { grid-template-columns: repeat(3, 1fr); }
  .contact-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; }

  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .section { padding: 5rem 0; }

  .features-grid  { grid-template-columns: 1fr; }
  .mirror-grid    { grid-template-columns: repeat(2, 1fr); }
  .phases-grid    { grid-template-columns: 1fr; }
  .contact-grid   { grid-template-columns: 1fr; }
  .waitlist-row   { grid-template-columns: 1fr; }
  .waitlist-card  { padding: 2rem 1.5rem; }
  .waitlist-submit { align-self: stretch; text-align: center; }

  .footer-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .hero { padding-top: calc(var(--nav-height) + 4rem); padding-bottom: 4rem; }
}

@media (max-width: 480px) {
  .mirror-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
