:root {
  --navy: #0a2540;
  --navy-light: #123a5e;
  --navy-soft: #2c4a68;
  --orange: #e8590c;
  --orange-deep: #c2410c;
  --green: #16a34a;
  --teal: #0e7c66;
  --cream: #f7f4ef;
  --cream-deep: #efeae0;
  --white: #ffffff;
  --ink: #152030;
  --gray: #5b6b7c;
  --border: #e4e9ef;
  --radius: 8px;
  --shadow: 0 14px 34px rgba(10, 37, 64, .12);
  --shadow-lg: 0 26px 60px rgba(10, 37, 64, .2);
  --maxw: 680px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 112px;
  background: var(--white);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

html.b1-prices-pending [data-b1-price],
html.b1-prices-pending [data-b1-value] {
  min-width: 2.5em;
  visibility: hidden;
}

body.b1-checkout-active .sticky-cta {
  transform: translateY(110%);
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 56px 0;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 23px;
}

p {
  margin: 0 0 14px;
}

.center {
  text-align: center;
}

.muted {
  color: #46586a;
  font-size: 18px;
}

.lead {
  color: var(--navy-soft);
  font-size: 21px;
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: #fdeee4;
  color: var(--orange-deep);
  padding: 7px 14px;
  font-size: 16px;
  font-weight: 800;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  background: var(--navy);
  color: #eaf0f6;
  padding: 10px 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.hero {
  border-bottom: 1px solid #dfe6ec;
  background: #f8fbfd;
  color: var(--ink);
  padding: 42px 0 40px;
  text-align: center;
}

.hero h1 {
  color: var(--navy);
}

.hero .lead {
  max-width: 560px;
  margin: 0 auto 22px;
  color: #334e68;
}

.hero .eyebrow {
  border: 1px solid #f6c9a9;
  background: #fff1e7;
  color: #9f3510;
}

.book-stage {
  position: relative;
  width: min(270px, 76vw);
  margin: 28px auto 0;
}

.clock-badge {
  position: absolute;
  top: -13px;
  right: -18px;
  display: flex;
  width: 66px;
  height: 66px;
  transform: rotate(6deg);
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(232, 89, 12, .48);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  line-height: 1;
}

.clock-badge b {
  font-size: 22px;
}

.clock-badge span {
  margin-top: 2px;
  font-size: 9px;
}

.price-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(100%, 430px);
  margin: 0 auto 20px;
  border: 2px solid #dbe4eb;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(10, 37, 64, .08);
  padding: 14px 20px;
}

.price-pill .old,
.price-pill .now {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  line-height: 1.12;
  white-space: nowrap;
}

.price-pill small {
  margin-bottom: 5px;
  font-size: 16px;
  font-weight: 800;
}

.price-pill .old {
  color: #35495e;
}

.price-pill .old strong {
  font-size: 26px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.price-pill .now {
  color: #0b6b36;
}

.price-pill .now strong {
  font-size: 36px;
  font-weight: 800;
}

.price-arrow {
  color: var(--orange-deep);
  font-size: 28px;
  font-weight: 800;
}

.btn {
  display: block;
  width: 100%;
  min-height: 68px;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(232, 89, 12, .34);
  cursor: pointer;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  padding: 18px 22px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(232, 89, 12, .42);
}

.btn:focus-visible,
.field input:focus-visible,
.consent input:focus-visible,
.exit-close:focus-visible {
  outline: 4px solid #2563eb;
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}

.btn .small {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  opacity: .92;
}

.pay-btn {
  background: var(--green);
  box-shadow: 0 14px 30px rgba(22, 163, 74, .3);
}

.pay-btn:hover {
  box-shadow: 0 18px 36px rgba(22, 163, 74, .38);
}

.hero-microtrust {
  margin-top: 14px;
  color: #46586a;
  font-size: 16px;
  font-weight: 700;
}

.pain blockquote {
  margin: 18px 0;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--cream);
  color: var(--navy-soft);
  padding: 18px;
  font-size: 19px;
  font-style: italic;
}

.discover,
.final {
  background: var(--cream);
}

.discover-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.discover-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 15px 16px;
}

.discover-item span {
  position: relative;
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--teal);
}

.discover-item span::after {
  position: absolute;
  top: 6px;
  left: 9px;
  width: 7px;
  height: 12px;
  transform: rotate(45deg);
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  content: "";
}

.discover-item p {
  margin: 0;
  font-size: 18px;
}

.author,
.order {
  background: var(--navy);
  color: #ffffff;
}

.author h2,
.order h2 {
  color: #ffffff;
}

.author .lead,
.order .lead {
  color: #cfe0ef;
}

.author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.author-card img {
  flex: none;
  width: 96px;
  height: 96px;
  border: 3px solid rgba(232, 89, 12, .62);
  border-radius: 50%;
  object-fit: cover;
}

.author-card b {
  display: block;
  font-size: 22px;
}

.author-card span,
.author p {
  color: #cfe0ef;
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  text-align: center;
}

.author-stats b {
  display: block;
  color: #ffffff;
  font-size: 25px;
}

.author-stats span {
  color: #cfe0ef;
  font-size: 17px;
}

.toc-part {
  display: flex;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}

.toc-part:last-child {
  border-bottom: 0;
}

