:root {
  --ink: #101814;
  --ink-soft: #22302a;
  --text: #f8fff8;
  --muted: #bdc8bf;
  --surface: #17221c;
  --surface-2: #20332a;
  --line: rgba(248, 255, 248, 0.12);
  --lime: #b9f24f;
  --aqua: #53d7bd;
  --rose: #ff6f91;
  --paper: #f3f7ef;
  --paper-text: #17221c;
  --paper-muted: #5c685f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: rgba(16, 24, 20, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.logo-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--lime);
}

.header-links {
  justify-self: center;
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
}

.header-links a,
.header-button,
.button {
  text-decoration: none;
}

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

.header-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 900;
  line-height: 1.1;
}

.header-button,
.button-main {
  color: var(--ink);
  background: var(--lime);
}

.button-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(54px, 8vw, 118px) clamp(18px, 5vw, 72px);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(248, 255, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 255, 248, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
}

.intro::after {
  content: "";
  position: absolute;
  right: -18vw;
  top: 16vh;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(185, 242, 79, 0.22);
  transform: rotate(18deg);
  pointer-events: none;
}

.intro-copy,
.intro-panel {
  position: relative;
  z-index: 1;
}

.label {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(40px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 60px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 34px 0 8px;
  font-size: 25px;
  line-height: 1.18;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.intro-panel {
  padding: 18px;
  border: 1px solid rgba(185, 242, 79, 0.32);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(32, 51, 42, 0.92), rgba(23, 34, 28, 0.94));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.panel-top {
  display: flex;
  gap: 8px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose);
}

.panel-top span:nth-child(2) {
  background: var(--lime);
}

.panel-top span:nth-child(3) {
  background: var(--aqua);
}

.panel-status {
  min-height: 260px;
  display: grid;
  align-content: center;
  padding: 24px;
}

.panel-status small {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.panel-status strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
}

.panel-status p {
  margin: 14px 0 0;
  color: var(--lime);
  font-size: 19px;
  font-weight: 900;
}

.connection-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.connection-line b {
  height: 2px;
  background: linear-gradient(90deg, var(--aqua), var(--lime));
}

.panel-link {
  display: grid;
  place-items: center;
  min-height: 52px;
  margin-top: 14px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
  text-decoration: none;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-grid div {
  min-height: 210px;
  padding: 30px clamp(18px, 3vw, 42px);
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.quick-grid div:last-child {
  border-right: 0;
}

.quick-grid span {
  color: var(--rose);
  font-weight: 900;
}

.quick-grid strong {
  display: block;
  margin-top: 20px;
  font-size: 28px;
  line-height: 1;
}

.quick-grid p {
  color: var(--muted);
}

.tariff,
.guide,
.longread,
.questions,
.bottom-cta {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 108px) 0;
}

.tariff {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.tariff-text p:not(.label) {
  color: var(--muted);
  font-size: 20px;
}

.tariff-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.tariff-row {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.tariff-row:last-child {
  border-bottom: 0;
}

.tariff-row span:first-child {
  color: var(--lime);
  font-weight: 900;
}

.tariff-row span:last-child {
  color: var(--muted);
}

.tariff-row.head {
  background: rgba(185, 242, 79, 0.08);
}

.tariff-row.head span {
  color: var(--text);
}

.guide {
  border-top: 1px solid var(--line);
}

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

.steps li {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  counter-increment: steps;
}

.steps li::before {
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--aqua);
  font-weight: 900;
}

.steps strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.steps p {
  color: var(--muted);
}

.steps a,
.longread a,
.questions a,
.footer a {
  color: var(--lime);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.longread {
  width: 100%;
  max-width: none;
  background: var(--paper);
  color: var(--paper-text);
}

.longread > * {
  width: min(900px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.longread .label {
  color: #c23f65;
}

.longread p {
  color: #314038;
  font-size: 19px;
}

.longread a {
  color: #0a6a50;
}

.questions {
  border-top: 1px solid var(--line);
}

.qa-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 21px;
  font-weight: 900;
}

details p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.bottom-cta {
  text-align: center;
  border-top: 1px solid var(--line);
}

.bottom-cta .button {
  margin-top: 26px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 58px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: #0b110e;
}

@media (max-width: 920px) {
  .site-header,
  .intro,
  .tariff,
  .steps,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }

  .header-links {
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-button {
    width: 100%;
  }

  .intro {
    min-height: auto;
  }

  .quick-grid div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 540px) {
  .logo {
    white-space: normal;
  }

  .action-row,
  .button {
    width: 100%;
  }

  .connection-line {
    grid-template-columns: 1fr;
  }

  .connection-line b {
    height: 18px;
    width: 2px;
    justify-self: center;
  }

  .tariff-row {
    grid-template-columns: 1fr;
  }

  .longread p {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
