:root {
  --ink: #151713;
  --ink-soft: #252822;
  --paper: #f3f1eb;
  --surface: #fffdf8;
  --line: #d8d9d1;
  --muted: #62675f;
  --signal: #ff5c39;
  --signal-dark: #d94729;
  --mint: #b9f3d5;
  --green: #0c6b51;
  --green-dark: #0b3027;
  --yellow: #f3cf5b;
  --white: #ffffff;
  --radius: 8px;
  --shadow-product: 0 30px 80px rgba(23, 28, 22, 0.16);
  --max-w: 1240px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

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

.container {
  width: min(100% - 48px, var(--max-w));
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 4px;
  font-weight: 700;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: 72px;
  color: var(--ink);
  background: rgba(243, 241, 235, 0.94);
  border-bottom: 1px solid rgba(21, 23, 19, 0.12);
  backdrop-filter: blur(18px);
}

.site-header .nav {
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 7px;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  gap: 28px;
}

.nav-links a.link {
  position: relative;
  display: inline-block;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a.link::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a.link:hover {
  color: var(--ink);
}

.nav-links a.link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.nav-cta:hover {
  color: var(--ink);
  background: var(--mint);
}

.nav-cta svg {
  width: 15px;
  height: 15px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  background: rgba(21, 23, 19, 0.06);
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  min-width: 36px;
  height: 30px;
  padding: 0 8px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-btn.is-active {
  color: var(--white);
  background: var(--ink);
}

.lang-btn:not(.is-active):hover {
  color: var(--ink);
  background: rgba(21, 23, 19, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  place-items: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.hero-premium {
  position: relative;
  height: calc(100svh - 104px);
  min-height: 510px;
  max-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-premium::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 12, 0.96) 0%, rgba(12, 15, 12, 0.87) 42%, rgba(12, 15, 12, 0.32) 76%, rgba(12, 15, 12, 0.14) 100%),
    linear-gradient(0deg, rgba(12, 15, 12, 0.58) 0%, transparent 38%);
  content: "";
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  opacity: 0.9;
  animation: hero-focus 1.2s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  max-width: 760px;
  margin: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  animation: hero-rise 700ms 120ms ease-out both;
}

.product-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--mint);
  border: 2px solid rgba(185, 243, 213, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(185, 243, 213, 0.14);
}

.hero-premium h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 650;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-statement {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 450;
  line-height: 1.22;
}

.hero-lead {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 16px;
}

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

.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  color: var(--ink);
  background: var(--signal);
  border: 1px solid var(--signal);
  box-shadow: none;
}

.btn-primary:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: none;
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--ink);
}

.btn-dark:hover {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
  box-shadow: none;
}

.hero-signals {
  display: flex;
  margin: 28px 0 0;
  padding: 0;
  gap: 18px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
  list-style: none;
  font-size: 12px;
  font-weight: 650;
}

.hero-signals li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-signals li::before {
  width: 5px;
  height: 5px;
  background: var(--signal);
  border-radius: 50%;
  content: "";
}

.proof-strip {
  color: var(--ink);
  background: var(--signal);
  border-bottom: 1px solid rgba(21, 23, 19, 0.22);
}

.proof-grid {
  display: grid;
  min-height: 104px;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  display: flex;
  padding: 24px;
  border-left: 1px solid rgba(21, 23, 19, 0.23);
  flex-direction: column;
  justify-content: center;
}

.proof-item:last-child {
  border-right: 1px solid rgba(21, 23, 19, 0.23);
}

