/* ===== Design tokens ===== */
:root{
  --bg-grad: radial-gradient(130% 100% at 30% 0%, #204C99 0%, #13294f 45%, #0A1428 100%);
  --accent: #4C86E0;
  --accent-ink: #EDF2FA;
  --gold: #E0B44C;
  --gold-ink: #241a04;
  --ink: #EDF2FA;
  --ink-soft: rgba(237,242,250,.82);
  --ink-mute: rgba(237,242,250,.58);
  --card: #142542;
  --card-hi: #1d3868;
  --card-border: rgba(76,134,224,.45);
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 40px;
  --shadow: 0 10px 30px rgba(0,0,0,.18);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.28);
  --maxw: 640px;
  --gap: 14px;
  --font: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Chakra Petch', var(--font);
}

/* ===== Reset ===== */
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
body{
  font-family:var(--font);
  color:var(--ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(140,175,235,.05) 0, rgba(140,175,235,.05) 1px, transparent 1px, transparent 46px),
    repeating-linear-gradient(90deg, rgba(140,175,235,.05) 0, rgba(140,175,235,.05) 1px, transparent 1px, transparent 46px),
    var(--bg-grad);
  background-attachment:fixed;
  min-height:100vh;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}

/* ===== Layout ===== */
.shell{ width:100%; max-width:var(--maxw); margin:0 auto; padding:20px 18px 64px; }
.section{ position:relative; margin-bottom:26px; }
.section + .section::before{ content:''; position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  width:52px; height:1px; background:linear-gradient(90deg, transparent, var(--card-border), transparent); }
.section + .section::after{ content:''; position:absolute; top:-17px; left:50%;
  transform:translateX(-50%) rotate(45deg); width:6px; height:6px; background:var(--gold);
  box-shadow:0 0 8px rgba(224,180,76,.5); }
.card{
  background:var(--card);
  box-shadow:inset 0 0 0 1px var(--card-border), var(--shadow);
  border-radius:var(--radius-lg);
  padding:20px;
}
.label{ font-family:var(--font-display); font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-mute); font-weight:700; }
.sec-title{ font-family:var(--font-display); font-size:23px; font-weight:700; letter-spacing:.01em; margin:2px 0 14px; text-transform:uppercase; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font); font-weight:800; font-size:15px; cursor:pointer;
  padding:14px 22px; border-radius:var(--radius-pill); border:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn-primary{ background:var(--accent); color:var(--accent-ink); box-shadow:0 8px 22px rgba(76,134,224,.35); }
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 12px 28px rgba(76,134,224,.45); }
.btn-ghost{ background:var(--card); color:var(--ink); box-shadow:inset 0 0 0 1px var(--card-border); }
.btn-ghost:hover{ background:var(--card-hi); }

/* ===== Focus ===== */
a:focus-visible, .btn:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; border-radius:8px; }

/* ===== Reveal (only hidden when JS active) ===== */
.js .reveal{ opacity:0; transform:translateY(20px); }

