:root {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1929;
  --text: #f7fafc;
  --muted: #aab6c7;
  --accent: #52e3aa;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --content: 1180px;
  --reading: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 14px; border-radius: 10px;
  background: var(--accent); color: #04130d; font-weight: 800;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 17, 31, 0.92);
  backdrop-filter: blur(18px);
}
.nav-shell, .hero, .section, .document-shell, .footer-shell {
  width: min(var(--content), calc(100% - 40px)); margin: 0 auto;
}
.nav-shell {
  min-height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 1.2rem; font-weight: 900; letter-spacing: -0.03em;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 0.94rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.nav-cta, .button-primary, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 14px;
  text-decoration: none; font-weight: 800;
}
.nav-cta, .button-primary { background: var(--accent); color: #04130d; }
.nav-cta:hover, .button-primary:hover { background: #70ebba; }
.button-secondary { border: 1px solid var(--line); color: var(--text); }
.button-secondary:hover { border-color: rgba(82, 227, 170, 0.55); }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: clamp(44px, 8vw, 108px);
  padding: 84px 0 92px;
}
.hero-content { min-width: 0; }
.eyebrow {
  margin: 0 0 18px; color: var(--accent);
  font-size: 0.82rem; font-weight: 850; letter-spacing: 0.1em;
}
h1, h2, h3 { margin-top: 0; letter-spacing: -0.045em; }
p { overflow-wrap: break-word; }
.hero h1 {
  max-width: 680px; margin-bottom: 26px;
  font-size: clamp(3rem, 6vw, 5.6rem); line-height: 1.06;
}
.hero h1 span { color: var(--accent); }
.hero-copy { max-width: 620px; margin: 0 0 32px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; color: #7f8da1; font-size: 0.88rem; }
.hero-visual {
  width: min(100%, 340px); margin: 0; padding: 10px;
  border: 1px solid var(--line); border-radius: 26px; background: var(--surface);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}
.hero-visual img { width: 100%; height: auto; border-radius: 18px; }

.section { padding: 88px 0; border-top: 1px solid var(--line-soft); }
.section-heading { margin-bottom: 46px; }
.section-heading h2, .document-hero h1 {
  margin-bottom: 0; font-size: clamp(2.2rem, 4.5vw, 4rem); line-height: 1.12;
}
.feature-list {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature-item { padding: 28px 22px 32px; border-right: 1px solid var(--line); }
.feature-item:last-child { border-right: 0; }
.feature-index { display: block; margin-bottom: 30px; color: var(--accent); font-size: 0.82rem; font-weight: 850; }
.feature-item h3 { margin-bottom: 10px; font-size: 1.08rem; line-height: 1.35; }
.feature-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

.faq-section { max-width: 940px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  padding: 23px 2px; cursor: pointer;
  font-size: 1.08rem; font-weight: 760; letter-spacing: -0.02em;
}
.faq-list details[open] summary { color: var(--accent); }
.faq-list details p { max-width: 760px; margin: -4px 0 24px; color: var(--muted); }
.faq-support-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.faq-support-links a { color: var(--accent); font-weight: 750; }

.document-shell { max-width: var(--reading); padding: 72px 0 104px; }
.document-hero { margin-bottom: 54px; }
.document-hero .eyebrow { margin-top: 18px; }
.document-hero > p { color: var(--muted); }
.updated { color: var(--accent) !important; font-weight: 750; }
.document-section, .notice { padding: 30px 0; border-top: 1px solid var(--line); }
.document-section h2, .notice h2 { margin-bottom: 12px; font-size: 1.35rem; letter-spacing: -0.025em; }
.document-section p, .document-section li, .notice p { color: var(--muted); }
.document-section ul { padding-left: 22px; }
.document-section a, .notice a { color: var(--accent); }

.site-footer { border-top: 1px solid var(--line-soft); }
.footer-shell {
  padding: 34px 0 42px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.footer-meta { color: #78869a; font-size: 0.86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; color: var(--muted); font-size: 0.9rem; }
.footer-links a { text-decoration: none; }

@media (max-width: 980px) {
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .feature-item { border-bottom: 1px solid var(--line); }
  .feature-item:nth-child(2n) { border-right: 0; }
  .feature-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

@media (max-width: 760px) {
  .nav-shell, .hero, .section, .document-shell, .footer-shell { width: min(100% - 28px, var(--content)); }
  .nav-shell { min-height: 64px; }
  .site-header .brand span { display: none; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 46px; padding: 58px 0 68px; }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.35rem); }
  .hero-visual { width: min(100%, 320px); justify-self: center; }
  .section { padding: 70px 0; }
  .section-heading { margin-bottom: 34px; }
  .footer-shell { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; }
  .button-primary, .button-secondary { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .feature-item, .feature-item:nth-child(2n) { border-right: 0; }
  .feature-item:last-child { grid-column: auto; }
  .faq-list summary { font-size: 1rem; }
}

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