:root {
  --blue: #0969ff;
  --blue-2: #00a3ff;
  --ink: #050505;
  --ink-2: #171717;
  --muted: #666666;
  --muted-2: #8b8b8b;
  --line: #e7e7e7;
  --line-dark: rgba(255, 255, 255, .14);
  --paper: #ffffff;
  --soft: #f7f7f7;
  --soft-2: #f1f5f9;
  --green: #0f9f6e;
  --amber: #b7791f;
  --red: #cf2e2e;
  --violet: #6d5dfc;
  --cyan: #18a6a6;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .12);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.5;
  letter-spacing: 0;
}

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

button,
input,
select {
  font: inherit;
}

img,
canvas {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 10px 14px;
}

.skip:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1200px, calc(100% - 36px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: "Segoe UI", var(--sans);
  font-size: 21px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.9px;
  line-height: 1;
  white-space: nowrap;
}

.brand .chip {
  color: #000000;
}

.brand .harbor {
  color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: #3b3b3b;
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a,
.nav-actions a {
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.nav-links a:hover,
.nav-links a:focus,
.nav-actions a:hover,
.nav-actions a:focus {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
}

.user-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 650;
}

.btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}

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

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.btn.primary {
  background: var(--ink);
  color: #ffffff;
}

.btn.primary:hover {
  background: #222222;
}

.btn.secondary {
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
}

.btn.secondary:hover {
  border-color: #bdbdbd;
}

.btn.light {
  background: #ffffff;
  color: #000000;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, .2);
  color: #ffffff;
  background: rgba(255, 255, 255, .05);
}

.btn.blue {
  background: var(--blue);
  color: #ffffff;
}

.container {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto;
}

.tight-container {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  overflow: hidden;
  color: #ffffff;
  background: #050505;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, .52) 70%, transparent);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, #ffffff 88%);
}

.hero-grid {
  width: min(1200px, calc(100% - 36px));
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  padding: 78px 0 130px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .78fr);
  align-items: center;
  gap: 42px;
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  padding: 8px 12px;
  color: #e8e8e8;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.2;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(15, 159, 110, .72);
  animation: ping 2.4s infinite;
  flex: 0 0 auto;
}

@keyframes ping {
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(15, 159, 110, 0);
  }
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: .92;
  letter-spacing: 0;
  font-weight: 760;
}

.hero h1 span {
  display: block;
}

.hero-copy {
  max-width: 760px;
  margin: 26px 0 0;
  color: #cfcfcf;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
}

.wafer-stage {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .46);
}

#waferCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.media-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(18px);
  padding: 14px;
  color: #ffffff;
}

.media-caption strong {
  display: block;
  font-size: 13px;
}

.media-caption span {
  color: #b9b9b9;
  font-family: var(--mono);
  font-size: 11px;
}

.metrics-card {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 36px));
  margin: -96px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.metric {
  min-height: 138px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.metric strong {
  display: block;
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  letter-spacing: 0;
}

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

.page-section {
  padding: 96px 0;
}

.screen-section {
  min-height: 86svh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 34px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.section-head h2,
.page-section h2,
.screen-section h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 58px);
  line-height: .98;
  letter-spacing: 0;
}

.section-head p,
.lead {
  max-width: 610px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.dark-section {
  color: #ffffff;
  background: #050505;
}

.dark-section h2,
.dark-section h3 {
  color: #ffffff;
}

.dark-section p {
  color: #b8b8b8;
}

.workflow-grid {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 26px;
  align-items: stretch;
}

.terminal-card {
  padding: 0;
  overflow: hidden;
  background: #0b0b0b;
  color: #eeeeee;
  border-color: #202020;
}

.terminal-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-bottom: 1px solid #222222;
  color: #9a9a9a;
  font-family: var(--mono);
  font-size: 12px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #555555;
}

.dot.green {
  background: var(--green);
}

.dot.amber {
  background: var(--amber);
}

.terminal-body {
  padding: 20px;
  font-family: var(--mono);
  font-size: 13px;
}

.terminal-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.terminal-row:last-child {
  border-bottom: 0;
}

.terminal-label {
  color: #858585;
}

.terminal-value {
  color: #ffffff;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.step-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #050505;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 13px;
}

