:root {
  --bg: #070b0f;
  --bg-deep: #05080b;
  --surface: #0b1117;
  --surface-2: #0d151c;
  --surface-3: #111b23;
  --line: #24323d;
  --line-soft: #17232c;
  --text: #f4f7f8;
  --muted: #91a2ae;
  --muted-2: #60727f;
  --cyan: #45f0dc;
  --cyan-2: #16cdbd;
  --blue: #59a8ff;
  --amber: #f4b84a;
  --violet: #a78bfa;
  --green: #5ce09a;
  --danger: #ff7d86;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius: 10px;
  --radius-lg: 16px;
  --shell: 1180px;
  --narrow: 980px;
  --font-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 6%, rgba(69, 240, 220, 0.055), transparent 27rem),
    var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 6px;
  color: #03100e;
  background: var(--cyan);
  font-weight: 800;
}

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

.shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.shell.narrow {
  width: min(calc(100% - 48px), var(--narrow));
}

.section {
  position: relative;
  padding: 120px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 66px;
  border-bottom: 1px solid rgba(145, 162, 174, 0.16);
  background: rgba(7, 11, 15, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 11, 15, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.nav-shell,
.footer-shell {
  display: flex;
  align-items: center;
}

.nav-shell {
  min-height: 66px;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(69, 240, 220, 0.28);
  border-radius: 7px;
  color: var(--cyan);
  background: rgba(69, 240, 220, 0.1);
  box-shadow: 0 0 24px rgba(69, 240, 220, 0.12);
}

.brand-mark svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav a,
.site-footer nav a,
.install-links a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover,
.install-links a:hover {
  color: var(--cyan);
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: #03110f;
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(69,240,220,.12), 0 12px 32px rgba(69,240,220,.13);
}

.button-primary:hover {
  background: #71f5e5;
  box-shadow: 0 0 0 1px rgba(69,240,220,.18), 0 15px 40px rgba(69,240,220,.18);
}

.button-quiet {
  color: var(--text);
  border-color: var(--line);
  background: rgba(13, 21, 28, 0.6);
}

.button-quiet:hover {
  border-color: #3b5262;
  background: var(--surface-2);
}

.nav-github svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.hero {
  min-height: calc(100vh - 66px);
  padding-top: 105px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 60px;
  left: calc(50% + 170px);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 240, 220, 0.08), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(54px, 8vw, 115px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow,
.overline {
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #b9c7cf;
  background: rgba(13, 21, 28, 0.76);
  transition: border-color 160ms ease;
}

.eyebrow:hover {
  border-color: rgba(69,240,220,.5);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1,
.section-heading h2,
.install-card h2 {
  margin: 0;
  font-weight: 480;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 650px;
  font-size: clamp(3.55rem, 6.5vw, 6.7rem);
}

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

.hero-lede {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 24px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  list-style: none;
}

.hero-meta li::before {
  content: "◆";
  margin-right: 8px;
  color: var(--cyan-2);
  font-size: 0.5rem;
}

.product-frame {
  position: relative;
  z-index: 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #33444f;
  border-radius: 12px;
  background: #081017;
  box-shadow: var(--shadow), 0 0 0 1px rgba(69,240,220,.03);
  transform: perspective(1100px) rotateY(-1.5deg) rotateX(0.5deg);
  transform-origin: center left;
}

.product-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255,255,255,.035), transparent 28%);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 37px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.56rem;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #364550;
}

.window-dots i:first-child { background: #c66767; }
.window-dots i:nth-child(2) { background: #d1a14e; }
.window-dots i:nth-child(3) { background: #5db77e; }

.live-state {
  justify-self: end;
  color: var(--cyan);
}

.live-state i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: currentColor;
}

.app-shell {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  min-height: 390px;
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 13px 0;
  border-right: 1px solid var(--line-soft);
  background: #070d12;
}

.mock-logo,
.mock-avatar {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 5px;
  background: var(--cyan);
  color: #03110f;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  font-weight: 900;
}

.mock-sidebar i {
  width: 13px;
  height: 3px;
  border-radius: 3px;
  background: #26343e;
}

.mock-sidebar i.active {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69,240,220,.4);
}

.mock-avatar {
  width: 18px;
  height: 18px;
  margin-top: auto;
  border-radius: 50%;
  background: #6e5bc7;
}

.mock-main {
  min-width: 0;
  padding: 17px;
}

.mock-topline,
.mock-status-row,
.mock-column header,
.mock-card footer,
.review-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-topline strong {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
}

.mock-kicker,
.mock-card small,
.mock-column header,
.surface-row small {
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.47rem;
  letter-spacing: 0.09em;
}

.mock-topline button {
  min-height: 25px;
  padding: 0 9px;
  border: 0;
  border-radius: 4px;
  color: #02110f;
  background: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 900;
}

.mock-status-row {
  margin: 14px 0 12px;
  padding: 7px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--muted);
  background: #091016;
  font-family: var(--font-mono);
  font-size: 0.47rem;
}

.mock-status-row i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
}

.mock-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.mock-column {
  min-width: 0;
  min-height: 250px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(6, 12, 17, 0.78);
}

