/* Mythic Vitals — marketing site */

:root {
  --bg: #0a0f1e;
  --surface: #111827;
  --elevated: #1a2236;
  --border: #1f2d45;
  --primary: #6366f1;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --gold: #fbbf24;
  --success: #10b981;
  --danger: #ef4444;
  --text: #f0f6ff;
  --muted: #94a3b8;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 15, 30, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--text);
}
.brand:hover { text-decoration: none; }
.brand svg { color: var(--gold); }

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.site-nav a:hover { color: var(--text); text-decoration: none; }

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(56rem 30rem at 50% -12rem, rgba(99, 102, 241, 0.22), transparent 65%),
    radial-gradient(40rem 24rem at 85% 6rem, rgba(139, 92, 246, 0.12), transparent 60%),
    radial-gradient(36rem 22rem at 10% 10rem, rgba(6, 182, 212, 0.08), transparent 60%);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  background: rgba(17, 24, 39, 0.7);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  background: linear-gradient(115deg, var(--text) 30%, var(--secondary) 70%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .hook {
  margin: 1.1rem auto 0;
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600;
  color: var(--text);
  max-width: 34ch;
}

.hero .sub {
  margin: 0.9rem auto 0;
  color: var(--muted);
  max-width: 56ch;
  font-size: 1.02rem;
}

.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.65rem 1.25rem;
  color: var(--text);
  text-align: left;
  transition: border-color 0.15s ease;
}
.play-badge:hover { border-color: var(--primary); text-decoration: none; }
span.play-badge { cursor: default; }
span.play-badge:hover { border-color: var(--border); }
#about .section-head { margin-bottom: 0; max-width: 720px; }
.play-badge svg { color: var(--accent); }
.play-badge .small { display: block; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.play-badge .big { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }

.btn-ghost {
  display: inline-block;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-ghost:hover { color: var(--text); border-color: var(--secondary); text-decoration: none; }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.6rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-head p { margin-top: 0.8rem; color: var(--muted); }

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
}
.section.alt .card { background: var(--elevated); }

.card .icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--elevated);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.section.alt .card .icon { background: var(--surface); }

.card h3 { font-size: 1.08rem; font-weight: 700; }
.card .conv { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.card p { margin-top: 0.5rem; color: var(--muted); font-size: 0.93rem; }
.card .tag { display: inline-block; margin-top: 0.2rem; font-size: 0.78rem; font-weight: 600; color: var(--muted); }

.icon.c-speed { color: var(--accent); }
.icon.c-fire { color: var(--danger); }
.icon.c-water { color: var(--primary); }
.icon.c-strength { color: var(--secondary); }
.icon.c-gold { color: var(--gold); }
.icon.c-green { color: var(--success); }

/* ---------- The loop strip ---------- */

.loop-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  counter-reset: step;
  margin-top: 2rem;
}
@media (min-width: 800px) { .loop-steps { grid-template-columns: repeat(3, 1fr); } }

.loop-steps .step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
}
.loop-steps .step::before {
  counter-increment: step;
  content: counter(step, upper-roman);
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.9rem;
}
.loop-steps .step h3 { font-size: 1.05rem; }
.loop-steps .step p { margin-top: 0.5rem; color: var(--muted); font-size: 0.93rem; }

/* ---------- Anti-grind promise ---------- */

.promise {
  background:
    radial-gradient(40rem 20rem at 50% 0, rgba(251, 191, 36, 0.07), transparent 65%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.promise-panel {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
}
@media (min-width: 800px) { .promise-panel { padding: 3rem 3rem; } }

.promise-panel .kicker { color: var(--gold); }
.promise-panel h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; max-width: 22ch; }
.promise-panel > p { margin-top: 1rem; color: var(--muted); max-width: 62ch; }
.promise-panel > p strong { color: var(--text); }

.caps {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .caps { grid-template-columns: repeat(4, 1fr); } }

.cap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-align: center;
}
.cap .num { font-size: 1.45rem; font-weight: 800; color: var(--gold); letter-spacing: -0.01em; }
.cap .label { font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }

.promise-notes {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .promise-notes { grid-template-columns: 1fr 1fr; } }

.promise-notes .note {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.promise-notes .note svg { flex-shrink: 0; color: var(--success); margin-top: 0.2rem; }
.promise-notes .note p { font-size: 0.92rem; color: var(--muted); }
.promise-notes .note p strong { color: var(--text); }

/* ---------- Privacy strip ---------- */

.privacy-strip {
  border: 1px solid var(--border);
  border-left: 3px solid var(--success);
  border-radius: 14px;
  background: var(--surface);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 800px) {
  .privacy-strip { flex-direction: row; align-items: center; justify-content: space-between; padding: 2rem 2.25rem; }
}
.privacy-strip h2 { font-size: 1.3rem; font-weight: 700; }
.privacy-strip p { color: var(--muted); font-size: 0.95rem; max-width: 58ch; margin-top: 0.4rem; }
.privacy-strip a.more { white-space: nowrap; font-weight: 600; }

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--bg);
}
.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 700px) {
  .site-footer .container { flex-direction: row; align-items: center; justify-content: space-between; }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.site-footer .legal-line { color: var(--muted); font-size: 0.85rem; }

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

.page-body { padding: 3.5rem 0 4.5rem; }
.page-body .container { max-width: 780px; }

.page-body h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.01em; }
.page-body .updated { color: var(--muted); font-size: 0.9rem; margin-top: 0.5rem; }

.page-body h2 { font-size: 1.35rem; font-weight: 700; margin-top: 2.5rem; }
.page-body h3 { font-size: 1.05rem; font-weight: 700; margin-top: 1.75rem; }
.page-body p { margin-top: 0.9rem; color: var(--muted); }
.page-body p strong { color: var(--text); }
.page-body ul { margin-top: 0.9rem; padding-left: 1.4rem; color: var(--muted); }
.page-body li { margin-top: 0.45rem; }
.page-body li strong { color: var(--text); }

.ph {
  background: rgba(251, 191, 36, 0.14);
  border: 1px dashed rgba(251, 191, 36, 0.5);
  border-radius: 6px;
  color: var(--gold);
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}

.callout {
  margin-top: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
}
.callout.gold { border-left-color: var(--gold); }
.callout.green { border-left-color: var(--success); }
.callout p { margin-top: 0; }
.callout p + p { margin-top: 0.6rem; }

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

.faq { margin-top: 2rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin-top: 0.75rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--text);
  padding: 1.1rem 1.25rem;
  position: relative;
  padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding: 0 1.25rem 1.1rem; margin: 0; }
.faq details p + p { padding-top: 0.6rem; }

/* ---------- 404 ---------- */

.notfound {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.notfound .code { font-size: 4.5rem; font-weight: 800; color: var(--secondary); letter-spacing: -0.02em; line-height: 1; }
.notfound h1 { font-size: 1.5rem; margin-top: 1rem; }
.notfound p { color: var(--muted); margin-top: 0.6rem; max-width: 44ch; }
.notfound a { display: inline-block; margin-top: 1.75rem; font-weight: 600; }
