/* ════════════════════════════════════════════════════════════════
   DESIGN TOKENS — SEPESHA brand palette, red as primary
════════════════════════════════════════════════════════════════ */
:root {
  /* Brand */
  --red:         #DC2626;   /* primary brand red */
  --red-dark:    #B91C1C;
  --red-light:   #EF4444;
  --red-ghost:   rgba(220,38,38,0.12);
  --red-border:  rgba(220,38,38,0.30);

  /* Neutrals — dark navy base */
  --navy:        #0B1120;
  --navy-mid:    #141E33;
  --navy-card:   #1A2540;
  --navy-border: #243050;

  /* Accent palette */
  --amber:       #F5A623;
  --amber-light: #FBBF5A;
  --mint:        #27C98F;
  --mint-light:  #4FE0A8;
  --sky:         #38BDF8;

  /* Text */
  --paper:       #FAFAF7;
  --offwhite:    #EEF1F8;
  --slate:       #8493B0;
  --slate-light: #A8B4CC;
  --dim:         #4A5870;

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  /* Shape */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   30px;
  --r-full: 999px;

  --max-w: 1180px;
}

/* ── Reset & base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  background: var(--paper);
  color: var(--navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff;
  padding: 10px 16px; z-index: 200;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; }

/* ── Typography ───────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(26px, 3.8vw, 42px); line-height: 1.1; }
h3 { font-size: 21px; line-height: 1.2; }
p  { margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 18px;
}
.eyebrow--dark { color: var(--red); }
.eyebrow--red  { color: var(--red); }

.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(39,201,143,.18);
  animation: pulse-dot 2.2s ease-in-out infinite;
}
.eyebrow__dot--mint { background: var(--mint); }

@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 4px rgba(39,201,143,.18); }
  50%      { box-shadow: 0 0 0 9px rgba(39,201,143,.04); }
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-full);
  font-family: var(--body);
  font-weight: 600; font-size: 14.5px;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease;
}
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--solid {
  background: var(--red); color: #fff;
  box-shadow: 0 4px 16px rgba(220,38,38,.28);
}
.btn--solid:hover {
  background: var(--red-dark);
  box-shadow: 0 6px 22px rgba(220,38,38,.38);
  transform: translateY(-1px);
}
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--paper); }
.btn--ghost { color: var(--slate); }
.btn--ghost:hover { color: var(--red); }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,17,32,.07);
  transition: box-shadow .2s;
}
.nav__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 28px;
  padding: 13px 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__mark  { border-radius: 10px; }
.nav__word  {
  font-family: var(--display); font-weight: 700;
  font-size: 18px; letter-spacing: .01em; color: var(--navy);
}
.nav__links {
  display: flex; gap: 26px; margin-right: auto;
  font-size: 14px; font-weight: 500;
}
.nav__links a { color: var(--navy); opacity: .72; transition: opacity .15s, color .15s; }
.nav__links a:hover { opacity: 1; color: var(--red); }
.nav__cta   { display: flex; gap: 10px; align-items: center; }
.nav__burger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; display: block; }
.nav__mobile {
  display: none; flex-direction: column;
  padding: 0 24px 18px; gap: 14px;
  font-size: 15px; font-weight: 500; border-top: 1px solid rgba(11,17,32,.07);
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile.is-open { display: flex; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative; background: var(--navy); color: var(--paper);
  overflow: hidden; padding: 72px 24px 96px;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__glow {
  position: absolute; top: -200px; right: -140px;
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,38,38,.18) 0%, transparent 70%);
  filter: blur(16px);
}
.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px;
  align-items: center;
}
.hero__title {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.02; color: var(--paper); margin-bottom: 22px;
}
.hero__sub {
  font-size: 17px; color: var(--slate-light);
  max-width: 460px; margin-bottom: 34px; line-height: 1.65;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero .btn--outline {
  border-color: rgba(250,250,247,.28); color: var(--paper);
}
.hero .btn--outline:hover { background: var(--paper); color: var(--navy); }

/* Trust row */
.hero__trust { display: flex; gap: 26px; flex-wrap: wrap; }
.trust__item {
  display: flex; align-items: flex-start; gap: 10px;
}
.trust__icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.trust__item strong { display: block; font-size: 13.5px; color: var(--paper); }
.trust__item span   { display: block; font-size: 12px; color: var(--dim); margin-top: 1px; }

