:root {
  --bg: #0b1020;
  --panel: #111827;
  --panel-soft: #0f172a;
  --card: #ffffff;
  --muted: #64748b;
  --text: #0f172a;
  --text-soft: #334155;
  --white: #ffffff;
  --line: rgba(148, 163, 184, 0.22);
  --green: #19c37d;
  --green-dark: #14a76b;
  --green-text: #0e8f5a;
  --blue: #1e3a8a;
  --soft-bg: #f8fafc;
  --focus: #38bdf8;
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 22px 48px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--soft-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #07130f;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.intro-shell {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(25, 195, 125, 0.14), transparent 34%),
    var(--bg);
  padding-bottom: 76px;
}

.intro-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--green);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-btn,
.secondary-btn,
.primary-btn,
.download-link {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ghost-btn {
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.primary-btn {
  color: #07130f;
  background: var(--green);
  box-shadow: 0 14px 28px rgba(25, 195, 125, 0.25);
}

.primary-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(25, 195, 125, 0.3);
}

.secondary-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.download-link {
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.download-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto 80px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 42px;
  color: var(--white);
}

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

.eyebrow,
.cta-section .section-kicker,
.package-card.featured .section-kicker {
  color: var(--green);
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  color: #cbd5e1;
}

.hero p {
  max-width: 560px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 30px;
}

.hero-stats {
  display: flex;
  gap: 28px;
}

.hero-stats div {
  display: grid;
  gap: 4px;
}

.hero-stats strong {
  font-size: 28px;
}

.hero-stats span {
  color: #cbd5e1;
  font-size: 14px;
}

.hero-visual img {
  width: 100%;
  display: block;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.split-section,
.outcomes-section,
.deliverables-section,
.vibe-section,
.journey-section,
.modules-section,
.guide-section,
.prompt-section,
.projects-section,
.bonuses-section,
.pricing-section,
.telegram-section,
.packages-section,
.faq-section,
.cta-section {
  margin-top: 84px;
  scroll-margin-top: 90px;
}

.trust-section {
  margin-top: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.split-section h2,
.section-heading h2 {
  margin: 12px 0 14px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.split-section p,
.section-heading p {
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 17px;
}

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

.chip {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading.wide {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.section-heading.wide p {
  max-width: 360px;
  margin: 0 0 8px;
}

.outcomes-grid,
.trust-grid,
.deliverables-grid,
.vibe-grid,
.journey-grid,
.module-grid,
.project-grid,
.bonuses-grid,
.pricing-grid,
.package-grid {
  display: grid;
  gap: 18px;
}

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

.trust-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 22px;
  padding: 20px;
}

.trust-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.trust-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 15px;
}

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

.outcome-card,
.deliverable-card,
.vibe-card,
.journey-card,
.module-card,
.project-card,
.bonus-card,
.package-card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.outcome-card:hover,
.deliverable-card:hover,
.vibe-card:hover,
.journey-card:hover,
.module-card:hover,
.project-card:hover,
.bonus-card:hover,
.package-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: #cbd5e1;
}

.outcome-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  font-weight: 700;
}

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

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

.deliverable-card h3,
.bonus-card h3,
.journey-card h3 {
  margin: 0 0 10px;
}

.deliverable-card p,
.bonus-card p,
.journey-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

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

.journey-card span {
  color: var(--green-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.section-art,
.projects-art {
  margin: 24px 0 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.section-art img,
.projects-art img {
  display: block;
  width: 100%;
}

.vibe-card strong {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--white);
}

.vibe-card h3 {
  margin: 18px 0 10px;
}

.vibe-card p,
.module-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

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

.module-card span {
  color: var(--green-text);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.module-card h3 {
  margin: 12px 0 10px;
}

.guide-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
  align-items: start;
}

.guide-sidebar,
.guide-reader {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.guide-sidebar {
  padding: 22px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.guide-sidebar h2 {
  margin: 10px 0 18px;
}

.guide-nav {
  display: grid;
  gap: 10px;
}

.guide-nav button {
  text-align: left;
  border: 0;
  border-radius: 18px;
  background: #f1f5f9;
  padding: 14px;
  cursor: pointer;
  color: #1e293b;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.guide-nav button:hover {
  background: #e2e8f0;
}

.guide-nav button.active {
  background: var(--bg);
  color: var(--white);
}

.guide-reader {
  padding: 28px;
}

.guide-reader-head span {
  color: var(--green-text);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.guide-reader-head h2 {
  margin: 10px 0 8px;
}

.guide-reader-head p {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.6;
}

.reader-card {
  margin: 22px 0;
  padding: 22px;
  border-radius: 22px;
  background: #dbeafe;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.reader-card h3 {
  margin: 0 0 10px;
  color: #1e3a8a;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.reader-card p {
  margin: 0;
  color: #1e3a8a;
  line-height: 1.7;
  font-size: 16px;
  font-weight: 500;
}

.reader-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.reader-columns div {
  padding: 20px;
  border-radius: 22px;
  background: #f1f5f9;
}

.reader-columns .reader-artifact {
  background: #dcfce7;
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.reader-columns .reader-checkpoint {
  background: #fef3c7;
  border: 1px solid rgba(202, 138, 4, 0.35);
}

.reader-columns h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.reader-columns p {
  margin: 0;
  color: #1e293b;
  line-height: 1.7;
  font-size: 15px;
}

.reader-columns ul {
  margin: 0;
  padding-left: 18px;
  color: #1e293b;
  line-height: 1.8;
  font-size: 15px;
}

.reader-columns .reader-checkpoint ul {
  display: grid;
  gap: 8px;
}

.reader-columns .reader-checkpoint li {
  color: #422006;
}

.reader-columns .reader-artifact p {
  color: #14532d;
  font-weight: 500;
}

.reader-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

.reader-pager-btn {
  background: var(--soft-bg);
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.reader-pager-btn:hover:not(:disabled) {
  background: var(--bg);
  color: var(--white);
  border-color: var(--bg);
}

.reader-pager-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reader-pager-count {
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
}

.prompt-list {
  display: grid;
  gap: 14px;
}

.prompt-item {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.prompt-item.open {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(25, 195, 125, 0.1);
}

.prompt-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  color: var(--text);
}

.prompt-toggle .chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f1f5f9;
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.prompt-item.open .prompt-toggle .chevron {
  background: var(--green);
  color: #07130f;
  transform: rotate(180deg);
}

.prompt-body {
  display: none;
  padding: 0 22px 22px;
}

.prompt-item.open .prompt-body {
  display: block;
}

.prompt-body pre {
  white-space: pre-wrap;
  margin: 0;
  padding: 20px;
  border-radius: 18px;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.7;
  font-family: "Menlo", "Consolas", monospace;
  font-size: 13.5px;
  overflow-x: auto;
}

.prompt-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.copy-btn {
  border: 1px solid #e2e8f0;
  background: var(--white);
  color: #334155;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.copy-btn:hover {
  background: var(--bg);
  color: var(--white);
  border-color: var(--bg);
}

.copy-btn.copied {
  background: var(--green);
  color: #07130f;
  border-color: var(--green);
}

.project-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 18px;
}

.project-card {
  font-weight: 700;
}

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

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

.pricing-card {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  background: var(--bg);
  color: var(--white);
  border-color: var(--green);
}

.pricing-card.featured::before {
  content: "Eng tavsiya";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--green);
  color: #07130f;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.pricing-price {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
}

.pricing-card p {
  margin: 0 0 16px;
  color: var(--text-soft);
  line-height: 1.6;
}

.pricing-card.featured p,
.pricing-card.featured ul {
  color: #e2e8f0;
}

.pricing-card ul {
  margin: 0 0 22px;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--text-soft);
}

.pricing-card .telegram-btn {
  margin-top: auto;
}

.telegram-section {
  background: linear-gradient(135deg, #0b1020, #101a33);
  color: var(--white);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.telegram-section h2 {
  margin: 10px 0;
  font-size: clamp(28px, 3vw, 38px);
}

.telegram-section p {
  margin: 0;
  max-width: 620px;
  color: #cbd5e1;
  line-height: 1.7;
}

.telegram-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--green);
  color: #07130f;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(25, 195, 125, 0.24);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.telegram-btn:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
  box-shadow: 0 18px 34px rgba(25, 195, 125, 0.3);
}

.packages-heading p {
  max-width: 680px;
  margin: 8px 0 0;
}

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

.package-card.featured {
  background: var(--bg);
  color: var(--white);
  border-color: var(--green);
  position: relative;
}

.package-card.featured::before {
  content: "Tavsiya";
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--green);
  color: #07130f;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 8px 0;
}

.package-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.9;
  color: var(--text-soft);
}

.package-card.featured ul {
  color: #e2e8f0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item.open {
  border-color: var(--green);
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.faq-question .chevron {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 999px;
  background: #f1f5f9;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-question .chevron {
  background: var(--green);
  color: #07130f;
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 22px 22px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
  font-size: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

.cta-section {
  background: var(--bg);
  color: var(--white);
  border-radius: 32px;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-section h2 {
  margin: 10px 0;
  font-size: clamp(28px, 3vw, 40px);
}

.cta-section p {
  color: #cbd5e1;
}

.cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--bg);
  color: #cbd5e1;
  padding: 40px 0 28px;
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

.footer-inner nav {
  flex-direction: column;
  gap: 10px;
}

.footer-inner nav a {
  color: #cbd5e1;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-meta span {
  font-size: 13px;
  color: #94a3b8;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--bg);
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
  z-index: 50;
  transition: transform 0.18s ease, background 0.18s ease;
}

.to-top:hover {
  background: var(--green);
  color: #07130f;
  transform: translateY(-2px);
}

.to-top[hidden] {
  display: none;
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    flex-wrap: wrap;
  }

  nav#primary-nav.open {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    gap: 14px;
    padding: 18px 4px 6px;
    order: 3;
  }

  nav#primary-nav.open a {
    font-size: 16px;
  }

  .hero,
  .split-section,
  .guide-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-visual {
    order: -1;
  }

  .outcomes-grid,
  .trust-grid,
  .deliverables-grid,
  .vibe-grid,
  .journey-grid,
  .module-grid,
  .project-grid,
  .bonuses-grid,
  .pricing-grid,
  .package-grid,
  .reader-columns {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
    max-height: none;
  }

  .section-heading.wide,
  .cta-section,
  .telegram-section {
    display: block;
  }

  .cta-section .primary-btn,
  .telegram-section .telegram-btn {
    margin-top: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .intro-inner,
  main,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 18px 0;
  }

  .brand {
    font-size: 14px;
  }

  .ghost-btn {
    padding: 11px 15px;
  }

  .hero {
    min-height: auto;
    padding: 18px 0 28px;
  }

  .intro-shell {
    padding-bottom: 42px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}

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

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

@media print {
  .site-header,
  .nav-toggle,
  .to-top,
  .cta-section,
  .hero-actions,
  .reader-pager,
  .site-footer {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  main {
    margin: 0;
    width: 100%;
  }
}
