/* Wonday marketing + legal site — warm "Dawn" palette, gold accent. */
:root {
  --bg: #faf6f0;
  --bg-warm: #f6e7d0;
  --surface: #fffdf9;
  --text: #2b2520;
  --text-secondary: #7a716a;
  --text-tertiary: #a89e94;
  --accent: #e8a33d;
  --accent-deep: #c77f1b;
  --line: #ece4d8;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}
a { color: var(--accent-deep); }
img { max-width: 100%; height: auto; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; white-space: nowrap; border: 1.5px solid transparent;
}
.btn-primary { background: var(--accent); color: #3a2a10; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { color: var(--text-secondary); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* Brand mark */
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); }
.nav-brand .spark { width: 24px; height: 24px; }
.nav-brand .name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }

/* Sticky nav */
.site-nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(18px, 5vw, 40px);
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--accent-deep); }
.nav-cta { margin-left: 4px; padding: 9px 18px; }

/* Layout */
.section { max-width: var(--maxw); margin: 0 auto; padding: 64px clamp(20px, 5vw, 40px); }
.section-title { font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.02em; margin: 0 0 10px; text-align: center; }
.section-lead { color: var(--text-secondary); font-size: 18px; max-width: 600px; margin: 0 auto 36px; text-align: center; }

/* Hero */
.hero {
  position: relative; text-align: center; overflow: hidden;
  padding: clamp(22px, 3.5vw, 40px) clamp(20px, 5vw, 40px) 40px;
  background:
    radial-gradient(900px 460px at 50% -8%, rgba(232, 163, 61, 0.22), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #fbf3e7 100%);
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 700;
  color: var(--accent-deep); margin: 0 0 14px;
}
.hero-title { font-size: clamp(48px, 10vw, 92px); line-height: 1; margin: 0; letter-spacing: -0.03em; }
.rotator {
  font-size: clamp(22px, 4.5vw, 34px); font-weight: 800; letter-spacing: -0.02em;
  color: var(--accent-deep); line-height: 1.3;
  height: 1.3em; margin: 8px 0 18px; overflow: hidden;
}
.rotator .rot { display: flex; flex-direction: column; align-items: center; animation: rot 6s infinite; }
.rotator .rot span { height: 1.3em; line-height: 1.3em; white-space: nowrap; }
@keyframes rot {
  0%, 26% { transform: translateY(0); }
  33%, 59% { transform: translateY(-1.3em); }
  66%, 92% { transform: translateY(-2.6em); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .rotator .rot { animation: none; } }
.hero-sub { font-size: 19px; color: var(--text-secondary); margin: 0 auto; max-width: 560px; }
.hero .cta, .download .cta { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Store badges */
.store-cta { gap: 14px; align-items: center; }
.store-badge { display: inline-block; line-height: 0; text-decoration: none; }
.store-badge img { height: 54px; width: auto; display: block; }
.store-badge[href]:hover { transform: translateY(-1px); }
.store-soon { cursor: default; }
.hero-legal { margin: 18px auto 0; font-size: 13.5px; color: var(--text-tertiary); max-width: 520px; }
.hero-legal a { color: var(--text-secondary); }

/* Phone frame component (raw 1080x2340 screen, status + nav bars cropped) */
.phone {
  margin: 0; flex: 0 0 auto;
  background: #15121b; padding: 6px; border-radius: 26px;
  box-shadow: 0 22px 54px rgba(60, 40, 20, 0.18);
}
.phone .screen {
  width: 100%; aspect-ratio: 1080 / 2109; overflow: hidden;
  border-radius: 20px; background: #15121b;
}
.phone .screen img {
  width: 100%; display: block;
  margin-top: -8.9%;   /* crop the 96px status bar (96/1080); bottom nav clipped by aspect-ratio */
}

/* Hero phone cluster */
.hero-phones {
  display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 22px);
  margin-top: 48px;
}
.hero-phones .phone-hero { width: clamp(190px, 28vw, 250px); z-index: 2; }
.hero-phones .phone-side { width: clamp(150px, 22vw, 205px); opacity: 0.96; }
.hero-phones .phone-side:first-child { transform: translateY(20px) rotate(-3deg); }
.hero-phones .phone-side:last-child { transform: translateY(20px) rotate(3deg); }
@media (max-width: 560px) { .hero-phones .phone-side { display: none; } .hero-phones .phone-hero { width: 230px; } }

/* Stats band */
.stats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 6vw, 64px);
  max-width: var(--maxw); margin: 0 auto; padding: 30px clamp(20px, 5vw, 40px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-n { display: block; font-size: clamp(34px, 6vw, 48px); font-weight: 800; color: var(--accent-deep); letter-spacing: -0.02em; }
.stat-l { color: var(--text-secondary); font-size: 14.5px; }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.feat-ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(180deg, #fff4e0, #f7e3c2); color: var(--accent-deep);
  font-size: 20px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--text-secondary); font-size: 15.5px; }

/* Why / principles */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.why-card {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.why-card p { margin: 0; font-size: 18px; line-height: 1.5; }
.why-card footer { color: var(--accent-deep); font-weight: 700; font-size: 14px; }

/* How it works */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; max-width: 680px; margin: 0 auto;
  display: grid; gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; }
.step-n { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #3a2a10; font-weight: 800; }
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--text-secondary); font-size: 15.5px; }

/* Gallery — all screens visible, wrapping row */
.gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2vw, 20px); }
.gallery .phone { width: clamp(150px, 28vw, 200px); }

/* FAQ accordion */
.faq { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 14px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; color: var(--accent-deep); font-weight: 700; font-size: 20px; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--text-secondary); font-size: 15.5px; }

/* Important info */
.important { max-width: 720px; }
.important p { color: var(--text-secondary); text-align: center; font-size: 16px; }

/* Download */
.download { text-align: center; }
.download .spark { width: 56px; height: 56px; margin: 0 auto 14px; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #fbf5ec; margin-top: 24px; }
.foot-grid { max-width: var(--maxw); margin: 0 auto; padding: 48px clamp(20px, 5vw, 40px) 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.foot-about p { color: var(--text-secondary); font-size: 14.5px; max-width: 280px; margin: 12px 0 0; }
.foot-col h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-tertiary); }
.foot-col a { display: block; color: var(--text-secondary); text-decoration: none; font-size: 15px; padding: 4px 0; }
.foot-col a:hover { color: var(--accent-deep); }
.foot-base { max-width: var(--maxw); margin: 0 auto; padding: 18px clamp(20px, 5vw, 40px) 40px;
  border-top: 1px solid var(--line); color: var(--text-tertiary); font-size: 14px; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}

/* Legal / article pages (privacy.html, terms.html) */
.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 28px 0 8px; text-decoration: none; color: var(--text); }
.brand .spark { width: 26px; height: 26px; }
.brand .name { font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.wrap > footer { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 48px; color: var(--text-tertiary); font-size: 14px; }
.wrap > footer a { color: var(--text-secondary); text-decoration: none; }
.wrap > footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 8px; }
.article { padding: 24px 0 8px; }
.article h1 { font-size: 32px; margin: 8px 0 4px; letter-spacing: -0.02em; }
.article .updated { color: var(--text-tertiary); font-size: 14px; margin: 0 0 28px; }
.article h2 { font-size: 20px; margin: 32px 0 8px; }
.article p, .article li { color: var(--text); }
.article ul { padding-left: 22px; }
.article li { margin: 6px 0; }
.article .lead { font-size: 18px; color: var(--text-secondary); }
