:root {
  --bg: #f6efe4;
  --surface: rgba(255, 251, 244, 0.78);
  --surface-strong: #fff8ee;
  --text: #1c1b18;
  --muted: #5e5a53;
  --line: rgba(28, 27, 24, 0.12);
  --accent: #0e7a64;
  --accent-deep: #0a5948;
  --accent-warm: #d86a3f;
  --accent-gold: #d6a327;
  --shadow: 0 24px 60px rgba(51, 39, 18, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max-width: 1180px;
  --docs-max-width: 1620px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 106, 63, 0.18), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(14, 122, 100, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f3eb 0%, #f1e7d8 100%);
  font-family: "Space Grotesk", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(28, 27, 24, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 27, 24, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 85%);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  position: relative;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.site-header,
.site-footer,
.hero,
.proof-strip,
.feature-card,
.workflow-steps article,
.comparison-card,
.launch-card,
.panel-note {
  backdrop-filter: blur(14px);
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.82);
  box-shadow: 0 16px 40px rgba(39, 33, 24, 0.08);
}

.brand {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: 2rem 0 1rem;
}

.hero-copy,
.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -5rem;
  top: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 163, 39, 0.32), transparent 70%);
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  align-content: start;
  background:
    linear-gradient(160deg, rgba(14, 122, 100, 0.12), rgba(255, 248, 238, 0.88) 45%),
    var(--surface);
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-deep);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1,
h2 {
  font-family: "Fraunces", serif;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 9vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.feature-card p,
.workflow-steps p,
.comparison-card li,
.launch-card p,
.panel-note p,
.site-footer p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 58ch;
  margin: 1.2rem 0 1.6rem;
  font-size: 1.05rem;
}

.hero-actions,
.launch-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--accent);
  color: #f6fff8;
}

.button-primary:hover {
  background: var(--accent-deep);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.52);
}

.hero-points {
  display: grid;
  gap: 0.55rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
}

.metric-card,
.panel-note,
.feature-card,
.workflow-steps article,
.comparison-card,
.launch-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.86);
}

.metric-card {
  display: grid;
  gap: 0.2rem;
  min-height: 10rem;
  padding: 1.25rem;
}

.metric-card strong {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.05em;
}

.metric-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.metric-note {
  align-self: end;
  color: var(--muted);
  font-size: 0.95rem;
}

.metric-income {
  background: linear-gradient(180deg, rgba(14, 122, 100, 0.14), rgba(255, 252, 246, 0.92));
}

.metric-outflow {
  background: linear-gradient(180deg, rgba(216, 106, 63, 0.14), rgba(255, 252, 246, 0.92));
}

.metric-leftover {
  background: linear-gradient(180deg, rgba(214, 163, 39, 0.16), rgba(255, 252, 246, 0.92));
}

.install-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid rgba(28, 27, 24, 0.18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(25, 30, 28, 0.98), rgba(18, 23, 21, 0.96));
  color: #eef8f3;
  box-shadow: 0 24px 50px rgba(17, 20, 19, 0.24);
}

.install-card-header,
.install-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.install-card-header p,
.install-card-footer span,
.install-card-footer a {
  margin: 0;
  color: rgba(238, 248, 243, 0.82);
  font-size: 0.92rem;
}

.install-card-footer a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.install-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.install-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
}

.install-dots span:nth-child(1) {
  background: #ff7a59;
}

.install-dots span:nth-child(2) {
  background: #f0c15a;
}

.install-dots span:nth-child(3) {
  background: #46c38b;
}

.install-terminal {
  margin: 0;
  padding: 1rem;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(250, 255, 252, 0.04);
  color: #d8f2e6;
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
  font-size: 0.9rem;
  line-height: 1.7;
}

.install-terminal code {
  white-space: pre;
}

.terminal-prompt {
  color: #72d7a6;
  font-weight: 700;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(114, 215, 166, 0.24);
  border-radius: 999px;
  background: rgba(114, 215, 166, 0.09);
  color: #d8f2e6;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-badge::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #46c38b;
  box-shadow: 0 0 0 6px rgba(70, 195, 139, 0.12);
}

.panel-note {
  padding: 1rem 1.25rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 4rem;
}

.proof-strip div {
  padding: 0.95rem 1rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.7);
  color: var(--muted);
}

.section-grid,
.workflow,
.why,
.faq,
.launch {
  margin-top: 5rem;
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

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

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

.app-slider {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 244, 0.78);
  box-shadow: var(--shadow);
}

.app-slider-stage {
  position: relative;
  min-height: 0;
}

.app-slide {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 1rem;
  align-items: stretch;
}

.app-slide[hidden] {
  display: none;
}

.app-slide-copy,
.app-slide-figure {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.9);
}

