:root {
  color-scheme: dark;
  --page: #0e1012;
  --panel: #171b1f;
  --panel-strong: #20262b;
  --line: #303840;
  --text: #f4f7f8;
  --muted: #a9b3ba;
  --soft: #d7dee2;
  --green: #5ee2a0;
  --cyan: #68d8ff;
  --amber: #ffc86a;
  --red: #ff6b6b;
  --ink: #071015;
  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;
  background:
    linear-gradient(180deg, rgba(94, 226, 160, 0.08), transparent 22rem),
    linear-gradient(135deg, #0e1012 0%, #15191b 48%, #111315 100%);
  color: var(--text);
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(215, 222, 226, 0.12);
  background: rgba(14, 16, 18, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  display: block;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.nav-action,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 760;
  cursor: pointer;
}

.nav-action,
.primary-action {
  background: var(--green);
  color: var(--ink);
}

.secondary-action {
  border: 1px solid rgba(215, 222, 226, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 80px) clamp(40px, 7vw, 76px);
}

.hero-copy {
  max-width: 760px;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 10px 0 0;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-console {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(215, 222, 226, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(32, 38, 43, 0.9), rgba(19, 23, 26, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 64px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.console-logo {
  position: absolute;
  top: 40px;
  left: 36px;
  width: min(260px, 62%);
  height: auto;
}

.signal-grid {
  position: absolute;
  right: 28px;
  bottom: 124px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.signal {
  min-height: 88px;
  border: 1px solid rgba(215, 222, 226, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.signal.high {
  box-shadow: inset 0 -5px 0 var(--red);
}

.signal.medium {
  box-shadow: inset 0 -5px 0 var(--amber);
}

.signal.low {
  box-shadow: inset 0 -5px 0 var(--green);
}

.console-lines {
  position: absolute;
  right: 34px;
  bottom: 42px;
  left: 34px;
  display: grid;
  gap: 10px;
}

.console-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(215, 222, 226, 0.16);
}

.console-lines span:nth-child(1) {
  width: 86%;
}

.console-lines span:nth-child(2) {
  width: 64%;
}

.console-lines span:nth-child(3) {
  width: 78%;
}

.section-band,
.purchase-section,
.activation-band,
.service-section,
.success-panel {
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 80px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
  margin-left: 0;
}

.feature-grid,
.activation-grid,
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.feature-card,
.activation-step,
.plan-card {
  min-height: 178px;
  border: 1px solid rgba(215, 222, 226, 0.14);
  border-radius: 8px;
  background: rgba(23, 27, 31, 0.76);
  padding: 22px;
}

.feature-kicker {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card p,
.activation-step p,
.plan-note,
.service-copy,
.success-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.purchase-section {
  background: rgba(255, 255, 255, 0.035);
}

.checkout-form {
  max-width: 980px;
  margin: 28px 0 0 clamp(18px, 5vw, 80px);
}

.plans {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 20px;
}

.plan-card {
  position: relative;
  display: grid;
  gap: 10px;
  cursor: pointer;
}

.plan-card input {
  position: absolute;
  inset: 18px 18px auto auto;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.plan-card:has(input:checked) {
  border-color: rgba(94, 226, 160, 0.72);
  background: rgba(94, 226, 160, 0.08);
}

.plan-name {
  max-width: calc(100% - 36px);
  font-size: 1.25rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.form-row label {
  color: var(--soft);
  font-weight: 740;
}

.form-row input {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgba(215, 222, 226, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(14, 16, 18, 0.92);
  color: var(--text);
}

.interval-row {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 18px;
  padding: 6px;
  border: 1px solid rgba(215, 222, 226, 0.16);
  border-radius: 8px;
  background: rgba(14, 16, 18, 0.74);
}

.interval-row label {
  position: relative;
}

.interval-row input {
  position: absolute;
  opacity: 0;
}

.interval-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
}

.interval-row input:checked + span {
  background: var(--panel-strong);
  color: var(--text);
}

.submit-action {
  margin-top: 18px;
}

.form-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
}

.form-feedback.error {
  color: #ff9b9b;
}

.activation-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cyan);
  color: var(--ink);
  font-weight: 840;
}

.service-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: center;
  border-top: 1px solid rgba(215, 222, 226, 0.1);
}

.service-status {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  border: 1px solid rgba(215, 222, 226, 0.14);
  border-radius: 8px;
  padding: 20px;
  background: rgba(23, 27, 31, 0.78);
}

.service-status small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.status-dot {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 200, 106, 0.12);
}

.status-dot.online {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(94, 226, 160, 0.14);
}

.status-dot.offline {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.14);
}

.success-panel {
  max-width: 1120px;
  margin: 0 auto;
}

.hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 80px);
  color: var(--muted);
  border-top: 1px solid rgba(215, 222, 226, 0.12);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .service-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-console {
    min-height: 420px;
  }

  .feature-grid,
  .activation-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    margin-left: clamp(18px, 5vw, 80px);
    margin-right: clamp(18px, 5vw, 80px);
  }
}

@media (max-width: 560px) {
  .nav-action {
    display: none;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

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

  .interval-row {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
