:root {
  --blue: #0079eb;
  --blue-dark: #002f68;
  --blue-deep: #001f48;
  --blue-light: #cbe2ff;
  --pink: #e94e9c;
  --green: #25d366;
  --white: #ffffff;
  --ink: #10243e;
  --muted: #5e6f83;
  --line: #dce7f4;
  --surface: #f4f8fd;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 31, 72, 0.18);
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-dark);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 84px;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(0, 47, 104, 0.98), rgba(0, 31, 72, 0.97)),
    var(--blue-dark);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero__glow--one {
  width: 480px;
  height: 480px;
  right: -180px;
  top: -170px;
  background: radial-gradient(circle, rgba(0, 121, 235, 0.26), transparent 68%);
}

.hero__glow--two {
  width: 380px;
  height: 380px;
  left: 35%;
  bottom: -280px;
  background: radial-gradient(circle, rgba(233, 78, 156, 0.16), transparent 70%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 72px;
  align-items: center;
}

@media (min-width: 981px) {
  .hero {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    place-items: center;
    padding: clamp(48px, 7vh, 84px) 0;
  }

  .hero__grid {
    width: min(100% - 48px, 1160px);
  }

  .form-card {
    align-self: center;
  }
}

.brand-logo {
  margin: 0 0 54px;
  width: fit-content;
  overflow: hidden;
  padding: 7px 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0, 18, 48, 0.2);
}

