:root {
  color-scheme: dark;
  --page: #07101f;
  --page-soft: #0c1830;
  --panel: rgba(15, 29, 55, 0.76);
  --panel-solid: #101f3c;
  --ink: #f5f8ff;
  --muted: #aab7cf;
  --line: rgba(146, 183, 255, 0.2);
  --cyan: #53d7ff;
  --blue: #4c83ff;
  --violet: #9c6dff;
  --green: #5be4b5;
  --warning: #ffd477;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(83, 215, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 88% 15%, rgba(156, 109, 255, 0.17), transparent 30rem),
    linear-gradient(155deg, var(--page), #081326 48%, #0b1730);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(114, 158, 242, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 158, 242, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}

a {
  color: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: url("/icon.png?v=20260826") center / contain no-repeat;
  filter: drop-shadow(0 6px 12px rgba(76, 131, 255, 0.2));
}

.nav,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  background: rgba(83, 215, 255, 0.1);
}

.nav .nav-cta {
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), #8be8ff);
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 42px;
  align-items: center;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(17, 34, 67, 0.92), rgba(12, 25, 50, 0.72)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(83, 215, 255, 0.2);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 90px rgba(76, 131, 255, 0.18);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(3rem, 6.6vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.lead {
  max-width: 64ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  border-color: transparent;
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), #7ea7ff);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
}

.plan-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 390px;
}

.brand-art {
  display: block;
  width: min(100%, 390px);
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.3));
}

.metrics,
.feature-grid,
.two-col {
  display: grid;
  gap: 14px;
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 82px;
}

.metric,
.card,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.metric {
  min-height: 138px;
  padding: 24px;
  border-radius: 18px;
}

.metric strong {
  display: block;
  margin-bottom: 7px;
  color: var(--cyan);
  font-size: 1.05rem;
}

.metric span,
.card p,
.panel p,
.panel li,
.site-footer p {
  color: var(--muted);
}

.section {
  margin-bottom: 82px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 250px;
  padding: 26px;
  border-radius: var(--radius);
}

.card-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 850;
}

.card p:last-child,
.panel p:last-child {
  margin-bottom: 0;
}

.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel {
  padding: clamp(24px, 5vw, 42px);
  border-radius: 28px;
}

.panel-accent {
  background:
    linear-gradient(135deg, rgba(83, 215, 255, 0.14), rgba(156, 109, 255, 0.13)),
    var(--panel-solid);
}

.legal-layout {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.legal-header {
  margin-bottom: 22px;
}

.legal-header h1 {
  max-width: 800px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.legal-card {
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(13, 27, 52, 0.82);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-card h2:first-of-type {
  margin-top: 16px;
}

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

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

.legal-card a,
.text-link {
  color: var(--cyan);
  font-weight: 750;
  text-underline-offset: 4px;
}

.notice {
  margin: 22px 0;
  padding: 18px;
  border: 1px solid rgba(255, 212, 119, 0.3);
  border-radius: 16px;
  color: #ffe8b6;
  background: rgba(255, 212, 119, 0.08);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 520px;
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 920px) {
  .hero,
  .feature-grid,
  .metrics,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .plan-visual {
    min-height: 360px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero {
    padding: 26px;
  }

  h1 {
    font-size: 3.25rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .plan-visual {
    min-height: 300px;
  }

  .legal-layout {
    width: min(100% - 24px, 880px);
  }
}
