/* Theme tokens from telegrammarket.com */
:root {
  --bg: #ffffff;
  --soft: #f7fafc;
  --blue: #229ed9;
  --blue-dark: #1b8ec4;
  --blue-soft: #e8f6fc;
  --border: #e6eef4;
  --ink: #0f1b24;
  --muted: #5f7382;
  --success: #1f8a5b;
  --success-soft: #e8f6ef;
  --warning: #b7791f;
  --warning-soft: #fff8e8;
  --radius: 14px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(15, 27, 36, 0.04);
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --page-pad: clamp(1.25rem, 3vw, 2rem);
  --content: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--blue-dark);
}

.container {
  width: min(var(--content), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header — telegrammarket style */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-word {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav-center {
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-text-link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 0.35rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-text-link:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  height: 40px;
  padding: 0 1rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  border-color: var(--blue-dark);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--soft);
  color: var(--ink);
}

.hero .btn {
  height: 44px;
  padding: 0 1.15rem;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(34, 158, 217, 0.12), transparent 60%),
    radial-gradient(700px 360px at -5% 20%, rgba(34, 158, 217, 0.06), transparent 55%),
    var(--bg);
}

.hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 1 28rem;
  min-width: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 1.4rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 28rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.video-frame {
  position: relative;
  flex: 1 1 27.2rem;
  width: 100%;
  max-width: 30.4rem;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-left: auto;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Overview */
.overview {
  padding: 1rem 0 3.5rem;
}

.overview .section-head {
  margin-bottom: 1.25rem;
}

.overview-lead {
  max-width: 42rem;
  color: var(--muted);
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
}

.overview-lead strong {
  color: var(--ink);
}

.answer-capsule {
  margin: 0 0 1.35rem;
  padding: 1.15rem 1.25rem;
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.answer-capsule > p:first-child {
  margin: 0 0 0.85rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.fact-list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.fact-list li {
  color: var(--muted);
  font-size: 0.95rem;
  padding-left: 0.9rem;
  position: relative;
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--blue);
}

.fact-list strong {
  color: var(--ink);
}

.freshness {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

.freshness a {
  font-weight: 600;
}

.overview-points {
  margin: 0 0 1.15rem;
}

.hero-points {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-points li::before {
  content: "";
  margin-top: 0.5rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: var(--blue-soft);
  border: 1px solid transparent;
  color: var(--blue-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.trust-pill:first-child {
  background: var(--success-soft);
  color: var(--success);
}

/* Sections */
section {
  padding: 4rem 0;
}

.band-soft {
  background: var(--soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 40rem;
  margin: 0 0 1.75rem;
  text-align: left;
}

.section-head h2,
h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1.2;
}

.section-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.band {
  background: var(--soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 0;
}

.band .section-head {
  margin-bottom: 0;
}

.band h2,
.band p {
  color: inherit;
}

.band h2 {
  color: var(--ink);
}

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

#faq {
  padding-top: 1.5rem;
  background: var(--soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.feature-card:hover {
  border-color: #d5e5ef;
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.icon-dot {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  margin-bottom: 0.85rem;
  font-weight: 700;
  font-size: 0.8rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 1rem;
  line-height: 1.35;
  text-align: left;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 500;
  line-height: 1;
}

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

.faq-item .faq-body {
  padding: 0 1.15rem 1.1rem;
  color: var(--muted);
}

.faq-item .faq-body p {
  margin: 0 0 0.7rem;
}

.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

/* Download */
.download-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.15rem;
  align-items: start;
}

.download-card,
.content-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.content-panel h3,
.download-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font);
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.content-panel .form-note,
.form-note {
  color: var(--muted);
  margin: 0 0 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.field input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 158, 217, 0.15);
}

.captcha-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: end;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: var(--blue-soft);
  border: 1px solid #d7eef8;
}

.captcha-box .field {
  margin: 0;
  flex: 1 1 160px;
}

.captcha-prompt {
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.download-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.download-btn img {
  width: 220px;
  height: auto;
  border-radius: 8px;
}

.form-status {
  display: none;
  margin-top: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 700;
}

.form-status.is-visible {
  display: block;
}

.notice {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--warning-soft);
  border: 1px solid #f0e0b8;
  color: #7a5a16;
  font-size: 0.9rem;
}

.steps {
  display: grid;
  gap: 0.85rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.prose h3 {
  font-family: var(--font);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 1.75rem 0 0.5rem;
}

.prose p {
  color: var(--muted);
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  align-items: center;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.15rem;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--blue);
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  background: var(--soft);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
}

/* Pricing / buy.php */
.pricing-page {
  padding: 2.75rem 0 4rem;
}

.pricing-page .section-head {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.pricing-page .section-head p {
  margin-inline: auto;
}

.pricing-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.plan-card.is-featured {
  border-color: #b7dff0;
  box-shadow: 0 10px 28px rgba(34, 158, 217, 0.1);
}

.plan-header {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  background: var(--soft);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.plan-card.is-featured .plan-header {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.plan-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
}

.plan-price {
  text-align: center;
}

.plan-price .amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-price .term {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.plan-features li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--blue);
  flex: 0 0 auto;
}

.plan-cta {
  margin-top: auto;
  padding-top: 0.25rem;
}

.plan-cta .btn {
  width: 100%;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-nav {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    padding: 2rem 0 1.75rem;
  }

  .hero-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 1.4rem;
  }

  .hero-copy {
    flex: none;
    max-width: none;
  }

  .video-frame {
    flex: none;
    max-width: none;
    margin-left: 0;
  }

  .download-panel,
  .feature-grid,
  .split-media,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .nav-center,
  .nav-actions .nav-text-link,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    gap: 0.5rem;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav.is-open {
    display: block;
    padding: 0 0 0.85rem;
  }

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
  }

  .mobile-nav a {
    display: block;
    padding: 0.8rem 0.95rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    border-radius: 10px;
  }

  .mobile-nav a:hover {
    background: var(--soft);
  }
}
