:root {
  --bg: #070910;
  --bg-2: #0b0f1b;
  --panel: #0e1322;
  --panel-2: #151d33;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-hover: rgba(255, 255, 255, 0.055);
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f6fc;
  --text-soft: #c7d0e2;
  --muted: #8a95ad;
  --accent: #ff2d55;
  --accent-ink: #ffffff;
  --wand: #ffd447;
  --ok: #34d399;
  --link: #93b7ff;
  --code: #0a0e1a;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Room for the scrollbar always, so the page does not shift sideways when it appears (the Docs page, as the guide loads). */
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-gutter: stable; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 460px at 50% -40px, rgba(255, 45, 85, 0.21), transparent 70%),
    radial-gradient(40% 360px at 72% 110px, rgba(255, 212, 71, 0.095), transparent 68%),
    radial-gradient(45% 380px at 24% 140px, rgba(99, 102, 241, 0.13), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text);
  font: 15.5px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code, kbd, pre { font-family: var(--font-mono); font-size: 0.87em; }
:not(pre) > code {
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #e6eeff;
}
kbd {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}
[hidden] { display: none !important; }

/* Floating frosted-glass pill navigation */
.nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1060px, calc(100% - 32px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(11, 15, 27, 0.76);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-icon .ico { color: var(--wand); width: 0.95em; height: 0.95em; }
/* Icons, drawn (one set, in currentColor) instead of emoji, which many systems' fonts lack (🪄 shows as a box). */
.ico { display: inline-block; flex: none; width: 1em; height: 1em; vertical-align: -0.15em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico-wand { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M2.6 19.2 13 8.8a1 1 0 0 1 1.4 0l.8.8a1 1 0 0 1 0 1.4L4.8 21.4a1 1 0 0 1-1.4 0l-.8-.8a1 1 0 0 1 0-1.4z'/%3E%3Cpath d='M17.5 1.5 18.7 5.3 22.5 6.5 18.7 7.7 17.5 11.5 16.3 7.7 12.5 6.5 16.3 5.3z'/%3E%3Ccircle cx='11' cy='4' r='1.2'/%3E%3C/svg%3E"); }
.ico-mic { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='8.5' y='2.5' width='7' height='12' rx='3.5'/%3E%3Cpath d='M5 10.5a1 1 0 0 1 2 0 5 5 0 0 0 10 0 1 1 0 0 1 2 0 7 7 0 0 1-6 6.9V20h2.5a1 1 0 0 1 0 2h-7a1 1 0 0 1 0-2H11v-2.6a7 7 0 0 1-6-6.9z'/%3E%3C/svg%3E"); }
.ico-fix { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M15.2 3.6a5 5 0 0 0-6.6 6.4l-5.4 5.4a2.4 2.4 0 0 0 3.4 3.4l5.4-5.4a5 5 0 0 0 6.4-6.6l-2.8 2.8-2.6-.5-.5-2.6z'/%3E%3C/svg%3E"); }
.ico-write { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M15.1 4.4a2.6 2.6 0 0 1 3.7 0l.8.8a2.6 2.6 0 0 1 0 3.7l-1.3 1.3-4.5-4.5z'/%3E%3Cpath d='M12.4 7.1l4.5 4.5-8.5 8.5-4.9 1.2a.6.6 0 0 1-.7-.7l1.2-4.9z'/%3E%3C/svg%3E"); }
.ico-done { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm4.2 6.3a1 1 0 0 0-1.4 0L10.5 13l-1.8-1.8a1 1 0 1 0-1.4 1.4l2.5 2.5a1 1 0 0 0 1.4 0l5-5a1 1 0 0 0 0-1.3z'/%3E%3C/svg%3E"); }
/* The wand where it's named in text: the colour of the SDK's button. */
.ico-wand { color: var(--wand); }
.brand-icon:empty { display: inline-block; width: 13px; height: 17px; border: 1.5px solid rgba(255, 255, 255, 0.55); border-radius: 3px; }
.nav nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav nav a {
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.nav nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.08); }
@media (max-width: 780px) {
  .nav nav { display: none; }
  .nav .brand { margin-right: auto; }
}
@media (max-width: 440px) {
  .nav { padding: 8px 10px 8px 14px; gap: 6px; }
}

/* Buttons */
.btn {
  margin: 0;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.primary {
  background: linear-gradient(180deg, #ff4066 0%, #e11d48 100%);
  border-color: rgba(255, 130, 155, 0.5);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.4), 0 8px 28px -6px rgba(255, 45, 85, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.55), 0 12px 34px -4px rgba(255, 45, 85, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn.small { padding: 8px 15px; font-size: 13px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Sections & Centered Cinematic Hero */
main > section { position: relative; max-width: 1100px; margin: 0 auto; padding: 88px 24px; }
.hero {
  max-width: 920px;
  padding: 96px 24px 100px !important;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -88px calc(50% - 50vw) 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 64% 68% at 50% 42%, #000 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 64% 68% at 50% 42%, #000 10%, transparent 80%);
  opacity: 0.45;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.1);
  border: 1px solid rgba(255, 45, 85, 0.3);
  color: #ff859d;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(255, 45, 85, 0.18);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}
.hero h1 {
  margin: 0 auto 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8.2vw, 88px);
  line-height: 0.99;
  letter-spacing: -0.045em;
  background: linear-gradient(180deg, #ffffff 30%, #a5b4cf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  max-width: 650px;
  margin: 0 auto 38px;
  font-size: clamp(16.5px, 2vw, 19.5px);
  line-height: 1.65;
  color: var(--text-soft);
}
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ctas .btn.primary { padding: 15px 32px; font-size: 16px; }
.hero .hint {
  display: inline-block;
  margin: 34px auto 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
.hint {
  margin: 22px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 25%, #b8c4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { margin: 0; color: var(--muted); font-size: 16.5px; }
h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }

/* How it works — Luminous Connected Pipeline */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.55) 20%, rgba(255, 212, 71, 0.55) 50%, rgba(147, 183, 255, 0.55) 80%, transparent);
  pointer-events: none;
}
@media (max-width: 820px) { .steps::before { display: none; } }
.steps li {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.048) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.steps li:hover { border-color: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 45, 85, 0.25), rgba(15, 20, 35, 0.9));
  border: 1px solid rgba(255, 45, 85, 0.35);
  box-shadow: 0 0 28px -4px rgba(255, 45, 85, 0.45);
}
.step-icon .ico { width: 24px; height: 24px; color: #ff6b86; }
.steps li:nth-child(2) .step-icon {
  background: radial-gradient(circle at 30% 25%, rgba(255, 212, 71, 0.24), rgba(15, 20, 35, 0.9));
  border-color: rgba(255, 212, 71, 0.35);
  box-shadow: 0 0 28px -4px rgba(255, 212, 71, 0.35);
}
.steps li:nth-child(2) .step-icon .ico { color: var(--wand); }
.steps li:nth-child(3) .step-icon {
  background: radial-gradient(circle at 30% 25%, rgba(147, 183, 255, 0.24), rgba(15, 20, 35, 0.9));
  border-color: rgba(147, 183, 255, 0.35);
  box-shadow: 0 0 28px -4px rgba(147, 183, 255, 0.35);
}
.steps li:nth-child(3) .step-icon .ico { color: var(--link); }
.steps h3 { font-size: 21px; margin-bottom: 10px; }
.steps p, .grid p { margin: 0; color: var(--muted); font-size: 14.8px; }

/* Default Obsidian Glass Grid (used by Agencies & generic grids) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.grid li {
  padding: 26px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.048) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.2s ease;
}
.grid li:hover { border-color: rgba(255, 255, 255, 0.18); }

/* What's in a report — Asymmetric Bento Grid */
#report .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#report .grid li { grid-column: span 3; padding: 28px; border-radius: 20px; }
#report .grid li:nth-child(1) {
  grid-column: span 4;
  background: radial-gradient(80% 90% at 100% 0%, rgba(255, 45, 85, 0.12), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
#report .grid li:nth-child(2) { grid-column: span 2; }
#report .grid li:nth-child(3) { grid-column: span 3; }
#report .grid li:nth-child(4) { grid-column: span 3; }
#report .grid li:nth-child(5) { grid-column: span 2; }
#report .grid li:nth-child(6) {
  grid-column: span 4;
  background: radial-gradient(80% 90% at 100% 100%, rgba(255, 212, 71, 0.09), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
@media (max-width: 820px) { #report .grid li { grid-column: span 6 !important; } }
#report .grid h3 { font-size: 19px; color: #fff; }
#report .grid p { max-width: 48ch; }

/* Works with your tools — Precision 1px Hairline Instrument Matrix */
#tools .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
}
@media (max-width: 820px) { #tools .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #tools .grid { grid-template-columns: 1fr; } }
#tools .grid li {
  padding: 32px 28px;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: var(--bg-2);
  transition: background-color 0.2s ease;
}
#tools .grid li:hover { background: #101628; }
#tools .grid h3 { color: #fff; }

/* Privacy — Emerald-tinted Zero-Trust Vault Frame */
#privacy {
  width: min(1052px, calc(100% - 48px));
  margin: 48px auto;
  padding: 56px 40px;
  border-radius: 28px;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(52, 211, 153, 0.12), transparent 65%),
    linear-gradient(180deg, rgba(16, 26, 30, 0.65) 0%, rgba(10, 14, 24, 0.85) 100%);
  border: 1px solid rgba(52, 211, 153, 0.2);
  box-shadow: inset 0 1px 0 rgba(52, 211, 153, 0.18), 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
@media (max-width: 640px) {
  #privacy { width: calc(100% - 32px); padding: 36px 20px; border-radius: 20px; }
}
#privacy .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { #privacy .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #privacy .grid { grid-template-columns: 1fr; } }
#privacy .grid li {
  padding: 24px;
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: none;
}
#privacy .grid h3 {
  font-size: 16.5px;
  color: #ecfdf5;
  display: flex;
  align-items: center;
  gap: 9px;
}
#privacy .grid h3::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.7);
  flex: none;
}

/* Pricing */
/* The launch offer: high-voltage crimson/gold centerpiece in the Obsidian surface language. */
.launch {
  position: relative;
  overflow: hidden;
  margin: 0 auto 38px;
  padding: 34px 32px 30px;
  border-radius: 24px;
  border: 1.5px solid transparent;
  background:
    radial-gradient(75% 130% at 50% -15%, rgba(255, 45, 85, 0.56), rgba(225, 29, 72, 0.22) 48%, transparent 82%) padding-box,
    radial-gradient(45% 90% at 85% 110%, rgba(255, 212, 71, 0.24), transparent 70%) padding-box,
    radial-gradient(45% 90% at 15% 110%, rgba(255, 45, 85, 0.25), transparent 70%) padding-box,
    linear-gradient(180deg, #130b16 0%, #0b0f1b 100%) padding-box,
    linear-gradient(135deg, rgba(255, 212, 71, 0.9), rgba(255, 45, 85, 0.98) 50%, rgba(255, 212, 71, 0.78)) border-box;
  color: var(--accent-ink);
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 45, 85, 0.3),
    0 0 76px -14px rgba(255, 45, 85, 0.68),
    0 24px 64px -20px rgba(0, 0, 0, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.launch::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 10%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 90% at 50% 40%, #000 10%, transparent 85%);
  opacity: 0.32;
}
.launch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.14) 50%, transparent 65%);
  transform: translateX(-100%);
  animation: launch-sheen 5.5s ease-in-out infinite;
}
.launch p { position: relative; z-index: 1; margin: 0; }
.launch-head {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(255, 45, 85, 0.45);
}
.launch-head .count {
  display: inline-block;
  margin: 0 4px;
  padding: 2px 15px 3px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe780 0%, #ffb800 100%);
  color: #160e00;
  font-family: var(--font-mono);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: none;
  box-shadow: 0 0 34px rgba(255, 212, 71, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  animation: count-glow 2.4s ease-in-out infinite;
}
.launch-sub {
  margin-top: 12px !important;
  font-size: clamp(14px, 1.8vw, 16.5px);
  font-weight: 500;
  color: #f7e4ea;
}
@keyframes launch-sheen {
  0%, 62% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes count-glow {
  50% { box-shadow: 0 0 46px rgba(255, 212, 71, 0.95), 0 0 14px rgba(255, 255, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .launch::after { animation: none; display: none; }
  .launch-head .count { animation: none; }
}

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; } }
.tiers.single { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
.tier {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.tier.best {
  background:
    radial-gradient(90% 45% at 50% 0%, rgba(255, 45, 85, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 45, 85, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.25), 0 24px 64px -24px rgba(255, 45, 85, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.tier h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tier .badge {
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4066, #e11d48);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tier .setup {
  margin: -4px 0 0;
  color: #ff7a95;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tier .price {
  margin: 8px 0 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}
/* Yearly, said loudly: most people read a price without a unit as monthly. */
.tier .price .per {
  display: inline-block;
  margin-left: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.14);
  border: 1px solid rgba(255, 45, 85, 0.35);
  color: #ff859d;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 10px;
}
.tier .price small {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.tier .price.soon {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 14px;
}
.tier > p { margin: 0; color: var(--text-soft); font-size: 14.5px; }
.tier ul {
  margin: 4px 0 10px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--text-soft);
}
.tier ul li { position: relative; padding-left: 22px; }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.tier .ask {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--muted);
}
.tier .btn { margin-top: auto; width: 100%; }
.tier .ask + .btn { margin-top: 4px; }

.buy-note { margin: 20px 0 0; color: var(--muted); font-size: 13.5px; text-align: center; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
@media (max-width: 780px) { .panels { grid-template-columns: 1fr; } }
.panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.panels .panel { margin-top: 0; }
.panel:not(.panels .panel) { margin-top: 16px; }
.panel p { flex: 1 1 260px; margin: 0; color: var(--muted); font-size: 14.5px; }
.panel strong { color: #fff; }

pre {
  margin: 0;
  padding: 14px 16px;
  background: var(--code);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.55;
}

/* FAQ — Centered Glass Accordion */
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin: 0 auto; }
.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.faq details:hover { border-color: var(--line-strong); }
.faq details[open] { background: rgba(255, 255, 255, 0.048); border-color: rgba(255, 45, 85, 0.35); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); border-color: var(--accent); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 14.8px; }

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
footer p { margin: 0 0 6px; }
footer a { color: var(--text-soft); }

.company-page { max-width: 740px; margin: 0 auto; padding: 56px 24px 72px; }
.company-page h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 44px);
  letter-spacing: -0.03em;
}
/* After checkout (thanks.html): what happens next, as numbered steps. */
.thanks-page h1 { line-height: 1.12; }
.thanks-page .lead { margin: 0 0 32px; color: var(--text-soft); font-size: 18px; }
.next-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 14px; }
.next-steps li { counter-increment: step; position: relative; padding: 20px 22px 20px 64px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.next-steps li::before { content: counter(step); position: absolute; left: 20px; top: 19px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--wand); font-weight: 700; font-size: 14px; }
.next-steps h2 { margin: 2px 0 8px; font-size: 18px; color: #fff; }
.next-steps p { margin: 0 0 10px; color: var(--text-soft); line-height: 1.6; }
.next-steps p:last-child { margin-bottom: 0; }
.next-steps pre { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); overflow-x: auto; }
.legal { line-height: 1.7; color: var(--text-soft); }
.legal h2 { margin-top: 2em; color: #fff; }
.legal h3 { color: #fff; }
.legal table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { padding: 8px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.placeholder { padding: 1px 6px; border: 1px dashed var(--accent); border-radius: 4px; color: var(--accent); }

/* The report the visitor just sent */
.received {
  width: min(1052px, calc(100% - 48px));
  margin: 32px auto 0 !important;
  padding: 36px 32px !important;
  border: 1px solid rgba(255, 45, 85, 0.45);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(14, 19, 34, 0.92) 100%);
  box-shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.received .section-head { text-align: left; max-width: none; margin: 0 0 24px; }
.rep { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; }
@media (max-width: 760px) { .rep { grid-template-columns: 1fr; } }
.rep img { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.rep .no-shot { padding: 40px 12px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); }
.rep .note { margin: 0 0 12px; font-size: 20px; font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.rep dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 4px 12px; margin: 0 0 14px; font-size: 14px; }
.rep dt { color: var(--muted); }
.rep dd { margin: 0; overflow-wrap: anywhere; }
.rep .erase { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.rep h4 { margin: 14px 0 6px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.rep ol { margin: 0; padding-left: 20px; font-size: 14px; }
.rep ol li { overflow-wrap: anywhere; }
.rep .badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; vertical-align: middle; }
.rep details { margin-top: 14px; }
.rep details pre { max-height: 360px; font-size: 12px; }
.rep-all { grid-column: 1 / -1; }

/* The guided tour: a spotlight on one element, the rest dimmed, and a card saying what to do. */
.tour-spot {
  position: fixed;
  z-index: 2147482990;
  border-radius: 14px;
  box-shadow:
    0 0 0 2px #ff4066,
    0 0 28px 4px rgba(255, 45, 85, 0.55),
    0 0 0 100vmax rgba(3, 5, 11, 0.78);
  pointer-events: none;
  transition: top 0.25s cubic-bezier(0.22, 1, 0.36, 1), left 0.25s cubic-bezier(0.22, 1, 0.36, 1), width 0.25s cubic-bezier(0.22, 1, 0.36, 1), height 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.tour-spot.whole { box-shadow: 0 0 0 100vmax rgba(3, 5, 11, 0.8); }
@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }

.tour-card {
  position: fixed;
  z-index: 2147483003;
  width: min(392px, calc(100vw - 32px));
  padding: 22px 22px 18px;
  background:
    radial-gradient(90% 55% at 50% 0%, rgba(255, 45, 85, 0.18), transparent 72%),
    linear-gradient(180deg, rgba(16, 22, 39, 0.96) 0%, rgba(10, 14, 25, 0.98) 100%);
  backdrop-filter: blur(20px) saturate(150%);
  color: var(--text);
  border: 1px solid rgba(255, 45, 85, 0.45);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgba(255, 45, 85, 0.18),
    0 24px 64px rgba(0, 0, 0, 0.78),
    0 0 44px -16px rgba(255, 45, 85, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  font: 14.5px/1.6 var(--font-body);
}
.tour-card .count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 12px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.12);
  border: 1px solid rgba(255, 45, 85, 0.3);
  color: #ff859d;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tour-card .count::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.tour-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
}
.tour-card p.text { margin: 0 0 16px; color: var(--text-soft); }
.tour-card .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.tour-card .row .grow { flex: 1; }
.tour-card button {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.tour-card button:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.tour-card button.primary {
  background: linear-gradient(180deg, #ff4066 0%, #e11d48 100%);
  border-color: rgba(255, 130, 155, 0.5);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.35), 0 6px 20px -4px rgba(255, 45, 85, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tour-card button.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.5), 0 10px 26px -4px rgba(255, 45, 85, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tour-card button.link {
  padding: 5px 8px;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}
.tour-card button.link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transform: none;
}
.tour-card button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The agent's run, played in the card: each thing it does, then a tick */
.tour-card .mock {
  margin: 0 0 16px;
  padding: 12px 14px;
  list-style: none;
  border-radius: 12px;
  background: rgba(5, 8, 16, 0.68);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.tour-card .mock li { display: flex; align-items: center; gap: 10px; color: #fff; }
.tour-card .mock li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; }
.tour-card .mock li.doing::before { border: 2px solid var(--accent); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.tour-card .mock li.done { color: var(--muted); }
.tour-card .mock li.done::before { border-radius: 0; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm4.2 6.3a1 1 0 0 0-1.4 0L10.5 13l-1.8-1.8a1 1 0 1 0-1.4 1.4l2.5 2.5a1 1 0 0 0 1.4 0l5-5a1 1 0 0 0 0-1.3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2.5a9.5 9.5 0 1 1 0 19 9.5 9.5 0 0 1 0-19zm4.2 6.3a1 1 0 0 0-1.4 0L10.5 13l-1.8-1.8a1 1 0 1 0-1.4 1.4l2.5 2.5a1 1 0 0 0 1.4 0l5-5a1 1 0 0 0 0-1.3z'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tour-card .mock li.doing::before { animation: none; } }

.tour-card .offer { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: -4px 0 16px; }
.tour-card .offer.link {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
}
.tour-card .offer.link:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.tour-card .offer.fill {
  display: flex;
  width: 100%;
  margin: -2px 0 16px;
  padding: 10px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ff4066 0%, #e11d48 100%);
  border-color: rgba(255, 130, 155, 0.5);
  color: var(--accent-ink);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.35), 0 8px 24px -6px rgba(255, 45, 85, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tour-card .offer.fill:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.5), 0 12px 28px -4px rgba(255, 45, 85, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tour-card .waiting {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.1);
  border: 1px solid rgba(255, 45, 85, 0.28);
  color: #ff9eb1;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.tour-card .waiting::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.2s infinite;
}
@keyframes pulse { 50% { opacity: 0.25; } }

/* The agent's progress on the visitor's report */
/* The agent's log: a line per step, newest at the bottom, older ones fading. Each line a pill; one with its details
   open, a panel. */
.agent-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2147482995;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: calc(100vw - 32px);
  font-size: 13.5px;
}
.agent-bar .row {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 100%;
  padding: 8px 12px 8px 16px;
  background: rgba(11, 15, 27, 0.92);
  backdrop-filter: blur(18px) saturate(150%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: opacity 0.4s ease;
}
.agent-bar .row.new { animation: agent-line-in 0.25s ease; }
@keyframes agent-line-in { from { opacity: 0; transform: translateY(6px); } }
.agent-bar .row.age-0 { padding: 10px 14px 10px 18px; box-shadow: 0 14px 44px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.agent-bar .row.age-1 { opacity: 0.72; }
.agent-bar .row.age-2 { opacity: 0.5; }
.agent-bar .row.age-3 { opacity: 0.34; }
.agent-bar .row.age-4 { opacity: 0.2; }
.agent-bar .row:hover { opacity: 1; }
.agent-bar .row:not(.age-0) { font-size: 12.5px; }
.agent-bar .state { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.agent-bar .state.working, .agent-bar .state.requested { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.agent-bar .age-0 .state.working, .agent-bar .age-0 .state.requested { animation: pulse 1.2s infinite; }
.agent-bar .state.done { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.agent-bar .state.sent { background: var(--text-soft); }
.agent-bar .state.failed, .agent-bar .state.declined, .agent-bar .state.refused, .agent-bar .state.unclear { background: var(--wand); box-shadow: 0 0 12px rgba(255, 212, 71, 0.7); }
.agent-bar button {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.agent-bar button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.agent-bar .headline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.agent-bar button.more { width: auto; height: 24px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 12px; color: var(--text-soft); }
.agent-bar .row.open { flex-wrap: wrap; width: min(560px, calc(100vw - 32px)); border-radius: 16px; padding: 12px 14px 14px 18px; opacity: 1; }
.agent-bar .row.open .headline { flex: 1; }
.agent-bar .details { flex-basis: 100%; margin: 2px 0 0; color: var(--text-soft); line-height: 1.55; overflow-wrap: anywhere; max-height: 40vh; overflow-y: auto; }
.agent-bar .details code { font-size: 0.92em; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.agent-bar .report-id { flex-basis: 100%; margin: 0; color: var(--muted); font-size: 12px; }

/* The Docs page: the setups as tabs and the contents on the side, the guide's pages beside them. */
.docs { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 44px; max-width: 1080px; margin: 0 auto; padding: 44px 24px 72px; }
@media (max-width: 760px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.docs-side { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 108px); overflow-y: auto; }
@media (max-width: 760px) { .docs-side { position: static; max-height: none; } }
.docs-tiers { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.docs-tiers button { flex: 1; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.docs-tiers button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: #fff; }
.docs-tiers button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.docs-toc { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
@media (max-width: 760px) { .docs-toc { display: none; } }
.docs-toc a { color: var(--muted); text-decoration: none; padding: 3px 0; }
.docs-toc a:hover { color: #fff; }
.docs-toc .page-link { margin-top: 12px; color: var(--text); font-weight: 600; }
.docs-toc .sub { padding-left: 12px; }
.docs-loading { color: var(--muted); }
.docs-pages section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.docs-pages section:last-child { border-bottom: 0; }
.docs-pages h1 { margin: 0 0 16px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.03em; }
.docs-pages h2 { margin: 32px 0 10px; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.02em; }
.docs-pages h3 { margin: 24px 0 8px; }
.docs-pages p, .docs-pages li { color: var(--text-soft); }
.docs-pages table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.docs-pages th, .docs-pages td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.docs-pages th { color: var(--muted); font-weight: 600; }
.docs-pages :not(pre) > code { overflow-wrap: anywhere; }
.docs-pages .code { position: relative; margin: 14px 0; }
.docs-pages .code pre { padding-right: 76px; }
.docs-pages .copy { position: absolute; top: 8px; right: 8px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--panel); color: var(--text); font: inherit; font-size: 12.5px; cursor: pointer; }
.docs-pages .copy:hover { background: var(--panel-2); }
.docs-pages .copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* The tour's end: buy, or evaluate on your own */
.tour-end {
  width: min(460px, calc(100vw - 32px));
  padding: 32px 28px 24px;
  background:
    radial-gradient(85% 50% at 50% 0%, rgba(255, 45, 85, 0.22), transparent 70%),
    radial-gradient(50% 50% at 90% 100%, rgba(255, 212, 71, 0.08), transparent 70%),
    linear-gradient(180deg, #111728 0%, #090d18 100%);
  color: var(--text);
  border: 1px solid rgba(255, 45, 85, 0.48);
  border-radius: 24px;
  box-shadow:
    0 0 0 1px rgba(255, 45, 85, 0.2),
    0 28px 80px rgba(0, 0, 0, 0.85),
    0 0 64px -18px rgba(255, 45, 85, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.tour-end::backdrop { background: rgba(3, 5, 11, 0.8); backdrop-filter: blur(8px); }
.tour-end h3 {
  margin: 0 0 12px;
  padding-right: 32px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #ffffff 30%, #b8c4db 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tour-end p { margin: 0 0 18px; color: var(--muted); }
.tour-end p.recap { margin-bottom: 16px; color: var(--text-soft); font-size: 15.5px; line-height: 1.6; }
.tour-end p.fine {
  margin-bottom: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-line;
}
.tour-end .row { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-end .row button {
  flex: 1 1 160px;
  white-space: nowrap;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.tour-end .row button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}
.tour-end .row button.primary {
  background: linear-gradient(180deg, #ff4066 0%, #e11d48 100%);
  border-color: rgba(255, 130, 155, 0.5);
  color: var(--accent-ink);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.4), 0 8px 26px -6px rgba(255, 45, 85, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.tour-end .row button.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.55), 0 12px 32px -4px rgba(255, 45, 85, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.tour-end .more {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}
.tour-end .more button, .tour-end .more a {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease;
}
.tour-end .more button:hover, .tour-end .more a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tour-end .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tour-end .close:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--line-strong); color: #fff; }
.tour-end button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Development only: the tour's Reset and Skip ahead, out of the way in a corner */
.dev-tools {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2147483004;
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(11, 15, 27, 0.86);
  backdrop-filter: blur(12px);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}
.dev-tools .btn {
  padding: 6px 12px;
  font-size: 12px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  box-shadow: none;
}
.dev-tools .btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff; transform: none; }

/* The tour's first step: a brush-stroke arrow from the card to the wand's button (arrow.ts), painted in once */
.tour-arrow {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2147483001;
  color: #ff4066;
  pointer-events: none;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(255, 45, 85, 0.65)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.tour-arrow .paint { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: paint 0.9s 0.3s ease-out forwards; }
@keyframes paint { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .tour-arrow .paint { animation: none; stroke-dashoffset: 0; } }
