:root {
  --paper: #f4f1e8;
  --paper-strong: #ebe7dc;
  --ink: #171918;
  --muted: #5f625f;
  --line: rgba(23, 25, 24, 0.16);
  --panel-soft: rgba(255, 255, 255, 0.36);
  --panel-strong: rgba(255, 255, 255, 0.42);
  --body-glow: rgba(117, 104, 255, 0.13);
  --topbar-bg: rgba(244, 241, 232, 0.9);
  --nav-text: #4f524f;
  --button-strong-bg: #171918;
  --button-strong-hover: #303330;
  --button-strong-text: #ffffff;
  --outline-border: rgba(23, 25, 24, 0.3);
  --outline-hover: rgba(255, 255, 255, 0.42);
  --pill-border: rgba(23, 25, 24, 0.18);
  --pill-bg: rgba(255, 255, 255, 0.4);
  --lead: #555956;
  --proof-band: rgba(235, 231, 220, 0.72);
  --proof-text: #555955;
  --eyebrow: #5c4ef1;
  --night: #0b1117;
  --night-soft: #111a24;
  --night-line: rgba(255, 255, 255, 0.14);
  --violet: #6b5dee;
  --violet-hover: #5c4ef1;
  --coral: #ff6a3d;
  --green: #31d39b;
  --yellow: #f3d153;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(19, 21, 25, 0.18);
  --shell: min(1320px, calc(100vw - 48px));
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  color-scheme: light;
  font-synthesis: none;
}

:root[data-theme="dark"] {
  --paper: #0d1117;
  --paper-strong: #151b23;
  --ink: #edf1f5;
  --muted: #a9b1ba;
  --line: rgba(237, 241, 245, 0.16);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --body-glow: rgba(117, 104, 255, 0.2);
  --topbar-bg: rgba(13, 17, 23, 0.9);
  --nav-text: #c2c8d0;
  --button-strong-bg: #edf1f5;
  --button-strong-hover: #dce3eb;
  --button-strong-text: #0d1117;
  --outline-border: rgba(237, 241, 245, 0.3);
  --outline-hover: rgba(255, 255, 255, 0.07);
  --pill-border: rgba(237, 241, 245, 0.2);
  --pill-bg: rgba(255, 255, 255, 0.06);
  --lead: #b7bec7;
  --proof-band: rgba(21, 27, 35, 0.8);
  --proof-text: #b9c0c8;
  --eyebrow: #a79fff;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  top: -20vw;
  right: -12vw;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  background: radial-gradient(circle, var(--body-glow), transparent 66%);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

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

button {
  color: inherit;
}

code,
pre {
  font-family: "Geist Mono", "SFMono-Regular", Consolas, monospace;
}

::selection {
  background: rgba(117, 104, 255, 0.24);
}

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-180%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}

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

.topbar {
  position: relative;
  z-index: 20;
  border-top: 5px solid var(--coral);
  border-bottom: 1px solid var(--line);
  background: var(--topbar-bg);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 84px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 11px;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.brand img {
  flex: 0 0 auto;
}

.topnav,
.topbar-actions,
.footer-links,
.cta-row {
  display: flex;
  align-items: center;
}

.topnav {
  gap: 30px;
  color: var(--nav-text);
  font-size: 0.9rem;
}

.topnav a,
.text-link,
.footer-links a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.topnav a:hover,
.text-link:hover,
.footer-links a:hover {
  text-decoration-line: underline;
}

.topbar-actions {
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.9rem;
}

.theme-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--outline-border);
  background: var(--panel-strong);
}

.theme-icon {
  grid-area: 1 / 1;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-icon-sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root[data-theme="dark"] .theme-icon-sun {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  border-radius: 9px;
  font-size: 0.86rem;
}

.button-dark {
  background: var(--button-strong-bg);
  color: var(--button-strong-text);
}

.button-dark:hover {
  background: var(--button-strong-hover);
}

.button-accent {
  background: var(--violet);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(92, 78, 241, 0.22);
}

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

.button-outline {
  border-color: var(--outline-border);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--outline-hover);
}

.button-light {
  background: var(--white);
  color: var(--night);
}

.button-light:hover {
  background: #eef0f3;
}

.button-dark-outline {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--white);
}

.button-dark-outline:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(580px, 1.18fr);
  align-items: center;
  min-height: 760px;
  padding-block: 92px 100px;
  gap: clamp(52px, 7vw, 108px);
}

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

.pill,
.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: var(--pill-bg);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin: 30px 0 28px;
  font-size: clamp(3.5rem, 5.8vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--lead);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.55;
}