.app-slide-copy {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top right, rgba(14, 122, 100, 0.12), transparent 42%),
    rgba(255, 252, 246, 0.9);
}

.app-slide-copy h3 {
  margin-top: 0.3rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.app-slide-copy p:last-child {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

.app-slide-kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-deep);
}

.app-slide-figure {
  overflow: hidden;
  padding: 0.65rem;
  background: linear-gradient(180deg, rgba(14, 122, 100, 0.08), rgba(255, 252, 246, 0.94));
}

.app-slide-figure a {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
}

.app-slide-figure a::after {
  content: "Open full size";
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(17, 20, 19, 0.72);
  color: #fffdf8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.app-slide-figure a:hover::after,
.app-slide-figure a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.app-slide-figure a:focus-visible {
  outline: 3px solid rgba(14, 122, 100, 0.34);
  outline-offset: 4px;
}

.app-slide-figure img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(17, 20, 19, 0.14);
}

.app-slider-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.app-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-slider-button,
.app-slider-pill {
  border: 1px solid var(--line);
  background: rgba(255, 252, 246, 0.86);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.app-slider-button:hover,
.app-slider-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 122, 100, 0.26);
  color: var(--text);
}

.app-slider-button {
  min-height: 2.7rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.app-slider-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-slider-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.app-slider-pill {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}

.app-slider-pill.is-active {
  border-color: rgba(14, 122, 100, 0.28);
  background: linear-gradient(180deg, rgba(14, 122, 100, 0.16), rgba(255, 252, 246, 0.96));
  color: var(--text);
}

.app-sections-note {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(214, 163, 39, 0.12), transparent 38%),
    rgba(255, 252, 246, 0.88);
}

.app-sections-note h3 {
  margin-top: 0.35rem;
  font-size: 1.15rem;
}

.app-sections-note p:last-child {
  margin-top: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card {
  grid-column: span 4;
  padding: 1.5rem;
}

.feature-card-large {
  grid-column: span 8;
  background:
    radial-gradient(circle at top right, rgba(14, 122, 100, 0.12), transparent 35%),
    rgba(255, 252, 246, 0.9);
}

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

.workflow-steps article {
  padding: 1.35rem;
}

.workflow-steps span {
  display: inline-flex;
  width: 2.4rem;
  height: 2.4rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-deep);
  color: #f4fff9;
  font-weight: 700;
  margin-bottom: 1rem;
}

.flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.6rem;
}

.flow-node {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.88);
  box-shadow: 0 16px 36px rgba(39, 33, 24, 0.08);
}

.flow-node h3 {
  margin-top: 0.45rem;
  font-size: 1.05rem;
}

.flow-node p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.flow-node-primary {
  background: linear-gradient(180deg, rgba(14, 122, 100, 0.14), rgba(255, 252, 246, 0.92));
}

.flow-node-accent {
  background: linear-gradient(180deg, rgba(214, 163, 39, 0.16), rgba(255, 252, 246, 0.92));
}

.flow-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(28, 27, 24, 0.08);
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-connector span {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 122, 100, 0.45), rgba(216, 106, 63, 0.45));
}

.flow-connector span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(216, 106, 63, 0.65);
  border-right: 2px solid rgba(216, 106, 63, 0.65);
  transform: translateY(-50%) rotate(45deg);
}

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

.comparison-card {
  padding: 1.5rem;
}

.comparison-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.comparison-card li + li {
  margin-top: 0.75rem;
}

.comparison-card-muted {
  background: rgba(255, 250, 244, 0.75);
}

.comparison-card-strong {
  background:
    linear-gradient(180deg, rgba(14, 122, 100, 0.12), rgba(255, 252, 246, 0.9));
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.86);
  box-shadow: 0 16px 36px rgba(39, 33, 24, 0.08);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 3.75rem 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-deep);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  color: var(--muted);
  line-height: 1.65;
}

.launch-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 1.75rem;
  background:
    linear-gradient(145deg, rgba(28, 27, 24, 0.96), rgba(43, 58, 44, 0.96));
  color: #f8f3eb;
}

.launch-card p,
.launch-card .eyebrow,
.launch-note {
  color: rgba(248, 243, 235, 0.78);
}

.launch-note {
  margin: 0;
  max-width: 26rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 5rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.docs-page .page-shell {
  width: min(calc(100% - 1.5rem), var(--docs-max-width));
}

.docs-main {
  margin-top: 1.5rem;
}

.docs-intro {
  padding: 2.25rem 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(14, 122, 100, 0.14), transparent 28%),
    radial-gradient(circle at left center, rgba(216, 106, 63, 0.12), transparent 22%),
    rgba(255, 251, 244, 0.82);
  box-shadow: var(--shadow);
}

.docs-intro .hero-text {
  max-width: 70ch;
}