.brand-logo img {
  display: block;
  width: 232px;
  height: auto;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(203, 226, 255, 0.2);
  border-radius: 999px;
  color: var(--blue-light);
  background: rgba(203, 226, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--pink {
  border-color: rgba(233, 78, 156, 0.28);
  color: #ffd9ed;
  background: rgba(233, 78, 156, 0.14);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h1 em {
  color: var(--blue-light);
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #edf6ff;
  font-size: 20px;
  line-height: 1.45;
}

.book-stage {
  display: grid;
  min-height: 300px;
  place-items: center;
  padding: 8px 14px 18px 22px;
  perspective: 1200px;
}

.book-mockup {
  position: relative;
  width: 184px;
  aspect-ratio: 595 / 842;
  isolation: isolate;
  transform: rotateY(-9deg) rotateZ(-1.5deg);
  transform-style: preserve-3d;
}

.book-mockup::after {
  position: absolute;
  right: -4px;
  bottom: -15px;
  left: 8px;
  z-index: -2;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 12, 31, 0.48);
  filter: blur(13px);
  content: "";
}

.book-mockup__front {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(203, 226, 255, 0.44);
  border-radius: 7px 11px 11px 7px;
  box-shadow:
    14px 18px 28px rgba(0, 12, 31, 0.36),
    2px 0 0 rgba(255, 255, 255, 0.12) inset;
}

.book-mockup__spine {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: -13px;
  z-index: 1;
  width: 19px;
  border: 1px solid rgba(203, 226, 255, 0.2);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #001c43 0%, #063e79 55%, #002f68 100%);
  box-shadow: -8px 10px 18px rgba(0, 15, 36, 0.22);
  transform: skewY(-4deg);
  transform-origin: right center;
}

.book-mockup__spine::after {
  position: absolute;
  inset: 9px 4px;
  border-left: 1px solid rgba(203, 226, 255, 0.16);
  border-right: 1px solid rgba(0, 12, 31, 0.24);
  content: "";
}

.book-mockup__pages {
  position: absolute;
  top: 8px;
  right: -10px;
  bottom: -5px;
  z-index: 1;
  width: 14px;
  border-radius: 0 8px 8px 0;
  background: repeating-linear-gradient(90deg, #e7f0fa 0 2px, #ffffff 2px 4px);
  box-shadow: 5px 8px 14px rgba(0, 15, 36, 0.22);
  transform: skewY(29deg);
  transform-origin: left center;
}

.ebook-highlight {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  background: var(--surface);
}

.ebook-highlight__grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(0, 1.1fr);
  gap: 88px;
  align-items: center;
}

.ebook-highlight__visual {
  position: relative;
  display: grid;
  min-height: 590px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(0, 121, 235, 0.16);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 42%, rgba(203, 226, 255, 0.88), transparent 44%),
    linear-gradient(145deg, #ffffff, #e9f3ff);
  box-shadow: 0 28px 70px rgba(0, 47, 104, 0.14);
}

.ebook-highlight__visual::before {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 121, 235, 0.12);
  border-radius: 50%;
  content: "";
}

.ebook-highlight .book-stage {
  position: relative;
  z-index: 1;
  min-height: 0;
  padding: 42px 48px 58px 64px;
}

.ebook-highlight .book-mockup {
  width: 330px;
  max-width: 74vw;
  transform: rotateY(-8deg) rotateZ(-1deg);
}

.ebook-highlight__content {
  max-width: 610px;
}

.ebook-highlight h2 {
  margin: 14px 0 0;
  color: var(--blue-dark);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.ebook-highlight__lead {
  max-width: 570px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.ebook-highlight__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 0 0;
  color: var(--blue-dark);
  font-weight: 700;
}

.ebook-highlight__meta span {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 14px;
}

.ebook-highlight .button {
  width: fit-content;
  margin-top: 32px;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #8fc9ff;
}

.form-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.form-card__heading {
  margin-bottom: 23px;
}

.form-card__step {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-card h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 30px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.form-card__heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

#lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 14px;
}

.field {
  min-width: 0;
}

.field--full,
.consent,
.consent-error,
.button--full,
.form-card__privacy,
.form-card__status {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 49px;
  border: 1px solid #cad8e6;
  border-radius: 11px;
  outline: none;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 120ms ease-out, box-shadow 180ms var(--ease), background 180ms var(--ease);
}

.field input::placeholder {
  color: #8b99a9;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 121, 235, 0.12);
}

.field [aria-invalid="true"] {
  border-color: #c83257;
  background: #fff8fa;
}

.field__error {
  display: block;
  min-height: 14px;
  margin-top: 3px;
  color: #a21d40;
  font-size: 11px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
}

.consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin: 1px 0 0;
  accent-color: var(--blue);
}

.consent-error {
  min-height: 14px;
  margin-top: -11px;
  color: #a21d40;
  font-size: 11px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease-out, box-shadow 180ms var(--ease), background-color 180ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button:focus-visible,
.modal__close:focus-visible,
.modal__download:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.button--primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(0, 121, 235, 0.25);
  text-transform: uppercase;
}

.button--primary:hover {
  background: #006dd5;
  box-shadow: 0 16px 28px rgba(0, 121, 235, 0.3);
}

.button[disabled] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-card__privacy {
  margin: -5px 0 0;
  color: #748497;
  font-size: 11px;
  text-align: center;
}

.form-card__status {
  margin: -6px 0 0;
  color: #325f86;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.form-card__status.is-error {
  color: #b42318;
}

.rd-ghost-form {
  position: fixed;
  top: 0;
  left: -10000px;
  z-index: -1;
  width: 480px;
  max-width: 100%;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.rd-conversion-target {
  display: none;
}

.content-section {
  padding: 110px 0;
  background: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading h2,
.authority h2,
.final-cta h2 {
  margin: 12px 0 0;
  color: var(--blue-dark);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading > p {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.topic-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  transition: transform 250ms var(--ease), box-shadow 250ms var(--ease), border-color 250ms var(--ease);
}

.topic-card:hover {
  border-color: #afd3f7;
  box-shadow: 0 18px 40px rgba(0, 47, 104, 0.1);
  transform: translateY(-6px);
}

.topic-card__number {
  position: absolute;
  top: 26px;
  right: 26px;
  color: #b8d2ec;
  font-size: 13px;
  font-weight: 800;
}

.topic-card__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 58px;
  border-radius: 17px;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 22px rgba(0, 121, 235, 0.24);
  font-size: 18px;
  font-weight: 800;
}

.topic-card__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-card:nth-child(2) .topic-card__icon {
  color: var(--blue-dark);
  background: var(--blue-light);
  box-shadow: none;
}

.topic-card:nth-child(3) .topic-card__icon {
  background: var(--pink);
  box-shadow: 0 12px 22px rgba(233, 78, 156, 0.2);
  font-size: 14px;
}

.topic-card h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 23px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.topic-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.authority {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  color: var(--white);
  background: var(--blue-dark);
}

.authority__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, 0.56fr) minmax(340px, 0.86fr);
  gap: 32px;
  align-items: center;
}

.authority h2 {
  color: var(--white);
}

.authority__copy > p:not(.authority__signature) {
  max-width: 620px;
  margin: 24px 0 0;
  color: #c1d3e6;
  font-size: 18px;
}

.authority__signature {
  margin: 34px 0 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.authority__signature span {
  color: #94b9dc;
  font-weight: 400;
}

.authority__portrait {
  position: relative;
  align-self: stretch;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 60px rgba(0, 18, 48, 0.32);
}

.authority__portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(0, 47, 104, 0.3));
  content: "";
  pointer-events: none;
}

