/* ============================================================
   Focus Fuel — Marketing Site
   Brand: dark theme, flame-orange accent, modern type
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Color (HSL for easy manipulation) */
  --bg:            220 33% 3%;     /* near-black #050709 */
  --bg-2:          222 47% 6%;     /* #0b0f17 */
  --surface:       222 33% 9%;     /* card */
  --surface-2:     222 30% 12%;    /* raised card */
  --border:        222 22% 18%;
  --border-soft:   222 20% 14%;

  --fg:            210 40% 98%;
  --fg-muted:      215 18% 68%;
  --fg-dim:        215 14% 50%;

  --flame:         24 98% 53%;     /* #F97316 */
  --flame-deep:    20 99% 40%;     /* #CB3C01 */
  --flame-glow:    28 100% 60%;

  --success:       142 70% 45%;

  /* Gradients */
  --grad-flame: linear-gradient(135deg, hsl(28 100% 58%), hsl(20 99% 42%));
  --grad-flame-soft: linear-gradient(135deg, hsl(24 98% 53% / 0.18), hsl(20 99% 40% / 0.06));

  /* Type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  2rem;
  --fs-4xl:  2.75rem;
  --fs-5xl:  3.75rem;

  /* Spacing */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-6: 1.5rem;  --sp-8: 2rem;   --sp-10: 2.5rem; --sp-12: 3rem;
  --sp-16: 4rem;   --sp-20: 5rem;  --sp-24: 6rem;  --sp-32: 8rem;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 1140px;

  --dur-fast: 130ms;
  --dur: 220ms;
  --dur-slow: 340ms;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: hsl(var(--fg));
  background: hsl(var(--bg));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

::selection { background: hsl(var(--flame) / .3); color: hsl(var(--fg)); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}
.section { padding-block: var(--sp-24); position: relative; }
@media (max-width: 640px) { .section { padding-block: var(--sp-16); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--flame-glow));
  margin-bottom: var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--grad-flame);
  border-radius: 2px;
}

.section-head { max-width: 640px; margin-bottom: var(--sp-12); }
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, var(--fs-3xl));
  margin-bottom: var(--sp-4);
}
.section-head p { color: hsl(var(--fg-muted)); font-size: var(--fs-lg); }

.text-grad {
  background: linear-gradient(120deg, hsl(28 100% 62%), hsl(20 99% 48%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1;
  min-height: 48px;
  padding: 0 var(--sp-6);
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  color: #1a0a00;
  background: var(--grad-flame);
  box-shadow: 0 8px 30px -8px hsl(var(--flame) / .6), inset 0 1px 0 hsl(28 100% 75% / .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px hsl(var(--flame) / .7); }
.btn-ghost {
  color: hsl(var(--fg));
  background: hsl(var(--surface) / .6);
  border-color: hsl(var(--border));
}
.btn-ghost:hover { background: hsl(var(--surface-2)); border-color: hsl(var(--flame) / .5); }

/* Focus states (accessibility) */
a:focus-visible, button:focus-visible, .btn:focus-visible, summary:focus-visible {
  outline: 3px solid hsl(var(--flame-glow));
  outline-offset: 3px;
  border-radius: 8px;
}

/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 56px;
  padding: 0 var(--sp-6) 0 var(--sp-4);
  border-radius: 14px;
  background: #000;
  border: 1px solid hsl(var(--border));
  color: #fff;
  transition: transform var(--dur-fast) var(--ease), border-color var(--dur) var(--ease);
}
.appstore-badge:hover { transform: translateY(-2px); border-color: hsl(var(--flame) / .6); }
.appstore-badge svg { width: 30px; height: 30px; flex: none; }
.appstore-badge .small { font-size: 0.62rem; line-height: 1; letter-spacing: .02em; opacity: .85; text-transform: uppercase; }
.appstore-badge .big { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.1; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: hsl(var(--bg) / .72);
  border-bottom: 1px solid hsl(var(--border-soft));
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; filter: drop-shadow(0 0 14px hsl(var(--flame) / .6)); }
.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links a { color: hsl(var(--fg-muted)); font-size: var(--fs-sm); font-weight: 500; transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: hsl(var(--fg)); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }
@media (max-width: 860px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-24) var(--sp-20);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(720px 520px at 50% -10%, hsl(var(--flame) / .22), transparent 60%),
    radial-gradient(500px 400px at 85% 20%, hsl(var(--flame-deep) / .14), transparent 70%),
    hsl(var(--bg));
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(hsl(var(--fg) / .03) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--fg) / .03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(600px 400px at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(600px 400px at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--sp-16); align-items: center; }
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-12); text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-pills { justify-content: center; }
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, var(--fs-5xl));
  margin-bottom: var(--sp-6);
}
.hero .lead {
  font-size: var(--fs-lg);
  color: hsl(var(--fg-muted));
  max-width: 36ch;
  margin-bottom: var(--sp-8);
}
@media (max-width: 920px) { .hero .lead { margin-inline: auto; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; margin-bottom: var(--sp-8); }
.hero-pills { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.pill {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-sm); color: hsl(var(--fg-muted));
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid hsl(var(--border)); border-radius: 999px;
  background: hsl(var(--surface) / .5);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-flame); box-shadow: 0 0 10px hsl(var(--flame)); }

