:root {
  /* Coinbase-inspired palette */
  --paper-0: #ffffff;
  --paper-50: #f7f7f7;
  --surface-cool: #eef0f3;
  --ink-950: #0a0b0d;
  --ink-900: #0a0b0d;
  --ink-700: #5b616e;
  --ink-200: rgba(91, 97, 110, 0.2);
  --ink-100: rgba(91, 97, 110, 0.14);

  /* Brand accent */
  --brand-700: #0052ff;
  --brand-600: #0667d0;
  --brand-100: #eef0f3;

  --hover-blue: #578bfa;

  /* Coinbase-ish radii */
  --r-card: 16px;
  --r-section: 24px;
  --r-pill: 56px;

  --shadow-plate: 0 1px 0 rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);

  --dark-0: #0a0b0d;
  --dark-1: #282b31;
}

html {
  background: var(--paper-0);
  color: var(--ink-900);
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.56;
}

a { color: var(--brand-700); }
a:hover { color: var(--hover-blue); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .container { padding: 0 20px; }
}
@media (min-width: 900px) {
  .container { padding: 0 24px; }
}
@media (min-width: 1280px) {
  .container { padding: 0 28px; }
}

.mastheadTop {
  background: var(--ink-950);
  color: var(--paper-0);
  font-size: 12px;
}

.mastheadTopInner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  opacity: 0.95;
}

.header {
  background: var(--paper-0);
  border-bottom: 1px solid var(--ink-200);
}

.headerInner {
  padding: 8px 0 6px 0;
  display: grid;
  gap: 10px;
}

.brandRow {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
}

.brandLogo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.programLabel {
  font-weight: 650;
  color: var(--ink-700);
  font-size: 13px;
}

.entityName {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 24px;
  color: var(--ink-900);
  line-height: 1.05;
}

.headerNote {
  border: 1px solid var(--ink-200);
  background: var(--surface-cool);
  border-radius: var(--r-card);
  padding: 12px 14px;
  display: none;
}

.headerNoteTitle {
  font-weight: 800;
  font-size: 13px;
}

.headerNoteBody {
  font-size: 13px;
  color: var(--ink-700);
  margin-top: 2px;
}

.nav {
  border-top: 1px solid var(--ink-100);
  padding: 6px 0 8px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 650;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 99999px;
}

.nav a:hover {
  background: var(--surface-cool);
}

/* Page sections (Coinbase-like alternation) */
.sectionLight {
  padding: 64px 0;
}
.sectionDark {
  padding: 76px 0;
  background: var(--dark-0);
  color: var(--paper-0);
}
.sectionDark a { color: var(--paper-0); }
.sectionDark a:hover { color: var(--hover-blue); }

.heroGrid {
  display: grid;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .heroGrid { grid-template-columns: 1.2fr 0.8fr; }
}

.displayHero {
  font-size: 64px;
  letter-spacing: -0.04em;
  line-height: 1.0;
  font-weight: 800;
  margin: 0;
}
@media (min-width: 1280px) {
  .displayHero { font-size: 80px; }
}

.heroLead {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.56;
  color: var(--ink-700);
  max-width: 62ch;
}
.sectionDark .heroLead { color: rgba(255,255,255,0.78); }

.kicker {
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}
.sectionDark .kicker { color: rgba(255,255,255,0.72); }

.heroActions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.pillPrimary {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--paper-0);
}
.pillPrimary:hover {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  color: var(--paper-0);
}

.pillLink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  font-size: 14px;
  color: var(--brand-700);
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 12px;
}
.pillLink:hover {
  background: rgba(0, 82, 255, 0.08);
  color: var(--brand-600);
}
.sectionDark .pillLink {
  color: rgba(255,255,255,0.92);
}
.sectionDark .pillLink:hover {
  background: rgba(255,255,255,0.10);
  color: var(--hover-blue);
}

.cardGrid {
  margin-top: 0;
  display: grid;
  gap: 16px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .cardGrid { grid-template-columns: repeat(4, 1fr); }
}

.statsFullBleed {
  margin-top: 26px;
  padding: 0;
}

.statCard {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--ink-200);
  background: linear-gradient(180deg, rgba(0, 82, 255, 0.06), rgba(255, 255, 255, 0) 46%),
              var(--paper-0);
  padding: 18px 18px 20px;
  min-height: 80px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.statCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  opacity: 0.9;
}
.sectionDark .statCard {
  background: var(--dark-1);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}
.statValue {
  font-size: 30px;
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.statLabel {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-700);
}
.sectionDark .statLabel { color: rgba(255,255,255,0.72); }

.contentGrid {
  display: grid;
  gap: 18px;
}
@media (min-width: 900px) {
  .contentGrid { grid-template-columns: 1.2fr 0.8fr; }
}

.panel {
  border-radius: 24px;
  border: 1px solid var(--ink-200);
  background: var(--paper-0);
  box-shadow: var(--shadow-plate);
  padding: 28px;
}
.sectionDark .panel {
  background: var(--dark-1);
  border-color: rgba(255,255,255,0.14);
  box-shadow: none;
}

.panelTitle {
  font-size: 18px;
  font-weight: 650;
  line-height: 1.33;
  margin: 0;
}
.panelBody {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.56;
  color: var(--ink-700);
  white-space: pre-line;
}
.sectionDark .panelBody { color: rgba(255,255,255,0.78); }