.cta-row {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 70px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.hero-proof div {
  min-width: 0;
  padding: 20px 15px 0 0;
}

.hero-proof div + div {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.hero-proof dt {
  overflow: hidden;
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
}

.hero-proof div:last-child dt {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.hero-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 42px;
}

.product-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid #303a46;
  border-radius: var(--radius-large);
  background: #111318;
  box-shadow: var(--shadow);
}

.product-frame-hero {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center right;
}

.frame-bar,
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #161b22;
}

.frame-bar {
  height: 44px;
  padding-inline: 15px;
}

.frame-bar span,
.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555e69;
}

.frame-bar span:first-child,
.terminal-bar span:first-child {
  background: var(--coral);
}

.frame-bar span:nth-child(2),
.terminal-bar span:nth-child(2) {
  background: var(--yellow);
}

.frame-bar span:nth-child(3),
.terminal-bar span:nth-child(3) {
  background: var(--green);
}

.frame-bar strong {
  margin-left: auto;
  color: #9da6b1;
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
}

.product-frame img {
  width: 100%;
  aspect-ratio: 1600 / 987;
  object-fit: cover;
}

.signal-card {
  position: absolute;
  right: 8%;
  bottom: 0;
  display: flex;
  align-items: center;
  width: min(410px, 72%);
  min-height: 92px;
  padding: 18px 22px;
  gap: 15px;
  border: 1px solid #314152;
  border-radius: var(--radius-medium);
  background: #122031;
  box-shadow: 0 18px 45px rgba(4, 9, 15, 0.32);
  color: var(--white);
}

.signal-dot {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 5px rgba(243, 209, 83, 0.12);
}

.signal-card div {
  display: grid;
  gap: 4px;
}

.signal-card strong {
  font-size: 0.93rem;
}

.signal-card span:last-child {
  color: #aeb9c6;
  font-size: 0.78rem;
}

.proof-band {
  border-block: 1px solid var(--line);
  background: var(--proof-band);
}

.proof-band-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  min-height: 92px;
}

.proof-band-inner span {
  display: flex;
  align-items: center;
  min-height: 32px;
  padding-inline: 20px;
  color: var(--proof-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: center;
  text-transform: uppercase;
}

.proof-band-inner span:first-child {
  padding-left: 0;
}

.proof-band-inner span + span {
  justify-content: center;
  border-left: 1px solid var(--line);
}

.section {
  padding-block: clamp(100px, 11vw, 158px);
  scroll-margin-top: 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  max-width: none;
  gap: clamp(40px, 10vw, 150px);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--eyebrow);
}

.section-heading h2,
.closing h2,
.start-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 4.7vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.section-heading p,
.start-copy > p,
.closing > p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.58;
}

.section-heading-split > p {
  align-self: end;
  max-width: 520px;
  margin-bottom: 5px;
}

.dashboard-gallery {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 690px;
  padding: 28px;
  gap: 26px;
  border-radius: var(--radius-large);
  background: var(--night);
  box-shadow: var(--shadow);
}

.gallery-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gallery-tab {
  display: grid;
  grid-template-columns: 34px 1fr;
  width: 100%;
  min-height: 116px;
  padding: 19px 18px;
  gap: 8px;
  border: 1px solid var(--night-line);
  border-radius: 14px;
  background: #161d25;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.gallery-tab:hover {
  transform: translateX(3px);
  border-color: rgba(255, 255, 255, 0.28);
}

.gallery-tab.is-active {
  border-color: var(--coral);
  background: var(--coral);
  color: #201511;
}

.gallery-index {
  padding-top: 3px;
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
}

.gallery-tab > span:last-child {
  display: grid;
  align-content: start;
  gap: 9px;
}

.gallery-tab strong {
  font-size: 1.12rem;
  font-weight: 500;
}

.gallery-tab small {
  color: #a8b0ba;
  font-size: 0.78rem;
  line-height: 1.4;
}

.gallery-tab.is-active small {
  color: #43241a;
}

.gallery-stage {
  min-width: 0;
}

.gallery-panel {
  margin: 0;
}

.gallery-panel[hidden] {
  display: none;
}

.gallery-image-shell {
  overflow: hidden;
  border: 1px solid #38414c;
  border-radius: 17px;
  background: #17191e;
}

.gallery-panel img {
  width: 100%;
  aspect-ratio: 1600 / 987;
  object-fit: cover;
}

.gallery-panel figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 24px 4px 4px;
  gap: 24px;
  color: var(--white);
}

.gallery-panel figcaption span {
  color: #8e99a5;
  font-family: "Geist Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-panel figcaption strong {
  max-width: 430px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: right;
}

.noscript-note {
  margin: 20px 0 0;
  color: var(--muted);
}

.section-workflow {
  background:
    radial-gradient(circle at 78% 18%, rgba(117, 104, 255, 0.17), transparent 31%),
    var(--night);
  color: var(--white);
}

