@font-face {
  font-family: Geist;
  src: url("/fonts/geist-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --obsidian: #071019;
  --graphite: #0a1621;
  --panel: #0c1b25;
  --ice: #dffbff;
  --teal: #5eead4;
  --blue: #7dd3fc;
  --steel: #8098a8;
  --muted: #94a9b4;
  --border: #193a4b;
  --border-bright: #2c6174;
  --bg: var(--obsidian);
  --card: #0a162180;
  --text: var(--ice);
  --accent: var(--teal);
  --line: var(--border);
  --font: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--obsidian);
}

body {
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ice);
  line-height: 1.6;
  background:
    linear-gradient(rgba(125, 211, 252, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.025) 1px, transparent 1px),
    var(--obsidian);
  background-size: 72px 72px;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 76% 22%, rgba(36, 106, 119, 0.16), transparent 35rem);
}

::selection {
  color: var(--obsidian);
  background: var(--teal);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  color: var(--ice);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--ice);
}

img {
  max-width: 100%;
}

button,
input {
  font: inherit;
}

.shell,
.wrap {
  width: min(100% - 48px, 1120px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--obsidian);
  background: var(--teal);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(25, 58, 75, 0.82);
  background: #071019e0;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
}

.brand__mark::after {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px #5eead4cc;
}

.brand__mark span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ice);
}

.brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand__name {
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__product {
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2.2vw, 32px);
  color: #a9bbc4;
  font-size: 0.83rem;
}

.site-nav a {
  transition: color 0.16s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ice);
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 560;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: center;
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 8vw, 96px);
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.8rem, 6.4vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.lede,
.hero__lede,
.muted {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #031713;
  background: var(--teal);
  font-size: 0.84rem;
  font-weight: 610;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 38px #5eead41f;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.button:hover,
.btn:hover {
  background: #84f2e1;
  text-decoration: none;
  transform: translateY(-2px);
}

.button--secondary,
.btn.secondary {
  color: var(--ice);
  background: #0a162173;
  border-color: var(--border-bright);
  box-shadow: none;
}

.button--secondary:hover,
.btn.secondary:hover {
  background: #0c1b25;
  color: var(--ice);
}

.button--ghost {
  min-height: 38px;
  color: var(--steel);
  background: transparent;
  border-color: var(--border);
  box-shadow: none;
}

.workspace {
  position: relative;
  min-height: 340px;
  border: 1px solid var(--border);
  background:
    linear-gradient(rgba(125, 211, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 211, 252, 0.035) 1px, transparent 1px),
    #0a162185;
  background-size: 32px 32px;
  box-shadow: inset 0 0 80px #071019e0, 0 40px 100px #0003;
}

.workspace::before,
.workspace::after {
  position: absolute;
  width: 22px;
  height: 22px;
  content: "";
  pointer-events: none;
}

.workspace::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
}

.workspace::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

.workspace__bar,
.workspace__status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.workspace__status {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}

.workspace__live {
  color: var(--teal);
}

.workspace__live::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
  box-shadow: 0 0 9px #5eead4e6;
}

.workspace__panes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  padding: 0 18px 52px;
}

.workspace__page,
.workspace__agent {
  min-height: 190px;
  padding: 16px;
  border: 1px solid var(--border);
  background: #071019b8;
}

.workspace__page span,
.workspace__agent span {
  display: block;
  color: #6f8996;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workspace__page strong,
.workspace__agent strong {
  display: block;
  margin-top: 28px;
  color: var(--ice);
  font-size: 0.95rem;
  font-weight: 520;
  letter-spacing: -0.03em;
}

.workspace__agent p {
  margin: 10px 0 0;
  color: #88a0ab;
  font-size: 0.78rem;
  line-height: 1.5;
}

.proof-rail {
  border-block: 1px solid var(--border);
  background: #0a1621b8;
}

.proof-rail__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-metric {
  padding: 26px clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--border);
}

.proof-metric:last-child {
  border-right: 0;
}

.proof-metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ice);
  font-size: 1.15rem;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.proof-metric span {
  color: #a8bac3;
  font-size: 0.8rem;
  line-height: 1.4;
}

.section {
  padding: clamp(80px, 10vw, 128px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(24px, 6vw, 80px);
  align-items: start;
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

.section-heading p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.step-grid,
.plan-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid article,
.plan-grid article,
.support-grid article,
.card {
  min-height: 180px;
  padding: clamp(22px, 3vw, 36px);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--card);
}

.card {
  margin: 16px 0;
  min-height: 0;
}

.step-grid span,
.plan-grid span,
.support-grid span {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.step-grid h3,
.plan-grid h3,
.support-grid h3,
.card h2,
.card h3 {
  margin: 28px 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.card h2 {
  margin-top: 0;
}

.step-grid p,
.plan-grid p,
.support-grid p,
.card p {
  margin: 14px 0 0;
  color: #8fa5b0;
  line-height: 1.65;
}

.plan-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--ice);
  font-size: 1.55rem;
  font-weight: 520;
  letter-spacing: -0.04em;
}

.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer__inner,
footer.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding-block: 26px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer nav,
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-footer a:hover {
  color: var(--ice);
}

.site-footer p {
  margin: 0;
  color: var(--steel);
}

.page-hero {
  padding: clamp(64px, 8vw, 108px) 0 24px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

.legal {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
  padding: 24px 0 120px;
}

.legal h2 {
  margin: 42px 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.legal h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.legal p,
.legal li {
  color: #9db0ba;
  line-height: 1.75;
}

.legal a {
  color: var(--teal);
  text-decoration: underline;
  text-decoration-color: var(--border-bright);
  text-underline-offset: 4px;
}

.legal a:hover {
  text-decoration-color: var(--teal);
}

.legal ul {
  padding-left: 1.15rem;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
}

.legal th,
.legal td,
th,
td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  vertical-align: top;
  color: #9db0ba;
  font-size: 0.92rem;
}

.legal th,
th {
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal code,
code {
  font-family: var(--mono);
  font-size: 0.86em;
  color: var(--ice);
}

.doc-meta {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.status {
  color: var(--muted);
  min-height: 1.4em;
}

.plan-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

label {
  display: block;
  margin-top: 16px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  color: var(--ice);
  background: #071019c2;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: var(--teal);
  outline: 1px solid var(--teal);
  outline-offset: 0;
}

.upgrade-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  padding-bottom: 96px;
  align-items: start;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .upgrade-layout,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .proof-rail__inner,
  .step-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-metric:nth-child(2n) {
    border-right: 0;
  }

  .proof-metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 800px) {
  .shell,
  .wrap,
  .legal {
    width: min(100% - 36px, 1120px);
  }

  .site-header__inner {
    min-height: 68px;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 16px;
    gap: 14px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .hero {
    padding-block: 64px 48px;
  }

  .workspace {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .proof-rail__inner,
  .step-grid,
  .support-grid,
  .plan-grid,
  .workspace__panes {
    grid-template-columns: 1fr;
  }

  .proof-metric,
  .proof-metric:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-metric:last-child {
    border-bottom: 0;
  }

  .hero__actions,
  .actions {
    display: grid;
  }

  .button,
  .btn {
    width: 100%;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
