:root {
  --ink: #1c2321;
  --muted: #5d6863;
  --paper: #f7f4ee;
  --panel: #ffffff;
  --line: #ddd7ca;
  --green: #1f7a5a;
  --green-dark: #14533f;
  --amber: #c8842f;
  --coral: #d95d48;
  --sky: #4f7cac;
  --shadow: 0 18px 50px rgba(31, 44, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid rgba(28, 35, 33, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-size: 13px;
}

.nav {
  display: flex;
  gap: clamp(12px, 2.5vw, 30px);
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green-dark);
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 64px));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 80px clamp(18px, 6vw, 88px) 104px;
  color: #fff;
  background: #16211d;
}

#networkCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 30, 25, 0.92), rgba(17, 30, 25, 0.58) 54%, rgba(17, 30, 25, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.03;
  font-weight: 820;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button.primary {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stat {
  position: absolute;
  left: clamp(18px, 6vw, 88px);
  right: clamp(18px, 6vw, 88px);
  bottom: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
}

.hero-stat span {
  padding: 16px;
  text-align: center;
  font-weight: 740;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
}

.section p {
  color: var(--muted);
  line-height: 1.62;
}

.feature-grid,
.plans-grid,
.terms-grid {
  display: grid;
  gap: 16px;
}

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

.feature-grid article,
.plan,
.terms-grid article,
.contact-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(31, 44, 38, 0.06);
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.plans {
  background: #ece7dc;
}

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

.plan {
  min-height: 220px;
}

.plan.featured {
  border-color: rgba(31, 122, 90, 0.44);
  box-shadow: var(--shadow);
}

.price {
  margin: 14px 0;
  color: var(--ink) !important;
  font-size: 32px;
  font-weight: 820;
}

.process {
  background: #f9f8f3;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border-top: 4px solid var(--green);
  background: var(--panel);
  border-radius: 8px;
}

.steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 820;
}

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

.order {
  background: #f9f8f3;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 980px;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 44, 38, 0.06);
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 720;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbc3b4;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.order-form textarea {
  resize: vertical;
}

.order-form .wide,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pay-badges span,
.bank-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4ee;
  color: var(--ink);
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
}

.contacts {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 0.6fr);
  gap: clamp(24px, 5vw, 60px);
  background: #e8efe9;
}

.contact-box p {
  margin: 0 0 12px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 88px);
  color: rgba(255, 255, 255, 0.72);
  background: #17201c;
  font-size: 13px;
}

@media (max-width: 980px) {
  .intro,
  .contacts {
    grid-template-columns: 1fr;
  }

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

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

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 760px;
    padding-top: 56px;
  }

  .hero-stat,
  .feature-grid,
  .plans-grid,
  .steps,
  .terms-grid,
  .order-form {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 36px;
  }

  .footer {
    flex-direction: column;
  }
}