.mock-column header {
  margin-bottom: 8px;
  padding: 0 2px;
}

.mock-column header b {
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 500;
}

.mock-card {
  position: relative;
  min-height: 89px;
  margin-bottom: 7px;
  padding: 12px 9px 8px;
  overflow: hidden;
  border: 1px solid #25343e;
  border-radius: 5px;
  background: #0b141b;
}

.mock-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--stage);
}

.stage-todo { --stage: var(--blue); }
.stage-progress { --stage: var(--amber); }
.stage-review { --stage: var(--violet); }

.mock-card strong {
  display: block;
  min-height: 34px;
  margin-top: 7px;
  font-size: 0.64rem;
  line-height: 1.35;
}

.mock-card footer {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.45rem;
}

.mock-card footer i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.mock-card footer i.warning { background: var(--amber); }

.mock-card footer i.pulse {
  box-shadow: 0 0 0 0 rgba(92,224,154,.55);
  animation: pulse 1.8s infinite;
}

.muted-card { opacity: 0.58; }

.mock-terminal {
  margin-top: 8px;
  padding: 6px;
  border-radius: 3px;
  color: #aebcc5;
  background: #060b0e;
  font-family: var(--font-mono);
  font-size: 0.43rem;
  line-height: 1.5;
}

.mock-terminal span { color: var(--cyan); }
.mock-terminal em { color: var(--green); font-style: normal; }

.review-line {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.47rem;
}

.review-line span:first-child { color: var(--green); }
.review-line span:last-child { color: var(--danger); }

.agent-strip {
  margin-top: 96px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 10, 14, 0.6);
}

.agent-strip-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.agent-strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.agent-strip li {
  color: #728692;
  font-weight: 800;
}

