:root {
  --bg: #030405;
  --panel: rgba(8, 12, 14, 0.82);
  --panel-strong: rgba(11, 16, 18, 0.94);
  --line: rgba(190, 210, 210, 0.13);
  --line-strong: rgba(230, 245, 245, 0.22);
  --text: #f2f6f4;
  --muted: #a1aaa9;
  --quiet: #687271;
  --green: #55ef8f;
  --blue: #88ccff;
  --violet: #a995ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 58% 5%, rgba(121, 158, 172, 0.12), transparent 25rem),
    radial-gradient(circle at 16% 30%, rgba(92, 255, 161, 0.045), transparent 22rem),
    linear-gradient(180deg, #050607, var(--bg) 38%, #020303);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.036) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

body::after {
  content: none;
}

body.is-language-switching [data-i18n],
body.is-language-switching [data-i18n-html],
body.is-language-switching #flow-title,
body.is-language-switching #flow-result,
body.is-language-switching #spec-question,
body.is-language-switching #spec-history,
body.is-language-switching #blueprint-map,
body.is-language-switching #blueprint-status {
  opacity: 0.82;
  transition: opacity 160ms ease;
}

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

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

.site-shell {
  width: min(100%, 1260px);
  margin: 0 auto;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 0 clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(3, 4, 5, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
}

.nav-links,
.top-action,
.kicker,
.service-line,
.micro-note,
.panel-title,
.section-link,
.service-card li,
.service-card a,
.builder-tabs button,
.console-label,
.tag-row,
.spec-meta,
.spec-progress,
.spec-kicker,
.spec-pill-grid button,
.spec-actions button,
.spec-field,
.spec-history,
.blueprint-head,
.blueprint-node,
.blueprint-status,
.assembly-sequence,
.submit-result,
.footer {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.brand-wordmark {
  display: block;
  width: clamp(150px, 11.5vw, 170px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  color: #c4cccb;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 29px 0 27px;
}

.nav-links a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: #f5f7f6;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.8);
}

.top-action {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: #f7faf8;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.top-controls {
  display: flex;
  justify-self: end;
  gap: 18px;
  align-items: center;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #66706f;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.68rem;
  font-weight: 800;
}

.language-switch button {
  position: relative;
  padding: 4px 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.language-switch button.is-active {
  color: #eef5f2;
}

.language-switch button.is-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: rgba(245, 250, 248, 0.82);
}

.top-action:hover,
.button-secondary:hover,
.section-link:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.06);
}

.section-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(64px, 9vw, 104px) clamp(20px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.section-grid::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 44%, rgba(255, 255, 255, 0.08) 44.2%, transparent 44.45%),
    linear-gradient(64deg, transparent 0 70%, rgba(255, 255, 255, 0.05) 70.15%, transparent 70.4%);
  opacity: 0.16;
}

.hero {
  min-height: 560px;
  align-items: center;
  padding-top: 74px;
}

.hero-copy {
  z-index: 1;
  grid-column: 1 / span 5;
}

.kicker {
  margin: 0 0 18px;
  color: #bfc8c6;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7vw, 5.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 span,
.moon h2 {
  color: #cfd6d4;
}

.service-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: #aeb8b6;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-line i {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--quiet);
}

.hero-lede {
  max-width: 510px;
  margin-bottom: 28px;
  color: #d7dddd;
  font-size: 1.06rem;
}

.hero-actions,
.estimate-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 7px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.button-primary {
  color: #07100c;
  background: linear-gradient(180deg, #ffffff, #dfe6e3);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.18);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  color: #e8eeec;
  background: rgba(255, 255, 255, 0.015);
}

.micro-note {
  margin-top: 70px;
  color: #74807e;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual {
  z-index: 1;
  grid-column: 6 / span 4;
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(100%, 440px);
  opacity: 0.95;
  filter: drop-shadow(0 30px 60px rgba(170, 225, 225, 0.09));
}

.scanline {
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.6), transparent);
  opacity: 0.28;
}

.status-panel {
  z-index: 1;
  grid-column: 10 / span 3;
  align-self: start;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 6, 7, 0.68);
  box-shadow: var(--shadow);
}

.panel-title {
  margin-bottom: 24px;
  color: #c7d0ce;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-panel dl {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.status-panel div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #9da8a6;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-panel dd {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0;
  color: var(--green);
}

.status-panel dd b {
  font: inherit;
}

.status-panel dd span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}

