/* ==========================================================================
   FiAxion — fiaxion.com
   Static stylesheet. Brand colours are defined once in :root below.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0B1F3A;   /* primary dark, from the logo background */
  --navy-800: #102B4F;
  --navy-700: #16335C;   /* logo tile */
  --blue-600: #2563EB;   /* primary brand blue */
  --blue-500: #3B82F6;   /* tallest bar in the logo */
  --blue-400: #60A5FA;   /* "Axion" in the wordmark */
  --blue-50:  #EFF6FF;

  /* Logo accent bars */
  --bar-red:   #EF4444;
  --bar-amber: #FBBF24;
  --bar-green: #34D399;
  --bar-cyan:  #22D3EE;
  --bar-blue:  #3B82F6;

  /* Neutrals */
  --ink:      #0F172A;
  --ink-soft: #475569;
  --line:     #E2E8F0;
  --surface:  #FFFFFF;
  --surface-2:#F6F9FE;
  --surface-3:#EEF4FD;
  --on-dark:      #FFFFFF;
  --on-dark-soft: #A8B7CC;

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Space & shape */
  --wrap: 1160px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-md: 0 12px 32px rgba(11, 31, 58, .10);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--navy-900);
}

h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; }

p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-900); text-decoration: underline; }

img, svg { max-width: 100%; }

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

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--surface-2); }
.section--deep { background: var(--navy-900); }
.section--deep h2, .section--deep h3 { color: var(--on-dark); }
.section--deep p { color: var(--on-dark-soft); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 12px;
}
.section--deep .eyebrow { color: var(--blue-400); }