.imageSlot {
  border-radius: 24px;
  border: 1px solid var(--ink-200);
  background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(238,240,243,0.8));
  overflow: hidden;
  position: relative;
  min-height: 300px;
}
.sectionDark .imageSlot {
  border-color: rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(87,139,250,0.18), rgba(40,43,49,0.9));
}
.imageSlotInner {
  padding: 16px;
}
.imageSlotLabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 99999px;
  border: 1px solid var(--ink-200);
  background: rgba(255,255,255,0.65);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-900);
}
.sectionDark .imageSlotLabel {
  background: rgba(10,11,13,0.35);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

.footer {
  background: var(--paper-0);
  border-top: 1px solid var(--ink-200);
}

.footerInner {
  padding: 26px 0;
  display: grid;
  gap: 18px;
}

.footerGrid {
  grid-template-columns: 1fr;
}

.footerNav {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.footerNav a {
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 650;
  font-size: 13px;
}

.footerNav a:hover {
  color: var(--hover-blue);
}

.footerTitleSpacer {
  margin-top: 14px;
}

.footerTitle {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-900);
}

.footerText {
  color: var(--ink-700);
  font-size: 13px;
  margin-top: 8px;
  white-space: pre-line;
}

.footerAttribution {
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-600);
}
.footerAttribution a {
  color: var(--hover-blue);
  text-decoration: none;
  font-weight: 650;
}
.footerAttribution a:hover {
  text-decoration: underline;
}

.mapOsmAttribution {
  padding: 8px 12px 10px;
  font-size: 11px;
  color: var(--ink-600);
  background: var(--paper-0);
  border-top: 1px solid var(--ink-200);
}
.mapOsmAttribution a {
  color: var(--hover-blue);
  font-weight: 650;
  text-decoration: none;
}
.mapOsmAttribution a:hover {
  text-decoration: underline;
}

.footerContactList {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footerContactRow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footerContactIcon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--ink-500);
}

.footerContactIconFill {
  fill: currentColor;
  stroke: none;
}

.footerContactBody {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-700);
}

.footerContactLink {
  font-size: 13px;
  line-height: 1.45;
  color: var(--hover-blue);
  font-weight: 650;
  text-decoration: none;
  word-break: break-word;
}

.footerContactLink:hover {
  text-decoration: underline;
}

.footerSocialLinks {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footerSocialLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 650;
  font-size: 13px;
}

.footerSocialLink:hover {
  color: var(--hover-blue);
}

.footerSocialIcon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--ink-500);
}

.footerSocialLink:hover .footerSocialIcon {
  color: var(--hover-blue);
}

.grid2 {
  display: grid;
  gap: 18px;
}

@media (min-width: 900px) {
  .headerInner {
    grid-template-columns: 1fr;
    align-items: end;
  }
  .grid2 {
    grid-template-columns: 1fr 1fr;
  }

  .footerGrid {
    grid-template-columns: 1.15fr 0.85fr 1fr;
    gap: 24px;
    align-items: start;
  }
}

/* Shared primitives */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink-200);
  background: var(--surface-cool);
  color: var(--ink-900);
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.pill:hover {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  color: var(--paper-0);
}

/* Motion (Coinbase-ish subtle) */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

@keyframes riseFade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softIn {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

html.js [data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms cubic-bezier(.2,.8,.2,1),
              transform 700ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
html.js [data-animate].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger via CSS variable */
html.js [data-animate] {
  transition-delay: calc(var(--d, 0) * 80ms);
}

/* Hover polish */
.pill {
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(0); }

.pillLink {
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.pillLink:hover { transform: translateY(-1px); }
.pillLink:active { transform: translateY(0); }

.panel, .statCard, .imageSlot {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.panel:hover, .statCard:hover {
  transform: translateY(-2px);
}

/* Shared list UI (used by Artikel/Infografis and homepage news) */
.list { display: grid; gap: 12px; }
.item {
  background: var(--paper-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-card);
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}
.itemTitle { font-weight: 900; }
.meta { margin-top: 4px; font-size: 12.5px; color: var(--ink-700); }
.excerpt {
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-line;
}

/* Image card list (used for articles/news) */
.cardList {
  display: grid;
  gap: 12px;
}
@media (min-width: 900px) {
  .cardList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cardItem {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: var(--paper-0);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.cardItem:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 82, 255, 0.35);
}
.cardThumb {
  background: linear-gradient(135deg, rgba(0,82,255,0.08), rgba(238,240,243,0.9));
  border-right: 1px solid var(--ink-100);
}
.cardThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cardBody {
  padding: 12px 12px 12px 0;
  min-width: 0;
}
.cardTitle {
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.25;
}
.cardMeta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-700);
}
.cardExcerpt {
  margin-top: 8px;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.7;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.imageSlot img {
  transform: scale(1.01);
  transition: transform 500ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.imageSlot:hover img {
  transform: scale(1.04);
}
@media (prefers-reduced-motion: reduce) {
  .imageSlot img { transition: none; }
}

.imageSlotPlain {
  border: 0;
  background: transparent;
}

.imageSlot.noBorder {
  border: 0;
  background: transparent;
}

/* Section system */
.sectionIntro {
  max-width: 72ch;
}

.sectionEyebrow {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--ink-700);
}
.sectionDark .sectionEyebrow {
  color: rgba(255,255,255,0.72);
}

.sectionHeading {
  margin: 10px 0 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.11;
}
@media (min-width: 900px) {
  .sectionHeading { font-size: 40px; }
}
.sectionDark .sectionHeading {
  color: rgba(255,255,255,0.96);
}

.sectionLead {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.56;
  color: var(--ink-700);
}
.sectionDark .sectionLead {
  color: rgba(255,255,255,0.78);
}