/* Route card */
.hero__visual { position: relative; }
.route-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: var(--r-lg); padding: 22px;
  box-shadow: 0 32px 64px -20px rgba(0,0,0,.55);
}
.route-card__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.route-card__status {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--mint);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  animation: pulse-dot 2s ease-in-out infinite;
}
.route-card__vehicle {
  font-family: var(--mono); font-size: 11px;
  background: var(--red-ghost); color: var(--red);
  padding: 4px 10px; border-radius: var(--r-full);
  border: 1px solid var(--red-border);
}
.route-card__map { width: 100%; height: auto; }
#movingDot { filter: drop-shadow(0 0 5px rgba(250,250,247,.7)); }
.route-card__foot {
  display: flex; justify-content: space-between;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--navy-border);
}
.route-card__field { display: flex; flex-direction: column; gap: 3px; }
.route-card__field .label {
  font-size: 11px; color: var(--slate);
  text-transform: uppercase; letter-spacing: .05em;
}
.route-card__field .value {
  font-family: var(--mono); font-size: 18px;
  font-weight: 600; color: var(--paper);
}
.route-card__field .value--red { color: var(--red); }

/* Float chips */
.float-chip {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  background: var(--paper); color: var(--navy);
  font-size: 12px; font-weight: 700;
  padding: 9px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  animation: float 4.5s ease-in-out infinite;
}
.float-chip--1 { top: -14px; left: -14px; animation-delay: 0s; }
.float-chip--2 { bottom: 36px; right: -18px; animation-delay: 1.6s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 420px; }
}

/* ── Stats strip ──────────────────────────────────────────────── */
.stats { background: var(--navy-mid); padding: 38px 24px; }
.stats__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--display); font-size: 32px; font-weight: 700;
  color: var(--red);
}
.stat__label { font-size: 13px; color: var(--slate-light); }
@media (max-width: 680px) { .stats__inner { grid-template-columns: repeat(2,1fr); } }

/* ── Section head ─────────────────────────────────────────────── */
.section-head {
  max-width: 620px; margin: 0 auto 52px;
  text-align: center; padding: 0 24px;
}
.section-sub { margin-top: 14px; color: var(--slate); font-size: 16px; }

/* ── Products ─────────────────────────────────────────────────── */
.products {
  padding: 100px 24px;
  max-width: var(--max-w); margin: 0 auto;
}
.product-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.product-card {
  background: #fff;
  border: 1.5px solid rgba(11,17,32,.08);
  border-radius: var(--r-xl); padding: 34px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px -18px rgba(11,17,32,.14);
}
.product-card--core:hover    { border-color: var(--red); }
.product-card--business:hover{ border-color: var(--amber); }
.product-card--dev:hover     { border-color: var(--mint); }

/* Icon wrap */
.product-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.product-card__icon--red   { background: var(--red-ghost); color: var(--red); border: 1px solid var(--red-border); }
.product-card__icon--amber { background: rgba(245,166,35,.12); color: var(--amber); border: 1px solid rgba(245,166,35,.3); }
.product-card__icon--mint  { background: rgba(39,201,143,.12); color: var(--mint); border: 1px solid rgba(39,201,143,.3); }

.product-card h3 { margin-bottom: 12px; }
.product-card p  { color: var(--slate); font-size: 14.5px; margin-bottom: 22px; line-height: 1.65; }

.product-card__list {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.product-card__list li {
  font-size: 13.5px; color: var(--navy);
  padding-left: 22px; position: relative;
}
.product-card__list li::before {
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}
.product-card--business .product-card__list li::before { background: var(--amber); }
.product-card--dev      .product-card__list li::before { background: var(--mint); }

.product-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px; color: var(--navy);
  transition: color .15s, gap .15s;
}
.product-card__link:hover { color: var(--red); gap: 10px; }

@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }

