:root {
  color-scheme: light;
  --bg: #efe7db;
  --bg-soft: #f7f2e9;
  --surface: rgba(255, 251, 244, 0.88);
  --surface-elevated: rgba(255, 253, 248, 0.94);
  --surface-strong: #fffaf1;
  --surface-olive: rgba(79, 92, 59, 0.08);
  --line: rgba(38, 42, 31, 0.14);
  --line-strong: rgba(38, 42, 31, 0.24);
  --panel-border: rgba(54, 64, 42, 0.14);
  --ink: #202318;
  --muted: #626651;
  --olive: #4f5c3b;
  --olive-deep: #36402a;
  --gold: #d6a62a;
  --gold-soft: #ead9a6;
  --gold-bright: #f1c343;
  --rust: #a85a34;
  --white: #ffffff;
  --shell-bg: #171b13;
  --shell-bg-soft: #20261a;
  --shell-ink: #eef2e5;
  --shell-muted: #a5b497;
  --shell-line: rgba(255, 227, 157, 0.14);
  --shadow-lg: 0 26px 60px rgba(49, 47, 32, 0.12);
  --shadow-md: 0 18px 34px rgba(49, 47, 32, 0.1);
  --shadow-sm: 0 10px 20px rgba(49, 47, 32, 0.08);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: min(1180px, calc(100vw - 2rem));
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", "Menlo", monospace;
  --hex-cut: clamp(18px, 2.2vw, 34px);
  --reveal-distance: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    url("assets/honeycomb-tile.svg") center top / 180px 156px repeat,
    radial-gradient(circle at top left, rgba(214, 166, 42, 0.2), transparent 28%),
    radial-gradient(circle at right 12% top 16%, rgba(79, 92, 59, 0.12), transparent 24%),
    linear-gradient(180deg, #f4ede1 0%, var(--bg) 34%, #f8f3e9 100%);
  color: var(--ink);
  font-family: var(--font-display);
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--olive-deep);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

code {
  font-size: 0.95em;
}

:not(pre) > code {
  display: inline-flex;
  align-items: center;
  padding: 0.08em 0.42em;
  max-width: 100%;
  white-space: nowrap;
  border: 1px solid rgba(38, 42, 31, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

pre {
  margin: 0;
  white-space: pre-wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(8px);
}

.page-shell::before {
  top: 10rem;
  left: -7rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(214, 166, 42, 0.18) 0%, rgba(214, 166, 42, 0) 72%);
}

.page-shell::after {
  right: -6rem;
  bottom: 24rem;
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(79, 92, 59, 0.18) 0%, rgba(79, 92, 59, 0) 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(247, 241, 231, 0.82);
  border-bottom: 1px solid rgba(38, 42, 31, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-subline {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.primary-nav a {
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  outline: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--olive-deep), var(--olive));
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  outline: none;
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border: 1px solid var(--line);
}

.button-small {
  padding: 0.74rem 1rem;
}

.hero,
.page-hero {
  padding: 4.8rem 0 2.4rem;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.5rem;
  align-items: start;
}

.hero-copy,
.hero-panel,
.page-intro-card,
.toc-card,
.cta-panel,
.detail-card,
.feature-card,
.flow-card,
.table-card,
.warning-banner,
.surface-card,
.terminal-window {
  background: var(--surface);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-lg);
}

.hero-copy,
.hero-panel,
.page-intro-card,
.toc-card,
.cta-panel,
.detail-card,
.feature-card,
.flow-card,
.table-card,
.warning-banner,
.surface-card,
.status-card,
.workflow-step,
.section-cta,
.footer-grid,
.stat-strip > div {
  border-radius: 28px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  display: grid;
  gap: 1.3rem;
  overflow: hidden;
  padding: 2.15rem 2.2rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(248, 242, 232, 0.84)),
    radial-gradient(circle at 18% 14%, rgba(214, 166, 42, 0.2), transparent 30%);
}

.hero-copy::after,
.page-intro-card::after,
.hero-panel::before,
.section-accent::before,
.section-gridline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/honeycomb-tile.svg") center top / 180px 156px repeat;
  opacity: 0.16;
  pointer-events: none;
}

