@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Sora:wght@400;500;600;700&display=swap");

:root {
  --page-bg: #f7f7f7;
  --wash-color: rgba(247, 247, 247, 1);
  --wash-mid: rgba(247, 247, 247, 0.55);
  --wash-edge: rgba(247, 247, 247, 0.1);
  --surface: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.92);
  --text: #0a0a0a;
  --text-muted: rgba(10, 10, 10, 0.6);
  --edge: rgba(10, 10, 10, 0.12);
  --shadow: 0 24px 60px rgba(10, 10, 10, 0.16);
  --shadow-soft: 0 16px 32px rgba(10, 10, 10, 0.08);
  --contrast-bg: #0a0a0a;
  --contrast-text: #f7f7f7;
  --track-bg: rgba(10, 10, 10, 0.04);
  --accent-sage: #8ea78f;
  --accent-gold: #c8a85c;
  --accent-gold-bright: #e0c57b;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  background-color: var(--page-bg);
  transition: background-color 700ms ease, color 700ms ease;
}

html.process-locked,
body.process-locked {
  overflow: hidden;
}

body.process-locked {
  padding-right: var(--scroll-lock-gap, 0px);
  padding-top: var(--header-lock-height, 0px);
}

.process-locked .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}


.grid-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.page-wash {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    90deg,
    var(--wash-edge) 0%,
    var(--wash-mid) 20%,
    var(--wash-color) 50%,
    var(--wash-color) 60%,
    var(--wash-mid) 80%,
    var(--wash-edge) 100%
  );
}

.scroll-top-btn {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
  z-index: 20;
}

.scroll-top-btn svg {
  width: 18px;
  height: 18px;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-top-btn:hover,
.scroll-top-btn:focus-visible {
  border-color: var(--accent-sage);
  color: var(--accent-sage);
  box-shadow: 0 12px 24px rgba(142, 167, 143, 0.25);
}

.welcome-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  color: #0a0a0a;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
}

.welcome-overlay.is-active {
  animation: welcome-fade 4500ms ease forwards;
}

.welcome-overlay.is-active .welcome-text {
  animation: welcome-slide 4500ms ease forwards;
}

.welcome-text {
  font-weight: 700;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
}

body.theme-dark {
  --page-bg: #111111;
  --wash-color: rgba(17, 17, 17, 1);
  --wash-mid: rgba(17, 17, 17, 0.55);
  --wash-edge: rgba(17, 17, 17, 0.1);
  --surface: #1b1b1b;
  --surface-soft: rgba(20, 20, 20, 0.92);
  --text: #f7f7f2;
  --text-muted: rgba(247, 247, 242, 0.72);
  --edge: rgba(247, 247, 242, 0.08);
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  --shadow-soft: 0 18px 36px rgba(0, 0, 0, 0.45);
  --contrast-bg: #f7f7f2;
  --contrast-text: #0a0a0a;
  --track-bg: rgba(247, 247, 242, 0.08);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

a:not(.btn):hover {
  color: var(--accent-gold);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 200ms ease, background-color 700ms ease, border-color 700ms ease, color 700ms ease;
  z-index: 50;
}

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

.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--page-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--edge);
  color: var(--text);
  transition: background-color 700ms ease, border-color 700ms ease, color 700ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 700ms ease;
}

.brand-slash {
  font-size: 2.2rem;
  line-height: 0.7;
  font-weight: 900;
  transform: translateY(0.2rem) scaleX(1.8);
  color: var(--text);
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  transition: color 700ms ease;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
  transition: color 700ms ease;
}

.nav a {
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 700ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-sage), var(--accent-gold), transparent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.nav a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav a:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, color 200ms ease, border-color 200ms ease, background-color 700ms ease;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(200, 168, 92, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-sage), var(--accent-gold));
  color: #0a0a0a;
  border-color: rgba(111, 140, 115, 0.7);
  box-shadow: 0 14px 30px rgba(111, 140, 115, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(111, 140, 115, 0.45);
}

.btn-ghost {
  border-color: var(--edge);
  color: var(--text);
  background: var(--surface-soft);
  transition: background-color 700ms ease, color 700ms ease, border-color 700ms ease;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--text);
  background: var(--surface-soft);
}

