:root {
  color-scheme: dark;
  --bg: #050505;
  --bg-soft: #0a0a0a;
  --panel: #090909;
  --panel-line: #27211d;
  --text: #f4f1ec;
  --muted: #8d8881;
  --muted-strong: #b9b2aa;
  --accent: #f45b16;
  --accent-soft: #ff8a32;
  --success: #8fa866;
  --line: rgba(255, 255, 255, 0.13);
  --mono: "SFMono-Regular", "Roboto Mono", "Cascadia Mono", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at 70% 52%, rgba(244, 91, 22, 0.1), transparent 30%),
    linear-gradient(180deg, #070707 0%, #050505 55%, #020202 100%);
  background-size: 18px 18px, 18px 18px, auto, auto;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.6px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
}

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

.page-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 24px 36px;
  gap: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand,
.primary-nav,
.header-actions,
.cta-row,
.window-titlebar,
.window-dots,
.terminal-head,
.progress-row,
.terminal-footer,
.trust-strip {
  display: flex;
  align-items: center;
}

.primary-nav a,
.login-link {
  display: none;
}

.brand {
  justify-self: start;
  gap: 10px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.brand-mark {
  position: relative;
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  content: "";
}

.brand-mark::before {
  transform: rotate(0deg);
}

.brand-mark::after {
  transform: rotate(60deg);
}

.brand-mark span:first-child {
  transform: rotate(120deg);
}

.brand-mark span:nth-child(2) {
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--text);
  background: transparent;
}

.brand-mark span:nth-child(3) {
  display: none;
}

.primary-nav {
  justify-self: center;
  gap: clamp(14px, 2.1vw, 34px);
  color: #f1eee8;
  white-space: nowrap;
}

.primary-nav a::after {
  margin-left: 5px;
  color: var(--muted);
  content: ">";
}

.primary-nav a:nth-child(n + 4)::after {
  content: "";
}

.header-actions {
  justify-self: end;
  gap: 12px;
  white-space: nowrap;
}

.login-link,
.dark-button,
.light-button {
  min-height: 31px;
  padding: 9px 16px;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1;
  text-transform: uppercase;
}

.login-link,
.light-button {
  color: #090909;
  background: #f4f1ec;
}

.dark-button {
  color: #f4f1ec;
  background: rgba(255, 255, 255, 0.07);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, 0.78fr) minmax(560px, 1.22fr);
  align-items: end;
  min-height: calc(100vh - 76px);
  padding: clamp(48px, 9vw, 150px) 0 16px 36px;
  gap: clamp(36px, 7vw, 96px);
}

.hero-copy {
  z-index: 2;
  min-width: 0;
  max-width: 600px;
  padding-bottom: clamp(52px, 14vh, 180px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-soft);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(45px, 5.35vw, 83px);
  font-weight: 430;
  line-height: 0.97;
  letter-spacing: 0;
}

.subhead {
  max-width: 500px;
  margin: 18px 0 28px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.45;
}

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

.product-window {
  align-self: end;
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 0;
  border-radius: 9px 0 0 9px;
  background: rgba(4, 4, 4, 0.88);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}

.window-titlebar {
  height: 43px;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
}

.window-dots {
  gap: 7px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff625a;
}

.window-dots span:nth-child(2) {
  background: #ffbd2d;
}

.window-dots span:nth-child(3) {
  background: #28c940;
}

.terminal {
  min-height: 725px;
  padding: 22px 22px 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: #b6aea7;
}

.terminal-head {
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--panel-line);
}

.terminal-head strong {
  color: var(--accent);
  font-weight: 700;
}

.terminal-head span {
  color: var(--muted);
  text-align: right;
}

.progress-row {
  gap: 11px;
  height: 34px;
  color: var(--accent);
}

.progress-row span {
  font-weight: 700;
}

.progress-track {
  flex: 1;
  height: 12px;
  background: rgba(255, 255, 255, 0.26);
}

.progress-track span {
  display: block;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff762b);
  box-shadow: 0 0 14px rgba(244, 91, 22, 0.26);
  transition: width 600ms linear;
}

.progress-row em {
  color: var(--muted);
  font-style: normal;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 495px;
  border-top: 1px solid var(--panel-line);
  border-bottom: 1px solid var(--panel-line);
}