/* ── How it works ─────────────────────────────────────────────── */
.how { background: var(--navy); color: var(--paper); padding: 100px 24px; }
.how h2 { color: var(--paper); }
.how__steps {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.how__icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.how__icon-wrap--red   { background: var(--red-ghost); color: var(--red); border: 1px solid var(--red-border); }
.how__icon-wrap--amber { background: rgba(245,166,35,.12); color: var(--amber); border: 1px solid rgba(245,166,35,.3); }
.how__icon-wrap--mint  { background: rgba(39,201,143,.12); color: var(--mint); border: 1px solid rgba(39,201,143,.3); }

.how__step h3 { color: var(--paper); font-size: 18px; margin-bottom: 10px; }
.how__step p  { color: var(--slate); font-size: 14px; line-height: 1.65; }
@media (max-width: 900px) { .how__steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .how__steps { grid-template-columns: 1fr; } }

/* ── Rafiki ───────────────────────────────────────────────────── */
.rafiki { padding: 100px 24px; max-width: var(--max-w); margin: 0 auto; }
.rafiki__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.rafiki h2 { margin-bottom: 16px; }
.rafiki__copy > p {
  color: var(--slate); font-size: 16px;
  margin-bottom: 30px; max-width: 440px; line-height: 1.65;
}
.rafiki__earn { display: flex; gap: 32px; margin-bottom: 34px; flex-wrap: wrap; }
.rafiki__earn-item { display: flex; flex-direction: column; gap: 5px; }
.rafiki__earn-amount {
  font-family: var(--display); font-size: 28px; font-weight: 700;
  color: var(--red);
}
.rafiki__earn-item > span { font-size: 13px; color: var(--slate); max-width: 180px; }

/* Rafiki visual cards */
.rafiki__visual { position: relative; height: 340px; }
.rafiki__card {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: var(--navy-card); color: var(--paper);
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--navy-border);
  box-shadow: 0 20px 44px -12px rgba(11,17,32,.4);
  font-size: 13px;
  animation: float 5s ease-in-out infinite;
}
.rafiki__card strong { display: block; font-size: 13.5px; color: var(--paper); }
.rafiki__card-earn  { display: block; font-size: 12px; font-weight: 700; color: var(--mint); margin-top: 2px; }

.rafiki__avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rafiki__avatar--mint  { background: rgba(39,201,143,.15); color: var(--mint); border: 1px solid rgba(39,201,143,.3); }
.rafiki__avatar--amber { background: rgba(245,166,35,.15); color: var(--amber); border: 1px solid rgba(245,166,35,.3); }
.rafiki__avatar--red   { background: var(--red-ghost); color: var(--red); border: 1px solid var(--red-border); }

.rafiki__card--1 { top: 0;    left: 5%;  animation-delay: 0s; }
.rafiki__card--2 { top: 130px; left: 0;  animation-delay: 1.4s; }
.rafiki__card--3 { top: 255px; left: 22%; animation-delay: 2.8s; }

@media (max-width: 900px) {
  .rafiki__inner { grid-template-columns: 1fr; }
  .rafiki__visual { height: 260px; }
}

/* ── Download ─────────────────────────────────────────────────── */
.download {
  background: var(--navy-mid); padding: 92px 24px; text-align: center;
}
.download h2 { color: var(--paper); margin-bottom: 12px; }
.download p  { color: var(--slate); margin-bottom: 36px; font-size: 16px; }
.download__stores {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  padding: 14px 24px;
  border-radius: var(--r-md);
  color: var(--paper);
  transition: border-color .2s, transform .15s;
}
.store-btn:hover { border-color: var(--red); transform: translateY(-2px); }
.store-btn__icon { color: var(--paper); flex-shrink: 0; }
.store-btn small { display: block; font-size: 10.5px; color: var(--slate); }
.store-btn strong { display: block; font-size: 15px; }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { padding: 100px 24px; max-width: 760px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item {
  background: var(--navy-card); color: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--navy-border);
  overflow: hidden;
  transition: border-color .2s;
}
.faq__item[open] { border-color: var(--red-border); }
.faq__item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600; font-size: 15px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  transition: color .15s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  display: block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  color: var(--slate-light); font-size: 14.5px;
  padding: 0 22px 20px; line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--navy); color: var(--slate);
  padding: 68px 24px 28px;
}
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--navy-border);
}
.footer__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: 18px;
}
.footer__cols { display: flex; gap: 52px; flex-wrap: wrap; }
.footer__col  { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  font-size: 11px; color: var(--dim);
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 4px; font-family: var(--body);
}
.footer__col a { font-size: 14px; color: var(--slate); transition: color .15s; }
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--dim); flex-wrap: wrap; gap: 8px;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 560px) {
  .hero { padding: 44px 18px 64px; }
  .hero__trust { gap: 16px; }
  .products, .how, .rafiki, .faq, .download {
    padding-left: 18px; padding-right: 18px;
  }
}
