/* ============ Miqo site ============ */
:root {
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --navy: #1C2A63;
  --ink: #2A2350;
  --muted: #7A74A0;
  --violet: #7C3AED;
  --violet2: #A78BFA;
  --lav1: #E9DFF8;
  --lav2: #D5C6F2;
  --pink: #F27BA4;
  --pink-bg: #FBE9EE;
  --amber: #F5A623;
  --amber2: #FFD54F;
  --amber-bg: #FFF3D6;
  --mint-bg: #E7F6EF;
  --blue-bg: #E3F0FD;
  --lilac-bg: #EFE9FA;
  --green: #34C08B;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(28, 42, 99, 0.10);
  --shadow-soft: 0 6px 18px rgba(28, 42, 99, 0.07);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 42, 99, 0.06);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 24px; color: var(--navy);
  letter-spacing: -0.02em; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: var(--ink); font-weight: 700; font-size: 15px;
}
.site-nav a:hover { color: var(--violet); text-decoration: none; }
.nav-links { display: flex; gap: 26px; }
@media (max-width: 720px) { .nav-links { display: none; } }

.pill-soon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff !important;
  font-weight: 800; font-size: 14px;
  padding: 9px 16px; border-radius: 999px;
  white-space: nowrap;
}
.pill-soon:hover { text-decoration: none; opacity: 0.92; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; position: relative; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center;
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 48px; }
}

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lilac-bg); color: var(--violet);
  font-weight: 800; font-size: 13.5px; letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 58px);
  line-height: 1.08; font-weight: 900; color: var(--navy);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--violet); }

.hero-sub {
  font-size: 18.5px; color: var(--muted); font-weight: 600;
  max-width: 480px; margin-bottom: 32px;
}

.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 14px;
  padding: 10px 20px 10px 16px; cursor: default;
}
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge .sb-top { font-size: 11px; font-weight: 600; opacity: 0.85; letter-spacing: 0.02em; }
.store-badge .sb-bottom { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }

.cta-secondary { font-weight: 800; font-size: 16px; }

.trust-row {
  display: flex; gap: 18px; flex-wrap: wrap;
  color: var(--muted); font-weight: 700; font-size: 14px;
}
.trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.trust-row .dot { color: var(--green); font-size: 16px; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  width: 320px; background: var(--navy);
  border-radius: 46px; padding: 12px;
  box-shadow: 0 30px 60px rgba(28, 42, 99, 0.25);
  position: relative; z-index: 2;
}
.phone-screen {
  background: linear-gradient(180deg, #FDF9F1 0%, #F6EEE2 100%);
  border-radius: 36px; padding: 22px 16px 14px; overflow: hidden;
}
.ps-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ps-title { font-size: 22px; font-weight: 900; color: var(--navy); letter-spacing: -0.02em; }
.ps-right { display: flex; align-items: center; gap: 8px; }
.ps-streak {
  background: #fff; border-radius: 999px; padding: 5px 12px;
  font-size: 13px; font-weight: 800; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.ps-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--amber));
  box-shadow: var(--shadow-soft);
}

