:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: #111317;
  --panel-2: #171a20;
  --text: #f5f7fb;
  --muted: #9aa4b2;
  --line: #2a3038;
  --accent: #66d9e8;
  --accent-2: #f4c95d;
  --danger: #ff6b6b;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 11, 0.9);
  backdrop-filter: blur(14px);
  padding: 14px clamp(18px, 4vw, 56px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0d1015;
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 24px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 28px;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.hero-content > p:not(.eyebrow),
.section-heading {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.5;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #151922;
  color: var(--text);
  padding: 11px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  border-color: rgba(102, 217, 232, 0.55);
  background: #10262c;
  color: #e9fbff;
}

.hero-signal {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(102, 217, 232, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at center, rgba(102, 217, 232, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
}

.signal-core,
.signal-node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(102, 217, 232, 0.45);
}

.signal-core {
  width: 74px;
  height: 74px;
  left: calc(50% - 37px);
  top: calc(50% - 37px);
}

.signal-line {
  position: absolute;
  height: 1px;
  width: 56%;
  left: 22%;
  top: 50%;
  background: rgba(102, 217, 232, 0.42);
}

.l2 {
  transform: rotate(58deg);
}

.l3 {
  transform: rotate(-48deg);
}

.signal-node {
  width: 18px;
  height: 18px;
}

.n1 {
  left: 20%;
  top: 28%;
}

.n2 {
  right: 18%;
  top: 33%;
}

.n3 {
  left: 58%;
  bottom: 18%;
}

.section {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 86px) 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  max-width: 780px;
  margin-bottom: 24px;
}

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

.capability-grid article,
.package-card,
.request-form,
.flow li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.capability-grid article,
.package-card {
  padding: 20px;
}

.capability-grid span,
.package-card span {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-grid p,
.package-card p,
.flow span,
footer {
  color: var(--muted);
  line-height: 1.45;
}

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

.package-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
}

.package-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
  color: var(--text);
  font-size: 14px;
}

.support {
  min-height: 42px;
}

.flow ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: grid;
  gap: 8px;
  padding: 20px;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  color: var(--text);
  padding: 12px;
  font: inherit;
  text-transform: none;
}

input.is-invalid,
select.is-invalid,
textarea.is-invalid {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
}

.wide {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 0;
  color: var(--accent);
}

.form-status.error {
  color: var(--danger);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px clamp(18px, 4vw, 56px);
}

.thank-you {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 24px;
  width: min(640px, calc(100% - 36px));
  margin: 0 auto;
}

.thank-you section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: clamp(22px, 4vw, 38px);
}

.thank-you h1 {
  max-width: 560px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

.thank-you section > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .capability-grid,
  .flow ol,
  .request-form {
    grid-template-columns: 1fr;
  }

  .hero-signal {
    min-height: 260px;
  }

  .wide {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .package-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 42px;
  }

  .thank-you h1 {
    font-size: 28px;
  }
}
