@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --ink-950: #06112b;
  --ink-900: #081633;
  --ink-800: #0a1d45;
  --ink-700: #0d2a59;
  --cyan-400: #1fd9ff;
  --cyan-200: #7ee9ff;
  --teal-400: #00bfa5;
  --paper: #f4f8fc;
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #ffffff;
  --border: rgba(199, 214, 234, 0.55);
  --text: #0d2345;
  --muted: #547095;
  --success: #0f8d76;
  --danger: #c94949;
  --shadow: 0 28px 70px rgba(8, 22, 51, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 217, 255, 0.22), transparent 34%),
    radial-gradient(circle at top right, rgba(0, 191, 165, 0.16), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  inset: auto;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.page-shell::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  background: rgba(31, 217, 255, 0.28);
}

.page-shell::after {
  width: 280px;
  height: 280px;
  bottom: 6%;
  left: -120px;
  background: rgba(0, 191, 165, 0.16);
}

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

.site-header {
  padding: 22px 0 12px;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  background: linear-gradient(135deg, var(--cyan-400), var(--teal-400));
  box-shadow: 0 16px 28px rgba(0, 151, 194, 0.26);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.nav a {
  padding: 11px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-900);
  outline: none;
}

.nav a.is-active {
  background: linear-gradient(135deg, rgba(8, 22, 51, 0.94), rgba(13, 42, 89, 0.94));
  color: #fff;
  box-shadow: 0 12px 24px rgba(8, 22, 51, 0.16);
}

.cta-link {
  background: linear-gradient(135deg, var(--ink-800), var(--ink-950));
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(8, 22, 51, 0.2);
}

.hero {
  padding: 34px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.hero-card,
.glass-card,
.article-card,
.panel {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.84));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-card {
  border-radius: 34px;
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 22, 51, 0.06);
  color: var(--ink-700);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1,
.page-title {
  margin: 16px 0 12px;
  font-family: "Space Grotesk", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.hero h1 {
  font-size: clamp(3.1rem, 8vw, 5.8rem);
  max-width: 10ch;
}

.page-title {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ink-800), var(--ink-950));
  box-shadow: 0 16px 28px rgba(8, 22, 51, 0.22);
}

.button-secondary {
  color: var(--ink-900);
  background: rgba(8, 22, 51, 0.06);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  padding: 10px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-weight: 700;
  font-size: 0.92rem;
}

.stats-card {
  border-radius: 34px;
  padding: 30px;
  background:
    linear-gradient(160deg, rgba(10, 29, 69, 0.98), rgba(6, 17, 43, 0.95)),
    linear-gradient(135deg, var(--cyan-400), var(--teal-400));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(31, 217, 255, 0.3), rgba(0, 191, 165, 0.08));
  transform: rotate(22deg);
}

.stats-card > * {
  position: relative;
}

.stats-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.stats-number {
  margin: 8px 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(3rem, 9vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.stats-card p {
  margin: 0;
  max-width: 28ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.mini-panel {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mini-panel strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.section {
  padding: 24px 0 26px;
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -0.04em;
  color: var(--ink-900);
}

.section-heading p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.support-grid,
.article-grid {
  display: grid;
  gap: 18px;
}

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

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

.article-grid {
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: start;
}

.glass-card,
.panel,
.article-card {
  border-radius: 28px;
  padding: 24px;
}

.glass-card h3,
.panel h3,
.article-card h2,
.article-card h3 {
  margin: 0 0 10px;
  color: var(--ink-900);
}

.glass-card h3,
.panel h3 {
  font-size: 1.22rem;
}

.glass-card p,
.panel p,
.article-card p,
.article-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.74;
}

.stack {
  display: grid;
  gap: 16px;
}

.metric-bar {
  margin-top: 14px;
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 22, 51, 0.08);
}

.metric-bar span:nth-child(1) {
  width: 44%;
  background: linear-gradient(135deg, var(--cyan-400), #5ce7ff);
}

.metric-bar span:nth-child(2) {
  width: 31%;
  background: linear-gradient(135deg, #17d5d5, var(--teal-400));
}

.metric-bar span:nth-child(3) {
  width: 25%;
  background: linear-gradient(135deg, #1b86ff, #2367d1);
}

.note,
.notice {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 22, 51, 0.06);
  border: 1px solid var(--border);
}

.notice strong,
.note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-900);
}

.article-shell {
  padding: 22px 0 42px;
}

.article-sidebar {
  position: sticky;
  top: 20px;
}

.article-sidebar .panel {
  background:
    linear-gradient(180deg, rgba(10, 29, 69, 0.97), rgba(6, 17, 43, 0.95)),
    #081633;
  color: #fff;
}

.article-sidebar .panel h3,
.article-sidebar .panel p,
.article-sidebar .panel a,
.article-sidebar .panel li {
  color: rgba(255, 255, 255, 0.9);
}

.article-sidebar ul,
.article-card ul,
.article-card ol {
  margin: 0;
  padding-left: 20px;
}

.article-sidebar li + li,
.article-card li + li {
  margin-top: 8px;
}

.article-card + .article-card {
  margin-top: 18px;
}

.article-card h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.article-card h3 {
  margin-top: 18px;
  font-size: 1.1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.article-meta span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(8, 22, 51, 0.06);
  color: var(--ink-700);
  font-size: 0.9rem;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.step-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan-400), var(--teal-400));
  color: var(--ink-950);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.step strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink-900);
}

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

.callout {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-900);
}

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

.site-footer {
  padding: 20px 0 38px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .support-grid,
  .article-grid,
  .callout-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header .wrap,
  .site-footer .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-card,
  .stats-card,
  .glass-card,
  .panel,
  .article-card {
    padding: 22px;
  }

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

  .button-row,
  .nav {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
