:root {
  --bg: #06111f;
  --card: #0c1c33;
  --line: rgba(59, 182, 245, 0.28);
  --ink: #F4F8FF;
  --muted: #9BB3D1;
  --gold: #3BB6F5;
  --gold-2: #1B8FCD;
  --tg: #2AABEE;
  --tg-2: #1B8FCD;
  --accent: #3BB6F5;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html {
  scroll-behavior: smooth;
  background: #040b16;
}
body.app {
  position: relative;
  font-family: "Segoe UI", system-ui, sans-serif;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: #040b16;
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 84px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2 { line-height: 1.15; margin: 0 0 .55rem; }
p { margin: 0 0 .8rem; }

.wrap { width: min(430px, calc(100% - 24px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 64px;
  padding: 8px 14px;
  background: rgba(6, 17, 31, 0.92);
  border-bottom: 1px solid rgba(59, 182, 245, 0.18);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.crown { display: none; }
.brand-copy { display: grid; gap: 1px; min-width: 0; }
.wordmark {
  width: min(168px, 52vw);
  height: auto;
  display: block;
}
.brand-copy small {
  color: var(--accent);
  font-size: .58rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.desk-nav { display: none; }
.menu-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 5px;
  align-content: center;
  justify-items: center;
  padding: 10px;
}
.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.drawer {
  position: sticky;
  top: 64px;
  z-index: 29;
  background: #0a1830;
  border-bottom: 1px solid var(--line);
  display: grid;
  padding: 8px 14px 12px;
}
.drawer[hidden] { display: none; }
.drawer a {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-weight: 700;
  color: var(--accent);
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #040b16;
  min-height: calc(100svh - 142px);
}
.hero-bg--pc { display: none; }
.hero-bg--mob {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 11, 22, .55) 42%, rgba(4, 11, 22, .92) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-copy { display: none; }
.hero-stage {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16px;
  z-index: 2;
  width: min(406px, calc(100% - 24px));
}
.hero-hits {
  position: relative;
  z-index: 2;
  width: auto;
  margin: 0;
  padding: 0;
}
.app.is-home .top {
  position: sticky;
  background: rgba(6, 17, 31, 0.96);
  border-bottom: 1px solid rgba(59, 182, 245, 0.18);
}
.app.is-home .drawer {
  position: sticky;
  left: auto;
  right: auto;
  width: auto;
  top: 64px;
}

.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: 1.55rem; }
.eyebrow {
  color: var(--accent);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .68rem;
  font-weight: 800;
  margin-bottom: .45rem;
}
.lead { color: var(--muted); }
.crumbs { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.crumbs a { color: var(--accent); font-weight: 700; }

.hits-wrap { padding: 14px 0 8px; }
.cta-pair { display: grid; gap: 10px; }
.hit {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px 12px 9px 12px;
  border-radius: 18px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.hit-txt { flex: 1; }
.hit-arr { font-size: 1.6rem; line-height: 1; opacity: .9; }
.hit-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.hit-txt { display: grid; gap: 2px; }
.hit-txt b { font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.hit-txt small { font-weight: 600; font-size: .72rem; opacity: .9; }
.hit-tg { background: linear-gradient(180deg, #3BB6F5, var(--tg-2)); color: #fff; }
.hit-go { background: linear-gradient(180deg, #F4F8FF, #D5E6F7); color: #071428; }
.hit.muted { opacity: .5; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 0 14px;
}
.tile {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  min-height: 88px;
  padding: 12px 10px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  font-size: .78rem;
}
.tile-ico { font-size: 1.15rem; }

.incele {
  display: block;
  margin: 0 0 18px;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.incele img {
  width: 100%;
  height: auto;
  display: block;
}
.incele-foot { padding: 0 0 8px; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
}
.stat b { display: block; font-size: 1.15rem; color: #fff; }
.stat span { color: var(--muted); font-size: .72rem; }

.campaigns { display: grid; gap: 10px; margin-bottom: 22px; }
.camp {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.camp small { color: var(--accent); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .68rem; }
.camp b { display: block; margin: 6px 0; }
.camp p { margin: 0; color: var(--muted); font-size: .85rem; }

.why { margin: 0 0 22px; }
.why h2 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: #fff;
}
.why ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.why li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: .9rem;
  font-weight: 700;
}

.seo-wrap { padding: 4px 0 28px; }
.seo-article {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 18px 16px 12px;
}
.seo-article h1 { font-size: 1.4rem; }
.seo-article h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--accent); }
.seo-article p, .seo-article li { color: var(--muted); }
.seo-article a { color: var(--accent); font-weight: 700; }
.seo-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.seo-toc a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .22rem .7rem;
  font-size: .78rem;
  color: var(--ink);
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: 10px; margin-bottom: 10px; }
.steps span {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-2);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
}
details { border-top: 1px solid rgba(255,255,255,.08); padding: 10px 0; }
summary { cursor: pointer; font-weight: 700; }
.related { margin-top: 18px; }
.related h2 { font-size: 1.05rem; color: var(--accent); }
.seo-dir { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.seo-dir a, .seo-dir span {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .8rem;
  font-weight: 700;
}
.seo-dir span { color: var(--muted); font-weight: 600; }
.seo-tags h2 { font-size: 1.05rem; margin: 16px 0 8px; color: var(--accent); }
.foot-dir { justify-content: center; margin: 12px 0 0; }

.foot {
  text-align: center;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: .82rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.foot-mark { width: 176px; height: auto; margin: 0 auto 10px; }

.tabbar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(430px, 100%);
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #06111f;
  border-top: 1px solid rgba(59, 182, 245, 0.2);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.tabbar a {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #6e87a6;
  font-size: .62rem;
  font-weight: 700;
  padding: 6px 2px;
}
.tabbar a.is-on { color: var(--accent); }

.empty-page { text-align: center; padding: 48px 0; }
.empty-page .hit { justify-content: center; }

@media (min-width: 900px) {
  body.app {
    max-width: none;
    padding-bottom: 0;
  }
  .wrap { width: min(1120px, calc(100% - 48px)); }
  .tabbar { display: none; }
  .menu-btn { display: none; }
  .drawer { display: none !important; }
  .desk-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    font-size: .88rem;
    font-weight: 700;
  }
  .desk-nav a { color: #d5e6f7; opacity: .9; }
  .desk-nav a:hover { color: #fff; }
  .desk-nav .nav-go {
    background: #3BB6F5;
    color: #071428;
    border-radius: 999px;
    padding: 8px 16px;
  }
  .top {
    padding: 10px 28px;
    min-height: 72px;
  }
  .app.is-home .top {
    position: absolute;
    background: linear-gradient(180deg, rgba(4,11,22,.7), transparent);
  }
  .wordmark { width: 196px; }
  .hero {
    min-height: 760px;
    height: min(86vh, 860px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    padding: 72px 0 48px;
  }
  .hero-bg--mob { display: none; }
  .hero-bg--pc {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero::after {
    height: 100%;
    background: linear-gradient(90deg, rgba(4,11,22,.84) 0%, rgba(4,11,22,.46) 46%, rgba(4,11,22,.08) 100%);
  }
  .hero-stage {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(1120px, calc(100% - 64px));
    margin: 0 auto;
    padding: 8px 0 8px;
  }
  .hero-copy {
    display: block;
    position: relative;
    z-index: 2;
    width: auto;
    margin: 0;
    padding: 0 0 24px;
    text-align: left;
  }
  .hero-copy .lead { max-width: 520px; }
  .hero-copy .hero-title {
    font-size: 2.7rem;
    font-weight: 900;
    letter-spacing: -.03em;
    margin: 0 0 12px;
    text-transform: uppercase;
    max-width: 640px;
  }
  .hero-copy .hero-title span { color: #3BB6F5; }
  .hero-hits {
    position: relative;
    width: auto;
    margin: 0;
    padding: 0;
  }
  .cta-pair {
    grid-template-columns: 1fr 1fr;
    max-width: 640px;
    gap: 14px;
  }
  .hit {
    min-height: 70px;
    padding: 12px 16px;
    border-radius: 18px;
    gap: 12px;
  }
  .hits-wrap .cta-pair { max-width: 640px; }
  .why ul { grid-template-columns: 1fr 1fr; }
  .tiles {
    grid-template-columns: repeat(4, 1fr);
    padding: 28px 0 18px;
  }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .campaigns { grid-template-columns: repeat(3, 1fr); }
}