main {
  padding: 2.5rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.band {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background-color: transparent;
  color: var(--text);
  position: relative;
  animation: rise 700ms ease forwards;
  opacity: 0;
  transform: translateY(14px);
  transition: background-color 700ms ease, color 700ms ease;
}

.band:nth-of-type(1) { animation-delay: 80ms; }
.band:nth-of-type(2) { animation-delay: 150ms; }
.band:nth-of-type(3) { animation-delay: 220ms; }
.band:nth-of-type(4) { animation-delay: 290ms; }
.band:nth-of-type(5) { animation-delay: 360ms; }
.band:nth-of-type(6) { animation-delay: 430ms; }
.band:nth-of-type(7) { animation-delay: 500ms; }
.band:nth-of-type(8) { animation-delay: 570ms; }
.band:nth-of-type(9) { animation-delay: 640ms; }

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.hero-eyebrow {
  grid-column: 1 / -1;
  text-align: center;
}

.hero-left,
.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.hero-left {
  text-align: right;
  padding-right: clamp(1.5rem, 3vw, 3rem);
}

.hero-right {
  border-left: 1px solid var(--edge);
  padding-left: clamp(1.5rem, 3vw, 3rem);
}

.eyebrow {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent-sage);
  margin: 0 0 2rem 0;
}

h1, h2, h3 {
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--text);
  transition: color 700ms ease;
}

h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.8rem);
  line-height: 1.28;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0.9rem 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  transition: color 700ms ease;
}

.lead {
  font-size: 1.4rem;
}

.sublead {
  font-size: 1.05rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  transition: color 700ms ease;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 700ms ease;
}

.widget-strip {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.widget {
  padding: 1.4rem;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}

.widget-title {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: color 700ms ease;
}

.widget-value {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 700ms ease;
}

.widget-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 700ms ease;
}


.badge-stack {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.badge-item {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  opacity: 0.55;
  transform: translateY(0) scale(0.98);
  box-shadow: none;
  animation: badge-pulse 2.8s ease-in-out infinite;
  transition: color 700ms ease, background-color 700ms ease, border-color 700ms ease;
}

.badge-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent-gold);
  box-shadow: 0 0 8px rgba(200, 168, 92, 0.45);
}

.badge-item:nth-child(2) {
  animation-delay: 0.93s;
}

.badge-item:nth-child(3) {
  animation-delay: 1.86s;
}

.layout-demo {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: end;
}

.frame {
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 0.6rem;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0.18;
  transform: translateY(6px) scale(0.98);
  transform-origin: center;
  animation: frame-cycle 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: background-color 700ms ease, border-color 700ms ease;
}

.frame-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  color: var(--text-muted);
  transition: color 700ms ease;
}

.frame-body {
  display: grid;
  gap: 0.35rem;
}

.frame .block {
  animation: block-glow 5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.frame-desktop .block {
  animation-delay: 0s;
}

.frame-tablet .block {
  animation-delay: 1.7s;
}

.frame-mobile .block {
  animation-delay: 3.4s;
}

.block {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-sage), var(--accent-gold));
  opacity: 0.7;
  transform-origin: left;
  transform: scaleX(0.9);
}

.block.short {
  width: 60%;
}

.block.wide {
  width: 100%;
}

.frame-desktop {
  animation-delay: 0s;
}

.frame-tablet {
  animation-delay: 1.7s;
}

.frame-mobile {
  animation-delay: 3.4s;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.process-header {
  margin-bottom: 0.75rem;
}

.process-header .sublead {
  margin-bottom: 0;
}

.process-freeze {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


.process-scrollbox {
  height: clamp(22rem, 55vh, 34rem);
  max-height: clamp(22rem, 55vh, 34rem);
  overflow-y: hidden;
  padding-right: 0;
  outline: none;
  overscroll-behavior: auto;
}

.process-scroll {
  --process-step-height: 40vh;
  position: relative;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  display: flex;
  align-items: center;
}

.process-sticky {
  position: relative;
  width: 100%;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.15fr);
  gap: 2.5rem;
  align-items: stretch;
}

.process-timeline {
  position: relative;
  padding-left: 1.6rem;
}

.timeline-track {
  position: absolute;
  left: 0.45rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 2px;
  background: var(--edge);
  border-radius: 999px;
}

.timeline-progress {
  position: absolute;
  left: 0.45rem;
  width: 2px;
  height: 0;
  top: 0;
  background: var(--accent-sage);
  box-shadow: 0 0 12px rgba(142, 167, 143, 0.55);
  border-radius: 999px;
}

.timeline-indicator {
  position: absolute;
  left: 0.45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
}

.timeline-indicator svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 8px rgba(142, 167, 143, 0.6));
}

.indicator-ring {
  fill: none;
  stroke: var(--accent-sage);
  stroke-width: 3;
  stroke-linecap: round;
}

.timeline-group {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
}

