:root {
  --ink: #10182b;
  --muted: #637086;
  --blue: #2086eb;
  --blue-dark: #0a6dcb;
  --line: #dfe6ee;
  --paper: #f4f7fa;
  --white: #fff;
  --lime: #b8ff5f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand b { color: var(--blue); }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: var(--white); background: var(--ink); }
.nav-note { color: var(--muted); font-size: 13px; font-weight: 700; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; padding: 55px 0 80px; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: 12px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--blue-dark); }
.eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 5px rgba(32,134,235,.12); }
h1 { max-width: 690px; margin: 18px 0 24px; font-size: clamp(48px, 6.2vw, 82px); line-height: .99; letter-spacing: -.065em; }
h1 em { color: var(--blue); font-style: normal; }
.lead { max-width: 600px; margin: 0 0 30px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: 15px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(32,134,235,.23); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 15px 34px rgba(32,134,235,.3); }
.button-secondary { color: var(--ink); background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(16,24,43,.08); }
.button-light { color: var(--ink); background: var(--white); }
.telegram-mark { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.16); }
.safe-note { margin: 15px 0 0; color: var(--muted); font-size: 12px; }

.hero-card { position: relative; min-height: 385px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; color: var(--white); background: var(--ink); border-radius: 32px; box-shadow: 0 35px 70px rgba(16,24,43,.22); transform: rotate(2deg); }
.hero-card::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.2) .7px, transparent .7px); background-size: 14px 14px; opacity: .16; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-one { width: 250px; height: 250px; top: -100px; right: -55px; background: #1c8df2; }
.orb-two { width: 180px; height: 180px; bottom: -90px; left: 23%; background: #85caff; opacity: .5; }
.card-top, .card-main, .card-bottom { position: relative; z-index: 1; }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.card-chip { padding: 8px 10px; border: 1px solid rgba(255,255,255,.3); border-radius: 10px; }
.card-main { display: flex; align-items: center; gap: 22px; }
.card-main strong { font-size: 105px; line-height: .9; letter-spacing: -.08em; }
.card-main span { font-size: 15px; line-height: 1.45; color: #d8e2f2; }
.card-bottom { color: #d8e2f2; letter-spacing: 0; font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 90px; border-block: 1px solid var(--line); }
.stats div { display: flex; align-items: baseline; gap: 12px; padding: 24px; border-right: 1px solid var(--line); }
.stats div:last-child { border: 0; }
.stats strong { font-size: 34px; letter-spacing: -.06em; }
.stats span { color: var(--muted); font-size: 13px; }

.section { padding: 80px 0; }
.section-heading { max-width: 600px; margin-bottom: 42px; }
.kicker { color: var(--blue-dark); }
h2 { margin: 12px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.05em; }
.section-heading p, .proxy-copy p, .cta p { color: var(--muted); line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; }
.step-number { color: var(--blue); font-size: 13px; font-weight: 800; }
.steps h3 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.proxy-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 55px; min-height: 360px; padding: 48px; background: #e9eef4; border-radius: 30px; }
.proxy-copy { align-self: center; }
.proxy-copy h2 { font-size: 40px; }
.proxy-list { align-self: center; }
.proxy-list[hidden] { display: none; }
.proxy-card { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; align-items: center; margin-bottom: 10px; padding: 17px 18px; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 15px; text-decoration: none; box-shadow: 0 7px 20px rgba(16,24,43,.05); }
.proxy-card:hover { border-color: #9ecdf8; }
.proxy-server { overflow: hidden; font-size: 14px; font-weight: 800; text-overflow: ellipsis; }
.proxy-status { grid-row: 2; color: var(--muted); font-size: 11px; }
.proxy-arrow { grid-row: 1 / span 2; grid-column: 2; color: var(--blue); font-size: 20px; }
.proxy-empty { padding: 24px; color: var(--muted); background: var(--white); border-radius: 15px; line-height: 1.5; }

.cta { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; margin-block: 80px; padding: 55px; color: var(--white); background: var(--blue); border-radius: 30px; }
.cta .kicker, .cta p { color: #d9efff; }
.cta h2 { max-width: 620px; }
.cta p { max-width: 680px; margin-bottom: 0; }
.footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); }
.footer > span { font-weight: 800; }
.footer p { max-width: 620px; color: var(--muted); font-size: 12px; text-align: right; }
.mobile-bar { display: none; }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; gap: 50px; }
  .hero-copy { text-align: center; }
  .eyebrow { justify-content: center; }
  .lead { margin-inline: auto; }
  .hero-card { width: min(520px, 100%); margin-inline: auto; transform: none; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 190px; }
  .proxy-panel { grid-template-columns: 1fr; gap: 30px; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav { height: 65px; }
  .nav-note { display: none; }
  .hero { min-height: 0; padding: 38px 0 55px; }
  h1 { margin-top: 16px; font-size: 46px; }
  .lead { font-size: 16px; line-height: 1.55; }
  .hero-copy > .button-primary { width: 100%; }
  .hero-card { min-height: 300px; padding: 23px; border-radius: 24px; }
  .card-main strong { font-size: 80px; }
  .card-main span { font-size: 13px; }
  .card-bottom { font-size: 10px; }
  .stats { margin-bottom: 35px; }
  .stats div { flex-direction: column; gap: 2px; padding: 18px 8px; text-align: center; }
  .stats strong { font-size: 27px; }
  .stats span { font-size: 10px; }
  .section { padding: 52px 0; }
  .section-heading { margin-bottom: 26px; }
  h2 { font-size: 36px; }
  .steps li { min-height: 180px; padding: 23px; }
  .proxy-panel { padding: 25px; border-radius: 22px; }
  .proxy-copy h2 { font-size: 34px; }
  .proxy-copy .button { width: 100%; }
  .cta { margin-block: 50px 115px; padding: 30px 24px; border-radius: 22px; }
  .cta .button { width: 100%; }
  .footer { display: block; min-height: 0; padding: 30px 0 105px; }
  .footer p { text-align: left; }
  .mobile-bar { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: block; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(244,247,250,.92); border-top: 1px solid rgba(16,24,43,.1); backdrop-filter: blur(14px); }
  .mobile-bar .button { width: 100%; min-height: 54px; }
}

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