:root {
  --bg: #0b0d10;
  --surface: #14181e;
  --surface-2: #1a2028;
  --ink: #f4f6f8;
  --muted: #9aa3ad;
  --line: #2a323c;
  --accent: #7eb8ff;
  --accent-soft: rgba(126, 184, 255, 0.12);
  --font-sans: "Space Grotesk", Helvetica, Arial, sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;
  --max: 1100px;
  --header-h: 64px;
  --radius: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: #b3d4ff;
}

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

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 13, 16, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, #7eb8ff, #4a6fa5);
  color: #0b0d10;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.nav a:hover,
.nav a.is-active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--accent);
  color: #0b0d10;
}

.btn-primary:hover {
  background: #b3d4ff;
  color: #0b0d10;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

/* Hero */
.hero {
  padding: 64px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 38ch;
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-phone {
  margin: 0 auto;
  width: min(100%, 280px);
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-phone img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features */
.section {
  padding: 24px 0 80px;
}

.section-head {
  margin-bottom: 36px;
  max-width: 40ch;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.15;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  background: #000;
}

.feature-card-body {
  padding: 20px 18px 22px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}

.split-panel {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.split-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.split-panel ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--muted);
}

.split-panel li {
  margin-bottom: 8px;
}

.cta-band {
  margin-top: 56px;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--accent-soft);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 32px);
}

.cta-band p {
  margin: 0 0 22px;
  color: var(--muted);
}

/* Legal / Contact */
.page-main {
  flex: 1;
  padding: 56px 0 88px;
}

.legal-article,
.contact-panel {
  max-width: 720px;
  margin: 0 auto;
}

.legal-article h1,
.contact-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
}

.meta {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-article h2 {
  margin: 36px 0 12px;
  font-size: 22px;
}

.legal-article h3 {
  margin: 24px 0 10px;
  font-size: 17px;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
}

.legal-article ul {
  padding-left: 1.2em;
  margin: 0 0 14px;
}

.legal-article li {
  margin-bottom: 8px;
}

.legal-article strong {
  color: var(--ink);
}

.contact-panel p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 18px;
}

.contact-email {
  display: inline-block;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: var(--accent);
  word-break: break-all;
}

.contact-note {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  background: #080a0c;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer-tagline {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 28ch;
  font-size: 14px;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 18px;
    background: #080a0c;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a,
  .nav .btn {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 0;
  }

  .nav .btn {
    margin-top: 8px;
    justify-content: center;
  }

  .hero-grid,
  .feature-grid,
  .split,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .feature-card img {
    aspect-ratio: 9 / 14;
    max-height: 420px;
  }
}
