/* FuelCert Solutions — shared design system (makeover 2026-10).
 * Used by every page except the two exam apps. index.html inlines the same tokens.
 * Rule: no one-off hex values in pages — use these tokens.
 */
:root {
  --bg: #090C12; --surface: #111520; --surface-2: #151B29; --border: #232840;
  --navy: #0E233E; --navy-2: #132B4C;
  --green: #3BB54A; --green-dk: #2E9940; --green-lt: #45C455; --green-hi: #4ADE80; --on-green: #04140A;
  --amber: #F59E0B; --blue: #3B82F6; --danger: #F87171; --danger-bg: rgba(248,113,113,0.1);
  --text: #E2E8F0; --text-dim: #8896AA; --text-soft: #AEB9CA; --muted:    #7A8699; --muted-2: #8A96A9;
  --line: rgba(255,255,255,0.08); --line-hi: rgba(255,255,255,0.18);
  --r-sm: 10px; --r: 14px; --r-lg: 20px; --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow-1: inset 0 1px 0 rgba(255,255,255,0.04), 0 14px 34px -14px rgba(0,0,0,0.65);
  --glow-green: 0 0 0 1px rgba(59,181,74,0.35), 0 12px 40px -10px rgba(59,181,74,0.45);
  --glow-green-hi: 0 0 0 1px rgba(59,181,74,0.55), 0 16px 54px -8px rgba(59,181,74,0.6);
  --glow-amber: 0 0 0 1px rgba(245,158,11,0.35), 0 12px 40px -12px rgba(245,158,11,0.35);
  --glow-blue: 0 0 0 1px rgba(59,130,246,0.35), 0 12px 40px -12px rgba(59,130,246,0.4);
  --f-display: 'Bebas Neue', sans-serif; --f-body: 'Barlow', sans-serif; --f-cond: 'Barlow Condensed', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--f-body); background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.5; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* ── NAV ── */
.site-nav { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gutter); height: 72px; background: rgba(9,12,18,0.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.site-nav .nav-logo { display: flex; align-items: center; text-decoration: none; }
.site-nav .nav-logo img { height: 40px; width: auto; display: block; }
.site-nav .nav-links { display: flex; gap: 2rem; list-style: none; margin-left: auto; }
.site-nav .nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s var(--ease); }
.site-nav .nav-links a:hover, .site-nav .nav-links a[aria-current="page"] { color: var(--amber); }
.site-nav .nav-cta { min-height: 40px; padding: 0 1.1rem; font-size: 0.8rem; }
@media (max-width: 860px) { .site-nav .nav-links { display: none; } }
@media (max-width: 600px) { .site-nav { height: 60px; } .site-nav .nav-logo img { height: 34px; } }

/* ── LOGO SHINE (slow sweep, masked to the logo shape) ── */
.shine { position: relative; display: inline-block; }
.shine::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,0.5) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat;
  animation: shine 9s var(--ease) 1.6s infinite; }
@keyframes shine { 0% { background-position: 160% 0; } 24%, 100% { background-position: -60% 0; } }

/* ── BUTTONS (hover lights up, click fills in) ── */
.btn-hero { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px; padding: 0 1.7rem;
  border-radius: 12px; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: var(--f-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.07em; text-transform: uppercase;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease); }
