/* MirrorMuse marketing site — brand-matched to the mobile app.
   Palette: orchid mauve #B25EC8, ink #341E3D, canvas #F8F1F9
   Type:    Bodoni Moda serif (headings), DM Sans (body), Space Grotesk (eyebrows)
*/

:root {
  --accent: #B25EC8;
  --accent-deep: #8A3D9E;
  --accent-soft: #F0E5F3;
  --ink: #341E3D;
  --ink-soft: #7E6A86;
  --canvas: #F8F1F9;
  --card: #FFFFFF;
  --hairline: #EAD9EE;
  --gold: #C8A063;
  --hero-from: #C171D6;
  --hero-to: #6A2F86;
  --footer: #2A1532;
  --shadow-card: 0 14px 40px rgba(138, 61, 158, 0.18);
  --shadow-soft: 0 4px 16px rgba(138, 61, 158, 0.08);
  --shadow-device: 0 30px 60px rgba(42, 21, 50, 0.45);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent-soft); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: "Bodoni Moda", "Didot", "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(40px, 5.5vw, 62px); line-height: 1.08; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 12px; }
h3 { font-size: clamp(20px, 2.5vw, 23px); margin-bottom: 8px; }

p { margin: 0 0 14px; color: var(--ink); }
p.muted { color: var(--ink-soft); }