.docs-intro h1 {
  max-width: 15ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.docs-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.docs-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1.75rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 6.5rem;
  display: grid;
  gap: 1rem;
  align-self: start;
  max-height: calc(100vh - 7.5rem);
  overflow-y: auto;
  padding-right: 0.2rem;
}

.docs-sidebar-card,
.docs-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 246, 0.88);
  box-shadow: 0 18px 40px rgba(39, 33, 24, 0.08);
}

.docs-sidebar-card {
  padding: 1.25rem;
}

.docs-sidebar-card-secondary {
  background:
    radial-gradient(circle at top right, rgba(214, 163, 39, 0.12), transparent 40%),
    rgba(255, 252, 246, 0.9);
}

.docs-toc {
  display: grid;
  gap: 0.3rem;
}

.docs-toc-group {
  margin: 0.65rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.docs-toc-group:first-child {
  margin-top: 0;
}

.docs-toc a {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.docs-toc a:hover {
  border-color: rgba(14, 122, 100, 0.16);
  background: rgba(14, 122, 100, 0.08);
  color: var(--text);
  transform: translateX(2px);
}

.docs-content {
  display: grid;
  gap: 1.25rem;
}

.docs-sidebar-actions {
  display: grid;
  gap: 0.75rem;
}

.docs-sidebar-action {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(28, 27, 24, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.docs-sidebar-action:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 122, 100, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.docs-sidebar-action strong {
  font-size: 0.95rem;
}

.docs-sidebar-action span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.docs-sidebar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.docs-sidebar-links a,
.docs-anchor {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(28, 27, 24, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.docs-sidebar-links a:hover,
.docs-anchor:hover {
  transform: translateY(-1px);
  border-color: rgba(14, 122, 100, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
}

.docs-section {
  padding: 1.65rem 1.8rem;
  scroll-margin-top: 7rem;
  background:
    radial-gradient(circle at top right, rgba(14, 122, 100, 0.06), transparent 34%),
    rgba(255, 252, 246, 0.92);
}

.docs-section:target {
  border-color: rgba(14, 122, 100, 0.26);
  box-shadow: 0 22px 46px rgba(14, 122, 100, 0.08);
}

.docs-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.docs-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

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

.docs-numbered {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.docs-numbered li + li {
  margin-top: 0.65rem;
}

@media (max-width: 1080px) {
  .hero,
  .launch-card,
  .comparison-grid,
  .docs-layout {
    grid-template-columns: 1fr;
  }

  .app-slide {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-large {
    grid-column: span 6;
  }

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

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

  .flow-connector {
    min-height: 28px;
  }

  .flow-connector span {
    width: 2px;
    height: 100%;
    min-height: 28px;
    background: linear-gradient(180deg, rgba(14, 122, 100, 0.45), rgba(216, 106, 63, 0.45));
  }

  .flow-connector span::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

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

  .docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
    padding-top: 0.6rem;
  }

  .site-header,
  .site-footer {
    border-radius: 24px;
  }

  .site-header,
  .site-footer,
  .hero-actions,
  .launch-actions,
  .install-card-header,
  .install-card-footer,
  .app-slider-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .hero-copy,
  .hero-panel,
  .launch-card,
  .comparison-card,
  .feature-card,
  .workflow-steps article,
  .faq-item summary,
  .faq-item p {
    padding: 1.25rem;
  }

  .hero-panel,
  .proof-strip,
  .feature-grid,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .app-slider {
    padding: 0.85rem;
  }

  .app-slide-figure img {
    min-height: 220px;
  }

  .feature-card,
  .feature-card-large {
    grid-column: span 1;
  }

  .proof-strip {
    margin-bottom: 3rem;
  }

  .docs-page .page-shell {
    width: min(calc(100% - 1rem), var(--docs-max-width));
  }

  .docs-intro,
  .docs-section,
  .docs-sidebar-card {
    padding: 1.15rem;
  }

  .button {
    width: 100%;
  }

  .docs-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .docs-anchor {
    width: 100%;
    justify-content: center;
  }

  .docs-sidebar-links {
    flex-direction: column;
  }

  .app-slider-controls,
  .app-slider-nav {
    width: 100%;
  }

  .app-slider-controls {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-panel,
  .proof-strip div,
  .feature-card,
  .workflow-steps article,
  .comparison-card,
  .launch-card {
    animation: rise-in 700ms ease both;
  }

  .hero-panel {
    animation-delay: 120ms;
  }

  .proof-strip div:nth-child(2) {
    animation-delay: 100ms;
  }

  .proof-strip div:nth-child(3) {
    animation-delay: 180ms;
  }

  .proof-strip div:nth-child(4) {
    animation-delay: 260ms;
  }

  .proof-strip div:nth-child(5) {
    animation-delay: 340ms;
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