.status-panel a {
  color: var(--green);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading {
  z-index: 1;
  grid-column: 1 / span 4;
}

.section-heading h2,
.moon h2 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.section-heading p:not(.kicker),
.section-copy,
.price-card p,
.case-card p {
  color: var(--muted);
  font-size: 1rem;
}

.section-copy {
  z-index: 1;
  grid-column: 6 / span 3;
  max-width: 430px;
}

.section-link {
  z-index: 1;
  grid-column: 11 / span 2;
  justify-self: end;
  align-self: start;
  padding: 13px 17px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: #f1f5f4;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-card,
.case-card,
.price-card,
.stack-grid article,
.builder-console,
.spec-panel,
.blueprint-panel {
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--panel);
  box-shadow: var(--shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 24px;
}

.web-card {
  grid-column: 1 / span 3;
}

.commerce-card {
  grid-column: 4 / span 3;
}

.api-card {
  grid-column: 7 / span 3;
}

.automation-card {
  grid-column: 10 / span 3;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #eef5f2;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
}

.service-card h3,
.price-card h3 {
  margin-bottom: 10px;
  color: #eef4f2;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.service-card p {
  min-height: 46px;
  color: #b7c0be;
  font-size: 0.92rem;
}

.service-card ul {
  display: grid;
  gap: 4px;
  margin: 0 0 22px;
  padding: 0;
  color: #b7c0be;
  list-style: none;
}

.service-card li {
  font-size: 0.76rem;
}

.service-card li::before {
  content: "> ";
  color: var(--quiet);
}

.service-card img {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
}

.service-card a,
.case-cta {
  margin-top: 18px;
  color: #f1f6f4;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-terminal,
.code-card,
.automation-list {
  min-height: 152px;
  margin-top: auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(9, 15, 17, 0.85);
}

.mini-terminal {
  display: grid;
  place-items: center;
  text-align: center;
}

.mini-terminal .dot {
  width: 42px;
  height: 42px;
  border: 2px solid var(--green);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(85, 239, 143, 0.18);
}

.mini-terminal .dot::after {
  content: "";
  display: block;
  width: 13px;
  height: 7px;
  margin: 13px auto 0;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.mini-terminal strong {
  color: var(--green);
  font-size: 0.78rem;
}

.mini-terminal b {
  color: #f5faf8;
  font-size: 1.55rem;
}

.mini-terminal small {
  color: var(--quiet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}

.code-card {
  overflow: auto;
  color: #d7f9e2;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
}

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

.automation-list span {
  position: relative;
  padding: 12px 12px 12px 44px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: #d9e0df;
  font-size: 0.78rem;
}

.automation-list span::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 17px;
  height: 17px;
  content: "";
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  transform: translateY(-50%);
}

.builder {
  align-items: start;
}

.builder-console {
  grid-column: 5 / span 8;
  padding: 18px;
}

.console-label {
  margin-bottom: 12px;
  color: #d7dfdd;
  font-size: 0.83rem;
  font-weight: 700;
}

.builder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.builder-tabs button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #c6cfcd;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.builder-tabs button.is-selected {
  color: #06100c;
  background: #f3f7f5;
}

.flow-board {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 20%, rgba(84, 239, 143, 0.08), transparent 15rem),
    rgba(6, 12, 13, 0.82);
}

.flow-board > p {
  color: #dce3e1;
  font-weight: 700;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 12px;
  margin: 18px 0 20px;
}

.flow-step {
  position: relative;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.flow-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.32);
}

.flow-step span {
  display: block;
  color: #eff8f4;
  font-size: 0.86rem;
  font-weight: 700;
}

.flow-step small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
}

.flow-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.flow-footer strong {
  color: var(--green);
}

.stack {
  align-items: start;
}