.ps-card {
  background: #fff; border-radius: 20px; padding: 16px;
  box-shadow: var(--shadow-soft); margin-bottom: 16px;
  display: flex; gap: 12px; align-items: center;
}
.ps-card-main { flex: 1; min-width: 0; }
.ps-label {
  font-size: 10px; font-weight: 900; letter-spacing: 0.12em;
  color: var(--violet); margin-bottom: 6px;
}
.ps-card-title { font-size: 16.5px; font-weight: 900; color: var(--navy); line-height: 1.2; margin-bottom: 3px; }
.ps-card-sub { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.ps-progress-row { display: flex; align-items: center; gap: 10px; }
.ps-progress { flex: 1; height: 7px; background: #F1E9DB; border-radius: 999px; overflow: hidden; }
.ps-progress i { display: block; height: 100%; width: 48%; background: var(--amber); border-radius: 999px; }
.ps-pct { font-size: 12px; font-weight: 900; color: var(--ink); }
.ps-go {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: var(--amber2); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 900;
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4);
}

.ps-section-label { font-size: 14px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ps-chip {
  font-size: 12px; font-weight: 800; padding: 7px 13px;
  border-radius: 999px; background: #fff; color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.ps-chip.active { background: var(--violet); color: #fff; }
.ps-chip.p1 { background: var(--pink-bg); }
.ps-chip.p2 { background: var(--mint-bg); }
.ps-chip.p3 { background: var(--blue-bg); }

.ps-banner {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  border-radius: 20px; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 16px;
}
.ps-banner-label { font-size: 9.5px; font-weight: 900; letter-spacing: 0.14em; color: rgba(255,255,255,0.75); margin-bottom: 4px; }
.ps-banner-title { font-size: 15px; font-weight: 900; color: #fff; line-height: 1.25; }
.ps-banner-btn {
  background: #fff; color: var(--violet); border-radius: 999px;
  font-size: 12px; font-weight: 900; padding: 8px 14px; white-space: nowrap;
}

.ps-nav {
  display: flex; justify-content: space-around;
  background: #fff; border-radius: 18px; padding: 10px 6px;
  box-shadow: var(--shadow-soft);
}
.ps-nav span { font-size: 10px; font-weight: 800; color: var(--muted); text-align: center; line-height: 1.3; }
.ps-nav span i { font-style: normal; display: block; font-size: 17px; }
.ps-nav span.active { color: var(--violet); }

.mascot-float {
  position: absolute; z-index: 3;
  width: 110px; height: 110px;
  left: calc(50% - 220px); bottom: -14px;
  border-radius: 30px;
  box-shadow: 0 16px 32px rgba(28, 42, 99, 0.22);
  transform: rotate(-9deg);
}
@media (max-width: 900px) {
  .mascot-float { left: calc(50% - 200px); }
}
@media (max-width: 430px) {
  .phone { width: 290px; }
  .mascot-float { width: 92px; height: 92px; left: calc(50% - 172px); }
}

.hero-blob {
  position: absolute; z-index: 1;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--lav1), rgba(233, 223, 248, 0));
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .kicker {
  font-size: 13px; font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 900;
  color: var(--navy); letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-weight: 600; font-size: 17px; }

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .features-grid { grid-template-columns: 1fr; } }

.feature {
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}
.feature .fi {
  width: 52px; height: 52px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.feature h3 { font-size: 19px; font-weight: 900; color: var(--navy); margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 15px; font-weight: 600; color: var(--ink); opacity: 0.75; line-height: 1.55; }
.f-lilac { background: var(--lilac-bg); }
.f-pink { background: var(--pink-bg); }
.f-mint { background: var(--mint-bg); }
.f-amber { background: var(--amber-bg); }
.f-blue { background: var(--blue-bg); }
.f-lav { background: var(--lav1); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.step {
  background: var(--paper); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-soft);
  position: relative;
}
.step .num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--violet); color: #fff;
  font-size: 18px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 15px; font-weight: 600; color: var(--muted); }

/* CTA */
.cta-final {
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
  border-radius: 32px; padding: 56px 32px;
  text-align: center; color: #fff;
  box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.cta-final img.mascot {
  width: 96px; height: 96px; border-radius: 26px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  transform: rotate(6deg);
}
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-final p { font-size: 17px; font-weight: 600; opacity: 0.9; max-width: 520px; margin: 0 auto 30px; }
.cta-final .store-badge { background: #000; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(28, 42, 99, 0.08);
  padding: 40px 0 48px; margin-top: 40px;
}
.site-footer .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; color: var(--navy); }
.footer-brand img { width: 28px; height: 28px; border-radius: 8px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-weight: 700; font-size: 14px; }
.footer-links a:hover { color: var(--violet); }
.footer-copy { color: var(--muted); font-weight: 600; font-size: 13.5px; }

/* ---------- Inner pages (legal / support) ---------- */
.page { padding: 56px 0 72px; }
.page-card {
  background: var(--paper); border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
  max-width: 820px; margin: 0 auto;
}
.prose h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.15; }
.prose .updated { color: var(--muted); font-weight: 700; font-size: 14px; margin-bottom: 32px; }
.prose h2 { font-size: 21px; font-weight: 900; color: var(--navy); margin: 34px 0 12px; letter-spacing: -0.01em; }
.prose p { margin-bottom: 14px; font-size: 16px; font-weight: 500; color: var(--ink); }
.prose ul { margin: 0 0 14px 22px; }
.prose li { margin-bottom: 8px; font-size: 16px; font-weight: 500; }
.prose strong { color: var(--navy); }
.prose .contact-box {
  background: var(--lilac-bg); border-radius: 18px;
  padding: 20px 24px; margin-top: 28px;
  font-weight: 700;
}
