:root {
  --bg: #020a14;
  --bg-2: #06172a;
  --panel: #0b1b2f;
  --panel-2: #102846;
  --line: #254463;
  --line-2: #35699a;
  --blue: #168bff;
  --cyan: #38c8ff;
  --green: #42d77d;
  --amber: #f8b833;
  --orange: #ff7a3d;
  --white: #f4f8ff;
  --muted: #a9b9cb;
  --dim: #6e8096;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(56, 200, 255, 0.07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(56, 200, 255, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(22, 139, 255, 0.32), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(22, 139, 255, 0.18), transparent 30%),
    var(--bg);
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  overflow-x: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(90, 135, 180, 0.38);
  background: rgba(2, 10, 20, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.metric-row,
.mock-header,
.mock-body,
.tiny-stats,
.workflow ol {
  display: flex;
  align-items: center;
}

.brand {
  gap: 14px;
}

.brand-cube,
.mock-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #61c6ff;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), #0954c8);
  font-weight: 950;
  box-shadow: 0 0 28px rgba(22, 139, 255, 0.55);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav {
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  padding: 10px 12px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
  outline: none;
}

.nav-pill {
  border: 1px solid var(--line-2);
  background: rgba(22, 139, 255, 0.18);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero,
.section,
.contact {
  padding-inline: clamp(18px, 4vw, 58px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-top: 52px;
  padding-bottom: 72px;
}

.hero > *,
.split > *,
.contact > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 6.5vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4.5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.lead {
  max-width: 640px;
  font-size: 1.28rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line-2);
  font-weight: 950;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), #075bcf);
  box-shadow: 0 14px 38px rgba(22, 139, 255, 0.3);
}

.button.ghost {
  color: var(--cyan);
  background: rgba(11, 27, 47, 0.82);
}

.metric-row {
  flex-wrap: wrap;
  gap: 28px;
}

.metric-row strong {
  display: block;
  color: var(--cyan);
  font-size: 2rem;
  line-height: 1;
}

.metric-row div:nth-child(3) strong {
  color: var(--green);
}

.metric-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.system-mockup,
.value-grid article,
.blueprint-step,
.shutdown-flow article,
.pilot-grid article,
.work-grid a,
.pricing-table,
address {
  border: 1px solid var(--line);
  background: rgba(11, 27, 47, 0.86);
  box-shadow: var(--shadow);
}

.system-mockup {
  overflow: hidden;
  min-height: 560px;
}

.mock-header {
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 13, 26, 0.92);
}

.mock-header strong,
.mock-header small {
  display: block;
}

.mock-header small {
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.mock-body {
  align-items: stretch;
  gap: 14px;
  padding: 14px;
}

.viewer {
  position: relative;
  flex: 1;
  min-height: 474px;
  overflow: hidden;
  contain: paint;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(115deg, rgba(255,255,255,0.13), transparent 28%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 3px, transparent 3px 84px),
    linear-gradient(140deg, #111821 0%, #343a3e 47%, #0b1017 100%);
}

.floor-lines {
  position: absolute;
  inset: 44% 0 0;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.55) 21%, transparent 22%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.24) 0 2px, transparent 2px 56px);
  transform: perspective(400px) rotateX(54deg);
  transform-origin: top;
}

.toolbar {
  position: absolute;
  top: 22px;
  left: 20px;
  z-index: 2;
  display: grid;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(4, 12, 22, 0.76);
}

.toolbar span {
  width: 18px;
  height: 18px;
  background: var(--blue);
}

.asset-tag {
  position: absolute;
  z-index: 3;
  min-width: 132px;
  padding: 10px 12px 10px 34px;
  border: 1px solid var(--line-2);
  background: rgba(5, 17, 32, 0.9);
}

.asset-tag i {
  position: absolute;
  left: -10px;
  top: 19px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(22, 139, 255, 0.28), 0 0 20px var(--blue);
}

.asset-tag b,
.asset-tag small {
  display: block;
}

.asset-tag small {
  color: var(--muted);
}

.tag-one { left: 130px; top: 178px; }
.tag-two { right: 70px; top: 210px; }
.tag-three { left: 330px; bottom: 112px; }

.mini-map {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: 230px;
  height: 140px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    rgba(4, 12, 22, 0.82);
  background-size: 34px 34px;
}

.mini-map span {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue);
}

.mini-map span:nth-child(1) { left: 55px; top: 44px; }
.mini-map span:nth-child(2) { left: 134px; top: 72px; }
.mini-map span:nth-child(3) { left: 180px; top: 34px; }

.side-panel {
  width: 320px;
  display: grid;
  gap: 12px;
}

.panel-section {
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(5, 14, 27, 0.86);
}

.panel-section h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.tiny-stats {
  gap: 8px;
}

.tiny-stats span {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
}

.tiny-stats b {
  display: block;
  color: var(--cyan);
  font-size: 1.3rem;
}

.panel-section article {
  padding: 11px;
  border: 1px solid var(--line);
}

.panel-section article + article {
  margin-top: 8px;
}

.panel-section article small {
  display: block;
  color: var(--green);
}

