:root {
  --bg: #f4f1eb;
  --card: #fffdf8;
  --ink: #211f1b;
  --muted: #706a61;
  --line: #e4dccf;
  --line-strong: #d0c6b7;
  --accent: #165f7a;
  --accent-dark: #104d64;
  --accent-soft: #e8f3f6;
  --telegram: #1c78a4;
  --container: 1040px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(22, 95, 122, .11), transparent 34rem),
    linear-gradient(180deg, #fffcf6 0, var(--bg) 30rem);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-150%);
}

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

.site-header,
.page {
  width: calc(100vw - clamp(24px, 5vw, 64px));
  max-width: var(--container);
  margin-inline: auto;
}

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

.site-nav {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 2px 14px;
}

.site-nav > *,
.hero > *,
.directory-card > *,
.link-grid a > *,
.security-note > *,
.support-card > * {
  min-width: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 790;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--accent);
  font-size: 10px;
  letter-spacing: .04em;
}

.site-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.site-links a {
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-links a:hover,
.site-links a[aria-current="page"] { color: var(--accent-dark); background: var(--accent-soft); }

.page {
  padding-block: 20px 40px;
}

.page:focus { outline: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: end;
  justify-items: start;
  gap: clamp(28px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 clamp(38px, 7vw, 72px);
}

.hero-copy { min-width: 0; }

.eyebrow,
.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 780;
  line-height: 1.25;
  letter-spacing: .015em;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 8vw, 78px);
  font-weight: 790;
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.lead {
  max-width: 700px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 23px);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #3c9b73;
  box-shadow: 0 0 0 4px rgba(60, 155, 115, .12);
}