.stack-grid {
  z-index: 1;
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.stack-grid article {
  display: grid;
  min-height: 104px;
  place-items: center;
  padding: 14px;
  color: #dce5e2;
  text-align: center;
}

.stack-grid article span {
  font-weight: 700;
}

.stack-grid article small {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 0.74rem;
}

.stack-grid .featured {
  border-color: rgba(85, 239, 143, 0.5);
  box-shadow: 0 0 38px rgba(85, 239, 143, 0.13);
}

.cases {
  align-items: start;
}

.case-card {
  display: flex;
  min-height: 408px;
  flex-direction: column;
  padding: 20px;
}

.case-one {
  grid-column: 4 / span 3;
}

.case-two {
  grid-column: 7 / span 3;
}

.case-three {
  grid-column: 10 / span 3;
}

.case-card h3 {
  margin-bottom: 5px;
  font-size: 1.15rem;
  text-transform: uppercase;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0;
}

.tag-row span {
  padding: 5px 7px;
  border-radius: 4px;
  color: #d4dcda;
  background: rgba(255, 255, 255, 0.065);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.case-media {
  display: block;
  width: 100%;
  margin-top: auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.process-line {
  z-index: 1;
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.process-line li {
  position: relative;
}

.process-line li::before {
  position: absolute;
  top: -42px;
  left: 0;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

.process-line span {
  color: var(--quiet);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  font-weight: 800;
}

.process-line strong {
  display: block;
  margin: 8px 0 3px;
  text-transform: uppercase;
}

.process-line p {
  max-width: 180px;
  color: var(--muted);
  font-size: 0.9rem;
}

.process-line {
  --process-loop: 9.2s;
}

.process-line::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 58px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(245, 250, 248, 0.86), rgba(85, 239, 143, 0.2), transparent);
  opacity: 0;
  transform: translateX(0);
  animation: processPulseTravel var(--process-loop) linear infinite paused;
  transition: none;
}

.process-line li {
  opacity: 0.78;
}

.process-line li::before {
  transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.process-line li::after {
  position: absolute;
  top: -30px;
  left: 12px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 999px;
  background: rgba(230, 245, 245, 0.2);
  opacity: 0.42;
}

.process-line.is-pulsing:not(.is-paused)::before {
  animation-play-state: running;
}

.process-line.is-pulsing:not(.is-paused) li::before,
.process-line.is-pulsing:not(.is-paused) li::after,
.process-line.is-pulsing:not(.is-paused) li span,
.process-line.is-pulsing:not(.is-paused) li strong {
  animation-duration: var(--process-loop);
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  animation-play-state: running;
}

.process-line.is-pulsing:not(.is-paused) li::before {
  animation-name: processNodeShell;
}

.process-line.is-pulsing:not(.is-paused) li::after {
  animation-name: processNodeCore;
}

.process-line.is-pulsing:not(.is-paused) li span,
.process-line.is-pulsing:not(.is-paused) li strong {
  animation-name: processNodeText;
}

.process-line li:nth-child(2)::before,
.process-line li:nth-child(2)::after,
.process-line li:nth-child(2) span,
.process-line li:nth-child(2) strong {
  animation-delay: 1.7s;
}

.process-line li:nth-child(3)::before,
.process-line li:nth-child(3)::after,
.process-line li:nth-child(3) span,
.process-line li:nth-child(3) strong {
  animation-delay: 3.4s;
}

.process-line li:nth-child(4)::before,
.process-line li:nth-child(4)::after,
.process-line li:nth-child(4) span,
.process-line li:nth-child(4) strong {
  animation-delay: 5.1s;
}

.pricing {
  align-items: start;
}

.price-card {
  min-height: 164px;
  padding: 22px;
}

.price-launch {
  grid-column: 5 / span 2;
}

.price-commerce {
  grid-column: 7 / span 2;
}

.price-systems {
  grid-column: 9 / span 2;
}

.price-custom {
  grid-column: 11 / span 2;
}

.price-card span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #d8e0de;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
}

.estimate-row {
  z-index: 1;
  grid-column: 8 / span 5;
  justify-content: flex-end;
}

.estimate-row p {
  margin-bottom: 0;
  color: #d7dedc;
}

.moon {
  min-height: 420px;
  align-items: center;
  padding-top: 78px;
  padding-bottom: 78px;
}

.moon-copy {
  z-index: 1;
  grid-column: 1 / span 6;
}

.moon h2 {
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.moon h2 span {
  color: #f4f7f6;
}

.moon img {
  z-index: 0;
  grid-column: 7 / span 6;
  width: min(100%, 620px);
  justify-self: end;
  opacity: 0.82;
  filter: contrast(1.12);
}

.project-builder {
  scroll-margin-top: 92px;
  align-items: start;
}

.project-builder:focus {
  outline: none;
}

.project-builder-shell {
  z-index: 1;
  grid-column: 5 / span 8;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.92fr);
  gap: 18px;
}

.spec-panel,
.blueprint-panel {
  min-height: 560px;
  padding: 22px;
}

.spec-panel {
  display: flex;
  flex-direction: column;
}

.spec-meta,
.blueprint-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: #d8e2df;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-meta span:last-child,
.blueprint-head small {
  color: var(--green);
}

.spec-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 30px;
  color: #7a8583;
  font-size: 0.64rem;
  font-weight: 800;
}

.spec-progress span {
  position: relative;
  padding-top: 12px;
}

.spec-progress span::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.spec-progress span.is-current {
  color: #f3f8f6;
}

.spec-progress span.is-current::before {
  background: linear-gradient(90deg, #f4f8f6, rgba(85, 239, 143, 0.62));
}

.project-spec-form {
  display: flex;
  flex: 1;
  flex-direction: column;
}

#spec-question h3 {
  margin: 0 0 18px;
  color: #f2f7f5;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.spec-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-subquestion {
  margin-top: 30px !important;
  font-size: clamp(1.1rem, 1.6vw, 1.55rem) !important;
}

.spec-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill-grid button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #c9d3d0;
  background: rgba(255, 255, 255, 0.026);
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: border-color 170ms ease, background 170ms ease, color 170ms ease, transform 170ms ease;
}

.spec-pill-grid button:hover,
.spec-pill-grid button.is-selected {
  border-color: rgba(230, 245, 245, 0.42);
  color: #f8fbfa;
  background: rgba(255, 255, 255, 0.09);
}

.spec-pill-grid button.is-selected {
  box-shadow: inset 0 0 0 1px rgba(85, 239, 143, 0.22);
}

.spec-field {
  display: grid;
  gap: 8px;
  color: #b7c1bf;
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-field input,
.spec-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #edf4f2;
  background: rgba(255, 255, 255, 0.035);
  font: 500 0.9rem Inter, system-ui, sans-serif;
}

.spec-field input {
  min-height: 42px;
  padding: 0 12px;
}

.spec-field textarea {
  resize: vertical;
  min-height: 108px;
  padding: 12px;
}

.spec-optional {
  max-width: 460px;
  margin-top: 18px;
}

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

.spec-notes {
  grid-column: 1 / -1;
}

.spec-error {
  min-height: 22px;
  margin: 16px 0 0;
  color: #ffb8b8;
  font-size: 0.78rem;
}

.spec-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 28px;
}

