:root {
  color-scheme: dark;
  --bg: #061018;
  --frame: #0b151d;
  --panel: rgba(14, 26, 35, 0.88);
  --panel-soft: rgba(17, 33, 44, 0.72);
  --ink: #f3f7fa;
  --muted: #9eacb8;
  --dim: #61717f;
  --line: rgba(128, 170, 205, 0.2);
  --blue: #4a9cff;
  --blue-soft: #8bc8ff;
  --green: #63d967;
  --green-soft: #9ff083;
  --max: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(circle at 14% 0%, rgba(74, 156, 255, 0.2), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(99, 217, 103, 0.08), transparent 24rem),
    linear-gradient(135deg, #04080d, #07131d 48%, #061018);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(139, 200, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 200, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(74, 156, 255, 0.08), transparent),
    radial-gradient(circle at center, transparent 0, rgba(0, 0, 0, 0.62) 88%);
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}

.page-frame {
  width: min(1500px, calc(100vw - 16px));
  margin: 8px auto;
  overflow: hidden;
  border: 1px solid rgba(139, 200, 255, 0.2);
  border-radius: 44px;
  background: rgba(5, 11, 16, 0.92);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.site-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 30px;
  align-items: center;
  min-height: 86px;
  padding: 20px 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 14, 20, 0.82);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(74, 156, 255, 0.68);
  border-radius: 8px;
  color: var(--blue-soft);
  background: rgba(74, 156, 255, 0.1);
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  text-transform: uppercase;
}

.brand strong {
  font-size: 17px;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

nav a,
.nav-cta,
.button,
.contact-card {
  text-decoration: none;
}

nav a:hover {
  color: var(--blue-soft);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 900;
}

.nav-cta,
.button.primary {
  color: #04111e;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
  box-shadow: 0 14px 30px rgba(74, 156, 255, 0.24);
}

.nav-cta {
  padding: 0 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: center;
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
  padding: 46px 0 34px;
}

.hero-copy h1 {
  max-width: 770px;
  margin: 0 0 22px;
  font-size: clamp(48px, 5.5vw, 82px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy h1::after {
  display: block;
  width: 130px;
  height: 5px;
  margin-top: 14px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.hero-copy .hero-trust {
  max-width: 680px;
  margin-bottom: 18px;
  color: #d6e2eb;
  font-size: 16px;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.button {
  min-width: 176px;
  padding: 0 18px;
  border: 1px solid var(--line);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.035);
}

.messy-strip {
  max-width: 720px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid rgba(139, 200, 255, 0.22);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  color: #d7e3ec;
  background:
    linear-gradient(90deg, rgba(74, 156, 255, 0.12), rgba(14, 26, 35, 0.56)),
    rgba(255, 255, 255, 0.025);
  font-size: 14px;
  font-weight: 800;
}

.location-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.location-line span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22, 36, 46, 0.92), rgba(10, 17, 23, 0.9));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.photo-panel {
  margin: 14px 14px 0;
  overflow: hidden;
  border-radius: 8px;
  background: #05090d;
}

.photo-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% top;
}

.profile-body {
  padding: 18px 22px 22px;
}

.profile-body h2 {
  margin: 0;
  font-size: 22px;
}

.profile-body p {
  margin: 2px 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.profile-body .profile-note {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #c8d5df;
  font-size: 13px;
  font-weight: 800;
}

.profile-body ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.profile-body li {
  display: flex;
  gap: 9px;
  align-items: center;
}

.profile-body li span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
}

.section,
.price-band,
.subscription-band,
.contact,
footer {
  width: min(var(--max), calc(100% - 96px));
  margin: 0 auto;
}

.section {
  padding: 18px 0;
}

.section.compact {
  padding-top: 0;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--blue-soft);
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.service-grid,
.build-grid,
.process-grid {
  display: grid;
  gap: 12px;
}

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

.service-card,
.build-card,
.process-grid article,
.price-band,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.service-card {
  min-height: 172px;
  padding: 18px;
}

.service-icon {
  width: 44px;
  height: 36px;
  margin-bottom: 12px;
  border: 3px solid var(--blue);
  border-radius: 4px;
  position: relative;
}

.service-icon.monitor::after {
  position: absolute;
  right: 10px;
  bottom: -10px;
  left: 10px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.service-icon.house {
  transform: rotate(45deg);
  border-color: var(--green);
}

.service-icon.tablet {
  width: 30px;
  height: 44px;
}

.service-icon.code {
  display: grid;
  width: 48px;
  place-items: center;
  border-color: var(--green);
}

.service-icon.code::before {
  content: "</>";
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 15px;
  font-weight: 900;
}

.service-card h3,
.build-card h3,
.process-grid h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.15;
}

.service-card p,
.build-card p,
.process-grid p,
.price-band p,
.contact p,
footer {
  color: var(--muted);
}

.service-card p,
.build-card p,
.process-grid p {
  margin: 0;
  font-size: 13px;
}

.local-seo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: end;
  padding: 22px 24px;
  margin-top: 10px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 0%, rgba(74, 156, 255, 0.12), transparent 18rem),
    linear-gradient(135deg, rgba(14, 26, 35, 0.9), rgba(9, 18, 25, 0.86));
}

.local-seo-band h2 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.02;
}

.local-seo-band p:last-child {
  margin: 0;
  color: var(--muted);
}

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

.build-card {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  padding: 12px 12px 18px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.build-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 200, 255, 0.45);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.build-card:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}

