/* Shared styles for the morphfit.app site pages (facts / how-it-works /
   about). The home page keeps its own inline CSS (it carries the scroll
   story); these pages stay light and read-focused. Same token system:
   light default, dark behind prefers-color-scheme. */

@font-face { font-family: 'Bebas Neue'; src: url(/landing-assets/fonts/bebas-neue.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(/landing-assets/fonts/inter.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url(/landing-assets/fonts/fraunces.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }

:root {
  --bg: #FAFAFA; --surface: #FFFFFF; --surface-2: #EBEBEF; --border: #E5E5EA;
  --text: #2A2A2A; --text-muted: #5A5A5A; --text-dim: #8A8A8E;
  --accent: #DC143C; --gold: #A8912E; --on-accent: #fff;
  --mark-filter: invert(1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a; --surface: #131315; --surface-2: #1b1b1e; --border: #26262a;
    --text: #f2f0ea; --text-muted: #a7a7ad; --text-dim: #77777d;
    --gold: #C5A945; --mark-filter: none;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.bebas { font-family: 'Bebas Neue', sans-serif; font-weight: 400; }

/* ── header (matches the home page) ── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}
.header-in { max-width: 1060px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 30px; height: 30px; border-radius: 8px; filter: var(--mark-filter); }
.word { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: .34em; padding-left: .34em; }
.nav-links { display: flex; gap: 18px; margin-left: 18px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; }
.nav-links a:hover, .nav-links a.here { color: var(--text); }
.header-cta { margin-left: auto; font-size: 13px; font-weight: 700; text-decoration: none; background: var(--accent); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 640px) {
  .nav-links { gap: 12px; margin-left: 6px; }
  .nav-links a { font-size: 11.5px; }
  .word { display: none; }
}

/* ── page scaffold ── */
main { padding: 130px 0 40px; }
.kicker { font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: .3em; padding-left: .3em; color: var(--gold); }
h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(40px, 6.5vw, 64px); line-height: .98; letter-spacing: .01em; margin-top: 12px; text-transform: uppercase; }
h1 .red { color: var(--accent); }
.lede { margin-top: 16px; font-size: 16.5px; color: var(--text-muted); max-width: 62ch; }
.lede strong { color: var(--text); font-weight: 600; }
h2 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(26px, 3.6vw, 36px); letter-spacing: .02em; text-transform: uppercase; margin: 52px 0 6px; }
h2 .red { color: var(--accent); }
h2 .goldt { color: var(--gold); }
p { color: var(--text-muted); font-size: 15px; margin-top: 10px; }
p strong, li strong { color: var(--text); font-weight: 600; }
ul { margin: 10px 0 0 20px; color: var(--text-muted); font-size: 15px; }
li { margin-top: 6px; }

/* ── cards ── */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; margin-top: 14px; }
.card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.card p { font-size: 14px; }

/* facts page */
.fact-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px; margin-top: 14px; }
.fact-card .claim { font-size: 16.5px; font-weight: 600; color: var(--text); line-height: 1.5; }
.fact-card .claim .spark { color: var(--gold); margin-right: 8px; }
.fact-card .why { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.fact-card .morph { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--text-muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.fact-card .morph b { color: var(--text); }
.fact-card .morph .m { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.fact-card .cite { font-size: 11.5px; color: var(--text-dim); margin-top: 10px; }
.fact-group { margin-top: 40px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin-top: 10px; }
summary { font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; list-style: none; display: flex; align-items: center; }
summary::after { content: '+'; margin-left: auto; color: var(--text-dim); font-size: 18px; }
details[open] summary::after { content: '–'; }
details p { font-size: 14px; margin-top: 10px; }

/* CTA block */
.cta-block { text-align: center; margin-top: 64px; padding: 40px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; }
.cta-block h2 { margin: 0; }
.cta-block p { margin-top: 8px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-top: 20px;
  background: var(--accent); color: var(--on-accent); border-radius: 14px; padding: 13px 24px;
  font-weight: 700; font-size: 15px;
}
.cta-note { display: block; font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }

footer { margin-top: 70px; padding: 26px 0 42px; border-top: 1px solid var(--border); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text-dim); }
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text-muted); }
footer .spacer { flex: 1; }