.spec-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.lead-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.spec-history {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.spec-history p {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 10px;
  margin: 0;
}

.spec-history strong {
  color: #697472;
}

.spec-history span {
  color: #d9e2df;
}

.blueprint-panel {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.blueprint-map {
  position: relative;
  min-height: 330px;
  margin: 26px 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(85, 239, 143, 0.095), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    rgba(4, 8, 9, 0.64);
  background-size: auto, 42px 42px, 42px 42px, auto;
}

.blueprint-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.blueprint-map line {
  stroke: rgba(220, 235, 232, 0.18);
  stroke-width: 0.34;
  vector-effect: non-scaling-stroke;
  animation: blueprintLine 340ms ease both;
}

.blueprint-node {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 2;
  display: inline-grid;
  min-width: 64px;
  min-height: 32px;
  padding: 0 10px;
  place-items: center;
  border: 1px solid rgba(220, 235, 232, 0.16);
  border-radius: 5px;
  color: #e9f2ef;
  background: rgba(7, 12, 13, 0.86);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
  font-size: 0.6rem;
  font-weight: 800;
  opacity: 0;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0.96);
  animation: blueprintNode 340ms ease forwards;
}

.blueprint-core {
  min-width: 104px;
  border-color: rgba(85, 239, 143, 0.36);
  color: var(--green);
}

.blueprint-status {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 14px;
  margin: auto 0 0;
  color: #dbe4e1;
  font-size: 0.66rem;
  text-transform: uppercase;
}

.blueprint-status dt {
  color: #687270;
  font-weight: 800;
}

.blueprint-status dd {
  margin: 0;
  color: #d8e1de;
}

.assembly-sequence,
.submit-result {
  display: grid;
  gap: 12px;
}

.assembly-sequence span {
  display: flex;
  justify-content: space-between;
  max-width: 340px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #c8d1cf;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.assembly-sequence b,
.submit-result strong span {
  color: var(--green);
}

.submit-result p,
.submit-result small {
  margin: 0;
  color: #aeb8b5;
}

.submit-result strong {
  color: var(--green);
  font-size: 0.74rem;
}

.submit-result .button {
  gap: 8px;
}

.submit-error h3,
.submit-error .spec-kicker {
  color: #ffd2d2 !important;
}

.inline-actions {
  margin-top: 10px;
  padding-top: 0;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px clamp(20px, 5vw, 56px);
  color: #808a88;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.footer nav {
  display: flex;
  gap: 34px;
  color: #aab3b1;
}

.footer p {
  margin: 0;
}

@media (max-width: 1080px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-copy,
  .section-heading,
  .builder-console,
  .project-builder-shell,
  .stack-grid,
  .process-line,
  .moon-copy,
  .section-copy,
  .estimate-row {
    grid-column: 1 / -1;
  }

  .hero-visual {
    grid-column: 1 / span 7;
  }

  .status-panel {
    grid-column: 8 / span 5;
  }

  .web-card,
  .commerce-card,
  .api-card,
  .automation-card,
  .case-one,
  .case-two,
  .case-three {
    grid-column: span 6;
  }

  .price-launch,
  .price-commerce,
  .price-systems,
  .price-custom {
    grid-column: span 3;
  }

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

  .project-builder-shell {
    grid-template-columns: 1fr;
  }

  .spec-panel,
  .blueprint-panel {
    min-height: auto;
  }

  .moon img {
    grid-column: 4 / -1;
  }
}

@media (max-width: 760px) {
  .site-shell {
    border: 0;
  }

  .topbar {
    min-height: 66px;
    padding-inline: 18px;
  }

  .brand-wordmark {
    width: 128px;
  }

  .top-action {
    padding-inline: 12px;
    font-size: 0.68rem;
  }

  .top-controls {
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
  }

  .language-switch {
    font-size: 0.62rem;
  }

  .section-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 54px 18px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-visual,
  .status-panel,
  .section-copy,
  .section-link,
  .builder-console,
  .project-builder-shell,
  .stack-grid,
  .process-line,
  .moon img,
  .moon-copy,
  .estimate-row {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 300px;
  }

  .status-panel {
    margin-top: 0;
  }

  .web-card,
  .commerce-card,
  .api-card,
  .automation-card,
  .case-one,
  .case-two,
  .case-three,
  .price-launch,
  .price-commerce,
  .price-systems,
  .price-custom {
    grid-column: 1 / -1;
  }

  .service-card {
    min-height: auto;
  }

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

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -12px;
    left: 22px;
    width: 1px;
    height: 12px;
  }

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

  .process-line {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-left: 26px;
    border-top: 0;
    border-left: 1px solid var(--line-strong);
  }

  .process-line::before {
    top: 0;
    left: -1px;
    width: 1px;
    height: 58px;
    background: linear-gradient(180deg, transparent, rgba(245, 250, 248, 0.86), rgba(85, 239, 143, 0.2), transparent);
    animation-name: processPulseTravelMobile;
  }

  .process-line li::before {
    top: -2px;
    left: -43px;
  }

  .estimate-row {
    justify-content: flex-start;
  }

  .moon {
    min-height: 560px;
  }

  .moon img {
    justify-self: center;
  }

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

  .footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}

@keyframes stackFloat {
  from {
    transform: translate3d(var(--stack-x, 0), -5px, 0) rotateX(var(--stack-rx, 0deg)) rotateY(var(--stack-ry, 0deg));
  }
  to {
    transform: translate3d(var(--stack-x, 0), 6px, 0) rotateX(var(--stack-rx, 0deg)) rotateY(var(--stack-ry, 0deg));
  }
}

@keyframes particleDrift {
  from {
    transform: translate3d(-10px, -4px, 0) scale(1.02);
  }
  to {
    transform: translate3d(14px, 8px, 0) scale(1.04);
  }
}

@keyframes statusBreathe {
  0%,
  100% {
    opacity: 0.76;
    box-shadow: 0 0 8px rgba(85, 239, 143, 0.24);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px rgba(85, 239, 143, 0.42);
  }
}

@keyframes moonMass {
  from {
    transform: translate3d(0, calc(var(--moon-scroll, 0px) - 3px), 0) scale(1);
  }
  to {
    transform: translate3d(0, calc(var(--moon-scroll, 0px) + 5px), 0) scale(1.008);
  }
}

.button,
.section-link,
.service-card,
.case-card,
.price-card,
.stack-grid article {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    filter 220ms ease;
}

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

.hero {
  min-height: 650px;
  isolation: isolate;
}

.hero::after,
.moon::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 70% 48%, black, transparent 62%);
  opacity: 0.72;
  z-index: 0;
}

