:root {
  color-scheme: dark;
  --navy-1000: #02080d;
  --navy-950: #050e17;
  --navy-900: #071522;
  --navy-850: #0a1b2a;
  --navy-800: #0d2235;
  --navy-750: #112a40;
  --steel-700: #405b70;
  --steel-600: #587186;
  --steel-400: #8fa4b4;
  --steel-300: #adbdc9;
  --off-white: #f2f6f8;
  --muted: #9eafbc;
  --muted-dark: #718697;
  --blue: #6ca9d1;
  --blue-bright: #89c5ea;
  --blue-deep: #1f6596;
  --blue-soft: rgba(108, 169, 209, 0.12);
  --line: rgba(143, 164, 180, 0.18);
  --line-strong: rgba(143, 183, 211, 0.31);
  --panel: rgba(10, 27, 42, 0.82);
  --panel-solid: #0a1b2a;
  --header-height: 96px;
  --max-width: 1180px;
  --shadow-panel: 0 28px 80px rgba(0, 0, 0, 0.34);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 76% 6%, rgba(67, 137, 184, 0.15), transparent 31rem),
    radial-gradient(circle at 12% 35%, rgba(31, 101, 150, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--navy-1000) 0%, var(--navy-900) 37%, #06111b 70%, var(--navy-1000) 100%);
  color: var(--off-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 780px;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(108, 169, 209, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 169, 209, 0.11) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--off-white);
  color: var(--navy-950);
  font-weight: 700;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 10, 17, 0.76);
  backdrop-filter: blur(20px) saturate(125%);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  width: 112px;
  height: 92px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  color: var(--steel-300);
  font-size: 13px;
  font-weight: 600;
}

.nav-link { transition: color 160ms ease; }
.nav-link:hover { color: var(--off-white); }
.company-link { color: var(--blue-bright); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms var(--ease), border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-compact { min-height: 40px; padding-inline: 17px; }

.button-primary {
  color: #04121d;
  border-color: rgba(173, 215, 240, 0.82);
  background: linear-gradient(135deg, #a6d5f1, var(--blue) 64%, #4d8fb9);
  box-shadow: 0 12px 34px rgba(67, 137, 184, 0.18), inset 0 1px rgba(255, 255, 255, 0.45);
}

.button-primary:hover { box-shadow: 0 15px 40px rgba(67, 137, 184, 0.28), inset 0 1px rgba(255, 255, 255, 0.52); }

.button-secondary {
  color: #dbe5eb;
  border-color: var(--line-strong);
  background: rgba(17, 42, 64, 0.64);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: rgba(137, 197, 234, 0.48);
  background: rgba(25, 57, 84, 0.78);
}

.button:focus-visible,
.brand:focus-visible,
.primary-nav a:focus-visible,
.text-link:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.hero {
  min-height: 690px;
  padding: 90px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(50px, 6.15vw, 82px);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #b9cfdd;
  font-size: 0.78em;
  font-weight: 620;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 32px;
  color: var(--steel-400);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.trust-line span {
  position: relative;
  padding-left: 15px;
}

.trust-line span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(108, 169, 209, 0.08);
  transform: translateY(-50%);
}

.workflow-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(108, 169, 209, 0.09), transparent 42%),
    rgba(5, 14, 23, 0.93);
  box-shadow: var(--shadow-panel), inset 0 1px rgba(255, 255, 255, 0.04);
}

.workflow-preview::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(31, 101, 150, 0.14);
  filter: blur(22px);
  pointer-events: none;
}

.preview-topbar,
.preview-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.preview-topbar { border-bottom: 1px solid var(--line); }

.preview-brand { display: flex; align-items: center; gap: 11px; }
.preview-brand strong, .preview-brand small { display: block; }
.preview-brand strong { font-size: 13px; }
.preview-brand small { margin-top: 1px; color: var(--muted-dark); font-size: 10px; }

.shield-mark {
  width: 34px;
  height: 37px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(137, 197, 234, 0.5);
  border-radius: 10px 10px 13px 13px;
  background: linear-gradient(145deg, #17486b, #0a2236);
  color: #dff2fd;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.status-pill {
  padding: 5px 8px;
  border: 1px solid rgba(108, 169, 209, 0.24);
  border-radius: 999px;
  background: rgba(108, 169, 209, 0.08);
  color: #a9cde4;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.preview-body {
  position: relative;
  z-index: 1;
  min-height: 365px;
  display: grid;
  grid-template-columns: 148px 1fr;
}

.preview-rail {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  background: rgba(4, 13, 21, 0.48);
}

.preview-rail::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: linear-gradient(var(--blue), rgba(64, 91, 112, 0.6) 48%, rgba(64, 91, 112, 0.15));
}

