@font-face {
  font-family: Archivo;
  src: url("archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: JetBrains;
  src: url("jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --deep: #0b1821;
  --navy: #101f2b;
  --white: #f4f8fa;
  --muted: #b4c4ce;
  --blue: #a4e5f9;
  --accent-deep: #146582;
  --paper: #eef1f1;
  --ink: #12232e;
  --line: #304552;
  --mono: JetBrains, ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font: 16px/1.55 Archivo, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
.wrap { width: min(100% - 108px, 1300px); margin-inline: auto; }
.skip {
  position: absolute; z-index: 4; left: 12px; top: 12px;
  transform: translateY(-200%); padding: 10px 13px;
  color: var(--ink); background: var(--blue);
}
.skip:focus { transform: none; }
.header { background: var(--deep); }
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  min-height: 83px; align-items: center; gap: 26px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; width: fit-content; align-items: center; gap: 10px;
  font-size: 27px; font-weight: 710; letter-spacing: -.06em; line-height: 1;
}
.brand img { object-fit: contain; filter: brightness(2) saturate(.75); }
nav { display: flex; gap: 32px; color: var(--muted); font-size: 14px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover { color: var(--white); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 15px;
  border: 1px solid transparent; border-radius: 4px; min-height: 51px; padding: 10px 17px;
  font-weight: 660; font-size: 14px; text-align: center; line-height: 1.25;
  transition: color .2s, background-color .2s, border-color .2s;
}
.button span { font-family: system-ui, sans-serif; font-size: 17px; line-height: 1; }
.button-outline { justify-self: end; border-color: #445e6e; min-height: 43px; }
.button-outline:hover { color: var(--blue); border-color: var(--blue); }
.button-primary { background: var(--blue); color: #082532; }
.button-primary:hover { background: #cef2fd; }

.hero { background: radial-gradient(ellipse at 66% 45%, #18303d 0%, var(--deep) 68%); }
.hero-layout {
  display: grid; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: center; gap: clamp(24px, 4vw, 70px); padding-block: clamp(42px, 5.4vw, 82px) clamp(52px, 6.4vw, 93px);
}
.intro { padding-bottom: 4%; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 500 11px/1.45 var(--mono); letter-spacing: .125em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow > span { width: 22px; height: 1px; background: currentColor; }
h1 {
  margin-top: 19px; font-weight: 740; font-size: clamp(64px, 7.45vw, 111px);
  line-height: .94; letter-spacing: -.055em; word-spacing: .075em;
}
h1 em { color: var(--blue); font-style: normal; }
.lead { margin-top: 25px; max-width: 30ch; color: var(--muted); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.48; }
.intro .button { margin-top: 31px; }
.experience { min-width: 0; scroll-margin: 22px; display: flex; flex-direction: column; }
.scene {
  order: -1; isolation: isolate; position: relative; overflow: hidden; min-height: clamp(445px, 37vw, 545px);
  display: flex; align-items: flex-end; padding: clamp(14px, 1.7vw, 27px);
  background: #172e3a; border: 1px solid #3b5364; border-radius: 9px 9px 0 0;
}
.scene picture, .scene::after { position: absolute; inset: 0; z-index: -2; }
.scene picture img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.scene::after {
  content: ""; z-index: -1;
  background: linear-gradient(180deg, #081724a6, transparent 26%, transparent 41%, #08172458 69%, #07141ddd),
              linear-gradient(88deg, #08172466, transparent 62%);
}
.scene-heading {
  position: absolute; inset: 17px clamp(14px, 1.7vw, 27px) auto;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  color: #f3f8fb; font: 500 10px/1.3 var(--mono); letter-spacing: .04em;
}
.scene-heading > * { font: inherit; padding: 7px 9px; border: 1px solid #8ba8bb61; border-radius: 3px; background: #0a1822d9; }
.board {
  width: min(100%, 346px); padding: 19px 20px 17px;
  background: #0c1924f5; border: 1px solid #527181;
  border-radius: 6px; box-shadow: 0 15px 40px #040b132e;
}
.board-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid #36505f; }
.micro { color: var(--muted); font: 400 10px/1.35 var(--mono); letter-spacing: .025em; }
.board-heading h3 { font: 620 clamp(20px, 2vw, 27px)/1.07 var(--mono); margin-top: 5px; letter-spacing: -.055em; }
.stage {
  white-space: nowrap; color: #c5ebf7; background: #182f41;
  border-radius: 3px; padding: 5px 8px; font-size: 11px; font-weight: 610;
}
.status { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--blue); font-size: 13px; }
.status strong { font-weight: 650; }
.status > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.board[data-tone="waiting"] .status { color: #ffd58f; }
.board[data-tone="complete"] .status { color: #a3e7c4; }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-block: 11px 8px; }
.times dt { font: 400 10px/1.2 var(--mono); color: var(--muted); }
.times dd { font: 600 20px/1.2 var(--mono); margin-top: 3px; letter-spacing: -.045em; }
.timebar { display: flex; height: 4px; overflow: hidden; margin-bottom: 13px; border-radius: 2px; background: #284353; }
.timebar span:first-child { width: 69.6%; background: var(--blue); transition: width .3s ease; }
.timebar span:last-child { flex: 1; background: #e5b467; }
.timebar[data-meter="working"] span:first-child { width: 100%; }
.timebar[data-meter="complete"] span:first-child { width: 75.9%; }
.decision { display: flex; flex-direction: column; gap: 2px; min-height: 51px; color: #e0edf4; font-size: 13px; line-height: 1.3; }
.decision span:first-child { color: #a2bece; font: 500 10px/1.3 var(--mono); }
.scene-controls {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #3b5364; border-top: 0; border-radius: 0 0 8px 8px;
  background: #10222e; overflow: clip;
}
.scene-controls button {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; background: transparent; color: #b7c8d2; padding: 13px 7px; min-height: 57px;
  font-size: clamp(12px, 1vw, 14px); font-weight: 610; line-height: 1.15; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.scene-controls button + button { border-left: 1px solid #384d59; }
.scene-controls button:hover { color: var(--white); background: #253d4d; }
.scene-controls button[aria-pressed="true"] { color: var(--white); background: #223e4f; box-shadow: inset 0 -2px var(--blue); }
.scene-controls button:focus-visible { outline-offset: -4px; z-index: 1; }
.step-dot { width: 6px; height: 6px; border: 1px solid #8aabbd; border-radius: 50%; flex-shrink: 0; }
.scene-controls button[aria-pressed="true"] .step-dot { border-color: var(--blue); background: var(--blue); }
.demo-fallback { margin-top: 13px; font-size: 14px; color: var(--muted); }

.product { background: var(--paper); color: var(--ink); }
.product-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  gap: 40px clamp(43px, 6.5vw, 114px); padding-block: clamp(55px, 7vw, 105px);
}
.product .eyebrow { color: var(--accent-deep); }
.product h2, .contact h2 { margin-top: 16px; font-size: clamp(39px, 4.4vw, 67px); font-weight: 670; line-height: 1.02; letter-spacing: -.05em; word-spacing: .04em; }
.product-intro > p:last-child { margin-top: 19px; color: #405965; max-width: 28ch; font-size: 17px; }
.workflow { list-style: none; margin: 0; padding: 0; border-block: 1px solid #a4b5bc; }
.workflow li {
  display: grid; grid-template-columns: 127px minmax(0, 1fr); align-items: start;
  gap: 8px 18px; padding-block: 22px;
}
.workflow li + li { border-top: 1px solid #a4b5bc; }
.workflow-role { margin-top: 4px; color: #186282; font: 520 11px/1.4 var(--mono); letter-spacing: .015em; }
.workflow h3 { font-size: clamp(17px, 1.65vw, 24px); line-height: 1.17; font-weight: 710; letter-spacing: -.035em; }
.workflow p { margin-top: 7px; color: #405763; font-size: 15px; line-height: 1.45; }
.contact { background: #102939; }
.contact-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 34px;
  padding-block: clamp(54px, 7vw, 104px);
}
.contact-inner > div:first-child > p:last-child { color: #bfd0da; margin-top: 18px; max-width: 45ch; }
.contact-actions { display: grid; justify-items: start; gap: 14px; }
.email { color: #c2d7e3; text-underline-offset: 4px; text-decoration: underline; font-size: 14px; }
.email:hover { color: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-block: 23px; color: var(--muted); }
.footer .brand { color: var(--white); font-size: 23px; }
.footer p { font-size: 13px; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 64px); }
  .hero-layout { gap: 23px; grid-template-columns: minmax(0, 42fr) minmax(0, 58fr); }
  h1 { font-size: clamp(54px, 7vw, 74px); }
  .workflow li { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { column-gap: 12px; min-height: 70px; }
  nav { gap: 16px; font-size: 13px; }
  .hero-layout { grid-template-columns: 1fr; gap: 26px; padding-block: 40px 47px; }
  .intro { padding-bottom: 0; }
  h1 { font-size: clamp(62px, 11vw, 91px); }
  .lead { margin-top: 18px; }
  .intro .button { margin-top: 21px; }
  .scene { min-height: 440px; order: 0; border-radius: 0 0 9px 9px; }
  .scene-controls { border: 1px solid #3b5364; border-bottom: 0; border-radius: 8px 8px 0 0; }
  .scene-controls button[aria-pressed="true"] { box-shadow: inset 0 2px var(--blue); }
  .scene-controls[hidden] + .scene { border-radius: 9px; }
  .product-inner { grid-template-columns: 1fr; }
  .workflow li { grid-template-columns: 127px 1fr; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 0 9px; padding-top: 12px; }
  .header .brand { grid-column: 1 / -1; font-size: 23px; gap: 6px; }
  .header .brand img { width: 32px; height: 29px; }
  .header .button { grid-row: 2; grid-column: 2; font-size: 11px; min-height: 40px; padding-inline: 8px; gap: 6px; }
  .header nav { grid-row: 2; grid-column: 1; gap: 13px; font-size: 12px; }
  h1 { margin-top: 14px; font-size: clamp(57px, 13.3vw, 76px); }
  .hero-layout { padding-block: 35px 39px; gap: 26px; }
  .hero { background: linear-gradient(160deg, var(--deep), #15303d); }
  .scene { min-height: 396px; }
  .scene picture img { object-position: 53% 50%; }
  .scene-heading > * { padding: 5px 6px; }
  .board { padding: 14px; }
  .scene-controls button { gap: 5px; min-height: 51px; }
  .workflow li { grid-template-columns: 1fr; padding-block: 18px; }
  .contact-inner, .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
