:root {
  --bg: #07070a;
  --panel: #111116;
  --panel-soft: #17171e;
  --panel-warm: #15120c;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f6f4fb;
  --body: #cac7d2;
  --muted: #928e9e;
  --purple: #9b73ff;
  --purple-soft: rgba(155, 115, 255, 0.13);
  --green: #77d3a2;
  --yellow: #f3c96c;
  --gold-deep: #e0a52a;
  --red: #ff8585;
  --white: #fafafa;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Fira Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

code {
  font-family: "Fira Mono", monospace;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 6px;
  color: #241b06;
  background: var(--yellow);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

.section-shell {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
}

#nav {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 6, 10, 0.76);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.nav-inner {
  width: min(100%, 1480px);
  min-height: 64px;
  margin: 0 auto;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left,
.nav-right,
.nav-links {
  display: flex;
  align-items: center;
}

.nav-left {
  gap: 40px;
}

.nav-links {
  gap: 24px;
}

.nav-right {
  gap: 14px;
}

.logo {
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  text-decoration: none;
}

.nav-logo,
.footer-logo {
  display: block;
  width: 104px;
}

.nav-logo img,
.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-links a,
.nav-docs-desktop {
  position: relative;
  padding-bottom: 3px;
  color: #f5f5f5;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
}

.nav-links a::after,
.nav-docs-desktop::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-docs-desktop:hover::after,
.nav-docs-desktop:focus-visible::after {
  transform: scaleX(1);
}

.btn {
  min-height: 46px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.24px;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}

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

.btn:focus-visible,
.text-link:focus-visible,
.copy-prompt:focus-visible,
.nav-links a:focus-visible,
.nav-docs-desktop:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-white {
  color: #473810;
  background: #fff;
}

.btn-sm {
  min-height: 30px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-primary {
  color: #241b06;
  background: var(--yellow);
  box-shadow: 0 16px 40px rgba(224, 165, 42, 0.16);
}

.btn-primary:hover {
  background: #ffe08f;
}

.btn-secondary {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta-mobile {
  display: none;
}

.vdiv {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.22);
}

.powered {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.powered .pb {
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  line-height: 18px;
}

.lysto-logo {
  height: 14px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  filter: saturate(0.5) brightness(0.92);
}

.lysto-logo img {
  display: block;
}

.lysto-logo .l-typo {
  width: 38px;
  height: 14px;
}

.lysto-logo .l-mark {
  width: 12px;
  height: 12px;
}

.hero {
  min-height: 730px;
  padding: 102px 0 92px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 78px;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 64px;
  right: 0;
  left: 0;
  height: 650px;
  pointer-events: none;
  background:
    radial-gradient(720px 380px at 74% 28%, rgba(155, 115, 255, 0.14), transparent 72%),
    radial-gradient(650px 420px at 14% 24%, rgba(224, 165, 42, 0.1), transparent 72%);
}

.eyebrow-pill {
  width: fit-content;
  margin-bottom: 26px;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(119, 211, 162, 0.26);
  border-radius: 999px;
  color: #b8ebcf;
  background: rgba(119, 211, 162, 0.07);
  font-family: "Fira Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(119, 211, 162, 0.75);
}

.hero h1,
.section-heading h2,
.control-copy h2,
.scope-copy h2,
.cta-inner h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.052em;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(56px, 6vw, 86px);
  line-height: 0.99;
}

.hero h1 span {
  display: block;
  color: var(--yellow);
}

.hero-lead {
  max-width: 585px;
  margin: 29px 0 0;
  color: var(--body);
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions,
.cta-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 5px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.text-link:hover {
  text-decoration-color: var(--yellow);
}

.trial-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-family: "Fira Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.3px;
}

.proof-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(14, 14, 19, 0.93);
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(155, 115, 255, 0.04),
    0 0 70px rgba(155, 115, 255, 0.07);
}

.window-bar {
  min-height: 47px;
  padding: 0 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  font-family: "Fira Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.8px;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
}

.window-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 4px;
  color: #211907;
  background: var(--yellow);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.run-summary {
  padding: 25px 25px 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.run-summary div {
  display: grid;
  gap: 8px;
}

.run-kicker,
.section-index {
  color: var(--yellow);
  font-family: "Fira Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.run-summary strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
}

.run-status {
  padding: 6px 9px;
  border: 1px solid rgba(119, 211, 162, 0.24);
  border-radius: 5px;
  color: var(--green);
  background: rgba(119, 211, 162, 0.07);
  font-family: "Fira Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.run-steps {
  margin: 0;
  padding: 9px 25px;
  list-style: none;
}

.run-steps li {
  min-height: 72px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.run-steps li:last-child {
  border-bottom: 0;
}

.run-steps .active-step {
  margin: 0 -12px;
  padding: 0 12px;
  border-radius: 6px;
  background: rgba(243, 201, 108, 0.055);
}

.step-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: "Fira Mono", monospace;
  font-size: 10px;
}

.step-icon.complete {
  color: var(--green);
  background: rgba(119, 211, 162, 0.11);
}

.step-icon.live {
  color: var(--yellow);
  background: rgba(243, 201, 108, 0.12);
}

.run-steps li > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.run-steps strong {
  font-size: 13px;
  font-weight: 500;
}

.run-steps small {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.run-steps code {
  color: #d9c1ff;
}

.step-time {
  color: #777382;
  font-family: "Fira Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.proof-footer {
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.018);
  font-size: 10px;
}

.legend-dot {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
}

.legend-dot.green {
  background: var(--green);
}

.legend-dot.yellow {
  background: var(--yellow);
}

.trust-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.trust-grid {
  min-height: 106px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
  padding: 25px 28px;
  display: grid;
  align-content: center;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 12px;
}

.problem-section,
.control-section,
.prompts-section {
  padding-top: 132px;
  padding-bottom: 132px;
}

.section-heading {
  margin-bottom: 54px;
}

.section-heading h2,
.control-copy h2,
.scope-copy h2 {
  margin-top: 16px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.04;
}

.section-heading > p,
.control-copy > p,
.scope-copy > p {
  color: var(--body);
  font-size: 17px;
  line-height: 1.68;
}

.narrow-heading {
  max-width: 780px;
}

.narrow-heading > p {
  max-width: 690px;
  margin: 23px 0 0;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: 70px;
}

.split-heading > p {
  margin: 0 0 7px;
}

.failure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.failure-card {
  min-height: 310px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}

.failure-card:last-child {
  border-right: 0;
}

.failure-code {
  color: #777382;
  font-family: "Fira Mono", monospace;
  font-size: 9px;
  letter-spacing: 1.2px;
}

.failure-icon {
  margin: 35px 0 38px;
  color: var(--yellow);
  font-family: "Fira Mono", monospace;
  font-size: 38px;
  font-weight: 500;
}

.failure-card h3,
.workflow-copy h3,
.scope-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
}

.failure-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.failure-card code {
  color: #d9c1ff;
}

.workflow-section {
  padding: 132px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.018)),
    radial-gradient(800px 450px at 86% 45%, rgba(155, 115, 255, 0.07), transparent 75%);
}

