/* ============================================================
   NanoAgent — landing page styles
   ============================================================ */

:root {
  --bg:        #06070A;
  --bg-2:      #06070A;
  --surface:   #06070A;
  --surface-2: #06070A;
  --border:    rgba(255,255,255,.09);
  --border-2:  rgba(255,255,255,.16);

  --text:      #e8eaf0;
  --text-mut:  #9aa1b2;
  --text-dim:  #6b7185;

  --acc-1:     #1ec8eb; 
  --acc-2:     #1ec8eb;
  --acc-3:     #b07cff;
  --grad:      linear-gradient(100deg, var(--acc-1), var(--acc-2) 55%, var(--acc-3));

  --maxw: 1160px;
  --radius: 0;
  --radius-sm: 0;

  --mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", "Cascadia Code", Menlo, Consolas, monospace;
  --sans: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-radius: 0 !important;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}


.container-full {
  max-width: unset !important;
  margin-inline: auto;
  padding-inline: 24px;
  padding-left: 0;
  padding-right: 0;
}
/* ───────── ambient background ───────── */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background:
    linear-gradient(var(--bg), var(--bg-2));
}
.bg-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-glow {
  position: fixed; z-index: -1; top: -260px; left: 50%;
  width: 1100px; height: 700px; transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(124,140,255,.20), transparent),
    radial-gradient(closest-side, rgba(110,231,255,.14) 60%, transparent) 70% 40%;
  filter: blur(30px);
  pointer-events: none;
}

/* ───────── buttons ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; line-height: 1;
  padding: 11px 18px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--lg { font-size: 15px; padding: 14px 24px; }
.btn--primary {
  color: #06121a;
  background: var(--acc-2);
}
.btn--primary:hover { background: #93a0ff; transform: translateY(-2px);  }
.btn--ghost {
  color: var(--text); background: rgba(255,255,255,.04); border-color: var(--border-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ───────── nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, rgba(5,7,11,.96), rgba(5,7,11,.88));
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.nav.is-scrolled {
  background: linear-gradient(180deg, rgba(4,6,10,.98), rgba(4,6,10,.94));
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 51px; position: relative; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; }
.brand__mark { border-radius: 7px; }
.brand__name { font-size: 17px; color: #f4f7fb; }

.nav__links {
  display: flex; align-items: center; gap: 6px;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 8px 12px;
}
.nav__links a {
  color: #a5acbb;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.02em;
  padding: 10px 14px;
  transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: #f3f6fb; background: rgba(255,255,255,.04); }
.nav__mobile-actions { display: none; }

/* mega menu — native <details>, no JS */
.mega { position: relative; }
.mega > summary {
  list-style: none; cursor: pointer; color: #a5acbb;
  font-size: 14px; font-weight: 600; letter-spacing: -.02em; padding: 10px 14px; transition: color .15s ease, background .15s ease;
}
.mega > summary::-webkit-details-marker { display: none; }
.mega > summary::after { content: " ▾"; font-size: 10px; }
.mega:hover > summary, .mega[open] > summary { color: #f3f6fb; background: rgba(255,255,255,.04); }
.mega[open] > summary::after { content: " ▴"; }
.mega__panel {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  width: 500px; max-width: calc(100vw - 32px);
  background: rgba(8,9,13,.98); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
/* invisible bridge over the gap so hover stays alive between label and panel */
.mega__panel::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 20px;
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px; }
.mega__col { display: flex; flex-direction: column; gap: 4px; }

/* featured item: icon tile + title + subtitle */
.mfeat { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); }
.mfeat:hover { background: rgba(255,255,255,.05); }
.mfeat__ico {
  flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 9px; font-size: 17px; color: #04060a;
  background: var(--acc-1); box-shadow: 0 4px 14px rgba(124,140,255,.3);
}
.mfeat strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; }
.mfeat > span:last-child > span { color: var(--text-mut); font-size: 12px; line-height: 1.4; }

/* plain link lists */
.mega__links { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 4px 0; }
.mega__links a { padding: 7px 12px; border-radius: 8px; color: var(--text-mut); font-size: 13px; }
.mega__links a:hover { color: var(--text); background: rgba(255,255,255,.05); }

/* open on hover for pointer devices; tap toggles via native [open] on touch */
@media (hover: hover) {
  .mega:hover > .mega__panel { display: block; }
  .mega:not([open]):not(:hover) > .mega__panel { display: none; }
}