.toc-num {
  flex: none;
  width: 26px;
  color: var(--orange);
  font-size: 19px;
  font-weight: 800;
}

.toc-part b {
  display: block;
  color: var(--navy);
  font-size: 19px;
}

.toc-part span {
  color: #46586a;
  font-size: 17px;
}

.why-dollar {
  background: var(--cream-deep);
}

.why-dollar .box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.order {
  text-align: center;
  scroll-margin-top: 16px;
}

.order-card {
  margin-top: 22px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  padding: 24px 20px;
  text-align: left;
}

.order-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--cream);
  padding: 14px 16px;
}

.order-price-row b {
  color: var(--navy);
  font-size: 32px;
  line-height: 1.05;
}

.order-price {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-end;
}

.order-price span {
  color: #46586a;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-soft);
  font-size: 18px;
  font-weight: 800;
}

.field input {
  width: 100%;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 20px;
  min-height: 58px;
  padding: 15px 16px;
}

.field input:focus {
  outline: 0;
  border-color: var(--orange);
}

.field.has-error input {
  border-color: #dc2626;
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #dc2626;
  font-size: 16px;
}

.field.has-error .field-error {
  display: block;
}

.payment-placeholder {
  margin: 6px 0 16px;
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  background: #eff6ff;
  color: #1e3a8a;
  padding: 13px 14px;
  font-size: 17px;
}

.payment-placeholder[hidden] {
  display: none;
}

.payment-element {
  margin: 8px 0 16px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--gray);
  color: #3f5164;
  font-size: 18px;
  line-height: 1.55;
}

.consent[hidden] {
  display: none;
}

.consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
}

.message {
  display: none;
  margin-top: 12px;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 17px;
}

.message.is-visible {
  display: block;
}

.message.is-error {
  background: #fef2f2;
  color: #991b1b;
}

.message.is-ok {
  background: #ecfdf5;
  color: #065f46;
}

.order-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  color: #cfe0ef;
  font-size: 17px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}

.faq-q {
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.faq-a {
  margin: 0;
  color: #46586a;
  font-size: 18px;
}

footer {
  background: var(--cream-deep);
  padding: 30px 0;
}

.disclaimer {
  color: #46586a;
  font-size: 17px;
  line-height: 1.7;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  border-top: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 -10px 30px rgba(10, 37, 64, .14);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transform: translateY(0);
  transition: transform .25s ease;
}

.sticky-cta.hide {
  transform: translateY(110%);
}

.sticky-cta .row {
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}

.sticky-cta .price {
  flex: none;
  text-align: left;
}

.sticky-cta .price b {
  display: block;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.05;
}

.sticky-cta .price span {
  color: #35495e;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: line-through;
}

.sticky-cta .btn {
  width: min(48vw, 210px);
  min-height: 58px;
  margin-left: auto;
  padding: 15px 16px;
  font-size: 17px;
}

.exit-modal[hidden] {
  display: none;
}

.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 20px;
}

.exit-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, .72);
  backdrop-filter: blur(4px);
}

.exit-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  padding: 26px 22px;
  overscroll-behavior: contain;
}

.exit-card h2 {
  padding-right: 42px;
  font-size: 30px;
}

.exit-gift-image {
  width: min(100%, 250px);
  height: auto;
  max-height: 270px;
  margin: 12px auto 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f1f5f9;
  object-fit: contain;
}

.telegram-btn {
  background: #168bd2;
  box-shadow: 0 14px 30px rgba(22, 139, 210, .3);
}

.telegram-btn:hover {
  box-shadow: 0 18px 36px rgba(22, 139, 210, .38);
}

.exit-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--navy);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

@media (min-width: 700px) {
  body {
    font-size: 20px;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 20px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding-top: 30px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .hero .eyebrow {
    line-height: 1.45;
  }

  .book-stage {
    width: min(230px, 68vw);
  }

  .price-pill {
    gap: 8px;
    padding: 13px 12px;
  }

  .price-pill small {
    font-size: 15px;
  }

  .price-pill .old strong {
    font-size: 25px;
  }

  .price-pill .now strong {
    font-size: 35px;
  }

  .price-arrow {
    font-size: 24px;
  }

  .btn {
    font-size: 19px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .author-stats {
    gap: 6px;
  }

  .author-stats b {
    font-size: 22px;
  }

  .order-card {
    padding: 20px 16px;
  }

  .order-price-row {
    gap: 10px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .order-price-row .muted {
    font-size: 17px;
  }

  .sticky-cta {
    padding-right: 14px;
    padding-left: 14px;
  }

  .sticky-cta .row {
    gap: 8px;
  }

  .sticky-cta .btn {
    width: min(44vw, 180px);
    min-height: 58px;
    font-size: 18px;
  }

  .sticky-cta .price b {
    font-size: 36px;
  }

  .sticky-cta .price span {
    font-size: 22px;
  }

  .exit-modal {
    align-items: flex-start;
    padding: calc(10px + env(safe-area-inset-top)) 10px calc(10px + env(safe-area-inset-bottom));
  }

  .exit-card {
    width: 100%;
    max-height: calc(100vh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    padding: 20px 16px 18px;
  }

  .exit-card h2 {
    font-size: 27px;
  }

  .exit-gift-image {
    width: min(100%, 220px);
    max-height: 230px;
    margin-top: 8px;
    margin-bottom: 12px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