/* ===== Hero ===== */
.hero{ text-align:left; padding-top:8px; }
.hero-layout{ display:flex; flex-direction:column; gap:20px; }
.hero-photo-frame{ position:relative; display:block; }
.hero-photo{ width:100%; aspect-ratio:4/3; object-fit:cover; display:block; border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); background:var(--card); }
.hero-photo-frame .rc{ width:20px; height:20px; }
.hero-photo-frame .rc-tl{ top:12px; left:12px; }
.hero-photo-frame .rc-tr{ top:12px; right:12px; }
.hero-photo-frame .rc-bl{ bottom:12px; left:12px; }
.hero-photo-frame .rc-br{ bottom:12px; right:12px; }
.rc{ position:absolute; width:14px; height:14px; border:0 solid var(--gold); pointer-events:none; }
.rc-tl{ top:0; left:0; border-top-width:2px; border-left-width:2px; border-radius:4px 0 0 0; }
.rc-tr{ top:0; right:0; border-top-width:2px; border-right-width:2px; border-radius:0 4px 0 0; }
.rc-bl{ bottom:0; left:0; border-bottom-width:2px; border-left-width:2px; border-radius:0 0 0 4px; }
.rc-br{ bottom:0; right:0; border-bottom-width:2px; border-right-width:2px; border-radius:0 0 4px 0; }
.hero-info{ display:flex; flex-direction:column; gap:18px; }
.hero-name{ font-family:var(--font-display); font-size:30px; font-weight:700; letter-spacing:.01em; line-height:1; }
.hero-name span{ color:var(--gold); }
.hero-badges{ display:flex; flex-wrap:wrap; gap:8px; margin-top:9px; }
.hero-badges .plat-badge{ margin-bottom:0; }
.followers-total{ font-family:var(--font-display); font-size:38px; font-weight:700; line-height:1.15; margin-top:2px; }
.socials{ display:flex; gap:16px; justify-content:flex-start; align-items:flex-start; color:var(--ink-soft); }
.socials a{ display:flex; flex-direction:column; align-items:center; gap:7px; transition:transform .15s ease, color .15s ease; }
.socials a:hover{ color:var(--accent); transform:translateY(-2px); }
.socials a svg{ width:29px; height:29px; }
.soc-count{ font-family:var(--font-display); font-size:14px; font-weight:700; letter-spacing:.01em; color:var(--ink); }
.hero-cta{ margin-top:20px; width:100%; }

@media (max-width:360px){ .socials{ gap:11px; } .socials a svg{ width:25px; height:25px; } .soc-count{ font-size:12px; } }

@media (min-width:640px){
  .hero-layout{ flex-direction:row; align-items:stretch; gap:26px; }
  .hero-photo-frame{ flex:0 0 40%; }
  .hero-photo{ width:100%; height:100%; aspect-ratio:auto; }
  .hero-info{ flex:1; justify-content:center; }
}

/* ===== About ===== */
.about-body{ font-size:15.5px; color:var(--ink-soft); margin-top:8px; }
.about-body strong{ color:var(--ink); }

/* ===== The Numbers ===== */
.plat-tabs{ display:flex; gap:8px; margin-bottom:14px; flex-wrap:wrap; }
.plat-tab{ flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border:none; border-radius:13px; cursor:pointer;
  background:var(--card); color:var(--ink-mute); box-shadow:inset 0 0 0 1px var(--card-border);
  transition:background .15s ease, color .15s ease, transform .15s ease; }
.plat-tab svg{ width:19px; height:19px; }
.plat-tab:hover{ color:var(--ink); transform:translateY(-2px); }
.plat-tab.is-active{ background:var(--accent); color:var(--accent-ink); box-shadow:0 6px 16px rgba(76,134,224,.4); }
.plat-list{ display:flex; flex-direction:column; gap:var(--gap); }
.plat-head{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:14px; }
.plat-name{ font-family:var(--font-display); font-size:18px; font-weight:700; }
.plat-handle{ font-family:var(--font-display); font-size:12px; color:var(--ink-mute); font-weight:600; }
.plat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.kpi{ padding:11px 10px; border-radius:14px; background:var(--card-hi);
  box-shadow:inset 0 0 0 1px var(--card-border); text-align:left; }