.build-card:hover .build-shot {
  border-color: rgba(139, 200, 255, 0.52);
  transform: translateY(-2px) scale(1.01);
}

.build-shot {
  display: block;
  width: 100%;
  height: 206px;
  margin-bottom: 16px;
  border: 1px solid rgba(139, 200, 255, 0.18);
  border-radius: 8px;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  transition: transform 180ms ease, border-color 180ms ease;
  background:
    radial-gradient(circle at 20% 10%, rgba(139, 200, 255, 0.12), transparent 12rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    #071019;
}

.custom-mark {
  display: grid;
  height: 154px;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px;
  border: 1px solid rgba(139, 200, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(99, 217, 103, 0.13), transparent),
    radial-gradient(circle at 70% 10%, rgba(74, 156, 255, 0.2), transparent 9rem),
    #071019;
}

.messy-window,
.clean-window {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(139, 200, 255, 0.18);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.messy-window {
  border-color: rgba(139, 200, 255, 0.16);
}

.clean-window {
  border-color: rgba(99, 217, 103, 0.28);
  background: rgba(99, 217, 103, 0.055);
}

.window-bar {
  display: block;
  width: 40px;
  height: 7px;
  border-radius: 999px;
  background: rgba(139, 200, 255, 0.3);
}

.bad-line,
.good-line {
  display: block;
  height: 8px;
  border-radius: 999px;
}

.bad-line {
  width: 82%;
  background: linear-gradient(90deg, rgba(139, 200, 255, 0.72), rgba(139, 200, 255, 0.16));
}

.bad-line.short {
  width: 54%;
}

.bad-line.mid {
  width: 68%;
}

.good-line {
  width: 86%;
  background: linear-gradient(90deg, var(--green), rgba(99, 217, 103, 0.22));
}

.good-line.short {
  width: 64%;
}

.messy-window strong,
.good-pill {
  margin-top: 2px;
  color: var(--blue-soft);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.good-pill {
  display: inline-flex;
  width: fit-content;
  padding: 5px 7px;
  border: 1px solid rgba(99, 217, 103, 0.22);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(5, 11, 16, 0.42);
}

.ship-arrow {
  display: grid;
  place-items: center;
  color: var(--green);
  font-size: 13px;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 900;
}

.build-top {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 6px 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.build-top span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(139, 200, 255, 0.28);
  border-radius: 999px;
  color: var(--blue-soft);
  background: rgba(74, 156, 255, 0.08);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.build-top strong {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.build-card h3 {
  padding: 0 6px;
  margin-bottom: 10px;
  font-size: 24px;
}

.build-card p {
  padding: 0 6px;
  min-height: 82px;
}

.build-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 18px 6px 0;
  list-style: none;
}

.build-card li {
  padding: 6px 9px;
  border: 1px solid rgba(99, 217, 103, 0.2);
  border-radius: 999px;
  color: #c0d0dc;
  background: rgba(99, 217, 103, 0.055);
  font-size: 11px;
  font-weight: 800;
}

.build-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 18px 6px 0;
  color: var(--blue-soft);
  font-size: 12px;
  font-weight: 900;
}

.build-action::after {
  content: "->";
  font-family: Consolas, "Courier New", monospace;
}

.process-section {
  padding-top: 22px;
}

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

.process-grid article {
  padding: 18px;
}

.process-grid span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue-soft);
  font-weight: 900;
}

.price-band {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-top: 18px;
  background: linear-gradient(90deg, rgba(99, 217, 103, 0.12), rgba(14, 26, 35, 0.88));
}

.money-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(99, 217, 103, 0.35);
  border-radius: 999px;
  color: var(--green);
  background: rgba(99, 217, 103, 0.12);
  font-size: 28px;
  font-weight: 900;
}

.price-band h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
}

.price-band h2 span {
  color: var(--green);
}

.price-band p {
  margin: 4px 0 0;
}

.subscription-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px 0 10px;
}

.subscription-band h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 0.98;
}

.subscription-band p {
  margin: 0 0 12px;
  color: var(--muted);
}

.subscription-band .button {
  margin-top: 8px;
}

.contact {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.9fr;
  gap: 28px;
  align-items: end;
  padding: 40px 0;
}

.contact h2 {
  max-width: 520px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
}

.contact p {
  margin: 0;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-card {
  display: grid;
  min-height: 92px;
  align-content: center;
  padding: 18px;
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
}

.primary-card {
  background: linear-gradient(135deg, rgba(74, 156, 255, 0.92), rgba(74, 156, 255, 0.48));
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  padding: 0 0 28px;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .site-header,
  .hero,
  .local-seo-band,
  .contact {
    grid-template-columns: 1fr;
  }

  nav {
    justify-content: flex-start;
  }

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

  .profile-card {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .page-frame {
    width: calc(100% - 10px);
    border-radius: 24px;
  }

  .site-header {
    padding: 18px;
  }

  nav {
    gap: 18px;
    overflow-x: auto;
  }

  .nav-cta,
  .button,
  .contact-actions {
    width: 100%;
  }

  .hero,
  .section,
  .price-band,
  .subscription-band,
  .contact,
  footer {
    width: calc(100% - 44px);
  }

  .hero {
    padding-top: 34px;
    gap: 30px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .service-grid,
  .build-grid,
  .process-grid,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .price-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .subscription-band {
    grid-template-columns: 1fr;
  }

  .build-shot {
    height: 190px;
  }

  .contact {
    align-items: start;
  }
}