.workflow-section,
.evidence-section {
  border-bottom: 1px solid var(--line-soft);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.overline {
  margin: 0 0 18px;
  color: var(--cyan);
}

.section-heading h2,
.install-card h2 {
  font-size: clamp(2.2rem, 4.8vw, 4.15rem);
  line-height: 1.04;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
  background: linear-gradient(135deg, rgba(13,21,28,.8), rgba(8,14,19,.7));
}

.workflow-grid li {
  position: relative;
  min-height: 250px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}

.workflow-grid li:last-child { border-right: 0; }

.step-number,
.card-index {
  position: absolute;
  top: 14px;
  right: 15px;
  color: #31414c;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}

.feature-icon {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 42px;
  place-items: center;
  border: 1px solid #2d4650;
  border-radius: 5px;
  color: var(--cyan);
  background: rgba(69,240,220,.035);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.workflow-grid h3,
.bento h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.workflow-grid p,
.bento p,
.evidence-grid p,
.install-card > div > p:not(.overline) {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.72;
}

.feature-section {
  padding-top: 125px;
}

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

.bento {
  position: relative;
  min-height: 230px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(13,21,28,.86), rgba(8,14,19,.72));
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.bento:hover,
.evidence-grid article:hover {
  border-color: #3b5260;
  transform: translateY(-2px);
  background-color: rgba(18, 29, 37, 0.55);
}

.bento-wide {
  grid-column: 1 / -1;
  min-height: 270px;
}

.bento .feature-icon {
  margin-bottom: 28px;
}

.audit-console {
  max-width: 700px;
  margin-top: 28px;
  padding: 12px 15px;
  border: 1px solid #30404b;
  border-radius: 5px;
  background: #060b0f;
  font-family: var(--font-mono);
  font-size: 0.59rem;
}

.audit-console div {
  display: grid;
  grid-template-columns: 70px 14px 160px 1fr;
  gap: 8px;
  padding: 4px 0;
}

.audit-console time,
.audit-console div > span:last-child {
  color: var(--muted-2);
}

.console-mark.cyan { color: var(--cyan); }
.console-mark.violet { color: var(--violet); }
.console-mark.green { color: var(--green); }

.surface-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.surface-row div {
  min-width: 0;
  padding: 16px;
  border: 1px solid #30404b;
  border-radius: 5px;
  background: #081016;
}

.surface-row > span { color: #3b505c; font-family: var(--font-mono); }
.surface-row strong { display: block; margin-top: 5px; font-size: 0.7rem; font-weight: 600; }

.evidence-section {
  padding-top: 70px;
}

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

.evidence-grid article {
  min-height: 190px;
  padding: 27px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(10, 17, 23, 0.46);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.evidence-grid strong {
  display: block;
  margin-bottom: 13px;
  font-size: 0.93rem;
}

.install-section {
  padding-top: 100px;
  padding-bottom: 110px;
}

.install-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
  gap: 70px;
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid #2c454b;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 5% 20%, rgba(69,240,220,.07), transparent 20rem),
    linear-gradient(135deg, #0c191c, #0a1218 72%);
  box-shadow: var(--shadow);
}

.install-card > div > p:not(.overline) {
  max-width: 470px;
  margin-top: 20px;
}

.install-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
  color: #b9c8d0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid #39505c;
  border-radius: 8px;
  background: #050a0d;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}

.terminal-title {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border-bottom: 1px solid #23333d;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.61rem;
}

.copy-button {
  padding: 4px 8px;
  border: 1px solid #2a3e48;
  border-radius: 4px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.58rem;
  transition: color 150ms ease, border-color 150ms ease;
}

.copy-button:hover { color: var(--cyan); border-color: rgba(69,240,220,.45); }

.terminal-card pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  color: #c6d1d7;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.75;
}

.terminal-card code span { color: var(--cyan); }
.terminal-card code em { color: var(--green); font-style: normal; }

.compatibility {
  margin: 16px 0 0;
  color: var(--muted-2);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.58rem;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-deep);
}

.footer-shell {
  min-height: 96px;
  gap: 30px;
  color: var(--muted-2);
}

.footer-shell p {
  flex: 1;
  margin: 0;
  text-align: center;
  font-size: 0.66rem;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
}

.hero h1 .hero-product {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.content-main {
  min-height: calc(100vh - 96px);
  padding: 150px 0 90px;
}

.content-shell {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.breadcrumbs a { color: var(--cyan); }

.content-hero {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.content-hero h1 {
  max-width: 820px;
  margin: 15px 0 22px;
  color: var(--text);
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.content-hero > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 58px;
  padding-top: 55px;
}

.prose h2 {
  margin: 52px 0 18px;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  margin: 32px 0 12px;
  color: var(--text);
  font-size: 1.05rem;
}

.prose p,
.prose li {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.prose p { margin: 0 0 20px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 9px; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.code-block {
  margin: 24px 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid #2b424d;
  border-radius: 8px;
  color: #d9e3e8;
  background: #050a0d;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.75;
}

.content-aside {
  align-self: start;
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 21, 27, 0.75);
}

.content-aside strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.83rem;
}

.content-aside p,
.content-aside li {
  color: var(--muted-2);
  font-size: 0.72rem;
  line-height: 1.65;
}

.content-aside ul {
  margin: 14px 0 0;
  padding-left: 17px;
}

.content-aside a { color: var(--cyan); }

.free-callout {
  margin: 35px 0;
  padding: 22px 24px;
  border: 1px solid rgba(69, 240, 220, 0.28);
  border-left: 3px solid var(--cyan);
  border-radius: 6px;
  background: rgba(69, 240, 220, 0.045);
}

.free-callout strong { color: var(--text); }
.free-callout p { margin: 5px 0 0; }

.page-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

@media (max-width: 760px) {
  .content-main { padding-top: 120px; }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .prose { min-width: 0; }
  .content-aside { position: static; }
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  padding: 10px 14px;
  border: 1px solid rgba(69,240,220,.35);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(7, 15, 19, .96);
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms cubic-bezier(.2,.8,.2,1), transform 620ms cubic-bezier(.2,.8,.2,1);
}

.js [data-reveal][data-delay="1"] { transition-delay: 90ms; }
.js [data-reveal][data-delay="2"] { transition-delay: 180ms; }
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(92,224,154,.5); }
  70% { box-shadow: 0 0 0 6px rgba(92,224,154,0); }
  100% { box-shadow: 0 0 0 0 rgba(92,224,154,0); }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero h1 {
    font-size: clamp(4rem, 11vw, 6.5rem);
  }

  .product-frame {
    width: min(100%, 760px);
    margin-inline: auto;
    transform: none;
  }

  .agent-strip { margin-top: 80px; }
  .agent-strip-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .agent-strip ul { justify-content: flex-start; }

  .install-card {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .shell,
  .shell.narrow { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 88px 0; }

  .site-nav { display: none; }
  .nav-github { min-height: 36px; padding-inline: 11px; }
  .nav-github svg { display: none; }

  .hero { padding-top: 72px; padding-bottom: 0; }
  .hero-grid { gap: 54px; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .hero-lede { font-size: 0.96rem; }
  .hero-actions .button { flex: 1 1 180px; }

  .product-frame { overflow-x: auto; }
  .app-shell { min-width: 610px; }

  .agent-strip-inner { gap: 15px; }
  .agent-strip ul { gap: 12px 18px; }

  .section-heading { margin-bottom: 38px; }
  .section-heading h2,
  .install-card h2 { font-size: clamp(2.35rem, 11vw, 3.3rem); }

  .workflow-grid,
  .bento-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid li {
    min-height: 220px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow-grid li:last-child { border-bottom: 0; }
  .bento-wide { grid-column: auto; }

  .surface-row {
    grid-template-columns: 1fr;
  }

  .surface-row > span { transform: rotate(90deg); justify-self: center; }

  .audit-console { overflow-x: auto; }
  .audit-console div { min-width: 540px; }

  .install-card {
    padding: 30px 22px;
    border-radius: 10px;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding-block: 28px;
  }

  .footer-shell p { text-align: left; }
  .site-footer nav { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .brand > span:last-child { font-size: 0.72rem; }
  .nav-github { font-size: 0.64rem; }
  .hero h1 { font-size: 3.2rem; }
  .hero-meta { flex-direction: column; gap: 7px; }
  .terminal-card pre { padding: 16px 14px; font-size: 0.61rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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