:root {
  color-scheme: light;
  --page: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #edf2f7;
  --ink: #151922;
  --ink-soft: #2d3441;
  --muted: #667085;
  --line: #d9e0ea;
  --line-strong: #c8d1de;
  --blue: #0c63ce;
  --blue-strong: #084c9f;
  --green: #087a5a;
  --amber: #9a6416;
  --rose: #a83e55;
  --shadow: 0 18px 48px rgb(21 25 34 / 12%);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: 10px 12px;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgb(217 224 234 / 82%);
  background: rgb(245 247 251 / 86%);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 8px 10px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  border-color: rgb(21 25 34 / 10%);
  background: var(--surface);
  color: var(--ink);
}

.nav-links a:focus-visible,
.button:focus-visible,
.mode:focus-visible {
  outline: 2px solid rgb(12 99 206 / 42%);
  outline-offset: 2px;
}

.nav-links .nav-cta {
  border-color: rgb(12 99 206 / 22%);
  background: rgb(12 99 206 / 8%);
  color: var(--blue-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
}

[data-icon] svg,
.feature-icon svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 780;
  letter-spacing: 0;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover {
  background: #000;
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.button.secondary:hover {
  border-color: var(--line-strong);
  background: #fafdff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 480ms ease,
    transform 480ms ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--page);
}

.hero-grid {
  display: grid;
  width: min(var(--max), calc(100% - 32px));
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(32px, 6vw, 74px);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 76px) 0 42px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-proof {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 15px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-proof span {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgb(8 122 90 / 10%);
  color: var(--green);
}

.hero-proof span svg {
  width: 15px;
  height: 15px;
}

.hero-visual {
  min-width: 0;
}

.workspace-preview {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.window-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
}

.window-bar strong {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.traffic {
  display: inline-flex;
  gap: 6px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.traffic span:nth-child(1) {
  background: var(--rose);
}

.traffic span:nth-child(2) {
  background: var(--amber);
}

.traffic span:nth-child(3) {
  background: var(--green);
}

.mode-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  background: #f8fafc;
}

.mode {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
}

.mode.active {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 8px 18px rgb(21 25 34 / 7%);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(210px, 0.92fr);
  gap: 1px;
  background: var(--line);
}

.source-pane,
.pdf-pane,
.status-pane {
  min-width: 0;
  background: var(--surface);
}

.source-pane {
  display: grid;
  grid-row: span 2;
  grid-template-rows: auto 1fr;
}

.pane-title {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 12px 14px;
  color: var(--ink-soft);
  font-size: 13px;
}

.pane-title span {
  color: var(--blue);
}

.source-pane pre {
  min-height: 300px;
  margin: 0;
  overflow: hidden;
  padding: 18px;
  background: #10141c;
  color: #e9eef6;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.pdf-pane {
  min-height: 246px;
  padding: 22px;
}

.paper-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-strong);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pdf-pane h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: 0;
}

.pdf-pane p {
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.paper-lines {
  display: grid;
  gap: 8px;
}

.paper-lines span {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.paper-lines span:nth-child(1) {
  width: 100%;
}

.paper-lines span:nth-child(2) {
  width: 84%;
}

.paper-lines span:nth-child(3) {
  width: 62%;
}

.status-pane {
  padding-bottom: 14px;
}

.status-pane p {
  margin: 0;
  padding: 14px 14px 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.status-pane ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 8px 14px 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.status-pane li {
  position: relative;
  padding-left: 18px;
}

.status-pane li::before {
  position: absolute;
  top: 0.65em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.signal-strip {
  display: flex;
  width: min(var(--max), calc(100% - 32px));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 18px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 16px 18px;
  box-shadow: 0 12px 30px rgb(21 25 34 / 7%);
}

.signal-strip div {
  display: grid;
  gap: 2px;
}

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

.signal-strip span {
  color: var(--muted);
  font-size: 14px;
}

.signal-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}

.section-band {
  padding: clamp(64px, 9vw, 108px) 0;
}

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

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

.section-heading h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.control-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 28px rgb(21 25 34 / 6%);
}

.feature-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 260px;
}

.feature-icon,
.control-grid article > span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(12 99 206 / 18%);
  border-radius: var(--radius);
  background: rgb(12 99 206 / 8%);
  color: var(--blue-strong);
}

.feature-card h3,
.control-grid h3,
.model-list h3 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.feature-card p,
.control-grid p,
.model-list p {
  margin: 0;
  color: var(--muted);
}

.feature-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: end;
  color: var(--blue-strong);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.muted-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #eef3f8;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 96px;
  margin-bottom: 0;
}

.model-list {
  display: grid;
  gap: 12px;
}

.model-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.model-list article > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 840;
}

.model-list div {
  display: grid;
  gap: 7px;
}

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

.control-grid article {
  display: grid;
  gap: 12px;
  min-height: 232px;
}

.control-grid article:nth-child(2) > span {
  border-color: rgb(8 122 90 / 18%);
  background: rgb(8 122 90 / 9%);
  color: var(--green);
}

.control-grid article:nth-child(3) > span {
  border-color: rgb(154 100 22 / 18%);
  background: rgb(154 100 22 / 9%);
  color: var(--amber);
}

.control-grid article:nth-child(4) > span {
  border-color: rgb(168 62 85 / 16%);
  background: rgb(168 62 85 / 8%);
  color: var(--rose);
}

.rollout-band {
  padding-top: 0;
}

.rollout-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  box-shadow: var(--shadow);
}

.rollout-panel .eyebrow,
.rollout-panel h2,
.rollout-panel p {
  color: #fff;
}

.rollout-panel .section-heading {
  margin-bottom: 0;
}

.rollout-panel .section-heading p:not(.eyebrow) {
  color: rgb(255 255 255 / 74%);
}

.rollout-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rollout-steps li {
  display: grid;
  gap: 5px;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 7%);
  padding: 17px;
}

.rollout-steps strong {
  color: #fff;
  font-size: 17px;
}

.rollout-steps span {
  color: rgb(255 255 255 / 72%);
}

.contact-band {
  padding-top: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(26px, 5vw, 48px);
  box-shadow: 0 14px 36px rgb(21 25 34 / 8%);
}

.contact-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

.contact-panel p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

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

.footer-inner {
  display: grid;
  width: min(var(--max), calc(100% - 32px));
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  padding: 26px 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.site-footer nav a {
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-grid,
  .split-layout,
  .rollout-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    gap: 28px;
  }

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

  .sticky-heading {
    position: static;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  .nav-shell {
    width: min(100% - 24px, var(--max));
    min-height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 12px;
    left: 12px;
    display: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links a {
    justify-content: space-between;
    min-height: 44px;
  }

  .hero-grid {
    width: min(100% - 24px, var(--max));
    padding: 40px 0 32px;
  }

  .hero h1 {
    font-size: clamp(42px, 16vw, 62px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .workspace-grid {
    grid-template-columns: 1fr;
  }

  .source-pane {
    grid-row: auto;
  }

  .source-pane pre {
    min-height: 220px;
    font-size: 12px;
  }

  .window-bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .window-bar > span {
    display: none;
  }

  .signal-strip {
    width: min(100% - 24px, var(--max));
    flex-direction: column;
    align-items: flex-start;
    margin-top: 12px;
  }

  .section-inner {
    width: min(100% - 24px, var(--max));
  }

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

  .feature-card,
  .control-grid article {
    min-height: auto;
  }

  .model-list article {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    width: min(100% - 24px, var(--max));
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