.workflow-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
  list-style: none;
}

.workflow-list li {
  min-height: 138px;
  padding: 25px 4px;
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.18s ease;
}

.workflow-list li:hover {
  background: rgba(255, 255, 255, 0.018);
}

.workflow-number {
  color: #777382;
  font-family: "Fira Mono", monospace;
  font-size: 12px;
}

.workflow-copy {
  max-width: 760px;
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 32px;
}

.workflow-copy h3 {
  font-size: 25px;
}

.workflow-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.workflow-badge {
  padding: 7px 9px;
  border: 1px solid rgba(155, 115, 255, 0.26);
  border-radius: 4px;
  color: #c9b5ff;
  background: rgba(155, 115, 255, 0.06);
  font-family: "Fira Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.workflow-badge.safe {
  border-color: rgba(119, 211, 162, 0.25);
  color: var(--green);
  background: rgba(119, 211, 162, 0.05);
}

.workflow-badge.warning {
  border-color: rgba(243, 201, 108, 0.26);
  color: var(--yellow);
  background: rgba(243, 201, 108, 0.05);
}

.control-panel {
  padding: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(500px, 1.15fr);
  gap: 88px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background:
    radial-gradient(480px 320px at 10% 90%, rgba(224, 165, 42, 0.08), transparent 70%),
    var(--panel);
}

.control-copy h2 {
  font-size: clamp(40px, 4.2vw, 58px);
}

.control-copy > p {
  margin: 24px 0 30px;
}

.control-stack {
  border-top: 1px solid var(--border-strong);
}

.control-row {
  min-height: 92px;
  padding: 15px 12px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.control-row.featured {
  margin: 0 -12px;
  padding-right: 24px;
  padding-left: 24px;
  background: rgba(243, 201, 108, 0.045);
}

.control-symbol {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--yellow);
  font-family: "Fira Mono", monospace;
}

.control-row > div {
  display: grid;
  gap: 7px;
}

.control-row strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 16px;
}

.control-row small {
  color: var(--muted);
  font-size: 12px;
}

.control-state {
  color: #777382;
  font-family: "Fira Mono", monospace;
  font-size: 8px;
  letter-spacing: 1px;
}

.scope-section {
  padding: 132px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel-warm);
}

.scope-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(600px, 1.24fr);
  gap: 90px;
}

.scope-copy > p {
  margin: 24px 0 30px;
}

.scope-copy code {
  color: var(--yellow);
}

.compatibility {
  max-width: 370px;
  display: grid;
  grid-template-columns: 1fr auto;
  border-top: 1px solid var(--border-strong);
}

.compatibility span,
.compatibility strong {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-family: "Fira Mono", monospace;
  font-size: 10px;
}