.hero-copy > *,
.page-intro-card > *,
.hero-panel > * {
  position: relative;
  z-index: 1;
}

.page-intro-card {
  position: relative;
  overflow: hidden;
  padding: 1.7rem 1.85rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.92), rgba(248, 242, 232, 0.82)),
    radial-gradient(circle at 82% 12%, rgba(214, 166, 42, 0.16), transparent 24%);
}

.hero-copy h1,
.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.9rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: pretty;
}

.page-hero h1 {
  max-width: 10ch;
}

.hero-lead {
  margin: 0;
  max-width: 58ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-claim {
  margin: 0 0 0.85rem;
  max-width: 38rem;
  color: var(--olive-deep);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--olive);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.7rem;
}

.signal-list,
.content-list {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.signal-list li,
.content-list li {
  position: relative;
  padding-left: 1.3rem;
  color: var(--muted);
}

.signal-list li + li,
.content-list li + li {
  margin-top: 0.55rem;
}

.signal-list li::before,
.content-list li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--rust));
}

.hero-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 1.05rem;
  padding: 1.4rem 1.55rem 1.55rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(246, 240, 228, 0.9)),
    radial-gradient(circle at top right, rgba(214, 166, 42, 0.2), transparent 34%);
  color: var(--ink);
  overflow: hidden;
}

.hero-panel-eyebrow {
  margin-bottom: 0.2rem;
}

.hero-brand-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.hero-brand-copy {
  max-width: 34rem;
}

.hero-kicker {
  margin: 0 0 0.55rem;
  color: var(--olive-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brand-copy .hero-claim {
  margin-bottom: 0;
}

.hero-asset-card {
  display: grid;
  place-items: center;
  min-height: 11.6rem;
  width: min(100%, 17rem);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(38, 42, 31, 0.1);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  filter: drop-shadow(0 16px 24px rgba(49, 47, 32, 0.12));
}

.hero-app-icon {
  width: min(12rem, 92%);
  height: auto;
  object-fit: contain;
}

.hero-highlights {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terminal-window {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(180deg, var(--shell-bg-soft), var(--shell-bg)),
    radial-gradient(circle at top right, rgba(255, 211, 93, 0.08), transparent 28%);
  border-color: rgba(255, 211, 93, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 32px rgba(28, 31, 21, 0.22);
}

.terminal-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 24%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 4px);
  opacity: 0.45;
  pointer-events: none;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 211, 93, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.terminal-dots {
  display: inline-flex;
  gap: 0.38rem;
}

.terminal-dots span {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 222, 112, 0.95), rgba(214, 166, 42, 0.85));
  box-shadow: 0 0 0 1px rgba(255, 245, 216, 0.12);
}

.terminal-title,
.terminal-badge,
.terminal-body {
  font-family: var(--font-mono);
}

.terminal-title {
  color: rgba(238, 242, 229, 0.82);
  font-size: 0.84rem;
}

.terminal-badge {
  margin-left: auto;
  padding: 0.28rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 211, 93, 0.16);
  color: rgba(255, 238, 196, 0.82);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-body {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem 1.1rem 1.25rem;
  color: var(--shell-ink);
  font-size: 0.94rem;
  line-height: 1.68;
}

.terminal-line {
  margin: 0;
}

.terminal-line-command {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.72rem;
  align-items: start;
}

.terminal-prompt {
  color: var(--gold-bright);
  font-weight: 600;
}

.terminal-command {
  min-width: max-content;
  overflow-x: auto;
}

.terminal-line-output,
.terminal-line-muted {
  padding-left: 1.55rem;
}

.terminal-line-output {
  color: rgba(238, 242, 229, 0.82);
}

.terminal-line-muted {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--shell-muted);
}

.terminal-cursor {
  width: 0.7ch;
  height: 1.1em;
  flex: 0 0 auto;
  background: var(--gold-bright);
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(241, 195, 67, 0.34);
  animation: cursor-blink 1s steps(1) infinite;
}

