/* Nebula Sans is the default proportional face. The official, unmodified
 * WOFF2 cuts and their SIL Open Font License ship with this package. */
@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/nebula-sans/NebulaSans-Light.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 300;
  src: url("./fonts/nebula-sans/NebulaSans-LightItalic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/nebula-sans/NebulaSans-Book.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 400;
  src: url("./fonts/nebula-sans/NebulaSans-BookItalic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 500;
  src: url("./fonts/nebula-sans/NebulaSans-Medium.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 500;
  src: url("./fonts/nebula-sans/NebulaSans-MediumItalic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/nebula-sans/NebulaSans-Semibold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 600;
  src: url("./fonts/nebula-sans/NebulaSans-SemiboldItalic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/nebula-sans/NebulaSans-Bold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 700;
  src: url("./fonts/nebula-sans/NebulaSans-BoldItalic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: normal;
  font-weight: 900;
  src: url("./fonts/nebula-sans/NebulaSans-Black.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Nebula Sans";
  font-style: italic;
  font-weight: 900;
  src: url("./fonts/nebula-sans/NebulaSans-BlackItalic.woff2") format("woff2");
}

/* Optional open-source display face for deliberate monospace treatments. */
@font-face {
  font-display: swap;
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  src: url("./fonts/geist-mono/GeistMono[wght].woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --background: #f5f3ed;
  --surface: #fcfbf7;
  --surface-raised: #ffffff;
  --foreground: #181817;
  --muted: #5d5d58;
  --line: #cdc9be;
  --accent: #98520d;
  --accent-bright: #f1a72d;
  --accent-soft: #f3dfc2;
  --focus: #075eb5;
  --dark-background: #0e1113;
  --dark-surface: #15191c;
  --dark-foreground: #f5f2e9;
  --dark-muted: #aaa9a3;
  --dark-line: #34383a;
  --font-sans: "Nebula Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-inline: clamp(1.25rem, 5vw, 4.5rem);
  --section-block: clamp(4.5rem, 9vw, 9rem);
  --radius-sm: 0.55rem;
  --radius-md: 0.9rem;
  --radius-lg: 1.35rem;
  --shadow-low: 0 1px 2px rgb(24 24 23 / 8%), 0 16px 36px rgb(24 24 23 / 7%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e1113;
    --surface: #15191c;
    --surface-raised: #1b2023;
    --foreground: #f5f2e9;
    --muted: #aaa9a3;
    --line: #34383a;
    --accent: #f1a72d;
    --accent-bright: #ffc25a;
    --accent-soft: #382915;
    --focus: #8bc6ff;
    --shadow-low: 0 1px 2px rgb(0 0 0 / 20%), 0 18px 46px rgb(0 0 0 / 28%);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, p, dd, dt, li, summary, code) {
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--accent);
}

:where(a, button, input, summary, [tabindex]):focus-visible {
  outline: 0.16rem solid var(--focus);
  outline-offset: 0.22rem;
}

code,
pre {
  font-family: var(--font-mono);
}

code:not(pre code) {
  background: color-mix(in srgb, var(--accent-soft) 55%, transparent);
  border-radius: 0.25rem;
  font-size: 0.88em;
  padding: 0.08em 0.3em;
}

.skip-link {
  background: var(--foreground);
  border-radius: 0 0 var(--radius-sm) 0;
  color: var(--background);
  font-size: 0.88rem;
  font-weight: 750;
  left: 0;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 0;
  transform: translateY(-140%);
  transition: transform 150ms ease;
  z-index: 100;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px) saturate(120%);
  background: rgb(14 17 19 / 88%);
  border-bottom: 1px solid rgb(245 242 233 / 14%);
  color: var(--dark-foreground);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 4rem;
  padding: max(0.75rem, env(safe-area-inset-top)) max(var(--page-inline), env(safe-area-inset-right)) 0.75rem max(var(--page-inline), env(safe-area-inset-left));
  position: sticky;
  top: 0;
  z-index: 30;
}

.wordmark {
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.topbar nav {
  align-items: center;
  display: flex;
  gap: clamp(0.9rem, 3vw, 1.75rem);
}

.topbar nav a {
  color: var(--dark-muted);
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration: none;
}

.topbar nav a:hover {
  color: var(--dark-foreground);
}

.hero {
  align-items: center;
  background:
    radial-gradient(circle at 82% 34%, rgb(241 167 45 / 13%), transparent 29rem),
    linear-gradient(145deg, #111518 0%, #0b0e10 72%);
  border-bottom: 1px solid var(--dark-line);
  color: var(--dark-foreground);
  display: grid;
  isolation: isolate;
  min-height: min(84svh, 58rem);
  overflow: hidden;
  padding: clamp(4.5rem, 10vw, 9rem) var(--page-inline);
  position: relative;
}

.hero::before {
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 60%, black);
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.hero-field {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.hero-field::before,
.hero-field::after {
  border: 1px solid rgb(241 167 45 / 28%);
  content: "";
  position: absolute;
  right: clamp(-16rem, -7vw, -4rem);
  transform: rotate(18deg);
}

.hero-field::before {
  border-radius: 26% 74% 42% 58%;
  height: min(74vw, 46rem);
  top: -5%;
  width: min(52vw, 38rem);
}

.hero-field::after {
  border-color: rgb(151 159 169 / 20%);
  border-radius: 64% 36% 68% 32%;
  height: min(62vw, 38rem);
  right: clamp(-9rem, 5vw, 6rem);
  top: 10%;
  width: min(42vw, 30rem);
}

.hero-orbit {
  border: 1px solid rgb(241 167 45 / 24%);
  border-radius: 50%;
  position: absolute;
}

.hero-orbit::before,
.hero-orbit::after {
  background: var(--accent-bright);
  border-radius: 50%;
  box-shadow: 0 0 1.5rem rgb(241 167 45 / 75%);
  content: "";
  height: 0.45rem;
  position: absolute;
  width: 0.45rem;
}

.hero-orbit-a {
  height: 24rem;
  right: 5%;
  top: 16%;
  width: 24rem;
}

.hero-orbit-a::before {
  left: 8%;
  top: 22%;
}

.hero-orbit-a::after {
  bottom: 7%;
  right: 23%;
}

.hero-orbit-b {
  bottom: -5rem;
  height: 34rem;
  right: 15%;
  width: 34rem;
}

.hero-orbit-b::before {
  right: 7%;
  top: 28%;
}

.hero-orbit-b::after {
  left: 1%;
  top: 46%;
}

.hero-glyph {
  filter: grayscale(1) contrast(0.8) sepia(0.45);
  font-size: min(31vw, 24rem);
  line-height: 1;
  opacity: 0.1;
  position: absolute;
  right: clamp(-4rem, 3vw, 7rem);
  top: 50%;
  transform: translateY(-48%) rotate(-11deg);
  user-select: none;
}

.hero-glyph img {
  display: block;
  height: min(31vw, 24rem);
  width: min(31vw, 24rem);
}

.hero-content {
  margin-inline: auto;
  max-width: 100rem;
  width: 100%;
}

.eyebrow,
.command-label,
.prompt-label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--dark-muted);
  max-width: 34rem;
}

.hero h1 {
  font-size: min(clamp(4rem, 14vw, 10rem), 15cqi);
  font-weight: 850;
  letter-spacing: -0.085em;
  line-height: 0.82;
  margin: clamp(1.2rem, 3vw, 2.5rem) 0 0;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--accent-bright);
}

.hero-statement {
  color: var(--dark-foreground);
  font-size: clamp(1.45rem, 3vw, 2.5rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.08;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  max-width: 42rem;
  text-wrap: balance;
}

.hero-explainer {
  color: var(--dark-muted);
  font-size: clamp(1rem, 1.5vw, 1.24rem);
  letter-spacing: -0.02em;
  line-height: 1.58;
  margin: 0.9rem 0 0;
  max-width: 49rem;
  text-wrap: pretty;
}

.skill-install {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 47rem;
}

.skill-install-label {
  color: var(--dark-muted);
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.skill-install-control {
  align-items: center;
  background: rgb(255 255 255 / 6%);
  border: 1px solid rgb(245 242 233 / 24%);
  border-radius: var(--radius-md);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 18%);
  display: flex;
  min-height: 3.75rem;
  overflow: hidden;
  padding-left: 1rem;
}

.skill-install-prompt {
  color: var(--accent-bright);
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 750;
  margin-right: 0.65rem;
}

.skill-install-command {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--dark-foreground);
  cursor: text;
  display: flex;
  flex: 1 1 auto;
  font-family: var(--font-mono);
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  line-height: 1.5;
  min-height: 3.65rem;
  min-width: 0;
  overflow-x: auto;
  padding: 0;
  user-select: all;
  white-space: nowrap;
  width: 100%;
}

.skill-install-command:focus-visible {
  outline-offset: -0.22rem;
}

.skill-install-copy {
  align-items: center;
  align-self: stretch;
  background: rgb(255 255 255 / 8%);
  border: 0;
  border-left: 1px solid rgb(245 242 233 / 18%);
  color: var(--dark-foreground);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 760;
  gap: 0.45rem;
  justify-content: center;
  min-width: 6rem;
  padding: 0.7rem 1rem;
  transition: background-color 150ms ease, color 150ms ease;
}

.skill-install-copy[hidden] {
  display: none;
}

.skill-install-copy:hover {
  background: rgb(255 255 255 / 14%);
}

.skill-install-copy:disabled {
  cursor: wait;
  opacity: 0.78;
}

.skill-install-copy[data-copy-state="copied"] {
  background: var(--accent-bright);
  color: #18130b;
}

.skill-install-copy svg {
  fill: none;
  height: 1rem;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  width: 1rem;
}

.skill-install-note {
  color: var(--dark-muted);
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0.65rem 0 0;
}

.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero .action-row {
  margin-top: 2.2rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 760;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--foreground);
  color: var(--background);
}

.hero .button-primary,
.section-dark .button-primary {
  background: var(--accent-bright);
  color: #18130b;
}

.button-secondary {
  background: var(--surface-raised);
  border-color: var(--line);
  color: var(--foreground);
}

.hero .button-secondary,
.hero .button-quiet,
.section-dark .button-secondary,
.section-dark .button-quiet {
  background: rgb(255 255 255 / 5%);
  border-color: rgb(245 242 233 / 24%);
  color: var(--dark-foreground);
}

.button-quiet {
  background: transparent;
  border-color: transparent;
}

.proof-list {
  color: var(--dark-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.74rem;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
}

.proof-list li {
  align-items: center;
  display: inline-flex;
  gap: 0.5rem;
}

.proof-list li::before {
  background: var(--accent-bright);
  border-radius: 50%;
  content: "";
  height: 0.34rem;
  width: 0.34rem;
}

.content {
  margin-inline: auto;
  max-width: 100rem;
}

.section {
  border-bottom: 1px solid var(--line);
  padding: var(--section-block) var(--page-inline);
}

.section-dark {
  background: var(--dark-background);
  border-bottom-color: var(--dark-line);
  color: var(--dark-foreground);
  margin-inline: calc((100vw - min(100vw, 100rem)) / -2);
  padding-inline: max(var(--page-inline), calc((100vw - 100rem) / 2 + var(--page-inline)));
}

.section-heading {
  max-width: 46rem;
}

.section-heading-wide {
  max-width: 61rem;
}

.section-heading h2,
.final-section h2,
.route-state h1 {
  font-size: clamp(2.15rem, 5.4vw, 4.9rem);
  font-weight: 820;
  letter-spacing: -0.068em;
  line-height: 0.96;
  margin: 0;
  text-wrap: balance;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.68;
  margin: 1.3rem 0 0;
  text-wrap: pretty;
}

.section-dark .eyebrow,
.section-dark .section-heading > p:last-child,
.section-dark .flow p,
.section-dark .flow-index {
  color: var(--dark-muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.card {
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--surface-raised) 94%, transparent), color-mix(in srgb, var(--accent-soft) 30%, var(--surface)));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 14rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.card-index {
  color: var(--accent);
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.card h3,
.principle-grid h3,
.flow h3 {
  font-size: 1rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0;
}

.card p,
.principle-grid p,
.flow p {
  color: var(--muted);
  line-height: 1.62;
  margin: 1rem 0 0;
}

.provider-directory {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.provider-card {
  --provider-accent: var(--accent);
  background: color-mix(in srgb, var(--surface-raised) 92%, var(--provider-accent));
  border: 1px solid color-mix(in srgb, var(--line) 78%, var(--provider-accent));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-height: 11.5rem;
  min-width: 0;
  padding: 1.15rem;
}

.provider-card-featured {
  grid-column: span 2;
  min-height: 14rem;
}

.provider-accent-blue { --provider-accent: #4f86d9; }
.provider-accent-coral { --provider-accent: #d86a4b; }
.provider-accent-gold { --provider-accent: #d49a2b; }
.provider-accent-green { --provider-accent: #36a56b; }
.provider-accent-ink { --provider-accent: #67717b; }
.provider-accent-violet { --provider-accent: #8b70cb; }

.provider-card-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.provider-mark {
  align-items: center;
  background: color-mix(in srgb, var(--provider-accent) 16%, var(--surface-raised));
  border: 1px solid color-mix(in srgb, var(--provider-accent) 48%, var(--line));
  border-radius: 0.75rem;
  color: color-mix(in srgb, var(--provider-accent) 78%, var(--foreground));
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  width: 2.75rem;
}

.provider-icon {
  fill: none;
  height: 1.35rem;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  width: 1.35rem;
}

.provider-adapter-count {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.provider-card h3 {
  font-size: clamp(1rem, 1.7vw, 1.28rem);
  letter-spacing: -0.035em;
  margin: 1.3rem 0 0;
}

.provider-card h3 a {
  color: var(--foreground);
  text-decoration-color: color-mix(in srgb, var(--provider-accent) 55%, transparent);
  text-underline-offset: 0.22em;
}

.provider-card p {
  line-height: 1.48;
  margin: 0.52rem 0 0;
}

.provider-card .provider-state {
  color: var(--foreground);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.provider-transport {
  color: var(--muted);
  font-size: 0.72rem;
}

.provider-feature-copy {
  color: var(--muted);
  font-size: 0.86rem;
  max-width: 35rem;
}

.provider-channel-grid,
.provider-action-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.provider-channel-grid article,
.provider-action-grid article {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1.5rem 0 0;
}

.provider-channel-grid h3,
.provider-action-grid h3 {
  font-size: 0.86rem;
  margin: 0;
}

.provider-channel-grid p,
.provider-action-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
  margin: 0.7rem 0 0;
}

.provider-status-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
  margin: 1.5rem 0 0;
  max-width: 62rem;
}

.provider-actions,
.guide-actions {
  margin-top: 1.5rem;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  margin: clamp(3rem, 7vw, 6rem) 0 0;
  padding: 0;
}

.flow li {
  border-top: 1px solid var(--dark-line);
  min-width: 0;
  padding: 1.25rem 1.25rem 0 0;
  position: relative;
}

.flow li::before {
  background: var(--accent-bright);
  border: 4px solid var(--dark-background);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--dark-line), 0 0 1rem rgb(241 167 45 / 40%);
  content: "";
  height: 0.8rem;
  position: absolute;
  top: -0.42rem;
  width: 0.8rem;
}

.flow-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-bottom: 1.75rem;
}

.start-section,
.technical-section {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.82fr) minmax(27rem, 1.18fr);
}

.command-stack {
  align-self: start;
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.command-panel,
.prompt-card {
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-width: 0;
}

.command-panel {
  box-shadow: var(--shadow-low);
  overflow: hidden;
}

.command-label {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0.85rem 1rem;
}

.command-panel pre {
  margin: 0;
  overflow-x: auto;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.command-panel code {
  font-size: clamp(0.73rem, 1.25vw, 0.9rem);
  line-height: 1.9;
  white-space: pre;
}

.prompt-card {
  padding: 1.25rem 1.5rem;
}

.prompt-card p {
  line-height: 1.58;
  margin: 0;
}

.prompt-card .prompt-label {
  margin-bottom: 0.45rem;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 6rem);
}

.principle-grid article {
  border-left: 1px solid var(--line);
  padding: 1rem clamp(1.25rem, 3vw, 2.5rem);
}

.principle-grid article:nth-child(3n + 1) {
  padding-left: 0;
}

.invariants {
  margin: 0;
}

.invariants > div {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(8rem, 0.34fr) minmax(0, 1fr);
  padding: 1.3rem 0;
}

.invariants dt {
  font-size: 0.82rem;
  font-weight: 780;
}

.invariants dd {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.table-scroll {
  margin-top: clamp(3rem, 7vw, 6rem);
  overflow-x: auto;
}

.table-scroll table {
  border-collapse: collapse;
  min-width: 48rem;
  width: 100%;
}

.table-scroll :where(th, td) {
  border-top: 1px solid var(--line);
  line-height: 1.52;
  padding: 1.2rem 1.25rem 1.2rem 0;
  text-align: left;
  vertical-align: top;
}

.table-scroll thead th {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.table-scroll tbody th {
  font-size: 0.9rem;
  width: 18%;
}

.table-scroll td {
  color: var(--muted);
  width: 41%;
}

.faq-list {
  display: grid;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  max-width: 64rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 730;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 4.25rem;
  padding: 1rem 0;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--accent);
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
  max-width: 50rem;
  padding: 0 3rem 1.5rem 0;
}

.final-section {
  align-items: end;
  border-bottom: 0;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.site-disclosure {
  align-items: center;
  background: var(--dark-background);
  color: var(--dark-muted);
  display: flex;
  font-size: 0.78rem;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: 6rem;
  padding: 1.5rem max(var(--page-inline), env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(var(--page-inline), env(safe-area-inset-left));
}

.site-disclosure p {
  margin: 0;
}

.privacy-note {
  line-height: 1.5;
  max-width: 48rem;
}

.site-disclosure a {
  color: var(--dark-foreground);
}

.guide-main {
  margin-inline: auto;
  max-width: 100rem;
  padding: 0 var(--page-inline) var(--section-block);
}

.breadcrumbs {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  padding: 1.25rem 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li + li::before {
  color: var(--line);
  content: "/";
  margin-right: 0.55rem;
}

.guide-article {
  margin-inline: auto;
  max-width: 72rem;
}

.guide-hero {
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.guide-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.6rem);
  font-weight: 840;
  letter-spacing: -0.075em;
  line-height: 0.94;
  margin: 0;
  max-width: 64rem;
  text-wrap: balance;
}

.answer-lede {
  color: var(--foreground);
  font-size: clamp(1.16rem, 2.2vw, 1.55rem);
  letter-spacing: -0.025em;
  line-height: 1.55;
  margin: 2rem 0 0;
  max-width: 61rem;
  text-wrap: pretty;
}

.review-note {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
  margin: 1.5rem 0 0;
  max-width: 52rem;
}

.guide-article > section {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.guide-article > section > :not(.table-scroll, .command-panel) {
  max-width: 54rem;
}

.guide-article h2,
.guide-callout h2 {
  font-size: clamp(1.8rem, 4.2vw, 3.5rem);
  font-weight: 810;
  letter-spacing: -0.06em;
  line-height: 1;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}

.guide-article section > p,
.guide-callout p,
.guide-list,
.guide-steps {
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.72;
}

.guide-article section > p {
  margin: 1.1rem 0 0;
}

.guide-article .command-panel {
  margin: 1.75rem 0;
}

.demo-media {
  margin: 2rem 0 0;
  max-width: 72rem;
}

.demo-media video {
  background: var(--dark-background);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-low);
  display: block;
  height: auto;
  width: 100%;
}

.demo-media figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.58;
  margin-top: 0.85rem;
  max-width: 54rem;
}

.demo-transcript {
  border-block: 1px solid var(--line);
  margin-top: 1.75rem;
  max-width: 72rem;
}

.demo-transcript summary {
  cursor: pointer;
  font-weight: 720;
  padding: 1rem 0;
}

.demo-transcript .command-panel {
  margin-top: 0;
}

.guide-list,
.guide-steps {
  display: grid;
  gap: 0.85rem;
  margin-block: 1.5rem;
  padding-left: 1.35rem;
}

.guide-callout {
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--surface-raised) 94%, transparent), color-mix(in srgb, var(--accent-soft) 38%, var(--surface)));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-top: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.75rem, 5vw, 3.5rem);
}

.guide-callout p {
  margin: 0;
  max-width: 52rem;
}

.guide-cluster .card {
  min-height: 0;
}

.guide-cluster .card h3 a {
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
}

.provider-directory-guide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.provider-attestation-groups {
  margin-top: 2.5rem;
}

.provider-attestation-group {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  scroll-margin-top: 6rem;
}

.provider-attestation-group > h3 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  letter-spacing: -0.045em;
  margin: 0;
}

.provider-attestation-group > p {
  color: var(--muted);
  margin: 0.55rem 0 1rem;
}

.provider-adapter {
  border-top: 1px solid var(--line);
}

.provider-adapter:last-child {
  border-bottom: 1px solid var(--line);
}

.provider-adapter summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  line-height: 1.5;
  list-style: none;
  padding: 1rem 0;
}

.provider-adapter summary::-webkit-details-marker {
  display: none;
}

.provider-adapter summary::after {
  color: var(--accent);
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.1rem;
}

.provider-adapter[open] summary::after {
  content: "−";
}

.provider-adapter summary span:last-child {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  margin-left: auto;
}

.provider-adapter .table-scroll {
  margin: 0 0 1.25rem;
}

.provider-table table {
  min-width: 88rem;
}

.provider-table tbody th {
  width: 16%;
}

.provider-table td:nth-child(2),
.provider-table td:nth-child(3) {
  width: 10%;
}

.provider-table td:nth-child(4) {
  width: 8%;
}

.provider-table td:nth-child(5) {
  width: 12%;
}

.provider-table td:nth-child(6) {
  width: 44%;
}

.version-table table,
.artifact-table table {
  min-width: 62rem;
}

.artifact-table code {
  overflow-wrap: anywhere;
}

.security-levels {
  margin: 1.75rem 0;
  max-width: 50rem;
}

.route-state {
  align-content: center;
  display: grid;
  min-height: 100svh;
  padding: var(--section-block) var(--page-inline);
}

.route-state > * {
  max-width: 50rem;
}

.route-state > p:not(.eyebrow, .visually-hidden) {
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  margin: 1.5rem 0 1.25rem;
}

.route-state .recovery-links {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 2rem;
  padding-left: 1.2rem;
}

.route-state .recovery-links a {
  color: var(--foreground);
}

.route-state .button {
  justify-self: start;
}

.route-state > .privacy-note {
  font-size: 0.78rem;
  margin: 1.25rem 0 0;
  max-width: 40rem;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.preview-body {
  background: var(--dark-background);
  color: var(--dark-foreground);
  min-width: 0;
}

.preview-shell {
  min-height: 100svh;
  padding: clamp(0.75rem, 3vw, 1.5rem);
}

.preview-card {
  background:
    radial-gradient(circle at 82% 22%, rgb(241 167 45 / 18%), transparent 24rem),
    linear-gradient(145deg, #151a1d, #0b0e10 78%);
  border: 1px solid var(--dark-line);
  border-radius: clamp(0.8rem, 2.5vw, 1.4rem);
  box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 28%);
  display: flex;
  flex-direction: column;
  isolation: isolate;
  min-height: calc(100svh - clamp(1.5rem, 6vw, 3rem));
  overflow: hidden;
  padding: clamp(1.25rem, 5vw, 3rem);
  position: relative;
}

.preview-card::before {
  background-image:
    linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
  background-size: clamp(2.25rem, 7vw, 3.5rem) clamp(2.25rem, 7vw, 3.5rem);
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, transparent, black 45%, black);
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.preview-field {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.preview-orbit {
  border: 1px solid rgb(241 167 45 / 27%);
  border-radius: 50%;
  position: absolute;
  right: -14%;
  top: -22%;
}

.preview-orbit-a {
  aspect-ratio: 1;
  width: min(70vw, 26rem);
}

.preview-orbit-b {
  aspect-ratio: 1;
  border-color: rgb(151 159 169 / 22%);
  right: 4%;
  top: 10%;
  width: min(48vw, 18rem);
}

.preview-wordmark {
  align-items: center;
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  gap: 0.65rem;
  letter-spacing: 0.16em;
  margin: 0;
}

.preview-wordmark img {
  height: 1.7rem;
  width: 1.7rem;
}

.preview-copy {
  margin: auto 0;
  max-width: 42rem;
  padding: clamp(2rem, 9vh, 6rem) 0;
}

.preview-eyebrow {
  color: var(--accent-bright);
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.8vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.preview-copy h1 {
  font-size: clamp(2rem, 7vw, 4.75rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
  max-width: 12ch;
}

.preview-copy > p:last-child {
  color: var(--dark-muted);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  line-height: 1.55;
  margin: 1.3rem 0 0;
  max-width: 38rem;
}

.preview-flow {
  border-top: 1px solid var(--dark-line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
}

.preview-flow li {
  color: var(--dark-muted);
  font-family: var(--font-mono);
  font-size: clamp(0.67rem, 1.8vw, 0.78rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.preview-flow li + li {
  border-left: 1px solid var(--dark-line);
  padding-left: clamp(0.75rem, 3vw, 1.5rem);
}

.preview-flow span {
  color: var(--accent-bright);
  margin-right: 0.35rem;
}

@media (max-width: 62rem) {
  .hero-glyph {
    opacity: 0.065;
    right: -6rem;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow li {
    border-left: 1px solid var(--dark-line);
    border-top: 0;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: 0 0 2rem 1.5rem;
  }

  .flow li::before {
    left: -0.42rem;
    top: 0;
  }

  .flow-index {
    margin: 0;
  }

  .start-section,
  .technical-section {
    grid-template-columns: 1fr;
  }

  .provider-directory,
  .provider-directory-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 45rem) {
  .topbar:not(.guide-topbar) nav a {
    display: none;
  }

  .topbar:not(.guide-topbar) nav a:nth-child(2),
  .topbar:not(.guide-topbar) nav a:last-child {
    display: block;
  }

  .guide-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-topbar nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    width: 100%;
  }

  .guide-topbar nav a,
  .guide-topbar nav a:not(:last-child) {
    display: block;
    flex: 0 0 auto;
  }

  .hero {
    min-height: 0;
  }

  .hero::before {
    mask-image: linear-gradient(180deg, black, transparent);
  }

  .hero-field {
    opacity: 0.72;
  }

  .card-grid,
  .principle-grid,
  .provider-directory,
  .provider-directory-guide,
  .provider-channel-grid,
  .provider-action-grid {
    grid-template-columns: 1fr;
  }

  .provider-card-featured {
    grid-column: auto;
  }

  .provider-card {
    min-height: 0;
  }

  .provider-adapter summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .provider-adapter summary span:last-child {
    margin-left: 0;
    width: calc(100% - 2rem);
  }

  .card {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 2rem;
  }

  .principle-grid article,
  .principle-grid article:nth-child(3n + 1) {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0;
  }

  .invariants > div {
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }

  .final-section,
  .site-disclosure {
    align-items: stretch;
    flex-direction: column;
  }

  .site-disclosure {
    justify-content: center;
  }
}

@media (max-width: 32.5rem) {
  .skill-install-control {
    align-items: stretch;
    flex-wrap: wrap;
    padding-left: 0;
  }

  .skill-install-prompt {
    align-self: center;
    margin-left: 1rem;
  }

  .skill-install-command {
    width: calc(100% - 3rem);
  }

  .skill-install-copy {
    border-left: 0;
    border-top: 1px solid rgb(245 242 233 / 18%);
    min-height: 3rem;
    width: 100%;
  }

  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .action-row .button {
    width: 100%;
  }

  .proof-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .preview-shell {
    padding: 0;
  }

  .preview-card {
    border: 0;
    border-radius: 0;
    min-height: 100svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hero,
  .preview-card,
  .section-dark,
  .site-disclosure,
  .topbar {
    background: Canvas;
    color: CanvasText;
  }

  .card,
  .command-panel,
  .prompt-card,
  .provider-card,
  .provider-mark,
  .skill-install-control,
  .skill-install-copy {
    background: Canvas;
  }

  .hero-field,
  .hero::before,
  .hero-glyph {
    display: none;
  }

  .preview-field,
  .preview-card::before {
    display: none;
  }

  .button {
    border-color: ButtonBorder;
  }
}

/* Minimal editorial surface shared with the Atet family. */
:root {
  --background: #f7f5ef;
  --surface: #f7f5ef;
  --surface-raised: #fffdf8;
  --foreground: #151416;
  --muted: #656168;
  --line: #d7d2c9;
  --accent: #9a5d16;
  --accent-bright: #d99a4a;
  --accent-soft: #eee0cb;
  --dark-background: #0b0b0e;
  --dark-surface: #111115;
  --dark-foreground: #f4f1e8;
  --dark-muted: #aaa6a0;
  --dark-line: #302e33;
  --font-serif: ui-serif, "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --page-inline: clamp(1.25rem, 4vw, 4rem);
  --section-block: clamp(4rem, 8vw, 7.5rem);
  --radius-sm: 0.2rem;
  --radius-md: 0.3rem;
  --radius-lg: 0.4rem;
  --shadow-low: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0b0b0e;
    --surface: #0b0b0e;
    --surface-raised: #111115;
    --foreground: #f4f1e8;
    --muted: #aaa6a0;
    --line: #302e33;
    --accent: #e6ad63;
    --accent-bright: #efb96f;
    --accent-soft: #2b2117;
  }
}

body {
  font-size: 1rem;
  line-height: 1.55;
}

.topbar {
  backdrop-filter: none;
  background: var(--background);
  border-bottom: 1px solid var(--line);
  color: var(--foreground);
  min-height: 4.25rem;
  padding: max(0.75rem, env(safe-area-inset-top)) max(var(--page-inline), env(safe-area-inset-right)) 0.75rem max(var(--page-inline), env(safe-area-inset-left));
  position: relative;
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: 0;
}

.topbar nav {
  gap: clamp(1rem, 3vw, 2rem);
}

.topbar nav a {
  color: var(--foreground);
  font-size: 0.85rem;
  font-weight: 700;
}

.topbar nav a:hover {
  color: var(--accent);
}

.hero {
  align-items: start;
  background: var(--background);
  border-bottom: 1px solid var(--line);
  color: var(--foreground);
  display: grid;
  gap: clamp(2.5rem, 7vw, 6.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(24rem, 1.1fr);
  min-height: auto;
  padding: clamp(4.75rem, 9vw, 8.5rem) var(--page-inline);
}

.hero::before,
.hero-field,
.hero-glyph {
  display: none;
}

.hero-intro {
  max-width: 39rem;
  padding-top: 0.5rem;
}

.eyebrow,
.prompt-label,
.skill-install-label,
.command-label,
.preview-eyebrow {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--accent);
  margin: 0 0 1.1rem;
}

.hero h1,
.guide-hero h1,
.section-heading h2,
.guide-article > section > h2,
.guide-callout h2,
.final-section h2,
.route-state h1,
.preview-copy h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.5rem, 6.2vw, 6.25rem);
  line-height: 0.96;
  margin: 0;
  max-width: 11ch;
}

.hero h1 span {
  color: inherit;
}

.hero-explainer {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  margin: 1.8rem 0 0;
  max-width: 37rem;
}

.hero-install-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.skill-install {
  margin: 0;
  max-width: none;
}

.skill-install-control {
  background: color-mix(in srgb, var(--surface-raised) 78%, transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 4rem;
}

.skill-install-prompt {
  color: var(--accent);
}

.skill-install-copy {
  background: transparent;
  border-left-color: var(--line);
  border-radius: 0;
  color: var(--foreground);
}

.skill-install-note,
.hero-local-install > p:last-child {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-local-install {
  border-top: 1px solid var(--line);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
}

.hero-local-install ol {
  list-style: none;
  margin: 0.8rem 0 1.1rem;
  padding: 0;
}

.hero-local-install li {
  align-items: baseline;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: 2rem minmax(0, 1fr);
  padding: 0.9rem 0;
}

.hero-local-install li:last-child {
  border-bottom: 1px solid var(--line);
}

.hero-local-install li > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.action-row {
  gap: 0.65rem;
}

.hero .action-row {
  margin-top: 2rem;
}

.button {
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
}

.button-primary {
  background: var(--foreground);
  border-color: var(--foreground);
  color: var(--background);
}

.button-secondary,
.button-quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--foreground);
}

.content,
.guide-main {
  margin: 0 auto;
  max-width: 80rem;
  padding-inline: var(--page-inline);
}

.section {
  border-top: 1px solid var(--line);
  padding: var(--section-block) 0;
}

.content > .section:first-child {
  border-top: 0;
}

.section-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--foreground);
  margin-inline: 0;
  padding-inline: 0;
}

.section-heading,
.section-heading-wide {
  max-width: 48rem;
}

.section-heading h2,
.guide-article > section > h2,
.guide-callout h2,
.final-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 0.7rem 0 1.25rem;
}

.section-heading > p:last-child,
.guide-article section > p,
.answer-lede {
  color: var(--muted);
}

.card-grid,
.principle-grid,
.provider-action-grid {
  gap: 0;
}

.card,
.principle-grid article,
.provider-action-grid article {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  padding: 1.4rem 0;
}

.provider-directory {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

.provider-card,
.provider-card-featured {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  min-height: 13rem;
  padding: 1.35rem 1.5rem 1.5rem 0;
}

.provider-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0;
}

.provider-card h3 a {
  text-decoration: none;
}

.provider-card .provider-state {
  color: var(--foreground);
  font-size: 0.78rem;
  margin-top: 0.75rem;
}

.provider-capabilities {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-top: 0.9rem;
}

.provider-transport {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  margin-top: auto;
  padding-top: 1.25rem;
  text-transform: uppercase;
}

.provider-feature-copy,
.provider-mark,
.provider-adapter-count {
  display: none;
}

.provider-status-note {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  margin-top: 1.25rem;
  padding: 0;
}

.flow {
  border-bottom: 1px solid var(--line);
}

.flow li {
  border-color: var(--line);
  padding: 1.25rem 0;
}

.flow li::before {
  display: none;
}

.flow-index,
.section-dark .flow-index {
  color: var(--accent);
}

.command-panel,
.prompt-card,
.guide-callout,
.review-note,
.invariants > div,
.faq-list details {
  background: transparent;
  border-color: var(--line);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.guide-main {
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section-block);
}

.breadcrumbs {
  color: var(--muted);
  max-width: 58rem;
}

.guide-article {
  max-width: 58rem;
}

.guide-hero {
  border-bottom: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.guide-hero h1 {
  font-size: clamp(3.3rem, 7vw, 6.8rem);
  line-height: 0.94;
  margin: 0.8rem 0 1.5rem;
}

.answer-lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.guide-article > section {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.guide-article > section > :not(.table-scroll, .command-panel) {
  max-width: none;
}

.provider-directory-guide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-attestation-groups {
  border-bottom: 1px solid var(--line);
}

.provider-attestation-group {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2rem;
}

.provider-attestation-group > h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
}

.provider-attestation-group > p {
  color: var(--muted);
  margin: 0.4rem 0 1.25rem;
}

.provider-operation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.provider-operation-list li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.32fr);
  padding: 0.9rem 0;
}

.provider-operation-list li > span:first-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.provider-operation-list strong {
  font-weight: 600;
}

.provider-operation-list code {
  background: transparent;
  color: var(--muted);
  padding: 0;
}

.provider-operation-list li > span:last-child {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

.site-disclosure {
  background: var(--background);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding-inline: var(--page-inline);
}

.preview-body,
.preview-card {
  background: var(--dark-background);
  color: var(--dark-foreground);
}

.preview-card {
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.preview-card::before,
.preview-field {
  display: none;
}

.preview-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0;
}

.preview-copy h1 {
  color: var(--dark-foreground);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.preview-flow {
  background: transparent;
  border-color: var(--dark-line);
  border-radius: var(--radius-sm);
}

@media (max-width: 62rem) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero-install-panel {
    max-width: 46rem;
  }
}

@media (max-width: 45rem) {
  .topbar {
    align-items: flex-start;
    gap: 0.8rem;
  }

  .topbar nav {
    gap: 0.85rem;
  }

  .hero {
    padding-block: 3.75rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .provider-directory,
  .provider-directory-guide {
    grid-template-columns: 1fr;
  }

  .provider-card {
    min-height: auto;
    padding-right: 0;
  }

  .provider-operation-list li {
    grid-template-columns: 1fr;
  }

  .provider-operation-list li > span:last-child {
    text-align: left;
  }
}

.hraness-site-footer {
  --hraness-site-footer-foreground: var(--plain-foreground, var(--foreground, currentColor));
  --hraness-site-footer-muted: var(--plain-muted, var(--muted, color-mix(in srgb, currentColor 68%, transparent)));
  --hraness-site-footer-line: var(--plain-line, var(--line, color-mix(in srgb, currentColor 18%, transparent)));
  --hraness-site-footer-focus: var(--plain-link, var(--focus, Highlight));
  --hraness-site-footer-background: var(--plain-background, var(--background, Canvas));
  --hraness-site-footer-social-target: 40px;
  --hraness-site-footer-control-block-size: max(var(--hraness-site-footer-social-target), 2.25rem);
  --hraness-site-footer-padding-block: clamp(0.375rem, 1vw, 0.5rem);
  --hraness-site-footer-bar-block-size: calc(
    var(--hraness-site-footer-control-block-size)
    + var(--hraness-site-footer-padding-block)
    + max(var(--hraness-site-footer-padding-block), env(safe-area-inset-bottom))
    + 1px
  );

  inline-size: 100%;
  block-size: var(--hraness-site-footer-bar-block-size);
  color: var(--hraness-site-footer-foreground);
  font-family: var(--font-sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 0.875rem;
}

.hraness-site-footer__inner {
  box-sizing: border-box;
  container-name: hraness-footer;
  container-type: inline-size;
  position: fixed;
  z-index: var(--hraness-site-footer-z-index, 50);
  inset-inline: 0;
  inset-block-end: 0;
  display: flex;
  inline-size: 100%;
  max-inline-size: none;
  min-inline-size: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 2vw, 1rem);
  border-block-start: 1px solid var(--hraness-site-footer-line);
  background: var(--hraness-site-footer-background);
  padding-block-start: var(--hraness-site-footer-padding-block);
  padding-block-end: max(var(--hraness-site-footer-padding-block), env(safe-area-inset-bottom));
  padding-inline: max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-left)) max(clamp(1rem, 4vw, 2rem), env(safe-area-inset-right));
}

.hraness-site-footer__brand,
.hraness-site-footer__links,
.hraness-site-footer__social-link {
  display: flex;
  align-items: center;
}

.hraness-site-footer__brand {
  flex: 0 0 auto;
  gap: 0.625rem;
  min-block-size: 2.25rem;
  border-radius: 0.375rem;
  color: inherit;
  font-weight: 650;
  letter-spacing: -0.018em;
  line-height: 1;
  text-decoration: none;
}

.hraness-site-footer__mark {
  inline-size: 1.75rem;
  block-size: 1.75rem;
  flex: 0 0 auto;
}

.hraness-site-footer__wordmark {
  display: none;
  font-size: 1rem;
}

.hraness-site-footer__links {
  min-inline-size: 0;
  justify-content: flex-end;
  gap: 0.375rem;
  margin-inline-start: auto;
}

.hraness-site-footer__newsletter {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  min-block-size: 2.25rem;
  border-radius: 0.25rem;
  color: var(--hraness-site-footer-muted);
  font-weight: 550;
  text-underline-offset: 0.2em;
  white-space: nowrap;
}

.hraness-site-footer__socials {
  display: flex;
  min-inline-size: 0;
  justify-content: flex-end;
  gap: 0.125rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hraness-site-footer__socials > li {
  display: none;
  inline-size: var(--hraness-site-footer-social-target);
  block-size: var(--hraness-site-footer-social-target);
  flex: 0 0 var(--hraness-site-footer-social-target);
  min-inline-size: 0;
  min-block-size: 0;
}

.hraness-site-footer__socials > li:first-child,
.hraness-site-footer__socials > li:nth-child(3),
.hraness-site-footer__socials > li:nth-child(6) {
  display: block;
}

.hraness-site-footer__social-link {
  inline-size: 100%;
  block-size: 100%;
  flex: 0 0 auto;
  justify-content: center;
  border-radius: 999px;
  color: var(--hraness-site-footer-muted);
  text-decoration: none;
}

.hraness-site-footer__social-icon {
  inline-size: 1.125rem;
  block-size: 1.125rem;
}

.hraness-site-footer :where(a):focus-visible {
  outline: 2px solid var(--hraness-site-footer-focus);
  outline-offset: 3px;
}

@media (hover: hover) {
  .hraness-site-footer__brand:hover,
  .hraness-site-footer__newsletter:hover,
  .hraness-site-footer__social-link:hover {
    color: var(--hraness-site-footer-foreground);
  }

  .hraness-site-footer__social-link:hover {
    background: color-mix(in srgb, currentColor 9%, transparent);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hraness-site-footer__brand,
  .hraness-site-footer__newsletter,
  .hraness-site-footer__social-link {
    transition: color 120ms ease, background-color 120ms ease;
  }
}

@media (pointer: coarse) {
  .hraness-site-footer {
    --hraness-site-footer-social-target: 44px;
    --hraness-site-footer-control-block-size: max(var(--hraness-site-footer-social-target), 2.75rem);
  }

  .hraness-site-footer__brand,
  .hraness-site-footer__newsletter {
    min-block-size: 2.75rem;
  }
}

@container hraness-footer (min-width: 704px) {
  .hraness-site-footer__wordmark {
    display: inline;
  }

  .hraness-site-footer__socials > li:nth-child(-n + 6) {
    display: block;
  }
}

@container hraness-footer (min-width: 768px) {
  .hraness-site-footer__socials > li:nth-child(-n + 8) {
    display: block;
  }
}

@container hraness-footer (min-width: 832px) {
  .hraness-site-footer__socials > li {
    display: block;
  }
}

@supports not (container-type: inline-size) {
  @media (min-width: 704px) {
    .hraness-site-footer__wordmark {
      display: inline;
    }

    .hraness-site-footer__socials > li:nth-child(-n + 6) {
      display: block;
    }
  }

  @media (min-width: 768px) {
    .hraness-site-footer__socials > li:nth-child(-n + 8) {
      display: block;
    }
  }

  @media (min-width: 832px) {
    .hraness-site-footer__socials > li {
      display: block;
    }
  }
}

@media (forced-colors: active) {
  .hraness-site-footer__inner {
    border-block-start-color: ButtonText;
    background: Canvas;
  }

  .hraness-site-footer__social-link {
    border: 1px solid ButtonText;
  }

  .hraness-site-footer :where(a):focus-visible {
    outline-color: Highlight;
  }
}