.hero-copy {
  grid-column: 1 / span 5;
}

.hero-copy h1 {
  max-width: 610px;
  font-size: clamp(3.35rem, 5.2vw, 4.95rem);
}

.hero-visual {
  grid-column: 6 / span 4;
  min-height: 540px;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-particles {
  position: absolute;
  inset: auto auto 2% -28%;
  width: min(820px, 128%);
  max-width: none;
  opacity: 0.13;
  filter: grayscale(1) contrast(0.9);
  mask-image: radial-gradient(ellipse at 58% 50%, black, transparent 72%);
  animation: particleDrift 28s ease-in-out infinite alternate;
}

.stack-glow {
  position: absolute;
  width: min(520px, 94%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(184, 224, 224, 0.14), rgba(77, 113, 123, 0.05) 38%, transparent 68%);
  filter: blur(10px);
}

.stack-glow::after {
  position: absolute;
  right: 11%;
  bottom: 7%;
  left: 9%;
  height: 38px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(170, 220, 220, 0.14), transparent 68%);
  filter: blur(14px);
}

.stack-stage {
  position: relative;
  width: min(520px, 100%);
  transform-style: preserve-3d;
  animation: stackFloat 8s ease-in-out infinite alternate;
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hero-visual .hero-stack {
  width: 100%;
  height: auto;
  max-width: none;
  opacity: 0.98;
  object-fit: contain;
  filter:
    drop-shadow(0 34px 58px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 20px rgba(190, 232, 245, 0.12));
}

.scanline {
  display: none;
}

.system-label {
  position: absolute;
  left: calc(100% - 74px);
  display: flex;
  align-items: center;
  width: 142px;
  color: #dfe7e4;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
}

.system-label::before {
  display: block;
  width: 54px;
  height: 1px;
  margin-right: 8px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.54));
}

.system-label::after {
  position: absolute;
  left: 50px;
  width: 4px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: #eef6f4;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.36);
}

.label-web {
  top: 21%;
}

.label-payments {
  top: 34%;
}

.label-database {
  top: 49%;
}

.label-apis {
  top: 62%;
}

.label-automation {
  top: 76%;
}

.status-panel dd span {
  animation: statusBreathe 3.4s ease-in-out infinite;
}