.timeline-group-title {
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.timeline-node {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 240ms ease, transform 240ms ease;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  background: var(--page-bg);
  transition: background-color 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.timeline-node.is-active {
  color: var(--text);
  transform: translateX(2px);
}

.timeline-node.is-active::before {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  box-shadow: 0 0 8px rgba(200, 168, 92, 0.55);
}

.process-content {
  position: relative;
  min-height: 320px;
  height: clamp(22rem, 55vh, 34rem);
  overflow-y: hidden;
  scrollbar-gutter: stable;
  padding-right: 0.75rem;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  overscroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.process-content.is-scrollable {
  overflow-y: auto;
}

.process-content::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.process-content-scroll {
  height: calc(var(--process-steps) * var(--process-step-height));
  pointer-events: none;
  visibility: hidden;
}

.process-content-panels {
  position: sticky;
  top: 0;
  min-height: 100%;
}

.process-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms ease, transform 320ms ease;
  pointer-events: none;
}

.process-panel.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-nav {
  display: inline-flex;
  gap: 0.6rem;
  margin-top: 1.5rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

.panel-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--edge);
  background: var(--surface);
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 200ms ease, color 200ms ease;
}

.panel-nav-btn svg {
  width: 14px;
  height: 14px;
}

.panel-nav-btn:hover,
.panel-nav-btn:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent-sage);
  box-shadow: 0 10px 18px rgba(10, 10, 10, 0.12);
}

.panel-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.panel-step {
  display: inline-flex;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--accent-sage);
  margin-bottom: 0.6rem;
}

.process-footnote {
  text-align: right;
}

.process-footnote p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  margin: 0;
}

.title-ring {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 6px rgba(142, 167, 143, 0.45));
}

.title-ring svg {
  width: 100%;
  height: 100%;
}

.ring-track,
.ring-progress {
  fill: none;
  stroke-width: 3;
}

.ring-track {
  stroke: var(--edge);
}

.ring-progress {
  stroke: var(--accent-sage);
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  animation: ring-fill var(--ring-duration, 5000ms) linear infinite;
}

.card {
  padding: 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease, transform 240ms ease, opacity 240ms ease;
}

.card p {
  margin: 0.6rem 0 0;
}

.card:hover,
.card:focus-within {
  animation-name: none;
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.band#platform .card {
  opacity: 0.55;
  will-change: transform, box-shadow, opacity;
}

.band#platform .card.is-active {
  opacity: 1;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  align-items: start;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.list li {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  font-size: 0.98rem;
  transition: background-color 700ms ease, border-color 700ms ease;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  padding: 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  position: relative;
  transition: background-color 700ms ease, border-color 700ms ease;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--contrast-bg);
  color: var(--contrast-text);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pill {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  font-size: 0.9rem;
  transition: background-color 700ms ease, border-color 700ms ease;
}

.build-intro {
  margin-top: 0.5rem;
  max-width: 42rem;
}

.build-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.build-block {
  display: grid;
  grid-template-columns: minmax(96px, 140px) 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease;
}

.build-block h3 {
  margin: 0;
}

.build-block p {
  margin-bottom: 0;
}

.build-visual {
  width: 100%;
  height: 90px;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: linear-gradient(135deg, var(--wash-edge), var(--surface));
  position: relative;
  overflow: hidden;
}

.build-visual .shape {
  position: absolute;
  border: 1px solid var(--edge);
  background: var(--surface);
  border-radius: 8px;
  animation-fill-mode: both;
  will-change: transform, opacity;
}

