:root {
  color-scheme: light;
  --bg: #fbfbfa;
  --surface: #ffffff;
  --ink: #101214;
  --muted: #6d737c;
  --line: #e4e4e0;
  --soft: #f2f4f3;
  --accent: #4cc9c0;
  --accent-dark: #177f78;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(16, 18, 20, 0.08);
  background: rgba(251, 251, 250, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 18px;
  font-weight: 760;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 860;
  line-height: 1;
}

nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.nav-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 112px 32px 48px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.06;
}

h2 {
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.08;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 710px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
}

.primary-action {
  background: var(--ink);
  color: #fff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
}

.product-stage {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 32px 100px;
}

.terminal-window {
  overflow: hidden;
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 22px;
  background: #101214;
  box-shadow: 0 34px 100px rgba(16, 18, 20, 0.2);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.window-bar span:nth-child(2) {
  background: #febc2e;
}

.window-bar span:nth-child(3) {
  background: #28c840;
  margin-right: 8px;
}

.terminal-body {
  padding: 32px;
  color: #f5f7f7;
}

.cmd {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.45;
}

.review-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.review-panel div,
.budget-row {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
}

.review-panel div {
  min-height: 130px;
  padding: 20px;
}

.review-panel small,
.budget-row span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.review-panel strong {
  display: block;
  margin-top: 14px;
  font-size: 34px;
}

.review-panel .save {
  background: rgba(76, 201, 192, 0.13);
  border-color: rgba(76, 201, 192, 0.42);
}

.review-panel .save strong {
  color: var(--accent);
}

.budget-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 18px 20px;
}

.progress {
  height: 9px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress span {
  display: block;
  width: 41%;
  height: 100%;
  background: var(--accent);
}

.result {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 92px 32px;
}

.section-copy {
  max-width: 780px;
  margin-bottom: 34px;
}

.feature-list,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-list article,
.plans article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.feature-list p,
.plans p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.pricing {
  max-width: none;
  padding-inline: max(32px, calc((100vw - 1120px) / 2));
  background: var(--soft);
}

.plans strong {
  display: block;
  margin-top: 18px;
  font-size: 32px;
}

.plans a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 20px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 760;
}

.plans .selected {
  border-color: rgba(23, 127, 120, 0.45);
  box-shadow: 0 24px 70px rgba(23, 127, 120, 0.12);
}

.plans .selected a {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.checkout-section {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: center;
  padding: 104px 32px;
}

.checkout-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.checkout-card {
  overflow: hidden;
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 22px;
  background: #070808;
  color: #fff;
  box-shadow: 0 28px 80px rgba(16, 18, 20, 0.18);
}

.checkout-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.checkout-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 860;
  line-height: 1;
}

.checkout-head p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.checkout-head > strong {
  font-size: 20px;
}

.checkout-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: rgba(255, 255, 255, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-line strong {
  color: #fff;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 24px;
  border-radius: 999px;
  background: #fff;
  color: #070808;
  font-weight: 800;
}

.install-section {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
  padding: 96px 32px 120px;
}

.install-card {
  display: grid;
  gap: 10px;
}

.install-card code {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.success-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 140px 32px 120px;
  text-align: center;
}

.success-command {
  max-width: 640px;
  margin: 34px auto 0;
}

.success-command code {
  display: block;
  padding: 20px 22px;
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 16px;
  background: #101214;
  color: #fff;
  font-size: 16px;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }

  nav {
    display: none;
  }

  .hero {
    padding: 72px 20px 34px;
  }

  .product-stage,
  .section,
  .checkout-section,
  .success-section,
  .install-section {
    padding-inline: 20px;
  }

  .review-panel,
  .feature-list,
  .plans,
  .checkout-section,
  .install-section {
    grid-template-columns: 1fr;
  }

  .terminal-body {
    padding: 22px;
  }
}