/* Hero flame visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.flame-orb {
  position: relative;
  width: min(330px, 72vw);
  aspect-ratio: 1;
  display: grid; place-items: center;
}
.flame-orb::before {
  content: "";
  position: absolute; inset: -8%;
  background: radial-gradient(circle at 50% 55%, hsl(var(--flame) / .45), transparent 62%);
  filter: blur(20px);
  animation: pulse 4.5s var(--ease) infinite;
}
.flame-orb img {
  position: relative;
  width: 78%;
  filter: drop-shadow(0 18px 50px hsl(var(--flame-deep) / .55));
  animation: float 6s var(--ease) infinite;
}
.flame-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid hsl(var(--flame) / .18);
}
.flame-ring.r2 { inset: 12%; border-color: hsl(var(--flame) / .12); }
.flame-ring.r3 { inset: 24%; border-color: hsl(var(--flame) / .08); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%,100% { opacity: .65; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---------- Logo marquee / stats strip ---------- */
.stats-strip { border-block: 1px solid hsl(var(--border-soft)); background: hsl(var(--bg-2) / .5); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  padding-block: var(--sp-10);
}
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } }
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  background: var(--grad-flame);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { font-size: var(--fs-sm); color: hsl(var(--fg-muted)); margin-top: var(--sp-1); }

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }
.card {
  position: relative;
  padding: var(--sp-8);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, hsl(var(--surface) / .9), hsl(var(--surface) / .55));
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-flame-soft); opacity: 0;
  transition: opacity var(--dur) var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-4px); border-color: hsl(var(--flame) / .4); }
.card:hover::after { opacity: 1; }
.card .icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--grad-flame-soft);
  border: 1px solid hsl(var(--flame) / .3);
  margin-bottom: var(--sp-6);
  color: hsl(var(--flame-glow));
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.card p { color: hsl(var(--fg-muted)); font-size: var(--fs-base); }
.card.feature-wide { grid-column: 1 / -1; }

/* ---------- Phone mockup gallery ---------- */
.gallery {
  display: flex;
  gap: var(--sp-8);
  overflow-x: auto;
  padding: var(--sp-4) var(--sp-2) var(--sp-8);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: hsl(var(--border)); border-radius: 8px; }
.phone {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 250px;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  padding: 10px;
  background: linear-gradient(160deg, #1c2230, #0a0d14);
  border: 1px solid hsl(var(--border));
  box-shadow: 0 30px 70px -28px #000, inset 0 1px 0 hsl(var(--fg) / .08);
  position: relative;
  transition: transform var(--dur) var(--ease);
}
.phone:hover { transform: translateY(-8px) rotate(-1deg); }
.phone .screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, hsl(var(--flame-deep) / .25), transparent 55%),
    hsl(var(--bg-2));
  display: grid;
  place-items: center;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
/* Notch */
.phone .notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 22px; border-radius: 14px; background: #05070b; z-index: 3;
}
/* Placeholder content (shown when no screenshot present) */
.phone .placeholder {
  display: grid; place-items: center; gap: var(--sp-4);
  padding: var(--sp-6); text-align: center;
}
.phone .placeholder .ph-flame { width: 54px; opacity: .9; filter: drop-shadow(0 0 18px hsl(var(--flame) / .7)); }
.phone .placeholder .ph-title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); }
.phone .placeholder .ph-sub { font-size: var(--fs-xs); color: hsl(var(--fg-dim)); }
.phone .placeholder .ph-bar { width: 70%; height: 8px; border-radius: 6px; background: hsl(var(--surface-2)); }
.phone .placeholder .ph-bar.w50 { width: 50%; }
/* When an <img> loads, hide its sibling placeholder */
.phone .screen img:not([src=""]) { z-index: 2; }
.gallery-hint { text-align: center; color: hsl(var(--fg-dim)); font-size: var(--fs-sm); margin-top: var(--sp-2); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: var(--sp-8);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface) / .5);
  position: relative;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: hsl(var(--flame));
  -webkit-text-stroke: 0;
  margin-bottom: var(--sp-4);
  display: block;
}
.step h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.step p { color: hsl(var(--fg-muted)); font-size: var(--fs-sm); }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  align-items: stretch;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  display: flex; flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface) / .55);
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: hsl(var(--flame) / .6);
  background: linear-gradient(180deg, hsl(var(--flame) / .1), hsl(var(--surface) / .6));
  box-shadow: 0 24px 60px -28px hsl(var(--flame) / .5);
}
.price-card .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3); border-radius: 999px;
  background: var(--grad-flame); color: #1a0a00; white-space: nowrap;
}
.price-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.price-card .amount { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 700; }
.price-card .per { font-size: var(--fs-sm); color: hsl(var(--fg-dim)); }
.price-card .blurb { font-size: var(--fs-sm); color: hsl(var(--fg-muted)); margin: var(--sp-4) 0 var(--sp-6); }
.price-card ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); margin-bottom: var(--sp-8); flex: 1; }
.price-card li { display: flex; gap: var(--sp-2); font-size: var(--fs-sm); color: hsl(var(--fg-muted)); }
.price-card li svg { width: 18px; height: 18px; flex: none; color: hsl(var(--success)); margin-top: 2px; }
.price-card .btn { width: 100%; }
.pricing-note { text-align: center; color: hsl(var(--fg-dim)); font-size: var(--fs-sm); margin-top: var(--sp-8); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq details {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-sm);
  background: hsl(var(--surface) / .5);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}