.nav__actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav__cta { padding: 10px 18px; }
.ghost-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-mut); font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border);
  transition: color .15s ease, border-color .15s ease;
}
.ghost-link:hover { color: var(--text); border-color: var(--border-2); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ───────── hero / header ───────── */
.hero {
  text-align: center;
  max-width: 1000px; margin-inline: auto;
  padding-top: 64px; padding-bottom: 24px;
}
.grad {
  display: block;
  margin-top: 0.08em;
  background: linear-gradient(90deg, #2fd4ff 0%, #5c9cff 48%, #6c54ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title {
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 800;
  margin: 0;
  color: #f3f6fb;
  text-wrap: balance;
}
.hero__sub {
  margin: 22px auto 0; max-width: 640px; font-size: 17px; color: var(--text-mut);
}
.install__sigil { color: var(--acc-1); margin-right: 8px; user-select: none; }

/* ───────── install selector (Kilo-style) ───────── */
.installer {
  margin: 34px auto 0; 
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
  text-align: left;
}
.installer__tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 7px;
  background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.itab {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: none; color: var(--text-mut);
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: .15s;
}
.itab__icon,
.csub__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: .9;
}
.itab__icon svg,
.csub__icon svg {
  display: block;
}
.itab:hover { color: var(--text); background: rgba(255,255,255,.05); }
.itab.is-active { color: var(--text); background: rgba(124,140,255,.16); }
.installer__panels { padding: 12px; }
.ipanel { display: none; }
.ipanel.is-active { display: block; }

/* package-manager sub tabs (curl / npm / pnpm / …) */
.csub {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.csub__tab {
  display: inline-flex; align-items: center; gap: 7px;
  border: 0; background: none; color: var(--text-dim);
  font-family: var(--mono); font-size: 12.5px; font-weight: 600;
  padding: 7px 12px; border-radius: 8px 8px 0 0; cursor: pointer;
  border-bottom: 2px solid transparent; transition: .15s;
}
.csub__tab:hover { color: var(--text); }
.csub__tab.is-active { color: var(--acc-1); border-bottom-color: var(--acc-1); }
.csub__panel { display: none; }
.csub__panel.is-active { display: block; }
.csub__panel .installer__command-block + .installer__command-block { margin-top: 10px; }
.installer__screen {
  display: flex; align-items: stretch; gap: 0;
  background: #050505; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden;
}
.installer__cmd {
  flex: 1; min-width: 0;
  font-family: var(--mono); font-size: 13px; color: var(--text);
  padding: 8px 16px; overflow-x: auto; white-space: nowrap;
}
.installer__copy {
  flex-shrink: 0; border: 0; border-left: 1px solid var(--border);
  background: rgba(255,255,255,.04); color: var(--text-mut);
  font-weight: 600; font-size: 13px; padding: 0 18px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.installer__copy:hover { background: rgba(255,255,255,.09); color: var(--text); }
.installer__copy.is-copied { color: var(--acc-1); }
.installer__actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 12px;
}
.installer__actions .btn--lg {
  padding: 9px 18px; font-size: 14px;
}
.installer__foot {
  margin: 16px 0 2px; text-align: center; font-size: 13px; color: var(--text-dim);
}
.installer__foot a { color: var(--acc-1); }
.installer__foot a:hover { text-decoration: underline; }
.installer__foot code { font-family: var(--mono); color: var(--text-mut); }

/* hero visual */
.hero__visual { position: relative; max-width: 920px; margin: 56px auto 0; }
.visual__frame {
  position: relative; z-index: 1;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  background: #050505; overflow: hidden;
}
.visual__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 14px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot--r { background: #ff5f57; } .dot--y { background: #febc2e; } .dot--g { background: #28c840; }
.visual__title { margin-left: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-dim); }
.visual__img { width: 100%; }
.visual__halo {
  position: absolute; inset: -30px -20px; z-index: 0;
  background: radial-gradient(closest-side, rgba(124,140,255,.25), transparent 70%);
  filter: blur(40px);
}

/* ───────── stripband ───────── */
.stripband {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px;
  padding-top: 26px; padding-bottom: 26px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stripband__label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.stripband__list { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 0; padding: 0; }
.stripband__list li { font-size: 14px; color: var(--text-mut); font-weight: 500; }
.stripband__list code { font-family: var(--mono); font-size: 13px; color: var(--acc-1); }

/* ───────── works where you work band ───────── */
.workstrip {
  margin-top: 18px;
}
.workstrip__inner {
  padding-top: 30px;
  padding-bottom: 34px;
}
.workstrip__eyebrow {
  margin: 0 0 24px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.workstrip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.workstrip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  color: rgba(232,234,240,.72);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.workstrip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(232,234,240,.72);
}
.workstrip__icon svg {
  width: 28px;
  height: 28px;
}

/* ───────── sections ───────── */
.section { padding-top: 96px; padding-bottom: 0; }
.section__head { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--acc-1);
}
.section__title {
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em;
  font-weight: 800; margin: 12px 0 0;
}
.section__lede { margin: 16px 0 0; font-size: 16.5px; color: var(--text-mut); }
.section__head .section__lede { margin-inline: auto; }

/* ───────── feature grid ───────── */
.grid { display: grid; gap: 18px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: 0 20px 50px -30px rgba(124,140,255,.5); }
.card__icon {
  width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px;
  border-radius: 12px; background: rgba(124,140,255,.1); border: 1px solid var(--border);
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-mut); font-size: 14.5px; }
.card code, .control-list code, .cmd code, .stripband code,
.feature-list code, .section__lede code, .install__alt code, .privacy code {
  font-family: var(--mono); font-size: .9em;
  background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; color: var(--acc-1);
}

/* ───────── feature list ───────── */
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list__item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 4px; border-top: 1px solid var(--border);
  transition: background .2s ease;
}
.feature-list__item:last-child { border-bottom: 1px solid var(--border); }
.feature-list__item:hover { background: rgba(124,140,255,.04); }
.feature-list__item .card__icon {
  flex: none; margin-bottom: 0; background: none; border: none;
  width: 26px; height: 26px; font-size: 16px; border-radius: 0;
}
.feature-list__text h3 { margin: 0 0 2px; font-size: 14.5px; letter-spacing: -.01em; }
.feature-list__text p { margin: 0; color: var(--text-mut); font-size: 13px; line-height: 1.45; }

.section__actions { display: flex; justify-content: center;  margin-top: 28px; }

/* ───────── surfaces (tabs) ───────── */
.surfaces {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
}
.surfaces__tabs {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 10px;
  border-bottom: 1px solid var(--border); background: var(--bg-2);
}
.tab {
  border: 0; background: none; color: var(--text-mut);
  font-family: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 16px; border-radius: 9px; cursor: pointer; transition: .15s;
}
.tab:hover { color: var(--text); background: rgba(255,255,255,.05); }
.tab.is-active { color: var(--text); background: rgba(124,140,255,.16); }

.panel { display: none; grid-template-columns: 1fr 1fr; gap: 30px; padding: 36px; align-items: center; }
.panel.is-active { display: grid; }
.panel__text h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.01em; }
.panel__text p { margin: 0 0 16px; color: var(--text-mut); }
.text-link { color: var(--acc-1); font-weight: 600; font-size: 14.5px; }
.text-link:hover { text-decoration: underline; }
.panel__code {
  margin: 0; background: #050505; border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text);
}

