:root {
  color-scheme: dark;
  --ink: #eff8ff;
  --ink-soft: #d8ecfb;
  --muted: #a8c1d7;
  --dim: #718ba2;
  --bg: #04101a;
  --bg-deep: #020711;
  --card: rgba(8, 20, 33, 0.82);
  --card-strong: rgba(10, 25, 41, 0.94);
  --line: rgba(125, 211, 252, 0.23);
  --line-strong: rgba(125, 211, 252, 0.42);
  --cyan: #27d8ff;
  --blue: #3f7dff;
  --mint: #8dffcf;
  --amber: #ffd166;
  --danger: #ff9f9f;
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --max: 1180px;
  --narrow: 920px;
  font-family: "SF Pro Display", "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(39, 216, 255, 0.2), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(63, 125, 255, 0.18), transparent 30%),
    linear-gradient(145deg, var(--bg), var(--bg-deep) 62%, #04131f);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 112%, rgba(39, 216, 255, 0.13), transparent 34%),
    linear-gradient(to bottom, transparent 0, rgba(2, 7, 17, 0.55) 100%);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 76px;
}

.site-narrow {
  width: min(calc(100% - 32px), var(--narrow));
}

.topbar,
.simple-nav,
.footer,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar {
  justify-content: space-between;
  margin-bottom: clamp(40px, 7vw, 74px);
}

.simple-nav {
  margin-bottom: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 28px rgba(39, 216, 255, 0.34);
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a,
.simple-nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 650;
}

.nav a:hover,
.simple-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(141, 255, 207, 0.22);
  border-radius: 999px;
  color: var(--mint);
  background: rgba(141, 255, 207, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow-warning {
  color: var(--amber);
  border-color: rgba(255, 209, 102, 0.24);
  background: rgba(255, 209, 102, 0.1);
}

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

h1,
h2 {
  color: var(--ink);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  margin: 20px 0 18px;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.072em;
}

.page-title {
  font-size: clamp(2.7rem, 5vw, 4.9rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

p,
li {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 660px;
  color: #c1d8eb;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

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

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  min-width: 0;
  max-width: 100%;
  margin-top: 28px;
}

.button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  border: 0;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button {
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 44px rgba(39, 216, 255, 0.24);
}

.secondary-button,
.ghost-button {
  color: var(--ink);
  border: 1px solid rgba(167, 191, 212, 0.28);
  background: rgba(255, 255, 255, 0.035);
}

.button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-note {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
  color: var(--dim);
  font-size: 0.95rem;
}

.app-preview {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 38px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(6, 17, 29, 0.88);
  box-shadow: var(--shadow);
}

.window-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ff6b61;
}

.dot:nth-child(2) {
  background: #ffd166;
}

.dot:nth-child(3) {
  background: #8dffcf;
}

.mock-body {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  min-height: 492px;
}

.sidebar {
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(0, 0, 0, 0.1);
}

.repo-name {
  margin-bottom: 20px;
  color: var(--ink);
  font-weight: 900;
}

.side-pill {
  margin: 9px 0;
  padding: 10px 12px;
  border-radius: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.88rem;
}

.side-pill.active {
  color: #03101a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.workspace {
  min-width: 0;
  padding: clamp(20px, 3vw, 30px);
}

.workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.workspace-title {
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 900;
}

.workspace p {
  margin-bottom: 0;
}

.branch {
  flex: 0 0 auto;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--mint);
  background: rgba(141, 255, 207, 0.1);
  font-size: 0.82rem;
  font-weight: 900;
}

.change-list {
  display: grid;
  gap: 12px;
}

.change {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(125, 211, 252, 0.17);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(39, 216, 255, 0.4);
}

.change strong,
.change span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.change strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.change span {
  color: var(--dim);
  font-size: 0.86rem;
}

.badge {
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
}

.commit-box,
.callout {
  margin-top: 22px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(141, 255, 207, 0.2);
  background: rgba(141, 255, 207, 0.08);
}

.commit-box strong,
.callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--mint);
}

.section {
  margin-top: clamp(64px, 9vw, 104px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.grid-2,
.grid-3,
.checkout-grid {
  display: grid;
  gap: 18px;
  min-width: 0;
}

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

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

.checkout-grid {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.78fr);
  gap: 24px;
  align-items: start;
}

.card,
.panel,
.pricing-band,
.article-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card,
.panel,
.article-shell {
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
}

.article-shell {
  margin-top: 24px;
}

.card-kicker {
  margin-bottom: 12px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card {
  min-height: 100%;
}

.stat-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: var(--card-strong);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.1rem;
}

.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 40px);
}

.price {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.9rem, 6vw, 5.1rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.price-sm {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
}

.price-copy {
  max-width: 640px;
  margin: 12px 0 0;
}

.meta-list {
  display: grid;
  margin-top: 18px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(158, 189, 211, 0.14);
}

.meta-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.meta-row span {
  color: var(--muted);
}

.meta-row strong {
  color: var(--ink);
  text-align: right;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
  box-shadow: 0 0 16px rgba(39, 216, 255, 0.35);
}

.status {
  width: 100%;
  min-height: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.status[data-state="success"] {
  color: var(--mint);
}

.status[data-state="error"] {
  color: var(--danger);
}

.summary-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(125, 211, 252, 0.16);
}

.summary-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.summary-value {
  flex: 1 1 280px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(125, 211, 252, 0.16);
  color: var(--ink);
  font-family: "SF Mono", "Menlo", monospace;
  overflow-wrap: anywhere;
}

.fallback {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 209, 102, 0.24);
  background: rgba(255, 209, 102, 0.08);
}

.fallback[hidden],
.ghost-button[hidden] {
  display: none;
}

.inline-link {
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 0.16em;
}

.footer {
  justify-content: space-between;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(125, 211, 252, 0.14);
  color: var(--dim);
}

.legal-list {
  padding-left: 20px;
}

.legal-list li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero-grid,
  .pricing-band,
  .checkout-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .mock-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sidebar {
    display: none;
  }

  .app-preview {
    border-radius: 30px;
  }
}

@media (max-width: 640px) {
  .site {
    width: min(calc(100% - 28px), var(--max));
    padding-top: 20px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .nav,
  .simple-nav {
    justify-content: flex-start;
    gap: 14px;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
  }

  .page-title {
    font-size: clamp(2.55rem, 11vw, 3.5rem);
  }

  .button-row,
  .summary-row,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .secondary-button,
  .ghost-button {
    width: 100%;
  }

  .workspace-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .change {
    grid-template-columns: 14px minmax(0, 1fr);
  }

  .badge {
    grid-column: 2;
  }

  .meta-row {
    flex-direction: column;
    gap: 4px;
  }

  .meta-row strong {
    text-align: left;
  }

  .card,
  .panel,
  .article-shell {
    border-radius: 26px;
  }
}
