:root {
  color-scheme: light;
  --ink: #101828;
  --ink-2: #24324a;
  --muted: #64748b;
  --quiet: #8492a6;
  --line: #d7e0ea;
  --line-strong: #c4d0dd;
  --paper: #ffffff;
  --wash: #f4f7fb;
  --wash-2: #edf3f7;
  --brand: #163f8f;
  --brand-2: #0f2f6f;
  --teal: #0f766e;
  --teal-soft: #dff4f1;
  --gold: #b98514;
  --gold-soft: #fff3cf;
  --red: #9f1239;
  --red-soft: #ffe4e6;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
  --shadow-soft: 0 16px 44px rgba(16, 24, 40, 0.08);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(244, 247, 251, 0.78), rgba(255, 255, 255, 1) 520px),
    var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(215, 224, 234, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
  color: var(--ink);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(22, 63, 143, 0.16);
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:not(.btn) {
  color: var(--muted);
}

.nav-links a:not(.btn):hover {
  color: var(--brand);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 14px 28px rgba(22, 63, 143, 0.24);
}

.btn.primary:hover {
  background: var(--brand-2);
}

.btn.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn.dark {
  color: #fff;
  background: var(--ink);
}

.btn.gold {
  color: #211803;
  background: var(--gold);
}

.hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.08fr);
  gap: 48px;
  align-items: center;
  padding: 74px 0 66px;
}

.hero-copy {
  padding-top: 8px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  margin-bottom: 22px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
}

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

h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 76px;
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy .subhead {
  margin-bottom: 22px;
  max-width: 600px;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1.45;
  font-weight: 760;
}

.hero-copy p {
  max-width: 570px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
  max-width: 640px;
}

.proof-pill {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.proof-pill strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 21px;
}

.proof-pill span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
}

.command-surface {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(90deg, #111c33 0, #111c33 212px, #f6f8fb 212px, #f6f8fb 100%);
  box-shadow: var(--shadow);
}

.command-top {
  position: absolute;
  inset: 0 0 auto 212px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.window-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 16px 0 #cbd5e1, 32px 0 #e2e8f0;
}

.command-sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 212px;
  padding: 22px 16px;
  color: #dbe5f3;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: #fff;
  font-weight: 900;
}

.sidebar-brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: #fff;
}

.side-line {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 7px;
  padding: 0 10px;
  border-radius: 7px;
  color: #b8c4d8;
  font-size: 13px;
  font-weight: 800;
}

.side-line.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 var(--gold);
}

.side-dot {
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.command-main {
  margin-left: 212px;
  padding: 94px 22px 22px;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.mini-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.06);
}

.mini-panel.pad {
  padding: 16px;
}

.mini-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-value {
  margin-top: 8px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.mini-hint {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.deadline-row,
.case-row,
.ai-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 13px 14px;
  border-top: 1px solid var(--line);
}

.deadline-row:first-child,
.case-row:first-child,
.ai-row:first-child {
  border-top: 0;
}

.row-title {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.chip.blue {
  color: #123c9c;
  background: #e7efff;
}

.chip.teal {
  color: #0f766e;
  background: var(--teal-soft);
}

.chip.gold {
  color: #6b4a00;
  background: var(--gold-soft);
}

.chip.red {
  color: var(--red);
  background: var(--red-soft);
}

.timeline {
  grid-column: 1 / -1;
  padding: 16px;
}

.timeline-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.timeline-step {
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.timeline-step strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
}

.timeline-step span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.floating-signal {
  position: absolute;
  right: -18px;
  bottom: 48px;
  width: 245px;
  padding: 16px;
  border: 1px solid rgba(185, 133, 20, 0.35);
  border-radius: var(--radius);
  background: #fffdf5;
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
}

.floating-signal strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 14px;
}

.floating-signal span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.motion-rail {
  position: relative;
  margin-top: 34px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(22, 63, 143, 0.06), rgba(15, 118, 110, 0.07)),
    #fff;
  overflow: hidden;
}

.motion-rail::before {
  content: "";
  position: absolute;
  inset: 34px 28px auto;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--teal), var(--gold));
  transform-origin: left;
  animation: railPulse 6.4s ease-in-out infinite;
}

.motion-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.motion-step {
  min-height: 148px;
  display: grid;
  align-content: end;
  padding: 42px 14px 14px;
  border: 1px solid rgba(215, 224, 234, 0.82);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.motion-step::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 8px rgba(22, 63, 143, 0.1);
  animation: nodeBeat 6.4s ease-in-out infinite;
}

.motion-step:nth-child(2)::before {
  background: var(--teal);
  animation-delay: 1.1s;
}

.motion-step:nth-child(3)::before {
  background: var(--gold);
  animation-delay: 2.2s;
}

.motion-step:nth-child(4)::before {
  background: var(--red);
  animation-delay: 3.3s;
}

.motion-step strong {
  color: var(--ink);
  font-size: 15px;
}

.motion-step span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.remotion-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.remotion-note strong {
  color: var(--ink);
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: var(--wash);
}

.section.dark {
  color: #fff;
  background:
    linear-gradient(135deg, #0f1a2f 0, #102f4f 48%, #123f44 100%);
}

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

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: 0;
}

.section.dark .section-head h2 {
  color: #fff;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.lead-grid h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 900;
}