/* ───────── split (control) ───────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split__copy .section__title { margin-top: 12px; }
.split__copy .section__lede { margin-bottom: 24px; }
.control-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.control-list li {
  position: relative; padding: 16px 18px 16px 46px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text-mut); font-size: 14.5px;
}
.control-list li strong { color: var(--text); }
.control-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 16px;
  width: 20px; height: 20px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #06121a;
  background: var(--acc-2); border-radius: 6px;
}

/* ───────── privacy ───────── */
.privacy {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: 40px;
}
.privacy__head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.privacy__head .section__lede { margin-inline: auto; }
.privacy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.privacy__col {
  border: 1px solid var(--border); border-radius: 12px; padding: 24px;
  background: var(--bg-2);
}
.privacy__col h3 { margin: 0 0 14px; font-size: 16px; }
.privacy__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.privacy__col li { position: relative; padding-left: 26px; color: var(--text-mut); font-size: 14.5px; }
.privacy__col--no li::before { content: "✕"; position: absolute; left: 0; color: #ff6b6b; font-weight: 700; }
.privacy__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--acc-1); font-weight: 700; }

/* ───────── precision grid ───────── */
.precision__head {
  max-width: 720px;
  margin: 0 0 46px;
}
.precision__title {
  margin: 0;
  max-width: 27ch;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 0.98;
  letter-spacing: -.04em;
  font-weight: 800;
  color: #f3f6fb;
  text-wrap: balance;
}
.precision__lede {
  margin: 18px 0 0;
  max-width: 59ch;
  font-size: 16px;
  color: var(--text-mut);
}
.precision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.precision-card {
  min-height: 214px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(124,140,255,.1);
  background: linear-gradient(180deg, rgba(7,8,12,.98), rgba(5,6,10,.98));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.precision-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110,231,255,.22);
  box-shadow: 0 24px 60px -36px rgba(110,231,255,.35);
}
.precision-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: #11d7ff;
  background: rgba(7, 42, 57, .9);
}
.precision-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.precision-card p {
  margin: 0;
  max-width: 30ch;
  color: var(--text-mut);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ───────── comparison table ───────── */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.compare {
  width: 100%; border-collapse: collapse; min-width: 760px;
  font-size: 14px;
}
.compare th, .compare td {
  padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--border);
}
.compare thead th {
  position: sticky; top: 0; background: var(--bg-2);
  font-size: 13px; font-weight: 700; color: var(--text-mut);
  border-bottom: 1px solid var(--border-2);
}
.compare thead .compare__us {
  color: var(--text);
  background: linear-gradient(180deg, rgba(124,140,255,.22), rgba(124,140,255,.06));
}
.compare tbody th[scope="row"] {
  text-align: left; font-weight: 600; color: var(--text);
  padding-left: 18px; white-space: nowrap;
}
.compare tbody tr:hover { background: rgba(255,255,255,.025); }
.compare td.compare__us, .compare th.compare__us { background: rgba(124,140,255,.07); }
.compare td { color: var(--text-dim); font-size: 16px; }
.compare .y { color: var(--acc-1); font-weight: 700; }
.compare .p { color: #febc2e; font-weight: 700; }
.compare .n { color: var(--text-dim); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare__legend {
  margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--text-mut);
}
.compare__legend .y { color: var(--acc-1); font-weight: 700; }
.compare__legend .p { color: #febc2e; font-weight: 700; }
.compare__legend .n { color: var(--text-dim); font-weight: 700; }
.compare__head {
  margin: 0 0 46px;
  text-align: left;
}
.compare__head .section__title,
.compare__head .section__lede {
  font-family: var(--sans);
}
.compare__note {
  margin: 14px 0 0;
  max-width: 72ch;
  text-align: left;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-dim);
}

/* ───────── providers ───────── */
.providers {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
}
.providers li {
  font-size: 14.5px; font-weight: 500; color: var(--text-mut);
  padding: 11px 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.providers li:hover { transform: translateY(-2px); border-color: var(--border-2); color: var(--text); }

/* ───────── quickstart steps ───────── */
.privacy-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .94fr);
  gap: 46px;
  align-items: center;
}
.privacy-showcase__copy {
  max-width: 560px;
}
.privacy-showcase__title {
  margin: 0;
  font-size: clamp(42px, 6vw, 64px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 800;
}
.privacy-showcase__title span {
  display: block;
}
.privacy-showcase__accent {
  color: #20c9f2;
}
.privacy-showcase__lede {
  max-width: 34ch;
  margin: 26px 0 0;
  color: var(--text-mut);
  font-size: 18px;
  line-height: 1.55;
}
.privacy-points {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
.privacy-points__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.privacy-points__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6f56ff;
}
.privacy-points__item h3 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.privacy-points__item p {
  margin: 0;
  max-width: 34ch;
  color: var(--text-mut);
  font-size: 15px;
  line-height: 1.55;
}
.privacy-orbit {
  min-width: 0;
}
.privacy-orbit__panel {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.02), transparent 38%),
    linear-gradient(180deg, rgba(8,10,15,.92), rgba(5,7,12,.96));
  overflow: hidden;
}
.privacy-orbit__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.privacy-orbit__ring--outer {
  width: 256px;
  height: 256px;
  border: 1px solid rgba(18,204,242,.35);
}
.privacy-orbit__ring--mid {
  width: 224px;
  height: 224px;
  border: 1px solid rgba(111,86,255,.28);
}
.privacy-orbit__ring--inner {
  width: 192px;
  height: 192px;
  border: 1px solid rgba(18,204,242,.2);
}
.privacy-orbit__dot {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.privacy-orbit__dot--top {
  top: calc(50% - 128px);
  left: 50%;
  background: #6a57f5;
}
.privacy-orbit__dot--right {
  top: 50%;
  left: calc(50% + 128px);
  background: #20c9f2;
}
.privacy-orbit__dot--bottom {
  top: calc(50% + 128px);
  left: 50%;
  background: #20c9f2;
}
.privacy-orbit__dot--left {
  top: 50%;
  left: calc(50% - 128px);
  background: #6a57f5;
}
.privacy-orbit__core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid rgba(18,204,242,.6);
  background: rgba(7,10,16,.95);
  box-shadow: 0 0 0 1px rgba(18,204,242,.06) inset;
}
.privacy-orbit__lock {
  color: #20c9f2;
}