.faq details[open] { border-color: hsl(var(--flame) / .4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-lg);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  width: 20px; height: 20px; flex: none;
  transition: transform var(--dur) var(--ease);
  color: hsl(var(--flame-glow));
}
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--sp-6) var(--sp-6); color: hsl(var(--fg-muted)); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, hsl(var(--flame) / .28), transparent 65%),
    linear-gradient(180deg, hsl(var(--surface-2)), hsl(var(--bg-2)));
  border: 1px solid hsl(var(--flame) / .3);
  box-shadow: 0 40px 90px -40px hsl(var(--flame) / .5);
}
.cta-card h2 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); margin-bottom: var(--sp-4); }
.cta-card p { color: hsl(var(--fg-muted)); font-size: var(--fs-lg); max-width: 44ch; margin: 0 auto var(--sp-8); }
.cta-card .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid hsl(var(--border-soft));
  background: hsl(var(--bg-2) / .6);
  padding-block: var(--sp-16) var(--sp-10);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); } }
.footer-brand p { color: hsl(var(--fg-muted)); font-size: var(--fs-sm); max-width: 40ch; margin-top: var(--sp-4); }
.footer-col h4 {
  font-family: var(--font-display); font-size: var(--fs-sm); text-transform: uppercase;
  letter-spacing: .1em; color: hsl(var(--fg-dim)); margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; display: grid; gap: var(--sp-3); }
.footer-col a { color: hsl(var(--fg-muted)); font-size: var(--fs-sm); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: hsl(var(--flame-glow)); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding-top: var(--sp-8); border-top: 1px solid hsl(var(--border-soft));
  color: hsl(var(--fg-dim)); font-size: var(--fs-sm);
}

/* ---------- Legal / content pages ---------- */
.page-hero {
  padding-block: var(--sp-20) var(--sp-12);
  border-bottom: 1px solid hsl(var(--border-soft));
  background: radial-gradient(700px 300px at 50% -20%, hsl(var(--flame) / .14), transparent 60%);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, var(--fs-4xl)); margin-bottom: var(--sp-3); }
.page-hero p { color: hsl(var(--fg-muted)); }
.prose { max-width: 760px; margin-inline: auto; padding-block: var(--sp-16); }
.prose h2 {
  font-size: var(--fs-2xl); margin-top: var(--sp-12); margin-bottom: var(--sp-4);
  padding-top: var(--sp-4);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-xl); margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.prose p, .prose li { color: hsl(var(--fg-muted)); margin-bottom: var(--sp-4); }
.prose ul { padding-left: var(--sp-6); margin-bottom: var(--sp-4); }
.prose li { margin-bottom: var(--sp-2); }
.prose a { color: hsl(var(--flame-glow)); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: hsl(var(--flame)); }
.prose strong { color: hsl(var(--fg)); }
.callout {
  border: 1px solid hsl(var(--flame) / .3);
  background: var(--grad-flame-soft);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
  margin-block: var(--sp-8);
}
.callout p:last-child { margin-bottom: 0; }
.toc {
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface) / .4);
  border-radius: var(--radius-sm);
  padding: var(--sp-6);
  margin-bottom: var(--sp-12);
}
.toc h4 { font-family: var(--font-display); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: hsl(var(--fg-dim)); margin-bottom: var(--sp-3); }
.toc ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.toc a { color: hsl(var(--fg-muted)); font-size: var(--fs-sm); text-decoration: none; }
.toc a:hover { color: hsl(var(--flame-glow)); }

/* Support contact card */
.contact-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-6);
  padding: var(--sp-8);
  border-radius: var(--radius);
  border: 1px solid hsl(var(--flame) / .3);
  background: var(--grad-flame-soft);
  margin-bottom: var(--sp-12);
}
.contact-card .ct-mail { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 600; }
.contact-card .ct-mail a { color: hsl(var(--flame-glow)); text-decoration: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: hsl(var(--flame)); color: #1a0a00; padding: var(--sp-3) var(--sp-4);
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
