@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/figtree.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-500.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --ground: #0d0b17;
  --fg: #f3f0fa;
  --muted: #cbc3da;
  --plum: #7b3f93;
  --plum-deep: #5b2d6e;
  --blue: #2c58c9;
  --link: #a9c0ff;
  --mark: #ffd84a;
  --on-mark: #1b1626;
  --line: rgb(255 255 255 / 16%);
  --line-strong: rgb(255 255 255 / 28%);
  --hi: inset 0 1px 0 rgb(255 255 255 / 30%);
  --drop: 0 24px 50px -24px rgb(0 0 0 / 70%);
  --glass: rgb(22 17 36 / 52%);
  --glass-strong: rgb(22 17 36 / 66%);
  --panel: rgb(18 14 29 / 86%);
  --code-bg: rgb(255 255 255 / 9%);
  --term-bg: rgb(8 6 15 / 82%);
  --term-fg: #f1ecf4;
  --btn-rim: rgb(255 255 255 / 32%);
  --btn-hi: inset 0 1px 0 rgb(255 255 255 / 42%);
  --btn-shade: inset 0 -1px 0 rgb(0 0 0 / 16%), inset 0 -10px 16px -12px rgb(0 0 0 / 30%);
  --btn-drop: 0 8px 22px -10px rgb(0 0 0 / 65%);
  --btn-glass: linear-gradient(180deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 8%));
  --btn-glass-hover: linear-gradient(180deg, rgb(255 255 255 / 28%), rgb(255 255 255 / 13%));
  --btn-frost: linear-gradient(180deg, rgb(255 255 255 / 94%), rgb(232 226 246 / 80%));
  --btn-frost-hover: linear-gradient(180deg, #fff, rgb(240 236 250 / 88%));
  --btn-sheen: linear-gradient(115deg, transparent 18%, rgb(255 255 255 / 70%) 38%, transparent 56%);
  --blur-lg: 26px;
  --blur: 16px;
  --radius: 18px;
  --wide: 72rem;
  --narrow: 46rem;
  --display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

@media (max-width: 599px) {
  :root { --blur-lg: 14px; --blur: 10px; }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass: rgb(24 19 38 / 88%);
    --glass-strong: rgb(24 19 38 / 92%);
    --panel: rgb(18 14 29 / 95%);
    --btn-glass: linear-gradient(180deg, #4a3e60, #382d4d);
    --btn-glass-hover: linear-gradient(180deg, #574a6f, #43375a);
    --btn-frost: linear-gradient(180deg, #fff, #e8e2f6);
  }
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
  background:
    radial-gradient(55% 45% at 18% 12%, rgb(91 45 110 / 85%), transparent 70%),
    radial-gradient(50% 45% at 85% 25%, rgb(44 88 201 / 60%), transparent 70%),
    radial-gradient(45% 40% at 40% 70%, rgb(123 63 147 / 45%), transparent 70%),
    radial-gradient(35% 30% at 70% 95%, rgb(255 216 74 / 16%), transparent 70%),
    var(--ground);
  background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: transparent;
  color: var(--fg);
  font: 17px/1.6 var(--sans);
  overflow-wrap: break-word;
  overflow-x: clip;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  display: none;
  pointer-events: none;
}
.aurora-on .aurora { display: block; }
@media (prefers-reduced-motion: reduce) {
  .aurora-on .aurora { display: none; }
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--mark);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--fg);
  color: var(--on-mark);
  font-weight: 600;
}
.skip:focus { top: calc(0.75rem + env(safe-area-inset-top, 0px)); }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 16px; }
@media (min-width: 760px) { .wrap { padding: 0 1.5rem; } }
.wrap.narrow { max-width: var(--narrow); }

/* Glass surfaces */

.site-header .wrap,
.frame,
.node,
.step,
.feature,
.card,
details,
.toc,
.guide-section,
.summary,
.agents li,
.btn,
.flow-label,
.site-footer .wrap {
  -webkit-backdrop-filter: blur(var(--blur)) saturate(160%);
  backdrop-filter: blur(var(--blur)) saturate(160%);
}

.frame,
.privacy-card,
.herdr-card {
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(var(--blur-lg)) saturate(180%);
  backdrop-filter: blur(var(--blur-lg)) saturate(180%);
}
.frame::before,
.privacy-card::before,
.herdr-card::before {
  content: "";
  position: absolute;
  inset: -45% -10% auto;
  height: 70%;
  background: radial-gradient(closest-side, rgb(255 255 255 / 14%), transparent);
  transform: rotate(-10deg);
  pointer-events: none;
}
.privacy-card > *, .herdr-card > * { position: relative; }

