:root {
  --ink: #0a292c;
  --ink-deep: #061d20;
  --paper: #f4f0e8;
  --paper-light: #fffdf8;
  --coral: #e64158;
  --coral-dark: #c82f46;
  --muted: #536467;
  --line: rgba(10, 41, 44, 0.16);
  --shadow: 0 24px 70px rgba(6, 29, 32, 0.16);
  --radius: 28px;
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0.55em;
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.35rem, 4.5vw, 4.5rem);
}

p {
  margin-bottom: 1.25em;
}

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

.section {
  padding-block: clamp(64px, 8vw, 112px);
  scroll-margin-top: 72px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--paper-light);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
}

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

.brand-banner {
  height: clamp(84px, 10vw, 166px);
  background-color: #020809;
  background-image: url("bckg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 232, 0.97);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.nav__brand {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav__brand span {
  color: var(--coral);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 38px);
}

.nav__links a,
.site-footer a {
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav__links a:hover,
.site-footer a:hover {
  text-decoration-color: currentColor;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  padding-block: clamp(56px, 8vw, 112px);
}

.hero__copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--coral-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #ff7e90;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: #334c50;
  font-size: clamp(1.06rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 26px rgba(230, 65, 88, 0.22);
}

.button--primary:hover {
  background: var(--coral-dark);
}

.button--secondary {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.button--secondary:hover {
  background: var(--ink);
  color: #fff;
}

.button--accent {
  background: var(--coral);
  color: var(--paper-light);
}

.button--accent:hover {
  background: #f05a70;
}

.button--dark {
  background: var(--ink-deep);
  color: #fff;
}

.button--light {
  background: var(--paper-light);
  color: var(--ink-deep);
}

.is-disabled {
  cursor: default;
  opacity: 0.68;
}

.hero__visual {
  position: relative;
  isolation: isolate;
  margin: 0;
}

.hero__visual::before {
  position: absolute;
  z-index: -1;
  inset: 12% -10% 8% 2%;
  border-radius: 48% 52% 46% 54%;
  background: var(--coral);
  content: "";
  transform: rotate(-4deg);
}

.hero__visual img {
  width: min(100%, 430px);
  margin-inline: auto;
  filter: drop-shadow(0 25px 22px rgba(6, 29, 32, 0.24));
}

.release-badge {
  position: absolute;
  z-index: 2;
  top: 6%;
  right: -2%;
  padding: 12px 15px;
  border-radius: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(4deg);
}

.book-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 8vw, 112px);
  padding: clamp(34px, 6vw, 80px);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.book-panel h2 {
  font-size: clamp(2.45rem, 4.7vw, 4.65rem);
}

.book-panel h2 em {
  font-style: normal;
}

.book-panel__lead {
  color: #fff;
  font-size: 1.17rem;
  font-weight: 700;
}

.book-panel__intro > p:last-child {
  margin-bottom: 0;
  color: #c9d5d4;
}

.book-points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.book-points li {
  display: grid;
  gap: 4px;
  padding: 20px 0 20px 24px;
  border-left: 4px solid var(--coral);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.book-points li:last-child {
  border-bottom: 0;
}

.book-points strong {
  font-size: 1.08rem;
}

.book-points span {
  color: #c9d5d4;
  font-size: 0.94rem;
  line-height: 1.55;
}

.book-buy {
  margin-top: 34px;
}

.book-buy p {
  margin: 14px 0 0;
  color: #c9d5d4;
  font-size: 0.77rem;
}

.training {
  padding-block: 0 clamp(64px, 8vw, 112px);
}

.training__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(32px, 5vw, 64px);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--coral);
  color: var(--paper-light);
  box-shadow: 12px 12px 0 var(--ink);
}

.training .eyebrow {
  color: var(--paper-light);
  opacity: 0.78;
}

.training h2 {
  font-size: clamp(2.4rem, 4.4vw, 4.25rem);
}

.training p:last-child {
  max-width: 700px;
  margin-bottom: 0;
}

.training__lead {
  margin-bottom: 8px;
  font-size: 1.28rem;
  font-weight: 850;
}

.training__action {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.training__action small {
  max-width: 220px;
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

.videos {
  background: var(--coral);
  color: #fff;
}

.videos__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: end;
  gap: clamp(36px, 8vw, 116px);
}

.videos h2 {
  margin-bottom: 0;
}

.videos__inner > div:last-child p {
  font-size: 1.08rem;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.support-card {
  min-height: 100%;
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-light);
}

.support-card h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.55rem);
}

.support-card > p:not(.eyebrow) {
  color: var(--muted);
}

.support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.support-links a,
.support-links button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 850;
}

.support-links a:hover,
.support-links button:hover {
  background: var(--ink);
  color: #fff;
}

.support-links form {
  margin: 0;
}

.btc-dialog {
  width: min(calc(100% - 32px), 520px);
  max-height: min(90vh, 720px);
  padding: clamp(26px, 5vw, 46px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btc-dialog::backdrop {
  background: rgba(6, 29, 32, 0.78);
  backdrop-filter: blur(4px);
}

.btc-dialog h2 {
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 7vw, 3.25rem);
}

.btc-dialog > p:not(.eyebrow) {
  color: var(--muted);
}

.btc-dialog img {
  width: min(100%, 400px);
  margin: 22px auto 28px;
  border: 1px solid var(--line);
}

.btc-dialog form:last-child {
  display: flex;
  justify-content: center;
}

.btc-dialog__close-form {
  position: absolute;
  top: 14px;
  right: 14px;
}

.btc-dialog__close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}

.btc-dialog__close:hover {
  background: var(--ink);
  color: #fff;
}

.site-footer {
  padding-block: 34px;
  background: var(--ink-deep);
  color: #fff;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--paper-light);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--ink);
}

@media (max-width: 860px) {
  .hero,
  .book-panel,
  .videos__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 48px;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    width: min(72vw, 410px);
    margin-inline: auto;
  }

  .book-panel {
    gap: 42px;
  }

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

  .training__action {
    justify-items: start;
  }

  .training__action small {
    max-width: none;
    text-align: left;
  }

  .videos__inner > div:last-child {
    max-width: 680px;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .brand-banner {
    height: 84px;
  }

  .nav {
    min-height: 56px;
    justify-content: center;
  }

  .nav__brand {
    display: none;
  }

  .nav__links {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .nav__links a {
    font-size: 0.76rem;
  }

  .hero {
    gap: 38px;
    padding-block: 44px 68px;
  }

  h1 {
    font-size: clamp(3.15rem, 15vw, 4.5rem);
  }

  .hero__lead {
    margin-bottom: 26px;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero__visual {
    width: min(82vw, 350px);
  }

  .release-badge {
    right: -5px;
  }

  .book-panel,
  .training__inner,
  .support-card {
    border-radius: 20px;
  }

  .book-points li {
    padding-left: 18px;
  }

  .training__inner {
    box-shadow: 7px 7px 0 var(--ink);
  }

  .training__action {
    justify-items: stretch;
  }

  .training__action small {
    text-align: center;
  }

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

  .support-links,
  .support-links form,
  .support-links a,
  .support-links button {
    width: 100%;
  }

  .support-links a,
  .support-links button {
    justify-content: center;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
