/* FuelPing marketing site — tokens match /design/README.md and the app exactly. */

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/InterTight-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --signal: #2ce6a6;
  --ink: #0a0b0c;
  --graphite: #1a1c1e;
  --card: #131518;
  --card-pressed: #17191c;
  --border: #23262a;
  --border-strong: #26292d;
  --alert-surface: #0f1f19;
  --alert-border: #1f4a3a;
  --slate: #9ba1a6;
  --text-secondary: #c6cacd;
  --muted: #5f6569;
  --fog: #f5f5f2;

  --max-width: 1080px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--signal);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10, 11, 12, 0.92);
  backdrop-filter: saturate(150%) blur(8px);
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand svg {
  display: block;
}

.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--fog);
}

.wordmark sup {
  font-size: 10px;
  color: var(--slate);
  font-weight: 600;
  margin-left: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--fog);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--card);
  color: var(--fog);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle svg {
  display: block;
}

/* ---------- Buttons / pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: default;
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
}

.btn-secondary {
  background: var(--card);
  color: var(--fog);
  border-color: var(--border-strong);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fog);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--signal);
}

/* ---------- Hero ---------- */

.hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero .eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--signal);
}

h1 {
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 22px;
  max-width: 16ch;
}

.hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 56ch;
  margin: 0 0 30px;
}

.hero .price-note {
  font-size: 14px;
  color: var(--slate);
  margin: 0 0 34px;
}

.hero .price-note strong {
  color: var(--fog);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.hero-actions .coming-soon {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
}

.hero-left {
  min-width: 0;
}

.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 44%;
  max-width: 185px;
  aspect-ratio: 402 / 874;
  border-radius: 11% / 5%;
  overflow: hidden;
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.6),
    0 0 0 1px var(--border-strong),
    0 0 32px 4px rgba(44, 230, 166, 0.28);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-frame-secondary {
  transform: translateY(24px);
}

/* ---------- Section scaffolding ---------- */

section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type {
  border-bottom: none;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 22ch;
}

.section-lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 0 44px;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--alert-surface);
  border: 1px solid var(--alert-border);
  color: var(--signal);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fog);
}

.steps p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

/* ---------- Pillars (what makes it different) ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pillars li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 22px;
}

.pillars h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--fog);
}

.pillars p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

/* ---------- Data section ---------- */

.data-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 28px 0;
}

.data-grid h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--signal);
  margin: 0 0 8px;
}

.data-grid p {
  font-size: 14px;
  color: var(--slate);
  margin: 0;
}

.disclosure {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--alert-surface);
  border: 1px solid var(--alert-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 24px;
}

.disclosure svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.disclosure p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.disclosure strong {
  color: var(--fog);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-grid p {
  color: var(--text-secondary);
  font-size: 16px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.contact-card address {
  font-style: normal;
  color: var(--fog);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 18px;
}

.contact-card a {
  color: var(--signal);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 48px 0 60px;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fog);
}

.footer-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-meta a {
  color: var(--muted);
  text-decoration: underline;
}

/* ---------- Legal pages ---------- */

.legal-page .wrap {
  max-width: 760px;
}

.legal-page main {
  padding: 64px 0 80px;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(28px, 5vw, 38px);
}

.legal-updated {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 40px;
}

.legal-page h2 {
  font-size: 20px;
  max-width: none;
  margin-top: 44px;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary);
  font-size: 16px;
}

.legal-page ul,
.legal-page ol {
  padding-left: 22px;
}

.legal-page address {
  font-style: normal;
  color: var(--text-secondary);
}

.legal-page a {
  color: var(--signal);
}

.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 28px 0;
}

.callout p {
  margin: 0;
  color: var(--fog);
  font-size: 15px;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    background: var(--ink);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px;
  }

  .site-header.nav-open {
    position: relative;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 56px 0 48px;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-phones {
    order: -1;
    padding: 6px 0 0;
  }

  .phone-frame {
    max-width: 140px;
  }

  .phone-frame-secondary {
    transform: translateY(18px);
  }

  section {
    padding: 52px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