/* Header */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  padding: 0.75rem 16px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  min-height: 3.5rem;
  flex-wrap: wrap;
  padding: 0.45rem 0.6rem 0.45rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 14%), rgb(255 255 255 / 5%)), rgb(13 11 23 / 50%);
  border: 1px solid rgb(255 255 255 / 22%);
  box-shadow: var(--hi), 0 10px 30px -12px rgb(0 0 0 / 60%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font: 700 1.1rem/1 var(--display);
  letter-spacing: -0.01em;
  color: var(--fg);
  text-decoration: none;
}
.brand img { width: 28px; height: 28px; border-radius: 8px; }

.site-header nav { display: flex; gap: 0.1rem; flex-wrap: wrap; }
.site-header nav a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-header nav a {
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.site-header nav a:hover { color: var(--fg); background: var(--btn-glass); border-color: rgb(255 255 255 / 20%); box-shadow: var(--btn-hi); }
.site-header nav a[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
  background: var(--btn-glass-hover);
  border-color: var(--btn-rim);
  box-shadow: var(--btn-hi), var(--btn-shade), 0 4px 12px -6px rgb(0 0 0 / 60%);
}

@media (max-width: 599px) {
  .site-header { padding: 0.5rem 10px 0; }
  .site-header .wrap { padding: 0.4rem 0.5rem; justify-content: center; }
  .site-header nav { justify-content: center; }
  .site-header nav a { padding: 0.3rem 0.55rem; font-size: 0.9rem; }
}

/* Type */

h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1; margin: 0 0 1.1rem; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 0.5rem; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font: 500 0.75rem/1.5 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  background: var(--btn-glass);
  border: 1px solid rgb(255 255 255 / 24%);
  box-shadow: var(--btn-hi);
}

.lead { font-size: 1.2rem; color: var(--muted); }

.section { padding: 3rem 0; }
@media (min-width: 760px) { .section { padding: 4.5rem 0; } }
.section-head { max-width: 42rem; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--code-bg);
  border: 1px solid rgb(255 255 255 / 8%);
  padding: 0.08em 0.35em;
  border-radius: 6px;
}

pre {
  margin: 0 0 1rem;
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
  background: var(--term-bg);
  color: var(--term-fg);
  border: 1px solid var(--line);
  border-radius: 14px;
  line-height: 1.55;
}
pre code { background: none; border: 0; padding: 0; font-size: 0.86rem; color: inherit; }

kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0.05em 0.45em;
  font: 500 0.82em/1.5 var(--mono);
  text-align: center;
  color: var(--fg);
  background: rgb(255 255 255 / 10%);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: 7px;
  white-space: nowrap;
}
kbd.sym { font-family: var(--sans); font-size: 0.95em; }