.kpi-head{ display:flex; align-items:center; gap:5px; margin-bottom:7px; }
.kpi-icon{ width:12px; height:12px; flex:0 0 auto; color:var(--ink-mute); }
.kpi b{ display:block; font-family:var(--font-display); font-size:18px; font-weight:700; line-height:1; color:var(--accent); }
.kpi span{ font-family:var(--font-display); font-size:9.5px; letter-spacing:.03em; text-transform:uppercase; color:var(--ink-mute); font-weight:600; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.plat-badge{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-size:10.5px; font-weight:700;
  letter-spacing:.04em; text-transform:uppercase; background:var(--gold); color:var(--gold-ink);
  padding:5px 11px; border-radius:var(--radius-pill); margin-bottom:12px; }
.plat-badge-purple{ background:#9146FF; color:#fff; }
.plat-badge-red{ background:#FF0000; color:#fff; }

@media (max-width:360px){ .plat-grid{ grid-template-columns:repeat(2,1fr); } }

/* ===== Trusted by ===== */
.trusted-card{ text-align:center; }
.brands{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; align-items:center; margin-top:12px; }
.brand-chip{ display:flex; align-items:center; justify-content:center; height:46px; padding:8px 18px;
  background:#fff; border-radius:12px; box-shadow:0 4px 14px rgba(0,0,0,.25); }
.brand-chip img{ height:100%; width:auto; max-width:96px; object-fit:contain; }

/* ===== Contact ===== */
.contact-photo-frame{ position:relative; display:block; margin-bottom:16px; }
.contact-photo{ width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.contact-photo-frame .rc{ width:24px; height:24px; }
.contact-photo-frame .rc-tl{ top:12px; left:12px; }
.contact-photo-frame .rc-tr{ top:12px; right:12px; }
.contact-photo-frame .rc-bl{ bottom:12px; left:12px; }
.contact-photo-frame .rc-br{ bottom:12px; right:12px; }
.contact-card{ text-align:center; padding:28px 22px; }
.contact-h{ font-family:var(--font-display); font-size:24px; font-weight:700; margin:4px 0 8px; letter-spacing:.01em; text-transform:uppercase; }
.contact-sub{ font-size:14.5px; color:var(--ink-soft); max-width:36ch; margin:0 auto 18px; }
.contact-card .btn{ width:100%; }
.contact-alt{ font-size:13px; color:var(--ink-mute); margin-top:14px; }
.contact-alt a{ color:var(--accent); font-weight:800; }
.foot{ text-align:center; font-size:12px; color:var(--ink-mute); margin-top:22px; }

@media (min-width:520px){
  .contact-card .btn{ width:auto; padding-left:40px; padding-right:40px; }
}

@media (min-width:560px){
  .shell{ padding:32px 22px 80px; }
  :root{ --maxw:680px; }
  .hero-cta{ width:auto; padding-left:34px; padding-right:34px; }
}

@media (min-width:640px){
  :root{ --maxw:820px; }
  .hero-name{ font-size:38px; }
}

/* ===== Audience ===== */
.aud-panels{ display:flex; flex-direction:column; gap:var(--gap); }
.aud-panel-head{ margin-bottom:14px; }
.aud-plat{ font-family:var(--font-display); font-size:17px; font-weight:700; }
.aud-gender-chart{ display:flex; align-items:center; gap:20px; margin-bottom:18px; }
.aud-donut{ position:relative; flex:0 0 auto; width:92px; height:92px; border-radius:50%; }
.aud-donut::after{ content:''; position:absolute; inset:16px; border-radius:50%; background:var(--card); }
.aud-legend{ display:flex; flex-direction:column; gap:9px; flex:1; min-width:0; }
.aud-legend-row{ display:flex; align-items:center; gap:8px; font-family:var(--font-display); font-size:12.5px;
  color:var(--ink-soft); font-weight:600; }
.aud-legend-row b{ margin-left:auto; color:var(--ink); font-weight:700; }
.aud-dot{ width:9px; height:9px; border-radius:50%; flex:0 0 auto; }
.aud-ages{ display:flex; flex-direction:column; gap:9px; }
.aud-age-row{ display:grid; grid-template-columns:44px 1fr 40px; align-items:center; gap:9px; }
.aud-age-row span{ font-family:var(--font-display); font-size:11.5px; color:var(--ink-mute); font-weight:600; }
.aud-bar-track{ height:6px; border-radius:4px; background:rgba(255,255,255,.08); overflow:hidden; }
.aud-bar-fill{ display:block; height:100%; background:var(--accent); border-radius:4px; }
.aud-age-row b{ font-family:var(--font-display); font-size:11.5px; font-weight:700; text-align:right; }

/* ===== Reduced motion: guarantee nothing stays hidden even without JS matchMedia ===== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1 !important; transform:none !important; }
  *{ transition:none !important; }
}
