:root {
  --ice: #eef5fb;
  --blue: #2957b8;
  --red: #c71f2e;
  --bg-deep: #0b1424;
  --bg-card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f7fa;
  --text-muted: rgba(244, 247, 250, 0.72);
  --text-soft: rgba(244, 247, 250, 0.55);
  --accent: #8eb7ff;
  --radius: 16px;
  --radius-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1080px;
  --prose: 720px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(11, 20, 36, 0.86);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
  object-fit: cover;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.brand__eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.brand__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero {
  background: linear-gradient(165deg, #3d6ec4 0%, #16325c 46%, var(--bg-deep) 100%);
  padding: 4.25rem 1.25rem 4.5rem;
  text-align: center;
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero__logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  object-fit: cover;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.28));
}

.hero .eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero .lead {
  max-width: 38em;
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--ice);
  color: #10203a;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.badge-note {
  display: inline-block;
  margin-top: 1.15rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}

.section {
  padding: 4rem 1.25rem;
}

.section--alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section .subtitle {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 42em;
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p,
.card li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.card p {
  margin: 0;
}

.card ol,
.card ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(142, 183, 255, 0.16);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.card--use-case__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.compare-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.compare-strip__col {
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare-strip__col--highlight {
  border-color: rgba(142, 183, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(142, 183, 255, 0.15);
}

.compare-strip__col h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.compare-strip__lead {
  margin: 0 0 0.85rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.compare-strip__col ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.925rem;
}

.compare-strip__col li + li {
  margin-top: 0.4rem;
}

.compare-section__more {
  margin: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.price {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.prose {
  max-width: var(--prose);
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.prose--wide {
  max-width: 880px;
}

.prose h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.prose .meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
}

.prose p,
.prose li {
  color: var(--text-muted);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.35rem;
}

.prose pre.license-block {
  overflow-x: auto;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  color: var(--text);
}

.compare-table td {
  color: var(--text-muted);
}

.support-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}

.support-breadcrumb a {
  color: var(--text-muted);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0 0 2rem;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}

.support-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.support-card h2 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text);
}

.support-card p {
  margin: 0;
  flex: 1;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.support-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.site-footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.site-footer .links a {
  color: var(--text-muted);
}

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

  .nav {
    font-size: 0.92rem;
    gap: 0.35rem 0.9rem;
  }
}
