:root {
  --canvas: #0c0e11;
  --base: #14171b;
  --panel: #1b1f24;
  --raised: #23282e;
  --text-hi: #e6e9ed;
  --text-mid: #9ba3ad;
  --text-lo: #6b727c;
  --border: #2a2f36;
  --border-hi: #333940;
  --accent: #8b95a3;
  --accent-hover: #a6b0bd;
  --success: #4cc38a;
  --font-ui: "Geist", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { background: var(--canvas); scroll-behavior: smooth; }
body {
  min-height: 100vh; margin: 0; color: var(--text-hi); background: var(--canvas);
  font: 13px var(--font-ui); color-scheme: dark; -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.021) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(139,149,163,.28); }
.skip-link {
  position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 13px;
  transform: translateY(-150%); border: 1px solid var(--accent); border-radius: 3px;
  background: var(--panel);
}
.skip-link:focus { transform: none; }

.site-nav {
  display: flex; width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); height: 72px;
  align-items: center; justify-content: space-between; margin: 0 auto; padding: 0 var(--gutter);
}
.site-nav__brand { display: block; width: 146px; }
.site-nav__brand img { display: block; width: 100%; }
.site-nav__actions { display: flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 500; }
.nav-text { color: var(--text-mid); transition: color 120ms ease; }
.nav-text:hover, .nav-text.is-current { color: var(--text-hi); }
.nav-cta {
  display: inline-flex; height: 36px; align-items: center; gap: 13px; padding: 0 13px;
  border: 1px solid var(--border-hi); border-radius: 3px; background: var(--panel); transition: 120ms ease;
}
.nav-cta:hover { border-color: #3d4550; background: var(--raised); }

.pricing-shell { width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); margin: 0 auto; padding: 86px var(--gutter) 72px; }
.pricing-hero { position: relative; max-width: 840px; margin-bottom: 66px; }
.pricing-hero__index {
  display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
  color: var(--text-lo); font: 500 9px var(--font-mono); letter-spacing: .1em;
}
.pricing-hero__index span:first-child {
  display: inline-flex; width: 25px; height: 19px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 2px; background: var(--base); color: var(--text-mid);
}
.pricing-hero__index i { width: 32px; height: 1px; background: var(--border-hi); }
.eyebrow { margin: 0 0 14px; color: var(--text-lo); font: 500 9.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.pricing-hero h1 {
  max-width: 800px; margin: 0; font-size: clamp(42px, 6vw, 72px); font-weight: 500;
  letter-spacing: -.058em; line-height: .98; text-wrap: balance;
}
.pricing-hero__lede { max-width: 600px; margin: 25px 0 0; color: var(--text-mid); font-size: 15px; line-height: 1.65; text-wrap: pretty; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-card {
  position: relative; display: flex; min-height: 590px; flex-direction: column; padding: 27px;
  overflow: hidden; border: 1px solid var(--border); border-radius: 4px; background: rgba(20,23,27,.96);
}
.plan-card::after {
  position: absolute; right: -70px; bottom: -125px; width: 300px; height: 300px;
  border: 1px solid var(--border); border-radius: 50%; content: ""; pointer-events: none;
}
.plan-card--featured { border-color: #46505b; background: linear-gradient(145deg, #1d2228, var(--base) 55%); }
.plan-card--featured::before {
  position: absolute; top: -175px; right: -120px; width: 390px; height: 390px;
  border: 1px solid rgba(166,176,189,.12); border-radius: 50%; content: ""; pointer-events: none;
}
.plan-card__topline { position: relative; z-index: 1; display: flex; min-height: 22px; align-items: center; justify-content: space-between; }
.plan-code, .plan-note, .plan-badge { color: var(--text-lo); font: 500 8.5px var(--font-mono); letter-spacing: .09em; }
.plan-badge { padding: 5px 7px; border: 1px solid #405247; border-radius: 2px; color: var(--success); background: rgba(76,195,138,.04); }
.plan-card__heading { position: relative; z-index: 1; margin-top: 54px; }
.plan-kicker { margin: 0 0 10px; color: var(--accent-hover); font: 500 10px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan-card h2 { margin: 0; font-size: clamp(27px, 3vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1.06; }
.price { position: relative; z-index: 1; display: flex; align-items: flex-start; margin-top: 36px; }
.price__currency { margin: 8px 5px 0 0; color: var(--text-mid); font: 500 18px var(--font-mono); }
.price strong { font-size: clamp(48px, 5vw, 66px); font-weight: 500; letter-spacing: -.06em; line-height: .9; }
.price__period { align-self: flex-end; margin: 0 0 4px 9px; color: var(--text-lo); font: 400 10px var(--font-mono); }
.plan-summary { position: relative; z-index: 1; max-width: 470px; min-height: 47px; margin: 27px 0 0; color: var(--text-mid); font-size: 13px; line-height: 1.55; }
.feature-list { position: relative; z-index: 1; display: grid; gap: 11px; margin: 27px 0 30px; padding: 24px 0 0; border-top: 1px solid var(--border); list-style: none; color: var(--text-mid); }
.feature-list li { display: flex; align-items: baseline; gap: 10px; }
.feature-list span { color: var(--success); font-family: var(--font-mono); }
.plan-action {
  position: relative; z-index: 1; display: flex; width: 100%; height: 45px; align-items: center;
  justify-content: space-between; margin-top: auto; padding: 0 14px; border: 1px solid var(--border-hi);
  border-radius: 3px; background: var(--panel); color: var(--text-hi); cursor: pointer;
  font: 600 12px var(--font-ui); transition: 120ms ease;
}
.plan-action:hover { border-color: #46505b; background: var(--raised); }
.plan-action--primary { border-color: var(--accent); background: var(--accent); color: var(--canvas); }
.plan-action--primary:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.plan-action[disabled] {
  border-color: var(--border-hi); background: var(--panel); color: var(--text-lo);
  cursor: not-allowed; opacity: .78;
}
.plan-action[disabled]:hover { border-color: var(--border-hi); background: var(--panel); }

.pricing-footnotes { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; border: 1px solid var(--border); border-radius: 4px; background: var(--base); }
.pricing-footnotes > div { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 24px; border-right: 1px solid var(--border); }
.pricing-footnotes > div:last-child { border-right: 0; }
.pricing-footnotes span { color: var(--text-lo); font: 500 9px var(--font-mono); }
.pricing-footnotes p { margin: 0; color: var(--text-lo); font-size: 11px; line-height: 1.6; }
.pricing-footnotes strong { display: block; margin-bottom: 4px; color: var(--text-mid); font-weight: 500; }

.site-footer {
  display: flex; width: 100%; max-width: calc(var(--shell) + var(--gutter) * 2); min-height: 62px;
  align-items: center; justify-content: space-between; margin: 0 auto; padding: 0 var(--gutter);
  border-top: 1px solid var(--border); color: var(--text-lo); font: 400 8px var(--font-mono); letter-spacing: .04em;
}
.site-footer nav { display: flex; gap: 16px; }
.site-footer a:hover { color: var(--text-mid); }

@media (max-width: 760px) {
  .site-nav { height: 60px; }
  .site-nav__brand { width: 126px; }
  .site-nav__actions { gap: 13px; }
  .site-nav__actions > .nav-text:first-child { display: none; }
  .nav-cta { height: 33px; padding: 0 10px; }
  .pricing-shell { padding-top: 60px; }
  .pricing-hero { margin-bottom: 42px; }
  .pricing-hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .pricing-hero__lede { font-size: 13px; }
  .plans { grid-template-columns: 1fr; }
  .plan-card { min-height: auto; padding: 22px; }
  .plan-card__heading { margin-top: 42px; }
  .plan-action { margin-top: 2px; }
  .pricing-footnotes { grid-template-columns: 1fr; }
  .pricing-footnotes > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .pricing-footnotes > div:last-child { border-bottom: 0; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 13px; padding-top: 21px; padding-bottom: 21px; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
