:root {
  --navy: #070e24;
  --navy-alt: #0c1635;
  --line-dark: #1e2f5c;
  --bg: #ffffff;
  --panel: #f4f6fb;
  --panel-2: #eef2fa;
  --line: #e5e9f3;
  --text: #0c1329;
  --text-dim: #5b6478;
  --text-light: #cdd5ec;
  --text-light-dim: #8992b3;
  --blue: #2f6fed;
  --blue-light: #5aa5ff;
  --blue-dark: #0f1f4a;
  --green: #0d9f6e;
  --green-light: #34d399;
  --gold: #c9a227;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 24px 48px -28px rgba(20, 40, 110, 0.32);
  --shadow-lg: 0 32px 64px -24px rgba(10, 19, 48, 0.4);
  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 28px; }

/* Logo */
.mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.25s ease;
}
.brand-sub {
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 600;
}
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: var(--blue-light); }

/* Header */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 32px -12px rgba(10, 19, 48, 0.1);
}
header.on-dark {
  background: rgba(7, 14, 36, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
header.on-dark.scrolled {
  background: rgba(7, 14, 36, 0.95);
  box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
}
header.on-dark .brand-name { color: #fff; }
header.on-dark .brand-sub { color: var(--blue-light); }
header.on-dark .nav-links a { color: var(--text-light-dim); }
header.on-dark .nav-links a:hover,
header.on-dark .nav-links a.active { color: #fff; }
header.on-dark .nav-links a.active::after { background: var(--blue-light); }
header.on-dark .nav-toggle span { background: #fff; }

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  color: var(--text-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
header.on-dark .nav-links a:hover,
header.on-dark .nav-links a.active { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: #fff;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(47, 111, 237, 0.6);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 10px;
}
.nav-toggle:hover { background: rgba(47, 111, 237, 0.08); }
header.on-dark .nav-toggle:hover { background: rgba(255, 255, 255, 0.08); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: rgba(7, 14, 36, 0.98);
  backdrop-filter: blur(20px);
  padding: 24px 28px 40px;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--blue-light); }
.mobile-menu .nav-cta {
  margin-top: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  font-size: 15px;
}

/* Buttons */
.btn {
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -10px rgba(47, 111, 237, 0.6);
}
.btn-ghost-dark {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: #fff; }
.btn-ghost:hover { border-color: var(--text-dim); transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: 12px;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.5);
  background: #111;
}
.store-btn .store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.store-btn .store-label { font-size: 10px; opacity: 0.75; font-weight: 400; }
.store-btn .store-name { font-family: var(--display); font-size: 15px; font-weight: 600; }
.store-btn svg { flex-shrink: 0; }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-alt { background: var(--panel); }
.section-dark { background: var(--navy); color: #fff; }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head.left { margin-left: 0; margin-right: 0; text-align: left; }
.section-head .eyebrow {
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head .eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section-head.dark .eyebrow { color: var(--blue-light); }
.section-head.dark .eyebrow::before { background: var(--blue-light); }
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.12;
}
.section-head .underline {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-head.left .underline { margin-left: 0; }
.section-head p { color: var(--text-dim); font-size: 16px; line-height: 1.75; }
.section-head.dark p { color: var(--text-light); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Footer */
footer {
  background: var(--navy);
  color: var(--text-light);
  padding: 64px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand p {
  font-size: 13.5px;
  color: var(--text-light-dim);
  margin-top: 16px;
  max-width: 300px;
  line-height: 1.7;
}
.footer-col h5 {
  font-family: var(--display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--blue-light);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13.5px;
  color: var(--text-light-dim);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: #fff; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-light-dim);
  margin-bottom: 14px;
  line-height: 1.5;
}
.footer-contact-item svg { margin-top: 2px; flex-shrink: 0; color: var(--blue-light); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--text-light-dim);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-dim);
  transition: all 0.15s ease;
}
.socials a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Forms */
form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 7px;
  display: block;
}
input, textarea, select {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--body);
  font-size: 14.5px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.1);
}
textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.open { border-color: #c7d6fb; box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  background: none;
}
.faq-q svg {
  flex-shrink: 0;
  color: var(--blue);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 24px 20px;
  color: var(--text-dim);
  font-size: 14.5px;
  line-height: 1.75;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