.status-panel a {
  display: inline-block;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.status-panel a:hover {
  color: #8affb4;
  text-shadow: 0 0 16px rgba(85, 239, 143, 0.25);
  transform: translateX(2px);
}

.service-card:hover,
.case-card:hover,
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 245, 245, 0.28);
}

.service-card:hover .web-system-preview,
.case-card:hover .case-visual,
.case-card:hover .case-shot {
  transform: scale(1.01);
}

.case-card:hover .case-media,
.case-media:focus-visible {
  border-color: rgba(230, 245, 245, 0.26);
}

.case-cta {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
}

.external-indicator {
  display: inline-block;
  opacity: 0.82;
  transition: transform 180ms ease, opacity 180ms ease;
}

.case-cta:hover .external-indicator,
.case-cta:focus-visible .external-indicator {
  opacity: 1;
  transform: translateX(3px);
}

.web-system-preview {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 10px;
  width: 100%;
  min-height: 152px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    radial-gradient(circle at 70% 18%, rgba(130, 170, 180, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: transform 220ms ease;
  overflow: hidden;
}

.preview-sidebar,
.preview-main,
.preview-console,
.case-visual {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 9, 10, 0.76);
}

.preview-sidebar {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px 8px;
  border-radius: 5px;
}

.preview-sidebar span,
.preview-topline,
.preview-console span {
  height: 5px;
  border-radius: 999px;
  background: rgba(220, 235, 232, 0.18);
}

.preview-sidebar span:first-child {
  width: 70%;
  background: rgba(85, 239, 143, 0.42);
}

.preview-main {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 5px;
}

.preview-topline {
  width: 48%;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.preview-grid span {
  min-height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent),
    rgba(255, 255, 255, 0.025);
}

.preview-console {
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 4px;
}

.preview-console span:nth-child(2) {
  width: 72%;
}

.preview-console span:nth-child(3) {
  width: 42%;
  background: rgba(85, 239, 143, 0.34);
}

.flow-board.is-changing .flow-steps,
.flow-board.is-changing .flow-footer strong,
.flow-board.is-changing > p {
  opacity: 0;
  transform: translateY(7px);
}

.flow-steps,
.flow-footer strong,
.flow-board > p {
  transition: opacity 260ms ease, transform 260ms ease;
}

.flow-step {
  opacity: 0;
  transform: translateY(7px);
  animation: flowIn 360ms ease forwards;
}

.flow-step:nth-child(2) {
  animation-delay: 45ms;
}

.flow-step:nth-child(3) {
  animation-delay: 90ms;
}

.flow-step:nth-child(4) {
  animation-delay: 135ms;
}

.flow-step:nth-child(5) {
  animation-delay: 180ms;
}

@keyframes flowIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes processPulseTravel {
  0%,
  9% {
    opacity: 0;
    transform: translateX(0);
  }
  13%,
  74% {
    opacity: 0.88;
  }
  78% {
    opacity: 0;
    transform: translateX(calc(100% - 58px));
  }
  100% {
    opacity: 0;
    transform: translateX(calc(100% - 58px));
  }
}

@keyframes processPulseTravelMobile {
  0%,
  9% {
    opacity: 0;
    transform: translateY(0);
  }
  13%,
  74% {
    opacity: 0.88;
  }
  78% {
    opacity: 0;
    transform: translateY(calc(100% - 58px));
  }
  100% {
    opacity: 0;
    transform: translateY(calc(100% - 58px));
  }
}

@keyframes processNodeShell {
  0%,
  16%,
  100% {
    border-color: rgba(230, 245, 245, 0.22);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
  }
  4%,
  8% {
    border-color: rgba(245, 250, 248, 0.55);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 22px rgba(245, 250, 248, 0.12);
  }
}

@keyframes processNodeCore {
  0%,
  16%,
  100% {
    opacity: 0.42;
    background: rgba(230, 245, 245, 0.2);
    box-shadow: none;
  }
  4%,
  8% {
    opacity: 1;
    background: rgba(245, 250, 248, 0.92);
    box-shadow: 0 0 14px rgba(245, 250, 248, 0.24);
  }
}

@keyframes processNodeText {
  0%,
  16%,
  100% {
    color: inherit;
  }
  4%,
  8% {
    color: #f6faf8;
  }
}

@keyframes blueprintNode {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes blueprintLine {
  from {
    opacity: 0;
    stroke-dasharray: 4;
    stroke-dashoffset: 4;
  }
  to {
    opacity: 1;
    stroke-dasharray: 4;
    stroke-dashoffset: 0;
  }
}

.flow-step::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 999px;
  background: rgba(85, 239, 143, 0.75);
  box-shadow: 0 0 10px rgba(85, 239, 143, 0.25);
}

.stack .section-heading {
  max-width: 360px;
}

.stack .section-heading h2 {
  font-size: clamp(2.2rem, 3.2vw, 3.4rem);
}

.stack-grid article {
  position: relative;
  gap: 9px;
  align-content: center;
  overflow: hidden;
}

.stack-grid article img,
.tech-glyph {
  width: 25px;
  height: 25px;
  margin: 0 auto 2px;
}

.stack-grid article img {
  opacity: 0.48;
  filter: grayscale(1) brightness(1.7) saturate(0.08);
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}

.tech-glyph {
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: #dbe5e2;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 800;
}

.stack-grid article span {
  display: block;
  font-size: 0.88rem;
}

.stack-grid article small {
  min-height: 2.1em;
  color: #808c8a;
  font-size: 0.68rem;
  line-height: 1.25;
  opacity: 0;
  transition: opacity 220ms ease, color 220ms ease;
}

.stack-grid article:hover,
.stack-grid article:focus-within {
  transform: translateY(-2px);
  border-color: rgba(230, 245, 245, 0.28);
}

.stack-grid article:hover img,
.stack-grid article:focus-within img {
  opacity: 0.82;
  filter: grayscale(0.85) brightness(1.45) saturate(0.55);
  transform: translateY(-1px);
}

.stack-grid .featured img,
.stack-grid .featured small {
  opacity: 1;
}

.stack-grid .featured img {
  filter: grayscale(0.2) brightness(1.05) saturate(0.85);
}

.stack-grid article:hover small,
.stack-grid article:focus-within small {
  color: #b8c4c1;
  opacity: 1;
}

.case-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 220ms ease;
}

