:root {
  --ink: #11120f;
  --paper: #f4f1e8;
  --lime: #d8ff4f;
  --orange: #ff6542;
  --muted: #55574f;
  --line: rgba(17, 18, 15, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input { font: inherit; }
button { color: inherit; }

.hero {
  position: relative;
  min-height: calc(100vh - 54px);
  padding: 0 clamp(22px, 5vw, 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .24;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.ambient { position: absolute; z-index: -2; border-radius: 50%; filter: blur(3px); }
.ambient--one { width: 360px; height: 360px; right: 7%; top: 15%; background: rgba(216,255,79,.62); }
.ambient--two { width: 230px; height: 230px; right: 32%; bottom: 8%; background: rgba(255,101,66,.22); }

.hero__grid {
  width: min(900px, 100%);
  min-height: 610px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(38px, 6vh, 72px) 0 64px;
}

.eyebrow { margin: 0 0 20px; color: #55584f; font-size: 12px; font-weight: 850; line-height: 1; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 10px 3px 0; background: var(--orange); }

h1 { margin: 0; font-size: clamp(48px, 6.4vw, 94px); line-height: .92; letter-spacing: -.07em; max-width: 820px; }
h1 span { position: relative; z-index: 0; }
h1 span::after { content: ""; position: absolute; height: .17em; left: -.02em; right: -.08em; bottom: .08em; background: var(--lime); z-index: -1; transform: rotate(-2deg); }
.hero__lead { max-width: 600px; margin: 30px 0 28px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); }

.hero__benefits {
  display: grid;
  gap: 9px;
  margin: 30px 0 28px;
}

.hero__benefits p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 650;
  line-height: 1.45;
}

.earning { display: block; margin-bottom: 30px; padding: 4px 0 5px 18px; border-left: 4px solid var(--orange); }
.earning__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); }
.earning__icon svg { width: 24px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.earning span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.earning strong { display: block; margin-top: 3px; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.04em; }
.earning small { font-size: .5em; font-weight: 650; color: var(--muted); letter-spacing: 0; }

.cta { min-width: 230px; height: 64px; padding: 0 18px 0 28px; display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; border: 0; border-radius: 18px; background: var(--orange); box-shadow: 0 13px 30px rgba(255,101,66,.24); color: #fff; cursor: pointer; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.cta svg { width: 35px; height: 35px; padding: 8px; border-radius: 50%; fill: none; stroke: currentColor; stroke-width: 2; background: rgba(255,255,255,.16); }
.cta:hover { transform: translateY(-3px); box-shadow: 0 18px 35px rgba(255,101,66,.32); }
.cta:active { transform: translateY(0); }
.cta:focus-visible, .modal__close:focus-visible, input:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.cta--telegram { min-width: 310px; background: #229ed9; box-shadow: 0 13px 30px rgba(34,158,217,.25); }
.cta--telegram:hover { box-shadow: 0 18px 35px rgba(34,158,217,.34); }
.cta--telegram svg { stroke-linecap: round; stroke-linejoin: round; }
.hero__note { display: inline-block; margin: 0 0 0 14px; color: #77796f; font-size: 12px; }

.hero__visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(17,18,15,.14); border-radius: 50%; }
.orbit--outer { width: min(42vw, 510px); aspect-ratio: 1; animation: rotate 28s linear infinite; }
.orbit--outer::before, .orbit--inner::before { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; background: var(--orange); top: 17%; left: 10%; }
.orbit--inner { width: min(31vw, 380px); aspect-ratio: 1; border-style: dashed; animation: rotate 18s linear infinite reverse; }
.orbit--inner::before { background: var(--ink); top: auto; left: auto; right: 5%; bottom: 24%; }

.visual-card { position: relative; z-index: 2; width: min(360px, 76%); min-height: 348px; padding: 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 34px; background: rgba(255,255,255,.69); box-shadow: 0 30px 70px rgba(35,38,25,.16); backdrop-filter: blur(18px); transform: rotate(2.5deg); }
.visual-card__top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 800; }
.visual-card__flag { display: grid; place-items: center; width: 39px; height: 27px; border-radius: 8px; color: #fff; background: var(--orange); font-size: 10px; }
.route { margin: 54px 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; }
.route__point { display: flex; flex-direction: column; align-items: center; gap: 11px; font-size: 11px; font-weight: 750; color: var(--muted); white-space: nowrap; }
.route__point i { width: 16px; height: 16px; border: 4px solid var(--ink); border-radius: 50%; background: #fff; }
.route__point--finish i { border-color: var(--orange); box-shadow: 0 0 0 8px rgba(255,101,66,.14); }
.route__line { height: 15px; border-bottom: 2px dashed #9b9d92; }
.route__line b { display: block; width: 38%; height: 2px; margin-top: 13px; background: var(--orange); position: relative; }
.route__line b::after { content: "›"; position: absolute; right: -3px; top: -12px; color: var(--orange); font-size: 20px; }
.visual-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.visual-card__stats div { padding: 17px; border-radius: 18px; background: rgba(216,255,79,.52); }
.visual-card__stats div:last-child { background: rgba(17,18,15,.07); }
.visual-card__stats strong, .visual-card__stats span { display: block; }
.visual-card__stats strong { font-size: 20px; }
.visual-card__stats span { margin-top: 3px; color: var(--muted); font-size: 11px; }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px; padding: 14px 17px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 0 17px 35px rgba(17,18,15,.2); font-size: 11px; line-height: 1.35; }
.float-card svg { width: 27px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.float-card strong { color: var(--lime); font-size: 12px; }
.float-card--flight { left: 1%; top: 23%; transform: rotate(-7deg); }
.float-card--home { right: 0; bottom: 22%; transform: rotate(5deg); }

.trust-row { width: min(1280px, 100%); margin: auto; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-row > div { display: flex; gap: 16px; padding: 27px clamp(14px, 2vw, 30px); border-right: 1px solid var(--line); }
.trust-row > div:last-child { border-right: 0; }
.trust-row > div > span { color: var(--orange); font-size: 11px; font-weight: 800; }
.trust-row p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.trust-row strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 14px; }

.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(17,18,15,.68); backdrop-filter: blur(7px); animation: fade .25s both; }
.modal__panel { position: relative; width: min(520px, 100%); padding: clamp(28px, 5vw, 52px); border-radius: 30px; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.3); animation: pop .32s both; }
.modal__panel h2 { margin: 0; font-size: clamp(38px, 8vw, 58px); letter-spacing: -.06em; }
.modal__panel > p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.modal__close { position: absolute; right: 18px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(17,18,15,.08); cursor: pointer; font-size: 25px; }
.form { display: grid; gap: 17px; margin-top: 26px; }
.form label > span { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 800; }
.form input[type="text"] { width: 100%; height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.checkbox { display: flex; align-items: flex-start; gap: 9px; color: var(--muted); }
.checkbox input { margin-top: 2px; accent-color: var(--orange); }
.checkbox span { font-weight: 500 !important; line-height: 1.4; }
.cta--form { width: 100%; justify-content: center; }
.form__success { padding: 22px; border-radius: 16px; text-align: center; background: rgba(216,255,79,.45); }
.form__success strong, .form__success span { display: block; }
.form__success span { margin-top: 4px; color: var(--muted); font-size: 13px; }
body.modal-open { overflow: hidden; }

.footer { min-height: 54px; padding: 14px clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #a9ab9f; background: var(--ink); font-size: 10px; line-height: 1.4; }
.footer span:last-child { max-width: 720px; text-align: right; }

@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(101,168,39,0); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; padding-bottom: 10px; }
  .hero__content { text-align: center; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .earning { text-align: left; }
  .hero__visual { min-height: 460px; }
  .orbit--outer { width: 470px; max-width: 95vw; }
  .orbit--inner { width: 350px; max-width: 72vw; }
  .float-card--flight { left: 8%; }
  .float-card--home { right: 8%; }
  .trust-row { margin-top: 35px; }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 0 18px;
  }

  .hero::before {
    background-size: 48px 48px;
    opacity: .18;
  }

  .ambient--one {
    width: 310px;
    height: 310px;
    top: 150px;
    right: -130px;
    opacity: .78;
  }

  .ambient--two { display: none; }

  .hero__grid {
    min-height: 0;
    padding: 26px 0 24px;
    gap: 28px;
  }

  .hero__content { text-align: left; }

  .eyebrow {
    margin-bottom: 15px;
    font-size: 10px;
    letter-spacing: .14em;
  }

  .eyebrow::before { width: 20px; margin-right: 8px; }

  h1 {
    max-width: 354px;
    font-size: clamp(43px, 12.6vw, 55px);
    line-height: .96;
    letter-spacing: -.065em;
  }

  .hero__benefits {
    gap: 7px;
    margin: 22px 0 24px;
  }

  .hero__benefits p {
    color: #494b44;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.45;
  }

  .hero__lead {
    max-width: 345px;
    margin: 22px 0 20px;
    color: #494b44;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: -.01em;
  }

  .earning {
    width: auto;
    margin: 0 0 16px;
    padding: 3px 0 4px 15px;
    border-left: 4px solid var(--orange);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
  }

  .earning__icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    background: var(--lime);
  }

  .earning__icon svg { width: 22px; stroke: var(--ink); }
  .earning span { color: #65675f; font-size: 10px; letter-spacing: .09em; }
  .earning strong { margin-top: 3px; font-size: 28px; letter-spacing: -.04em; }
  .earning small { color: #65675f; font-size: 12px; letter-spacing: 0; }

  .cta {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 60px;
    padding: 0 18px;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(255,101,66,.22);
  }

  .cta--telegram { min-width: 0; padding-left: 15px; padding-right: 54px; font-size: 14px; }

  .cta svg { position: absolute; right: 14px; width: 34px; height: 34px; }
  .hero__note { display: block; margin: 11px 0 0; color: #5c5e56; text-align: center; font-size: 11px; }

  .hero__visual {
    min-height: 315px;
    margin: 2px -6px 0;
  }

  .orbit--outer { width: 330px; max-width: 96vw; }
  .orbit--inner { width: 250px; max-width: 72vw; }

  .visual-card {
    width: min(300px, 84%);
    min-height: 236px;
    padding: 20px;
    border-radius: 26px;
    transform: rotate(1.5deg);
  }

  .visual-card__top { font-size: 11px; }
  .visual-card__flag { width: 35px; height: 24px; }
  .route { margin: 36px 4px 34px; }
  .route__point { gap: 8px; font-size: 9px; }
  .route__point i { width: 14px; height: 14px; border-width: 3px; }
  .visual-card__stats div { padding: 13px; border-radius: 14px; }
  .visual-card__stats strong { font-size: 18px; }
  .visual-card__stats span { font-size: 9px; }

  .float-card {
    gap: 8px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 9px;
  }

  .float-card svg { width: 22px; }
  .float-card strong { font-size: 10px; }
  .float-card--flight { left: 0; top: 18%; }
  .float-card--home { right: 0; bottom: 10%; }

  .trust-row {
    grid-template-columns: 1fr;
    margin: 0 0 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255,255,255,.38);
    overflow: hidden;
  }

  .trust-row > div {
    align-items: center;
    gap: 13px;
    min-height: 74px;
    padding: 15px 17px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-row > div:last-child { border-bottom: 0; }
  .trust-row > div > span { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,101,66,.12); }
  .trust-row strong { font-size: 14px; }
  .trust-row p { color: #55574f; font-size: 12px; line-height: 1.5; }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__panel {
    width: 100%;
    max-height: 92svh;
    overflow-y: auto;
    padding: 32px 20px max(24px, env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
  }

  .modal__panel h2 { font-size: 40px; }
  .modal__panel > p:not(.eyebrow) { margin-bottom: 0; color: #494b44; font-size: 15px; line-height: 1.55; }
  .modal__close { right: 16px; top: 14px; }
  .form { gap: 14px; margin-top: 22px; }
  .form input[type="text"] { height: 54px; }
  .cta--form svg { display: none; }

  .footer {
    padding: 24px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer span:last-child { text-align: left; }
}

@media (max-width: 360px) {
  h1 { font-size: 41px; }
  .hero__lead { font-size: 18px; }
  .earning strong { font-size: 25px; }
  .visual-card { width: 280px; }
  .float-card--flight { left: -5px; }
  .float-card--home { right: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
