:root {
  --tg: #0F766E;
  --tg-dark: #115E59;
  --tg-deep: #134E4A;
  --ink: #12201E;
  --muted: #5A6E6B;
  --line: #D5E5E2;
  --bg: #F4F8F7;
  --card: #FFFFFF;
  --demo: #0F766E;
  --live: #D97706;
  --shadow: 0 8px 20px rgba(15, 118, 110, 0.08);
  --radius: 14px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  padding-bottom: calc(88px + var(--safe-bottom));
}
body.has-sticky { padding-bottom: calc(172px + var(--safe-bottom)); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
p { margin: 0 0 .8rem; }

.container { width: min(1120px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand strong { display: block; font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; font-weight: 600; }
.nav-desk { display: none; gap: 6px; margin-left: auto; }
.nav-desk a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.nav-desk a.active, .nav-desk a:hover { background: #EDE4FF; color: var(--tg-deep); }
.search-desk { display: none; }

.hero {
  background:
    radial-gradient(1000px 340px at 18% -12%, #CCFBF1 0%, transparent 55%),
    radial-gradient(680px 240px at 96% 4%, #ECFDF5 0%, transparent 48%),
    #F7FBFA;
  border-bottom: 1px solid var(--line);
  padding: 24px 0 18px;
}
.hero-inner { padding: 8px 0 4px; }
.eyebrow {
  color: var(--tg-deep);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero h1 { font-size: clamp(28px, 7vw, 48px); letter-spacing: -0.04em; }
.lead { color: var(--muted); font-size: 15px; max-width: 640px; }
.hero-search {
  display: flex;
  gap: 8px;
  margin: 18px 0 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px;
  box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  padding: 12px 12px;
  background: transparent;
}
.hero-search button, .btn-tg {
  background: linear-gradient(180deg, var(--tg), var(--tg-dark));
  color: #fff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}
.hero-search button { padding: 12px 18px; }
.hero-search.compact { margin-top: 14px; box-shadow: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div {
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.stats b { display: block; font-size: 22px; }
.stats span { color: var(--muted); font-size: 12px; }

.layout { display: grid; gap: 22px; padding: 22px 0; }
.sidebar { display: none; }
.block { margin-bottom: 22px; }
.block-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px;
}
.block-head h2 { font-size: 20px; }
.block-head a { color: var(--tg-deep); font-weight: 700; font-size: 14px; }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.trust span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}
.demo-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-pill {
  background: #E9F9F0;
  color: var(--demo);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
}
.list-legend { display: none; }
.list { display: grid; gap: 10px; }
.site-row {
  display: grid;
  grid-template-columns: 28px 96px 1fr;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 8px 20px rgba(18,32,51,.04);
  transition: transform .15s ease, box-shadow .15s ease;
}
.site-row:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.site-row.top { border-color: #B7DDD0; background: linear-gradient(180deg, #F4FBF8, #fff); }
.rank {
  width: 28px;
  height: 28px;
  margin-top: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--tg-deep);
  background: #E4F4EE;
}
.site-logo {
  width: 96px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 4px 8px;
}
.site-logo img, .letter {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}
.letter {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border-radius: 8px;
}
.site-logo.lg {
  width: 140px;
  height: 56px;
  border-radius: 12px;
  padding: 6px 10px;
}
.site-logo.lg img, .site-logo.lg .letter {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}
.site-top { display: flex; align-items: center; gap: 8px; }
.site-meta h2 { font-size: 16px; margin: 0; }
.site-meta h2 a:hover { color: var(--tg-deep); }
.live {
  font-size: 11px;
  font-weight: 800;
  color: var(--live);
  background: #E9F9F0;
  border-radius: 999px;
  padding: 3px 8px;
}
.live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--live);
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}
.addr { color: var(--muted); font-size: 12px; margin: 2px 0 4px; }
.camp {
  display: inline-block;
  background: #EAF7F1;
  color: var(--tg-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  margin: 0 0 6px;
}
.camp.big { font-size: 14px; padding: 8px 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  font-size: 11px;
  background: #F2F5F8;
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.chip-demo { background: #E9F9F0; color: var(--demo); }
.seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.seo-tags li {
  font-size: 12px;
  font-weight: 650;
  color: var(--tg-deep);
  background: #E7F5EF;
  border: 1px solid #CDE8DC;
  padding: 5px 10px;
  border-radius: 999px;
}
.btn-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  grid-column: 1 / -1;
  width: 100%;
  box-shadow: 0 8px 16px rgba(15,110,86,.25);
}
.btn-tg.lg { width: auto; min-width: 220px; padding: 14px 18px; font-size: 16px; }
.muted-btn { opacity: .7; cursor: default; box-shadow: none; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
  background: #fff;
}
.btn-ghost.lg { width: auto; min-width: 200px; padding: 14px 18px; font-size: 16px; }
.cta-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  grid-column: 1 / -1;
  width: 100%;
}
.cta-pair .btn-tg,
.cta-pair .btn-ghost {
  width: 100%;
  padding: 10px 8px;
  font-size: 12px;
  grid-column: auto;
  box-shadow: none;
}

.banner-slot { padding: 10px 0; }
.banner {
  display: block;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
}
.banner img { width: 100%; height: auto; display: block; }
.banner.banner-mobile { display: block; }
.banner.banner-desktop { display: none; }
.promo-banner,
.in-list {
  margin: 8px 0 10px;
  box-shadow: 0 10px 28px rgba(15, 35, 55, 0.1);
}
.banner.in-list img {
  max-height: 140px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.site-page .banner-slot { padding: 4px 0 16px; }
.net-banner {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}
.net-banner iframe {
  border: 0;
  border-radius: 16px;
  max-width: 100%;
  background: #fff;
  overflow: hidden;
}

.seo-wrap { padding: 8px 0 28px; }
.home-seo-lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 0 16px;
}
.seo-article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 20px 8px;
  max-width: 820px;
}
.seo-article-head { margin-bottom: 16px; }
.seo-article h2 { font-size: clamp(22px, 4vw, 30px); letter-spacing: -0.03em; }
.seo-article h3 { font-size: 18px; margin: 22px 0 8px; }
.seo-article p, .seo-article li { color: #3C4B5C; font-size: 15.5px; }
.seo-article a { color: var(--tg-deep); font-weight: 700; }
.seo-article code {
  font-size: 13px;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 6px;
}
.seo-article ol { padding-left: 20px; }
.seo-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}
.home-tags { margin-top: 8px; padding-top: 4px; }
.home-tag-cloud { margin-bottom: 10px; }
.seo-links a {
  display: inline-block;
  background: var(--bg);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 999px;
}
@media (min-width: 860px) {
  .seo-article { padding: 32px 36px 16px; }
}
.content, .page-body, .side-card, .empty-page {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.seo-box h2, .content h2 { font-size: 18px; margin-top: 18px; }
.content ul { padding-left: 18px; color: var(--muted); }
.page-wrap { padding: 22px 0 8px; }
.page-hero h1 { font-size: 28px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: var(--tg-deep); font-weight: 600; }
.site-hero {
  display: grid;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  margin-bottom: 16px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.faq details {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.empty, .empty-page { text-align: center; padding: 40px 16px; color: var(--muted); }

.footer {
  margin-top: 18px;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0 18px;
}
.footer-grid { display: grid; gap: 22px; }
.footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.footer a, .footer p { display: block; color: var(--muted); font-size: 14px; margin: 6px 0; }
.copy { color: #8A97A8; font-size: 12px; padding: 16px 0 8px; }

.tabbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + var(--safe-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 6px;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(18,32,51,.12);
}
.tabbar a {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 0;
}
.tabbar a.active { color: var(--tg-deep); }
.sticky-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(86px + var(--safe-bottom));
  z-index: 45;
}
.sticky-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(8, 20, 36, 0.28);
}
.sticky-close {
  position: absolute;
  top: -8px;
  right: -4px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #122033;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}
.related { margin-top: 18px; }

@media (min-width: 860px) {
  body.has-sticky { padding-bottom: calc(88px + var(--safe-bottom)); }
  .sticky-banner { display: none; }
  .nav-desk, .search-desk { display: flex; }
  .search-desk {
    align-items: center;
    background: var(--bg);
    border-radius: 999px;
    padding: 4px 4px 4px 12px;
    border: 1px solid var(--line);
  }
  .search-desk input { border: 0; background: transparent; outline: 0; width: 220px; font: inherit; }
  .search-desk button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--tg);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .layout { grid-template-columns: 1fr 280px; }
  .sidebar { display: grid; gap: 12px; align-content: start; }
  .list-legend {
    display: grid;
    grid-template-columns: 28px 1fr 180px;
    gap: 12px;
    padding: 0 16px 8px 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .site-row {
    grid-template-columns: 28px 108px 1fr auto;
    align-items: center;
    padding: 14px 16px;
  }
  .site-logo {
    width: 108px;
    height: 44px;
  }
  .rank { margin-top: 0; }
  .cta-pair {
    grid-column: auto;
    width: 176px;
    grid-template-columns: 1fr;
  }
  .btn-tg { grid-column: auto; width: auto; }
  .banner.banner-mobile { display: none; }
  .banner.banner-desktop, .banner.banner-all { display: block; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; padding-bottom: 10px; }
  .site-hero { grid-template-columns: auto 1fr; align-items: center; padding: 28px; }
  .hero { padding: 46px 0 36px; }
}

.blog-home { margin: 8px auto 0; }
.blog-grid {
  display: grid;
  gap: 14px;
}
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.blog-card h2 { font-size: 18px; margin: 0 0 8px; }
.blog-card h2 a:hover { color: var(--tg-deep); }
.blog-card .meta, .article-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}
.blog-card p { color: var(--muted); margin-bottom: 10px; }
.blog-more { color: var(--tg-deep); font-weight: 700; font-size: 14px; }
.article-body { padding: 22px 18px 20px; }
.article-body p, .article-body li { color: #3a4a5c; font-size: 16px; line-height: 1.65; }
.article-body a { color: var(--tg-deep); font-weight: 600; }
.article-body h2 { font-size: 20px; margin-top: 26px; }
.article-body ul { padding-left: 18px; margin: 0 0 14px; }
.related-blogs { margin-top: 22px; }
.related-blogs > h2 { font-size: 18px; margin-bottom: 12px; }
@media (min-width: 720px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .article-body { padding: 28px 32px 24px; }
}

