/* Fuel Gal marketing site — Fuel Gal brand tokens (identity-tokens.json).
   Palette per ADR 0050: navy is the interactive colour, brand green is
   identity-only (graphics, marks, rules — never body text). On dark navy the
   green is lifted to --accent-on-dark for contrast. Self-contained: no build
   step, no external fonts/CDN. Deployed as the pmo-connect-marketing Static
   Web App (ADR 0048). */

:root {
  --primary: #112F45;        /* Fuel Gal Navy — interactive, 13.85:1 on white */
  --ink-900: #0C2233;        /* Navy 900 — hero / nav / footer ground */
  --accent: #009245;         /* Fuel Gal Green — IDENTITY ONLY */
  --accent-on-dark: #22B45F; /* green lifted for use on navy */
  --accent-text: #007C3B;    /* accessible green text on light — 5.32:1 */
  --secondary: #354E61;      /* Navy 700 — structural surfaces */
  --charcoal: #112F45;       /* deprecated alias (ADR 0050); use --primary */
  --surface: #FFFFFF;
  --surface-2: #F3F6F7;
  --n100: #E7ECEF;
  --n200: #D5DDE2;
  --n400: #A2B0B9;
  --n500: #8697A3;
  --n700: #53626D;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  --maxw: 1180px;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
  --stripes: repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 1px, transparent 1px 9px);
  font-family: var(--sans);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--primary);
  background: var(--surface);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* ---- Top nav ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12,34,51,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: #fff;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #fff;
}
.wordmark::before {
  content: '';
  width: 30px;
  height: 30px;
  flex: none;
  margin-right: 11px;
  background: url(mark.svg) no-repeat center / contain;
}
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--accent-on-dark); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  /* The text box alone is ~20px tall — under the 24px WCAG 2.5.8 floor and the
     44px touch target. The nav is 68px, so this costs nothing visually. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links a.cta {
  color: var(--ink-900);
  background: #fff;
  padding: 9px 16px;
  border-radius: 6px;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--ink-900);
  color: #fff;
  padding: 108px 0 34px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--stripes);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 64px;
  right: -180px;
  width: 620px;
  height: 620px;
  background: url(mark-watermark.svg) no-repeat center / contain;
  opacity: 0.16;
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.62);
  font-weight: 400;
  margin: 0 0 30px;
}
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent-on-dark);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7.2vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  max-width: 15ch;
  text-wrap: balance;
}
.hero .tagline {
  position: relative;
  margin: 34px 0 0;
  padding-left: 25px;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,.80);
  max-width: 660px;
  text-wrap: pretty;
}
.hero .tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: var(--radius-full);
  background: linear-gradient(var(--accent-on-dark), rgba(34,180,95,0));
}

/* ---- Hero access panel ----
   Replaces the old fake store badges. Fuel Gal has no public listing, and both
   Apple and Google prohibit reconstructing their badge art — so this states the
   real access path instead of imitating a download button. All contrast values
   below are measured against the panel ground (#0C2233 lifted 5% by the fill,
   ~#182D3D), not against --ink-900 directly. */
.access {
  max-width: 560px;
  margin: 42px 0 0;
  padding: 26px 28px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
}
.access-eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-on-dark);  /* 5.24:1 on the panel ground */
}
.access-lede {
  margin: 14px 0 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
.access-body {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);  /* 8.05:1 */
  text-wrap: pretty;
}
.access-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
}
.access-cta,
.access-alt {
  /* 44px floor: these are the hero's primary actions and are thumb-tapped on
     a phone. Padding alone leaves .access-alt at ~20px (cf. .nav-links a). */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.access-cta {
  background: #fff;
  color: var(--ink-900);
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.access-cta:hover { background: var(--n100); text-decoration: none; }
.access-alt {
  gap: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 600;
}
.access-alt::after { content: '\2192'; }
.access-alt:hover { color: #fff; }
.access-meta {
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);  /* 5.36:1 */
}

/* light-background button variant */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: var(--radius-md);
}
.btn:hover { background: var(--ink-900); text-decoration: none; }
.btn span { color: var(--accent-on-dark); }
.btn.ghost { background: transparent; color: var(--primary); border: 1px solid var(--n200); }
.btn.ghost:hover { background: transparent; border-color: var(--primary); }

/* ---- Hero fact strip ---- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 76px 0 0;
  background: rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.14);
}
.facts > div { background: var(--ink-900); padding: 22px; }
.facts > div:first-child { padding-left: 0; }
.facts dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent-on-dark);
  margin-bottom: 8px;
}
.facts dd { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.66); }

/* ---- Sections ---- */
section { padding: clamp(72px, 9vw, 128px) 0; }
section h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
section .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--n700);
  max-width: 52ch;
  margin: 0 0 32px;
  text-wrap: pretty;
}

/* two-column: sticky intro + feature list */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.split .intro { position: sticky; top: 108px; }

