:root {
  --ink: #12201c;
  --ink-soft: #2a3d36;
  --mute: #5c6f67;
  --paper: #e8efe9;
  --paper-deep: #d5e0d8;
  --accent: #c4f04b;
  --accent-ink: #1a2e14;
  --line: rgba(18, 32, 28, 0.14);
  --danger: #b42318;
  --ok: #1f6b45;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* One-screen pages: no scroll when content fits */
.page-home,
.page-info {
  overflow: hidden;
  height: 100dvh;
}

@media (max-height: 700px), (max-width: 380px) {
  .page-home,
  .page-info {
    overflow-y: auto;
    height: auto;
    min-height: 100dvh;
  }
}

/* Top navigation — links only, not a card bar */
.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding-top: 1.15rem;
}

.nav--bar {
  justify-content: space-between;
}

.nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav__brand:hover {
  color: var(--ink-soft);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav__link--accent {
  color: var(--ink);
  font-weight: 600;
}

.nav__link:focus-visible,
.nav__brand:focus-visible,
.text-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.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;
}

/* Atmosphere — full-bleed visual plane */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.atmosphere__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 8% -10%, #f4faf2 0%, transparent 55%),
    radial-gradient(90% 70% at 100% 10%, #cfe0d4 0%, transparent 50%),
    linear-gradient(165deg, #f2f7f3 0%, #dbe8df 42%, #c5d6cb 100%);
  animation: wash-shift 18s var(--ease) infinite alternate;
}

.atmosphere__grid {
  position: absolute;
  inset: -10%;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, black 10%, transparent 75%);
  opacity: 0.55;
  transform: rotate(-6deg) scale(1.05);
  animation: grid-drift 22s linear infinite alternate;
}

.atmosphere__glow {
  position: absolute;
  width: min(56vw, 520px);
  height: min(56vw, 520px);
  right: -8%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 240, 75, 0.35) 0%, transparent 68%);
  filter: blur(8px);
  animation: glow-breathe 7s var(--ease) infinite alternate;
}

@keyframes wash-shift {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.04) translate(-1.5%, 1%);
  }
}

@keyframes grid-drift {
  from {
    transform: rotate(-6deg) translate(0, 0) scale(1.05);
  }
  to {
    transform: rotate(-4deg) translate(-2%, 1.5%) scale(1.08);
  }
}

@keyframes glow-breathe {
  from {
    opacity: 0.55;
    transform: translate(0, 0) scale(1);
  }
  to {
    opacity: 0.9;
    transform: translate(-4%, -3%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere__wash,
  .atmosphere__grid,
  .atmosphere__glow,
  .reveal {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* One composition */
.screen {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: calc(100dvh - 3.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.1rem, 3vh, 1.85rem);
  padding: clamp(1rem, 3vh, 2.25rem) 0 clamp(1.5rem, 4vh, 2.75rem);
}

.screen--info {
  justify-content: center;
  gap: clamp(0.85rem, 2.2vh, 1.35rem);
  padding-top: 0.5rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
}

.info__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.info__lead {
  margin: 0;
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 44ch;
}

.info__note {
  margin: 0;
  max-width: 44ch;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--mute);
}

.info__cta {
  margin: 0.35rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.text-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 0.1rem;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-link:hover {
  border-bottom-color: var(--ink);
}

.steps {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 46ch;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.1rem;
  font-size: 0.96rem;
  line-height: 1.4;
  color: var(--ink);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-content: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent-ink);
}

.steps__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 0.1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand__name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--ink);
}

.brand__tag {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.offer__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3.8vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.offer__lead {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 42ch;
}

.bullets {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 46ch;
}

.bullets li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
}

.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
  border: 1px solid var(--accent-ink);
}

/* Form — interaction container, not a marketing card */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 420px;
  scroll-margin-top: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field__label,
.channel__legend {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--mute);
}

.field__input {
  width: 100%;
  appearance: none;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  padding: 0.55rem 0;
  font: inherit;
  font-size: 1.05rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field__input::placeholder {
  color: rgba(18, 32, 28, 0.35);
}

.field__input:focus {
  border-bottom-color: transparent;
  background: linear-gradient(transparent 92%, var(--accent) 92%, var(--accent) 100%);
}

.channel {
  margin: 0;
  padding: 0;
  border: none;
}

.channel__legend {
  padding: 0;
  margin-bottom: 0.45rem;
}

.channel__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.channel__option {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink-soft);
  user-select: none;
}

.channel__option input {
  appearance: none;
  width: 0.9rem;
  height: 0.9rem;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  display: grid;
  place-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.channel__option input::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  transform: scale(0);
  background: var(--accent-ink);
  transition: transform 0.12s ease;
}

.channel__option input:checked {
  background: var(--accent);
  border-color: var(--accent-ink);
}

.channel__option input:checked::before {
  transform: scale(1);
}

.channel__option:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.channel__option:has(input:checked) {
  color: var(--ink);
  font-weight: 500;
}

.submit {
  margin-top: 0.25rem;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: none;
  padding: 0.85rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease);
}

.submit__hint {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.submit:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.submit:hover .submit__hint {
  transform: translateX(4px);
}

.submit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form__status {
  margin: 0;
  min-height: 1.25em;
  font-size: 0.9rem;
  color: var(--mute);
}

.form__status.is-error {
  color: var(--danger);
}

.form__status.is-ok {
  color: var(--ok);
}

.trust {
  margin: 0.85rem 0 0;
  max-width: 38ch;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--mute);
}

/* Entrance */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.7s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 90ms + 80ms);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .nav {
    width: calc(100% - 1.75rem);
    padding-top: 1rem;
    gap: 0.85rem;
  }

  .nav__links {
    gap: 0.85rem;
  }

  .screen {
    width: calc(100% - 1.75rem);
    justify-content: flex-start;
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .page-home .screen {
    min-height: auto;
  }

  .offer__title,
  .info__title {
    max-width: none;
  }

  .submit {
    width: 100%;
    justify-content: space-between;
  }
}