.timeline-step h3,
.card h3,
.template-card h3,
.mode-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.timeline-step p,
.card p,
.template-card p,
.mode-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.board {
  overflow: hidden;
  border-color: #202020;
  background: #0a0a0a;
}

.board-head,
.board-row {
  display: grid;
  grid-template-columns: 1.2fr .7fr .9fr .8fr;
  gap: 12px;
  align-items: center;
}

.board-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #8f8f8f;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.board-row {
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #f4f4f4;
  font-family: var(--mono);
  font-size: 14px;
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row strong {
  font-family: var(--sans);
  font-size: 16px;
}

.flip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  background: #111111;
  padding: 4px 7px;
  box-shadow: inset 0 -12px 0 rgba(255, 255, 255, .025);
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 10px;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 700;
}

.status.success {
  border-color: rgba(15, 159, 110, .22);
  background: rgba(15, 159, 110, .09);
  color: #08704d;
}

.status.pending {
  border-color: rgba(183, 121, 31, .25);
  background: rgba(183, 121, 31, .1);
  color: #7b5115;
}

.status.info {
  border-color: rgba(9, 105, 255, .22);
  background: rgba(9, 105, 255, .08);
  color: #074fc0;
}

.status.danger {
  border-color: rgba(207, 46, 46, .22);
  background: rgba(207, 46, 46, .08);
  color: #a32020;
}

.template-grid,
.ecosystem-grid,
.value-grid,
.gallery-grid,
.shuttle-grid,
.dashboard-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.card,
.template-card,
.mode-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 22px;
}

.template-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.tag.blue {
  border-color: rgba(9, 105, 255, .22);
  color: var(--blue);
  background: rgba(9, 105, 255, .06);
}

.template-specs {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding-top: 22px;
}

.template-specs div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.template-specs strong {
  color: var(--ink);
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.incentive-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(9, 105, 255, .08), transparent 46%),
    #ffffff;
}

.coupon-strip {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px dashed #b7b7b7;
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
  font-family: var(--mono);
  font-size: 13px;
}

.dashboard-preview {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.mini-table {
  display: grid;
  gap: 8px;
}

.mini-row {
  display: grid;
  grid-template-columns: 1fr .55fr .7fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 13px;
}

.voyage {
  display: grid;
  gap: 10px;
}

.voyage-node {
  position: relative;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.voyage-node::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 18px;
  bottom: -13px;
  width: 1px;
  background: var(--line);
}

.voyage-node:last-child::before {
  display: none;
}

.node-dot {
  width: 17px;
  height: 17px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  margin-top: 2px;
}

.voyage-node.completed .node-dot {
  border-color: var(--green);
  background: var(--green);
}

.voyage-node.active .node-dot {
  border-color: var(--blue);
  box-shadow: 0 0 0 5px rgba(9, 105, 255, .1);
}

.voyage-node strong {
  display: block;
  font-size: 13px;
}

.voyage-node span,
.voyage-node time {
  color: var(--muted);
  font-size: 12px;
}

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

.final-cta h2 {
  margin-left: auto;
  margin-right: auto;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 42px 0;
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(120px, 170px));
  gap: 28px;
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 13px;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.page-hero {
  padding: 84px 0 58px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.page-hero h1 {
  max-width: 880px;
  color: var(--ink);
  font-size: clamp(44px, 7vw, 82px);
}

.page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.page-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.statement-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #ffffff;
}

.statement-card strong {
  font-size: 15px;
}

.statement-card p {
  margin: 28px 0 0;
  color: var(--ink);
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.value-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #ffffff;
}

.value-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
}

.value-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.value-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.chip-shot {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050505;
}

.chip-shot::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background:
    linear-gradient(90deg, transparent 0 17%, rgba(9, 105, 255, .22) 17% 18%, transparent 18% 100%),
    linear-gradient(0deg, transparent 0 21%, rgba(24, 166, 166, .18) 21% 22%, transparent 22% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 18px);
}

.chip-shot::after {
  content: "";
  position: absolute;
  width: 28%;
  height: 20%;
  right: 20%;
  bottom: 24%;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(9, 105, 255, .18);
  box-shadow: 0 0 60px rgba(9, 105, 255, .28);
}

