/* TYDC Theme C — Editorial Motion (20251223d) */
:root {
  --bg: #06080A;
  --fg: #F3F6FA;
  --muted: rgba(243,246,250,.72);
  --border: rgba(243,246,250,.20);
  --softborder: rgba(243,246,250,.10);
  --accent: #FFEA00;
  --accent2: #A7FF7A;

  --font-display: "Anton", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-ui: "Space Grotesk", system-ui, sans-serif;

  --ui-bg: rgba(7,10,12,.88);
  --ui-border: rgba(243,246,250,.20);
  --ui-accent: var(--accent);
}

/* hard-lock bg/fg to avoid “white-out” on aggressive caches */
html, body { background: #06080A !important; color: #F3F6FA !important; }

.hero__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
.cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card { border-radius: 18px; background: rgba(255,255,255,.04); transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 46px rgba(0,0,0,.26); }
.table { border-radius: 18px; overflow:hidden; }
.thead { background: rgba(255,255,255,.05); }
.trow { font-size: 12.5px; }
.hero__visual .collage__label { left:auto; right:14px; background: rgba(255,255,255,.06); }

.bg::before {
  background:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(1100px 700px at 18% 10%, rgba(255,225,0,.10), transparent 60%),
    radial-gradient(1000px 600px at 82% 22%, rgba(167,255,122,.06), transparent 62%),
    linear-gradient(to bottom, rgba(255,255,255,.014), rgba(255,255,255,0));
  background-size: 64px 64px, 64px 64px, auto, auto, auto;
  background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
}

/* iPad/tablet: keep the editorial difference visible */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