.case-shot {
  display: block;
  filter: grayscale(0.12) brightness(0.94) contrast(1.04) saturate(0.92);
  transition: transform 220ms ease, filter 220ms ease;
}

.case-card:hover .case-shot {
  filter: grayscale(0) brightness(1) contrast(1.04) saturate(1);
}

.case-shot-neumopractice,
.case-shot-ohanna,
.case-shot-pilula {
  object-position: center center;
}

.case-shot-ohanna {
  object-position: center 48%;
}

.case-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.32;
}

.case-dashboard {
  display: grid;
  grid-template-columns: 34% 1fr 1fr;
  grid-template-rows: 34% 1fr;
  gap: 8px;
  padding: 12px;
}

.case-dashboard span,
.case-map span,
.case-commerce span,
.case-event span {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
}

.case-dashboard span:first-child {
  grid-row: span 2;
}

.case-dashboard span:nth-child(2) {
  grid-column: span 2;
  background: linear-gradient(90deg, rgba(85, 239, 143, 0.15), rgba(255, 255, 255, 0.04));
}

.case-map {
  padding: 12px;
}

.case-map span {
  position: absolute;
}

.case-map span:nth-child(1) {
  inset: 16px 50% 18px 16px;
}

.case-map span:nth-child(2) {
  top: 22px;
  right: 18px;
  width: 38%;
  height: 24%;
}

.case-map span:nth-child(3) {
  right: 24px;
  bottom: 20px;
  width: 32%;
  height: 26%;
}

.case-map span:nth-child(4),
.case-map span:nth-child(5) {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.case-map span:nth-child(4) {
  top: 46%;
  left: 37%;
}

.case-map span:nth-child(5) {
  top: 35%;
  left: 58%;
}

.case-event {
  display: grid;
  grid-template-columns: 1fr 36%;
  grid-template-rows: 1fr 34%;
  gap: 9px;
  padding: 12px;
}

.case-event span:first-child {
  grid-row: span 2;
  background:
    radial-gradient(circle at 52% 45%, rgba(85, 239, 143, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.04);
}

.case-event span:nth-child(2) {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(85, 239, 143, 0.06));
}

.case-event span:nth-child(4),
.case-event span:nth-child(5) {
  height: 7px;
  align-self: end;
  border-radius: 999px;
}

.process-line {
  position: relative;
}

.moon {
  min-height: 540px;
  isolation: isolate;
}

.moon::before {
  opacity: 0.1;
}

.moon-copy {
  z-index: 3;
}

.moon-particles {
  position: absolute;
  right: -12%;
  bottom: 10%;
  z-index: 0;
  width: min(760px, 78vw);
  max-width: none;
  opacity: 0.09;
  filter: grayscale(1) contrast(0.85);
  mask-image: radial-gradient(ellipse at 52% 55%, black, transparent 72%);
  animation: particleDrift 34s ease-in-out infinite alternate-reverse;
}

.moon .moon-asset {
  z-index: 1;
  grid-column: 6 / span 8;
  width: min(980px, 82vw);
  max-width: none;
  height: auto;
  justify-self: end;
  margin-right: -260px;
  opacity: 0.92;
  object-fit: contain;
  filter:
    contrast(1.1)
    drop-shadow(-28px 12px 64px rgba(0, 0, 0, 0.68));
  animation: moonMass 18s ease-in-out infinite alternate;
  will-change: transform;
}

@media (max-width: 1080px) {
  .hero-copy {
    grid-column: 1 / span 6;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 6vw, 4.2rem);
  }

  .hero-visual {
    grid-column: 6 / span 4;
  }

  .stack-stage {
    width: min(430px, 100%);
  }

  .system-label {
    left: calc(100% - 82px);
    width: 122px;
    font-size: 0.64rem;
  }

  .system-label::before {
    width: 42px;
  }

  .status-panel {
    grid-column: 10 / span 3;
    padding: 18px;
  }

  .stack .section-heading {
    max-width: none;
  }

  .moon .moon-asset {
    grid-column: 5 / -1;
    width: min(880px, 96vw);
    margin-right: -250px;
  }
}