.proof-item strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.proof-item span {
  margin-top: 2px;
  color: rgba(21, 23, 19, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.section-premium {
  padding: 112px 0;
}

.section-white {
  background: var(--surface);
}

.section-heading {
  display: grid;
  margin-bottom: 56px;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: start;
}

.section-heading .eyebrow {
  margin: 9px 0 0;
  color: var(--signal-dark);
}

.section-heading h2,
.install-intro h2,
.cta-band h2 {
  max-width: 820px;
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p,
.install-intro > p,
.cta-band > p {
  max-width: 700px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.product-stage {
  margin: 0;
  background: #e8e9e2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-product);
  overflow: hidden;
}

.window-bar {
  display: flex;
  height: 44px;
  padding: 0 16px;
  background: #eceee9;
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 9px;
  height: 9px;
  background: #aeb3aa;
  border-radius: 50%;
}

.window-dot:first-child {
  background: var(--signal);
}

.window-dot:nth-child(2) {
  background: var(--yellow);
}

.window-dot:nth-child(3) {
  background: #52c58b;
}

.window-address {
  margin-left: 10px;
  color: #73796f;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.product-stage img {
  width: 100%;
  aspect-ratio: 2036 / 1086;
  object-fit: cover;
}

.product-stage figcaption {
  display: flex;
  padding: 18px 22px;
  background: var(--surface);
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}

.product-stage figcaption span:first-child {
  font-weight: 750;
}

.caption-meta {
  color: var(--muted);
}

.product-detail-grid {
  display: grid;
  margin-top: 88px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.product-shot {
  min-width: 0;
  border-top: 1px solid var(--ink);
}

.shot-media {
  margin-top: 18px;
  background: #e8e9e2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.shot-media img {
  width: 100%;
  aspect-ratio: 2036 / 1086;
  object-fit: cover;
}

.product-shot header {
  position: static;
  display: grid;
  height: auto;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}

.shot-number,
.capability-number {
  color: var(--signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.product-shot h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 25px;
  font-weight: 650;
}

.product-shot p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.capabilities-section {
  color: var(--white);
  background: var(--ink);
}

.capabilities-section .section-heading h2,
.capabilities-section .section-heading p {
  color: var(--white);
}

.capabilities-section .section-heading p {
  color: rgba(255, 255, 255, 0.6);
}

.capabilities-section .section-heading .eyebrow {
  color: var(--mint);
}

.capability-list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.capability-row {
  display: grid;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-template-columns: 90px minmax(220px, 0.85fr) minmax(280px, 1.15fr);
  gap: 32px;
  align-items: start;
}

.capability-row .capability-number {
  padding-top: 7px;
  color: var(--signal);
}

.capability-row h3 {
  margin: 0;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 550;
  line-height: 1.15;
}

.capability-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
}

.capability-tags {
  display: flex;
  margin: 16px 0 0;
  padding: 0;
  gap: 8px 18px;
  flex-wrap: wrap;
  list-style: none;
}

.capability-tags li {
  color: var(--mint);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.architecture-flow {
  display: grid;
  margin-top: 72px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.flow-node {
  position: relative;
  min-height: 148px;
  padding: 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.flow-node:last-child {
  border-right: 0;
}

.flow-node:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -13px;
  display: grid;
  width: 26px;
  height: 26px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 50%;
  content: "→";
  place-items: center;
  font-size: 14px;
  transform: translateY(-50%);
}

.flow-node span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flow-node h4 {
  margin: 18px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.flow-node p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

.demo-section {
  background: var(--paper);
}

.video-wrap {
  position: relative;
  display: block;
  max-width: none;
  margin: 0;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-product);
  overflow: hidden;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  color: var(--ink);
  place-items: center;
  pointer-events: none;
}

.video-play::before {
  width: 82px;
  height: 82px;
  background: rgba(243, 207, 91, 0.92);
  border: 2px solid rgba(21, 23, 19, 0.22);
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(12, 15, 12, 0.26);
  content: "";
}

.video-play svg {
  position: absolute;
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.video-wrap:hover .video-play::before {
  background: var(--signal);
}

.install-section {
  color: var(--white);
  background: var(--green-dark);
}

.install-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  gap: 72px;
  align-items: start;
}

.install-intro {
  position: sticky;
  top: 112px;
}

.install-intro .eyebrow {
  color: var(--mint);
}

.install-intro h2 {
  color: var(--white);
}

.install-intro > p {
  color: rgba(255, 255, 255, 0.65);
}

.install-assurances {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.install-assurances li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.install-assurances svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--mint);
  flex: 0 0 auto;
}

.install-console {
  min-width: 0;
  background: #101612;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.console-header {
  display: flex;
  min-height: 58px;
  padding: 10px 12px;
  background: #1a211c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.install-tabs {
  display: inline-flex;
  padding: 3px;
  background: #0e120f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.install-tab {
  min-height: 34px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.install-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--mint);
}

.copy-button {
  display: inline-flex;
  width: 112px;
  min-width: 112px;
  height: 36px;
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.copy-button:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
}

.copy-button svg {
  width: 14px;
  height: 14px;
}

.install-panel[hidden] {
  display: none;
}

.install-panel pre {
  min-height: 390px;
  margin: 0;
  padding: 28px;
  color: #dce8df;
  overflow-x: auto;
  white-space: pre;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
}

.code-comment {
  color: #718078;
}

.code-command {
  color: var(--mint);
}

.install-steps {
  display: grid;
  padding: 0 28px 28px;
  gap: 0;
  counter-reset: install-step;
}

.install-step {
  display: grid;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 36px 1fr;
  gap: 10px;
  counter-increment: install-step;
}

.install-step[hidden] {
  display: none;
}

.install-step::before {
  color: var(--signal);
  content: "0" counter(install-step);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

.install-step strong {
  display: block;
  color: var(--white);
  font-size: 14px;
}

.install-step p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.install-step code,
.lifecycle code {
  color: var(--mint);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.92em;
}

.lifecycle {
  display: grid;
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.lifecycle article {
  min-width: 0;
}

.lifecycle span {
  color: var(--signal);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lifecycle h3 {
  margin: 12px 0 0;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.lifecycle p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.docs-section {
  background: var(--surface);
}

.docs-list {
  display: grid;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
}

.docs-grid {
  display: grid;
  margin-top: 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.docs-grid .doc-card {
  display: flex;
  min-height: 138px;
  padding: 26px;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  align-items: flex-start;
  gap: 18px;
  text-decoration: none;
  transition: background var(--transition);
}

.docs-grid .doc-card:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.docs-grid .doc-card:hover {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
  transform: none;
}

.docs-grid .doc-card .d-icon {
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--mint);
  border-radius: 5px;
  flex: 0 0 auto;
  place-items: center;
}

.docs-grid .doc-card .d-icon svg {
  width: 18px;
  height: 18px;
}

.docs-grid .doc-card h4 {
  margin: 1px 0 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}

.docs-grid .doc-card h3 {
  margin: 1px 0 0;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
}

.docs-grid .doc-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.docs-grid .doc-card .tag {
  padding: 2px 5px;
  color: var(--signal-dark);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
}

.doc-link {
  display: grid;
  min-height: 148px;
  padding: 28px 26px;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  gap: 20px;
  text-decoration: none;
  transition: background var(--transition);
}

.doc-link:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.doc-link:hover {
  background: var(--paper);
}

.doc-type {
  display: block;
  margin-bottom: 16px;
  color: var(--signal-dark);
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.doc-link h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 650;
}

.doc-link p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.doc-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.doc-link:hover .doc-arrow {
  color: var(--white);
  background: var(--ink);
  transform: translate(2px, -2px);
}

.doc-arrow svg {
  width: 15px;
  height: 15px;
}

.docs-footer {
  display: flex;
  margin-top: 34px;
  justify-content: flex-end;
}

.cta-section {
  padding: 0;
  color: var(--ink);
  background: var(--signal);
}

.cta-band {
  display: grid;
  min-height: 360px;
  padding: 72px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  text-align: left;
}

.cta-band h2 {
  max-width: 740px;
}

.cta-band > div > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: rgba(21, 23, 19, 0.72);
  font-size: 17px;
}

.cta-band .cta-actions {
  margin: 0;
  flex-direction: column;
  align-items: stretch;
}

.cta-band .btn {
  min-width: 190px;
}

.cta-band .btn-secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(21, 23, 19, 0.46);
}

.cta-band .btn-secondary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.site-footer {
  margin: 0;
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.66);
  background: var(--ink);
}

.footer-top {
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand .brand-mark {
  color: var(--ink);
  background: var(--mint);
  border-color: var(--mint);
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-brand p {
  max-width: 410px;
  margin: 20px 0 0;
  font-size: 14px;
}

.footer-cols {
  gap: 72px;
}

.footer-col h5 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--mint);
}

.footer-bottom {
  padding-top: 26px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-focus {
  from {
    opacity: 0.45;
    transform: scale(1.035);
  }
  to {
    opacity: 0.9;
    transform: scale(1);
  }
}

@media (max-width: 1040px) {
  .install-grid {
    grid-template-columns: 1fr;
  }

  .install-intro {
    position: static;
  }

  .capability-row {
    grid-template-columns: 64px minmax(180px, 0.8fr) minmax(240px, 1.2fr);
    gap: 24px;
  }

  .architecture-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-node:nth-child(2) {
    border-right: 0;
  }

  .flow-node:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .flow-node:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 36px, var(--max-w));
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100svh - 72px);
    padding: 28px 18px 36px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a.link {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
  }

  .nav-links a.link::after {
    display: none;
  }

  .nav-cta {
    margin-top: 20px;
    justify-content: center;
  }

  .lang-switch {
    margin-top: 18px;
    align-self: flex-start;
  }

  .hero-premium {
    height: calc(100svh - 96px);
    min-height: 540px;
  }

  .hero-premium::after {
    background: linear-gradient(90deg, rgba(12, 15, 12, 0.94) 0%, rgba(12, 15, 12, 0.82) 64%, rgba(12, 15, 12, 0.5) 100%);
  }

  .hero-background {
    object-position: 60% top;
  }

  .hero-content {
    max-width: 620px;
  }

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

  .proof-item:nth-child(3),
  .proof-item:nth-child(4) {
    border-top: 1px solid rgba(21, 23, 19, 0.23);
  }

  .proof-item:nth-child(2) {
    border-right: 1px solid rgba(21, 23, 19, 0.23);
  }

  .section-premium {
    padding: 88px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading .eyebrow {
    margin: 0;
  }

  .product-detail-grid {
    margin-top: 64px;
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .capability-row {
    grid-template-columns: 48px 1fr;
  }

  .capability-copy {
    grid-column: 2;
  }

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

  .cta-band {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .cta-band .cta-actions {
    flex-direction: row;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max-w));
  }

  .site-header,
  .site-header .nav {
    height: 64px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-links {
    top: 64px;
    max-height: calc(100svh - 64px);
  }

  .lang-switch {
    align-self: stretch;
    justify-content: center;
  }

  .hero-premium {
    height: calc(100svh - 92px);
    min-height: 520px;
    max-height: 720px;
  }

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

  .hero-statement {
    font-size: 21px;
  }

  .hero-lead {
    display: none;
  }

  .hero-actions {
    width: 100%;
    margin-top: 24px;
  }

  .hero-actions .btn {
    min-width: calc(50% - 6px);
    padding: 0 13px;
  }

  .hero-signals {
    margin-top: 20px;
    gap: 8px 14px;
  }

  .hero-signals li:last-child {
    display: none;
  }

  .proof-item {
    min-height: 94px;
    padding: 18px 14px;
  }

  .proof-item strong {
    font-size: 15px;
  }

  .section-premium {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .install-intro h2,
  .cta-band h2 {
    font-size: 34px;
  }

  .section-heading p,
  .install-intro > p {
    font-size: 16px;
  }

  .window-address {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-stage figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .product-shot header {
    grid-template-columns: 38px 1fr;
  }

  .capability-row {
    padding: 28px 0;
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .architecture-flow {
    grid-template-columns: 1fr;
  }

  .flow-node,
  .flow-node:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .flow-node:last-child {
    border-bottom: 0;
  }

  .flow-node::after {
    display: none !important;
  }

  .console-header {
    align-items: stretch;
    flex-direction: column;
  }

  .install-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .copy-button {
    align-self: flex-end;
  }

  .install-panel pre {
    min-height: 0;
    padding: 22px 18px;
    font-size: 11px;
  }

  .install-steps {
    padding: 0 18px 20px;
  }

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

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

  .docs-grid .doc-card:nth-child(odd) {
    border-right: 0;
  }

  .doc-link:nth-child(odd) {
    border-right: 0;
  }

  .doc-link {
    min-height: 136px;
    padding: 24px 18px;
  }

  .cta-band {
    padding: 58px 0;
  }

  .cta-band .cta-actions {
    flex-direction: column;
  }

  .footer-cols {
    width: 100%;
    gap: 36px;
    justify-content: space-between;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-height: 660px) {
  .hero-premium {
    min-height: 480px;
  }

  .product-kicker {
    margin-bottom: 12px;
  }

  .hero-statement {
    margin-top: 14px;
  }

  .hero-lead {
    margin-top: 10px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-signals {
    margin-top: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}