.preview-rail li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 75px;
  color: var(--muted-dark);
}

.preview-rail li > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--steel-700);
  border-radius: 8px;
  background: var(--navy-850);
  font-size: 9px;
  font-weight: 800;
}

.preview-rail li strong, .preview-rail li small { display: block; }
.preview-rail li strong { color: #aab9c5; font-size: 11px; }
.preview-rail li small { margin-top: 2px; font-size: 8px; line-height: 1.3; }
.preview-rail li.complete > span { border-color: var(--blue); background: #1b587f; color: white; }
.preview-rail li.active > span { border-color: #c5dce9; background: #dbe9f1; color: #0a2940; box-shadow: 0 0 0 4px rgba(108, 169, 209, 0.09); }
.preview-rail li.active strong { color: var(--off-white); }

.preview-document {
  margin: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17, 42, 64, 0.72), rgba(7, 21, 34, 0.72));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.document-label {
  margin-bottom: 22px;
  color: var(--blue-bright);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.document-line {
  width: 88%;
  height: 7px;
  margin: 11px 0;
  border-radius: 99px;
  background: rgba(173, 189, 201, 0.18);
}

.line-long { width: 100%; }
.line-medium { width: 73%; }
.line-short { width: 54%; }

.document-callout {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px -3px;
  padding: 13px;
  border: 1px solid rgba(108, 169, 209, 0.28);
  border-radius: 9px;
  background: rgba(31, 101, 150, 0.12);
}

.callout-dot {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 0 4px rgba(108, 169, 209, 0.09);
}

.document-callout strong, .document-callout small { display: block; }
.document-callout strong { font-size: 10px; }
.document-callout small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }

.preview-footer {
  border-top: 1px solid var(--line);
  color: var(--muted-dark);
  font-size: 9px;
}

.preview-footer span { display: flex; align-items: center; gap: 7px; }
.preview-footer i { width: 6px; height: 6px; border-radius: 50%; background: #77c39d; }
.preview-footer strong { color: var(--steel-300); font-size: 9px; font-weight: 650; }

.demo-section { padding: 38px 0 102px; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 40px;
}

.section-heading h2,
.workflow-intro h2,
.origin-copy h2,
.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -0.042em;
}

.section-heading > p {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--navy-950);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.04);
}

.video-chrome {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 42, 64, 0.76), rgba(8, 24, 38, 0.76));
}

.video-chrome > span { width: 7px; height: 7px; border-radius: 50%; background: var(--steel-700); }
.video-chrome > span:nth-child(2) { background: var(--steel-600); }
.video-chrome > span:nth-child(3) { background: var(--blue-deep); }
.video-chrome strong { margin-left: 7px; color: var(--muted-dark); font-size: 8px; letter-spacing: 0.13em; }
.video-chrome strong span { color: var(--blue); }

.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.section { padding: 104px 0; }
.section-bordered { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.012); }

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 18px;
}

.feature-stack { display: grid; gap: 18px; }

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(108, 169, 209, 0.055), transparent 44%),
    rgba(9, 26, 40, 0.74);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
}

.feature-primary {
  min-height: 508px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 90% 90%, rgba(31, 101, 150, 0.19), transparent 19rem),
    linear-gradient(145deg, rgba(108, 169, 209, 0.09), transparent 45%),
    rgba(9, 26, 40, 0.82);
}

.feature-index { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.15em; }
.feature-card h3 { margin: 28px 0 12px; font-size: clamp(25px, 2.6vw, 35px); line-height: 1.08; letter-spacing: -0.025em; }
.feature-card p { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.feature-primary h3 { margin-top: 0; font-size: clamp(38px, 4.7vw, 58px); }

.before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
}

.before-after > div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(3, 12, 20, 0.48);
}

