:root {
  --bg: #f3f5f7;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-dark: #0d1b1a;
  --text: #18302c;
  --muted: #536560;
  --line: rgba(24, 48, 44, 0.1);
  --primary: #8fdc11;
  --primary-dark: #1d5a2f;
  --primary-soft: rgba(143, 220, 17, 0.18);
  --accent: #073b25;
  --danger: #aa2b2b;
  --warning: #9c6300;
  --shadow: 0 24px 60px rgba(18, 39, 34, 0.12);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1400px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(143, 220, 17, 0.18), transparent 24%),
    linear-gradient(180deg, #eef4ea 0%, var(--bg) 220px, #eef2f4 100%);
  font-family: "Aptos", "Segoe UI Variable Text", "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  background: rgba(7, 28, 24, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(9, 23, 19, 0.18);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
}

.primary-nav,
.header-actions,
.footer-links,
.inline-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-links {
  flex-wrap: wrap;
}

.primary-nav {
  flex: 1;
  justify-content: center;
}

.primary-nav a,
.footer-links a,
.inline-links a {
  font-weight: 700;
}

.primary-nav a {
  padding: 8px 10px;
  border-radius: 10px;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover,
.footer-links a:hover,
.inline-links a:hover,
.text-link:hover {
  color: var(--primary-dark);
}

.site-header .primary-nav a[aria-current="page"],
.site-header .primary-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #08200d;
  background: linear-gradient(180deg, #b1ef46 0%, #8fdc11 100%);
  box-shadow: 0 18px 36px rgba(143, 220, 17, 0.24);
}

.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.locale-switcher-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.locale-switcher-link:hover,
.locale-switcher-link.is-current {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.btn-hero {
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  box-shadow:
    0 0 0 10px rgba(123, 213, 57, 0.14),
    0 0 0 18px rgba(123, 213, 57, 0.05),
    0 20px 40px rgba(69, 196, 58, 0.24);
}

.page-main {
  margin-top: 28px;
}

.page-surface {
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
}

.section {
  padding: 28px 0;
}

.page-hero,
.section-heading {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.brand,
.stat-value,
.price,
.hero-command {
  font-family: "Bahnschrift", "Arial Narrow", sans-serif;
}

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

.page-hero h1,
.hero-copy h1 {
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.page-hero p,
.hero-copy p,
.card p,
.card li,
.faq-list summary,
.faq-list p,
.pricing-table td,
.pricing-table-empty {
  color: var(--muted);
}

.page-hero p,
.section-heading p {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1.05rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 42px 0 80px;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.hero-copy h1 span,
.text-accent {
  color: var(--primary-dark);
}

.hero-actions,
.hero-points,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-points {
  padding: 0;
  list-style: none;
}

.hero-points li,
.quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(20, 39, 35, 0.06);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(7, 59, 37, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(143, 220, 17, 0.26), transparent 36%),
    linear-gradient(180deg, #0b1e1a 0%, #11342b 100%);
  color: #fff;
  box-shadow: 0 30px 70px rgba(8, 24, 19, 0.24);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-grid {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.hero-panel,
.card,
.faq-list details,
.pricing-table-card,
.status-board {
  padding: 24px;
  border: 1px solid rgba(24, 48, 44, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.hero-panel.topline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-panel.topline img {
  width: 64px;
  height: 64px;
}

.hero-panel.topline p,
.hero-panel.topline strong,
.hero-stats li,
.quick-links a {
  color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-stats li {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-value {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
}

.hero-command {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(143, 220, 17, 0.18);
  color: #d6ff88;
  font-size: 1.2rem;
  font-weight: 700;
}

.section-heading {
  margin-bottom: 22px;
}

.grid-3,
.grid-2,
.pricing-grid,
.status-grid,
.info-grid {
  display: grid;
  gap: 20px;
}

.grid-3,
.pricing-grid,
.status-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card h3,
.pricing-table-card h3,
.faq-list summary {
  color: var(--text);
}

.card h3,
.pricing-table-card h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
  line-height: 1;
}

.card ul,
.status-log,
.status-notes,
.pricing-card ul {
  padding-left: 18px;
}

.plan-tag,
.status-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-tag,
.status-label.good {
  background: #daf5af;
  color: #22501b;
}

.status-label.warning {
  background: #ffe0a7;
  color: var(--warning);
}

.status-label.danger {
  background: #ffd1d1;
  color: var(--danger);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details[open] {
  background: rgba(255, 255, 255, 0.98);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding: 28px 0 40px;
}

.footer-note,
.footer-meta {
  color: var(--muted);
}

.footer-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
}

.docs-alpha-callout,
.docs-guide-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24, 48, 44, 0.08);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.docs-alpha-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 28px 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 221, 145, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 241, 0.96), rgba(255, 255, 255, 0.98));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .status-grid,
  .info-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 28px;
  }

  .hero-copy {
    text-align: center;
    justify-items: center;
  }

  .hero-points,
  .hero-actions,
  .quick-links {
    justify-content: center;
  }

  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "nav nav"
      "actions actions";
    gap: 0 12px;
    padding: 12px 14px;
  }

  .site-header > .brand {
    grid-area: brand;
  }

  .site-header > .menu-toggle {
    grid-area: toggle;
  }

  .site-header > .primary-nav {
    grid-area: nav;
  }

  .site-header > .header-actions {
    grid-area: actions;
  }

  .menu-toggle {
    display: inline-block;
  }

  .primary-nav,
  .header-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-open .primary-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .primary-nav a,
  .locale-switcher,
  .locale-switcher-link,
  .header-actions .btn {
    width: 100%;
  }

  .locale-switcher {
    justify-content: stretch;
  }

  .page-surface {
    padding: 22px 18px;
    border-radius: 28px;
  }

  .hero-visual,
  .card,
  .faq-list details,
  .pricing-table-card,
  .status-board {
    padding: 18px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .docs-alpha-callout {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