.eyebrow {
  font-family: "Space Grotesk", -apple-system, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow.on-dark { color: rgba(255, 255, 255, 0.78); }
.eyebrow.accent { color: var(--accent-deep); }
.eyebrow.gold { color: var(--gold); }

/* ---------- Layout ---------- */

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

section { padding: 72px 0; }

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 241, 249, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
header.site .wrap {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Bodoni Moda", Didot, Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.logo span { color: var(--accent-deep); }
nav.site-nav { display: flex; align-items: center; gap: 28px; }
nav.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
nav.site-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}
.hero-glow {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.hero-copy h1 { color: #ffffff; margin: 0 0 18px; }
.hero-copy .lede {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
  max-width: 540px;
  margin: 0 0 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary { background: #ffffff; color: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.18); color: var(--ink); }
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #ffffff;
  padding: 14px 26px;
}
.btn-app-store:hover {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.btn-app-store .app-store-icon { display: block; }

.hero-social {
  margin-top: 22px;
}
.hero-social-label {
  display: block;
  font-family: var(--font-ui, "Space Grotesk", system-ui, sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 12px;
}
.hero-social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-family: var(--font-ui, "Space Grotesk", system-ui, sans-serif);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.social-btn svg { display: block; }

.hero-qr {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.10);
  max-width: 340px;
}
.hero-qr img {
  display: block;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #ffffff;
  padding: 4px;
  box-sizing: content-box;
}
.hero-qr-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero-qr-eyebrow {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ink, #1F1A1F);
}
.hero-qr-sub {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(31, 26, 31, 0.65);
}
@media (max-width: 768px) {
  .hero-qr { display: none; }
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin-bottom: 12px;
}
.waitlist input {
  flex: 1;
  min-width: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  outline: none;
}
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.65); }
.waitlist input:focus { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }
.waitlist button {
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--hero-to);
  cursor: pointer;
  transition: background 0.15s ease;
}
.waitlist button:hover { background: #ffffff; }

.hero-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.hero-note a { color: rgba(255, 255, 255, 0.9); }
.hero-note a:hover { color: #ffffff; }

/* ---------- Hero device ---------- */

.hero-device {
  display: flex;
  justify-content: center;
  align-items: center;
}
.device {
  width: 320px;
  height: 660px;
  background: #1A0F1F;
  border-radius: 48px;
  padding: 12px;
  position: relative;
  filter: drop-shadow(var(--shadow-device));
}
.device-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 30px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.device-screen {
  background: var(--canvas);
  border-radius: 36px;
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.critique {
  padding: 64px 18px 18px;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  height: 100%;
  overflow: hidden;
}
.critique-head { margin-bottom: 14px; }
.critique-head .eyebrow {
  font-size: 10px;
  color: var(--accent-deep);
  margin-bottom: 4px;
}
.critique-title {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}
.critique-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.score-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0% calc(var(--score, 83) * 1%), var(--accent-soft) calc(var(--score, 83) * 1%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.score-inner {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(138, 61, 158, 0.12);
}
.score-value {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.score-out {
  font-size: 10px;
  color: var(--ink-soft);
}
.critique-verdict {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
}
.critique-sub {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
}
.bar-row :first-child { font-weight: 500; }
.bar-row :last-child { color: var(--ink-soft); }
.bar-track {
  height: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}
.bar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
}
.card-note {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.card-note .eyebrow {
  font-size: 9px;
  margin-bottom: 6px;
  letter-spacing: 0.18em;
}
.note-row {
  display: flex;
  gap: 7px;
  font-size: 11.5px;
  color: var(--ink);
  line-height: 1.4;
  margin-top: 4px;
}
.note-row .tick { color: var(--accent); font-weight: 700; }
.note-row .num { color: var(--gold); font-weight: 700; }

/* ---------- Features ---------- */

.features-lede { max-width: 640px; margin: 0 0 36px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card h3 { font-size: 23px; margin: 16px 0 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 15px; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.editorial-strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.editorial-strip figure { margin: 0; }
.editorial-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
}
.editorial-strip figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

/* ---------- How it works ---------- */

.how { background: var(--accent-soft); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.step {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  border: 1px solid var(--hairline);
}
.step-num {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 52px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.step h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: 0;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- Pricing ---------- */

.pricing { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--canvas) 100%); }
.pricing-center { text-align: center; }
.pricing-lede { max-width: 620px; margin: 0 auto 40px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.plan {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.plan h3 { font-size: 22px; margin: 0 0 4px; }
.plan .plan-sub { font-size: 14px; margin: 0; }
.plan .price {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin: 18px 0 4px;
  color: var(--ink);
}
.plan .price small {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-soft);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.plan li {
  padding: 7px 0 7px 24px;
  position: relative;
  color: var(--ink-soft);
  font-size: 15px;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.plan.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-card);
  position: relative;
}
.plan .badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold);
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-fineprint {
  font-size: 13px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 28px auto 0;
}

/* ---------- FAQ ---------- */

.faq details {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  margin-bottom: 12px;
  border: 1px solid var(--hairline);
}
.faq summary {
  cursor: pointer;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev {
  color: var(--accent-deep);
  font-family: "DM Sans", sans-serif;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.faq details[open] .chev { transform: rotate(45deg); }
.faq details p { margin: 10px 0 4px; color: var(--ink-soft); font-size: 15px; }

/* ---------- Footer ---------- */

footer.site {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
}
footer.site a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  display: block;
  margin-bottom: 8px;
}
footer.site a:hover { color: #ffffff; }
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-mark-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.foot-mark-row img {
  width: 44px;
  height: 44px;
  border-radius: 11px;
}
.foot-mark {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
}
.foot-mark span { color: var(--accent); }
.foot-tag {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 280px;
}
footer.site h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 14px;
}
.foot-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}
.legal h1 {
  font-size: clamp(34px, 5vw, 44px);
  margin: 0 0 8px;
}
.legal .legal-meta {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 32px;
}
.legal h2 {
  font-size: 26px;
  margin: 44px 0 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}
.legal h3 {
  font-size: 20px;
  margin: 24px 0 12px;
}
.legal p, .legal li {
  line-height: 1.65;
  font-size: 16px;
}
.legal ul, .legal ol {
  padding-left: 24px;
  margin: 0 0 16px;
}
.legal li { margin-bottom: 8px; }
.legal a { border-bottom: 1px solid rgba(138, 61, 158, 0.3); }
.legal a:hover { border-bottom-color: var(--accent-deep); }

.legal-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.legal-back:hover { color: var(--ink); }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.legal th, .legal td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline);
  line-height: 1.45;
}
.legal th {
  background: var(--accent-soft);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
}
.legal tr:last-child td { border-bottom: 0; }
.legal .updated {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 32px;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .editorial-strip { grid-template-columns: 1fr; }
  .editorial-strip img { height: 280px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  nav.site-nav { gap: 18px; }
  nav.site-nav a { font-size: 13px; }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0; }
  .device { transform: scale(0.92); }
  .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; gap: 4px; }
  nav.site-nav { display: none; }
  .waitlist { flex-direction: column; }
  .waitlist button { width: 100%; }
}