.terminal-grid section,
.terminal-grid aside {
  padding: 18px 18px 12px 0;
}

.terminal-grid aside {
  padding-left: 18px;
  border-left: 1px solid var(--panel-line);
}

.terminal h2,
.terminal h3,
.terminal p,
.terminal ul,
.terminal ol {
  margin: 0;
}

.terminal h2 {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #ded9d1;
  font-size: 12px;
  font-weight: 500;
}

.terminal h2 span,
.terminal p {
  color: var(--muted);
}

.terminal h2 span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal h2 .live-status {
  position: relative;
  overflow: visible;
  color: #a8f08b;
  text-shadow: 0 0 8px rgba(122, 255, 112, 0.45), 0 0 18px rgba(122, 255, 112, 0.18);
}

.terminal h2 .live-status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #78f06d;
  box-shadow: 0 0 9px rgba(120, 240, 109, 0.75);
  content: "";
  vertical-align: 1px;
  animation: live-breathe 2.8s ease-in-out infinite;
}

.terminal h3 {
  margin-top: 20px;
  color: #ded9d1;
  font-size: 12px;
  font-weight: 500;
}

.terminal p {
  margin-top: 8px;
  line-height: 1.55;
}

.terminal ul,
.terminal ol {
  margin-top: 8px;
  padding-left: 18px;
  line-height: 1.55;
}

.graph-map {
  position: relative;
  height: 240px;
  margin-top: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 48%, rgba(244, 241, 236, 0.065), transparent 28%),
    radial-gradient(circle at 48% 46%, rgba(244, 91, 22, 0.07), transparent 30%),
    #080808;
}

.graph-map::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.6px, transparent 0.6px);
  background-size: 10px 10px;
  content: "";
  opacity: 0.12;
}

.graph-lines,
.graph-node {
  position: absolute;
}

.graph-lines {
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.graph-lines line {
  stroke: rgba(190, 190, 190, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: line-live 5.5s ease-in-out infinite;
}

.graph-lines line:nth-child(3n) {
  animation-delay: -1.5s;
}

.graph-lines line:nth-child(4n) {
  animation-delay: -3.2s;
}

.graph-node {
  z-index: 2;
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a7a7a7;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 0 18px rgba(255, 255, 255, 0.16);
  cursor: grab;
  touch-action: none;
  transform: translate(-50%, -50%);
}

.graph-node:hover,
.graph-node:focus-visible {
  background: #d8d8d8;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2), 0 0 24px rgba(255, 255, 255, 0.34);
  outline: none;
}

.graph-node.is-dragging {
  cursor: grabbing;
  box-shadow: 0 0 0 3px rgba(244, 91, 22, 0.22), 0 0 32px rgba(255, 255, 255, 0.42);
}

.graph-node.node-core {
  z-index: 2;
  width: 20px;
  height: 20px;
  background: #d3d3d3;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18), 0 0 24px rgba(255, 255, 255, 0.34);
}

@keyframes line-live {
  0%,
  100% {
    opacity: 0.34;
  }

  50% {
    opacity: 0.68;
  }
}

@keyframes live-breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.check-list {
  margin-bottom: 16px;
  padding-left: 0;
  list-style: none;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--success);
  content: "✓";
}

.terminal ol {
  margin-bottom: 30px;
  padding-left: 0;
  color: var(--muted);
  list-style: none;
}

.terminal-footer {
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  color: var(--muted);
}

.terminal-footer span:first-child {
  color: #ded9d1;
}

.trust-strip {
  min-height: 92px;
  padding: 24px 36px 38px;
  gap: clamp(26px, 6vw, 82px);
  justify-content: center;
  color: rgba(244, 241, 236, 0.54);
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 72px 24px 0;
  }

  .hero-copy {
    max-width: 780px;
    padding-bottom: 12px;
  }

  .product-window {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9px;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 18px 18px;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .header-actions {
    gap: 8px;
  }

  .login-link {
    display: none;
  }

  .hero {
    padding: 48px 16px 0;
    gap: 26px;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(38px, 12.2vw, 52px);
    line-height: 1.02;
  }

  .subhead {
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .terminal {
    min-height: auto;
    padding: 16px;
    font-size: 11px;
  }

  .terminal-head,
  .terminal-grid,
  .terminal-footer {
    display: block;
  }

  .terminal h2 {
    display: block;
  }

  .terminal-head span,
  .terminal h2 span,
  .terminal-footer span {
    display: block;
    margin-top: 6px;
    text-align: left;
  }

  .terminal h2 span {
    max-width: 100%;
  }

  .terminal-grid aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--panel-line);
  }

  .graph-map {
    height: 220px;
  }

  .graph-node {
    width: 10px;
    height: 10px;
  }

  .graph-node.node-core {
    width: 18px;
    height: 18px;
  }

  .trust-strip {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 28px 16px 34px;
    gap: 16px 24px;
  }
}