.chip-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11px;
}

.wip-panel {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 18px;
}

.progress-card {
  padding: 22px;
}

.progress-rail {
  height: 10px;
  border-radius: 999px;
  background: #eeeeee;
  overflow: hidden;
  margin: 18px 0 8px;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.shuttle-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #ffffff;
}

.shuttle-card h3 {
  margin: 0 0 6px;
}

.shuttle-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.schematic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.schematic-card {
  padding: 20px;
  overflow: hidden;
}

.schematic-card h3 {
  margin: 0 0 12px;
}

.schematic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / .82;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,0,0,.05) 1px, transparent 1px),
    #fbfbfb;
  background-size: 22px 22px;
  overflow: hidden;
}

.reticle {
  position: absolute;
  inset: 12%;
  border: 2px solid #101010;
  background:
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(9, 105, 255, .12) 24px 25px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(24, 166, 166, .12) 24px 25px);
}

.highlight-mpw {
  position: absolute;
  left: 22%;
  top: 26%;
  width: 42%;
  height: 40%;
  border: 2px solid var(--blue);
  background: rgba(9, 105, 255, .13);
  box-shadow: 0 0 0 6px rgba(9, 105, 255, .07);
  animation: mpwJump 4.8s cubic-bezier(.55, 0, .1, 1) infinite;
}

@keyframes mpwJump {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  26% {
    transform: translate(36%, -16%) scale(.7, .82);
  }
  55% {
    transform: translate(14%, 28%) scale(1.18, .78);
  }
  78% {
    transform: translate(-18%, 16%) scale(.84, 1.08);
  }
}

.mpc-chip {
  position: absolute;
  inset: 9%;
  border: 2px solid #101010;
  background: #ffffff;
}

.pad-ring {
  position: absolute;
  inset: 5%;
  border: 18px solid rgba(0, 0, 0, .12);
}

.core-area {
  position: absolute;
  inset: 25% 20%;
  border: 1px dashed rgba(0, 0, 0, .34);
  background:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0,0,0,.05) 1px, transparent 1px);
  background-size: 18px 18px;
}

.mpc-region {
  position: absolute;
  border: 2px solid var(--blue);
  background: rgba(9, 105, 255, .13);
  box-shadow: 0 0 0 5px rgba(9, 105, 255, .06);
  animation: regionMove 5.6s cubic-bezier(.65, 0, .12, 1) infinite;
}

.mpc-region.r1 {
  left: 30%;
  top: 30%;
  width: 18%;
  height: 18%;
}

.mpc-region.r2 {
  left: 53%;
  top: 35%;
  width: 21%;
  height: 14%;
  border-color: var(--cyan);
  background: rgba(24, 166, 166, .13);
  animation-delay: -1.2s;
}

.mpc-region.r3 {
  left: 41%;
  top: 57%;
  width: 14%;
  height: 16%;
  border-color: var(--violet);
  background: rgba(109, 93, 252, .12);
  animation-delay: -2.4s;
}

@keyframes regionMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  36% {
    transform: translate(20%, 18%) scale(1.16, .86);
  }
  70% {
    transform: translate(-22%, -12%) scale(.82, 1.15);
  }
}

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

.detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #ffffff;
}

.detail-card h3 {
  margin: 0 0 8px;
}

.detail-card ul,
.requirements-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.detail-card li,
.requirements-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.detail-card li::before,
.requirements-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.configurator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, .54fr);
  gap: 22px;
  align-items: start;
}

.form-panel,
.price-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.form-panel {
  padding: 24px;
}

