:root {
  --bg: #0c0a12;
  --ink: #fff8f0;
  --muted: rgba(255, 248, 240, 0.68);
  --accent: #ffd23f;
  --ig1: #feda75;
  --ig2: #fa7e1e;
  --ig3: #d62976;
  --ig4: #962fbf;
  --ig5: #4f5bd5;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

/* Landing */
.landing {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(214, 41, 118, 0.35), transparent 70%),
    radial-gradient(50% 50% at 90% 90%, rgba(79, 91, 213, 0.35), transparent 70%),
    var(--bg);
}
.landing-inner { max-width: 560px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--muted); margin: 0 0 12px; }
h1 { font-family: var(--display); font-size: clamp(40px, 8vw, 64px); line-height: 1; margin: 0 0 16px; font-weight: 800; letter-spacing: -0.02em; }
.grad { background: linear-gradient(90deg, var(--ig1), var(--ig2), var(--ig3), var(--ig4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--muted); font-size: 17px; line-height: 1.5; margin: 0 0 28px; }
.year-pick { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.year-pick select { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 8px 12px; font: inherit; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 14px 22px;
  font: 600 15px var(--body); cursor: pointer; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, opacity .15s ease;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(90deg, var(--ig2), var(--ig3), var(--ig4)); }
.btn.ghost { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.btn.small { padding: 10px 16px; font-size: 13px; }
.btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.note { color: var(--muted); font-size: 13px; margin-top: 16px; line-height: 1.5; }
.note code { background: rgba(255,255,255,.1); padding: 1px 6px; border-radius: 6px; }
.error { color: #ff8a8a; font-size: 14px; }

/* Loading */
.loading { position: fixed; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255,255,255,.15); border-top-color: var(--ig3); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Story viewer */
.story { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.stage {
  position: relative;
  width: min(420px, 100%, calc((100vh - 110px) * 9 / 16));
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.progress { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 5; }
.progress span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.3); overflow: hidden; }
.progress span.done { background: rgba(255,255,255,.95); }
.progress span.active { background: rgba(255,255,255,.95); }
.nav { position: absolute; top: 0; bottom: 0; width: 35%; background: none; border: 0; cursor: pointer; z-index: 4; }
.nav.prev { left: 0; }
.nav.next { right: 0; width: 65%; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.card-wrap { position: absolute; inset: 0; }

/* Cards: sized in container units so they scale with the stage. */
.card {
  position: absolute; inset: 0;
  container-type: inline-size;
  padding: 14% 8% 16%;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--ink);
  animation: cardIn .45s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.card .kicker { font: 600 3.4cqw var(--body); text-transform: uppercase; letter-spacing: .14em; opacity: .8; margin: 0 0 3cqw; }
.card h2 { font: 800 10cqw/0.98 var(--display); margin: 0 0 4cqw; letter-spacing: -0.02em; }
.card h3 { font: 700 6cqw/1.05 var(--display); margin: 0 0 2cqw; }
.card p { font-size: 4cqw; line-height: 1.45; margin: 0 0 3cqw; opacity: .92; }
.card .big { font: 800 24cqw/0.9 var(--display); letter-spacing: -0.04em; margin: 2cqw 0; }
.card .foot { position: absolute; left: 8%; right: 8%; bottom: 6%; font: 600 3cqw var(--body); opacity: .75; display: flex; justify-content: space-between; align-items: baseline; gap: 3cqw; }
.card .foot .mark { font-size: 2.6cqw; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* On phones the share sheet is the main action; saving becomes secondary. */
#share:not([hidden]) + #download { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.reveal > * { animation: rise .5s both cubic-bezier(.2,.8,.2,1); }
.reveal > *:nth-child(2) { animation-delay: .08s; }
.reveal > *:nth-child(3) { animation-delay: .16s; }
.reveal > *:nth-child(4) { animation-delay: .24s; }
.reveal > *:nth-child(5) { animation-delay: .32s; }
.reveal > *:nth-child(6) { animation-delay: .40s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.bg-sunset { background: linear-gradient(160deg, #fa7e1e 0%, #d62976 55%, #962fbf 100%); }
.bg-night { background: linear-gradient(170deg, #1a1036 0%, #4f5bd5 100%); }
.bg-lime { background: linear-gradient(160deg, #0f3d2e 0%, #1dd1a1 100%); }
.bg-gold { background: linear-gradient(160deg, #ffd23f 0%, #fa7e1e 100%); color: #1b0f05; }
.bg-gold .card, .bg-gold { --ink: #1b0f05; }
.bg-pink { background: linear-gradient(160deg, #ff9ff3 0%, #d62976 100%); }
.bg-ink { background: radial-gradient(80% 60% at 50% 0%, #3a1d5c 0%, #0c0a12 70%); }
.bg-blue { background: linear-gradient(160deg, #48dbfb 0%, #4f5bd5 100%); }

.avatar { width: 30cqw; height: 30cqw; border-radius: 50%; object-fit: cover; border: 1.4cqw solid rgba(255,255,255,.9); margin-bottom: 6cqw; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 2cqw; }
.stat { background: rgba(255,255,255,.14); border-radius: 4cqw; padding: 4cqw; }
.stat b { display: block; font: 800 9cqw/1 var(--display); letter-spacing: -0.02em; }
.stat span { font-size: 3.4cqw; opacity: .85; }
.stat.wide { grid-column: span 2; }

.bars { display: flex; flex-direction: column; gap: 3cqw; margin-top: 2cqw; }
.bar-row { display: grid; grid-template-columns: 22cqw 1fr 14cqw; align-items: center; gap: 3cqw; font-size: 3.8cqw; }
.bar-track { height: 5cqw; background: rgba(255,255,255,.15); border-radius: 3cqw; overflow: hidden; }
.bar-fill { height: 100%; background: rgba(255,255,255,.92); border-radius: 3cqw; transform-origin: left; animation: grow .8s .2s both cubic-bezier(.2,.8,.2,1); }
@keyframes grow { from { transform: scaleX(0); } }
.bar-row .val { text-align: right; font-weight: 600; }

.months { display: flex; align-items: flex-end; gap: 1.2cqw; height: 36cqw; margin: 4cqw 0 2cqw; }
.months div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1cqw; height: 100%; justify-content: flex-end; }
.months i { display: block; width: 100%; background: rgba(255,255,255,.35); border-radius: 1.4cqw 1.4cqw .4cqw .4cqw; transform-origin: bottom; animation: growY .7s both cubic-bezier(.2,.8,.2,1); }
.months i.hot { background: var(--accent); }
.months span { font-size: 2.6cqw; opacity: .8; }
@keyframes growY { from { transform: scaleY(0); } }

.hero-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5cqw; margin: 2cqw 0 4cqw; box-shadow: 0 4cqw 10cqw rgba(0,0,0,.35); }
.metrics { display: flex; flex-wrap: wrap; gap: 2cqw 4cqw; font-size: 3.8cqw; font-weight: 600; }
.caption { font-size: 3.4cqw !important; opacity: .8 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.list { list-style: none; padding: 0; margin: 2cqw 0 0; display: flex; flex-direction: column; gap: 2.6cqw; }
.list li > * { min-width: 0; }
.list li { display: grid; grid-template-columns: 9cqw 14cqw minmax(0, 1fr) auto; gap: 3cqw; align-items: center; background: rgba(255,255,255,.12); border-radius: 4cqw; padding: 2.4cqw 3cqw; font-size: 3.8cqw; }
.list li.no-thumb { grid-template-columns: 9cqw minmax(0, 1fr) auto; }
.list .sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .rank { font: 800 6cqw var(--display); }
.list img { width: 14cqw; height: 14cqw; border-radius: 2.4cqw; object-fit: cover; }
.list .name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list .sub { font-size: 3cqw; opacity: .75; }
.list .num { font-weight: 700; }

.tags { display: flex; flex-wrap: wrap; gap: 2.4cqw; margin-top: 3cqw; }
.tags span { background: rgba(255,255,255,.16); border-radius: 999px; padding: 2cqw 4cqw; font: 700 4.6cqw var(--display); }
.tags span:first-child { background: var(--accent); color: #1b0f05; font-size: 6cqw; }

.persona-badge { font: 800 14cqw/0.9 var(--display); letter-spacing: -0.03em; margin: 4cqw 0 6cqw; background: linear-gradient(90deg, var(--ig1), var(--ig2), var(--ig3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.recap { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 2cqw; }
.recap .stat b { font-size: 7cqw; }
.recap-head { display: flex; align-items: center; gap: 3cqw; margin-bottom: 4cqw; }
.recap-head img { width: 14cqw; height: 14cqw; border-radius: 50%; object-fit: cover; border: .8cqw solid #fff; }
.recap-head b { font: 800 5.4cqw var(--display); display: block; }
.recap-head span { font-size: 3.2cqw; opacity: .8; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Pro + leaderboard panels ---------- */
.btn.gold { background: linear-gradient(90deg, #ffd23f, #fa7e1e); color: #1b0f05; }
.panel { position: fixed; inset: 0; z-index: 50; background: rgba(6, 4, 12, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.panel[hidden] { display: none; }
.panel-box { width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #15111f; border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: 20px 22px 26px; }
.panel-box header { display: flex; align-items: center; justify-content: space-between; position: sticky; top: -20px; background: #15111f; padding: 6px 0 10px; z-index: 2; }
.panel-box h2 { font: 800 26px var(--display); margin: 0; }
.panel-x { background: rgba(255,255,255,.08); border: 0; color: var(--ink); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px; }
body.panel-open { overflow: hidden; }
.lede-sm { color: var(--muted); line-height: 1.5; margin: 4px 0 16px; }
.muted { color: var(--muted); font-size: 13px; }
.pro-features { display: grid; gap: 18px; }
.pro-features section { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; }
.pro-features h3 { font: 700 19px var(--display); margin: 0 0 4px; }
.pro-features section > p { color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.preview { position: relative; max-height: 340px; overflow: hidden; border-radius: 12px; background: #fff; color: #1b1726; padding: 16px; margin-top: 10px; }
.preview::after { content: 'SAMPLE'; position: absolute; top: 10px; right: 12px; font: 700 11px var(--body); letter-spacing: .12em; background: #1b1726; color: #ffd23f; padding: 4px 8px; border-radius: 6px; }
.preview::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, #fff); z-index: 1; }
.blurred { filter: blur(5px); user-select: none; pointer-events: none; }
.pro-buy { position: sticky; bottom: -26px; background: #15111f; padding: 16px 0 4px; margin-top: 16px; text-align: center; }
.pro-buy .btn { font-size: 16px; padding: 16px 28px; }
.tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.tabs button { background: rgba(255,255,255,.06); color: var(--ink); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 9px 16px; font: 600 14px var(--body); cursor: pointer; }
.tabs button.on { background: #fff; color: #15111f; }
#tab-body .report, #tab-body .kit, #tab-body .heat, #tab-body .tbl-wrap { background: #fff; color: #1b1726; border-radius: 14px; padding: 18px; }
.row-actions { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: 14px 0; flex-wrap: wrap; }
.loading-inline { display: grid; justify-items: center; gap: 12px; padding: 30px; color: var(--muted); text-align: center; }

.report h3.r-head { font: 800 22px/1.2 var(--display); margin: 0 0 8px; }
.report h4 { font: 700 15px var(--display); margin: 18px 0 6px; text-transform: uppercase; letter-spacing: .06em; color: #6b4fd3; }
.report p, .report li { line-height: 1.55; font-size: 14px; }
.r-list { padding-left: 18px; margin: 0; } .r-list li { margin-bottom: 6px; }
.ev { display: block; color: #6c6880; font-size: 12.5px; }
.r-table { width: 100%; border-collapse: collapse; font-size: 13px; } .r-table th, .r-table td { text-align: left; padding: 6px; border-bottom: 1px solid #eee; vertical-align: top; }
.verdict { white-space: nowrap; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.v-double-down { background: #d9f7e8; color: #127247; } .v-keep { background: #e7ecff; color: #3346b5; } .v-rethink { background: #ffe6de; color: #b33a14; }
.r-plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.r-plan > div { background: #f6f4fb; border-radius: 10px; padding: 10px; font-size: 13px; } .r-plan b { display: block; } .r-plan span { color: #6c6880; } .r-plan ul { padding-left: 16px; margin: 6px 0 0; }

.kit { font-size: 13px; }
.kit-top { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.kit-av { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.kit-name { font: 800 22px var(--display); } .kit-user { color: #6c6880; }
.kit-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.kit-stats div { background: #f6f4fb; border-radius: 10px; padding: 10px; } .kit-stats b { display: block; font: 800 20px var(--display); } .kit-stats span { color: #6c6880; font-size: 12px; }
.kit-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 10px; }
.kit h5 { font: 700 12px var(--body); text-transform: uppercase; letter-spacing: .08em; color: #6b4fd3; margin: 8px 0 6px; }
.k-bar { display: grid; grid-template-columns: 70px 1fr 36px; align-items: center; gap: 6px; margin: 3px 0; font-size: 12px; }
.k-bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .k-bar i { height: 8px; background: linear-gradient(90deg, #d62976, #962fbf); border-radius: 4px; } .k-bar b { text-align: right; }
.kit-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kit-posts img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; display: block; } .kit-posts span { font-size: 11px; color: #6c6880; }
.kit-foot { color: #9a96a8; font-size: 11px; margin-top: 12px; }
.kit-preview .kit { transform-origin: top left; }

.heat-grid { display: grid; grid-template-columns: 44px repeat(8, 1fr); gap: 3px; font-size: 11px; }
.heat-grid .hx { text-align: center; color: #6c6880; font-size: 10px; } .heat-grid .hy { color: #6c6880; align-self: center; }
.heat-grid i { font-style: normal; aspect-ratio: 1.6; border-radius: 5px; display: grid; place-items: center; font-size: 10px; color: #1b1726; background: rgba(214, 41, 118, var(--a)); }
.tbl-wrap { overflow-x: auto; } .tbl { border-collapse: collapse; font-size: 12.5px; width: 100%; min-width: 720px; }
.tbl th, .tbl td { padding: 6px 8px; border-bottom: 1px solid #eee; text-align: right; white-space: nowrap; } .tbl th:nth-child(-n+4), .tbl td:nth-child(-n+4) { text-align: left; }
.tbl td.cap { max-width: 260px; overflow: hidden; text-overflow: ellipsis; } .tbl a { color: #6b4fd3; }

.me-box { background: rgba(255,255,255,.05); border-radius: 14px; padding: 14px; margin-bottom: 14px; }
.me-rank { font: 700 18px var(--display); } .me-rank b { font-size: 30px; color: #ffd23f; margin-right: 6px; }
.lb { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.lb li { display: grid; grid-template-columns: 30px 36px 1fr auto; align-items: center; gap: 10px; background: rgba(255,255,255,.04); border-radius: 12px; padding: 8px 12px; }
.lb img, .lb-ph { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.1); }
.lb-rank { font: 800 18px var(--display); color: #ffd23f; } .lb a { color: var(--ink); text-decoration: none; font-weight: 600; } .lb-er { font-weight: 700; }

@media (max-width: 640px) {
  .kit-stats, .kit-cols { grid-template-columns: repeat(2, 1fr); }
  .panel-box { padding: 16px; }
}

/* Print only the chosen element (media kit / report) as a PDF. */
#print-root { display: none; }
@media print {
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; }
  body.printing { background: #fff; }
  #print-root .kit, #print-root .report { color: #1b1726; }
  @page { size: A4; margin: 12mm; }
}
.promo { margin: 12px auto 4px; max-width: 420px; color: var(--muted); font-size: 14px; }
.promo summary { cursor: pointer; }
.promo-left { background: rgba(255,210,63,.15); color: #ffd23f; border-radius: 999px; padding: 2px 8px; font-size: 12px; margin-left: 6px; }
.promo form { display: flex; gap: 8px; justify-content: center; margin-top: 10px; }
.promo input { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--ink); border-radius: 999px; padding: 9px 14px; font: 600 14px var(--body); text-transform: uppercase; width: 180px; }

/* Readable small print on the white Pro cards */
.preview .muted, #tab-body .muted, .heat .muted, .kit .muted { color: #6c6880; }
.heat .muted b { color: #1b1726; }

/* ---------- AI report as an infographic ---------- */
.report.ig { font-size: 14px; }
.ig h4 { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .1em; color: #6b4fd3; margin: 22px 0 10px; }
.ig-hero { background: linear-gradient(135deg, #fa7e1e, #d62976 55%, #962fbf); color: #fff; border-radius: 16px; padding: 20px; }
.ig-persona { display: inline-block; background: rgba(255,255,255,.2); border-radius: 999px; padding: 4px 10px; font: 700 12px var(--body); letter-spacing: .04em; }
.ig-hero h3 { font: 800 clamp(22px, 4vw, 30px)/1.1 var(--display); margin: 10px 0 8px; }
.ig-hero p { margin: 0; opacity: .95; font-size: 15px; }
.ig-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.ig-nums div { background: #f6f4fb; border-radius: 12px; padding: 12px; text-align: center; }
.ig-nums b { display: block; font: 800 26px var(--display); color: #1b1726; }
.ig-nums span { font-size: 12px; color: #6c6880; }
.ig-charts { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-top: 10px; }
.ig-chart { background: #f6f4fb; border-radius: 12px; padding: 12px; }
.ig-chart-t { font: 700 12px var(--body); color: #6c6880; margin-bottom: 8px; }
.ig-cols { display: flex; align-items: flex-end; gap: 4px; height: 110px; }
.ig-cols div { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.ig-cols b { font-size: 9px; color: #6c6880; font-weight: 600; }
.ig-cols i { width: 100%; background: #cdbff3; border-radius: 4px 4px 2px 2px; }
.ig-cols i.hot { background: #d62976; }
.ig-cols span { font-size: 10px; color: #6c6880; }
.ig-hbar { display: grid; grid-template-columns: 92px 1fr 32px; align-items: center; gap: 6px; margin: 8px 0; font-size: 12px; }
.ig-hbar em { color: #9a96a8; font-style: normal; font-size: 11px; }
.ig-hbar i { height: 12px; background: linear-gradient(90deg, #d62976, #962fbf); border-radius: 6px; }
.ig-hbar b { text-align: right; }
.ig-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ig-cards.two { grid-template-columns: repeat(2, 1fr); }
.ig-card { border-radius: 14px; padding: 14px; border: 1px solid #eee; }
.ig-card.good { background: #f1fbf6; border-color: #cdeedd; }
.ig-card.bad { background: #fff5f1; border-color: #f7d8cc; }
.ig-stat { font: 800 26px/1 var(--display); color: #1b1726; }
.ig-card.good .ig-stat { color: #127247; } .ig-card.bad .ig-stat { color: #b33a14; }
.ig-stat-l { font-size: 11.5px; color: #6c6880; margin: 4px 0 10px; }
.ig-card-t { font-weight: 700; margin-bottom: 4px; }
.ig-card p { margin: 0; font-size: 13px; color: #45415a; line-height: 1.45; }
.ig-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.ig-stack { display: flex; height: 18px; border-radius: 9px; overflow: hidden; gap: 2px; }
.ig-legend { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; font-size: 13px; }
.ig-legend li { display: flex; align-items: center; gap: 6px; }
.ig-legend b { margin-left: 2px; }
.ig-legend .verdict { margin-left: auto; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.ig-time { background: #1b1726; color: #fff; border-radius: 14px; padding: 14px; text-align: center; }
.ig-time-d { font: 800 24px var(--display); }
.ig-time-t { font: 700 16px var(--body); color: #ffd23f; }
.ig-time p { margin: 8px 0 0; font-size: 12.5px; opacity: .85; }
.ig-plan { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ig-plan > div { background: #f6f4fb; border-radius: 12px; padding: 12px; font-size: 12.5px; }
.ig-q { display: inline-block; background: #6b4fd3; color: #fff; border-radius: 6px; padding: 2px 7px; font-size: 11px; font-weight: 700; }
.ig-plan b { display: block; margin: 6px 0 4px; font-size: 14px; }
.ig-plan ul { padding-left: 15px; margin: 0; } .ig-plan li { margin: 3px 0; }
.ig-wins { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ig-wins li { background: #fff8db; border-radius: 10px; padding: 10px 12px; font-weight: 600; font-size: 13px; }
@media (max-width: 640px) {
  .ig-nums, .ig-plan { grid-template-columns: repeat(2, 1fr); }
  .ig-charts, .ig-split, .ig-cards, .ig-cards.two, .ig-wins { grid-template-columns: 1fr; }
}
@media print { .ig-hero, .ig-time, .ig-q { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

/* ---------- Landing page ---------- */
.landing.lp { display: block; padding: 0 16px 40px; min-height: 100%; }
.lp > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.lp-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; }
.lp-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 18px var(--display); }
.lp-logo img { border-radius: 9px; }
.lp-logo em { font: 500 13px var(--body); color: var(--muted); font-style: normal; margin-left: 4px; }
.lp-top nav { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.lp-top nav a { color: var(--muted); text-decoration: none; } .lp-top nav a:hover { color: var(--ink); }
#lang { background: rgba(255,255,255,.08); color: var(--ink); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 6px 10px; font: 500 13px var(--body); }
.lp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 40px 0 30px; }
.lp-hero h1 { font-size: clamp(42px, 6.4vw, 76px); }
.lp-sub { color: var(--muted); font-size: 13px; margin-top: 14px; }
.lp-phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 18.5; border-radius: 40px; padding: 12px; background: #1c1726; box-shadow: 0 40px 90px rgba(214,41,118,.25), inset 0 0 0 2px rgba(255,255,255,.08); transform: rotate(3deg); }
.lp-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; }
.lp-slide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 26px; opacity: 0; animation: lpSlide 12s infinite; }
.lp-slide.s1 { background: linear-gradient(160deg, #fa7e1e, #d62976 60%, #962fbf); }
.lp-slide.s2 { background: radial-gradient(80% 60% at 50% 0%, #3a1d5c, #0c0a12 70%); animation-delay: 4s; }
.lp-slide.s3 { background: linear-gradient(170deg, #1a1036, #4f5bd5); animation-delay: 8s; }
@keyframes lpSlide { 0% { opacity: 0; transform: scale(1.04); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; } }
.lp-k { font: 600 11px var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.lp-big { font: 800 64px/1 var(--display); margin: 10px 0 4px; }
.lp-l { font-size: 14px; opacity: .9; }
.lp-persona { font: 800 40px/1 var(--display); margin: 12px 0; background: linear-gradient(90deg, var(--ig1), var(--ig2), var(--ig3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-mini-bars { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin-top: 22px; }
.lp-mini-bars i { flex: 1; background: rgba(255,255,255,.45); border-radius: 5px; } .lp-mini-bars i.hot { background: #ffd23f; }
.lp-heat { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 20px; }
.lp-heat i { aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,.12); }
.lp-heat .h1 { background: rgba(255,255,255,.25); } .lp-heat .h2 { background: rgba(255,255,255,.4); } .lp-heat .h3 { background: rgba(255,210,63,.6); } .lp-heat .h4 { background: #ffd23f; }
.lp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 10px 0 20px; }
.lp-stats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 16px; text-align: center; }
.lp-stats b { display: block; font: 800 30px var(--display); }
.lp-stats span { color: var(--muted); font-size: 13px; }
.lp-sec { padding: 46px 0 10px; }
.lp-sec h2 { font: 800 clamp(28px, 4vw, 40px)/1.1 var(--display); margin: 0 0 18px; letter-spacing: -0.01em; }
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-tile { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 18px; }
.lp-tile span { font-size: 26px; } .lp-tile b { display: block; font: 700 17px var(--display); margin: 8px 0 4px; } .lp-tile p { color: var(--muted); margin: 0; line-height: 1.5; font-size: 14px; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lp-steps li { position: relative; background: rgba(255,255,255,.05); border-radius: 18px; padding: 18px 18px 18px 64px; }
.lp-steps li > span { position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--ig2), var(--ig3)); font-weight: 800; }
.lp-steps b { font: 700 17px var(--display); } .lp-steps p { color: var(--muted); margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.lp-pro { background: linear-gradient(160deg, rgba(255,210,63,.12), rgba(214,41,118,.1)); border: 1px solid rgba(255,210,63,.25); border-radius: 26px; padding: 30px; margin-top: 46px; text-align: center; }
.lp-pro .lp-grid { text-align: left; margin: 18px 0 22px; }
.lp-pro-head p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.lp-badge { display: inline-block; background: #ffd23f; color: #1b0f05; font: 800 12px var(--body); letter-spacing: .1em; border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
.lp-tile.light { background: rgba(0,0,0,.2); }
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.lp-split .lb { margin: 0; }
.lp-trust ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.lp-trust li { background: rgba(255,255,255,.04); border-radius: 14px; padding: 14px 16px; }
.lp-faq details { background: rgba(255,255,255,.04); border-radius: 14px; padding: 14px 16px; margin-bottom: 8px; }
.lp-faq summary { cursor: pointer; font-weight: 600; } .lp-faq p { color: var(--muted); margin: 10px 0 0; line-height: 1.5; }
.lp-foot { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; padding: 40px 0 10px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; }
.lp-foot a { color: var(--muted); } .lp-foot a:first-of-type { margin-left: auto; } .lp-foot { flex-wrap: wrap; }
@media (max-width: 820px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 16px; }
  .lp-phone { width: 230px; transform: none; }
  .lp-grid, .lp-steps, .lp-split { grid-template-columns: 1fr; }
  .lp-top nav a[href="#pro"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lp-slide { animation: none; } .lp-slide.s1 { opacity: 1; } }
