:root {
  --bg: #f3ead8;
  --bg-strong: #ead9bb;
  --surface: #fff8ea;
  --surface-strong: #f7ecd6;
  --ink: #2c1d13;
  --muted: #6a5849;
  --border: #d9c39b;
  --gold: #a16207;
  --gold-dark: #70450a;
  --sage: #36513b;
  --brown: #4d2f1e;
  --shadow: 0 20px 60px rgba(77, 47, 30, 0.14);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Raleway", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 248, 234, 0.38) 1px, transparent 1px),
    linear-gradient(180deg, rgba(77, 47, 30, 0.04) 1px, transparent 1px);
  background-size: 84px 84px, 100% 24px;
  opacity: 0.45;
  z-index: -1;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(161, 98, 7, 0.75);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

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

.section-band {
  padding: 72px 0;
}

.section-compact {
  padding: 24px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(16px, calc((100vw - var(--container)) / 2));
  background: rgba(243, 234, 216, 0.92);
  border-bottom: 1px solid rgba(77, 47, 30, 0.12);
  backdrop-filter: blur(14px);
}

.brand,
.nav-links,
.hero-actions,
.hero-facts,
.credibility-grid,
.bot-flow {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px var(--surface), inset 0 0 0 9px var(--sage);
  flex: 0 0 auto;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a,
.header-cta {
  text-decoration: none;
}

.nav-links a:hover,
.header-cta:hover {
  color: var(--gold-dark);
}

.header-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  color: #fff;
  background: var(--brown);
  border-radius: 999px;
  font-weight: 700;
}

.hero {
  padding-top: 88px;
  background: linear-gradient(180deg, #fbf4e6 0%, var(--bg) 100%);
}

.hero-grid,
.two-column {
  display: grid;
  gap: 48px;
}

.hero-grid > *,
.two-column > *,
.section-heading,
.hero-copy,
.hero-media {
  min-width: 0;
}

.hero-grid {
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  line-height: 1.08;
  font-weight: 700;
  overflow-wrap: break-word;
}

h1 {
  max-width: 780px;
  font-size: 48px;
}

h1 span {
  display: block;
}

h2 {
  font-size: 34px;
}

h3 {
  font-size: 21px;
}

.hero-subtitle {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--brown);
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
  overflow-wrap: break-word;
}

.hero-text,
.section-heading p,
.info-card p,
.price-card p,
.host-card p,
.format-list p,
.faq p,
.final-panel p {
  color: var(--muted);
}

.hero-text {
  max-width: 640px;
  margin: 18px 0 0;
  font-size: 18px;
  overflow-wrap: break-word;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

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

.button.primary {
  color: #fff;
  background: var(--gold);
  box-shadow: 0 12px 28px rgba(161, 98, 7, 0.28);
}

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

.button.secondary {
  color: var(--brown);
  background: rgba(255, 248, 234, 0.78);
  border-color: rgba(77, 47, 30, 0.18);
}

.button.secondary:hover {
  background: var(--surface);
}

.button.large {
  min-height: 56px;
  padding-inline: 28px;
}

.hero-facts {
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 28px 0 0;
}

.hero-facts div {
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(255, 248, 234, 0.7);
  border: 1px solid rgba(77, 47, 30, 0.13);
  border-radius: var(--radius);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.hero-media {
  position: relative;
  border: 1px solid rgba(77, 47, 30, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-media img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.media-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  color: var(--ink);
  background: rgba(255, 248, 234, 0.9);
  border: 1px solid rgba(77, 47, 30, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.media-note span {
  color: var(--muted);
  font-size: 14px;
}

.credibility {
  background: var(--brown);
  color: #fff8ea;
}

.credibility-grid {
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.credibility-grid div {
  display: grid;
  gap: 2px;
}

.credibility-grid strong {
  font-size: 20px;
}

.credibility-grid span {
  color: rgba(255, 248, 234, 0.76);
}

.two-column {
  grid-template-columns: 1fr;
}

.align-start {
  align-items: start;
}

.section-heading {
  max-width: 660px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  margin: 16px 0 0;
  font-size: 17px;
}

.problem-list,
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list {
  display: grid;
  gap: 12px;
}

.problem-list li,
.timeline li,
.info-card,
.host-card,
.price-card,
.format-list article,
.faq details {
  border: 1px solid rgba(77, 47, 30, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 248, 234, 0.72);
}

.problem-list li {
  padding: 16px 18px;
  color: var(--brown);
  font-weight: 700;
}

.practice,
.hosts,
.upsell {
  background: rgba(255, 248, 234, 0.38);
}

.cards-grid,
.hosts-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 36px;
}

.info-card,
.host-card,
.price-card {
  padding: 24px;
}

.info-card p,
.host-card p,
.price-card p {
  margin: 12px 0 0;
}

.timeline {
  display: grid;
  gap: 10px;
}

.timeline li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 16px 18px;
}

.timeline time {
  color: var(--gold-dark);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.role,
.price-tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.host-card.featured,
.price-card.highlight,
.telegram-panel,
.final-panel {
  background: var(--surface);
  box-shadow: var(--shadow);
}

.muted {
  color: var(--muted);
}

.price {
  color: var(--brown);
  font-family: "Lora", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-card .button {
  margin-top: auto;
}

.telegram-panel,
.final-panel {
  border: 1px solid rgba(77, 47, 30, 0.14);
  border-radius: var(--radius);
  padding: 32px;
}

.bot-flow {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.bot-flow span {
  padding: 10px 14px;
  background: var(--surface-strong);
  border: 1px solid rgba(77, 47, 30, 0.12);
  border-radius: 999px;
  color: var(--brown);
  font-weight: 700;
}

.format-list {
  display: grid;
  gap: 12px;
}

.format-list article {
  padding: 18px 20px;
}

.format-list p {
  margin: 8px 0 0;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 840px;
  margin: 34px auto 0;
}

.faq details {
  padding: 0;
  overflow: hidden;
}

.faq summary {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  color: var(--brown);
  font-weight: 800;
  cursor: pointer;
}

.faq summary::after {
  content: "+";
  color: var(--gold-dark);
  font-size: 22px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin: 0;
  padding: 0 20px 18px;
}

.final-cta {
  padding-top: 32px;
}

.final-panel {
  text-align: center;
}

.final-panel p {
  margin: 16px auto 24px;
  max-width: 620px;
}

.site-footer {
  padding: 34px 0;
  color: #fff8ea;
  background: var(--brown);
}

.footer-grid {
  display: grid;
  gap: 20px;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 248, 234, 0.76);
}

.site-footer a {
  color: #fff8ea;
  font-weight: 800;
}

.disclaimer {
  max-width: 560px;
}

@media (min-width: 760px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .two-column {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .cards-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hosts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .telegram-panel {
    padding: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr 0.8fr 1.4fr;
    align-items: start;
  }
}

@media (min-width: 1020px) {
  h1 {
    font-size: 76px;
  }

  .section-band {
    padding: 92px 0;
  }

  .cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .telegram-panel,
  .final-panel {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  h1 {
    font-size: 34px;
  }

  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .hero-facts div,
  .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
