@font-face {
  font-family: "Point";
  src: url("../fonts/Point-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Point";
  src: url("../fonts/Point-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Point";
  src: url("../fonts/Point-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Point";
  src: url("../fonts/Point-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Point";
  src: url("../fonts/Point-BlackItalic.woff2") format("woff2");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Point";
  src: url("../fonts/Point-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --lime: #C1D900;
  --lime-bright: #CFE903;
  --ink: #0D0D0D;
  --surface: #141414;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  --danger: #ff5c5c;
  --max: 1120px;
  --pad: clamp(1.15rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Point", sans-serif;
  font-weight: 400;
  color: var(--white);
  background: var(--ink);
  line-height: 1.45;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lime);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--lime-bright);
}

h1,
h2,
h3 {
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}

em {
  font-style: italic;
  color: var(--lime);
  font-weight: 900;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Logo — намальований вордмарк з підтіками, аспект 900x486 */
.logo-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.logo {
  height: auto;
  aspect-ratio: 900 / 486;
  transition: opacity 0.2s ease;
}

.logo-link:hover .logo {
  opacity: 0.82;
}

.logo-sm {
  width: clamp(88px, 12vw, 118px);
}

.logo-hero {
  width: clamp(168px, 26vw, 268px);
  /* Підтіки домальовані всередині картинки, тому відступ береться з запасом */
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  /* Лого живе тільки в герої, тому в хедері лишається одна кнопка справа */
  justify-content: flex-end;
  /* Той самий жолоб, що й у .section-inner */
  padding: 1.1rem max(var(--pad), (100% - var(--max)) / 2);
}


.header-tg {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.45rem 0.85rem;
}

.header-tg:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 5.5rem var(--pad) 2.75rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-band {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0.2) 26%, rgba(13, 13, 13, 0.72) 55%, rgba(13, 13, 13, 0.96) 78%, var(--ink) 100%),
    linear-gradient(90deg, rgba(13, 13, 13, 0.65) 0%, rgba(13, 13, 13, 0.2) 48%, rgba(13, 13, 13, 0.45) 100%);
}

.hero-float {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.bill {
  position: absolute;
  opacity: 0.45;
  filter: saturate(0.9);
  will-change: transform;
}

.bill-a {
  width: min(28vw, 220px);
  top: 18%;
  right: 6%;
  animation: drift-a 14s ease-in-out infinite alternate;
}

.bill-b {
  width: min(22vw, 170px);
  bottom: 22%;
  left: 4%;
  opacity: 0.3;
  animation: drift-b 18s ease-in-out infinite alternate;
}

.bill-c {
  width: min(26vw, 200px);
  top: 8%;
  right: -2%;
  opacity: 0.28;
  animation: drift-a 16s ease-in-out infinite alternate-reverse;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) rotate(-8deg); }
  to { transform: translate3d(-18px, 28px, 0) rotate(6deg); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) rotate(12deg); }
  to { transform: translate3d(22px, -24px, 0) rotate(-4deg); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-weight: 700;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.55rem, 9vw, 7.25rem);
  margin-bottom: 1.35rem;
  line-height: 0.88;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  font-family: inherit;
  font-weight: 800;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  color: inherit;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn-primary:hover:not(:disabled) {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(193, 217, 0, 0.35);
}

.btn-tg {
  background: transparent;
  color: var(--white);
  border-color: var(--lime);
}

.btn-tg:hover {
  background: rgba(193, 217, 0, 0.12);
  color: var(--lime-bright);
  transform: translateY(-2px);
}

/* Marquee */
.marquee {
  overflow: hidden;
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  border-block: 2px solid var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 0.75rem 0;
}

.marquee-group span {
  flex-shrink: 0;
  padding: 0 1.35rem;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  letter-spacing: 0.04em;
  white-space: nowrap;
  border-right: 2px solid rgba(13, 13, 13, 0.25);
}

@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Sections — tighter rhythm */
.section {
  position: relative;
  padding: clamp(2rem, 5vw, 3.75rem) var(--pad);
  overflow: hidden;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  position: relative;
}

.band-lime {
  background: var(--lime);
  color: var(--ink);
}

.band-lime em,
.band-lime a {
  color: var(--ink);
}

/* Earnings — lime slab beat */
.earnings {
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.5rem);
}

.earnings-sum {
  margin: 0 0 0.85rem;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 0.95;
  color: var(--ink);
  max-width: 20ch;
}

.earnings-sum strong {
  font-weight: 900;
}

.earnings-lead {
  margin: 0;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  max-width: 34ch;
  color: var(--ink);
}

/* Terms */
.terms {
  background: var(--ink);
}

.terms-title {
  font-size: clamp(2.9rem, 10vw, 5.75rem);
  color: var(--lime);
  line-height: 0.85;
  margin-bottom: clamp(1.4rem, 3.5vw, 2.15rem);
}

.terms-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.term-card {
  background: var(--surface);
  border: 2px solid var(--lime);
  padding: 1.2rem 1.3rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.term-card:hover {
  transform: translateY(-3px);
  border-color: var(--lime-bright);
  box-shadow: 0 0 0 1px var(--lime-bright), 0 12px 40px rgba(193, 217, 0, 0.18);
}

.term-value {
  margin: 0 0 0.3rem;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.9rem, 5.5vw, 2.85rem);
  color: var(--lime);
  line-height: 1;
}

.term-label {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Perks */
.perks {
  background: var(--ink);
}

.perks-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.perk {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem 1.15rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.perk p {
  margin: 0;
  font-size: clamp(1.15rem, 3vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.perk-num {
  font-weight: 900;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--lime);
  opacity: 0.55;
}

/* V1 device: chunky lime slab, dark type */
.perk-slab {
  grid-template-columns: 1fr;
  background: var(--lime);
  border-bottom: none;
  padding: 1.25rem 1.4rem;
  margin: 0.35rem 0;
}

.perk-slab p {
  color: var(--ink);
  font-size: clamp(1.35rem, 4vw, 2.45rem);
  font-weight: 800;
  font-style: italic;
}

.perk-slab strong {
  color: var(--ink);
  font-weight: 900;
  font-style: italic;
}

.perk-float {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Bonus — prominent lime beat */
.bonus {
  padding: clamp(2.25rem, 5.5vw, 3.75rem) var(--pad);
}

.bonus-inner {
  text-align: left;
}

.bonus h2 {
  font-size: clamp(2.35rem, 7.5vw, 5rem);
  color: var(--ink);
  max-width: 12ch;
  margin-bottom: 0.75rem;
  line-height: 0.9;
}

.bonus-lead,
.bonus-tail {
  margin: 0;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--ink);
}

.bonus-cash {
  margin: 0.15rem 0;
  display: inline-block;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(4.5rem, 18vw, 10rem);
  line-height: 0.82;
  color: var(--ink);
  transform: rotate(-2deg);
  transform-origin: left center;
}

/* Dual columns — alternating dark / lime */
.dual {
  background: var(--ink);
}

.dual-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.dual-col {
  padding: clamp(1.55rem, 3.4vw, 2.35rem);
}

.dual-col h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.85rem);
  margin-bottom: 1.15rem;
  line-height: 0.95;
}

.dual-col-dark {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dual-col-dark h2 {
  color: var(--lime);
}

.dual-col-lime {
  background: var(--lime);
  color: var(--ink);
}

.dual-col-lime h2 {
  color: var(--ink);
}

.dual-col ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: dual;
  display: grid;
  gap: 0.85rem;
}

.dual-col li {
  counter-increment: dual;
  position: relative;
  padding-left: 2.2rem;
  font-size: 0.98rem;
  line-height: 1.4;
}

.dual-col-dark li {
  color: var(--muted);
}

.dual-col-lime li {
  color: var(--ink);
}

.dual-col li::before {
  content: counter(dual);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  font-style: italic;
}

.dual-col-dark li::before {
  color: var(--lime);
}

.dual-col-lime li::before {
  color: var(--ink);
}

/* Form */
.apply {
  background: var(--ink);
}

.apply-inner {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.apply-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.apply-intro .btn-tg {
  margin-top: 0.35rem;
}

.apply-mammoth {
  width: clamp(150px, 46%, 250px);
  aspect-ratio: 1;
  height: auto;
  margin-top: auto;
  opacity: 0.72;
}

.apply h2 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  margin-bottom: 0.45rem;
}

.form-sub {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

#form {
  display: grid;
  gap: 0.9rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field-row {
  display: grid;
  gap: 0.9rem;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.85rem 0.95rem;
  border-radius: 0;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
  border-color: var(--lime);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: var(--danger);
  outline: none;
  box-shadow: 0 0 0 1px var(--danger);
}

.form-error {
  margin: 0;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.95rem;
}

#form .btn {
  width: 100%;
  margin-top: 0.25rem;
}

.form-alt {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem max(var(--pad), (100% - var(--max)) / 2) 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer a:not(.logo-link) {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
}

.site-footer a:not(.logo-link):hover {
  color: var(--lime);
}

/* Thanks page */
.thanks-page {
  min-height: 100svh;
}

.thanks {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem var(--pad);
  gap: 1.25rem;
}

.thanks-logo {
  width: min(72vw, 420px);
  aspect-ratio: 1;
  height: auto;
}

.thanks-message {
  margin: 0;
  max-width: 28ch;
  font-weight: 600;
  font-size: clamp(1.1rem, 2.8vw, 1.4rem);
  color: var(--muted);
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Scroll reveals */
.reveal {
  opacity: 1;
  transform: none;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation-name: reveal-in;
      animation-duration: 1ms;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 5% entry 30%;
    }
  }
}

@keyframes reveal-in {
  /* Transform only — never animate opacity, so content cannot stick invisible */
  from {
    transform: translateY(22px);
  }
  to {
    transform: translateY(0);
  }
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero {
    padding-bottom: 3.5rem;
  }

  .hero-cta .btn-tg {
    min-width: 16rem;
  }

  .terms-cards {
    grid-template-columns: 1fr 1fr;
  }

  /* П'ята карточка займає рядок цілком, щоб не висіла сиротою */
  .terms-cards .term-card:last-child {
    grid-column: 1 / -1;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .dual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bonus-inner {
    display: grid;
    grid-template-columns: 1.2fr auto;
    grid-template-rows: auto auto auto;
    column-gap: 2rem;
    align-items: center;
  }

  .bonus h2 {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
  }

  .bonus-lead { grid-column: 2; grid-row: 1; }
  .bonus-cash { grid-column: 2; grid-row: 2; }
  .bonus-tail { grid-column: 2; grid-row: 3; }
}

@media (min-width: 900px) {
  .apply-inner {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    /* stretch, щоб мамонт міг притиснутись до низу колонки */
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .hero-inner {
    padding-right: 16%;
  }

  /* 3 + 2 карточки: рядки заповнені, сітка збігається з рештою секцій */
  .terms-cards {
    grid-template-columns: repeat(6, 1fr);
  }

  .terms-cards .term-card:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .terms-cards .term-card:nth-child(n + 4) {
    grid-column: span 3;
  }

  .bill-a {
    width: 240px;
    right: 10%;
  }

  .bill-b {
    width: 190px;
    left: 8%;
  }

  .term-card {
    padding: 1.45rem 1.6rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .hero {
    min-height: 100svh;
    padding-bottom: 2.25rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-float .bill-b {
    display: none;
  }

  .bill-a {
    top: 12%;
    right: -8%;
    width: 38vw;
    opacity: 0.28;
  }

  .perk-float,
  .apply-mammoth {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .thanks-actions {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
  }

  .thanks-actions .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .marquee-group span {
    padding: 0 1.05rem;
    font-size: 0.9rem;
  }

  .term-value {
    font-size: 1.7rem;
  }

  .bonus-cash {
    font-size: 3.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track,
  .bill,
  .perk-slab,
  .bonus-cash {
    transform: none !important;
  }
}