.btn-go { background: var(--green); color: var(--on-green); box-shadow: var(--glow-green); }
.btn-go:hover { background: var(--green-lt); box-shadow: var(--glow-green-hi); }
.btn-go:active { background: var(--green-dk); }
.btn-ghost { background: rgba(255,255,255,0.04); border-color: var(--line-hi); color: var(--text); }
.btn-ghost:hover { border-color: rgba(245,158,11,0.6); background: rgba(245,158,11,0.08); color: #fff; box-shadow: var(--glow-amber); }
.btn-ghost:active { background: rgba(245,158,11,0.2); }

/* ── LAYOUT + TYPE ── */
.section { position: relative; padding: clamp(56px, 8vw, 96px) var(--gutter); }
.section.alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.inner { max-width: 1120px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.eyebrow { font-family: var(--f-cond); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amber); margin-bottom: 0.6rem; }
.eyebrow.green { color: var(--green-hi); } .eyebrow.blue { color: var(--blue); }
.page-h1 { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.95; letter-spacing: 0.02em; }
.page-h1 .hl { color: var(--amber); } .page-h1 .go { color: var(--green-hi); }
.sec-h { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 0.97; margin-bottom: 0.9rem; }
.sec-sub, .lead { font-size: clamp(1rem, 1.6vw, 1.1rem); color: var(--text-soft); max-width: 640px; line-height: 1.65; }
.page-hero { padding: clamp(56px, 9vw, 110px) var(--gutter) clamp(40px, 6vw, 72px); text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(19,43,76,0.75), transparent 70%); }
.page-hero .lead { margin: 1.1rem auto 0; }
.page-hero .ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.8rem; }

/* ── CARDS ── */
.card { background: linear-gradient(180deg, rgba(19,43,76,0.35), rgba(17,21,32,0.95)); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-1); }
.card h3 { font-family: var(--f-cond); font-size: 1.15rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.4rem; }
.card p, .card li { color: var(--text-soft); line-height: 1.6; font-size: 0.97rem; }
.card.hl-green { border-color: rgba(59,181,74,0.42); box-shadow: 0 0 0 1px rgba(59,181,74,0.14), 0 18px 54px -20px rgba(59,181,74,0.55); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.8rem; border-radius: var(--r-pill); font-size: 0.8rem; font-weight: 600;
  background: rgba(59,181,74,0.1); border: 1px solid rgba(59,181,74,0.38); color: #CDEFD2; }
.chip.amber { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.4); color: #FDE3B0; }
.stat { text-align: center; } .stat .n { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stat .l { font-family: var(--f-cond); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--text-dim); margin-top: 0.4rem; }

/* ── PROSE (privacy, terms, guides) ── */
.prose { color: var(--text-soft); line-height: 1.75; font-size: 1rem; }
.prose h2 { font-family: var(--f-cond); font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 2.2rem 0 0.6rem; letter-spacing: 0.02em; }
.prose h3 { font-size: 1.05rem; color: var(--text); margin: 1.4rem 0 0.4rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; } .prose ul, .prose ol { padding-left: 1.3rem; }
.prose a { color: var(--green-hi); } .prose strong { color: var(--text); }

/* ── FAQ ── */
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 10px; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.faq details:hover { border-color: var(--line-hi); }
.faq details[open] { border-color: rgba(59,181,74,0.4); box-shadow: 0 10px 34px -18px rgba(59,181,74,0.5); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--green-hi); flex: none; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 1.2rem 1.15rem; color: var(--text-soft); line-height: 1.65; }

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); padding: 2.6rem var(--gutter) 2rem; }
.site-footer .row { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; }
.site-footer .brand img { height: 36px; width: auto; display: block; }
.site-footer .tag { font-family: var(--f-cond); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.24em; margin-top: 8px; color: var(--text); }
.site-footer .tag .t2 { color: var(--green-hi); } .site-footer .tag .t3 { color: var(--amber); }
.site-footer .copy { font-size: 0.82rem; color: var(--muted-2); margin-top: 0.8rem; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; }
.site-footer h4, .site-footer .fh { font-family: var(--f-cond); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer ul a { font-size: 0.85rem; color: var(--text-soft); text-decoration: none; transition: color 0.2s var(--ease); }
.site-footer ul a:hover { color: var(--amber); }
.site-footer .disc { max-width: 1120px; margin: 1.8rem auto 0; font-size: 0.8rem; color: var(--muted-2); line-height: 1.6; }

/* ── MOTION ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; }
}