.price-panel {
  position: sticky;
  top: 84px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.field label,
.fieldset-label {
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.field small {
  color: var(--muted);
  font-size: 12px;
}

.field input,
.field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 9px 11px;
}

.checkbox-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.check-row {
  display: flex;
  align-items: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
}

.check-row input {
  margin-top: 3px;
}

.check-row strong {
  display: block;
  font-size: 14px;
}

.check-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.price-total {
  margin: 12px 0 4px;
  font-size: clamp(42px, 5vw, 62px);
  line-height: .95;
  font-weight: 760;
  letter-spacing: 0;
}

.price-cny {
  color: var(--muted);
  font-size: 15px;
}

.summary-list {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
}

.summary-list strong {
  color: var(--ink);
}

.dash-hero {
  border-bottom: 1px solid var(--line);
  background: #fafafa;
  padding: 42px 0;
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.dash-top h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dash-metrics {
  margin-top: 26px;
}

.dash-metrics .card {
  min-height: 150px;
}

.dash-metrics .card h3 {
  margin-top: 14px;
  font-size: 24px;
}

.dash-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 20px;
  padding: 28px 0 92px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 16px 18px;
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.panel-head p,
.modal-note,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.panel-head p {
  margin: 4px 0 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.table th {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
}

.table tr:last-child td {
  border-bottom: 0;
}

.order-card {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.order-card:last-child {
  border-bottom: 0;
}

.order-card .voyage {
  margin-top: 18px;
}

.order-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.order-title h3 {
  margin: 0;
  font-size: 17px;
}

.order-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.order-specs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding-top: 0;
}

.order-specs div {
  display: grid;
  align-content: start;
}

.modal-note {
  margin: 12px 0 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(0, 0, 0, .52);
  padding: 18px;
}

.modal-backdrop.open {
  display: grid;
}

.modal {
  width: min(760px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, .32);
}

.modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 18px 20px;
}

.modal-head h2 {
  margin: 0;
  font-size: 22px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.wizard-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.wizard-step {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e9e9e9;
}

.wizard-step.active {
  background: var(--blue);
}

.wizard-page {
  display: none;
}

.wizard-page.active {
  display: block;
}

.wizard-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

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

.upload-box {
  min-height: 104px;
  display: grid;
  place-items: center;
  border: 1px dashed #b8b8b8;
  border-radius: var(--radius);
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.upload-box.required {
  border-color: var(--blue);
  color: var(--ink);
  background: rgba(9, 105, 255, .04);
}

.completion {
  border: 1px solid rgba(15, 159, 110, .22);
  border-radius: var(--radius);
  background: rgba(15, 159, 110, .08);
  padding: 18px;
}

.completion h3 {
  margin-top: 0;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .workflow-grid,
  .split-panel,
  .mission-grid,
  .wip-panel,
  .configurator,
  .dash-layout {
    grid-template-columns: 1fr;
  }

  .wafer-stage {
    min-height: 430px;
  }

  .metrics-card,
  .template-grid.four,
  .template-grid,
  .ecosystem-grid,
  .value-grid,
  .gallery-grid,
  .shuttle-grid,
  .dashboard-grid,
  .service-grid,
  .template-detail-grid,
  .schematic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-panel {
    position: static;
  }

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

@media (max-width: 680px) {
  .nav {
    width: min(100% - 24px, 1200px);
    gap: 12px;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    order: 4;
  }

  .btn {
    min-height: 36px;
    padding: 9px 11px;
  }

  .hero-grid {
    width: min(100% - 24px, 1200px);
    padding: 54px 0 112px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 15vw, 68px);
  }

  .hero-copy,
  .page-hero p {
    font-size: 16px;
  }

  .wafer-stage {
    min-height: 330px;
  }

  .media-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .metrics-card {
    width: min(100% - 24px, 1200px);
    grid-template-columns: 1fr;
    margin-top: -76px;
  }

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .container,
  .tight-container {
    width: min(100% - 24px, 1200px);
  }

  .page-section,
  .screen-section {
    padding: 66px 0;
  }

  .screen-section {
    min-height: auto;
  }

  .section-head,
  .dash-top,
  .order-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-head {
    display: none;
  }

  .board-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .template-grid,
  .template-grid.four,
  .ecosystem-grid,
  .value-grid,
  .gallery-grid,
  .shuttle-grid,
  .dashboard-grid,
  .service-grid,
  .template-detail-grid,
  .schematic-grid,
  .mode-grid,
  .field-grid,
  .upload-grid {
    grid-template-columns: 1fr;
  }

  .mini-row,
  .terminal-row {
    grid-template-columns: 1fr;
  }

  .order-specs {
    grid-template-columns: 1fr;
  }

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

  .table {
    min-width: 620px;
  }

  .panel.table-panel {
    overflow-x: auto;
  }
}

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