.steps { display: grid; gap: 20px; max-width: 860px; margin-inline: auto; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.step__num {
  width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: #06121a;
  background: var(--acc-2); border-radius: 10px;
}
.step__body { min-width: 0; }
.step__body h3 { margin: 4px 0 14px; font-size: 19px; }
.step__note { margin: 0 0 12px; color: var(--text-mut); font-size: 14.5px; }

.codebox { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #050505; }
.codebox__tabs { display: flex; gap: 4px; padding: 8px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.codetab {
  border: 0; background: none; color: var(--text-mut); font-family: inherit;
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; cursor: pointer; transition: .15s;
}
.codetab:hover { color: var(--text); background: rgba(255,255,255,.05); }
.codetab.is-active { color: var(--text); background: rgba(124,140,255,.16); }
.codebox__body { position: relative; }

.codeblock {
  position: relative; margin: 0; padding: 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 13px; line-height: 1.75; color: var(--text);
  display: none;
}
.codebox .codeblock.is-active { display: block; }
.codeblock--solo {
  display: block; background: #050505; border: 1px solid var(--border); border-radius: 12px;
}
.codeblock__copy {
  position: absolute; top: 12px; right: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text-mut);
  font-weight: 600; font-size: 12px; padding: 6px 12px; border-radius: 7px; cursor: pointer;
  transition: .15s; z-index: 2;
}
.codeblock__copy:hover { background: rgba(255,255,255,.1); color: var(--text); }
.codeblock__copy.is-copied { color: var(--acc-1); border-color: var(--acc-1); }
.c-dim { color: var(--text-dim); }

/* line-numbered code (gateway proxy card) */
.codeblock--ln code { counter-reset: ln; display: block; }
.codeblock--ln .cl {
  display: block; counter-increment: ln; position: relative;
  padding-left: 3em; min-height: 1.75em;
}
.codeblock--ln .cl::before {
  content: counter(ln); position: absolute; left: 0; width: 1.8em;
  text-align: right; color: var(--text-dim); opacity: .5;
  -webkit-user-select: none; user-select: none;
}
.codetab.is-active { box-shadow: inset 0 -2px 0 var(--acc-1); }
.t-kw  { color: #c4a7ff; }
.t-str { color: #9ece6a; }
.t-fn  { color: #7aa2f7; }

/* in-session commands */
.cmds { margin-top: 50px; }
.cmds__title { text-align: center; font-size: 18px; margin: 0 0 22px; color: var(--text-mut); }
.cmds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cmd {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 6px;
}
.cmd > code {
  font-family: var(--mono); font-size: 14px; color: var(--acc-1);
  background: none; padding: 0; align-self: flex-start;
}
.cmd span { font-size: 13.5px; color: var(--text-mut); }
.cmd span code { font-size: 12.5px; }
.gateway-hero { padding-left: 158px; padding-right: 158px;  }

.gateway-highlight {
  padding-top: 6px;
}
.gateway-highlight__intro {
  margin-bottom: 34px;
}
.gateway-highlight__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #f4f7fb;
}
.gateway-highlight__lede {
  margin: 18px 0 0;
  color: var(--text-mut);
  font-size: 16px;
  line-height: 1.75;
}
.gateway-highlight__grid {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, .92fr);
  gap: 28px;
  align-items: stretch;
}
.gateway-highlight__stack {
  display: grid;
  gap: 16px;
}
.gateway-highlight__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 18px 17px;

 
}
.gateway-highlight__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #19d3ff;
  background: rgba(21,194,240,.12);
}
.gateway-highlight__copy h3 {
  margin: 1px 0 6px;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.gateway-highlight__copy p {
  margin: 0;
  color: var(--text-mut);
  font-size: 15px;
  line-height: 1.6;
}
.gateway-highlight__panel {
  min-width: 0;
}
.gateway-highlight__codebox {
  height: 100%;
}
.gateway-highlight__codebox .codebox__body {
  min-height: 320px;
}
.gateway-highlight__window {
  height: 100%;
  border: 1px solid rgba(255,255,255,.07);
  background: linear-gradient(180deg, rgba(29,32,42,.98), rgba(24,27,36,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  overflow: hidden;
}
.gateway-highlight__windowbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
}
.gateway-highlight__filename {
  color: #b7bdca;
  font-family: var(--mono);
  font-size: 13px;
}
.gateway-highlight__traffic {
  display: inline-flex;
  gap: 8px;
}
.gateway-highlight__traffic i {
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 999px !important;
}
.gateway-highlight__traffic i:nth-child(1) { background: #ff6a5c; }
.gateway-highlight__traffic i:nth-child(2) { background: #ffbd44; }
.gateway-highlight__traffic i:nth-child(3) { background: #00ca4e; }
.gateway-highlight__code {
  height: calc(100% - 49px);
  margin: 0;
  padding: 28px 24px 30px;
  border: 0;
  background: transparent;
  color: #b8becd;
  font-size: 14px;
}
.gateway-highlight__line {
  display: block;
  min-height: 1.75em;
}
.gateway-highlight__actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.btn--gateway-highlight {
  min-height: 44px;
  padding-inline: 24px;
  background: #1ec8eb;
}
.btn--gateway-highlight:hover {
  background: #39d0ef;
}

/* ───────── benchmarks ───────── */
.nuget-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 48px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(33,191,234,.08), transparent 38%),
    linear-gradient(135deg, rgba(10,11,16,.98), rgba(5,7,12,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.nuget-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #19d3ff;
  background: rgba(21,194,240,.12);
}
.nuget-card__body { min-width: 0; }
.nuget-card__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 34px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
}
.nuget-card__lede {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-mut);
  font-size: 16px;
  line-height: 1.7;
}
.nuget-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.btn--nuget,
.btn--nuget-secondary {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
}
.btn--nuget {
  color: #071019;
  background: #22c7ea;
  box-shadow: 0 14px 40px -18px rgba(34,199,234,.75);
}
.btn--nuget:hover {
  background: #3ad0ee;
  box-shadow: 0 18px 46px -18px rgba(34,199,234,.8);
}
.btn--nuget-secondary {
  background: rgba(255,255,255,.02);
  border-color: rgba(255,255,255,.12);
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nuget-card__command {
  margin-top: 24px;
  padding: 15px 20px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  background: rgba(3,4,8,.7);
  overflow-x: auto;
}
.nuget-card__command code {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  color: #b8becd;
  white-space: nowrap;
}
.nuget-card__command span { color: #19d3ff; }

/* ───────── CTA ───────── */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(8,10,15,.98), rgba(5,7,10,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  padding: 82px 32px 88px;
}
.cta__glow {
  position: absolute;
  inset: auto auto -140px 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 360px;
  background: radial-gradient(closest-side, rgba(124,140,255,.18), transparent 72%);
  filter: blur(44px);
  pointer-events: none;
}
.cta__badge {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  margin: 0 auto 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  box-shadow: 0 0 0 12px rgba(255,255,255,.01);
}
.cta__badge img {
  width: 24px;
  height: 24px;
  opacity: .95;
}
.cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 auto 16px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.05em;
  color: #f4f7fb;
  text-wrap: balance;
}
.cta p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto 34px;
  color: #a0a7b7;
  font-size: 17px;
  line-height: 1.6;
}
.cta__actions {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta .btn--primary {
  min-width: 168px;
  color: #05070b;
  background: #f3f5f8;
  box-shadow: none;
}
.cta .btn--primary:hover {
  background: #ffffff;
  box-shadow: none;
}
.cta .btn--ghost {
  min-width: 168px;
  background: rgba(255,255,255,.015);
  border-color: rgba(255,255,255,.1);
}
.cta .btn--ghost:hover {
  background: rgba(255,255,255,.05);
}

/* ───────── footer ───────── */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer__brand p { color: var(--text-mut); font-size: 14px; max-width: 280px; margin: 14px 0 0; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin: 0 0 14px; }
.footer__col a { display: block; color: var(--text-mut); font-size: 14px; padding: 5px 0; transition: color .15s ease; }
.footer__col a:hover { color: var(--text); }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 22px; padding-bottom: 32px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-dim);
}
.footer__sponsor a { color: var(--text-mut); }
.footer__sponsor a:hover { color: var(--acc-1); }

/* ───────── features page ───────── */
.feat-hero {
  text-align: center; max-width: var(--maxw); margin-inline: auto;
  padding-top: 56px; padding-bottom: 8px;
}
.feat-hero .hero__title { font-size: clamp(30px, 4.6vw, 52px); }
.feat-hero .hero__sub { margin-top: 18px; }
.feat-hero .bench__actions { justify-content: center; }
.gateway-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 34px;
  align-items: center;
}
.gateway-hero-copy { text-align: left; }
.gateway-hero-copy .hero__sub { max-width: none; }
.gateway-hero-copy .bench__actions { justify-content: flex-start; }
.gateway-hero-panel { text-align: left; }
.gateway-hero-panel__head { margin-bottom: 18px; }
.gateway-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 28px; text-align: left;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(8,10,15,.96), rgba(4,5,8,.98));
}
.gateway-stat {
  position: relative;
  min-height: 194px;
  padding: 28px 26px 24px;
  border-right: 1px solid rgba(255,255,255,.09);
  background: transparent;
}
.gateway-stat:last-child {
  border-right: 0;
}
.gateway-stat:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 24px;
  right: -13px;
  z-index: 1;
  width: 26px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #041017;
  font-size: 13px;
  font-weight: 800;
  background: var(--acc-1);
}
.gateway-stat__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--acc-1);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.gateway-stat strong {
  display: block;
  margin-bottom: 10px;
  font-size: 31px; line-height: 1.05; letter-spacing: -.03em;
}
.gateway-stat p {
  margin: 0;
  max-width: 25ch;
  color: var(--text-mut);
  font-size: 15px;
  line-height: 1.5;
 }