.final-body .hero {
  grid-template-columns: minmax(460px, 0.9fr) minmax(560px, 1.1fr);
  align-items: start;
  min-height: min(980px, calc(100vh - 76px));
  padding-top: clamp(88px, 13vh, 150px);
  padding-bottom: clamp(42px, 6vh, 80px);
}

.final-body .hero-copy {
  align-self: start;
  padding-bottom: 0;
}

.final-body .product-window {
  align-self: start;
}

.final-body h1 {
  max-width: 820px;
  font-size: clamp(46px, 4vw, 66px);
}

.final-body .subhead {
  max-width: 700px;
}

.final-body .cta-row {
  margin-top: 0;
}

.copy-section,
.solution-section,
.proof-section,
.final-cta {
  position: relative;
  width: 100%;
  padding: clamp(84px, 10vw, 150px) 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-section {
  display: grid;
  grid-template-columns: minmax(80px, 0.22fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}

.section-number {
  color: rgba(244, 91, 22, 0.8);
  font-family: var(--mono);
  font-size: 12px;
}

.section-copy,
.section-body,
.solution-heading,
.proof-section > div {
  max-width: 910px;
}

.section-copy h2,
.solution-heading h2,
.proof-section h2,
.final-cta h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 430;
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p,
.section-body p,
.solution-grid p,
.proof-list span {
  color: var(--muted-strong);
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.45;
}

.section-copy > p:last-child {
  max-width: 990px;
  margin: 26px 0 0;
}

.split-section {
  grid-template-columns: minmax(330px, 0.8fr) minmax(360px, 1fr);
}

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

.section-body p {
  margin: 0;
}

.section-body p + p {
  margin-top: 28px;
}

.solution-section {
  display: grid;
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(38px, 6vw, 96px);
}

.solution-grid {
  display: grid;
  gap: 14px;
}

.solution-grid article {
  min-height: 190px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
}

.solution-grid article span,
.solution-grid h3,
.proof-list strong {
  font-family: var(--mono);
}

.solution-grid article span {
  color: var(--accent);
  font-size: 12px;
}

.solution-grid h3 {
  margin: 34px 0 12px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.solution-grid p {
  margin: 0;
  font-size: 17px;
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  color: var(--text);
  font-size: 15px;
  text-transform: uppercase;
}

.proof-list span {
  margin-top: 9px;
  font-size: 18px;
}

.final-cta {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.final-cta h2 {
  max-width: 1040px;
  margin-bottom: 32px;
  font-size: clamp(48px, 6vw, 96px);
}

@media (max-width: 1050px) {
  .final-body .hero {
    grid-template-columns: 1fr;
  }

  .copy-section,
  .split-section,
  .solution-section,
  .proof-section {
    grid-template-columns: 1fr;
  }

  .section-body {
    padding-top: 0;
  }
}

@media (max-width: 720px) {
  .final-body h1 {
    max-width: 360px;
    font-size: clamp(39px, 11.4vw, 52px);
  }

  .copy-section,
  .solution-section,
  .proof-section,
  .final-cta {
    padding: 74px 16px;
  }

  .section-copy h2,
  .solution-heading h2,
  .proof-section h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .section-copy p,
  .section-body p,
  .solution-grid p,
  .proof-list span {
    font-size: 16px;
  }

  .solution-grid article {
    min-height: 0;
    padding: 20px;
  }

  .final-cta {
    min-height: 360px;
  }

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