:root {
  --bg: #09111e;
  --bg-soft: #0d1727;
  --surface: rgba(12, 23, 39, 0.92);
  --surface-strong: #111e31;
  --surface-soft: rgba(255, 255, 255, 0.035);
  --line: rgba(148, 163, 184, 0.16);
  --text: #eef3fa;
  --muted: #9aabbe;
  --brand: #66d3a2;
  --brand-deep: #3cab79;
  --accent: #6ea8e8;
  --accent-soft: rgba(110, 168, 232, 0.12);
  --danger: #ff7a7a;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(110, 168, 232, 0.11), transparent 26%),
    linear-gradient(180deg, #070d17 0%, #0a1220 42%, #09111e 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.62;
}

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

a:hover {
  color: white;
}

.shell {
  width: min(1080px, calc(100vw - 2.25rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 13, 23, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-mark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-subtle {
  color: var(--muted);
}

.page {
  padding: 1.5rem 0 4.5rem;
}

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding: 1.5rem 0 2.2rem;
}

.footer-row,
.footer-links,
.hero-actions,
.hero-metrics,
.panel-heading,
.pricing-grid,
.grid,
.tag-list,
.flash-stack,
.stack,
.license-summary {
  display: flex;
  gap: 1rem;
}

.footer-row,
.panel-heading {
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  align-items: center;
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2.25rem;
  align-items: start;
  padding: 2rem 0 3rem;
}

.hero-product h1,
.page-hero h1,
.auth-copy h1,
.simple-shell h1,
.panel h1,
.panel h2,
.panel h3,
.feature-card h3,
.pricing-card h3,
.release-card h2 {
  margin: 0;
  line-height: 1.14;
}

.hero-product h1 {
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.35rem, 4vw, 3.85rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin-bottom: 0.9rem;
}

.hero-copy {
  max-width: 34rem;
}

.page-hero.compact {
  padding: 0.6rem 0 1.6rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem;
}

.page-hero h1,
.auth-copy h1,
.simple-shell h1,
.panel h1 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}

.panel h2,
.release-card h2,
.pricing-card h3,
.feature-card h3 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

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

.eyebrow,
.small-label,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-size: 0.71rem;
  font-weight: 700;
}

.eyebrow {
  color: var(--brand);
  margin: 0 0 0.75rem;
}

.small-label {
  color: var(--muted);
}

.badge {
  background: rgba(102, 211, 162, 0.11);
  color: var(--brand);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.panel,
.feature-card,
.pricing-card,
.release-card,
.stat-card,
.hero-card,
.auth-promo,
.plan-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel,
.feature-card,
.pricing-card,
.release-card,
.stat-card,
.auth-promo,
.plan-summary-card {
  padding: 1.15rem;
}

.panel-soft {
  background: rgba(255, 255, 255, 0.03);
}

.panel-highlight,
.pricing-card-highlight {
  background: linear-gradient(180deg, rgba(110, 168, 232, 0.09), rgba(12, 23, 39, 0.95));
  border-color: rgba(110, 168, 232, 0.22);
}

.hero-card {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.025);
}

.product-window {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(8, 14, 24, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.window-top {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.window-top span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.window-body {
  padding: 1rem;
}

.product-card {
  padding: 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 0.8rem;
}

.price-line {
  display: flex;
  align-items: end;
  gap: 0.4rem;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.15rem 0 0.3rem;
}

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

.product-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.product-list-row,
.list-row,
.release-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.product-list-row {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.metric {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border-left: 2px solid rgba(102, 211, 162, 0.26);
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius-md);
}

.metric strong,
.stat-card strong,
.license-summary strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.section {
  padding: 0.9rem 0 2.1rem;
}

.section-contrast {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
}

.step-chip {
  display: inline-flex;
  width: 1.85rem;
  height: 1.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

.free-launch-grid {
  grid-template-columns: minmax(0, 420px);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.pricing-top {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pricing-price strong {
  font-size: 2.35rem;
  line-height: 1;
}

.pricing-price span,
.release-meta span,
.stat-card p,
.metric span,
.muted {
  color: var(--muted);
}

.subtle-note {
  margin: -0.25rem 0 0.15rem;
  font-size: 0.9rem;
}

.check-list,
ul.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.check-list li,
ul.feature-list li {
  margin-bottom: 0.65rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  padding: 0.8rem 1.05rem;
  font-size: 0.95rem;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, color 140ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #71d5a7, #4fb888);
  color: #07130d;
}

.button-secondary {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
}

.button-small {
  padding: 0.62rem 0.9rem;
  font-size: 0.88rem;
}

.button-full {
  width: 100%;
}

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 2rem;
  align-items: start;
  padding: 1.2rem 0 2.6rem;
}

.auth-copy,
.auth-panel {
  min-width: 0;
}

.auth-promo,
.plan-summary-card {
  margin-top: 1.1rem;
  background: rgba(255, 255, 255, 0.03);
}

.simple-shell {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.2rem 0 2.6rem;
}

.narrow {
  max-width: 640px;
  margin: 0 auto;
}

.narrow.wide {
  max-width: 900px;
}

.page-header {
  margin-bottom: 1.2rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.form label,
.checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.checkbox {
  flex-direction: row;
  align-items: start;
}

.input,
.textarea,
select {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.textarea {
  min-height: 150px;
  resize: vertical;
}

.textarea.tall {
  min-height: 220px;
}

.flash-stack,
.stack {
  flex-direction: column;
}

.flash {
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.flash-success {
  background: rgba(57, 217, 138, 0.12);
  color: #c7ffe3;
}

.flash-error {
  background: rgba(255, 122, 122, 0.12);
  color: #ffd2d2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.025);
}

.release-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.action-card {
  display: block;
  color: inherit;
}

.release-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.list-row {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
}

.copy-block {
  margin: 1rem 0 0;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 14, 24, 0.72);
  color: #dce8f8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.83rem;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre-wrap;
}

.tag-list {
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  padding: 0.4rem 0.68rem;
  border-radius: 999px;
  background: rgba(110, 168, 232, 0.1);
  color: #c9e0fb;
  font-size: 0.8rem;
}

.license-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.install-hero-panel {
  margin-bottom: 1.5rem;
}

.install-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.install-quick-card {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.install-quick-card strong {
  display: block;
  font-size: 1.05rem;
  margin: 0.2rem 0 0.35rem;
}

.install-guide-grid {
  margin-bottom: 1.4rem;
}

.install-step {
  height: 100%;
}

.install-step-head {
  display: flex;
  align-items: start;
  gap: 0.85rem;
  margin-bottom: 0.8rem;
}

@media (max-width: 960px) {
  .hero,
  .auth-shell,
  .grid-2,
  .grid-3,
  .grid-4,
  .pricing-grid,
  .install-quick-grid,
  .license-summary {
    grid-template-columns: 1fr;
  }

  .nav,
  .page-hero.compact,
  .footer-row,
  .panel-heading,
  .release-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links,
  .hero-actions,
  .hero-metrics {
    flex-wrap: wrap;
  }

  .page {
    padding-top: 1.2rem;
  }

  .hero {
    padding-top: 0.8rem;
  }

  .hero-copy,
  .section-heading h2 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 1.25rem, 100%);
  }

  .nav {
    min-height: 68px;
  }

  .page {
    padding: 1rem 0 3.2rem;
  }

  .hero,
  .auth-shell,
  .simple-shell {
    padding-top: 0.5rem;
  }

  .panel,
  .feature-card,
  .pricing-card,
  .release-card,
  .stat-card,
  .auth-promo,
  .plan-summary-card,
  .hero-card {
    padding: 1rem;
  }

  .page-hero.compact {
    padding-bottom: 1.2rem;
  }
}