.gateway-audience__grid { grid-template-columns: repeat(3, 1fr); }
.gateway-audience__card {
  height: 100%;
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
}
.gateway-audience__label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(110,231,255,.22);
  background: rgba(110,231,255,.08);
  color: var(--acc-1);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.gateway-audience__card h3 {
  margin: 0 0 10px;
  font-size: 20px; line-height: 1.2; letter-spacing: -.02em;
}
.gateway-audience__card p {
  margin: 0;
  color: var(--text-mut);
  font-size: 14.5px;
}

/* sticky category nav */
.featnav {
  position: sticky; top: 52px; z-index: 40;
  background: rgba(0,0,0,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.featnav__inner {
  display: flex; gap: 8px; overflow-x: auto;
  padding-top: 12px; padding-bottom: 12px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.featnav__inner::-webkit-scrollbar { display: none; }
.featnav a {
  flex: none; font-size: 13px; font-weight: 600; color: var(--text-mut);
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); white-space: nowrap;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.featnav a:hover { color: var(--text); border-color: var(--border-2); }
.featnav a.is-active { color: #06121a; background: var(--acc-2); border-color: transparent; }

/* category block */
.featcat { padding-top: 78px; scroll-margin-top: 132px; }
.featcat:first-of-type { padding-top: 60px; }
.featcat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.featcat__icon {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  font-size: 22px; border-radius: 12px;
  background: rgba(124,140,255,.1); border: 1px solid var(--border);
}
.featcat__titles h2 { margin: 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.02em; }
.featcat__titles p { margin: 5px 0 0; color: var(--text-mut); font-size: 14.5px; }
.featcat .card h3 code { background: none; padding: 0; color: var(--acc-1); }

/* TUI keyboard shortcuts */
.shortcuts__title {
  margin: 34px 0 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-dim);
}
.shortcuts {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.shortcuts li {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
}
.shortcuts__keys { flex: none; display: flex; align-items: center; gap: 5px; min-width: 76px; }
.shortcuts li > span:last-child { color: var(--text-mut); font-size: 13.5px; }
kbd {
  font-family: var(--mono); font-size: 12px; color: var(--text);
  background: linear-gradient(180deg, var(--surface-2), #0c0e16);
  border: 1px solid var(--border-2); border-bottom-width: 2px;
  border-radius: 7px; padding: 5px 9px; white-space: nowrap; line-height: 1;
  box-shadow: 0 1px 0 rgba(0,0,0,.5);
}

/* ───────── documentation page ───────── */
.docs-hero {
  text-align: center; max-width: 760px; margin-inline: auto;
  padding-top: 56px; padding-bottom: 8px;
}
.docs-hero .hero__title { font-size: clamp(30px, 4.6vw, 50px); }
.docs-hero .hero__sub code {
  font-family: var(--mono); font-size: .9em;
  background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; color: var(--acc-1);
}

.docs {
  display: grid; grid-template-columns: 248px minmax(0, 1fr);
  gap: 56px; align-items: start; padding-top: 48px;
}

/* sidebar */
.docs__sidebar {
  position: sticky; top: 92px; align-self: start;
  max-height: calc(100vh - 112px); overflow-y: auto;
  padding-right: 8px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent;
}
.docs__sidebar::-webkit-scrollbar { width: 8px; }
.docs__sidebar::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
.docs__navtitle {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); margin: 22px 0 8px;
}
.docs__navtitle:first-child { margin-top: 0; }
.docs__nav {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 1px; border-left: 1px solid var(--border);
}
.docs__nav a {
  display: block; padding: 6px 14px; font-size: 13.5px; color: var(--text-mut);
  border-left: 2px solid transparent; margin-left: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.docs__nav a:hover { color: var(--text); }
.docs__nav a.is-active { color: var(--acc-1); border-left-color: var(--acc-1); font-weight: 600; }

/* prose */
.doc-prose { min-width: 0; max-width: 840px; }
.doc-section { scroll-margin-top: 96px; }
.doc-section + .doc-section { border-top: 1px solid var(--border); margin-top: 48px; padding-top: 40px; }
.doc-prose h2 {
  font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; font-weight: 800; margin: 0 0 8px;
}
.doc-prose h3 { font-size: 18px; letter-spacing: -.01em; margin: 32px 0 10px; }
.doc-prose h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dim); margin: 22px 0 8px;
}
.doc-prose p { color: var(--text-mut); margin: 12px 0; font-size: 15px; }
.doc-prose ul, .doc-prose ol { color: var(--text-mut); font-size: 15px; padding-left: 22px; margin: 12px 0; }
.doc-prose li { margin: 6px 0; }
.doc-prose li::marker { color: var(--text-dim); }
.doc-prose a { color: var(--acc-1); }
.doc-prose a:hover { text-decoration: underline; }
.doc-prose h3 code { background: none; padding: 0; color: var(--acc-1); }
.doc-prose :not(pre) > code {
  font-family: var(--mono); font-size: .86em;
  background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; color: var(--acc-1);
  word-break: break-word;
}
.doc-prose pre {
  position: relative; margin: 16px 0; padding: 30px 18px 18px; overflow-x: auto;
  background: #050505; border: 1px solid var(--border); border-radius: 12px;
  font-family: var(--mono); font-size: 13px; line-height: 1.7; color: var(--text);
}
.doc-prose pre code {
  background: none; padding: 0; color: var(--text); font-size: 13px; white-space: pre;
}

/* doc tables */
.doc-table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; margin: 16px 0;
  background: var(--surface);
}
.doc-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.doc-table th, .doc-table td {
  padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top;
}
.doc-table thead th {
  background: var(--bg-2); color: var(--text); font-weight: 700; font-size: 13px;
  border-bottom: 1px solid var(--border-2);
}
.doc-table tbody tr:last-child td { border-bottom: 0; }
.doc-table tbody tr:hover { background: rgba(255,255,255,.025); }
.doc-table td { color: var(--text-mut); }
.doc-table code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 5px; color: var(--acc-1);
}

/* callout */
.doc-note {
  margin: 18px 0; padding: 14px 18px; border-radius: 12px;
  background: rgba(124,140,255,.07); border: 1px solid var(--border-2);
  color: var(--text-mut); font-size: 14px;
}
.doc-note strong { color: var(--text); }
.doc-note a { color: var(--acc-1); }

/* ───────── reveal animation ───────── */
.section, .hero__copy, .hero__visual { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* ───────── responsive ───────── */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__sub { max-width: none; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .precision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .privacy__cols { grid-template-columns: 1fr; }
  .privacy-showcase { grid-template-columns: 1fr; gap: 34px; }
  .privacy-showcase__copy { max-width: none; }
  .privacy-showcase__lede { max-width: 40ch; }
  .privacy-orbit__panel { min-height: 420px; }
  .gateway-highlight__grid { grid-template-columns: 1fr; }
  .nuget-card { grid-template-columns: 1fr; padding: 36px; gap: 22px; }
  .panel.is-active { grid-template-columns: 1fr; }
  .why-grid, .dx, .dx-shell__body { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cmds__grid { grid-template-columns: repeat(2, 1fr); }
  .workstrip__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav__inner { gap: 18px; }
  .nav__links { position: static; transform: none; margin-inline: auto; }
  .nav__actions { gap: 8px; }
  .nav__cta { padding-inline: 14px; }
  .docs { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .gateway-hero-layout { grid-template-columns: 1fr; }
  .docs__sidebar {
    position: static; max-height: none; overflow: visible;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    padding: 18px 20px; margin-bottom: 28px; padding-right: 20px;
  }
  .docs__nav a.is-active { border-left-color: var(--acc-1); }
}
@media (max-width: 720px) {
  .nav__inner { gap: 12px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions { margin-inline-start: auto; }
  .nav__actions .ghost-link { display: none; }
  .nav__actions .nav__cta { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 86px; left: 0; right: 0;
    background: rgba(0,0,0,.97); backdrop-filter: blur(14px);
    padding: 18px 24px; gap: 4px; border-bottom: 1px solid var(--border); margin: 0;
  }
  .nav__links.is-open a { padding: 10px 0; background: none; }
  /* mega menu flows inline inside the mobile drawer */
  .mega__panel {
    position: static; transform: none; width: auto; max-width: none;
    background: none; border: none; box-shadow: none; border-radius: 0;
  }
  .mega__grid { grid-template-columns: 1fr; padding: 4px 0 8px; gap: 4px; }
  .nav__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
  }
  .nav__links.is-open .nav__cta {
    width: 100%;
    justify-content: center;
  }
  .ghost-link .gh-stars { display: none; }
  .pricing-intro {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .grid--features, .cmds__grid, .gateway-stats, .gateway-audience__grid, .pricing { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .section { padding-top: 72px; }
  .precision__head { margin-bottom: 30px; }
  .precision__title { max-width: 27ch; font-size: 24px; }
  .precision__lede { font-size: 15px; }
  .precision-grid { grid-template-columns: 1fr; gap: 18px; }
  .precision-card { min-height: 0; padding: 20px; }
  .precision-card__icon { margin-bottom: 28px; }
  .workstrip { margin-top: 6px; }
  .workstrip__inner { padding-top: 24px; padding-bottom: 28px; }
  .workstrip__eyebrow { margin-bottom: 18px; font-size: 11.5px; letter-spacing: .12em; }
  .workstrip__list { grid-template-columns: 1fr; gap: 10px; }
  .workstrip__item { justify-content: flex-start; min-height: 0; padding: 8px 0; }
  .workstrip__icon svg { width: 24px; height: 24px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr; }
  .step__num { display: none; }
  .privacy, .cta { padding: 32px 20px; }
  .cta { padding-top: 54px; padding-bottom: 58px; }
  .cta__badge { margin-bottom: 24px; }
  .cta h2 { max-width: 12ch; font-size: 30px; }
  .cta p { font-size: 15px; margin-bottom: 26px; }
  .cta__actions { gap: 10px; }
  .cta__actions .btn { width: 100%; }
  .privacy-showcase__title { font-size: 24px; line-height: 1.02; }
  .privacy-showcase__lede { margin-top: 18px; font-size: 16px; }
  .privacy-points { gap: 22px; margin-top: 28px; }
  .privacy-points__item { gap: 14px; }
  .privacy-points__item h3 { font-size: 16px; }
  .privacy-points__item p { font-size: 14.5px; }
  .privacy-orbit__panel { min-height: 320px; border-radius: 18px; }
  .privacy-orbit__ring--outer { width: 200px; height: 200px; }
  .privacy-orbit__ring--mid { width: 174px; height: 174px; }
  .privacy-orbit__ring--inner { width: 148px; height: 148px; }
  .privacy-orbit__dot--top { top: calc(50% - 100px); }
  .privacy-orbit__dot--right { left: calc(50% + 100px); }
  .privacy-orbit__dot--bottom { top: calc(50% + 100px); }
  .privacy-orbit__dot--left { left: calc(50% - 100px); }
  .privacy-orbit__core { width: 68px; height: 68px; }
  .gateway-highlight { padding: 28px 22px; }
  .gateway-highlight__intro { margin-bottom: 28px; }
  .gateway-highlight__title { font-size: 30px; }
  .gateway-highlight__card { padding: 17px 16px; }
  .gateway-highlight__copy h3 { font-size: 21px; }
  .gateway-highlight__code { padding: 22px 18px 24px; font-size: 13px; }
  .gateway-highlight__actions { margin-top: 26px; }
  .btn--gateway-highlight { width: 100%; justify-content: center; }
  .forge-highlight__image { min-height: 240px; }
  .nuget-card { padding: 28px 22px; }
  .nuget-card__title { font-size: 24px; }
  .nuget-card__lede { font-size: 15px; }
  .nuget-card__actions { flex-direction: column; align-items: stretch; }
  .btn--nuget,
  .btn--nuget-secondary { width: 100%; justify-content: center; }
  .why-card, .dx-workbench, .git-rail { padding: 20px; }
  .brand__name { font-size: 16px; }
  .nav__links.is-open { padding-inline: 18px; }
  /* shrink install tabs to keep them on one line */
  .installer__tabs { flex-wrap: nowrap; gap: 2px; padding: 5px; }
  .itab { padding: 7px 8px; font-size: 12px; gap: 4px; }
  .itab svg { width: 13px; height: 13px; }
  .csub { flex-wrap: nowrap; gap: 2px; }
  .csub__tab { padding: 7px 8px; font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════
   NanoForge — homepage-aligned page styles
   ═══════════════════════════════════════════════════════════ */
.fgrad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}


.forge-highlight__eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(30,200,235,.16);
  color: #67dcf4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  background: rgba(30,200,235,.08);
}
.forge-highlight__grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
}
.forge-highlight__card .gateway-highlight__icon {
  color: #7b6cff;
  background: rgba(123,108,255,.12);
}
.forge-highlight__panel {
  display: flex;
  align-items: stretch;
}
.forge-highlight__image {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: fill;
  border: 1px solid rgba(255,255,255,.08);
}

/* ───────── hero ───────── */
.fhero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; padding-left: 158px; padding-right: 158px; padding-top: 56px; text-align: left; }
.fhero__title {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.025em;
  font-weight: 800; margin: 14px 0 0;
}
.fhero__sub { margin: 20px 0 0; font-size: 17px; color: var(--text-mut); max-width: 540px; }
.fhero .bench__actions { margin-top: 28px; }

/* fake "describe an app" prompt bar — the page's signature hook */
.fprompt {
  margin-top: 26px; border: 1px solid var(--border-2);
  background: linear-gradient(180deg, var(--surface), #050505);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px -30px rgba(124,140,255,.5);
}
.fprompt__top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
}
.fprompt__top b { color: var(--acc-1); font-weight: 700; }
.fprompt__body { padding: 16px; font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--text); }
.fprompt__caret { color: var(--acc-1); }
.fprompt__type::after { content: "▍"; color: var(--acc-1); margin-left: 1px; }
@media (prefers-reduced-motion: no-preference) {
  .fprompt__type::after { animation: blink 1.1s steps(1) infinite; }
}
@keyframes blink { 50% { opacity: 0; } }
.fprompt__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; border-top: 1px solid var(--border);
}
.fprompt__model {
  font-family: var(--mono); font-size: 12px; color: var(--text-mut);
  border: 1px solid var(--border); padding: 4px 10px; border-radius: 999px;
}
.fprompt__send {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  color: #06121a; background: var(--grad); font-size: 15px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(124,140,255,.7);
}

.fhero__shot { position: relative; }
.fhero__shot .visual__halo {
  background: radial-gradient(closest-side, rgba(124,140,255,.28), transparent 70%);
}

/* ───────── build-loop pipeline band ───────── */
.fpipe {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.fpipe__step {
  position: relative; padding: 24px 22px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fpipe__step:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: 0 20px 50px -30px rgba(124,140,255,.45);
}
.fpipe__n {
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  color: var(--acc-1); letter-spacing: .1em;
}
.fpipe__step h3 { margin: 8px 0 6px; font-size: 16px; letter-spacing: -.01em; }
.fpipe__step p { margin: 0; color: var(--text-mut); font-size: 13.5px; line-height: 1.5; }
/* ───────── stack layer diagram ───────── */
.fstack { display: grid; gap: 12px; max-width: 760px; margin-inline: auto; }
.flayer {
  display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center;
  padding: 22px 24px; border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border-radius: var(--radius);
}
.flayer__tag {
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--acc-1);
  display: flex; align-items: center; gap: 10px;
}
.flayer__tag span { font-size: 20px; }
.flayer p { margin: 0; color: var(--text-mut); font-size: 14.5px; }
.flayer p b { color: var(--text); font-weight: 600; }

/* ───────── bento grid (you own everything) ───────── */
.fbento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fbento__tile {
  grid-column: span 3; padding: 26px 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.fbento__tile:hover { border-color: var(--border-2); transform: translateY(-3px); }
.fbento__tile--sm { grid-column: span 2; }
.fbento__ico {
  width: 42px; height: 42px; display: grid; place-items: center; font-size: 20px;
  border: 1px solid var(--border); background: rgba(124,140,255,.1); margin-bottom: 14px; border-radius: 12px;
}
.fbento__tile h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.fbento__tile p { margin: 0; color: var(--text-mut); font-size: 14px; line-height: 1.55; }
.fbento__tile code {
  font-family: var(--mono); font-size: .88em;
  background: rgba(255,255,255,.06); padding: 1px 6px; color: var(--acc-1);
}

@media (max-width: 860px) {
  .fhero { grid-template-columns: 1fr; gap: 40px; }
  .fhero__sub { max-width: none; }
  .fpipe { grid-template-columns: 1fr 1fr; }
  .fbento__tile, .fbento__tile--sm { grid-column: span 6; }
  .flayer { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 560px) {
  .fpipe { grid-template-columns: 1fr; }
}


/* ───────── pricing ───────── */
.pricing-intro {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  margin-bottom: 20px; padding: 16px 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
}
.pricing-intro p, .pricing-intro span {
  margin: 0;
  color: var(--text-mut);
  font-size: 14px;
}
.pricing-intro p { color: var(--text); font-weight: 600; }
.pricing { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.pricing__loading { color: var(--text-mut); }
.plan {
  display: flex; flex-direction: column; gap: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; position: relative; height: 100%;
}
.plan--featured { border-color: var(--acc-1); box-shadow: 0 20px 50px -30px rgba(110,231,255,.5); }
.plan__badge {
  position: absolute; top: -10px; right: 20px; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #050608;
  background: var(--acc-1); padding: 3px 9px;
}
.plan__name { margin: 0; font-size: 18px; font-weight: 800; }
.plan__desc { margin: 0; color: var(--text-mut); font-size: 14px; min-height: 40px; }
.plan__price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.plan__price span { font-size: 14px; font-weight: 500; color: var(--text-mut); }
.plan__features {
  list-style: none; margin: 0; padding: 16px 0 0;
  display: grid; gap: 10px;
  border-top: 1px solid var(--border);
}
.plan__features li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 14px; color: var(--text-mut);
}
.plan__features li::before { content: "✓"; color: var(--acc-1); font-weight: 700; }
.plan__features li.is-unavailable { color: var(--text-dim); }
.plan__features li.is-unavailable::before { content: "–"; color: var(--text-dim); }
.plan .btn { margin-top: auto; justify-content: center; }
@media (max-width: 960px) {
  .gateway-stats, .gateway-audience__grid, .pricing { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) { .pricing { grid-template-columns: 1fr; } }