.visual-ai {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-ai animated-icons {
  width: 80px;
  height: 80px;
  display: block;
}

.visual-web {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-web animated-icons {
  width: 80px;
  height: 80px;
  display: block;
}

.visual-integrations {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-integrations animated-icons {
  width: 80px;
  height: 80px;
  display: block;
}

.visual-infra {
  display: grid;
  place-items: center;
}

.visual-infra animated-icons {
  width: 80px;
  height: 80px;
  display: block;
}

.visual-web .shape-1 {
  left: 12px;
  right: 12px;
  top: 14px;
  height: 12px;
  animation: build-bars 6s ease-in-out infinite;
}

.visual-web .shape-2 {
  left: 12px;
  right: 28px;
  top: 38px;
  height: 12px;
  animation: build-bars 6.8s ease-in-out infinite 0.35s;
}

.visual-web .shape-3 {
  left: 12px;
  right: 20px;
  top: 62px;
  height: 12px;
  animation: build-bars 6.4s ease-in-out infinite 0.7s;
}

.visual-ai .shape-1 {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: 16px;
  top: 24px;
  animation: ai-node 6.2s ease-in-out infinite;
}

.visual-ai .shape-2 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  left: 78px;
  top: 34px;
  border-color: var(--accent-sage);
  animation: ai-node 7s ease-in-out infinite 0.6s;
}

.visual-ai .shape-3 {
  width: 64px;
  height: 2px;
  left: 26px;
  top: 31px;
  border: none;
  background: linear-gradient(90deg, var(--edge), var(--accent-sage), var(--edge));
  background-size: 200% 100%;
  border-radius: 999px;
  animation: ai-link 4.6s linear infinite;
}

.visual-integrations .shape-1 {
  width: 30px;
  height: 30px;
  left: 14px;
  top: 30px;
  animation: integration-node 5.6s ease-in-out infinite;
}

.visual-integrations .shape-2 {
  width: 30px;
  height: 30px;
  right: 14px;
  top: 30px;
  animation: integration-node 5.6s ease-in-out infinite 0.5s;
}

.visual-integrations .shape-3 {
  height: 2px;
  left: 46px;
  right: 46px;
  top: 45px;
  border: none;
  background: var(--edge);
  border-radius: 999px;
  transform-origin: center;
  animation: integration-line 3.8s ease-in-out infinite;
}

.visual-infra .shape-1 {
  left: 16px;
  right: 16px;
  bottom: 16px;
  height: 12px;
  border-radius: 6px;
  animation: infra-base 4.8s ease-in-out infinite;
}

.visual-infra .shape-2 {
  width: 22px;
  height: 22px;
  left: 28px;
  top: 24px;
  border-radius: 6px;
  animation: infra-unit 5.2s ease-in-out infinite;
}

.visual-infra .shape-3 {
  width: 22px;
  height: 22px;
  right: 28px;
  top: 24px;
  border-radius: 6px;
  animation: infra-unit 5.2s ease-in-out infinite 0.6s;
}

@keyframes build-bars {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.92;
  }
  50% {
    transform: translateX(10px);
    opacity: 1;
  }
}

@keyframes ai-node {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(6px, -4px) scale(1.08);
  }
}

@keyframes ai-link {
  0% {
    background-position: 0% 50%;
    opacity: 0.7;
  }
  100% {
    background-position: 200% 50%;
    opacity: 1;
  }
}