.section-heading-dark .eyebrow {
  color: #ff8f72;
}

.section-heading-dark > p {
  color: #aeb6bf;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  position: relative;
  padding: 0 44px 36px 0;
}

.workflow-steps li + li {
  padding-left: 44px;
  border-left: 1px solid var(--night-line);
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #101418;
  font-family: "Geist Mono", monospace;
  font-size: 0.85rem;
}

.step-detect {
  background: #ff6878;
}

.step-diagnose {
  background: var(--yellow);
}

.step-verify {
  background: var(--green);
}

.step-label {
  margin-bottom: 12px;
  color: #9ca7b1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-steps h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.workflow-steps li > p:last-child {
  max-width: 350px;
  margin-bottom: 0;
  color: #aeb6bf;
  line-height: 1.6;
}

.pipeline {
  display: grid;
  grid-template-columns: 1.45fr auto 1fr auto 1fr auto 1.35fr;
  align-items: center;
  margin-top: 68px;
  border: 1px solid var(--night-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.pipeline span {
  padding: 24px 18px;
  color: #d7dce1;
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  text-align: center;
  text-transform: uppercase;
}

.pipeline b {
  color: #707c88;
  font-weight: 400;
}

.section-features .section-heading {
  margin-bottom: 72px;
}

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

.feature-grid article {
  --feature-accent: var(--violet);
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--panel-soft);
}

.feature-grid article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 7px;
  background: var(--feature-accent);
  content: "";
}

.feature-grid article::after {
  position: absolute;
  top: -92px;
  right: -72px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--feature-accent);
  content: "";
  opacity: 0.08;
}

.feature-card-violet {
  --feature-accent: var(--violet);
}

.feature-card-coral {
  --feature-accent: var(--coral);
}

.feature-card-green {
  --feature-accent: var(--green);
}

.feature-value {
  margin: 0;
  color: var(--feature-accent);
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-grid h3 {
  max-width: 14ch;
  margin: 112px 0 18px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.feature-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.section-start {
  padding-top: 30px;
}

.start-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr);
  align-items: center;
  min-height: 560px;
  padding: clamp(36px, 5vw, 72px);
  gap: clamp(48px, 8vw, 112px);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 2% 100%, rgba(49, 211, 155, 0.14), transparent 30%),
    linear-gradient(145deg, #101a27, #0a1017 68%);
  color: var(--white);
  box-shadow: var(--shadow);
}

.start-copy .eyebrow {
  color: #8c82ff;
}

.start-copy h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

.start-copy > p {
  max-width: 520px;
  margin-bottom: 32px;
  color: #aeb7c1;
}

.terminal {
  overflow: hidden;
  border: 1px solid #384658;
  border-radius: 17px;
  background: #080c12;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.terminal-bar {
  height: 44px;
  padding-inline: 15px;
}

.terminal-bar strong {
  margin-left: auto;
  color: #7f8c9a;
  font-family: "Geist Mono", monospace;
  font-size: 0.68rem;
  font-weight: 500;
}

.terminal pre {
  overflow-x: auto;
  margin: 0;
  padding: 34px;
  color: #dbe4ec;
  font-size: clamp(0.72rem, 1.02vw, 0.9rem);
  line-height: 1.9;
}

.prompt {
  color: var(--green);
}

.comment {
  color: #788796;
}

.engineering-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0 0;
  padding: 0;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--line);
}

.engineering-proof div {
  min-height: 154px;
  padding: 28px;
  background: var(--paper);
}

.engineering-proof dt {
  margin-bottom: 12px;
  color: var(--eyebrow);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.055em;
}

.engineering-proof dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(110px, 13vw, 190px);
  text-align: center;
}

.closing h2 {
  max-width: 940px;
  margin-bottom: 36px;
}

.closing .eyebrow {
  margin-bottom: 26px;
}

.closing .cta-row {
  justify-content: center;
}

.text-link-large {
  padding: 15px 10px;
  font-weight: 600;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  min-height: 130px;
  gap: 30px;
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}