/* Buttons */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:focus-visible, .cmd .copy:focus-visible, .tabs [role="tab"]:focus-visible { border-radius: 999px; }
.btn-primary {
  background: var(--btn-frost);
  color: var(--on-mark);
  border-color: rgb(255 255 255 / 85%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(91 45 110 / 25%), inset 0 -12px 18px -12px rgb(91 45 110 / 35%), 0 12px 30px -12px rgb(0 0 0 / 70%);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sheen);
  opacity: 0.75;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.btn-primary:hover { transform: translateY(-1px); background: var(--btn-frost-hover); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 1px 3px rgb(91 45 110 / 30%), 0 6px 16px -10px rgb(0 0 0 / 70%); }
.btn-primary:active::before { opacity: 0.25; }
.btn-ghost {
  background: var(--btn-glass);
  color: var(--fg);
  border-color: var(--btn-rim);
  box-shadow: var(--btn-hi), var(--btn-shade), var(--btn-drop);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: 0 0 50%;
  z-index: -1;
  background: linear-gradient(180deg, rgb(255 255 255 / 14%), transparent);
  pointer-events: none;
}
.btn-ghost:hover { transform: translateY(-1px); background: var(--btn-glass-hover); border-color: rgb(255 255 255 / 48%); }
.btn-ghost:active { transform: translateY(1px); box-shadow: inset 0 1px 3px rgb(0 0 0 / 30%), var(--btn-drop); }

.btn-soon {
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  background: rgb(255 255 255 / 5%);
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  cursor: default;
}
.badge {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: 0.1em;
  background: var(--mark);
  color: var(--on-mark);
}

/* Hero */

.hero {
  position: relative;
  padding: 3.5rem 0 0;
  text-align: center;
}
@media (min-width: 760px) { .hero { padding-top: 5rem; } }
.hero-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 20px 50px -12px rgb(0 0 0 / 70%);
}
.hero h1 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.hero h1 .punch { display: block; margin-top: 0.12em; background: linear-gradient(90deg, #fff 0%, #cdd9ff 55%, #9fb6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .punch .hl { -webkit-text-fill-color: var(--mark); }
.hl.hl-2::before { content: "2"; -webkit-text-fill-color: #fff; }
.hero h1 .punch .hl { padding-right: 0; }
.hero .lead { max-width: 40rem; margin: 0 auto 2rem; color: #ddd6e8; }

.hl {
  position: relative;
  padding: 0 0.08em;
  color: var(--mark);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
}
h1 .hl { font-size: 1.12em; }
.hl::before {
  content: "1";
  position: absolute;
  top: 0.05em;
  left: -0.4em;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  font: 700 0.8rem/1 var(--sans);
  font-style: normal;
  letter-spacing: 0;
  color: #fff;
  background: var(--blue);
  border: 2px solid #fff;
  border-radius: 50%;
}

.hl-flap { padding: 0; white-space: nowrap; }
.hl-flap::before { z-index: 3; }
.flap-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.flapboard { display: inline-flex; gap: 0.05em; vertical-align: -0.12em; }
.flap {
  position: relative;
  display: inline-block;
  width: 0.62em;
  height: 1.08em;
  font-size: 0.86em;
  perspective: 2.4em;
  border-radius: 0.09em;
  box-shadow: 0 0.06em 0.14em rgb(0 0 0 / 55%), inset 0 0 0 1px rgb(255 255 255 / 8%);
}
.flap > span {
  position: absolute;
  inset: 0;
  line-height: 0.98em;
  text-align: center;
  border-radius: inherit;
  backface-visibility: hidden;
}
.flap-top, .flap-fold {
  clip-path: inset(0 0 50% 0);
  background: linear-gradient(180deg, #30264a, #251d3a 50%);
}
.flap-bottom, .flap-unfold {
  clip-path: inset(50% 0 0 0);
  background: linear-gradient(180deg, #1c152e 50%, #221a36);
}
.flap::after {
  content: "";
  position: absolute;
  inset: calc(50% - 0.5px) 0 auto;
  height: 1px;
  background: rgb(0 0 0 / 70%);
  z-index: 2;
}
.flap-fold { transform-origin: 50% 50%; visibility: hidden; z-index: 1; }
.flap-unfold { transform-origin: 50% 50%; visibility: hidden; z-index: 1; }
.flipping .flap-fold { visibility: visible; animation: flap-fold calc(var(--flap-step) / 2) ease-in forwards; }
.flipping .flap-unfold { visibility: visible; animation: flap-unfold calc(var(--flap-step) / 2) ease-out calc(var(--flap-step) / 2) both; }
@keyframes flap-fold { to { transform: rotateX(-90deg); } }
@keyframes flap-unfold { from { transform: rotateX(90deg); } }

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 1.75rem; }

.agents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: #e4deee;
}
.agents li {
  padding: 0.3rem 0.85rem;
  background: var(--btn-glass);
  border: 1px solid rgb(255 255 255 / 26%);
  border-radius: 999px;
  box-shadow: var(--btn-hi), var(--btn-shade);
}

.frame {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0 10px 10px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgb(255 255 255 / 20%), rgb(255 255 255 / 6%) 60%);
  border: 1px solid rgb(255 255 255 / 30%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 40px 80px -30px rgb(0 0 0 / 80%);
}
.frame-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.5rem;
}
.frame-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame-bar span:nth-child(1) { background: #ff5f57; }
.frame-bar span:nth-child(2) { background: #febc2e; }
.frame-bar span:nth-child(3) { background: #28c840; }
.frame-bar .url {
  flex: 1;
  max-width: 22rem;
  height: auto;
  margin-left: 0.75rem;
  padding: 0.15rem 0.85rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
  color: #ddd6e8;
  font: 0.75rem/1.6 var(--mono);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frame picture, .frame img { position: relative; }
.frame img { width: 100%; border-radius: 14px; }

/* How it works */

.flow {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
  padding: 2.25rem 1rem 1.25rem;
  border: 1.5px dashed rgb(255 255 255 / 34%);
  border-radius: 26px;
}
.flow-label {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.15rem 0.9rem;
  border-radius: 999px;
  background: rgb(13 11 23 / 80%);
  border: 1px solid var(--line-strong);
  color: var(--fg);
  font: 500 0.8rem/1.6 var(--mono);
  white-space: nowrap;
}
.flow ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.node {
  padding: 1.25rem;
  text-align: center;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--hi), var(--drop);
}
.node svg { width: 48px; height: 48px; margin: 0 auto 0.5rem; display: block; }
.node img { margin: 0 auto 0.5rem; border-radius: 12px; }
.node strong { display: block; font: 700 1.05rem/1.3 var(--display); }
.node small { display: block; color: var(--muted); font-size: 0.875rem; }
.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0;
  color: #e4deee;
  font-size: 0.8rem;
  text-align: center;
}
.arrow svg { width: 28px; height: 28px; color: var(--mark); transform: rotate(90deg); }

@media (min-width: 760px) {
  .flow { padding: 2.5rem 1.5rem 1.75rem; }
  .flow ol { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; }
  .arrow { align-self: center; padding: 0 0.5rem; max-width: 8rem; }
  .arrow svg { transform: none; width: 40px; height: 40px; }
}

/* Steps */

.steps.two { max-width: 60rem; margin-inline: auto; }
.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.step {
  position: relative;
  padding: 1.5rem;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--hi), var(--drop);
  min-width: 0;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 700 1rem/1 var(--sans);
  box-shadow: 0 0 0 2px rgb(255 255 255 / 85%);
}
.step p:last-child { margin-bottom: 0; }
.step .muted { color: var(--muted); font-size: 0.95rem; }

@media (min-width: 760px) {
  .steps.three { grid-template-columns: repeat(3, 1fr); }
}

/* OS tabs */

.tabs [role="tablist"] {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgb(0 0 0 / 28%);
  border: 1px solid rgb(255 255 255 / 20%);
  box-shadow: inset 0 1px 3px rgb(0 0 0 / 35%), 0 1px 0 rgb(255 255 255 / 10%);
}
.tabs [role="tab"] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0.35rem 0.95rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.tabs [role="tab"]:hover { color: var(--fg); background: var(--btn-glass); border-color: rgb(255 255 255 / 18%); }
.tabs [role="tab"][aria-selected="true"] {
  background: var(--btn-frost);
  color: var(--on-mark);
  border-color: rgb(255 255 255 / 85%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -8px 12px -10px rgb(91 45 110 / 40%), 0 4px 12px -6px rgb(0 0 0 / 70%);
}
.tabs [role="tab"][aria-selected="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sheen);
  opacity: 0.6;
  pointer-events: none;
}

.cmd {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: var(--term-bg);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: var(--hi);
  overflow: hidden;
}
.cmd pre { flex: 1; min-width: 0; margin: 0; padding: 0.8rem 1.2rem; border: 0; border-radius: 0; background: none; }
.cmd pre code { white-space: pre; overflow-wrap: normal; font-size: 0.84rem; }
.cmd pre code::before { content: "$ "; color: var(--mark); user-select: none; }
.cmd .copy {
  flex: none;
  align-self: center;
  height: 2rem;
  margin: 0 0.4rem;
  padding: 0 1rem;
  border: 1px solid var(--btn-rim);
  border-radius: 999px;
  background: var(--btn-glass);
  color: var(--fg);
  font: 600 0.85rem/1 var(--sans);
  cursor: pointer;
  box-shadow: var(--btn-hi), var(--btn-shade), 0 4px 12px -6px rgb(0 0 0 / 70%);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cmd .copy:hover { background: var(--btn-glass-hover); border-color: rgb(255 255 255 / 50%); }
.cmd .copy:active { box-shadow: inset 0 1px 3px rgb(0 0 0 / 40%); }

/* Gallery */

.gallery { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure {
  margin: 0;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 5%) 60%);
  border: 1px solid rgb(255 255 255 / 24%);
  box-shadow: var(--hi), var(--drop);
}
.gallery img { border-radius: 14px; }
.gallery figcaption { margin: 0.7rem 0.5rem 0.3rem; color: #e4deee; font-size: 0.95rem; text-align: center; }

/* Features */

.features { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  display: flex;
  gap: 0.9rem;
  padding: 1.15rem;
  background: linear-gradient(180deg, rgb(255 255 255 / 8%), rgb(255 255 255 / 2%)), var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--hi);
}
.icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--plum), var(--plum-deep));
  color: #fff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%);
}
.icon svg { width: 1.35rem; height: 1.35rem; }
.feature h3 { font-size: 1.02rem; margin: 0.1rem 0 0.25rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.93rem; line-height: 1.5; }

/* Cards */

.card {
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--hi), var(--drop);
}
@media (min-width: 600px) { .card { padding: 1.5rem; } }

.privacy-card,
.herdr-card {
  display: grid;
  gap: 1.25rem;
  max-width: 60rem;
  padding: 1.5rem;
  background: linear-gradient(160deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 3%) 60%), var(--panel);
  border-color: rgb(255 255 255 / 26%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%), 0 30px 60px -24px rgb(0 0 0 / 75%);
}
.privacy-card { margin: 0 auto; }
.herdr-card { margin: 1.25rem auto 0; }
@media (min-width: 760px) {
  .privacy-card, .herdr-card { grid-template-columns: auto 1fr; align-items: start; padding: 2rem; }
}
.herdr-card .icon { background: linear-gradient(160deg, #4a72e0, var(--blue)); }
.privacy-card .muted, .herdr-card .muted { color: var(--muted); }
.privacy-card .muted { margin: 0; }
.privacy-card .icon, .herdr-card .icon { width: 3.5rem; height: 3.5rem; border-radius: 16px; }
.privacy-card .icon svg, .herdr-card .icon svg { width: 1.9rem; height: 1.9rem; }
.privacy-card ul, .herdr-card ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.privacy-card li, .herdr-card li { margin-bottom: 0.3rem; }
.herdr-card > div { min-width: 0; }
.herdr-card > div > .muted:last-child { margin: 0; }
.herdr-card .cmd { margin-bottom: 1rem; }

/* Troubleshooting */

details {
  max-width: 46rem;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--hi), var(--drop);
}
summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style-position: inside;
  border-radius: var(--radius);
}
details[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.details-body { padding: 1.25rem; }
.details-body p:last-child { margin-bottom: 0; }
.details-body .cmd + p { margin-top: 1rem; }

/* Content pages */

.page-hero { padding: 3rem 0 1.75rem; }
@media (min-width: 760px) { .page-hero { padding-top: 4rem; } }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.page-hero .lead { margin-bottom: 0; color: #ddd6e8; }
.meta { color: #ddd6e8; font-size: 0.95rem; }

.content { padding-bottom: 4rem; }
.content > section, .content > .card { margin-bottom: 1.25rem; }
.content section.card h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.content h3 { margin-top: 1.25rem; }
.content section.card > h3:first-of-type { margin-top: 0.5rem; }
.content ul { padding-left: 1.2rem; }
.content li { margin-bottom: 0.35rem; }
.content p:last-child, .content ul:last-child { margin-bottom: 0; }

.summary {
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(160deg, rgb(123 63 147 / 45%), rgb(91 45 110 / 25%)), var(--panel);
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: var(--radius);
  box-shadow: var(--hi), var(--drop);
}
.summary p { margin: 0; }

.toc {
  margin-bottom: 1.5rem;
  padding: 1.1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--hi);
}
.toc h2 { font: 500 0.75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 0.5rem; }
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2 12rem; column-gap: 2rem; }
.toc li { margin-bottom: 0.2rem; }

.problem { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.problem:first-of-type { border-top: 0; padding-top: 0.25rem; }
.problem h3 { margin-top: 0; }
.problem p:last-child, .problem pre:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font: 500 0.75rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; }
tr:last-child td { border-bottom: 0; }
td:first-child { white-space: nowrap; }

/* Guide */

.guide { max-width: 58rem; }
.guide .page-hero { padding-bottom: 1.5rem; }
.guide-section {
  margin-top: 1.25rem;
  padding: 1.5rem 1.25rem 0.75rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--hi), var(--drop);
}
@media (min-width: 760px) { .guide-section { padding: 2.25rem 2.25rem 1.25rem; } }
.guide .toc + .guide-section { margin-top: 0; }
.guide-section:last-of-type { margin-bottom: 4rem; }
.guide-section h2 { display: flex; align-items: center; gap: 0.75rem; font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 1rem; }
.guide-section h2 .n {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font: 700 1rem/1 var(--sans);
  letter-spacing: 0;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 85%);
}
.howto { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.howto li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.howto li::marker { color: var(--mark); font-weight: 700; }
.howto .cmd { margin: 0.6rem 0 0.75rem; }
.howto.plain { list-style: disc; }
.tip { color: var(--muted); font-size: 0.95rem; }

.shot { margin: 0 0 1.75rem; }
.shot a.zoom {
  display: block;
  cursor: zoom-in;
  padding: 6px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 4%) 60%);
  border: 1px solid rgb(255 255 255 / 22%);
  box-shadow: var(--hi), 0 20px 40px -20px rgb(0 0 0 / 70%);
}
.shot img { border-radius: 12px; background: #1b1626; }
.shot.term a.zoom { padding: 0; background: none; border: 0; box-shadow: none; }
.shot.term img { background: none; filter: drop-shadow(0 14px 28px rgb(0 0 0 / 50%)); }
.shot.narrow { max-width: 40rem; }
.shot.small a.zoom { margin-inline: auto; width: fit-content; }
.shot.small img { margin-inline: auto; }
.shot figcaption { margin-top: 0.65rem; color: var(--muted); font-size: 0.92rem; text-align: center; }
.shot.narrow figcaption { text-align: left; }

.shots { display: grid; gap: 1.25rem; margin-bottom: 1.75rem; align-items: start; }
.shots .shot { margin: 0; }
@media (min-width: 760px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
  .shots.two { grid-template-columns: 1fr 1fr; }
}

.split { display: grid; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.split .shot { margin: 0; }
@media (min-width: 760px) { .split { grid-template-columns: auto 1fr; gap: 2rem; } }
.intents { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.intents li { display: flex; gap: 0.75rem; align-items: baseline; }
.intents .i {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9px;
  background: linear-gradient(160deg, var(--plum), var(--plum-deep));
  color: #fff;
  font-weight: 700;
}

.guide .table-wrap {
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgb(255 255 255 / 4%);
  padding: 0.25rem 0.75rem;
}
.guide td kbd { margin-bottom: 0.15rem; }
@media (min-width: 600px) { .guide td:first-child { width: 11rem; } }
.nowrap { white-space: nowrap; }

.lightbox {
  max-width: 96vw;
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  overflow: visible;
}
.lightbox::backdrop {
  background: rgb(8 6 15 / 82%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.lightbox img { max-width: 96vw; max-height: 94vh; width: auto; height: auto; border-radius: 14px; cursor: zoom-out; }
.lightbox form { position: absolute; top: -0.5rem; right: -0.5rem; z-index: 1; }
.lightbox .close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgb(22 17 36 / 92%);
  color: var(--fg);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--drop);
}

.more { margin: 1.75rem 0 0; text-align: center; color: #e4deee; }

/* Footer */

.site-footer {
  padding: 1rem 16px calc(1.5rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--hi);
}
.site-footer .brand { font-size: 1rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer p { margin: 0; width: 100%; font-size: 0.85rem; }

.after-cmd { margin-top: 1rem; }

@media (max-width: 599px) {
  .table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table-wrap tr, .table-wrap td { display: block; }
  .table-wrap tr { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .table-wrap tr:last-child { border-bottom: 0; }
  .table-wrap td { padding: 0.15rem 0; border: 0; }

  .cmd .copy { padding: 0 0.8rem; }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  :root {
    --btn-glass: linear-gradient(180deg, #4a3e60, #382d4d);
    --btn-glass-hover: linear-gradient(180deg, #574a6f, #43375a);
    --btn-frost: linear-gradient(180deg, #fff, #ece7f7);
    --btn-frost-hover: #fff;
  }
  .btn {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .btn-primary::before,
  .btn-ghost::before,
  .tabs [role="tab"][aria-selected="true"]::before { display: none; }
}

@media (prefers-contrast: more) {
  .btn-ghost, .cmd .copy, .agents li, .site-header nav a[aria-current="page"] { border-color: var(--fg); }
  .btn-primary, .tabs [role="tab"][aria-selected="true"] { border-color: var(--on-mark); }
}

@media (forced-colors: active) {
  .btn, .cmd .copy, .tabs [role="tab"], .site-header nav a[aria-current="page"], .agents li {
    border: 1px solid ButtonText;
    box-shadow: none;
    forced-color-adjust: auto;
  }
  .tabs [role="tab"][aria-selected="true"] { border-color: Highlight; }
  .btn-primary::before,
  .btn-ghost::before,
  .tabs [role="tab"][aria-selected="true"]::before { display: none; }
}

.video-frame { padding: 0; overflow: hidden; }
.video-frame video { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 1920 / 856; background: #0d0b17; }
