:root {
  --bg: #1a1a1a;
  --surface: #fdfcf9;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --border: #e8e6e0;
  --primary: #A8BB6E;
  --primary-fg: #ffffff;
  --section-bg: #ebebdc;
  --radius: 10px;
  --hero-image-url: url("./assets/hero-bg.jpg");
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  min-width: 320px;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
h1, h2,
.step-card h3,
.review-card h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
a { color: inherit; }
i[data-lucide] { display: inline-flex; align-items: center; justify-content: center; }
i[data-lucide] > svg { width: 100%; height: 100%; }

.container { width: min(1200px, calc(100% - 3rem)); margin: 0 auto; }

/* Faster initial render for below-the-fold sections */
.steps,
.reviews {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.hero {
  background: #13161b;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 700px;
  padding: 0 0 0 40px;
  position: relative;
  overflow: hidden;
}
.hero-header-bar {
  flex: 0 0 auto;
  position: relative;
  z-index: 3;
  background: #0e1118;
}
.hero-main {
  flex: 1 1 auto;
  position: relative;
  min-height: 560px;
  background: #13161b;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(770px, 60vw);
  height: 100%;
  background-image: var(--hero-image-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
  opacity: 1;
  pointer-events: none;
}
.hero .container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.hero-main-inner {
  flex: 1;
  min-height: 0;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .95);
}
.brand i { width: 16px; height: 16px; }
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .01em;
}
.nav a { text-decoration: none; color: rgba(255, 255, 255, .92); }
.btn {
  border: 0;
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 600;
}
.btn-sm { padding: 10px 22px; font-size: 14px; font-weight: 600; }

.hero-content {
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 48px 0 56px;
}
.kicker {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
}
h1 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.08;
  color: #fff;
}
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}
.checks i {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 3px;
}
.cta-inline {
  margin-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 380px;
}
.cta-inline .btn {
  width: 100%;
  padding: 14px 26px;
  font-size: 18px;
  font-weight: 600;
}
.cta-inline p {
  margin-left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .48);
  font-size: 14px;
  font-weight: 500;
}
.cta-inline p i { width: 12px; height: 12px; }

.essence {
  background-color: var(--section-bg);
  color: var(--text);
  padding: 58px 40px;
  border-top: 1px solid #ded9c8;
}
.essence .container {
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 44px;
  align-items: center;
}
.essence-copy h2 {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 24px;
  color: #1a1a1a;
}
.text {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 1.65;
  color: #1a1a1a;
}
.text > p { margin-bottom: 20px; }
.text > p.label { margin: 0 0 16px; }
.tiles { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.tiles li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  color: #1a1a1a;
}
.tiles i {
  width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  padding: 3px;
  flex-shrink: 0;
}

