:root {
  color-scheme: dark;
  --bg: #101114;
  --surface: #181a1f;
  --surface-2: #14171c;
  --line: #2d333d;
  --text: #ffffff;
  --muted: #b8bcc4;
  --brand: #b6ff00;
  --brand-2: #d8ff66;
  --brand-contrast: #101114;
  --brand-rgb: 182, 255, 0;
  --alert: #ff7a00;
  --rank: #00c2ff;
  --rank-rgb: 0, 194, 255;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  --max: 74rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--brand-rgb), 0.14), transparent 32rem),
    linear-gradient(135deg, #101114 0%, #13161b 52%, #0f1115 100%);
  color: var(--text);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: var(--rank);
}

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 17, 20, 0.86);
  backdrop-filter: blur(14px);
}

.site-header .wrap {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 0.65rem;
  background: #0d0f12;
  color: var(--brand);
  font-weight: 950;
}

.brand strong {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.header-actions .nav-toggle {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--surface);
  color: var(--text);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--brand-rgb), 0.55);
}

.btn.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--brand-contrast);
}

.btn.primary:hover {
  background: var(--brand-2);
}

.btn.large {
  min-height: 3.3rem;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn.block {
  width: 100%;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
  gap: 2.5rem;
  align-items: center;
}

.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}

.eyebrow {
  margin: 0;
  color: var(--rank);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 42rem;
  margin: 0.7rem 0 0;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.06;
}

.hero p.lead {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* ---------- Sections ---------- */

section {
  padding: 3.4rem 0;
}

section.alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.section-head {
  max-width: 40rem;
  margin: 0 0 2.2rem;
}

.section-head .eyebrow {
  margin-bottom: 0.5rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
}

.section-head p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Role cards ---------- */

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.role-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
}

.role-card .tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Feature grid ---------- */

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

.feature-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), 0.05), transparent 60%),
    var(--surface);
}

.feature-card .feature-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.85rem;
  place-items: center;
  border-radius: 0.6rem;
  background: rgba(var(--rank-rgb), 0.14);
  color: var(--rank);
  font-size: 1.2rem;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
}

.price-card.is-featured {
  border-color: var(--brand);
  background:
    linear-gradient(135deg, rgba(var(--brand-rgb), 0.12), rgba(var(--rank-rgb), 0.06)),
    var(--surface);
  box-shadow: var(--shadow);
}

.price-card .plan-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 850;
}

.price-card .plan-tag {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.16);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  align-self: start;
}

.price-card .plan-price {
  margin: 1rem 0 0;
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.price-card .plan-price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-card .plan-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.price-card ul {
  flex: 1;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.price-card li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.price-card li::before {
  content: "✓";
  flex: 0 0 auto;
  color: var(--brand);
  font-weight: 900;
}

/* ---------- Install teaser ---------- */

.install-teaser {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem;
  border: 1px solid rgba(var(--rank-rgb), 0.4);
  border-radius: 0.95rem;
  background: rgba(var(--rank-rgb), 0.07);
}

.install-teaser div {
  max-width: 34rem;
}

.install-teaser h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.install-teaser p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: start;
}

.contact-info h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

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

.contact-info .contact-detail {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
}

.contact-form .row-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #101216;
  color: var(--text);
  font: inherit;
  text-transform: none;
  outline: none;
}

.contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.1);
}

.form-status {
  margin: 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.form-status.is-success {
  border: 1px solid rgba(var(--brand-rgb), 0.5);
  background: rgba(var(--brand-rgb), 0.08);
  color: var(--brand-2);
}

.form-status.is-error {
  border: 1px solid rgba(255, 122, 0, 0.5);
  background: rgba(255, 122, 0, 0.09);
  color: var(--alert);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.4rem 0;
}

.footer-grid {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid .brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.86rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- Install guide page ---------- */

.install-hero {
  padding: 3rem 0 1rem;
  text-align: center;
}

.install-hero h1 {
  margin: 0.6rem 0 0;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.install-hero p {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: var(--muted);
  line-height: 1.55;
}

.install-os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.install-os-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
}

.install-os-card header {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}

.install-os-icon {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border-radius: 0.6rem;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand);
  font-weight: 900;
}

.install-os-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.install-os-card ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.install-os-card ol strong {
  color: var(--text);
}

.install-back {
  text-align: center;
  padding: 2.5rem 0 1rem;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 4.4rem 0 auto 0;
    z-index: 25;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: #101114;
    transform: translateY(-120%);
    transition: transform 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions .btn:not(.nav-toggle) {
    display: none;
  }

  .header-actions .nav-toggle {
    display: inline-flex;
  }

  .role-grid,
  .feature-grid,
  .pricing-grid,
  .install-os-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    order: -1;
    max-width: 15rem;
    margin: 0 auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form .row-two {
    grid-template-columns: 1fr;
  }

  .install-teaser {
    flex-direction: column;
    align-items: flex-start;
  }

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