.section.dark .section-head p,
.section.dark .lead {
  color: rgba(255, 255, 255, 0.74);
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-item {
  min-height: 122px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 16px;
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

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

.feature-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  font-weight: 900;
}

.feature-row:nth-child(2) .feature-icon {
  background: var(--teal);
}

.feature-row:nth-child(3) .feature-icon {
  color: #2c1d00;
  background: var(--gold);
}

.feature-row h3 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.22;
}

.feature-row p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.matrix-cell {
  min-height: 202px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.matrix-cell:nth-child(3n) {
  border-right: 0;
}

.matrix-cell:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.matrix-cell span {
  display: block;
  margin-bottom: 32px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.matrix-cell h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.16;
}

.matrix-cell p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.operating-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.board-panel {
  min-height: 214px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.board-panel.wide {
  grid-column: 1 / -1;
}

.board-panel span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-panel h3 {
  margin: 26px 0 10px;
  color: #fff;
  font-size: 24px;
}

.board-panel p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.62;
}

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

.tier {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.tier.featured {
  border-color: rgba(22, 63, 143, 0.42);
  box-shadow: var(--shadow-soft);
}

.tier h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
}

.price {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
}

.price span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tier ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.46;
}

.tier li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
}

.tier li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--teal);
}

.lead-band {
  background:
    linear-gradient(90deg, rgba(22, 63, 143, 0.08), rgba(15, 118, 110, 0.1)),
    #fff;
}

.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.form {
  display: grid;
  gap: 13px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.field {
  display: grid;
  gap: 6px;
}

label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

textarea {
  min-height: 104px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 63, 143, 0.13);
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
}

.check-row input {
  min-height: 18px;
  margin: 1px 0 0;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fine {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.status {
  display: none;
  padding: 12px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
}

.status.ok {
  display: block;
  color: #075e54;
  background: #e6f7f4;
}

.status.err {
  display: block;
  color: var(--red);
  background: var(--red-soft);
}

.doc-hero {
  padding: 62px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(22, 63, 143, 0.08), rgba(15, 118, 110, 0.08)),
    #fff;
}

.doc-hero-grid {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: end;
}

.doc-hero h1 {
  margin-bottom: 16px;
  font-size: 56px;
  line-height: 1;
}

.doc-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.doc-meta {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.doc-meta div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.doc-meta strong {
  color: var(--ink);
}

.doc-layout {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 44px;
  padding: 54px 0 92px;
}

.doc-nav {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.doc-nav strong {
  margin: 4px 8px 8px;
  color: var(--ink);
}

.doc-nav a {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.doc-nav a:hover {
  color: var(--brand);
  background: #eef4ff;
}

.doc-content {
  display: grid;
  gap: 18px;
}

.doc-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.doc-section h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.18;
}

.doc-section h3 {
  margin: 22px 0 9px;
  color: var(--ink-2);
  font-size: 18px;
}

.doc-section p,
.doc-section li {
  color: var(--muted);
  line-height: 1.72;
}

.doc-section ul,
.doc-section ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.info-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
}

.info-box strong {
  color: var(--ink);
}

.data-table {
  width: 100%;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--ink);
  background: var(--wash);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: #0f1a2f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #fff;
  font-weight: 850;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

@keyframes railPulse {
  0%,
  10% {
    transform: scaleX(0.08);
    opacity: 0.48;
  }
  44% {
    transform: scaleX(0.68);
    opacity: 1;
  }
  78%,
  100% {
    transform: scaleX(1);
    opacity: 0.72;
  }
}

@keyframes nodeBeat {
  0%,
  18%,
  100% {
    transform: scale(1);
  }
  9% {
    transform: scale(1.18);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: auto;
  }

  .floating-signal {
    right: 18px;
  }

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

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

  .matrix-cell:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .matrix-cell:nth-child(2n) {
    border-right: 0;
  }

  .matrix-cell:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .matrix-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  .nav-wrap {
    width: min(100% - 28px, var(--max));
    height: auto;
    min-height: 70px;
    align-items: flex-start;
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 10px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .lead-grid h2 {
    font-size: 34px;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    padding: 44px 0 50px;
  }

  .hero-copy .subhead {
    font-size: 19px;
  }

  .hero-proof,
  .split-grid,
  .lead-grid,
  .doc-hero-grid,
  .doc-layout,
  .operating-board {
    grid-template-columns: 1fr;
  }

  .command-surface {
    min-height: auto;
    background: #f6f8fb;
  }

  .command-sidebar,
  .command-top {
    display: none;
  }

  .command-main {
    margin-left: 0;
    padding: 16px;
  }

  .command-grid,
  .timeline-track,
  .motion-steps,
  .matrix,
  .pricing-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .matrix-cell,
  .matrix-cell:nth-child(2n),
  .matrix-cell:nth-child(3n),
  .matrix-cell:nth-last-child(-n + 2),
  .matrix-cell:nth-last-child(-n + 3) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .matrix-cell:last-child {
    border-bottom: 0;
  }

  .trust-item,
  .trust-item:last-child {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .floating-signal {
    position: static;
    width: auto;
    margin-top: 14px;
  }

  .doc-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doc-hero h1 {
    font-size: 42px;
  }
}

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

  .btn {
    width: 100%;
  }

  .nav-links .btn {
    width: auto;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions {
    width: 100%;
  }

  .proof-pill,
  .feature-row,
  .matrix-cell,
  .tier,
  .doc-section,
  .form {
    padding: 16px;
  }

  .doc-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