.before-after > div.after { border-color: rgba(108, 169, 209, 0.35); background: rgba(31, 101, 150, 0.1); }
.before-after span { display: block; margin-bottom: 12px; color: var(--muted-dark); font-size: 7px; font-weight: 800; letter-spacing: 0.12em; }
.before-after i { display: block; width: 100%; height: 5px; margin: 7px 0; border-radius: 99px; background: rgba(143, 164, 180, 0.16); }
.before-after .after i { background: rgba(137, 197, 234, 0.24); }
.before-after i.short { width: 64%; }
.before-after b { color: var(--blue); font-size: 17px; }

.principle-strip {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(3, 12, 20, 0.4);
}

.principle-strip > div {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 19px;
  border-right: 1px solid var(--line);
}

.principle-strip > div:last-child { border-right: 0; }
.principle-strip span { color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0.12em; }
.principle-strip strong { font-size: 12px; font-weight: 650; }

.workflow-section { background: linear-gradient(180deg, rgba(2, 8, 13, 0.2), rgba(11, 32, 51, 0.18)); }

.workflow-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(480px, 1.2fr);
  gap: 86px;
  align-items: start;
}

.workflow-intro { position: sticky; top: calc(var(--header-height) + 50px); }
.workflow-intro > p:not(.eyebrow) { max-width: 500px; margin: 24px 0 0; color: var(--muted); font-size: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
  color: var(--blue-bright);
  font-size: 13px;
  font-weight: 750;
}

.workflow-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 29px;
  width: 1px;
  background: linear-gradient(var(--blue), rgba(88, 113, 134, 0.4), rgba(88, 113, 134, 0.08));
}

.workflow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 23px;
  padding: 0 0 42px;
}

.workflow-steps li:last-child { padding-bottom: 0; }

.step-number {
  position: relative;
  z-index: 1;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: linear-gradient(145deg, #173d59, #091c2c);
  color: var(--blue-bright);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), inset 0 1px rgba(255, 255, 255, 0.06);
}

.workflow-steps li > div { padding: 4px 0 31px; border-bottom: 1px solid var(--line); }
.workflow-steps li:last-child > div { border-bottom: 0; }
.workflow-steps h3 { margin: 0 0 7px; font-size: clamp(21px, 2.2vw, 28px); letter-spacing: -0.02em; }
.workflow-steps p { margin-bottom: 0; color: var(--muted); font-size: 15px; }

.origin-section { padding-top: 76px; }

.origin-panel {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 72px;
  align-items: center;
  padding: 58px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background:
    radial-gradient(circle at 14% 48%, rgba(67, 137, 184, 0.17), transparent 18rem),
    linear-gradient(145deg, rgba(108, 169, 209, 0.075), transparent 48%),
    rgba(7, 21, 34, 0.78);
  box-shadow: var(--shadow-panel), inset 0 1px rgba(255, 255, 255, 0.035);
}

.origin-mark {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
}

.origin-mark::before,
.origin-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(108, 169, 209, 0.17);
  border-radius: 50%;
}

.origin-mark::before { width: 310px; height: 310px; }
.origin-mark::after { width: 230px; height: 230px; border-style: dashed; }
.origin-mark img { position: relative; z-index: 1; width: 290px; }

.origin-copy h2 { font-size: clamp(35px, 4vw, 54px); }
.origin-copy > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: var(--muted); font-size: 16px; }

.origin-copy blockquote {
  margin: 32px 0 0;
  padding: 20px 0 0 22px;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--blue-deep);
  color: #c5d2da;
  font-size: 15px;
  font-weight: 540;
  line-height: 1.65;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: 56px;
  align-items: end;
  padding-top: 56px;
  padding-bottom: 104px;
}

.final-cta h2 { max-width: 850px; font-size: clamp(36px, 4.6vw, 58px); }
.final-actions { display: flex; gap: 11px; padding-bottom: 5px; }

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 8, 13, 0.56);
}

.footer-grid {
  min-height: 178px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 50px;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: 125px;
  height: 94px;
  object-fit: contain;
}

.footer-brand p { margin: -12px 0 0 13px; color: var(--muted-dark); font-size: 10px; letter-spacing: 0.04em; }
.footer-brand a, .footer-contact a, .footer-links a { transition: color 160ms ease; }
.footer-brand a:hover, .footer-contact a:hover, .footer-links a:hover { color: var(--blue-bright); }

.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact span { color: var(--muted-dark); font-size: 8px; font-weight: 800; letter-spacing: 0.15em; }
.footer-contact a { color: var(--steel-300); font-size: 13px; }

.footer-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); font-size: 12px; }

