:root {
  --bg: #0a0c02;
  --lime: #99df14;
  --red: #ff3b30;
  --muted: #9ca3af;
  --ink: #0a0c02;
  --card: rgba(153, 223, 20, 0.03);
  --line: rgba(153, 223, 20, 0.1);
  --white: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
}

img { max-width: 100%; }

.wrap {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 54px 0 28px;
  text-align: center;
}

.logo {
  display: block;
  width: 108px;
  height: auto;
  margin: 0 auto 22px;
  border-radius: 22px;
  box-shadow: 0 0 0 6px rgba(153, 223, 20, 0.08);
}

h1 {
  margin: 0 auto;
  max-width: 14ch;
  font-size: clamp(36px, 6.4vw, 70px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

h1 span { color: var(--lime); }

.sub {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
}

.mentor {
  margin: 10px 0 0;
  color: #f8f7f3;
  font-size: 16px;
  font-weight: 600;
}

.fine {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.fine:first-of-type { margin-top: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 15px 23px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: wait; }

.btn-lime {
  margin-top: 26px;
  background: var(--lime);
  color: #fff;
  border-color: var(--lime);
}

.btn-lime:hover { filter: brightness(1.06); }

.btn-dark {
  margin-top: 22px;
  background: var(--ink);
  color: var(--lime);
  border-color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  font-size: 16px;
  min-height: 48px;
}

.btn:focus-visible,
.links button:focus-visible,
.popup input:focus-visible,
.popup select:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

main {
  width: min(1040px, calc(100% - 32px));
  margin: 18px auto 0;
  display: grid;
  gap: 28px;
}

.card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--card);
}

.card-flip .visual { order: -1; }

.card h2,
.card h3 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.card h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
}

.card h3 {
  margin-top: 2px;
  color: var(--red);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
}

.list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 18px;
  line-height: 1.35;
}

.list li::before {
  flex: 0 0 auto;
  font-weight: 700;
  color: var(--lime);
  line-height: 1.2;
}

.list-cross li::before { content: "×"; font-size: 22px; }
.list-check li::before { content: "✓"; font-size: 16px; margin-top: 2px; }

.why {
  margin: 16px 0 0;
  color: var(--lime);
  font-size: 17px;
  font-weight: 600;
}

.visual-phone,
.visual-chart {
  min-height: 280px;
  display: grid;
  place-items: center;
}

.phone {
  width: 100%;
  padding: 18px 16px 16px;
  border-radius: 28px;
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(153, 223, 20, 0.16), transparent 42%),
    linear-gradient(160deg, #1c2214 0%, #10140c 55%, #070806 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-bar,
.phone-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #c9c9c4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.phone-bar .up { color: var(--lime); }
.phone-chart { display: block; width: 100%; height: auto; margin: 8px 0; }

.phone-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.chart-svg {
  width: 100%;
  height: 320px;
  display: block;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(255, 70, 70, 0.16), transparent 50%),
    #070806;
  border-radius: 18px;
}

.finale {
  position: relative;
  margin: 10px -16px 0;
  padding: 72px 16px 36px;
  overflow: hidden;
}

.finale-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #0a0c02 0%, rgba(10, 12, 2, 0.2) 18%, rgba(10, 12, 2, 0.25) 82%, #0a0c02 100%),
    radial-gradient(70% 80% at 50% 55%, #8fce22 0%, #3d6b0c 55%, #0a0c02 100%);
}

.finale-card {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 42px 28px 28px;
  border-radius: 30px;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
}

.finale-card h2 {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.finale-card p {
  margin: 6px 0 0;
  color: #0a0f1e;
  font-size: 14px;
  line-height: 1.4;
}

.finale-card p:first-of-type { margin-top: 16px; }

.foot {
  padding: 8px 16px 28px;
  text-align: center;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.links button {
  border: 0;
  padding: 0;
  background: none;
  color: #8d9286;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.copy {
  margin: 12px 0 0;
  color: #6e7368;
  font-size: 12px;
}

.ads {
  margin: 14px 0 0;
  color: #c5c8be;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ads a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.popup-layer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  overflow: auto;
}

.popup-layer[hidden] { display: none; }

.popup,
.sheet {
  width: min(420px, 100%);
  margin: auto;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #12140c;
  color: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.popup { text-align: left; }

.popup-logo {
  width: 64px;
  height: auto;
  margin: 0 auto 8px;
  display: block;
  border-radius: 14px;
}

.popup h2,
.sheet h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
  text-align: center;
}

.popup > p,
.sheet p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.popup label {
  display: block;
  margin-top: 14px;
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.popup input,
.popup select {
  width: 100%;
  margin-top: 6px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(153, 223, 20, 0.35);
  border-radius: 12px;
  background: #050705;
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.popup select { color-scheme: dark; }

.form-note {
  min-height: 1.2em;
  margin: 10px 0 0;
  color: #ffb4a2;
  font-size: 13px;
  text-align: left;
}

.popup-actions {
  margin-top: 8px;
  display: grid;
  gap: 10px;
}

.popup-actions .btn {
  margin-top: 0;
  width: 100%;
  font-size: 16px;
  min-height: 48px;
}

.sheet { text-align: left; }
.sheet::backdrop { background: rgba(0, 0, 0, 0.62); }
.sheet h2, .sheet p { text-align: left; }
.sheet-close { width: 100%; margin-top: 18px; }

@media (max-width: 800px) {
  .hero { padding-top: 36px; }
  .logo { width: 84px; margin-bottom: 18px; }

  .card,
  .card-flip {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 18px;
  }

  .card-flip .visual { order: 0; }
  .visual-phone,
  .visual-chart { min-height: 0; }
  .chart-svg { height: 220px; }
  .list li { font-size: 16px; }
  .btn { font-size: 18px; padding: 14px 18px; }
  .finale { padding-top: 48px; }
  .finale-card { padding: 28px 16px 20px; }
}