.compatibility span {
  color: var(--muted);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.compatibility strong {
  color: var(--yellow);
  font-weight: 500;
}

.scope-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.scope-card {
  padding: 31px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: rgba(8, 8, 11, 0.44);
}

.scope-card h3 {
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.scope-card.supported h3 span {
  color: var(--green);
}

.scope-card.limited h3 span {
  color: var(--yellow);
}

.scope-card ul {
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 15px;
  list-style: none;
}

.scope-card li {
  position: relative;
  padding-left: 16px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.5;
}

.scope-card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.scope-card.limited li::before {
  background: #777382;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.prompt-card {
  min-height: 290px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
}

.prompt-card.featured {
  border-color: rgba(243, 201, 108, 0.32);
  background:
    linear-gradient(rgba(243, 201, 108, 0.035), rgba(243, 201, 108, 0.035)),
    var(--panel);
}

.prompt-head {
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  font-family: "Fira Mono", monospace;
}

.prompt-head span {
  color: var(--yellow);
  font-size: 10px;
  letter-spacing: 1.2px;
}

.prompt-head small {
  color: #777382;
  font-size: 9px;
}

.prompt-card p {
  margin: 27px 0 25px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.72;
}

.copy-prompt {
  width: fit-content;
  margin-top: auto;
  padding: 0 0 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--text);
  background: transparent;
  font-family: "Fira Mono", monospace;
  font-size: 10px;
  cursor: pointer;
}

.copy-prompt:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.final-cta {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: grid;
  place-items: center;
  border-top: 1px solid var(--border);
  background: #09080c;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 480px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 48%, rgba(224, 165, 42, 0.16), transparent 50%),
    radial-gradient(circle at 68% 45%, rgba(155, 115, 255, 0.17), transparent 52%);
  filter: blur(10px);
  transform: translate(-50%, -50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  text-align: center;
}

.cta-inner h2 {
  max-width: 930px;
  margin: 18px auto 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
}

.cta-inner > p:not(.trial-note) {
  max-width: 620px;
  margin: 24px auto 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
}

.cta-actions {
  justify-content: center;
}

.site-footer {
  padding: 52px 0 32px;
  border-top: 1px solid var(--border);
  background: #060609;
}

.foot-inner {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding: 0 48px;
}

.foot-row,
.foot-legal,
.foot-cta,
.foot-legal .left {
  display: flex;
  align-items: center;
}

.foot-row,
.foot-legal {
  justify-content: space-between;
}

.foot-cta,
.foot-legal .left {
  gap: 17px;
}

.foot-cta > a:not(.powered),
.foot-legal a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.foot-cta > a:hover,
.foot-legal a:hover {
  color: var(--text);
}

.foot-div {
  height: 1px;
  margin: 32px 0;
  background: var(--border);
}

.foot-legal {
  color: #6e6a78;
  font-size: 11px;
}

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

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

  .proof-window {
    width: min(100%, 760px);
  }

  .failure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .failure-card:nth-child(2) {
    border-right: 0;
  }

  .failure-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .control-panel,
  .scope-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .scope-grid {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .nav-inner,
  .foot-inner {
    padding-right: 28px;
    padding-left: 28px;
  }

  .nav-links,
  .nav-docs-desktop,
  .nav-right .btn,
  .nav-right .vdiv,
  .nav-right .powered {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-grid > div,
  .trust-grid > div:first-child,
  .trust-grid > div:last-child {
    padding: 22px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .trust-grid > div:nth-child(even) {
    border-right: 0;
  }

  .trust-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .workflow-copy {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .prompt-card {
    min-height: 245px;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 36px, var(--max));
  }

  .nav-inner,
  .foot-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-lead {
    font-size: 17px;
  }

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

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .btn {
    width: 100%;
  }

  .nav-cta-mobile {
    width: auto;
  }

  .window-meta,
  .step-time {
    display: none;
  }

  .run-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .run-steps li {
    grid-template-columns: 28px 1fr;
  }

  .run-steps small {
    white-space: normal;
  }

  .proof-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .problem-section,
  .workflow-section,
  .control-section,
  .scope-section,
  .prompts-section {
    padding-top: 92px;
    padding-bottom: 92px;
  }

  .failure-grid,
  .scope-columns {
    grid-template-columns: 1fr;
  }

  .failure-card,
  .failure-card:nth-child(2) {
    min-height: 250px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .failure-card:last-child {
    border-bottom: 0;
  }

  .failure-icon {
    margin-top: 25px;
    margin-bottom: 28px;
  }

  .workflow-list li {
    grid-template-columns: 40px 1fr;
    align-items: start;
  }

  .workflow-badge {
    width: fit-content;
    margin-top: 2px;
    grid-column: 2;
  }

  .control-panel {
    padding: 34px 24px;
  }

  .control-row {
    grid-template-columns: 34px 1fr;
  }

  .control-state {
    display: none;
  }

  .scope-grid {
    gap: 44px;
  }

  .cta-inner h2 {
    font-size: clamp(42px, 12vw, 62px);
  }

  .foot-row,
  .foot-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }

  .foot-cta {
    flex-wrap: wrap;
  }
}

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

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