.status-card {
  padding: 1.05rem 1.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(38, 42, 31, 0.08);
  min-height: 0;
}

.status-card strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive-deep);
}

.status-card p {
  margin: 0;
  color: var(--muted);
}

.warning-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.92), rgba(253, 244, 226, 0.94)),
    linear-gradient(135deg, rgba(214, 166, 42, 0.14), rgba(168, 90, 52, 0.14));
  border-color: rgba(168, 90, 52, 0.18);
}

.warning-label {
  align-self: start;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: rgba(168, 90, 52, 0.12);
  color: var(--rust);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.warning-banner p {
  margin: 0;
  color: #5a422f;
}

.hero-side .warning-banner {
  margin: 0;
}

.section {
  padding: 2.8rem 0;
}

.section-accent {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.72), rgba(244, 237, 224, 0.62)),
    linear-gradient(120deg, rgba(79, 92, 59, 0.05), rgba(214, 166, 42, 0.08));
}

.section-gridline {
  position: relative;
  overflow: hidden;
}

.section-gridline::before {
  opacity: 0.12;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 88%);
}

.section-intro {
  max-width: 46rem;
  margin-bottom: 1.75rem;
}

.section-intro h2,
.detail-heading h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.section-intro p,
.detail-heading p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capabilities-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.flow-card,
.detail-card,
.table-card,
.toc-card,
.cta-panel {
  padding: 1.45rem 1.65rem;
}

.feature-card h3,
.flow-card h3,
.detail-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.22rem;
  line-height: 1.12;
}

.feature-card p,
.flow-card p,
.detail-card p,
.toc-card a,
.detail-note {
  margin: 0;
  color: var(--muted);
}

.feature-card pre,
.detail-card pre {
  margin-top: 1rem;
}

.install-card pre,
.code-panel pre {
  position: relative;
  overflow-x: auto;
  padding: 1rem 1rem 1.15rem;
  border-radius: 16px;
  background: #1c1f16;
  color: #eef2e5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.code-panel {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef2e5;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.copy-button.is-copied {
  color: #d7efae;
}

.stat-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.stat-strip > div {
  padding: 1.15rem 1.2rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(38, 42, 31, 0.08);
  box-shadow: none;
}

.stat-strip strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.04rem;
}

.stat-strip span {
  color: var(--muted);
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(38, 42, 31, 0.08);
  box-shadow: none;
}

.section-cta p {
  margin: 0;
  color: var(--muted);
}

.link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-top: 0.95rem;
}

.mascot-art-card {
  display: grid;
  gap: 1rem;
}

.mascot-art-card .hero-asset-card {
  width: min(100%, 20rem);
  min-height: 14rem;
}

.mascot-art {
  width: min(14rem, 100%);
  height: auto;
  object-fit: contain;
}

.workflow-layout {
  display: grid;
  gap: 1rem;
}

.workflow-list {
  display: grid;
  gap: 1rem;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.45rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(38, 42, 31, 0.08);
  box-shadow: var(--shadow-md);
}

.workflow-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.32rem;
}

.workflow-step p {
  margin: 0 0 0.95rem;
  color: var(--muted);
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(214, 166, 42, 0.18), rgba(79, 92, 59, 0.18));
  color: var(--olive-deep);
  font-weight: 700;
  font-size: 1rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 243, 0.95), rgba(246, 240, 226, 0.88)),
    radial-gradient(circle at top right, rgba(214, 166, 42, 0.18), transparent 30%);
}

.cta-panel h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: pretty;
}

.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.page-hero-grid {
  align-items: start;
}

.toc-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  background:
    linear-gradient(180deg, rgba(255, 249, 237, 0.92), rgba(255, 255, 255, 0.82)),
    radial-gradient(circle at top right, rgba(214, 166, 42, 0.2), transparent 26%);
}

.toc-card strong {
  font-size: 0.88rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.toc-card a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  padding: 0.3rem 0;
  border-bottom: 1px dashed rgba(38, 42, 31, 0.12);
}

.footer-grid a {
  color: var(--olive-deep);
}

.toc-card a:hover,
.toc-card a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--olive-deep);
  outline: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.detail-heading {
  grid-column: 1 / -1;
  max-width: 48rem;
}