.authority__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  display: grid;
  min-height: 170px;
  align-content: center;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.stat:nth-child(3) {
  grid-column: 1 / -1;
  min-height: 150px;
}

.stat strong {
  display: inline-block;
  color: var(--blue-light);
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.05em;
  transform-origin: left center;
  white-space: nowrap;
}

.stat span {
  max-width: 230px;
  margin-top: 10px;
  color: #d8e7f6;
}

.stats__note {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: #8eabc7;
  font-size: 11px;
}

.final-cta {
  --cta-pointer-x: 50%;
  --cta-pointer-y: 50%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 84px 0;
  background:
    radial-gradient(460px circle at var(--cta-pointer-x) var(--cta-pointer-y), rgba(0, 121, 235, 0.2), transparent 68%),
    linear-gradient(135deg, #f4f8fe 0%, #edf5ff 48%, #fff4fa 100%);
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.final-cta::before {
  width: 360px;
  height: 360px;
  left: -110px;
  top: -190px;
  background: radial-gradient(circle, rgba(0, 121, 235, 0.2), rgba(0, 121, 235, 0) 70%);
  animation: cta-orbit-left 12s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.final-cta::after {
  width: 420px;
  height: 420px;
  right: -140px;
  bottom: -240px;
  background: radial-gradient(circle, rgba(233, 78, 156, 0.18), rgba(233, 78, 156, 0) 70%);
  animation: cta-orbit-right 14s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.final-cta__box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 48px 54px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 50px rgba(0, 47, 104, 0.1);
  backdrop-filter: blur(12px);
}

@keyframes cta-orbit-left {
  to { transform: translate3d(90px, 42px, 0) scale(1.08); }
}

@keyframes cta-orbit-right {
  to { transform: translate3d(-105px, -34px, 0) scale(0.92); }
}

.final-cta h2 {
  max-width: 740px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.button--secondary {
  flex: 0 0 auto;
  color: var(--white);
  background: var(--blue-dark);
  box-shadow: 0 12px 26px rgba(0, 47, 104, 0.2);
}

.final-cta .button--secondary {
  --button-glow-x: 50%;
  --button-glow-y: 50%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(143, 201, 255, 0.24);
  background:
    radial-gradient(90px circle at var(--button-glow-x) var(--button-glow-y), rgba(255, 255, 255, 0.08), transparent 72%),
    linear-gradient(135deg, #064988 0%, #002f68 68%, #082857 100%);
  box-shadow: 0 12px 26px rgba(0, 47, 104, 0.24);
  transition:
    transform 120ms cubic-bezier(0.2, 0, 0, 1),
    border-color 100ms ease-out,
    box-shadow 220ms cubic-bezier(0.2, 0, 0, 1),
    background 220ms cubic-bezier(0.2, 0, 0, 1);
}

.final-cta .button--secondary:hover,
.final-cta .button--secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(100px circle at var(--button-glow-x) var(--button-glow-y), rgba(255, 255, 255, 0.46), rgba(143, 201, 255, 0.18) 38%, transparent 72%),
    linear-gradient(135deg, #0079eb 0%, #004f9f 55%, #703093 125%);
  box-shadow:
    0 0 0 1px rgba(0, 121, 235, 0.22),
    0 0 28px rgba(0, 121, 235, 0.62),
    0 0 54px rgba(233, 78, 156, 0.28),
    0 18px 34px rgba(0, 47, 104, 0.3);
  transform: translateY(-3px) scale(1.025);
  animation: final-cta-button-pulse 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.final-cta .button--secondary:active {
  transform: translateY(0) scale(0.99);
  animation: none;
}

@keyframes final-cta-button-pulse {
  50% {
    box-shadow:
      0 0 0 1px rgba(0, 121, 235, 0.3),
      0 0 38px rgba(0, 121, 235, 0.76),
      0 0 66px rgba(233, 78, 156, 0.38),
      0 20px 38px rgba(0, 47, 104, 0.34);
  }
}

footer {
  padding: 28px 0;
  color: #9ab0c6;
  background: var(--blue-deep);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer__inner p {
  max-width: 520px;
  margin: 0;
  font-size: 12px;
}

.footer__inner strong {
  color: var(--white);
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 47, 0.76);
  opacity: 0;
  backdrop-filter: blur(8px);
  animation: fade-in 260ms var(--ease) forwards;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  overflow: hidden;
  padding: 44px;
  border: 1px solid rgba(203, 226, 255, 0.2);
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 110%, rgba(0, 121, 235, 0.36), transparent 38%),
    var(--blue-dark);
  box-shadow: 0 34px 90px rgba(0, 15, 35, 0.45);
  opacity: 0;
  transform: translateY(22px) scale(0.975);
  animation: modal-in 360ms var(--ease) 50ms forwards;
}

.modal__panel::after {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -180px;
  bottom: -170px;
  border: 38px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #cbe2ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.modal__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #aed2f6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.modal__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 6px rgba(233, 78, 156, 0.12);
}

.modal__kicker {
  margin: 0;
  color: var(--blue-light);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.modal h2 {
  max-width: 500px;
  margin: 5px 0 0;
  color: var(--white);
  font-size: clamp(34px, 7vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.modal__panel > p:not(.modal__kicker):not(.modal__fineprint):not(.modal__unlock-note) {
  margin: 24px 0;
  color: #c8daec;
  font-size: 17px;
}

.button--whatsapp {
  position: relative;
  z-index: 1;
  min-height: 62px;
  color: #07361a;
  background: #6fe39b;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.2);
  text-transform: uppercase;
}

.button--whatsapp:hover {
  background: #7ee9a5;
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.28);
}

.button--whatsapp svg {
  width: 25px;
  height: 25px;
}

.modal__download {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin: 16px auto 0;
  border-radius: 12px;
  color: var(--blue-dark);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 24px rgba(0, 15, 35, 0.2);
}

.modal__unlock-note {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: #9db7d0;
  font-size: 12px;
  text-align: center;
}

.modal__fineprint {
  margin: 18px 0 0;
  color: #89a7c4;
  font-size: 11px;
  text-align: center;
}

@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes modal-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mantém toda a captação visível na primeira dobra de notebooks e desktops baixos. */
@media (min-width: 981px) and (max-height: 920px) {
  .hero {
    padding: 32px 0;
  }

  .hero__grid {
    gap: 56px;
  }

  .brand-logo {
    margin-bottom: 25px;
  }

  .tag-row {
    margin-bottom: 14px;
  }

  h1 {
    max-width: 610px;
    font-size: clamp(44px, 3.7vw, 56px);
    line-height: 1;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.38;
  }

  .form-card {
    padding: 24px 28px;
    border-radius: 24px;
  }

  .form-card__heading {
    margin-bottom: 13px;
  }

  .form-card__step {
    margin-bottom: 3px;
    font-size: 11px;
  }

  .form-card h2 {
    font-size: 27px;
    line-height: 1.06;
  }

  .form-card__heading p {
    margin-top: 6px;
    font-size: 14px;
  }

  #lead-form {
    gap: 8px 12px;
  }

  .field label {
    margin-bottom: 3px;
    font-size: 12px;
  }

  .field input,
  .field select {
    min-height: 42px;
    padding: 8px 12px;
  }

  .field__error {
    min-height: 7px;
    margin-top: 0;
  }

  .consent {
    gap: 8px;
    font-size: 10px;
  }

  .consent-error {
    min-height: 7px;
    margin-top: -5px;
  }

  .button {
    min-height: 48px;
    padding-block: 11px;
  }

  .form-card__privacy {
    margin-top: -3px;
    font-size: 10px;
  }
}

@media (max-width: 980px) {
  .hero__grid,
  .ebook-highlight__grid,
  .authority__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    gap: 54px;
  }

  .hero__content {
    max-width: 760px;
  }

  .form-card {
    max-width: 740px;
  }

  .ebook-highlight__grid {
    gap: 54px;
  }

  .ebook-highlight__visual {
    width: min(100%, 680px);
    justify-self: center;
  }

  .ebook-highlight__content {
    max-width: 760px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: auto;
  }

  .topic-card__icon {
    margin-bottom: 38px;
  }

  .authority__grid {
    gap: 50px;
  }

  .authority__portrait {
    width: min(100%, 520px);
    min-height: 0;
    aspect-ratio: 4 / 5;
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    padding: 30px 0 58px;
  }

  .brand-logo {
    margin-bottom: 44px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  .hero__lead {
    font-size: 18px;
  }

  .ebook-highlight {
    padding: 78px 0;
  }

  .ebook-highlight__visual {
    min-height: 500px;
    border-radius: 28px;
  }

  .ebook-highlight .book-stage {
    padding: 34px 38px 48px 50px;
  }

  .ebook-highlight .book-mockup {
    width: 280px;
  }

  .ebook-highlight h2 {
    font-size: clamp(36px, 9vw, 48px);
  }

  .ebook-highlight__lead {
    font-size: 18px;
  }

  .form-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  #lead-form {
    grid-template-columns: 1fr;
  }

  .field,
  .field--full,
  .consent,
  .consent-error,
  .button--full,
  .form-card__privacy,
  .form-card__status {
    grid-column: 1;
  }

  .content-section,
  .authority {
    padding: 78px 0;
  }

  .topic-card {
    padding: 26px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .authority__portrait {
    width: 100%;
    border-radius: 22px;
  }

  .stat,
  .stat:nth-child(3),
  .stats__note {
    grid-column: 1;
  }

  .stat {
    min-height: 145px;
  }

  .final-cta {
    padding: 58px 0;
  }

  .final-cta__box {
    display: grid;
    padding: 34px 26px;
  }

  .button--secondary {
    width: 100%;
  }

  .footer__inner {
    display: grid;
  }

  .modal {
    align-items: end;
    padding: 10px;
  }

  .modal__panel {
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    padding: 38px 22px 26px;
    border-radius: 24px;
  }

  .modal h2 {
    font-size: 36px;
  }

  .modal__panel > p:not(.modal__kicker):not(.modal__fineprint):not(.modal__unlock-note) {
    font-size: 15px;
  }
}

@media (max-width: 520px) {
  .ebook-highlight__grid {
    gap: 42px;
  }

  .ebook-highlight__visual {
    min-height: 430px;
    border-radius: 24px;
  }

  .ebook-highlight .book-stage {
    padding: 28px 30px 42px 42px;
  }

  .ebook-highlight .book-mockup {
    width: 230px;
    transform: rotateY(-7deg) rotateZ(-1deg);
  }

  .ebook-highlight h2 {
    font-size: 36px;
  }

  .ebook-highlight .button {
    width: 100%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
