/* Reserve EMC — getreserveapp.com shared stylesheet
   Design language matches the app: deep navy, teal accent, amber warmth. */

:root {
  --bg: #0A0E1A;
  --surface: #141925;
  --surface-raised: #1E2433;
  --text: #F0F2F5;
  --text-2: #8B92A8;
  --text-3: #5A6180;
  --teal: #4ECDC4;
  --teal-muted: #3BA99E;
  --amber: #F7B731;
  --green: #2ECC71;
  --blue: #3498DB;
  --red: #E74C3C;
  --border: #1E2433;
  --maxw: 1080px;
  --measure: 46rem; /* readable line length for article text */
  --r: 20px;
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Ambient glow */
.glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60vw 60vw at 75% -10%, rgba(78,205,196,0.10), transparent 60%),
    radial-gradient(50vw 50vw at 10% 20%, rgba(247,183,49,0.06), transparent 55%);
}
.content { position: relative; z-index: 1; }

/* ── Nav ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; max-width: var(--maxw); margin: 0 auto; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal); }
.nav-links { display: flex; gap: 26px; color: var(--text-2); font-size: 15px; align-items: center; }
.nav-links a { color: var(--text-2); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--text); }

.btn {
  display: inline-block; padding: 13px 22px; border-radius: 14px; font-weight: 600; font-size: 15px;
  background: var(--teal); color: #07120F; transition: transform .15s ease, box-shadow .2s ease;
  box-shadow: 0 6px 24px rgba(78,205,196,0.25); border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(78,205,196,0.35); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--teal-muted); }

@media (max-width: 720px) { .nav-links { display: none; } }

/* ── Type ── */
h1 { font-size: clamp(34px, 5.5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h1 .accent { color: var(--teal); }
h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.025em; line-height: 1.12; font-weight: 800; }
h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.02em; font-weight: 700; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--teal);
  letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  padding: 7px 14px; border: 1px solid rgba(78,205,196,0.25); border-radius: 999px; background: rgba(78,205,196,0.06);
}
.section-eyebrow { color: var(--teal); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; }
.lede { font-size: clamp(17px, 2.2vw, 21px); color: var(--text-2); }
.section-lede { color: var(--text-2); font-size: 18px; }

section { padding: 56px 0; }

/* ── Buttons row ── */
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-note { color: var(--text-3); font-size: 14px; margin-top: 16px; }

/* ── Cards ── */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 26px;
  transition: border-color .2s ease, transform .2s ease; display: block; color: var(--text);
}
.card:hover { border-color: var(--teal-muted); transform: translateY(-2px); text-decoration: none; }
.card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; font-size: 20px; }
.card h4 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }

/* ── Article (long-form) ── */
.article { max-width: var(--measure); margin: 0 auto; padding: 40px 24px 24px; }
.article .kicker { color: var(--teal); font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 14px; }
.article h1 { margin-bottom: 18px; }
.article .byline { color: var(--text-2); font-size: 15px; font-style: italic; margin-bottom: 8px; }
.article .disclaimer { color: var(--text-3); font-size: 14px; border-left: 2px solid var(--border); padding-left: 14px; margin: 22px 0 8px; font-style: italic; }
.article h2 { font-size: clamp(22px, 3vw, 30px); margin: 44px 0 14px; }
.article h3 { font-size: 20px; margin: 30px 0 10px; color: var(--text); }
.article p { margin: 0 0 18px; font-size: 18px; color: #DCE0EA; }
.article strong { color: var(--text); font-weight: 700; }
.article em { color: var(--text); }
.article hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.article a { color: var(--teal); }
.article ul, .article ol { margin: 0 0 18px 22px; color: #DCE0EA; font-size: 18px; }
.article li { margin-bottom: 8px; }

/* Footnote references */
.footnotes { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.footnotes h2 { font-size: 20px; color: var(--text); margin-bottom: 16px; }
.footnotes ol { margin-left: 20px; }
.footnotes li { margin-bottom: 12px; line-height: 1.5; }
sup.fnref { font-size: 0.7em; vertical-align: super; line-height: 0; }
sup.fnref a { padding: 0 1px; }

/* In-article product callout */
.callout {
  background: linear-gradient(160deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border); border-radius: var(--r); padding: 24px; margin: 32px 0;
}
.callout p { font-size: 16px; color: var(--text-2); margin-bottom: 14px; }

/* ── Founder / quote block ── */
.founder {
  background: linear-gradient(160deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border); border-radius: 28px; padding: clamp(28px, 5vw, 48px);
  margin: 32px 0;
}
.founder .avatar {
  width: 84px; height: 84px; border-radius: 50%; margin-bottom: 16px;
  background: radial-gradient(circle at 35% 30%, var(--teal-muted), var(--surface-raised));
  border: 1px solid var(--border); display: grid; place-items: center; font-size: 32px;
}

/* ── Privacy band ── */
.privacy-band { text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(78,205,196,0.03); }
.privacy-points { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.privacy-points div { font-size: 15px; display: flex; align-items: center; gap: 10px; }
.privacy-points .chk { color: var(--teal); font-weight: 700; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 22px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
.step .n { color: var(--teal); font-weight: 800; font-size: 14px; letter-spacing: 0.05em; margin-bottom: 10px; }
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 14px; }

/* ── Form ── */
.form { max-width: 560px; margin-top: 24px; }
.form label { display: block; font-size: 14px; color: var(--text-2); margin: 16px 0 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 15px; font-family: inherit;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal-muted); }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { margin-top: 20px; }

/* ── FAQ ── */
.faq { max-width: var(--measure); margin: 0 auto; }
.faq details {
  border: 1px solid var(--border); border-radius: 14px; background: var(--surface);
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: 16px 0 20px; color: var(--text-2); font-size: 16px; }
.faq .answer p { margin-bottom: 12px; }
.faq .answer ol, .faq .answer ul { margin: 0 0 12px 20px; }
.faq .answer li { margin-bottom: 6px; }

/* ── Hero (home) ── */
header.hero { padding: 48px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.wheel-card {
  background: linear-gradient(160deg, var(--surface-raised), var(--surface));
  border: 1px solid var(--border); border-radius: 28px; padding: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.wheel-card h3 { font-size: 14px; color: var(--text-2); font-weight: 600; margin-bottom: 4px; }
.wheel-card .zone { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); margin-bottom: 14px; }
.zone .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
svg .ring { stroke: rgba(139,146,168,0.18); fill: none; stroke-width: 1; }
svg .axis { stroke: rgba(139,146,168,0.12); stroke-width: 1; }
svg .shape { fill: rgba(78,205,196,0.18); stroke: var(--teal); stroke-width: 2; }
svg .vert { fill: var(--teal); }
svg .vert.up { fill: var(--amber); }
svg .lbl { fill: var(--text-2); font-size: 9px; font-family: inherit; }

.final { text-align: center; background: radial-gradient(60vw 40vw at 50% 0%, rgba(78,205,196,0.12), transparent 60%); }
.final h2 { margin: 0 auto 18px; max-width: 22ch; }
.final .section-lede { margin: 0 auto 30px; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-3); font-size: 14px; margin-top: 40px; }
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-3); }
.foot-links a:hover { color: var(--text); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.page-head { padding: 48px 0 8px; }
.page-head .lede { max-width: 60ch; margin-top: 14px; }