/* Field photography and product imagery. */
.shot {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--n200);
  border-radius: var(--radius-lg);
  background-color: var(--surface-2);
}
.shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shot figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(transparent, rgba(12,34,51,.86));
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}
.shot.wide { aspect-ratio: 4 / 3; margin-top: 32px; }
.shot.inline { height: 168px; margin-top: 20px; }
.shot.inline img {
  /* The supplied screenshot includes blurred mirrored side extensions. Zooming
     the original source removes them without redrawing or changing Portal UI. */
  transform: scale(1.44);
  transform-origin: center;
}

/* numbered feature rows (replaces the old .cards grid) */
.rows { display: flex; flex-direction: column; }
.rows > li {
  list-style: none;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 4px 18px;
  padding: 30px 0 34px;
  border-top: 1px solid var(--n200);
}
.rows > li:first-child { border-top: 1px solid var(--primary); }
.rows > li:last-child { border-bottom: 1px solid var(--n200); }
.rows { margin: 0; padding: 0; }
.rows .idx {
  grid-row: span 3;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  /* --accent-on-dark is a dark-ground value: 2.71:1 here. On white, green text
     must be --accent-text (5.32:1). Measured, not assumed. */
  color: var(--accent-text);
  padding-top: 5px;
}
.rows h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 700; margin: 0 0 10px; }
.rows p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--n700); max-width: 46ch; }

/* ---- Dark band: response stages ---- */
.band {
  position: relative;
  background: var(--primary);
  color: #fff;
  overflow: hidden;
}
.band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--stripes);
  pointer-events: none;
}
.band .wrap { position: relative; }
.band .mono { color: var(--accent-on-dark); }
.band .lead { color: rgba(255,255,255,.72); max-width: 58ch; margin-bottom: clamp(44px, 5vw, 64px); }

.stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stages > li { list-style: none; background: var(--ink-900); padding: 26px 24px 30px; }
.stages .tick { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.stages .tick::before {
  content: '';
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: var(--radius-full);
  background: var(--accent-on-dark);
}
.stages .tick::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
.stages > li:last-child .tick::after { background: transparent; }
.stages dl { margin: 0; }
.stages dt {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}
.stages h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 8px; }
.stages p { margin: 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.62); }

/* ---- Access panel ---- */
.panel {
  border: 1px solid var(--n200);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.panel .copy { padding: clamp(34px, 4vw, 54px); }
.panel h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; margin-bottom: 16px; }
.panel .lead { margin-bottom: 30px; max-width: 48ch; }
.panel .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.panel .art {
  position: relative;
  background: var(--ink-900);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panel .art::before { content: ''; position: absolute; inset: 0; background-image: var(--stripes); }
.panel .art img { position: relative; width: 132px; height: 132px; }

/* ---- Legal / content pages ---- */
.doc { padding: clamp(56px, 7vw, 88px) 0 96px; }
.doc .wrap { max-width: 820px; }
.doc h1 {
  font-size: clamp(34px, 4.5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.doc .meta {
  font-family: var(--mono);
  color: var(--n700);       /* --n500 is 3.01:1 on white; --n700 is 6.30:1 */
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--n200);
}
.doc h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--n100);
  max-width: none;
}
.doc h2::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 14px;
}
.doc h3 {
  color: var(--ink-900);
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 28px 0 8px;
}
.doc p, .doc li { color: #2a3a45; font-size: 16.5px; line-height: 1.65; text-wrap: pretty; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--n400); }
.doc a { text-decoration: underline; text-decoration-color: var(--n400); text-underline-offset: 3px; }
.draft-banner {
  background: #FEF6E0;
  border: 1px solid #F0D9A0;
  border-left: 3px solid #C98A00;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin: 0 0 36px;
  font-size: 14px;
  line-height: 1.55;
  color: #6b4e00;
}
.draft-banner strong { letter-spacing: 0.04em; }

/* ---- Footer ---- */
footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.6);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 28px;
}
footer .wordmark { font-size: 17px; color: #fff; }
footer .wordmark::before { width: 26px; height: 26px; margin-right: 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer nav a { display: inline-flex; align-items: center; min-height: 24px; }
footer a { color: rgba(255,255,255,.78); }
footer .company {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.42);
}

@media (max-width: 1000px) {
  .stages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .stages, .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 72px; }
  .hero::after { right: -220px; top: 120px; opacity: 0.10; }
  .facts { margin-top: 56px; }
  .facts > div:first-child { padding-left: 22px; }
  .split .intro { position: static; }
  .nav-links { gap: 16px; }
  .doc h1 { font-size: 32px; }
}

@media (max-width: 600px) {
  .nav .wrap { padding: 0 18px; }
  .nav-links { gap: 8px; }
  .nav-links a:not(.cta) { display: none; }
  .nav-links a.cta { padding: 8px 12px; }
}