.lead { font-size: 19px; max-width: 62ch; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue-600); color: #fff; padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--blue-600); color: #fff; }
.btn--primary:hover { background: #1D4ED8; color: #fff; }
.btn--ghost { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn--ghost:hover { background: var(--blue-50); color: var(--blue-600); }
.btn--on-dark { background: #fff; color: var(--navy-900); }
.btn--on-dark:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--outline-dark { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--outline-dark:hover { background: rgba(255,255,255,.10); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo:hover { text-decoration: none; }
.logo img { width: 42px; height: 42px; display: block; }
.logo__text {
  font-family: var(--font-display); font-size: 25px; font-weight: 700;
  letter-spacing: -0.03em; color: #fff; line-height: 1;
}
.logo__text span { color: var(--blue-400); }
.logo__tag {
  display: block; font-family: var(--font-display);
  font-size: 9.5px; font-weight: 600; letter-spacing: .16em;
  color: var(--on-dark-soft); margin-top: 5px; text-transform: uppercase;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 0; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ''; display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: #D7E2F1;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; text-decoration: none; }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--blue-500); padding-bottom: 3px; }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }

/* Hero ------------------------------------------------------------------- */
.hero {
  background: var(--navy-900);
  color: var(--on-dark);
  padding: 92px 0 100px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hero h1 { color: #fff; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--blue-400); }
.hero p { color: var(--on-dark-soft); font-size: 19px; max-width: 54ch; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero--inner { padding: 72px 0 76px; }
.hero--inner h1 { max-width: 20ch; }

.hero-card {
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.hero-card h3 { color: #fff; font-size: 17px; margin-bottom: 20px; }
.bar-chart { display: flex; align-items: flex-end; gap: 14px; height: 190px; }
.bar-chart div { flex: 1; border-radius: 8px 8px 4px 4px; }
.bar-chart .b1 { height: 28%; background: var(--bar-red); }
.bar-chart .b2 { height: 45%; background: var(--bar-amber); }
.bar-chart .b3 { height: 62%; background: var(--bar-green); }
.bar-chart .b4 { height: 80%; background: var(--bar-cyan); }
.bar-chart .b5 { height: 100%; background: var(--bar-blue); }
.hero-card__legend {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--on-dark-soft); margin-top: 16px;
  font-family: var(--font-display);
}

/* Trust strip ------------------------------------------------------------ */
.strip { background: var(--surface-3); padding: 22px 0; }
.strip__inner {
  display: flex; flex-wrap: wrap; gap: 14px 36px; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  color: var(--navy-800); letter-spacing: .04em; text-transform: uppercase;
}
.strip__inner span { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--blue-500); }

/* Cards ------------------------------------------------------------------ */
.grid { display: grid; gap: 24px; }
.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)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card--dark {
  background: var(--navy-800); border-color: rgba(255,255,255,.10);
}
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-soft); }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-50); color: var(--blue-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card--dark .icon-tile { background: rgba(96,165,250,.16); color: var(--blue-400); }
.icon-tile svg { width: 26px; height: 26px; }

/* Split feature ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: -1; }

.panel {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.panel--dark { background: var(--navy-800); border-color: rgba(255,255,255,.10); }
.panel--dark h3 { color: #fff; }
.panel--dark p { color: var(--on-dark-soft); }
.panel--dark .tick-list li { color: var(--on-dark-soft); }
.panel--dark .tick-list li strong { color: #fff; }
.panel--dark .tick-list li::before { background-color: rgba(96,165,250,.18); }

.tick-list { list-style: none; margin: 0 0 24px; padding: 0; }
.tick-list li {
  position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft);
}
.tick-list li strong { color: var(--ink); font-weight: 600; }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.section--deep .tick-list li { color: var(--on-dark-soft); }
.section--deep .tick-list li strong { color: #fff; }
.section--deep .tick-list li::before { background-color: rgba(96,165,250,.18); }

/* Steps ------------------------------------------------------------------ */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 66px; margin-bottom: 30px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-600); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }

/* Stats ------------------------------------------------------------------ */
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700;
  color: var(--blue-400); line-height: 1.1;
}
.stat__label { font-size: 15px; color: var(--on-dark-soft); }

/* CTA -------------------------------------------------------------------- */
.cta {
  background: var(--blue-600);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
  color: #fff;
}
.cta h2 { color: #fff; }
.cta p { color: #DCEAFE; max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; margin-top: 24px; }

/* Forms ------------------------------------------------------------------ */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--navy-900);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue-500); outline: 3px solid rgba(59,130,246,.25); outline-offset: 0;
}
.form__note { font-size: 14px; color: var(--ink-soft); }

/* Contact details -------------------------------------------------------- */
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { margin-bottom: 20px; }
.detail-list strong {
  display: block; font-family: var(--font-display); font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 4px;
}

/* FAQ -------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--navy-900); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue-600); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 14px 0 0; }

/* Long-form guide -------------------------------------------------------- */
.guide { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }

.toc {
  position: sticky; top: 100px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.toc h4 {
  font-family: var(--font-display); font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-600); margin: 0 0 14px;
}
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 10px; }
.toc a {
  font-family: var(--font-display); font-size: 15px; font-weight: 500;
  color: var(--navy-900); display: block;
}
.toc a::before { content: counter(toc) ". "; color: var(--blue-600); font-weight: 600; }
.toc a:hover { color: var(--blue-600); text-decoration: none; }

.prose > section { scroll-margin-top: 110px; padding-bottom: 12px; }
.prose > section + section { margin-top: 52px; padding-top: 44px; border-top: 1px solid var(--line); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { max-width: 72ch; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { color: var(--ink-soft); margin-bottom: 10px; }
.prose li strong { color: var(--ink); font-weight: 600; }

.callout {
  background: var(--blue-50); border: 1px solid #DBEAFE;
  border-left: 4px solid var(--blue-600);
  border-radius: 12px; padding: 20px 22px; margin: 24px 0;
}
.callout p { margin: 0; color: var(--navy-800); }
.callout strong { color: var(--navy-900); }

.driver-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 26px 0; }
.driver {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.driver h3 { margin: 0 0 8px; font-size: 18px; }
.driver p { margin: 0; font-size: 15.5px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.pill {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  background: var(--surface-3); color: var(--navy-800);
  border-radius: 999px; padding: 8px 16px;
}

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding: 64px 0 28px; }
.site-footer h4 {
  font-family: var(--font-display); font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: #fff; margin: 0 0 16px;
}
.site-footer a { color: var(--on-dark-soft); font-size: 15px; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__about p { color: var(--on-dark-soft); font-size: 15px; max-width: 36ch; margin-top: 16px; }
.footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 14px;
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid, .split, .guide { grid-template-columns: 1fr; gap: 40px; }
  .toc { position: static; }
  .driver-grid { grid-template-columns: 1fr; }
  .nav { gap: 20px; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--navy-800); padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav a[aria-current="page"] { border-bottom: 0; color: var(--blue-400); }
  .nav .btn { margin-top: 8px; }
  .site-header .wrap { position: relative; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 72px; }
  .cta { padding: 36px 24px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