@media (max-width: 760px) {
  .section-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    min-height: 780px;
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 3.85rem);
  }

  .hero-particles {
    inset: 1% auto auto -45%;
    width: 150%;
    opacity: 0.08;
  }

  .hero-visual {
    grid-column: 1 / -1;
    min-height: 390px;
    margin-top: 12px;
  }

  .status-panel,
  .section-copy,
  .section-link,
  .builder-console,
  .project-builder-shell,
  .stack-grid,
  .process-line,
  .moon-copy,
  .estimate-row,
  .web-card,
  .commerce-card,
  .api-card,
  .automation-card,
  .case-one,
  .case-two,
  .case-three,
  .price-launch,
  .price-commerce,
  .price-systems,
  .price-custom {
    grid-column: 1 / -1;
  }

  .stack-stage {
    width: min(360px, 88vw);
    justify-self: center;
  }

  .system-label {
    left: 58%;
    width: 120px;
    font-size: 0.6rem;
  }

  .system-label::before {
    width: 28px;
  }

  .label-web {
    top: 23%;
  }

  .label-payments {
    top: 36%;
  }

  .label-database {
    top: 50%;
  }

  .label-apis {
    top: 63%;
  }

  .label-automation {
    top: 75%;
  }

  .stack-grid article small {
    opacity: 1;
  }

  .process-line::before {
    top: 0;
    left: -1px;
    width: 1px;
    height: 58px;
    background: linear-gradient(180deg, transparent, rgba(245, 250, 248, 0.86), rgba(85, 239, 143, 0.2), transparent);
    animation-name: processPulseTravelMobile;
  }

  .moon {
    min-height: 620px;
  }

  .moon-particles {
    right: -70%;
    bottom: 0;
    width: 150%;
    opacity: 0.06;
  }

  .moon .moon-asset {
    grid-column: 1 / -1;
    width: min(720px, 138vw);
    justify-self: end;
    margin-top: -40px;
    margin-right: -260px;
  }
}

@keyframes statusHudFloat {
  from {
    transform: translateY(-2px);
  }
  to {
    transform: translateY(3px);
  }
}

.hero .status-panel {
  position: absolute;
  top: 108px;
  right: clamp(20px, 4vw, 56px);
  z-index: 4;
  width: min(218px, calc(100% - 40px));
  grid-column: auto;
  align-self: auto;
  margin-top: 0;
  padding: 16px 17px;
  border-color: rgba(190, 210, 210, 0.095);
  background: rgba(4, 6, 7, 0.34);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  animation: statusHudFloat 10s ease-in-out infinite alternate;
  transition: border-color 180ms ease, background 180ms ease;
}

.hero .status-panel:hover {
  border-color: rgba(230, 245, 245, 0.18);
  background: rgba(6, 9, 10, 0.48);
}

.hero .panel-title {
  margin-bottom: 17px;
  font-size: 0.62rem;
}

.hero .status-panel dl {
  gap: 9px;
  margin-bottom: 17px;
}

.hero .status-panel div {
  gap: 14px;
  font-size: 0.64rem;
}

.hero .status-panel dd span {
  width: 5px;
  height: 5px;
}

.hero .status-panel a {
  font-size: 0.62rem;
}

@media (max-width: 760px) {
  .hero .status-panel {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 1 / -1;
    width: 100%;
    animation: none;
  }
}

@media (max-width: 1080px) {
  .project-builder-shell {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .spec-panel,
  .blueprint-panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .project-builder {
    scroll-margin-top: 78px;
  }

  .project-builder-shell {
    grid-column: 1 / -1;
  }

  .spec-panel,
  .blueprint-panel {
    padding: 18px;
  }

  .contact-grid,
  .spec-history p,
  .blueprint-status {
    grid-template-columns: 1fr;
  }

  .spec-meta,
  .blueprint-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .spec-progress {
    gap: 5px;
    font-size: 0.58rem;
  }

  .blueprint-map {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .stack-stage,
  .moon .moon-asset,
  .hero-particles,
  .moon-particles {
    transform: none !important;
  }

  .process-line::before {
    display: none;
  }

  .process-line li {
    opacity: 1;
  }

  .process-line li::before {
    border-color: rgba(230, 245, 245, 0.28);
  }
}
