/* ─────────────────────────────────────────────────────────────
   Wivvy — product website
   Light theme only. Brand: slate-900 + yellow-500.
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #0F172A;
  --ink-2: #1f2a44;
  --muted: #64748B;
  --muted-2: #94a3b8;
  --line: #E5E7EB;
  --line-soft: #eef0f3;
  --bg: #FCFCFC;
  --surface: #FFFFFF;
  --surface-2: #f8fafc;
  --accent: #EAB308;
  --accent-soft: rgba(234, 179, 8, 0.12);
  --accent-glow: rgba(234, 179, 8, 0.32);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 32px 60px -20px rgba(15, 23, 42, 0.18), 0 10px 24px -12px rgba(15, 23, 42, 0.10);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ─── Nav ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 252, 252, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(252, 252, 252, 0.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; line-height: 1; color: var(--ink); flex-shrink: 0; }
.brand .mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand .wordmark {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 1px 0 rgba(15,23,42,0.04));
}
.brand.brand-lg .wordmark { height: 72px; }
.nav-links { display: flex; gap: 36px; align-items: center; flex: 1; justify-content: center; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 14.5px; transition: color .2s; padding: 6px 2px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease), left .25s var(--ease); }
.nav-links a:hover::after { width: 100%; left: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta {
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-cta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(234,179,8,0.18); animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(234,179,8,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(234,179,8,0.05); }
}
/* Mobile menu — only ever visible when explicitly toggled open. Never as a plain text strip under the nav. */
.nav-mobile {
  display: none !important;
  position: fixed; top: 84px; left: 16px; right: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-lg); z-index: 60;
}
.nav-mobile.open { display: flex !important; }
.nav-mobile a { padding: 12px 14px; border-radius: 10px; font-weight: 500; color: var(--ink); font-size: 15px; }
.nav-mobile a:hover { background: var(--surface-2); }
.nav-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.hero-eyebrow .pill { background: var(--accent-soft); color: #92590a; padding: 2px 8px; border-radius: 999px; font-weight: 600; font-size: 11px; letter-spacing: 0.02em; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(44px, 6.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 24px 0 20px;
  color: var(--ink);
}
.hero h1 .accent {
  background: linear-gradient(180deg, var(--accent) 0%, #ca9a07 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 8px;
  background: var(--accent-soft); border-radius: 4px; z-index: -1;
}
.hero p.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--muted); max-width: 540px; line-height: 1.55;
}
.hero-cta-row { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(15,23,42,0.30); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

.hero-meta { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-meta .item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.hero-meta .item strong { color: var(--ink); font-weight: 600; }
.hero-meta .dot-row { display: flex; }
.hero-meta .avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#cbd5e1,#94a3b8); border: 2px solid var(--bg); margin-left: -8px; }
.hero-meta .avatar:first-child { margin-left: 0; }
.hero-meta .avatar:nth-child(1){ background: linear-gradient(135deg,#fde68a,#eab308); }
.hero-meta .avatar:nth-child(2){ background: linear-gradient(135deg,#bfdbfe,#3b82f6); }
.hero-meta .avatar:nth-child(3){ background: linear-gradient(135deg,#fecaca,#ef4444); }
.hero-meta .avatar:nth-child(4){ background: linear-gradient(135deg,#bbf7d0,#22c55e); }

/* Hero right — phone stack */
.hero-visual { position: relative; height: 640px; }
.hero-glow {
  position: absolute; inset: -10% -10% -10% 0;
  background: radial-gradient(60% 60% at 60% 50%, var(--accent-glow) 0%, transparent 60%);
  filter: blur(10px); pointer-events: none; z-index: 0;
  animation: glowFloat 9s ease-in-out infinite;
}
@keyframes glowFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.04); }
}
.hero-mascot {
  position: absolute; right: -40px; top: -20px;
  width: 220px; height: 220px; z-index: 3;
  animation: floatY 6s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(234,179,8,0.30));
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-12px) rotate(3deg); }
}
.phone-stack { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }

/* ─── iPhone frame ─────────────────────────────────────────────── */
.phone {
  --pw: 320px;
  width: var(--pw);
  aspect-ratio: 9 / 19.5;
  position: relative;
  background: #0F172A;
  border-radius: 44px;
  padding: 8px;
  box-shadow:
    0 0 0 2px #1f2937 inset,
    0 30px 60px -20px rgba(15,23,42,0.35),
    0 10px 20px -10px rgba(15,23,42,0.2);
  z-index: 2;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--bg); position: relative;
}
.phone .notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; background: #0F172A; border-radius: 999px; z-index: 6;
}
.phone .status-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 42px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 22px; font-size: 12px; font-weight: 600; color: var(--ink); z-index: 4;
  letter-spacing: -0.01em;
}
.phone .status-bar .time { margin-top: 2px; }
.phone .status-bar .right { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.phone .status-bar .right svg { display: block; }

.phone.tilt-left  { transform: rotate(-5deg) translateY(20px); }
.phone.tilt-right { transform: rotate(5deg) translateY(-10px); }
.phone.small { --pw: 260px; }
.phone.behind { position: absolute; top: 50%; left: 50%; transform: translate(-110%, -50%) rotate(-7deg) scale(0.85); z-index: 1; opacity: 0.92; }
.phone.behind-r { position: absolute; top: 50%; left: 50%; transform: translate(10%, -50%) rotate(7deg) scale(0.85); z-index: 1; opacity: 0.92; }

/* ─── App screen content (shared) ─────────────────────────────────────── */
.app {
  padding: 54px 16px 16px;
  height: 100%; overflow: hidden; position: relative;
  font-size: 11px;
}
.app .top-row { display: flex; align-items: center; justify-content: space-between; }
.app .greeting { display: flex; align-items: center; gap: 10px; }
.app .greeting .pfp {
  width: 44px; height: 44px; border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: #e5e7eb;
  flex-shrink: 0;
}
.app .greeting h3 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; max-width: 130px; }
.app .greeting .loc { margin: 2px 0 0; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.app .bell { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--line); }
.app .bell svg { width: 14px; height: 14px; color: var(--ink); }

/* Quick action cards (2-up) */
.app .quick-actions-2 {
  margin-top: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.app .qa-card {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center;
}
.app .qa-card svg { width: 22px; height: 22px; color: var(--ink); }
.app .qa-card span { font-size: 11.5px; font-weight: 600; color: var(--ink); }

/* Old single-icon quick actions */
.app .quick-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.app .qa { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.app .qa .icon { width: 44px; height: 44px; border-radius: 50%; background: #eef2f7; display: grid; place-items: center; }
.app .qa .icon svg { width: 18px; height: 18px; color: var(--ink); }
.app .qa span { font-size: 10px; font-weight: 600; }

.app .ask {
  margin-top: 24px;
  background: linear-gradient(180deg, transparent 60%, var(--accent-soft) 100%);
  padding-bottom: 8px;
}
.app .ask h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.app .ask .field {
  margin-top: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 6px; display: flex; align-items: center; gap: 10px;
  font-size: 12px; box-shadow: 0 1px 0 rgba(15,23,42,0.03);
}
.app .ask .field .bunny-mini {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink) url('assets/wivvy-mascot.png') center/72% no-repeat;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -2px rgba(15,23,42,0.30);
}
.app .ask .field .ph { color: var(--ink); font-size: 12px; flex: 1; }
.app .ask .field .send-dark { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.app .ask .field .send-dark svg { width: 13px; height: 13px; }
/* Legacy fallback */
.app .ask .field button { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.app .ask .field button svg { width: 14px; height: 14px; }

.app .section-h { display: flex; align-items: end; justify-content: space-between; margin-top: 22px; }
.app .section-h h3 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.025em; }
.app .section-h small { font-size: 11px; color: var(--muted); }
.app .section-h .pager { display: flex; gap: 6px; }
.app .section-h .pager span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--muted); }

/* Today's Look big card */
.app .today-card {
  margin-top: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  height: 220px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.app .today-illus {
  position: relative; width: 110px; height: 180px;
}
.app .outfit-tile {
  position: absolute; border-radius: 12px;
  border: 1.5px solid var(--ink);
}
.app .outfit-tile.top {
  top: 8px; left: 14px; width: 80px; height: 76px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}
.app .outfit-tile.bottom {
  top: 86px; left: 22px; width: 70px; height: 64px;
  background: linear-gradient(180deg, #6b8aae 0%, #3c5a7f 100%);
}
.app .outfit-shoe {
  position: absolute; bottom: 6px; left: 32px;
  width: 52px; height: 18px; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #92400e 0%, #6b2c0c 100%);
  border: 1.5px solid var(--ink);
}

.app .card {
  margin-top: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px; display: flex; align-items: center; justify-content: space-between;
}
.app .card h4 { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
.app .card .time { margin-top: 6px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.app .card .outfit-mini {
  width: 60px; height: 60px; border-radius: 10px;
  background: url('assets/outfit-thumb.svg') center/cover no-repeat, #f1f5f9;
  position: relative;
}
.app .card .try-on {
  position: absolute; bottom: -8px; right: -6px;
  background: var(--ink); color: #fff; font-size: 9px; font-weight: 600;
  padding: 4px 8px; border-radius: 999px; display: flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.app .card .try-on .spark { color: var(--accent); }

.app .laundry {
  margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 14px;
}
.app .laundry .row { display: flex; align-items: center; justify-content: space-between; }
.app .laundry .left { display: flex; align-items: center; gap: 10px; }
.app .laundry .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; }
.app .laundry .ico svg { width: 14px; height: 14px; }
.app .laundry h5 { margin: 0; font-size: 13px; font-weight: 700; }
.app .laundry small { font-size: 11px; color: var(--muted); }
.app .laundry .pill { font-size: 10px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-weight: 600; }
.app .laundry .cta { margin-top: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 12px; font-weight: 600; }

/* Tab bar v2 — with raised center bunny FAB */
.app .tabbar-v2 {
  padding: 12px 12px 16px;
  grid-template-columns: 1fr 1fr 1.1fr 1fr 1fr;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  align-items: end;
}
.app .tabbar-v2 .tab-center { position: relative; }
.app .tabbar-v2 .center-fab {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink) url('assets/wivvy-mascot.png') center/72% no-repeat;
  margin: -32px auto 0;
  box-shadow: 0 10px 20px -4px rgba(15,23,42,0.45), 0 0 0 4px rgba(252,252,252,1);
  position: relative;
}
.app .tabbar-v2 .center-fab img { display: none; }
.app .tabbar-v2 .center-fab::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1; opacity: .9;
}
.app .tabbar-v2 .tab.active { color: var(--ink); }

/* Original tabbar */
.app .tabbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 14px 14px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 4px; align-items: center;
}
.app .tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 9px; color: var(--muted); }
.app .tabbar .tab.active { color: var(--accent); }
.app .tabbar .tab svg { width: 16px; height: 16px; }
.app .tabbar .add {
  width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; margin: -20px auto 0;
  box-shadow: 0 8px 16px -4px rgba(15,23,42,0.3);
}
.app .tabbar .add svg { width: 18px; height: 18px; color: #fff; }

/* ─── App: AI Agent variant ─────────────────────────────────────── */
.app.agent { padding: 54px 14px 14px; background: var(--bg); }
.app.agent .header { display: flex; align-items: center; justify-content: space-between; }
.app.agent .header .back { width: 28px; height: 28px; display: grid; place-items: center; }
.app.agent .header h3 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; }
.app.agent .header .filt { width: 28px; height: 28px; display: grid; place-items: center; }
.app.agent .chat { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.app.agent .bubble {
  background: #eef2f7; padding: 9px 12px; border-radius: 14px; max-width: 80%;
  font-size: 12px; line-height: 1.45; color: var(--ink);
}
.app.agent .from-ai { display: flex; align-items: flex-start; gap: 8px; }
.app.agent .from-ai .ava { width: 26px; height: 26px; border-radius: 50%; background: #fef3c7; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; border: 1px solid #fde68a; }
.app.agent .from-ai .ava img { width: 100%; height: 100%; object-fit: cover; }
.app.agent .from-me { align-self: flex-end; background: var(--ink); color: #fff; }
.app.agent .input-bar {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: var(--ink); color: #fff; border-radius: 14px;
  padding: 10px 12px; display: flex; align-items: center; gap: 10px; font-size: 11px;
}
.app.agent .input-bar .plus { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; flex-shrink: 0; }
.app.agent .input-bar .send { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; margin-left: auto; flex-shrink: 0; }
.app.agent .input-bar .send svg { width: 14px; height: 14px; }

/* ─── App: Schedule variant ─────────────────────────────────────── */
.app.schedule { padding: 54px 14px 14px; }
.app.schedule .head { text-align: center; font-weight: 700; font-size: 16px; margin-top: 0; letter-spacing: -0.02em; }
.app.schedule .month { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.app.schedule .month h4 { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.app.schedule .month .nav-btns { display: flex; gap: 6px; }
.app.schedule .month .nav-btns span { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.app.schedule .calendar {
  margin-top: 12px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.app.schedule .cal-head, .app.schedule .cal-row {
  display: grid; grid-template-columns: repeat(7, 1fr);
}
.app.schedule .cal-head { background: var(--surface-2); padding: 6px 0; }
.app.schedule .cal-head span { font-size: 9px; color: var(--muted); text-align: center; }
.app.schedule .cal-row { border-top: 1px solid var(--line); }
.app.schedule .cal-row .d {
  font-size: 10px; padding: 8px 4px; text-align: center; border-right: 1px solid var(--line-soft);
  min-height: 36px; position: relative;
}
.app.schedule .cal-row .d:last-child { border-right: none; }
.app.schedule .cal-row .d.dim { color: var(--muted-2); }
.app.schedule .cal-row .d.has::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--accent);
}
.app.schedule .cal-row .d.today { font-weight: 700; background: var(--accent-soft); }
.app.schedule .plan-btn {
  margin-top: 14px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  margin-left: auto;
}
.app.schedule .row-btn { display: flex; justify-content: flex-end; }
.app.schedule .ev { margin-top: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; }
.app.schedule .ev h6 { margin: 0; font-size: 13px; font-weight: 700; }
.app.schedule .ev small { margin-top: 4px; display: block; font-size: 10px; color: var(--muted); }
.app.schedule .ev .thumb { width: 44px; height: 44px; border-radius: 10px; background: url('assets/outfit-thumb.svg') center/cover no-repeat, #f1f5f9; }

/* ─── Sections ─────────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-narrow { padding: 64px 0; }
.section h2.title {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.03em; line-height: 1.02; font-weight: 700;
  margin: 0 0 20px; max-width: 720px;
}
.section .kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  padding: 4px 10px; background: var(--accent-soft); border-radius: 999px;
}
.section .sub {
  color: var(--muted); font-size: 17px; max-width: 620px; line-height: 1.55;
}

/* Features grid */
.features-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d8dde6; }
.feature::before {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--feature-accent, var(--accent-soft));
  opacity: .35; filter: blur(2px); pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.feature:hover::before { transform: translate(-10px, 10px) scale(1.1); opacity: .55; }
.feature-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; position: relative; z-index: 1;
}
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--feature-bg, var(--accent-soft));
  color: var(--feature-color, #92590a);
  display: grid; place-items: center;
  transition: transform .3s var(--ease);
}
.feature:hover .ico { transform: rotate(-6deg) scale(1.04); }
.feature .ico svg { width: 24px; height: 24px; }
.feature-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
  padding: 5px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.feature h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.02em; font-weight: 700; position: relative; z-index: 1; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; position: relative; z-index: 1; }

/* Icon color variants */
.feature .ico-amber  { --feature-bg: #FEF3C7; --feature-color: #92590a; --feature-accent: rgba(234,179,8,0.18); }
.feature:has(.ico-amber)  { --feature-accent: rgba(234,179,8,0.18); }
.feature .ico-rose   { --feature-bg: #FCE7F3; --feature-color: #9F1239; }
.feature:has(.ico-rose)   { --feature-accent: rgba(244,114,182,0.18); }
.feature .ico-blue   { --feature-bg: #DBEAFE; --feature-color: #1E40AF; }
.feature:has(.ico-blue)   { --feature-accent: rgba(59,130,246,0.18); }
.feature .ico-teal   { --feature-bg: #CCFBF1; --feature-color: #115E59; }
.feature:has(.ico-teal)   { --feature-accent: rgba(20,184,166,0.18); }
.feature .ico-indigo { --feature-bg: #E0E7FF; --feature-color: #3730A3; }
.feature:has(.ico-indigo) { --feature-accent: rgba(99,102,241,0.18); }
.feature .ico-sun    { --feature-bg: #FEF3C7; --feature-color: #B45309; }
.feature:has(.ico-sun)    { --feature-accent: rgba(245,158,11,0.20); }

/* ─── How it works (animated snake line) ─────────────────────────── */
.how-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-wrap { position: relative; margin-top: 110px; padding: 80px 24px 16px; }
.steps-line { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: 60px; pointer-events: none; overflow: visible; z-index: 0; }
.steps-line.mobile { display: none; }
.steps-line .line-bg, .steps-line .line-fg { fill: none; stroke-linecap: round; stroke-width: 2.5; }
.steps-line .line-bg { stroke: var(--line); stroke-dasharray: 6 8; }
.steps-line .line-fg {
  stroke: var(--accent);
  stroke-dasharray: var(--len, 2400);
  stroke-dashoffset: var(--len, 2400);
  filter: drop-shadow(0 0 6px rgba(234,179,8,0.45));
  transition: stroke-dashoffset 2.2s cubic-bezier(0.65, 0, 0.35, 1);
}
.steps-wrap.in .steps-line .line-fg { stroke-dashoffset: 0; }
.steps-line .line-dot {
  fill: #fff; stroke: var(--line); stroke-width: 2;
  transition: fill .35s var(--ease), stroke .35s var(--ease), r .35s var(--ease);
}
.steps-wrap.in .line-dot.dot-1 { fill: var(--accent); stroke: var(--accent); transition-delay: .4s; }
.steps-wrap.in .line-dot.dot-2 { fill: var(--accent); stroke: var(--accent); transition-delay: 1.1s; }
.steps-wrap.in .line-dot.dot-3 { fill: var(--accent); stroke: var(--accent); transition-delay: 1.8s; }

.steps {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: stretch;
}
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px 28px;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
.steps-wrap.in .step { opacity: 1; transform: none; }
.steps-wrap.in .step[data-step="1"] { transition-delay: .35s; }
.steps-wrap.in .step[data-step="2"] { transition-delay: 1.05s; }
.steps-wrap.in .step[data-step="3"] { transition-delay: 1.75s; }
.step:hover { box-shadow: var(--shadow-md); border-color: #d8dde6; }
.step .num {
  width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--line);
  display: grid; place-items: center;
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  color: var(--muted);
  margin-top: -110px; margin-bottom: 28px;
  position: relative; z-index: 2;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.step .num::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  z-index: -1;
}
.steps-wrap.in .step .num {
  background: var(--accent); border-color: var(--accent); color: var(--ink);
  transform: scale(1.06);
  box-shadow: 0 6px 16px -4px rgba(234,179,8,0.45);
}
.steps-wrap.in .step .num::after { opacity: 1; }
.steps-wrap.in .step[data-step="1"] .num { transition-delay: .4s; }
.steps-wrap.in .step[data-step="2"] .num { transition-delay: 1.1s; }
.steps-wrap.in .step[data-step="3"] .num { transition-delay: 1.8s; }
.step h4 { margin: 0 0 10px; font-size: 19px; letter-spacing: -0.02em; font-weight: 700; }
.step p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.step-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
  font-size: 12px; font-weight: 600; color: var(--muted);
  margin-top: auto;
}
.step-tag svg { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .steps-line .line-fg { transition: none; stroke-dashoffset: 0; }
  .step { opacity: 1; transform: none; transition: none; }
  .step .num { background: var(--accent); border-color: var(--accent); color: var(--ink); transition: none; }
}

/* Showcase row: text + phone */
.showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  margin-top: 48px;
}
.showcase.reverse { grid-template-columns: 1fr 1fr; }
.showcase.reverse .showcase-text { order: 2; }
.showcase-text h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.06; margin: 0 0 16px; font-weight: 700; }
.showcase-text p { font-size: 16.5px; color: var(--muted); line-height: 1.6; margin: 0 0 20px; max-width: 480px; }
.showcase-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 14px; }
.showcase-list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.showcase-list li .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: #92590a;
  display: grid; place-items: center; margin-top: 1px;
}
.showcase-list li .check svg { width: 12px; height: 12px; }

.showcase-phone-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative; padding: 40px 0;
}
.showcase-phone-wrap::before {
  content: ""; position: absolute; inset: 10% 8% 10% 8%;
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-glow) 0%, transparent 70%);
  filter: blur(20px); z-index: 0;
}
.showcase-phone-wrap .phone { z-index: 1; }

/* Marquee strip */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden; padding: 28px 0;
}
.marquee-track {
  display: flex; gap: 64px; align-items: center;
  animation: scroll 36s linear infinite;
  white-space: nowrap;
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 700; letter-spacing: -0.025em;
  color: var(--ink);
}
.marquee-track .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.marquee-track .item { display: flex; align-items: center; gap: 64px; flex-shrink: 0; }
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Pricing ─────────────────────────────────────────────── */
.pricing-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pricing-head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.billing-toggle {
  display: inline-flex; padding: 4px; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; justify-self: end;
}
.billing-toggle .bt {
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
}
.billing-toggle .bt.active { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.billing-toggle .save-pill {
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
  background: var(--accent); color: var(--ink); letter-spacing: 0.02em;
}
.billing-toggle .bt.active .save-pill { background: var(--accent); color: var(--ink); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px 32px; position: relative;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8dde6; }
.plan-head h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; font-weight: 700; }
.plan-tag { margin: 0; color: var(--muted); font-size: 13px; }
.plan-price { margin: 22px 0 16px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-desc { margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.plan-price .amt { font-size: 44px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.plan-price .unit { font-size: 14.5px; color: var(--muted); font-weight: 500; }
.plan-price .amt-note { display: block; width: 100%; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.plan-features li { font-size: 14.5px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.plan-features li strong { font-weight: 700; color: var(--ink); }
.plan-features .chk {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft); color: #92590a;
  display: grid; place-items: center; margin-top: 2px;
}
.plan-features .chk svg { width: 11px; height: 11px; }
.plan-cta {
  margin-top: auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  transition: background .2s, border-color .2s, transform .15s var(--ease);
}
.plan-cta:hover { background: #fff; border-color: var(--ink); transform: translateY(-1px); }
.plan-cta-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan-cta-primary:hover { background: #1f2a44; border-color: #1f2a44; color: #fff; }

.plan.featured {
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: 0 24px 48px -16px rgba(15,23,42,0.16), 0 8px 16px -8px rgba(15,23,42,0.08);
  transform: translateY(-8px);
}
.plan.featured:hover { transform: translateY(-12px); box-shadow: 0 32px 60px -20px rgba(15,23,42,0.22), 0 12px 24px -12px rgba(15,23,42,0.10); }
.featured-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 6px 12px -4px rgba(234,179,8,0.4);
}
.plan-foot { margin: 40px 0 0; text-align: center; color: var(--muted); font-size: 13.5px; }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line); padding: 22px 4px;
  transition: padding .3s var(--ease);
}
.faq details[open] { padding-bottom: 26px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 18px; transition: transform .3s var(--ease), background .3s;
}
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.faq .a { color: var(--muted); margin-top: 14px; font-size: 15.5px; line-height: 1.65; max-width: 760px; }

/* CTA */
.cta {
  margin: 0 0 96px;
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 80px 56px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -100px; top: -100px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 {
  font-size: clamp(34px, 4.2vw, 56px); line-height: 1.02;
  letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 700;
}
.cta p { color: rgba(255,255,255,0.72); font-size: 16.5px; margin: 0; max-width: 460px; }
.cta-buttons { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.cta-buttons .btn-primary { background: var(--accent); color: var(--ink); }
.cta-buttons .btn-primary:hover { background: #fde68a; }
.cta-buttons .btn-ghost { background: transparent; border-color: rgba(255,255,255,0.18); color: #fff; }
.cta-buttons .btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); }
.cta-mascot {
  width: 220px; height: 220px; margin-left: auto; display: block;
  filter: drop-shadow(0 20px 40px rgba(234,179,8,0.5));
  animation: floatY 6s ease-in-out infinite;
}
.cta-logo-wrap { display: flex; justify-content: flex-end; align-items: center; }
.cta-wordmark {
  max-width: 360px; width: 100%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(234,179,8,0.30));
  animation: floatY 6s ease-in-out infinite;
}
.feature.illus .visual img { transition: transform .5s var(--ease); }
.feature.illus:hover .visual img { transform: scale(1.03) rotate(-1deg); }

/* Footer */
footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 28px; }
.f-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; align-items: start; }
.f-brand .brand-lg { margin-bottom: 8px; }
.f-brand p { color: var(--muted); margin: 18px 0 0; max-width: 360px; font-size: 14.5px; line-height: 1.6; }
.f-col h5 { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.f-col a { display: block; color: var(--muted); padding: 5px 0; font-size: 14.5px; transition: color .2s; }
.f-col a:hover { color: var(--ink); }
.f-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.f-bottom .made { display: flex; align-items: center; gap: 8px; }

/* ─── Reveal animations ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .4s; }

.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
}

/* ─── Legal pages ─────────────────────────────────────── */
.legal {
  padding: 80px 0 96px;
  max-width: 820px; margin: 0 auto;
}
.legal .meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 12px; font-weight: 700; }
.legal .updated { color: var(--muted); margin: 0 0 48px; font-size: 15px; }
.legal h2 {
  margin: 56px 0 14px; font-size: 22px; letter-spacing: -0.02em; font-weight: 700;
  position: relative; padding-left: 16px;
}
.legal h2::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px;
  background: var(--accent); border-radius: 4px;
}
.legal h3 { margin: 32px 0 10px; font-size: 16px; font-weight: 700; }
.legal p, .legal li { color: #1f2a44; font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.legal .toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 28px; margin: 32px 0 48px;
}
.legal .toc h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.legal .toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 18px; }
.legal .toc li { font-size: 14.5px; line-height: 1.8; }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { color: var(--accent); }
.legal .callout {
  background: var(--accent-soft); border-radius: var(--r-md);
  padding: 20px 24px; margin: 24px 0; border-left: 3px solid var(--accent);
}
.legal .callout p { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
  .nav-toggle svg { width: 18px; height: 18px; }
}

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature.illus { grid-template-columns: 1fr; min-height: auto; }
  .feature.illus .visual { min-height: 280px; border-left: 0; border-top: 1px solid var(--line); }
  .feature.illus.reverse { grid-template-columns: 1fr; }
  .feature.illus.reverse .visual { order: 0; border-right: 0; }
  .showcase, .showcase.reverse { grid-template-columns: 1fr; gap: 48px; }
  .showcase.reverse .showcase-text { order: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-visual { height: 560px; }
  .hero-eyebrow, .hero-cta-row, .hero-meta { justify-content: center; }
  .hero-cta-row, .hero-meta { display: flex; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-mascot { right: 6%; top: 0; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-buttons { justify-content: center; }
  .cta-mascot, .cta-logo-wrap { margin: 0 auto; }
  .cta-logo-wrap { justify-content: center; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-head { grid-template-columns: 1fr; gap: 28px; }
  .billing-toggle { justify-self: start; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-3px); }
}

@media (max-width: 720px) {
  .container { padding: 0 22px; }
  .brand .wordmark { height: 64px !important; }
  .brand.brand-lg .wordmark { height: 130px !important; }
  .nav-cta { display: none; }
  .hero { padding: 48px 0 24px; }
  .hero-visual { height: 520px; }
  .hero-mascot { width: 150px; height: 150px; right: 4%; top: -8px; }
  .phone { --pw: 280px; }
  .section { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 56px; margin-top: 8px; }
  .steps-wrap { padding: 30px 30px 30px 60px; margin-top: 56px; }
  .steps-line.desktop { display: none; }
  .steps-line.mobile { display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 60px; height: 100%; }
  .step { text-align: left; align-items: flex-start; padding-top: 22px; }
  .step .num { margin-top: -50px; margin-left: -82px; margin-bottom: 0; position: absolute; left: 22px; top: 22px; }
  .step h4 { margin-top: 0; }
  .cta { padding: 56px 28px; margin-bottom: 64px; border-radius: 28px; }
  .f-grid { grid-template-columns: 1fr; gap: 32px; }
  .f-bottom { flex-direction: column; align-items: flex-start; }
  .legal .toc ol { columns: 1; }
}


/* ─── Mobile mockup additions (real-app match) ───────────────────────── */
.app.agent { padding-bottom: 70px; }
.app.agent .agent-greet { margin-top: 18px; }
.app.agent .agent-greet h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.app.agent .agent-greet .wave { display: inline-block; font-size: 20px; }
.app.agent .bubble.from-ai-full {
  background: #eef2f7; padding: 12px 13px; max-width: 100%;
  display: flex; flex-direction: column; gap: 10px;
  border-bottom-left-radius: 4px;
  border-radius: 16px; border-bottom-left-radius: 4px;
}
.app.agent .ai-intro { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--ink); }
.app.agent .ai-block { display: flex; flex-direction: column; gap: 4px; }
.app.agent .ai-block strong { font-size: 11.5px; font-weight: 700; letter-spacing: -0.005em; color: var(--ink); }
.app.agent .ai-block p { margin: 0; font-size: 11px; line-height: 1.45; color: var(--ink-2); }
.app.agent .ai-block ul { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.app.agent .ai-block li { font-size: 11px; line-height: 1.4; color: var(--ink-2); position: relative; padding-left: 10px; }
.app.agent .ai-block li::before { content: "–"; position: absolute; left: 0; color: var(--muted); }
.app.agent .from-me { border-bottom-right-radius: 4px; }
.app.agent .input-bar { border-radius: 18px; padding: 12px; }
.app.agent .input-bar .plus { width: 28px; height: 28px; background: rgba(255,255,255,0.10); color: #cbd5e1; }
.app.agent .input-bar .ph { opacity: .7; flex: 1; }
.app.agent .input-bar .send {
  width: 32px; height: 32px;
  background: linear-gradient(180deg, var(--accent) 0%, #b9890a 100%);
  margin-left: 0; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(234,179,8,0.4), 0 4px 8px -2px rgba(234,179,8,0.55);
}
.app.agent .input-bar .send svg { width: 15px; height: 15px; }

/* Schedule — denim icons on dates */
.app.schedule .head { font-size: 15px; color: var(--ink); }
.app.schedule .month h4 { font-size: 17px; }
.app.schedule .month .nav-btns span { width: 26px; height: 26px; font-size: 12px; color: var(--ink); background: #fff; }
.app.schedule .calendar { background: #fff; }
.app.schedule .cal-head { background: transparent; border-bottom: 1px solid var(--line); }
.app.schedule .cal-head span { font-weight: 500; }
.app.schedule .cal-row .d { padding: 8px 0 18px; font-size: 10.5px; font-weight: 600; color: var(--ink); min-height: 0; }
.app.schedule .cal-row .d.dim { font-weight: 400; }
.app.schedule .cal-row .d.has::after {
  width: 14px; height: 12px;
  background: url('assets/jeans.png') center/contain no-repeat;
  border-radius: 0;
}
.app.schedule .cal-row .d.today { background: transparent; color: var(--accent); font-weight: 700; }
.app.schedule .ev { padding: 12px 14px; border-radius: 14px; align-items: flex-start; gap: 10px; }
.app.schedule .ev small { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; }
.app.schedule .ev .ev-try { margin-top: 10px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 600; padding: 6px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; }
.app.schedule .ev .ev-try .spark { color: var(--accent); }
.app.schedule .ev .thumb { width: 48px; height: 48px; background: url('assets/jeans.png') center/contain no-repeat, var(--surface-2); flex-shrink: 0; border-radius: 10px; }


/* ─── Pricing — centered head, new plan extras ────────────────────── */
.pricing-head.pricing-head-centered { display: block; text-align: center; max-width: 720px; margin: 0 auto 56px; }
.pricing-head-centered .kicker, .pricing-head-centered .title, .pricing-head-centered .sub { margin-left: auto; margin-right: auto; }
.pricing-head-centered .sub { margin-top: 8px; }

.plan-best { margin-top: -8px; margin-bottom: 24px; padding: 14px 16px; background: var(--accent-soft); border-radius: 12px; }
.plan-best strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #92590a; margin-bottom: 4px; }
.plan-best p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

.plan-limits { margin-top: -8px; margin-bottom: 24px; padding: 14px 16px; background: var(--surface-2); border-radius: 12px; border: 1px solid var(--line); }
.plan-limits-title { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.plan-limits ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.plan-limits li { font-size: 13px; color: var(--muted); padding-left: 14px; position: relative; line-height: 1.45; }
.plan-limits li::before { content: "×"; position: absolute; left: 0; top: -1px; color: #cbd5e1; font-weight: 700; font-size: 14px; }

.plan-tier-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 999px;
  background: linear-gradient(135deg, #1f2a44 0%, #0F172A 100%); color: var(--accent);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 14px;
}
.featured-badge .badge-icon { font-size: 13px; }
.muted-inline { color: var(--muted); font-weight: 500; }

/* ─── Home: Laundry status card ───────────────────────────────────── */
.app .see-all { font-size: 11px; color: var(--accent); font-weight: 600; }
.app .laundry-card {
  margin-top: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 14px;
}
.app .laundry-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft);
}
.app .laundry-row:last-of-type { border-bottom: 0; }
.app .lr-ico {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.app .lr-ico svg { width: 16px; height: 16px; }
.app .lr-ico.clean { background: #DCFCE7; color: #15803D; }
.app .lr-ico.worn { background: #FEE2E2; color: #B91C1C; }
.app .lr-ico.wash { background: #DBEAFE; color: #1E40AF; }
.app .lr-text { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.app .lr-text strong { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: -0.005em; }
.app .lr-text small { font-size: 10.5px; color: var(--muted); }
.app .lr-count { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.app .lr-count.active { color: var(--accent); }
.app .laundry-cta {
  width: 100%; margin-top: 10px;
  background: var(--ink); color: #fff;
  padding: 10px; border-radius: 10px;
  font-size: 11.5px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Wordmark sizing tweaks ─────────────────────────────────────── */
.brand .wordmark { height: 50px; }
.brand.brand-lg .wordmark { height: 80px; }


/* ─── Home mockup: outfit card + laundry status (matches Figma) ─── */
.app .outfit-card {
  margin-top: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 16px 14px 14px;
  position: relative; display: grid; grid-template-columns: 1fr auto;
  gap: 10px; align-items: start;
}
.app .outfit-card .oc-body h4 { margin: 0 0 8px; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.app .outfit-card .oc-times { display: flex; align-items: center; gap: 8px; }
.app .outfit-card .oc-time { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted-2); font-weight: 500; }
.app .outfit-card .oc-time svg { color: var(--muted-2); }
.app .outfit-card .oc-dash { width: 8px; height: 1px; background: var(--muted-2); border-radius: 1px; }
.app .outfit-card .oc-thumb {
  width: 60px; height: 60px; border-radius: 10px;
  background: url('assets/outfit-thumb.png') center/contain no-repeat, var(--surface-2);
  grid-row: span 2;
}
.app .outfit-card .oc-try {
  position: absolute; right: 12px; bottom: 12px;
  background: var(--ink); color: #fff; border-radius: 7px;
  padding: 5px 10px 5px 8px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 500;
}
.app .outfit-card .oc-try img { display: block; }
.app .oc-dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
.app .oc-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.app .oc-dots span.on { background: var(--ink); width: 14px; border-radius: 3px; }

.app .laundry-status {
  margin-top: 10px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 14px;
  display: grid; grid-template-columns: 30px 1fr auto; gap: 8px 10px;
  align-items: center;
}
.app .laundry-status .ls-ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent-soft); color: #92590a;
  display: grid; place-items: center;
}
.app .laundry-status .ls-ico svg { width: 16px; height: 16px; }
.app .laundry-status .ls-text { display: flex; flex-direction: column; gap: 2px; }
.app .laundry-status .ls-text strong { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.app .laundry-status .ls-text small { font-size: 10px; color: var(--muted); }
.app .laundry-status .ls-badge {
  background: var(--line); color: var(--muted); font-size: 9px; font-weight: 500;
  padding: 4px 9px; border-radius: 999px;
}
.app .laundry-status .ls-cta {
  grid-column: 1 / -1; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: 11px; border-radius: 10px; font-size: 12px; font-weight: 500; text-align: center;
  cursor: pointer;
}
.app .section-h .see-all { color: var(--muted); font-weight: 500; font-size: 11px; cursor: pointer; }

/* ─── Schedule (matches Figma) ─── */
.app.schedule .sched-head { display: grid; grid-template-columns: 24px 1fr 24px; align-items: center; padding: 0 4px; }
.app.schedule .sched-head .back { width: 24px; height: 24px; display: grid; place-items: center; color: var(--ink); }
.app.schedule .sched-head h4 { margin: 0; font-size: 15px; font-weight: 700; text-align: center; color: var(--ink); letter-spacing: -0.02em; }

.app.schedule .month { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.app.schedule .month h5 { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.app.schedule .month .nav-btns { display: flex; gap: 8px; }
.app.schedule .month .nav-btns span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 12px; color: var(--ink); background: #fff;
}

.app.schedule .calendar {
  margin-top: 12px; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; background: #fff;
}
.app.schedule .cal-head, .app.schedule .cal-row { display: grid; grid-template-columns: repeat(7, 1fr); }
.app.schedule .cal-head { background: var(--surface-2); padding: 9px 0; border-bottom: 1px solid var(--line); }
.app.schedule .cal-head span { font-size: 9px; color: var(--muted); text-align: center; font-weight: 500; }
.app.schedule .cal-row .d {
  text-align: center; padding: 5px 0 26px; font-size: 12px; font-weight: 500;
  color: var(--ink); position: relative; min-height: 44px;
}
.app.schedule .cal-row .d.dim { color: var(--line); }
.app.schedule .cal-row .d.jeans::after {
  content: ""; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%);
  width: 22px; height: 22px;
  background: url('assets/outfit-thumb.png') center/contain no-repeat;
}
.app.schedule .cal-row .d.today {
  font-weight: 700; color: var(--ink);
  background: #fff; box-shadow: inset 0 0 0 1px var(--ink);
}
.app.schedule .cal-row .d.today.glow::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 26px; height: 26px;
  background: url('assets/glow-mascot.png') center/contain no-repeat;
  filter: drop-shadow(0 0 8px rgba(234,179,8,0.85));
}

.app.schedule .row-btn { display: flex; justify-content: flex-end; margin-top: 14px; }
.app.schedule .plan-btn {
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 12px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
}
.app.schedule .outfit-card { margin-top: 12px; }

/* Ensure outfit-card thumb uses the figma image */


/* ─── Home greeting & 2-up quick-actions (Figma-exact) ─────────── */
.app .greeting h3 {
  font-size: 16px; line-height: 1.18;
  max-width: 140px; letter-spacing: -0.025em;
}
.app .greeting .loc {
  margin-top: 4px; color: var(--muted-2);
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500;
}
.app .greeting .loc svg { width: 10px; height: 10px; }
.app .bell {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink);
  flex-shrink: 0;
}
.app .bell svg { width: 16px; height: 16px; }

.app .quick-actions-2 {
  margin-top: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.app .qa-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.app .qa-card svg { width: 22px; height: 22px; color: var(--ink); }
.app .qa-card span { font-size: 12px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; }

/* ─── Try-on pill: sparkle SVG sits inline, white ───────────── */
.app .outfit-card .oc-try svg { display: block; }


/* ─── Wordmark sizing — final, responsive & crisp ─────────────────── */
.brand .wordmark {
  height: clamp(72px, 9.5vw, 116px); width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 1px 0 rgba(15,23,42,0.04));
}
.brand.brand-lg .wordmark { height: clamp(140px, 17vw, 220px); }

/* ─── CTA: just the mascot circle, no wordmark ────────────────────── */
.cta-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.cta-logo-wrap::before {
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(234,179,8,0.45) 0%, transparent 70%);
  filter: blur(20px); z-index: 0;
}
.cta-mascot {
  position: relative; z-index: 1;
  width: clamp(180px, 22vw, 280px); height: auto; display: block;
  filter: drop-shadow(0 24px 50px rgba(234,179,8,0.45));
  animation: floatY 6s ease-in-out infinite;
  image-rendering: -webkit-optimize-contrast;
}

/* Responsive nav height to keep larger wordmark from cramping */
.nav-inner { height: clamp(96px, 10vw, 124px); }


/* ─── How it works — enhanced motion ───────────────────────────── */

/* Center content vertically inside each step card */
.step {
  justify-content: center;
  padding: 36px 28px 32px;
  position: relative;
}
.step::before {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0; transition: opacity .5s var(--ease);
  z-index: 0;
}
.steps-wrap.in .step::before { opacity: 1; }
.steps-wrap.in .step[data-step="1"]::before { transition-delay: .5s; }
.steps-wrap.in .step[data-step="2"]::before { transition-delay: 1.2s; }
.steps-wrap.in .step[data-step="3"]::before { transition-delay: 1.9s; }
.step > * { position: relative; z-index: 1; }

/* Hover lift gets meatier */
.step:hover {
  box-shadow: 0 24px 40px -20px rgba(15,23,42,0.16), 0 8px 16px -8px rgba(15,23,42,0.06);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.steps-wrap.in .step { transition: opacity .6s var(--ease-out), transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }

.step h4 { margin: 0 0 12px; font-size: 22px; }
.step p { margin: 0 0 22px; max-width: 280px; }
.step-tag { transition: transform .3s var(--ease), background .2s; }
.step:hover .step-tag { transform: translateY(-2px); }
.step:hover .step-tag svg { animation: tagSpin 1.2s var(--ease) both; }
@keyframes tagSpin {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.3); }
  100% { transform: rotate(360deg) scale(1); }
}

/* Continuous active number pulse once line is drawn */
.steps-wrap.in .step .num { animation: numPulse 3s ease-in-out infinite; }
.steps-wrap.in .step[data-step="1"] .num { animation-delay: .4s; }
.steps-wrap.in .step[data-step="2"] .num { animation-delay: 1.1s; }
.steps-wrap.in .step[data-step="3"] .num { animation-delay: 1.8s; }
@keyframes numPulse {
  0%, 100% { box-shadow: 0 6px 16px -4px rgba(234,179,8,0.45), 0 0 0 0 rgba(234,179,8,0.5); }
  50%      { box-shadow: 0 6px 22px -4px rgba(234,179,8,0.6), 0 0 0 8px rgba(234,179,8,0); }
}

/* Snake line: thicker for presence */
.steps-line .line-bg, .steps-line .line-fg, .steps-line .line-comet { stroke-width: 3 !important; fill: none; stroke-linecap: round; }

/* Travelling comet — only runs once line has finished drawing */
.steps-line .line-comet {
  stroke: transparent;
  stroke-dasharray: 80 1600;
  stroke-dashoffset: 0;
  opacity: 0;
  pointer-events: none;
}
.steps-wrap.in .steps-line .line-comet {
  opacity: 1;
  animation: cometRun 4s linear 2.2s infinite;
}
@keyframes cometRun {
  from { stroke-dashoffset: 1680; }
  to   { stroke-dashoffset: 0; }
}

/* Active dot gets a soft halo ring */
.steps-line .line-dot { transition: fill .35s var(--ease), stroke .35s var(--ease), r .35s var(--ease); }
.steps-wrap.in .line-dot { filter: drop-shadow(0 0 8px rgba(234,179,8,0.7)); }
.steps-wrap.in .line-dot.dot-1 { animation: dotPulse 2.4s ease-in-out infinite .4s; }
.steps-wrap.in .line-dot.dot-2 { animation: dotPulse 2.4s ease-in-out infinite 1.1s; }
.steps-wrap.in .line-dot.dot-3 { animation: dotPulse 2.4s ease-in-out infinite 1.8s; }
@keyframes dotPulse {
  0%, 100% { r: 7; }
  50%      { r: 9; }
}

@media (prefers-reduced-motion: reduce) {
  .steps-wrap.in .steps-line .line-comet,
  .steps-wrap.in .step .num,
  .steps-wrap.in .line-dot { animation: none !important; }
}


/* ─── How-it-works: vertically center card content ───────────── */
.step {
  justify-content: center !important;
  padding-top: 44px;
  padding-bottom: 36px;
  min-height: 320px;
}
.step .num { margin-top: -110px; margin-bottom: 26px; flex-shrink: 0; }
.step h4 { margin: 0 0 12px; }
.step p { margin: 0 0 22px; }
.step .step-tag { margin: 0; }


/* ─── Footer logo: pull visible mascot flush to top ─── */
.f-brand .brand.brand-lg { margin-top: -28px; display: block; }
.f-brand .brand.brand-lg .wordmark { margin-left: -16px; }


/* ─── How-it-works: ensure circles aren't clipped ─── */
.steps-wrap { overflow: visible; padding-top: 100px; }
.steps { overflow: visible; }
.step { overflow: visible !important; }


/* ─── Hero trust strip — branded chip row ─────────────────── */
.hero-trust {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: 720px;
}
.trust-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.trust-card:hover {
  transform: translateY(-2px); border-color: #d8dde6;
  box-shadow: 0 12px 24px -10px rgba(15,23,42,0.10);
}
.trust-card .trust-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.trust-card .trust-body strong {
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trust-card .trust-body small {
  font-size: 11.5px; color: var(--muted); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.trust-ico {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.trust-ico svg { width: 18px; height: 18px; }
.trust-ico.ico-amber { background: var(--accent-soft); color: #92590a; }
.trust-ico.ico-slate { background: #f1f5f9; color: var(--ink); }

.trust-avatars { display: flex; align-items: center; flex-shrink: 0; }
.trust-av {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--bg); margin-left: -8px;
  background: #f1f5f9;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 700; color: var(--ink);
}
.trust-av:first-child { margin-left: 0; }
.trust-av.av-1 { background: linear-gradient(135deg, #fde68a, #eab308); }
.trust-av.av-2 { background: linear-gradient(135deg, #bfdbfe, #3b82f6); }
.trust-av.av-3 { background: linear-gradient(135deg, #fecaca, #ef4444); }
.trust-av.av-4 { background: linear-gradient(135deg, #bbf7d0, #22c55e); }
.trust-av.av-more {
  background: var(--ink); color: #fff; font-size: 10px;
}

@media (max-width: 1024px) {
  .hero-trust { margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .hero-trust { grid-template-columns: 1fr; gap: 10px; }
  .trust-card { max-width: 100%; }
}


/* ─── Mobile fixes (final pass) ─────────────────────────── */
@media (max-width: 720px) {
  /* Header logo: significantly larger on mobile, no longer cramped */
  .brand .wordmark { height: 64px !important; }

  /* Hero phone should never overflow horizontally */
  .hero-visual { width: 100%; max-width: 100%; overflow: visible; }
  .phone-stack { width: 100%; display: flex; justify-content: center; }
  .phone { --pw: min(280px, 78vw); }

  /* Hero stack — order trust strip below CTA, keep spacing tight */
  .hero { padding: 32px 0 16px; }
  .hero-trust { margin-top: 28px; }

  /* "Plan tomorrow's outfit today" — copy first, phone second on mobile.
     The .showcase.reverse class flips columns on desktop; on mobile we want
     the text BEFORE the phone, regardless of reverse. */
  .showcase, .showcase.reverse {
    display: flex; flex-direction: column;
  }
  .showcase .showcase-text { order: 1 !important; }
  .showcase .showcase-phone-wrap { order: 2 !important; }

  /* How it works — mobile vertical line + cards */
  .steps-wrap { padding: 30px 16px 8px 56px; margin-top: 56px; overflow: visible; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .steps-line.desktop { display: none; }
  .steps-line.mobile {
    display: block; position: absolute;
    left: 0; top: 30px; bottom: 30px;
    width: 56px; height: auto;
  }
  .step {
    text-align: left; align-items: flex-start; padding: 28px 22px 26px;
    min-height: 0;
  }
  .step .num {
    position: absolute; left: -42px; top: 22px;
    margin: 0; width: 46px; height: 46px; font-size: 17px;
  }
  .step h4 { margin: 0 0 8px; font-size: 18px; }
  .step p { margin: 0 0 14px; font-size: 14px; max-width: none; }
  .step .step-tag { margin: 0; }

  /* Footer: brand logo full-width on top, columns stacked below */
  .f-grid { grid-template-columns: 1fr !important; gap: 36px; }
  .f-brand { width: 100%; }
  .f-brand .brand.brand-lg { margin-top: 0; margin-left: 0; display: flex; justify-content: center; }
  .f-brand .brand.brand-lg .wordmark {
    height: auto !important; width: 78vw !important; max-width: 360px !important;
    margin-left: 0 !important; max-height: 180px; object-fit: contain;
  }
  .f-brand p { text-align: center; margin-left: auto; margin-right: auto; max-width: 420px; }
}

@media (max-width: 480px) {
  .brand .wordmark { height: 56px !important; }
  .phone { --pw: min(264px, 80vw); }
  .hero h1 { font-size: clamp(36px, 11vw, 56px); }
  .hero p.lede { font-size: 15.5px; }
}


/* ─── Hero trust strip v2 — big editorial stats ──────────────── */
.hero-trust {
  margin-top: 48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; max-width: 720px;
  position: relative;
}
.hero-trust .trust-stat {
  padding: 4px 24px; position: relative;
  display: flex; flex-direction: column; gap: 6px;
}
.hero-trust .trust-stat:first-child { padding-left: 0; }
.hero-trust .trust-stat:last-child { padding-right: 0; }
.hero-trust .trust-stat + .trust-stat::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.hero-trust .trust-num {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1;
  display: inline-flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.hero-trust .trust-num .plus,
.hero-trust .trust-num .pct {
  color: var(--accent); font-size: 0.7em;
}
.hero-trust .trust-num .stars {
  display: inline-flex; gap: 1px; align-items: center;
  margin-left: 4px;
}
.hero-trust .trust-num .stars svg {
  width: 14px; height: 14px; color: var(--accent);
}
.hero-trust .trust-label {
  font-size: 13px; color: var(--muted); line-height: 1.4;
  letter-spacing: -0.005em;
}

@media (max-width: 1024px) {
  .hero-trust { margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .hero-trust { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
  .hero-trust .trust-stat { padding: 0; text-align: center; align-items: center; }
  .hero-trust .trust-stat + .trust-stat::before { display: none; }
}


/* ─── Hero phone — tighten layout on mobile after trust strip removal ─── */
@media (max-width: 1024px) {
  .hero-visual { height: auto; min-height: 0; }
  .phone-stack { padding: 16px 0; }
}
@media (max-width: 720px) {
  .hero-visual { height: auto; }
  .phone-stack { padding: 8px 0 0; }
  .phone { --pw: min(280px, 76vw); margin: 0 auto; }
  .hero-grid { gap: 32px; }
}


/* ─── Hero layout — restore proper two-column grid after trust removal ─── */
.hero-visual { height: 640px; min-height: 640px; position: relative; }
.phone-stack {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
@media (max-width: 1024px) {
  .hero-visual { height: 560px; min-height: 560px; }
}
@media (max-width: 720px) {
  .hero-visual { height: auto; min-height: 0; }
  .phone-stack { padding: 8px 0 0; }
}


/* ─── Hero stats — inline, contained, never overlaps right column ── */
.hero-stats {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; max-width: 560px;
}
.hero-stats li {
  padding: 4px 18px; position: relative;
  display: flex; flex-direction: column; gap: 4px; min-width: 0;
}
.hero-stats li:first-child { padding-left: 0; }
.hero-stats li:last-child { padding-right: 0; }
.hero-stats li + li::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.hero-stats .n {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
  line-height: 1; font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; gap: 4px;
}
.hero-stats .n i { font-style: normal; color: var(--accent); font-size: 0.7em; }
.hero-stats .n svg { width: 14px; height: 14px; color: var(--accent); align-self: center; }
.hero-stats .l {
  font-size: 12px; color: var(--muted); line-height: 1.35;
}

@media (max-width: 1024px) {
  .hero-stats { margin-left: auto; margin-right: auto; }
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; max-width: 320px; }
  .hero-stats li { padding: 0; text-align: center; align-items: center; }
  .hero-stats li + li::before { display: none; }
}


/* ─── Mobile: ensure phone mockup column is visible ─── */
@media (max-width: 1024px) {
  .hero-visual { display: flex; align-items: center; justify-content: center; min-height: 540px; }
  .phone-stack { width: 100%; height: auto; }
}
@media (max-width: 720px) {
  .hero-visual { min-height: 480px; height: auto; }
  .phone-stack { padding: 0; }
  .phone { --pw: min(280px, 78vw); display: block; margin: 0 auto; }
}


/* ─── Header logo sizing (per user spec) ──────────────────────────── */
.brand .wordmark { height: clamp(48px, 5vw, 56px) !important; }
@media (max-width: 720px) {
  .brand .wordmark { height: 44px !important; }
}
@media (max-width: 480px) {
  .brand .wordmark { height: 40px !important; }
}
/* Keep nav-inner generous around the logo */
.nav-inner { height: clamp(76px, 7vw, 88px) !important; padding-block: 8px; }


/* ─── Header logo — bigger pass ──────────────────────────────────── */
.brand .wordmark { height: clamp(72px, 7.5vw, 96px) !important; }
@media (max-width: 720px) {
  .brand .wordmark { height: 64px !important; }
}
@media (max-width: 480px) {
  .brand .wordmark { height: 56px !important; }
}
.nav-inner { height: clamp(96px, 9vw, 116px) !important; padding-block: 10px; }


/* ─── Header logo — make significantly larger ─────────────────── */
.brand .wordmark { height: clamp(110px, 11vw, 150px) !important; }
@media (max-width: 720px) {
  .brand .wordmark { height: 92px !important; }
}
@media (max-width: 480px) {
  .brand .wordmark { height: 76px !important; }
}
.nav-inner { height: clamp(132px, 13vw, 170px) !important; padding-block: 12px; }


/* ─── Header: tighten height so big logo doesn't bloat the bar ─── */
.nav-inner { height: clamp(96px, 9vw, 120px) !important; padding-block: 0 !important; }
.brand .wordmark { margin-block: -10px !important; }
@media (max-width: 720px) {
  .nav-inner { height: 84px !important; }
  .brand .wordmark { margin-block: -8px !important; }
}


/* ─── Mobile: hide stray SVG dots, the card .num circles are the anchors ─── */
@media (max-width: 720px) {
  .steps-line.mobile .line-dot { display: none; }
  /* Line should bleed past the first/last card so it visually connects to all three num circles */
  .steps-line.mobile {
    top: -20px !important;
    bottom: -20px !important;
    height: auto !important;
  }
}

/* ─── About section ──────────────────────────────────────────────── */
.about-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.about-head .title { font-size: clamp(32px, 4.2vw, 52px); margin: 0 auto 20px; }
.about-head .sub { margin: 0 auto; font-size: 17px; line-height: 1.6; max-width: 660px; }

.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  max-width: 1080px; margin: 0 auto;
}
.about-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s;
  display: flex; flex-direction: column; gap: 12px;
}
.about-card:hover {
  transform: translateY(-4px); border-color: #d8dde6;
  box-shadow: 0 24px 40px -20px rgba(15,23,42,0.12), 0 8px 16px -8px rgba(15,23,42,0.05);
}
.about-card::before {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--feature-accent, var(--accent-soft));
  opacity: .35; filter: blur(4px); pointer-events: none;
  transition: transform .5s var(--ease), opacity .4s var(--ease);
}
.about-card:hover::before { transform: translate(-10px, 10px) scale(1.1); opacity: .55; }
.about-card.a-mission { --feature-accent: rgba(234,179,8,0.18); }
.about-card.a-story   { --feature-accent: rgba(244,114,182,0.18); }
.about-card.a-solve   { --feature-accent: rgba(59,130,246,0.18); }
.about-card.a-promise { --feature-accent: rgba(20,184,166,0.18); }

.about-ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--feature-bg, var(--accent-soft));
  color: var(--feature-color, #92590a);
  margin-bottom: 4px;
  transition: transform .3s var(--ease);
}
.about-card:hover .about-ico { transform: rotate(-6deg) scale(1.04); }
.about-ico.ico-amber  { --feature-bg: #FEF3C7; --feature-color: #92590a; }
.about-ico.ico-rose   { --feature-bg: #FCE7F3; --feature-color: #9F1239; }
.about-ico.ico-blue   { --feature-bg: #DBEAFE; --feature-color: #1E40AF; }
.about-ico.ico-teal   { --feature-bg: #CCFBF1; --feature-color: #115E59; }
.about-ico svg { width: 24px; height: 24px; }

.about-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.about-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.about-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.about-card ul li {
  position: relative; padding-left: 22px;
  font-size: 14.5px; line-height: 1.55; color: var(--ink-2);
}
.about-card ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.about-quote {
  margin: 72px auto 0; max-width: 760px; text-align: center;
  padding: 40px 32px; position: relative;
}
.about-quote .quote-mark {
  width: 36px; height: 36px; color: var(--accent);
  margin: 0 auto 16px; display: block; opacity: .8;
}
.about-quote blockquote {
  margin: 0; font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.35; letter-spacing: -0.02em;
  font-weight: 600; color: var(--ink);
  text-wrap: balance;
}
.about-quote figcaption {
  margin-top: 18px; color: var(--muted);
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-card { padding: 28px 24px; }
  .about-card h3 { font-size: 19px; }
  .about-quote { margin-top: 48px; padding: 28px 16px; }
}

/* ─── Phone: full-bleed real app screenshot ─────────────────────── */
.phone .screen .screen-shot {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
}

/* ─── Back to top ─────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 60;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .28s var(--ease),
              transform .28s var(--ease),
              background .2s var(--ease),
              box-shadow .25s var(--ease);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: #1f2a44;
  box-shadow: 0 14px 30px -10px rgba(15,23,42,0.35);
  transform: translateY(-3px);
}
.back-to-top:active { transform: translateY(-1px); }
.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.back-to-top svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity .15s linear; }
  .back-to-top:hover { transform: none; }
}