.workflow ol {
  justify-content: space-between;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  flex: 1;
  padding: 8px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.section {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-title {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-title.narrow {
  max-width: 760px;
}

.value-grid,
.blueprint,
.pilot-grid,
.work-grid {
  display: grid;
  gap: 16px;
}

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

.value-grid article,
.blueprint-step,
.shutdown-flow article,
.pilot-grid article,
.work-grid a {
  padding: 24px;
  min-width: 0;
}

.value-grid span,
.blueprint-step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  background: linear-gradient(135deg, var(--blue), #075bcf);
  font-weight: 950;
}

.value-grid article:nth-child(3) span,
.blueprint-step:nth-child(4) b {
  background: var(--green);
}

.value-grid article:nth-child(4) span,
.blueprint-step:nth-child(5) b {
  background: var(--amber);
  color: #07111f;
}

.system-section,
.work,
.commercial,
.deliverables,
.limits,
.services,
.support,
.payment-section,
.timeline-section,
.responsibilities,
.recommendation,
.acceptance {
  border-top: 1px solid rgba(90, 135, 180, 0.25);
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: rgba(7, 23, 42, 0.5);
}

.shutdown-flow {
  display: grid;
  gap: 14px;
}

.shutdown-flow span {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-size: 1.7rem;
  font-weight: 950;
}

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

.problem-grid,
.deliverable-list,
.option-grid,
.payment-grid,
.timeline-grid {
  display: grid;
  gap: 16px;
}

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

.problem-grid article,
.text-panel,
.deliverable-list article,
.option-grid article,
.payment-grid article,
.timeline-grid div,
.acceptance-panel {
  border: 1px solid var(--line);
  background: rgba(11, 27, 47, 0.86);
  box-shadow: var(--shadow);
}

.problem-grid article,
.text-panel,
.option-grid article,
.payment-grid article,
.timeline-grid div,
.acceptance-panel {
  padding: 24px;
}

.text-panel h3 {
  margin-top: 26px;
}

.text-panel h3:first-child {
  margin-top: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-list span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: rgba(22, 139, 255, 0.1);
  font-size: 0.88rem;
  font-weight: 800;
}

.tag-list.large span {
  color: var(--muted);
}

.deliverable-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.deliverable-list article {
  min-height: 190px;
  padding: 20px;
}

.deliverable-list b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--blue);
}

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

.option-grid article {
  min-height: 520px;
}

.option-grid article > span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-grid article strong {
  display: block;
  margin: 18px 0;
  color: var(--cyan);
  font-size: 2.1rem;
  line-height: 1;
}

.option-grid article.recommended {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(22, 139, 255, 0.22), rgba(11, 27, 47, 0.9));
}

.option-grid article.recommended strong {
  color: var(--amber);
}

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

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

.payment-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1;
}

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

.timeline-grid div {
  min-height: 132px;
}

.timeline-grid strong,
.timeline-grid span {
  display: block;
}

.timeline-grid span {
  margin-top: 20px;
  color: var(--cyan);
  font-weight: 950;
}

.acceptance-panel {
  max-width: 1080px;
}

.acceptance-panel label {
  display: block;
  margin: 0 0 14px;
  color: var(--white);
  font-weight: 800;
}

.acceptance-panel input {
  margin-right: 10px;
}

.signature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.signature-grid > div {
  padding: 20px;
  border: 1px solid var(--line);
}

.signature-grid span {
  display: block;
  margin-top: 18px;
  padding-bottom: 10px;
  color: var(--muted);
  border-bottom: 1px solid rgba(90, 135, 180, 0.45);
}

ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.roi-bars {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.roi-bars div {
  display: grid;
  grid-template-columns: 132px minmax(90px, 1fr) 86px;
  gap: 12px;
  align-items: center;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.roi-bars b {
  display: block;
  height: 16px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.roi-bars em {
  color: var(--cyan);
  font-style: normal;
}

.small-note {
  margin-top: 20px;
  font-size: 0.86rem;
}

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

.work-grid a {
  min-height: 220px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.work-grid a:hover,
.work-grid a:focus-visible {
  transform: translateY(-5px);
  border-color: var(--cyan);
  outline: none;
}

.work-grid span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-table {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
}

.pricing-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(90, 135, 180, 0.28);
}

.pricing-table div:last-child {
  border-bottom: 0;
}

.pricing-table .highlight {
  background: rgba(22, 139, 255, 0.18);
}

.pricing-table span {
  color: var(--cyan);
  font-weight: 950;
  text-align: right;
}

.pricing-table .highlight span {
  color: var(--amber);
}

.payment {
  margin-top: 24px;
  text-align: center;
  font-weight: 900;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  border-top: 1px solid rgba(90, 135, 180, 0.25);
}

address {
  padding: 32px;
  font-style: normal;
  text-align: center;
}

address strong,
address span,
address a {
  display: block;
}

address strong {
  font-size: 2rem;
}

address span {
  margin: 8px 0 26px;
  color: var(--muted);
}

address a {
  margin-top: 10px;
  color: var(--cyan);
  font-weight: 900;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .hero,
  .split,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .system-mockup {
    min-height: auto;
  }

  .value-grid,
  .blueprint,
  .pilot-grid,
  .work-grid,
  .problem-grid,
  .deliverable-list,
  .option-grid,
  .payment-grid,
  .timeline-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--panel);
  }

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

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 4.1rem);
  }

  .mock-body {
    display: grid;
  }

  .viewer {
    min-height: 430px;
  }

  .tag-one {
    left: 82px;
  }

  .tag-two {
    right: 18px;
  }

  .tag-three {
    left: auto;
    right: 24px;
    bottom: 92px;
  }

  .mini-map {
    width: 190px;
  }

  .side-panel {
    width: auto;
  }

  .value-grid,
  .blueprint,
  .pilot-grid,
  .work-grid,
  .problem-grid,
  .deliverable-list,
  .option-grid,
  .payment-grid,
  .timeline-grid,
  .support-grid,
  .signature-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table div {
    display: grid;
  }
}