.start-card {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9d8df;
  border-radius: 24px;
  padding: 23px;
  background: linear-gradient(155deg, #edf9fa, #fffaf0 82%);
  box-shadow: 0 18px 40px rgba(22, 95, 122, .10);
}

.start-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.start-badge {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.start-time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.start-card h2 {
  margin: 12px 0 19px;
  font-size: clamp(25px, 3vw, 31px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.start-list {
  display: grid;
  gap: 16px;
  margin: 0 0 21px;
  padding: 0;
  list-style: none;
}

.start-list li {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.start-number {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 850;
}

.start-list li > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.start-list strong {
  font-size: 14px;
  line-height: 1.25;
}

.start-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.start-card .button { width: 100%; }

.platform-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.platform-label {
  margin-right: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.platform-chip {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--accent-dark);
  background: rgba(255, 253, 248, .76);
  font-size: 11px;
  font-weight: 800;
}

.platform-caption {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 17px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: none; }
.button.primary { color: #fff; background: var(--accent); }
.button.primary:hover { background: var(--accent-dark); }
.button.telegram { color: #fff; background: var(--telegram); }
.button.telegram:hover { background: #155f83; }
.button.secondary { border-color: var(--line); background: #fffaf0; }
.button.secondary:hover { border-color: var(--line-strong); background: #fff6e6; }

.directory,
.popular { margin-top: 34px; }

.benefits { margin-top: 64px; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.benefit-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 253, 248, .72);
}

.benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 850;
}

.benefit-card h3 {
  margin: 17px 0 7px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.section-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.section-heading h2,
.security-note h2,
.support-card h2 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 770;
  line-height: 1.1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.card-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.directory-card {
  display: grid;
  min-width: 0;
  min-height: 250px;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 13px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 21px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 12px 34px rgba(53, 42, 31, .05);
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.directory-card.featured {
  border-color: #b7d5dc;
  background: linear-gradient(155deg, #f3fbfc, #fffaf0 75%);
}

.directory-card:hover {
  border-color: #94bec8;
  box-shadow: 0 16px 38px rgba(22, 95, 122, .10);
  transform: translateY(-2px);
}

.card-number,
.security-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 11px;
  font-weight: 800;
}

.card-content {
  display: grid;
  min-width: 0;
  gap: 9px;
}

.card-content strong {
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.card-content > span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.card-content small {
  align-self: end;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

.card-arrow { color: var(--accent); font-size: 23px; line-height: 1.7; }

.link-grid {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.link-grid a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 17px;
  background: rgba(255, 253, 248, .9);
  color: var(--ink);
  font-size: 15px;
  font-weight: 720;
  text-decoration: none;
}

.link-grid a span:last-child { color: var(--accent); font-size: 20px; }
.link-grid a:hover { border-color: #a9cbd4; background: #f7fcfd; }

.security-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
  border: 1px solid #d7c996;
  border-radius: 21px;
  padding: clamp(20px, 4vw, 30px);
  background: #fff8df;
}

.security-mark { width: 46px; height: 46px; color: #6c4d0c; background: #f4e6b8; font-size: 18px; }
.security-note h2 { margin-top: 6px; font-size: clamp(23px, 3vw, 31px); }
.security-note p:last-child { max-width: 760px; margin: 10px 0 0; color: #675b42; line-height: 1.6; }

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--card);
}

.support-card h2 { margin-top: 7px; }
.support-card p:last-child { max-width: 700px; margin: 10px 0 0; color: var(--muted); line-height: 1.6; }

.footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.5fr);
  gap: 30px 52px;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  padding: 32px 4px 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-main { min-width: 0; }
.footer-main p { max-width: 230px; margin: 13px 0 0; line-height: 1.5; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; }
.footer-brand > span:last-child { display: grid; gap: 2px; }
.footer-brand strong { color: var(--ink); font-size: 14px; }
.footer-brand small { color: var(--muted); font-size: 11px; font-weight: 500; }

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-links > div { display: grid; align-content: start; gap: 8px; }
.footer-links strong { color: var(--ink); font-size: 12px; }
.footer-links a { width: fit-content; }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 14px 0 2px;
  font-size: 11px;
}

.footer a { color: var(--accent); font-weight: 700; text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.site-nav a:focus-visible,
.directory-card:focus-visible,
.link-grid a:focus-visible,
.button:focus-visible,
.footer a:focus-visible {
  outline: 3px solid #2c7188;
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .directory-card { min-height: 0; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 12px; }
  body { background: radial-gradient(circle at top left, rgba(22, 95, 122, .08), transparent 22rem), var(--bg); }

  .site-header,
  .page {
    width: auto;
    max-width: var(--container);
    margin-inline: 12px;
  }

  .site-header { padding-top: 10px; }
  .page { padding-block: 12px 28px; }

  .site-nav { display: grid; gap: 9px; padding-bottom: 10px; }
  .site-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 4px; }
  .site-links a { min-width: 0; padding: 8px 5px; font-size: 11px; text-align: center; overflow-wrap: anywhere; }
  .site-links a:last-child:nth-child(odd) { grid-column: 1 / -1; }

  .hero { grid-template-columns: 1fr; gap: 10px; padding: 24px 2px 38px; }
  .eyebrow,
  .section-label { font-size: 12px; }
  h1 { font-size: clamp(38px, 12vw, 50px); line-height: 1; letter-spacing: -.05em; }
  .lead { font-size: 16px; }
  .hero-actions { display: grid; width: 100%; gap: 8px; }
  .button { width: 100%; }

  .hero-meta { align-items: flex-start; margin-top: 16px; }
  .start-card { border-radius: 18px; padding: 18px; }
  .start-card h2 { margin-top: 11px; }
  .start-list { gap: 14px; margin-bottom: 18px; }

  .platform-strip {
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    padding: 14px 0;
  }
  .platform-label,
  .platform-caption { width: 100%; margin: 0; }
  .platform-chip { min-height: 27px; }

  .directory,
  .popular { margin-top: 26px; }

  .benefits { margin-top: 42px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 8px; }
  .benefit-card { border-radius: 15px; padding: 17px; }
  .benefit-card h3 { margin-top: 13px; }

  .card-grid,
  .link-grid { grid-template-columns: 1fr; gap: 8px; }
  .directory-card { grid-template-columns: 36px minmax(0, 1fr) 20px; gap: 11px; border-radius: 17px; padding: 17px 15px; }
  .card-number { width: 36px; height: 36px; border-radius: 11px; }
  .card-content strong { font-size: 19px; }
  .card-content > span { font-size: 15px; }
  .link-grid a { min-height: 56px; border-radius: 14px; padding: 14px 15px; }

  .security-note { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; margin-top: 26px; border-radius: 17px; padding: 18px 16px; }
  .security-mark { width: 38px; height: 38px; border-radius: 11px; }
  .security-note p:last-child,
  .support-card p:last-child { font-size: 16px; }

  .support-card { grid-template-columns: 1fr; align-items: start; gap: 18px; margin-top: 12px; border-radius: 17px; padding: 20px 16px; }

  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 42px;
    padding: 24px 2px 0;
  }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .footer-links > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .directory-card,
  .button { transition: none; }
  .directory-card:hover,
  .button:hover { transform: none; }
}

@media print {
  body { background: #fff; }
  .site-header,
  .hero-actions,
  .footer { display: none; }
  .page { width: 100%; padding: 0; }
  .directory-card,
  .link-grid a,
  .security-note,
  .support-card { box-shadow: none; }
}
