:root {
  --bg: #08090c;
  --bg-soft: #0e1016;
  --card: #12141c;
  --line: #1e2130;
  --text: #e8eaf0;
  --muted: #8b90a3;
  --dim: #5a5f73;
  --accent: #6d7cff;
  --accent-soft: rgba(109, 124, 255, 0.12);
  --ok: #3ecf8e;
  --del: #ff6b81;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.92em; }

/* ---------------------------------------------------------------- nav --- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(8, 9, 12, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.mark {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #9b6dff);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }

/* -------------------------------------------------------------- buttons --- */

.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #7d8aff; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: #333853; }
.btn-lg { padding: 13px 26px; font-size: 15.5px; border-radius: 12px; }

/* ---------------------------------------------------------------- hero --- */

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 24px 80px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  padding: 5px 12px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #a3adff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 30%, #a9aec4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
}

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

.hero-facts {
  display: flex;
  gap: 34px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
  list-style: none;
  color: var(--dim);
  font-size: 14px;
}
.hero-facts strong { color: var(--text); font-weight: 600; }

/* ------------------------------------------------------------- sections --- */

.section { max-width: var(--max); margin: 0 auto; padding: 84px 24px; }

.section-title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 750;
  letter-spacing: -0.02em;
  text-align: center;
}
.section-lede { max-width: 560px; margin: 12px auto 0; text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- grid --- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card), #0d0f16);
  transition: border-color 0.18s, transform 0.18s;
}
.card:hover { border-color: #2c3150; transform: translateY(-2px); }
.card h3 { font-size: 17.5px; font-weight: 650; margin-bottom: 9px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 14.8px; }

.icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: #a3adff;
  font-size: 18px;
}

/* --------------------------------------------------------------- split --- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 750; letter-spacing: -0.02em; margin-bottom: 14px; }
/* Scoped to the prose column on purpose. As `.split p` this also matched every
   paragraph inside the mock-up beside it, and beat the single-class rules there
   on specificity — which put muted grey text on the blue chat bubble and washed
   the colour out of the diff and DNS lines. */
.split .split-text p { color: var(--muted); }

.checks { list-style: none; margin-top: 22px; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 27px; color: var(--muted); font-size: 15px; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--ok);
  font-weight: 700;
}

.fine { margin-top: 20px; font-size: 13.5px; color: var(--dim); }

/* -------------------------------------------------------------- window --- */

.window {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0d13;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.window-bar {
  display: flex;
  gap: 7px;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  background: #0e1017;
}
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #262a3a; }
.window-body { padding: 18px; display: grid; gap: 10px; font-size: 13.5px; }

.chat-user {
  justify-self: end;
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px 12px 4px 12px;
  background: var(--accent);
  color: #fff;
}
.chat-ai { color: var(--muted); }
.chat-step {
  display: flex;
  justify-content: space-between;
  padding: 7px 11px;
  border-radius: 8px;
  background: #11141c;
  color: var(--dim);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.chat-change {
  display: flex;
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(109, 124, 255, 0.3);
  border-radius: 8px;
  background: rgba(109, 124, 255, 0.07);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #a3adff;
}
.chat-change .add { color: var(--ok); margin-left: auto; }
.chat-change .del { color: var(--del); }

.dns {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px;
}
.dns .ok {
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(62, 207, 142, 0.14);
  color: var(--ok);
  font-size: 10.5px;
  font-weight: 700;
}
.dns .dim { color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dns-note { margin-top: 4px; color: var(--ok); font-size: 12.5px; }

/* --------------------------------------------------------------- steps --- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 48px;
  list-style: none;
  counter-reset: none;
}
.steps li { padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.step-n {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-bottom: 15px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: #a3adff;
  font-weight: 700;
  font-size: 14px;
}
.steps h3 { font-size: 16.5px; font-weight: 650; margin-bottom: 7px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* ----------------------------------------------------------------- cta --- */

.cta {
  max-width: var(--max);
  margin: 40px auto 96px;
  padding: 64px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(109, 124, 255, 0.14), transparent 62%), var(--bg-soft);
  text-align: center;
}
.cta h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 750; letter-spacing: -0.02em; }
.cta p { margin: 12px 0 28px; color: var(--muted); }

/* -------------------------------------------------------------- footer --- */

.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px 26px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.footer-links a:hover { color: var(--text); }
.copyright {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px 36px;
  color: var(--dim);
  font-size: 13px;
}

/* -------------------------------------------------------------- mobile --- */

@media (max-width: 860px) {
  .nav { gap: 16px; }
  .nav-links { display: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-text { order: 0; }
  .hero { padding: 64px 20px 56px; }
  .section { padding: 60px 20px; }
  .hero-facts { gap: 20px; }
}

/* ---------------------------------------------------- window title bar --- */

.window-bar em {
  margin-left: 8px;
  color: var(--dim);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.01em;
}

/* ------------------------------------------------------------- toggles --- */

.toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  background: #11141c;
  font-size: 13px;
  color: var(--muted);
}
.toggle b { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.toggle .on { background: rgba(62, 207, 142, 0.14); color: var(--ok); }
.toggle .off { background: rgba(255, 107, 129, 0.14); color: var(--del); }

/* --------------------------------------------------------------- specs --- */

.specs {
  display: grid;
  /* Two columns, so the four groups sit 2x2. At three columns the fourth is
     stranded on a row of its own, which reads as an afterthought. */
  /* `min(…, 100%)` and not a bare 460px: auto-fit still honours the minimum on
     a narrow screen, so a bare value forces a column wider than the viewport
     and the whole page scrolls sideways. */
  grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
  gap: 18px;
  margin-top: 48px;
}

.spec-group {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.spec-group h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #a3adff;
  margin-bottom: 16px;
}
.spec-group dl { display: grid; gap: 12px; }
.spec-group dl > div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: baseline;
}
.spec-group dt { color: var(--dim); font-size: 13px; }
.spec-group dd { color: var(--muted); font-size: 14px; }

@media (max-width: 520px) {
  .spec-group dl > div { grid-template-columns: 1fr; gap: 2px; }
  .spec-group dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
}