@keyframes integration-node {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes integration-line {
  0%, 100% {
    transform: scaleX(0.85);
    opacity: 0.6;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes infra-base {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.9;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

@keyframes infra-unit {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.pricing-section h3 {
  margin-top: 2rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  border: 1px solid var(--edge);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-soft);
  box-shadow: var(--shadow-soft);
  min-width: 520px;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--edge);
  font-weight: 500;
}

.pricing-table thead th {
  font-size: 1.05rem;
  color: var(--text);
  background: var(--surface);
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-table-compact th {
  width: 45%;
  color: var(--text);
}

.pricing-table-compact td {
  color: var(--text-muted);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
}

.table-wrap:focus-within {
  box-shadow: 0 0 0 3px rgba(200, 168, 92, 0.2);
}

.process-static .process-timeline {
  display: none;
}

.process-static .process-grid {
  grid-template-columns: 1fr;
}

.process-static .process-scrollbox {
  height: auto;
  max-height: none;
  overflow: visible;
}

.process-static .process-content {
  height: auto;
  min-height: 0;
  overflow: visible;
  padding-right: 0;
}

.process-static .process-content-panels {
  position: static;
  min-height: 0;
  display: grid;
  gap: 1.5rem;
}

.process-static .process-panel {
  position: relative;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.process-static .process-content-scroll {
  display: none;
}

.process-static .panel-nav {
  display: none;
}

.data-panel {
  border-radius: 16px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease;
}

.data-panel ul {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.data-panel li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  font-size: 0.9rem;
  color: var(--text);
  transition: color 700ms ease;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.case {
  padding: 1.6rem;
  border-radius: 14px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease;
}

.case p {
  color: var(--text-muted);
}

.quote-card {
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  transition: background-color 700ms ease, border-color 700ms ease, box-shadow 700ms ease;
}

.cta-panel {
  text-align: center;
}

.cta-panel .cta-group {
  justify-content: center;
}

.cta-meta {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: color 700ms ease;
}

.contact-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 40;
}

.contact-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.contact-dialog {
  position: relative;
  width: min(720px, 100%);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--edge);
  background: var(--surface);
  box-shadow: var(--shadow);
  max-height: 90vh;
  overflow-y: auto;
}

.contact-subhead {
  margin-top: 0.4rem;
  max-width: 34rem;
}

.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--edge);
  background: var(--surface-soft);
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: var(--text);
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(200, 168, 92, 0.2);
}

.contact-trap {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-status {
  font-size: 0.95rem;
  color: var(--text-muted);
}

body.modal-open {
  overflow: hidden;
}

.site-footer {
  background: transparent;
  color: var(--text);
  padding: 3rem 0 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--edge);
  transition: background-color 700ms ease, border-color 700ms ease, color 700ms ease;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-grid h4 {
  margin: 0 0 0.8rem 0;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  transition: color 700ms ease;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 700ms ease;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-flag {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
}

.footer-flag svg {
  width: 36px;
  height: 24px;
  display: block;
}

.footer-bottom {
  margin-top: 2.5rem;
  border-top: 1px solid var(--edge);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  transition: color 700ms ease, border-color 700ms ease;
}

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

@keyframes welcome-slide {
  0% {
    opacity: 0;
    transform: translateX(-24px);
  }
  40% {
    opacity: 1;
    transform: translateX(0);
  }
  70% {
    opacity: 0;
    transform: translateX(24px);
  }
  100% {
    opacity: 0;
    transform: translateX(24px);
  }
}

@keyframes welcome-fade {
  0%, 70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes ring-fill {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes card-cycle {
  0% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
    box-shadow: var(--shadow-soft);
  }
  2% {
    opacity: 1;
    transform: translate3d(0, -6px, 0);
    box-shadow: var(--shadow);
  }
  32% {
    opacity: 1;
    transform: translate3d(0, -6px, 0);
    box-shadow: var(--shadow);
  }
  33.333% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
    box-shadow: var(--shadow-soft);
  }
  100% {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
    box-shadow: var(--shadow-soft);
  }
}


@keyframes badge-pulse {
  0%, 20% {
    opacity: 0.55;
    transform: scale(0.98);
    box-shadow: none;
  }
  30%, 55% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 1px rgba(200, 168, 92, 0.35);
  }
  70%, 100% {
    opacity: 0.55;
    transform: scale(0.98);
    box-shadow: none;
  }
}

@keyframes frame-cycle {
  0% {
    opacity: 0.18;
    transform: translateY(6px) scale(0.98);
    box-shadow: none;
  }
  12% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    box-shadow: none;
  }
  28% {
    opacity: 1;
    transform: translateY(0) scale(1.03);
    box-shadow: var(--shadow-soft);
  }
  42% {
    opacity: 0.18;
    transform: translateY(0) scale(1);
    box-shadow: none;
  }
  100% {
    opacity: 0.18;
    transform: translateY(6px) scale(0.98);
    box-shadow: none;
  }
}

@keyframes block-glow {
  0% {
    opacity: 0.35;
    transform: scaleX(0.92);
  }
  12% {
    opacity: 0.9;
    transform: scaleX(1.02);
  }
  28% {
    opacity: 0.9;
    transform: scaleX(1.02);
  }
  42%, 100% {
    opacity: 0.35;
    transform: scaleX(0.92);
  }
}

@media (max-width: 960px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-left {
    text-align: left;
    padding-right: 0;
  }

  .hero-right {
    border-left: none;
    border-top: 1px solid var(--edge);
    padding-left: 0;
    padding-top: 1.5rem;
  }

  .process-scrollbox {
    height: clamp(20rem, 60vh, 32rem);
    max-height: clamp(20rem, 60vh, 32rem);
    padding-right: 0;
  }

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

  .process-content {
    min-height: 260px;
    height: clamp(20rem, 60vh, 32rem);
    padding-right: 0.5rem;
  }

  .build-block {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .build-visual {
    max-width: 220px;
    height: 80px;
  }

  .visual-ai animated-icons {
    width: 64px;
    height: 64px;
  }

  .visual-web animated-icons {
    width: 64px;
    height: 64px;
  }

  .visual-integrations animated-icons {
    width: 64px;
    height: 64px;
  }

  .visual-infra animated-icons {
    width: 64px;
    height: 64px;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.85rem;
  }

  .process-footnote {
    text-align: left;
  }

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

  .contact-dialog {
    padding: 1.5rem;
  }

  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1120px, 100% - 2rem);
  }

  .header-inner {
    gap: 1rem;
  }

  .brand {
    flex-wrap: wrap;
  }

  .brand-tag {
    letter-spacing: 0.12em;
  }

  .nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-eyebrow {
    text-align: left;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

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

  .frame {
    min-height: 72px;
  }

  .meta {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .site-header {
    position: static;
  }

}

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

  * {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .band {
    opacity: 1;
    transform: none;
  }
}
