:root {
  --ink: #090b0f;
  --muted: #5d6470;
  --quiet: #87909c;
  --line: rgba(9, 11, 15, 0.12);
  --soft-line: rgba(9, 11, 15, 0.07);
  --paper: #ffffff;
  --wash: #f5f7fa;
  --mist: #edf4fb;
  --blue: #0876d8;
  --blue-deep: #064f9a;
  --cyan: #10a9c7;
  --mint: #0c9b76;
  --amber: #d98418;
  --violet: #6c5df7;
  --rose: #d94f70;
  --radius: 8px;
  --shadow: 0 28px 90px rgba(22, 34, 48, 0.14);
  --tight-shadow: 0 18px 48px rgba(22, 34, 48, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(9, 11, 15, 0.06);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  font-family: "Segoe UI", var(--font);
  font-size: 21px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.9px;
  line-height: 1;
  white-space: nowrap;
}

.brand-logo .chip {
  color: #000000;
}

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

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav {
  color: #353b44;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a,
.header-actions a {
  position: relative;
  white-space: nowrap;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
}

.mobile-menu {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-menu span,
.mobile-menu span::before,
.mobile-menu span::after {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 99px;
  background: #11161e;
  content: "";
}

.mobile-menu span::before {
  transform: translateY(-6px);
}

.mobile-menu span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  box-shadow: 0 12px 30px rgba(8, 118, 216, 0.26);
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(9, 11, 15, 0.15);
}

.btn-secondary:hover {
  border-color: rgba(8, 118, 216, 0.38);
}

.btn-dark {
  color: #ffffff;
  background: #11161e;
}

.btn-ghost {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(9, 11, 15, 0.12);
  background: rgba(255, 255, 255, 0.54);
  color: #2f3742;
}

.btn-text {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--blue);
  background: transparent;
  box-shadow: none;
}

.btn-text:hover {
  transform: none;
}

.page {
  min-height: 100vh;
}

.section {
  min-height: min(900px, 100vh);
  display: flex;
  align-items: center;
  padding: clamp(72px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

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

.section.soft {
  background: var(--wash);
}

.section.dark {
  color: #f8fbff;
  background: #080b10;
}

.section.blueprint {
  background:
    linear-gradient(rgba(8, 118, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 118, 216, 0.06) 1px, transparent 1px),
    #f8fbff;
  background-size: 36px 36px;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.narrow {
  width: min(840px, 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 1.08fr) minmax(0, 0.92fr);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.dark .eyebrow {
  color: #79c7ff;
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(8, 118, 216, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 760;
}

.notice::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  content: "";
  box-shadow: 0 0 0 5px rgba(12, 155, 118, 0.12);
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(54px, 9.5vw, 124px);
  line-height: 0.96;
  font-weight: 820;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.14;
  font-weight: 770;
}

.lead {
  color: #303842;
  font-size: clamp(19px, 2.4vw, 29px);
  line-height: 1.22;
  font-weight: 650;
}

.copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.dark .copy,
.dark .lead {
  color: rgba(248, 251, 255, 0.75);
}

.hero {
  min-height: calc(100vh - 68px);
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 8%, rgba(8, 118, 216, 0.13), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, #edf3f9 100%);
}

.hero .container {
  text-align: center;
}

.hero-copy {
  max-width: 810px;
  margin: 0 auto 18px;
  color: #252c35;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.22;
  font-weight: 640;
}

.hero-subcopy {
  max-width: 730px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.hero-stage {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.wafer-shell {
  position: relative;
  overflow: hidden;
  height: clamp(360px, 48vw, 560px);
  border: 1px solid rgba(9, 11, 15, 0.1);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.92), rgba(239, 245, 251, 0.86) 46%, rgba(211, 226, 239, 0.92)),
    #edf3f8;
  box-shadow: var(--shadow);
}

.wafer-shell canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.metrics-card {
  position: absolute;
  right: clamp(14px, 3vw, 30px);
  bottom: clamp(14px, 3vw, 30px);
  width: min(420px, calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background: rgba(9, 11, 15, 0.1);
  box-shadow: 0 22px 70px rgba(22, 34, 48, 0.2);
  backdrop-filter: blur(18px);
}

.metric {
  min-height: 116px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.79);
  text-align: left;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

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

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

.tile-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.panel,
.card {
  border: 1px solid rgba(9, 11, 15, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.card {
  padding: clamp(20px, 2.6vw, 30px);
}

.card p:last-child {
  margin-bottom: 0;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid rgba(8, 118, 216, 0.18);
  border-radius: 999px;
  background: rgba(8, 118, 216, 0.08);
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 800;
}

.stat-pill.mint {
  border-color: rgba(12, 155, 118, 0.2);
  background: rgba(12, 155, 118, 0.09);
  color: #087457;
}

.stat-pill.amber {
  border-color: rgba(217, 132, 24, 0.22);
  background: rgba(217, 132, 24, 0.1);
  color: #9a5b09;
}

.workflow-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.workflow-step {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 24px;
  border: 1px solid rgba(9, 11, 15, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--tight-shadow);
}

.workflow-step::before {
  display: block;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue), var(--cyan));
  content: "";
  box-shadow: 0 12px 30px rgba(8, 118, 216, 0.24);
}

.workflow-step:nth-child(2)::before {
  background: linear-gradient(145deg, var(--violet), var(--cyan));
}

.workflow-step:nth-child(3)::before {
  background: linear-gradient(145deg, var(--mint), var(--blue));
}

.workflow-step:nth-child(4)::before {
  background: linear-gradient(145deg, var(--amber), var(--rose));
}

.workflow-step small {
  display: block;
  margin-bottom: 10px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 800;
}

.departure-board {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #11161d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.board-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(248, 251, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.board-top span,
.board-row span {
  padding: 14px 16px;
}

.board-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 0.8fr;
  gap: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #eef7ff;
  font-size: clamp(14px, 1.4vw, 18px);
  font-variant-numeric: tabular-nums;
}

.board-row span {
  background: #0c1016;
}

.board-row strong {
  color: #7fd2ff;
  font-weight: 800;
}

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

.chip-card {
  overflow: hidden;
  border: 1px solid rgba(9, 11, 15, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--tight-shadow);
}

.chip-thumb {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(135deg, #182232, #0a6ea8 54%, #0b1220);
  background-size: 18px 18px, 18px 18px, auto;
}

.chip-thumb::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 16px);
  content: "";
  opacity: 0.68;
}

.chip-thumb::after {
  position: absolute;
  width: 34%;
  height: 26%;
  right: 18%;
  bottom: 23%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.chip-card:nth-child(2n) .chip-thumb {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(135deg, #111827, #0b8b75 55%, #18243b);
  background-size: 16px 16px, 16px 16px, auto;
}

.chip-card:nth-child(3n) .chip-thumb {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(135deg, #0e1522, #6c5df7 50%, #0b6376);
  background-size: 20px 20px, 20px 20px, auto;
}

.chip-meta {
  padding: 18px;
}

.chip-meta .copy {
  margin-bottom: 0;
  font-size: 14px;
}

.template-tabs,
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.template-tabs button,
.segmented button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #39424e;
  font-weight: 800;
}

.template-tabs button.is-active,
.segmented button.is-active {
  background: #11161e;
  color: #ffffff;
}

.schematic-wrap {
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 118, 216, 0.11), transparent 38%),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--tight-shadow);
}

.schematic-wrap canvas {
  width: 100%;
  height: clamp(320px, 40vw, 480px);
  border: 1px solid rgba(9, 11, 15, 0.08);
  border-radius: 8px;
  background: #f8fbff;
}

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

.timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 14px;
  width: 2px;
  background: rgba(8, 118, 216, 0.18);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.dot {
  z-index: 1;
  width: 30px;
  height: 30px;
  border: 7px solid #ffffff;
  border-radius: 999px;
  background: var(--quiet);
  box-shadow: 0 0 0 1px rgba(9, 11, 15, 0.1);
}

.timeline-item.completed .dot {
  background: var(--mint);
}

.timeline-item.in-progress .dot {
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(8, 118, 216, 0.22), 0 0 0 8px rgba(8, 118, 216, 0.1);
}

.timeline-copy {
  padding-bottom: 8px;
}

.timeline-copy strong {
  display: block;
  margin-bottom: 4px;
}

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

.calculator {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.8fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.configurator,
.price-preview {
  border: 1px solid rgba(9, 11, 15, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--tight-shadow);
}

.configurator {
  padding: clamp(18px, 3vw, 32px);
}

.price-preview {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.field legend {
  color: #2e3540;
  font-size: 13px;
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(9, 11, 15, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

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

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(9, 11, 15, 0.12);
  border-radius: 8px;
  background: #fff;
  color: #2e3540;
  font-size: 14px;
  font-weight: 700;
}

.check-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.preview-head {
  padding: 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(127, 210, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #101722, #082e50 56%, #0c655f);
}

.price-total {
  display: block;
  margin: 10px 0 4px;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  font-weight: 820;
}

.preview-lines {
  padding: 20px 26px 26px;
}

.price-line {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(9, 11, 15, 0.08);
  color: #313944;
}

.price-line:last-child {
  border-bottom: 0;
}

.price-line strong {
  font-weight: 820;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dashboard-side {
  position: sticky;
  top: 92px;
  padding: 18px;
  border: 1px solid rgba(9, 11, 15, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.dashboard-side a,
.side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 8px;
  color: #39424e;
  font-size: 14px;
  font-weight: 780;
}

.dashboard-side a.is-active,
.side-link.is-active {
  background: #11161e;
  color: #ffffff;
}

.dashboard-content {
  display: grid;
  gap: 18px;
}

.table-card {
  overflow: hidden;
  border: 1px solid rgba(9, 11, 15, 0.09);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--tight-shadow);
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(9, 11, 15, 0.08);
}

.table-head h3 {
  margin-bottom: 0;
  font-size: 22px;
}

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

.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(9, 11, 15, 0.07);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 820;
}

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

.status {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
}

.status.pending {
  background: rgba(217, 132, 24, 0.13);
  color: #9a5b09;
}

.status.passed,
.status.paid,
.status.completed {
  background: rgba(12, 155, 118, 0.12);
  color: #087457;
}

.status.failed {
  background: rgba(217, 79, 112, 0.13);
  color: #a72d4b;
}

.status.progress {
  background: rgba(8, 118, 216, 0.12);
  color: var(--blue-deep);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(4, 8, 14, 0.48);
  backdrop-filter: blur(14px);
}

.modal-backdrop.is-open {
  display: flex;
}

.modal {
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-head,
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(9, 11, 15, 0.08);
}

.modal-foot {
  border-top: 1px solid rgba(9, 11, 15, 0.08);
  border-bottom: 0;
}

.modal-head h3 {
  margin-bottom: 0;
}

.modal-body {
  padding: 22px;
}

.close-modal {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(9, 11, 15, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 21px;
  line-height: 1;
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: grid;
  gap: 18px;
}

.file-list {
  display: grid;
  gap: 10px;
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(9, 11, 15, 0.1);
  border-radius: 8px;
  background: #f9fbfd;
}

.footer {
  padding: 44px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #080b10;
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}

.footer .brand-logo .chip {
  color: #ffffff;
}

.footer small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
}

.page-hero {
  min-height: 54vh;
  display: flex;
  align-items: center;
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(circle at 75% 20%, rgba(8, 118, 216, 0.12), transparent 30%),
    linear-gradient(180deg, #fbfcfe 0%, #f2f6fa 100%);
}

.page-hero .container {
  display: grid;
  gap: 22px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 8vw, 106px);
}

.page-hero .lead {
  max-width: 790px;
}

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

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(9, 11, 15, 0.08);
  color: var(--muted);
}

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

.cta-band {
  min-height: 72vh;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(8, 118, 216, 0.2), transparent 35%),
    #080b10;
  color: #ffffff;
}

.cta-band .copy {
  color: rgba(255, 255, 255, 0.72);
}

.cta-band .hero-actions {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .mobile-menu {
    display: inline-flex;
    order: 3;
  }

  .main-nav,
  .header-actions {
    display: none;
    width: 100%;
    order: 4;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .site-header.is-open .main-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .site-header.is-open .main-nav a {
    padding: 12px 0;
    border-top: 1px solid rgba(9, 11, 15, 0.07);
  }

  .site-header.is-open .main-nav a::after {
    display: none;
  }

  .site-header.is-open .header-actions {
    justify-content: flex-start;
  }

  .split,
  .split.reverse,
  .calculator,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .workflow-rail,
  .tile-grid.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .price-preview,
  .dashboard-side {
    position: static;
  }
}

@media (max-width: 680px) {
  .section {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: clamp(46px, 15vw, 72px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .hero {
    min-height: auto;
  }

  .wafer-shell {
    height: 520px;
  }

  .metrics-card {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 92px;
  }

  .workflow-rail,
  .tile-grid,
  .tile-grid.two,
  .tile-grid.three,
  .tile-grid.four,
  .gallery-grid,
  .mode-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .board-top,
  .board-row {
    grid-template-columns: 1fr;
  }

  .board-top span:not(:first-child) {
    display: none;
  }

  .board-row span {
    padding: 10px 14px;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
  }

  .data-table thead {
    display: none;
  }

  .data-table td {
    padding: 12px 18px;
  }

  .data-table td::before {
    display: block;
    margin-bottom: 5px;
    color: var(--quiet);
    font-size: 12px;
    font-weight: 820;
    content: attr(data-label);
  }

  .table-head,
  .modal-head,
  .modal-foot,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    display: grid;
  }
}