.concept-visual { display: flex; align-items: center; gap: 48px; }
.fork-column {
  width: min(360px, 100%);
  display: flex;
  flex-direction: column;
}
.fork-shell {
  background: #faf9f7;
  border: 1px solid #e6e1dc;
  border-radius: 15px;
  padding: 22px 20px 18px;
  box-shadow: 0 1px 4px rgba(26, 26, 26, .05);
}
.fork-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 4px;
}
.fork-bookmakers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}
.fork-between-cards {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
}
.fork-h-arrow {
  display: block;
  width: 36px;
  height: 14px;
}
.fork-bm-card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--section-bg);
  border: 1px solid #ded9c8;
  border-radius: 10px;
  padding: 14px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.fork-bm-card small {
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #7a7876;
}
.fork-bm-card b {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  color: #1a1a1a;
}
.fork-arrows {
  width: 100%;
  height: 74px;
  /* стык с горизонтальной стрелкой между карточками (центр ряда карточек) */
  margin: -40px 0 0;
  padding-top: 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.fork-arrows-svg {
  width: 100%;
  max-width: 300px;
  height: 74px;
}
.found {
  align-self: center;
  margin-top: -4px;
  position: relative;
  z-index: 1;
  background: var(--section-bg);
  color: #141414;
  border: 1px solid #ded9c8;
  border-radius: 999px;
  white-space: nowrap;
  padding: 8px 22px;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.fork-substrate {
  margin-top: 18px;
  background: var(--section-bg);
  border: 1px solid #ded9c8;
  border-radius: 12px;
  text-align: center;
  padding: 18px 14px 20px;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  color: #1a1a1a;
}
.fork-substrate p {
  margin: 0;
}
.fork-substrate p + p {
  margin-top: 6px;
}
.fork-substrate strong {
  font-weight: 700;
}

.facts { display: flex; flex-direction: column; gap: 40px; }
.facts article {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 0 16px;
}
.facts article > i {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: rgba(26, 26, 26, .78);
}
.facts b {
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
}
.facts small {
  grid-column: 2;
  font-size: 15px;
  font-weight: 500;
  color: rgba(26, 26, 26, .72);
  line-height: 1.5;
}

.steps {
  background: #fdfcf9;
  color: var(--text);
  padding: 0 40px 96px;
  border-top: 1px solid var(--border);
}
.steps .container { display: flex; flex-direction: column; align-items: center; }
.steps h2 {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 64px;
  text-align: center;
  color: #1a1a1a;
}
.steps-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.steps-line { display: none; }
.step-card {
  text-align: center;
  position: relative;
  padding: 0 8px;
}
.step-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: #f0eeea;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}
.step-icon-front i {
  width: 44px;
  height: 44px;
  color: #A8BB6E;
}
.step-icon-front i svg {
  stroke: #A8BB6E;
  stroke-width: 2.75;
}
.step-icon-front i svg path,
.step-icon-front i svg line,
.step-icon-front i svg circle,
.step-icon-front i svg polyline,
.step-icon-front i svg rect {
  stroke: #A8BB6E;
  stroke-width: 2.75;
}
.step-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.step-card p {
  margin: 0 auto;
  max-width: 170px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(26, 26, 26, .62);
  line-height: 1.5;
}
.step-arrow {
  position: absolute;
  top: 37px;
  right: -8px;
  width: 26px;
  color: #b8b8b8;
}
.step-card:last-child .step-arrow { display: none; }

.reviews {
  background: #3a434c;
  color: #fff;
  padding: 42px 40px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.reviews h2 {
  color: #fff;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 28px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--surface);
  color: var(--text);
  border-radius: 12px;
  padding: 24px;
  min-height: 196px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #f0eeea;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
}
.review-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.review-card > p {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  color: rgba(26, 26, 26, .82);
  line-height: 1.6;
  font-weight: 500;
}
.review-time {
  margin-top: 16px;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.bottom {
  background-color: var(--section-bg);
  color: var(--text);
  padding: 24px 40px 38px;
  border-top: 1px solid #ded9c8;
  scroll-margin-top: 24px;
}
.bottom .container,
.bottom-card,
.bottom-layout,
.bottom .left,
.bottom .footer-legal {
  background-color: transparent;
}
.bottom .container {
  max-width: 1200px;
  display: flex;
  justify-content: center;
}
.bottom-card,
.bottom-layout {
  display: grid !important;
  grid-template-columns: 460px 400px !important;
  gap: 40px !important;
  align-items: center !important;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.bottom .left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bottom h2 {
  font-size: 34px;
  margin: 0;
  font-weight: 400;
}
.sub {
  font-size: 16px;
  color: rgba(17, 17, 17, .7);
  line-height: 1.6;
  font-weight: 500;
  margin: 0;
}
.email-form { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.input-wrap { display: flex; width: 100%; align-items: stretch; }
input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #fff;
  color: var(--text);
  padding: 12px 16px;
  min-height: 48px;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 500;
}
input::placeholder { color: #9a9a9a; font-weight: 500; font-size: 17px; }
input:focus { outline: none; color: var(--text); }
.input-wrap .btn {
  border-radius: 0 var(--radius) var(--radius) 0;
  min-height: 48px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}
.agree {
  margin: 8px 0 0 4px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  cursor: pointer;
}
.agree-text {
  display: inline-block;
  max-width: 320px;
}
.agree-checkbox {
  width: 15px;
  height: 15px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}
.agree a { color: var(--text); }
.footer-legal {
  grid-column: 1 / -1;
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 26, 26, .68);
  line-height: 1.4;
}
.footer-legal p { margin: 0; }
.footer-legal a {
  color: var(--text);
  text-decoration: underline;
}
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0, 0, 0, 0); overflow: hidden; }

.faq {
  background: #fdfcf9;
  color: var(--text);
  padding: 44px 40px 34px;
  border-top: 1px solid var(--border);
}
.faq .container {
  width: min(1000px, calc(100% - 3rem));
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0 auto;
}
.faq h2 {
  font-size: 44px;
  font-weight: 500;
  margin-bottom: 28px;
  width: 100%;
  color: #1a1a1a;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f7f5f0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.45;
  list-style-position: inside;
  padding: 16px 22px;
  color: #1a1a1a;
}
.faq-item p {
  margin: 0;
  padding: 0 22px 18px 22px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(26, 26, 26, .72);
}
.faq-item:not([open]) p {
  display: none;
}

@media (max-width: 1100px) {
  .hero { padding-left: 20px; padding-right: 20px; }
  .essence,
  .steps,
  .reviews,
  .faq,
  .bottom { padding-left: 20px; padding-right: 20px; }
  .nav { display: none; }
  .essence .container { grid-template-columns: 1fr; gap: 36px; }
  .concept-visual { flex-direction: column; align-items: flex-start; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .bottom .container { max-width: 1200px; }
}

@media (max-width: 980px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 8px; }
  .step-arrow { display: none; }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
    overflow: visible;
  }
  .hero-main {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding-bottom: 20px;
  }
  .hero-main-inner {
    order: 1;
    position: relative;
    z-index: 2;
  }
  .hero-content {
    padding: 28px 0 20px;
    max-width: none;
  }
  .hero-bg {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    aspect-ratio: 1290 / 1219;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
  }
  .header { padding: 16px 0; }
  .btn-sm { display: none; }
  h1 { font-size: 36px; }
  body { font-size: 17px; }
  .essence-copy h2 { font-size: 34px; }
  .steps h2 { font-size: 38px; }
  .reviews h2 { font-size: 38px; }
  .bottom h2 { font-size: 30px; }
  .kicker { font-size: 15px; }
  .nav a, .btn, input, .review-card p { font-size: 17px; }
  .review-card h3 { font-size: 17px; }
  .text,
  .tiles li { font-size: 17px; }
  .step-card h3 { font-size: 17px; }
  .step-card p { font-size: 16px; max-width: 100%; }
  .checks li { font-size: 17px; }
  .sub { font-size: 16px; }
  .agree { font-size: 14px; }
  .footer-legal { font-size: 14px; }
  .cta-inline .btn { font-size: 17px; }
  .steps-grid, .review-grid { grid-template-columns: 1fr; }
  .step-arrow {
    display: block !important;
    position: static;
    width: 20px;
    margin: 12px auto 0;
    transform: rotate(90deg);
  }
  .step-card:last-child .step-arrow { display: none !important; }
  .fork-column { width: 100%; max-width: 380px; }
  .facts {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
  }
  .facts article {
    flex: 1 1 0;
    min-width: 0;
    grid-template-columns: 32px 1fr;
    gap: .35rem .55rem;
  }
  .facts article > i {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .facts b,
  .facts small {
    font-size: 14px;
    line-height: 1.35;
  }
  .bottom .container {
    display: block;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
  }
  .bottom-card,
  .bottom-layout {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 800px;
    margin: 0 auto;
  }
  .footer-legal {
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
  }
  .input-wrap { flex-direction: column; gap: 8px; }
  input { border-right: 1px solid var(--border); border-radius: var(--radius); width: 100%; }
  .input-wrap .btn { width: 100%; padding: 12px 16px; border-radius: var(--radius); }
  .faq {
    padding: 34px 20px 24px;
  }
  .faq .container,
  .faq-list {
    width: 100%;
    max-width: 100%;
  }
  .faq h2 { font-size: 36px; margin-bottom: 20px; }
  .faq-item summary { font-size: 17px; padding: 14px 16px; }
  .faq-item p { font-size: 16px; padding: 0 16px 14px 16px; margin-left: 0; }
}