.footer-links {
  justify-content: flex-end;
  gap: 22px;
  font-size: 0.85rem;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.theme-toggle-standalone {
  position: fixed;
  z-index: 2;
  top: 24px;
  right: 24px;
}

.not-found-shell {
  width: min(620px, 100%);
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: var(--panel-strong);
  text-align: center;
}

.not-found-shell img {
  margin: 0 auto 24px;
}

.not-found-shell h1 {
  max-width: none;
  margin-block: 18px 24px;
  font-size: clamp(2.7rem, 7vw, 5rem);
}

.not-found-shell > p {
  color: var(--muted);
  line-height: 1.6;
}

.not-found-shell .cta-row {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1180px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
    gap: 14px 24px;
  }

  .topbar-inner > .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .topnav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    padding-bottom: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 80px;
  }

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

  h1 {
    max-width: 12ch;
  }

  .hero-proof {
    max-width: 620px;
    margin-top: 54px;
  }

  .hero-visual {
    width: min(940px, 100%);
    margin-inline: auto;
  }

  .product-frame-hero {
    transform: none;
  }

  .dashboard-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gallery-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-tab {
    min-height: 104px;
  }

  .gallery-tab:hover {
    transform: translateY(-2px);
  }

  .start-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  :root {
    --shell: min(100vw - 30px, 100%);
  }

  .topbar-inner {
    min-height: 72px;
  }

  .topbar-actions .text-link {
    display: none;
  }

  .hero {
    padding-block: 68px 78px;
    gap: 58px;
  }

  h1 {
    font-size: clamp(3.25rem, 14vw, 5.8rem);
  }

  .signal-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 28px);
    margin: -18px auto 0;
  }

  .hero-visual {
    padding-bottom: 0;
  }

  .proof-band-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 12px;
  }

  .proof-band-inner span {
    justify-content: center;
    min-height: 46px;
    padding: 8px 12px;
  }

  .proof-band-inner span:first-child {
    padding-left: 12px;
  }

  .proof-band-inner span:nth-child(odd) {
    border-left: 0;
  }

  .proof-band-inner span:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .section-heading-split > p {
    align-self: auto;
  }

  .section-heading h2,
  .closing h2,
  .start-copy h2 {
    font-size: clamp(2.6rem, 10vw, 4.5rem);
  }

  .gallery-tabs {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-snap-type: x mandatory;
  }

  .gallery-tab {
    flex: 0 0 min(270px, 82vw);
    scroll-snap-align: start;
  }

  .gallery-panel figcaption {
    display: grid;
  }

  .gallery-panel figcaption strong {
    text-align: left;
  }

  .workflow-steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow-steps li,
  .workflow-steps li + li {
    padding: 0 0 44px 76px;
    border-left: 0;
  }

  .workflow-steps li + li {
    border-top: 1px solid var(--night-line);
    padding-top: 44px;
  }

  .step-number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .workflow-steps li + li .step-number {
    top: 44px;
  }

  .pipeline {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .pipeline b {
    transform: rotate(90deg);
    text-align: center;
  }

  .pipeline span {
    padding: 16px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-grid h3 {
    margin-top: 72px;
  }

  .start-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .terminal pre {
    padding: 24px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    padding-block: 36px;
  }

  .footer-inner > p {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: min(100vw - 24px, 100%);
    --radius-large: 20px;
  }

  .topbar-actions {
    gap: 10px;
  }

  .button-long-label {
    display: none;
  }

  .topnav {
    gap: 18px;
    font-size: 0.82rem;
  }

  .brand {
    font-size: 0.78rem;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .topbar-actions .button {
    min-height: 44px;
    padding-inline: 13px;
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(3rem, 15vw, 4.4rem);
    letter-spacing: -0.068em;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .hero-proof div,
  .hero-proof div + div {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof dt {
    margin: 0;
  }

  .frame-bar {
    height: 36px;
  }

  .frame-bar strong {
    display: none;
  }

  .product-frame-hero img {
    width: 150%;
    max-width: none;
    aspect-ratio: 1.1 / 1;
    object-position: 48% top;
  }

  .signal-card {
    min-height: 82px;
    padding: 15px;
  }

  .section {
    padding-block: 90px;
  }

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

  .dashboard-gallery {
    width: calc(100% + 24px);
    margin-left: -12px;
    padding: 12px;
    gap: 16px;
    border-radius: 18px;
  }

  .gallery-tab {
    flex-basis: 230px;
    min-height: 96px;
  }

  .gallery-image-shell {
    border-radius: 12px;
  }

  .gallery-panel img {
    width: 160%;
    max-width: none;
    aspect-ratio: 1.2 / 1;
    object-position: 52% top;
  }

  .gallery-panel figcaption {
    padding: 18px 4px 8px;
    gap: 8px;
  }

  .workflow-steps li,
  .workflow-steps li + li {
    padding-left: 65px;
  }

  .start-card {
    width: calc(100% + 8px);
    margin-left: -4px;
    padding: 28px 18px;
  }

  .terminal pre {
    font-size: 0.68rem;
  }

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

  .engineering-proof div {
    min-height: 122px;
  }

  .not-found-shell {
    padding: 32px 22px;
  }
}

@media (max-width: 360px) {
  .brand span {
    display: none;
  }
}

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

  .button,
  .gallery-tab,
  .theme-toggle {
    transition: none;
  }
}
