/* Axis Fuel website. Colours from docs/brand.md. */
:root {
  --ink: #201E1D;
  --night: #151413;
  --flame: #EC3013;
  --flame-600: #D92B10;
  --flame-700: #B8240D;
  --flame-300: #FF7A5C;
  --amber: #F5A623;
  --paper: #FAF7F2;
  --sand: #F1ECE4;
  --stone: #BDB6AD;

  --bg: var(--paper);
  --bg-2: var(--sand);
  --fg: var(--ink);
  --fg-2: #5C5651;
  --line: #E2DBD1;
  --surface: #FFFFFF;
  --link: var(--flame-700);

  --display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1200px;
  --gutter: 20px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--night);
    --bg-2: #1C1A19;
    --fg: #F3EFE9;
    --fg-2: #B5AEA6;
    --line: #2F2C2A;
    --surface: #1F1D1C;
    --link: var(--flame-300);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; border-radius: 8px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

/* Logo */
.logo { display: inline-flex; flex: none; }
.logo img { width: 112px; height: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: background-color .15s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--flame-600); color: #fff; }
.btn-primary:hover { background: var(--flame-700); }
.btn-wa { background: #25D366; color: #0B2E19; }
.btn-wa:hover { background: #1EBE5A; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; }
.link-arrow { font-weight: 600; color: var(--fg); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.site-nav { display: none; gap: 28px; margin-left: auto; }
.site-nav a { color: var(--fg-2); font-weight: 500; font-size: 15px; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.site-head .btn { margin-left: auto; }
@media (min-width: 900px) { .site-nav { display: flex; } .site-head .btn { margin-left: 0; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.h2 { font-size: clamp(32px, 5vw, 48px); }
.lead { font-size: 18px; color: var(--fg-2); max-width: 36em; }
.head { display: grid; gap: 16px; margin-bottom: 56px; max-width: 720px; }

/* Hero */
.hero { padding: 56px 0 72px; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8.6vw, 78px); line-height: 1.02; }
.hero .lead { margin-top: 20px; font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.hero-note { margin-top: 20px; font-size: 15px; color: var(--fg-2); }
.hero-phone { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero { padding: 80px 0 112px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; }
}

/* QR card */
.qr-card { display: none; align-items: center; gap: 18px; margin-top: 40px; padding: 16px 20px 16px 16px; max-width: 380px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.qr-card img { width: 88px; height: 88px; flex: none; padding: 6px; border-radius: 8px; background: #fff; }
.qr-card b { display: block; font: 600 16px/1.3 var(--display); }
.qr-card span { font-size: 14px; color: var(--fg-2); }
@media (min-width: 900px) { .qr-card { display: flex; } }

/* WhatsApp phone mockup: WhatsApp for iOS, dark mode, matched to WhatsApp's own App Store
   screenshots (colours sampled from them). Sizes are iPhone points x 0.7226 (284 px wide). */
.wa-phone { position: relative; width: 304px; flex: none; padding: 10px; border-radius: 50px; background: #000; box-shadow: 0 0 0 1px #2A2A2A, 0 30px 70px -30px rgba(0, 0, 0, .55); }
.wa-screen { position: relative; display: flex; flex-direction: column; height: 616px; overflow: hidden; border-radius: 40px; background: #0A0A0A url(/assets/wa-wallpaper-dark.svg); color: #fff; font: 400 12.3px/1.3 -apple-system, 'SF Pro Text', 'Helvetica Neue', Helvetica, system-ui, sans-serif; letter-spacing: -0.15px; -webkit-font-smoothing: antialiased; }
.wa-status { display: flex; justify-content: space-between; align-items: center; height: 39px; flex: none; padding: 4px 22px 0 34px; background: #121313; color: #fff; }
.wa-time { font-size: 12.3px; font-weight: 600; letter-spacing: -0.2px; }
.wa-sys { display: flex; align-items: center; gap: 4px; }
.wa-sys svg { width: 13px; height: 9px; }
.wa-sys .wa-batt { width: 19px; height: 9px; }
.wa-head { display: flex; align-items: center; gap: 7px; flex: none; height: 36px; padding: 0 14px 4px 6px; background: #121313; border-bottom: .5px solid rgba(255, 255, 255, .06); }
.wa-chev { width: 17px; height: 17px; color: #fff; flex: none; }
.wa-head img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.wa-who { flex: 1; min-width: 0; line-height: 1.2; }
.wa-who b { display: block; font-size: 12.3px; font-weight: 500; }
.wa-who small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 9.4px; color: rgba(235, 235, 245, .6); }
.wa-acts { display: flex; gap: 18px; color: #fff; }
.wa-acts svg { width: 17px; height: 17px; }
.wa-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 8px 8px 6px; overflow: hidden; }
.wa-day { align-self: center; margin: 2px 0 6px; padding: 2px 8px; border-radius: 7px; background: #1D1F1F; font-size: 8.7px; font-weight: 500; color: rgba(235, 235, 245, .6); }
.wa-msg { position: relative; max-width: 80%; padding: 5px 8px 4px; border-radius: 12px; background: #232626; white-space: pre-line; overflow-wrap: anywhere; }
.wa-msg.in { align-self: flex-start; }
.wa-msg.out { align-self: flex-end; background: #004F35; }
.wa-msg.tail.in { border-bottom-left-radius: 4px; }
.wa-msg.tail.out { border-bottom-right-radius: 4px; }
.wa-msg + .wa-msg.tail { margin-top: 5px; }
.wa-msg b { font-weight: 600; }
.wa-meta { float: right; display: inline-flex; align-items: center; gap: 2px; margin: 5px 0 -2px 8px; font-size: 8.3px; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.wa-meta svg { width: 12px; height: 8px; color: #53BDEB; }
.wa-btns { display: grid; margin: 6px -8px -4px; border-top: .5px solid rgba(255, 255, 255, .1); }
.wa-btns span { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 6px; color: #21C063; font-size: 12.3px; }
.wa-btns span + span { border-top: .5px solid rgba(255, 255, 255, .1); }
.wa-btns svg { width: 12px; height: 12px; }
.wa-map { position: relative; display: block; width: 178px; height: 96px; margin: -1px -4px 5px; border-radius: 8px; background:
  linear-gradient(90deg, transparent 46%, #3A3F44 46%, #3A3F44 51%, transparent 51%),
  linear-gradient(0deg, transparent 58%, #3A3F44 58%, #3A3F44 63%, transparent 63%),
  linear-gradient(28deg, transparent 30%, #4A4630 30%, #4A4630 34%, transparent 34%),
  #22272B; }
.wa-map svg { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; transform: translate(-50%, -85%); color: #FF3B30; }
.wa-code { display: block; margin: 3px 0; font-size: 17px; font-weight: 700; letter-spacing: .16em; }
.wa-foot { flex: none; background: #232626; }
.wa-input { display: flex; align-items: center; gap: 12px; padding: 6px 12px 2px; color: #fff; }
.wa-input > svg { width: 18px; height: 18px; flex: none; }
.wa-field { flex: 1; display: flex; align-items: center; height: 25px; padding: 0 6px 0 10px; border-radius: 13px; background: #393C3C; }
.wa-field span { flex: 1; }
.wa-field svg { width: 14px; height: 14px; color: #fff; }
.wa-home { display: block; width: 97px; height: 4px; margin: 9px auto 6px; border-radius: 2px; background: #fff; }

/* Reel of screens */
.reel-wrap { position: relative; }
.reel { display: grid; grid-auto-flow: column; grid-auto-columns: 304px; gap: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 2px 24px; scrollbar-width: none; }
.reel::-webkit-scrollbar { display: none; }
.reel figure { display: grid; gap: 22px; scroll-snap-align: start; }
.reel figcaption b { display: block; margin-bottom: 4px; font: 700 13px/1 var(--body); color: var(--flame); }
.reel figcaption h3 { font-size: 20px; margin-bottom: 6px; }
.reel figcaption p { font-size: 15px; color: var(--fg-2); }
.reel-nav { display: flex; gap: 10px; margin-top: 8px; }
.reel-nav button { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--fg); cursor: pointer; }
.reel-nav button:hover { border-color: var(--fg); }
.reel-nav svg { width: 18px; height: 18px; }

/* Feature trio (one phone per step) */
.trio { display: grid; gap: 64px; }
.trio figure { display: grid; justify-items: center; gap: 28px; }
.trio figcaption { max-width: 320px; text-align: center; }
.trio h3 { font-size: 22px; margin-bottom: 8px; }
.trio p { color: var(--fg-2); }
@media (min-width: 1040px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Points (plain text grid) */
.points { display: grid; gap: 32px; }
.points li { padding-top: 20px; border-top: 2px solid var(--fg); }
.points h3 { font-size: 20px; margin-bottom: 8px; }
.points p { color: var(--fg-2); }
@media (min-width: 700px) { .points { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; } }
@media (min-width: 1000px) { .points { grid-template-columns: repeat(4, 1fr); } }

/* Steps */
.steps { display: grid; gap: 40px; counter-reset: step; }
.steps li { padding-top: 24px; border-top: 2px solid var(--fg); }
.steps li::before { counter-increment: step; content: counter(step); display: block; margin-bottom: 20px; font: 700 40px/1 var(--display); color: var(--flame); }
.steps h3 { font-size: 22px; margin-bottom: 10px; }
.steps p { color: var(--fg-2); }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 48px 32px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* Split rows */
.split { display: grid; gap: 48px; align-items: center; }
.split .h2 { margin-bottom: 20px; }
.split .lead + .lead, .split .lead + ul { margin-top: 16px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 96px; } .split.flip > :last-child { order: -1; } }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 0; color: var(--fg-2); }
.checks svg { width: 22px; height: 22px; margin-top: 2px; color: #1F8F4E; }
.checks b { color: var(--fg); font-weight: 600; }

/* Feature rows */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature .h2 { margin-bottom: 20px; font-size: clamp(30px, 4.4vw, 44px); }
.feature .lead { max-width: 30em; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 96px; } .feature.flip .feature-visual { order: -1; } }
.feature-visual { display: flex; justify-content: center; }
.panel { width: 100%; max-width: 440px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.panel-title { margin-bottom: 20px; font: 600 14px/1 var(--body); color: var(--fg-2); }
.price-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.price-list li:first-child { padding-top: 0; }
.price-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.price-list b { font: 600 17px/1.3 var(--display); }
.price-list span { font-weight: 600; }
.price-list small { font-size: 14px; color: var(--fg-2); }
.code-card { text-align: center; }
.code-card .code { margin: 12px 0 8px; font: 700 64px/1 var(--display); letter-spacing: .18em; }
.code-card p { font-size: 15px; color: var(--fg-2); }
.code-card .eta { display: flex; justify-content: space-between; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; text-align: left; }
.code-card .eta b { font-family: var(--display); font-size: 20px; }

/* Earn with Axis Fuel band */
.band { background: var(--ink); color: #F3EFE9; }
.band .h2 { color: #F3EFE9; }
.band .lead { color: var(--stone); }
.band-grid { display: grid; gap: 24px; }
.band-card { display: flex; flex-direction: column; gap: 16px; padding: 40px 28px; border-radius: 24px; background: #2A2826; }
.band-card h3 { font-size: clamp(28px, 3.6vw, 36px); }
.band-card p { max-width: 30em; color: var(--stone); }
.band-card .btn { align-self: flex-start; margin-top: 8px; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1fr 1fr; } .band-card { padding: 48px; } }

/* Areas */
.areas { max-width: 900px; font: 600 clamp(22px, 3vw, 30px)/1.4 var(--display); letter-spacing: -0.01em; }
.areas-note { margin-top: 20px; color: var(--fg-2); }

/* Station commands */
.commands { width: 100%; border-collapse: collapse; }
.commands td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.commands td:first-child { width: 42%; padding-right: 24px; }
.commands code { font: 600 16px/1.4 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; padding: 4px 8px; border-radius: 6px; background: var(--bg-2); color: var(--fg); }
.commands td:last-child { color: var(--fg-2); }

/* Dark call to action band */
.cta-band { background: var(--ink); color: #F3EFE9; }
.cta-band .wrap { display: grid; gap: 32px; align-items: center; }
.cta-band .h2 { color: #F3EFE9; }
.cta-band .lead { color: var(--stone); margin-top: 16px; }
.cta-band .qr-card { border-color: #3A3735; background: #2A2826; }
.cta-band .qr-card b { color: #F3EFE9; }
.cta-band .qr-card span { color: var(--stone); }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; } .cta-band .qr-card { margin-top: 0; } }

/* FAQ */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 2fr; gap: 64px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 600 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--fg-2); transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--fg-2); }

/* Apply form (riders, stations; behaviour in join-card.js) */
.apply-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .apply-grid { grid-template-columns: 1fr 480px; gap: 96px; } }
.jc { width: 100%; padding: 28px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
@media (min-width: 480px) { .jc { padding: 36px; } }
.jc h3 { font-size: 26px; margin-bottom: 6px; }
.jc-sub { margin-bottom: 24px; color: var(--fg-2); }
.jc-field { margin-bottom: 18px; }
.jc-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.jc-field input, .jc-field select { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--fg); font: 400 16px/1.4 var(--body); appearance: none; -webkit-appearance: none; }
.jc-field select { background-image: linear-gradient(45deg, transparent 50%, var(--fg-2) 50%), linear-gradient(135deg, var(--fg-2) 50%, transparent 50%); background-position: calc(100% - 22px) 22px, calc(100% - 17px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.jc-field input:focus, .jc-field select:focus { outline: none; border-color: var(--fg); }
.jc-field [aria-invalid="true"] { border-color: var(--flame-600); }
.jc-hint { margin-top: 6px; font-size: 13px; color: var(--fg-2); }
.jc-err { margin-top: 6px; font-size: 13px; color: var(--flame-600); }
.jc-err:empty { display: none; }
.jc-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.jc-submit { width: 100%; margin-top: 4px; }
.jc-submit[disabled] { opacity: .7; cursor: progress; }
.jc-status { margin-top: 12px; font-size: 14px; color: var(--flame-600); }
.jc-status:empty { display: none; }
.jc-fine { margin-top: 16px; font-size: 13px; color: var(--fg-2); }
.jc-done { padding: 24px 0 8px; text-align: center; }
.jc-done .tick { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: #1F8F4E; color: #fff; }
.jc-done .tick svg { width: 28px; height: 28px; }
.jc-done h3 { margin-bottom: 8px; }
.jc-done p { margin-bottom: 24px; color: var(--fg-2); }
.jc-done .btn { border: 1.5px solid var(--line); background: transparent; color: var(--fg); }

/* Footer */
.site-foot { padding: 72px 0 40px; background: var(--night); color: #F3EFE9; }
.foot-grid { display: grid; gap: 40px; }
.foot-grid h4 { margin: 0 0 16px; font: 600 15px/1 var(--body); color: #F3EFE9; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { color: var(--stone); text-decoration: none; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { margin-top: 16px; max-width: 22em; color: var(--stone); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; border-top: 1px solid #2F2C2A; font-size: 14px; color: var(--stone); }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* Text pages */
.doc { max-width: 760px; padding: 64px 0 96px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); }
.doc .meta { margin-top: 12px; color: var(--fg-2); }
.doc h2 { margin: 48px 0 14px; font-size: 26px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc .table-wrap + p { margin-top: 14px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc .summary { margin-top: 32px; padding: 24px 28px; border-radius: 16px; background: var(--bg-2); }
.doc .summary ul { margin-top: 10px; }
.table-wrap { overflow-x: auto; margin-top: 8px; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.table td:first-child { width: 48%; }