.detail-note {
  margin-top: 0.8rem;
}

.flow-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-card {
  position: relative;
  min-height: 14rem;
  padding-top: 4.3rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.92), rgba(247, 241, 229, 0.86)),
    radial-gradient(circle at top left, rgba(214, 166, 42, 0.16), transparent 28%);
}

.flow-card span {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  display: inline-grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 14px;
  background: rgba(79, 92, 59, 0.1);
  color: var(--olive-deep);
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  padding: 0.95rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(38, 42, 31, 0.08);
}

th {
  color: var(--olive-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr;
  gap: 1rem;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 243, 233, 0.76)),
    radial-gradient(circle at top right, rgba(214, 166, 42, 0.12), transparent 26%);
  border: 1px solid var(--panel-border);
  box-shadow: none;
}

.footer-grid a {
  display: block;
  width: fit-content;
  margin-bottom: 0.45rem;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  color: var(--olive-deep);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--ink);
  outline: none;
}

.footer-grid p,
.footer-note {
  margin: 0;
  color: var(--muted);
}

.hero-copy,
.hero-panel,
.page-intro-card,
.toc-card,
.cta-panel,
.detail-card,
.feature-card,
.flow-card,
.table-card,
.warning-banner,
.surface-card,
.status-card,
.workflow-step,
.section-cta,
.footer-grid,
.stat-strip > div {
  --surface-filter: none;
  --reveal-filter: blur(8px);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-distance)) scale(0.985);
  filter: var(--reveal-filter, blur(8px));
  transition:
    opacity 680ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 680ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: var(--surface-filter, none);
}

.hero-panel.is-visible .terminal-line {
  animation: terminal-rise 620ms cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

.hero-panel.is-visible .terminal-line:nth-child(1) {
  animation-delay: 120ms;
}

.hero-panel.is-visible .terminal-line:nth-child(2) {
  animation-delay: 200ms;
}

.hero-panel.is-visible .terminal-line:nth-child(3) {
  animation-delay: 280ms;
}

.hero-panel.is-visible .terminal-line:nth-child(4) {
  animation-delay: 360ms;
}

.hero-panel.is-visible .terminal-line:nth-child(5) {
  animation-delay: 440ms;
}

.hero-panel.is-visible .terminal-line:nth-child(6) {
  animation-delay: 520ms;
}

@keyframes cursor-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@keyframes terminal-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-panel.is-visible .terminal-line,
  .terminal-cursor {
    animation: none;
  }

  .hero-copy,
  .hero-panel,
  .page-intro-card,
  .toc-card,
  .cta-panel,
  .detail-card,
  .feature-card,
  .flow-card,
  .table-card,
  .warning-banner,
  .surface-card,
  .status-card,
  .workflow-step,
  .section-cta,
  .footer-grid,
  .stat-strip > div,
  .terminal-window {
    filter: var(--surface-filter, none);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .detail-layout,
  .capabilities-grid,
  .three-up,
  .flow-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .two-up,
  .stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-panel,
  .section-cta {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    backdrop-filter: blur(10px);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: rgba(255, 251, 244, 0.95);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
  }

  .hero,
  .page-hero {
    padding-top: 3.5rem;
  }

  .hero-copy,
  .hero-panel,
  .page-intro-card,
  .feature-card,
  .workflow-step,
  .cta-panel,
  .table-card,
  .toc-card,
  .warning-banner,
  .detail-card {
    padding: 1.15rem;
  }

  .warning-banner {
    grid-template-columns: 1fr;
  }

  .two-up,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-asset-card {
    min-height: 10.4rem;
    width: min(100%, 15rem);
  }

  .hero-app-icon {
    width: min(9.6rem, 88%);
  }

  .workflow-step {
    grid-template-columns: 1fr;
  }

  .step-index {
    width: 2.8rem;
    height: 2.8rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100vw - 1rem, 100%);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 14vw, 3.2rem);
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .terminal-command {
    min-width: 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  th,
  td {
    padding-inline: 0.65rem;
  }
}
