:root {
  --page-bg: #f4f7fb;
  --page-surface: #ffffff;
  --page-surface-soft: #edf3f8;
  --page-dark: #07111f;
  --page-dark-soft: #0d1b2d;
  --page-dark-raised: #12243a;
  --text: #0b1728;
  --text-muted: #56667b;
  --text-on-dark: #f3f7fc;
  --text-on-dark-muted: #aab9cc;
  --accent: #3fd36d;
  --accent-hover: #31bd5d;
  --accent-soft: #dbf8e4;
  --accent-ink: #06101e;
  --accent-text: #1f7f48;
  --accent-text-strong: #176b39;
  --accent-border: #8bcda3;
  --brand-blue: #2e8fe6;
  --avatar-green: #2a9a62;
  --avatar-gold: #b78538;
  --line: #d8e1eb;
  --line-strong: #bcc9d8;
  --line-dark: #20354d;
  --focus: #78aef2;
  --danger: #c74756;
  --danger-soft: #fbe9ec;
  --header-bg: rgba(7, 17, 31, 0.84);
  --header-bg-solid: rgba(7, 17, 31, 0.96);
  --glass-subtle: rgba(255, 255, 255, 0.03);
  --glass-hover: rgba(255, 255, 255, 0.07);
  --accent-shadow: rgba(63, 211, 109, 0.2);
  --accent-card-shadow: rgba(31, 127, 72, 0.13);
  --modal-backdrop: rgba(2, 8, 16, 0.78);
  --focus-shadow: rgba(120, 174, 242, 0.16);
  --hero-glow-blue: rgba(46, 143, 230, 0.14);
  --hero-glow-green: rgba(63, 211, 109, 0.1);
  --hero-grid-line: rgba(255, 255, 255, 0.025);
  --accent-ring: rgba(63, 211, 109, 0.12);
  --shadow-sm: 0 8px 22px rgba(7, 17, 31, 0.08);
  --shadow-md: 0 24px 60px rgba(7, 17, 31, 0.14);
  --shadow-product: 0 36px 90px rgba(0, 7, 18, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-round: 999px;
  --shell: 1180px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.login-modal-open { overflow: hidden; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { border: 0; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--page-surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  color: var(--text-on-dark);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}
.site-header.is-scrolled { border-color: var(--line-dark); background: var(--header-bg-solid); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 158px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { color: var(--text-on-dark-muted); font-size: 0.88rem; font-weight: 600; transition: color 160ms ease; }
.desktop-nav a:hover { color: var(--text-on-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-on-dark);
  cursor: pointer;
}
.menu-button span { width: 22px; height: 2px; border-radius: var(--radius-round); background: currentColor; }
.mobile-nav {
  width: min(calc(100% - 32px), 560px);
  margin: 0 auto 18px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--page-dark-soft);
  box-shadow: var(--shadow-md);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > a:not(.button) { display: block; padding: 12px; color: var(--text-on-dark-muted); font-weight: 600; }
.mobile-nav .button { width: 100%; margin-top: 8px; }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-round);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 30px var(--accent-shadow); }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { border-color: var(--line-dark); background: var(--page-dark-raised); color: var(--text-on-dark); }
.button-secondary:hover { border-color: var(--line-strong); background: var(--page-dark-soft); }
.button-compact { min-height: 42px; padding: 10px 16px; font-size: 0.82rem; }
.button-large { min-height: 54px; padding: 15px 24px; }
.button svg, .floating-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.kicker, .eyebrow {
  margin-bottom: 18px;
  color: var(--accent-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker-light { color: var(--accent); }
.section-intro h2, .section-heading h2, .security-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.65rem);
}
.section-intro h2 span, .section-heading h2 span, .security-copy h2 span, .final-cta h2 span { color: var(--accent-text); }
.section-intro > p:last-child, .section-heading > p, .security-copy > p { color: var(--text-muted); }
.section-intro > p:last-child { max-width: 560px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.floating-cta {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius-round);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.floating-cta.is-visible { opacity: 1; pointer-events: auto; transform: none; }

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