:root {
  --navy-950: #06182f;
  --navy-900: #071d3b;
  --navy-800: #0b2b51;
  --teal-700: #087b88;
  --teal-600: #0796a2;
  --teal-500: #0bb4bd;
  --blue-600: #1768ff;
  --ink: #10233f;
  --heading: #06182f;
  --muted: #64748b;
  --text-secondary: #2b3f5c;
  --line: #d9e1ea;
  --surface: #ffffff;
  --canvas: #f8fafc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --icon-bg-teal: #eaf7f8;
  --icon-bg-blue: #eef4ff;
  --icon-bg-muted: #f1f4f7;
  --icon-bg-success: #ecf8ef;
  --success: #17823b;
  --warning: #d97706;
  --focus: #1768ff;
}

:root[data-theme="dark"] {
  --ink: #e6edf7;
  --heading: #f3f6fb;
  --muted: #9bacc4;
  --text-secondary: #c3d1e4;
  --line: #213354;
  --surface: #112140;
  --canvas: #081223;
  --header-bg: rgba(8, 18, 35, 0.86);
  --icon-bg-teal: rgba(11, 180, 189, 0.16);
  --icon-bg-blue: rgba(23, 104, 255, 0.18);
  --icon-bg-muted: rgba(255, 255, 255, 0.06);
  --icon-bg-success: rgba(23, 130, 59, 0.2);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; scroll-behavior: smooth; }
body {
  min-width: 320px;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  transition: background-color .25s ease, color .25s ease;
}
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.15; }
p { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--focus) 30%, transparent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; top: 0; }

.site-wrap { min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background-color .25s ease, border-color .25s ease;
}
.site-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo { width: 142px; height: 60px; object-fit: contain; object-position: left; }
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark { display: block; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 700; color: var(--text-secondary); }
.site-nav a:hover { color: var(--teal-700); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.locale-toggle {
  min-height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--text-secondary); font-size: 12px; font-weight: 800; display: inline-flex; gap: 6px; align-items: center;
  transition: background-color .25s ease, border-color .25s ease;
}
.locale-toggle .locale-active { color: var(--teal-700); }
.header-link { font-size: 13px; font-weight: 700; color: var(--text-secondary); padding: 0 4px; }
.header-link:hover { color: var(--teal-700); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border: 0; border-radius: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: -.01em;
}
.button-primary { color: white; background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); box-shadow: 0 8px 20px rgba(8, 123, 136, .22); }
.button-primary:hover { filter: brightness(.96); }
.button-secondary { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.button-secondary:hover { border-color: var(--teal-600); color: var(--teal-700); }
.button-lg { min-height: 50px; padding: 0 26px; font-size: 14px; }

.mobile-menu-toggle {
  display: none; width: 38px; height: 38px; border: 0; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.mobile-menu-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

.site-nav-mobile {
  display: none; flex-direction: column; gap: 4px;
  padding: 14px 20px 22px; border-top: 1px solid var(--line); background: var(--surface);
}
.site-nav-mobile a { padding: 12px 4px; font-size: 14px; font-weight: 700; color: var(--text-secondary); border-bottom: 1px solid var(--line); }
.mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.mobile-actions .button, .mobile-actions .header-link { width: 100%; text-align: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 76px 24px 86px;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr); gap: 48px;
  max-width: 1180px; margin: 0 auto;
  align-items: center;
}
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -120px -10% auto auto;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 180, 189, .12), transparent 70%);
}
.eyebrow {
  margin: 0 0 14px; color: var(--teal-700); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em;
}
.hero-copy h1 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; color: var(--heading); }
.hero-text { color: var(--muted); font-size: 16px; max-width: 540px; margin: 0 0 28px; }
.hero-actions, .cta-final-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.hero-visual { position: relative; display: grid; gap: 16px; }
.hero-panel {
  padding: 18px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(10, 30, 56, .08);
  display: grid; gap: 4px;
  transition: background-color .25s ease, border-color .25s ease;
}
.hero-panel-icon { font-size: 20px; color: var(--teal-700); }
.hero-panel strong { font-size: 14px; color: var(--ink); }
.hero-panel small { color: var(--muted); font-size: 12px; }
.hero-panel-pos { margin-left: 0; }
.hero-panel-vending { margin-left: 36px; }
.hero-panel-link { margin-left: 12px; }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: 80px 24px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; transition: background-color .25s ease, border-color .25s ease; }
.section-alt > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-heading { max-width: 680px; margin-bottom: 44px; }
.section-heading h2 { font-size: clamp(26px, 3vw, 36px); color: var(--heading); margin-bottom: 12px; }
.section-heading p { color: var(--muted); font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  padding: 28px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  transition: border-color .18s, transform .18s, background-color .25s ease;
}
.card:hover { border-color: var(--teal-600); transform: translateY(-2px); }
.card-icon { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; margin-bottom: 14px; border-radius: 10px; background: var(--icon-bg-teal); color: var(--teal-700); font-size: 18px; }
.card h3 { font-size: 16px; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: 13px; margin: 0; }
.card-security .card-icon { background: var(--icon-bg-blue); color: var(--blue-600); }

.methods-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.method-card {
  padding: 24px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  display: grid; gap: 10px; justify-items: center; text-align: center; opacity: .72;
  transition: background-color .25s ease, border-color .25s ease;
}
.method-active { opacity: 1; border-color: var(--teal-600); }
.method-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--canvas);
  display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--ink);
}
.method-card strong { font-size: 14px; color: var(--ink); }
.method-state { font-size: 10px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.method-state-live { color: var(--success); background: var(--icon-bg-success); }
.method-state-soon { color: var(--muted); background: var(--icon-bg-muted); }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
.feature-row { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature-icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 9px; background: var(--icon-bg-teal); color: var(--teal-700);
  display: grid; place-items: center; font-size: 16px;
}
.feature-row strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.feature-row p { margin: 0; font-size: 13px; color: var(--muted); }

.cta-final {
  max-width: none; padding: 0; margin: 80px 0 0;
}
.cta-final-inner {
  max-width: 760px; margin: 0 auto; padding: 70px 24px; text-align: center;
}
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--heading); margin-bottom: 14px; }
.cta-final p { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.cta-final-actions { justify-content: center; }

/* Footer */
.site-footer { background: var(--navy-950); color: #c5d3e3; margin-top: auto; }
.footer-top {
  max-width: 1180px; margin: 0 auto; padding: 56px 24px 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px;
}
.footer-logo { width: 130px; height: 56px; object-fit: contain; object-position: left; margin-bottom: 14px; }
.footer-brand p { color: #93a6bd; font-size: 13px; max-width: 320px; margin: 0; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-column { display: grid; gap: 10px; align-content: start; }
.footer-column strong { color: white; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.footer-column a { color: #aebdd0; font-size: 13px; }
.footer-column a:hover { color: var(--teal-500); }
.footer-pending { color: #7d90a8; font-size: 12px; }
.footer-bottom {
  max-width: 1180px; margin: 0 auto; padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-size: 11px; color: #7d90a8; flex-wrap: wrap;
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero-visual { max-width: 420px; }
}

@media (max-width: 920px) {
  .site-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .site-nav-mobile.is-open { display: flex; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .methods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header-inner { padding: 0 16px; height: 68px; }
  .brand-logo { width: 118px; height: 50px; }
  .header-link { display: none; }
  .header-actions > .button { display: none; }
  .section { padding: 56px 16px; }
  .hero { padding: 40px 16px 56px; }
  .card-grid { grid-template-columns: 1fr; }
  .methods-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hero-actions, .cta-final-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button, .cta-final-actions .button { width: 100%; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