.footer-base {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(143, 164, 180, 0.1);
  color: var(--muted-dark);
  font-size: 9px;
  letter-spacing: 0.035em;
}

@media (max-width: 1040px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 52px; padding-top: 74px; }
  .hero-copy { max-width: 850px; }
  .workflow-preview { max-width: 760px; }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-primary { min-height: 460px; }
  .feature-stack { grid-template-columns: 1fr 1fr; }
  .workflow-layout { gap: 54px; }
  .origin-panel { gap: 42px; padding: 46px; }
  .origin-mark::before { width: 270px; height: 270px; }
  .origin-mark::after { width: 205px; height: 205px; }
  .origin-mark img { width: 255px; }
  .final-cta { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 899.98px) {
  .workflow-layout { grid-template-columns: 1fr; gap: 48px; }
  .workflow-intro { position: static; }
}

@media (max-width: 820px) {
  :root { --header-height: 82px; }
  .shell { width: min(calc(100% - 34px), var(--max-width)); }
  .brand { width: 94px; height: 78px; }
  .brand img { width: 76px; height: 76px; }
  .primary-nav { gap: 12px; }
  .primary-nav .nav-link { display: none; }
  .hero { padding-top: 62px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 620px; }
  .section { padding: 82px 0; }
  .demo-section { padding-bottom: 82px; }
  .principle-strip { grid-template-columns: 1fr; }
  .principle-strip > div { min-height: 64px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle-strip > div:last-child { border-bottom: 0; }
  .origin-panel { grid-template-columns: 1fr; }
  .origin-mark { min-height: 230px; }
  .origin-mark::before { width: 230px; height: 230px; }
  .origin-mark::after { width: 174px; height: 174px; }
  .origin-mark img { width: 218px; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 32px 0; }
  .footer-links { align-items: flex-start; }
}

@media (max-width: 580px) {
  .shell { width: min(calc(100% - 24px), var(--max-width)); }
  .header-inner { gap: 12px; }
  .brand { width: 86px; }
  .brand img { width: 72px; height: 72px; }
  .button-compact { min-height: 39px; padding-inline: 15px; }
  .hero { gap: 38px; padding: 48px 0 60px; }
  .hero h1 { font-size: clamp(43px, 13.4vw, 60px); }
  .hero h1 span { font-size: 0.72em; line-height: 1.08; }
  .hero-lede { font-size: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .trust-line { flex-direction: column; gap: 10px; }
  .preview-topbar, .preview-footer { padding: 15px; }
  .status-pill { display: none; }
  .preview-body { min-height: 0; grid-template-columns: 1fr; }
  .preview-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-rail::before { left: 37px; right: 37px; top: 29px; bottom: auto; width: auto; height: 1px; }
  .preview-rail li { min-height: 64px; grid-template-columns: 1fr; gap: 5px; justify-items: center; text-align: center; }
  .preview-rail li > span { width: 29px; height: 29px; }
  .preview-rail li small { display: none; }
  .preview-document { margin: 15px; padding: 18px; }
  .preview-footer { flex-direction: column; align-items: flex-start; gap: 5px; }
  .demo-section { padding-top: 18px; }
  .section-heading h2, .workflow-intro h2, .origin-copy h2, .final-cta h2 { font-size: clamp(35px, 11vw, 48px); }
  .video-chrome strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .feature-stack { grid-template-columns: 1fr; }
  .feature-card, .feature-primary { min-height: 0; padding: 23px; }
  .feature-primary h3 { margin-top: 30px; }
  .before-after { grid-template-columns: 1fr; gap: 10px; margin-top: 36px; }
  .before-after b { transform: rotate(90deg); justify-self: center; }
  .workflow-steps li { grid-template-columns: 52px 1fr; gap: 16px; }
  .workflow-steps::before { left: 25px; }
  .step-number { width: 52px; height: 52px; }
  .workflow-steps li > div { padding-top: 1px; }
  .origin-section { padding-top: 54px; }
  .origin-panel { min-height: 0; padding: 26px 22px 32px; }
  .origin-mark { min-height: 188px; }
  .origin-mark::before { width: 190px; height: 190px; }
  .origin-mark::after { width: 145px; height: 145px; }
  .origin-mark img { width: 180px; }
  .origin-copy blockquote { margin-top: 25px; padding-left: 16px; }
  .final-actions { flex-direction: column; width: 100%; }
  .final-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-base { min-height: 72px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; }
}

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