/* ─── Nkrumah — Medium-style editorial design ─── */
/* Clean, typography-first, lots of whitespace */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --black: #121212;
  --text: #292929;
  --text-light: #6b6b6b;
  --text-muted: #9b9b9b;
  --border: #e6e6e6;
  --border-light: #f2f2f2;
  --bg: #ffffff;
  --bg-warm: #faf9f7;
  --bg-code: #1a1a2e;
  --accent: #0d9488;
  --accent-light: #14b8a6;
  --accent-bg: #f0fdfa;
  --accent-border: #ccfbf1;
  --green: #10b981;
  --green-bg: #ecfdf5;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius: 4px;
  --shadow: 0 1px 4px rgba(0,0,0,.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.7; font-size: 15px; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; transition: text-decoration-color .15s; }
a:hover { text-decoration-color: var(--text); }
::selection { background: var(--accent-bg); color: var(--accent); }

/* ─── Nav ─── */
.nav { background: var(--bg); padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 64px; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); }
.nav-brand { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--black); letter-spacing: -0.5px; text-decoration: none; }
.nav-brand span { color: var(--accent); font-weight: 400; font-style: italic; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-light); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-cta { background: var(--accent); color: var(--bg) !important; padding: 7px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.nav-cta:hover { background: var(--accent-light); }

/* ─── Hero — editorial style ─── */
.hero { background: var(--bg); color: var(--text); padding: 80px 32px 48px; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-family: var(--serif); font-size: 52px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.15; margin-bottom: 16px; color: var(--black); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p { font-size: 20px; color: var(--text-light); max-width: 540px; margin: 0 auto 40px; line-height: 1.6; }
.hero-search { max-width: 500px; margin: 0 auto; position: relative; }
.hero-search input { width: 100%; padding: 14px 20px 14px 46px; border-radius: 24px; border: 1px solid var(--border); background: var(--bg-warm); color: var(--text); font-size: 15px; font-family: var(--sans); outline: none; transition: all .2s; }
.hero-search input::placeholder { color: var(--text-muted); }
.hero-search input:focus { border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
.hero-search .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; }
.hero-sticky { position: sticky; top: 64px; z-index: 50; padding: 16px 32px; box-shadow: var(--shadow-md); }
.hero-sticky h1, .hero-sticky > p { display: none; }

/* ─── Stats bar ─── */
.stats-bar { display: flex; justify-content: center; gap: 56px; padding: 28px 32px; background: var(--bg-warm); border-bottom: 1px solid var(--border-light); }
.stat { text-align: center; }
.stat-value { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--black); }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px; text-transform: uppercase; margin-top: 2px; }

/* ─── Section ─── */
.section { max-width: 720px; margin: 0 auto; padding: 56px 32px; }
.section-wide { max-width: 960px; }
.section-title { font-family: var(--serif); font-size: 32px; font-weight: 700; margin-bottom: 8px; color: var(--black); letter-spacing: -0.5px; }
.section-sub { font-size: 16px; color: var(--text-light); margin-bottom: 32px; line-height: 1.6; }
.section-divider { border: none; border-top: 1px solid var(--border-light); margin: 0; }

/* ─── Product cards (Lingua + Docs) ─── */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 16px; }
.product-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 32px; transition: all .2s; cursor: pointer; text-decoration: none; }
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); }
.product-card .product-icon { font-size: 28px; margin-bottom: 12px; }
.product-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.product-card .product-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.product-card .product-link:hover { text-decoration: underline; }

/* ─── Language cards ─── */
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.lang-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 24px; text-align: left; transition: all .2s; cursor: pointer; }
.lang-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.lang-card.active { border-color: var(--accent); background: var(--accent-bg); }
.lang-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--black); margin-bottom: 2px; }
.lang-card .region { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.lang-card .terms { font-size: 28px; font-weight: 700; color: var(--accent); font-family: var(--serif); }
.lang-card .terms-label { font-size: 12px; color: var(--text-muted); }
.lang-card .bar { height: 3px; background: var(--border-light); border-radius: 2px; margin-top: 12px; overflow: hidden; }
.lang-card .bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width .5s ease; }
.lang-inactive { opacity: .4; }

/* ─── Domain pills ─── */
.domain-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.domain-pill { padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--bg); cursor: pointer; transition: all .15s; color: var(--text-light); text-decoration: none; }
.domain-pill:hover, .domain-pill.active { background: var(--black); color: var(--bg); border-color: var(--black); }

/* ─── Search results ─── */
.results { margin-top: 20px; }
.result-card { background: var(--bg); border-bottom: 1px solid var(--border-light); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; transition: background .15s; }
.result-card:first-child { border-top: 1px solid var(--border-light); }
.result-card:hover { background: var(--bg-warm); }
.result-pt { font-size: 16px; font-weight: 500; color: var(--text); }
.result-arrow { color: var(--text-muted); margin: 0 16px; font-size: 16px; }
.result-target { font-family: var(--serif); font-size: 17px; font-weight: 600; font-style: italic; color: var(--accent); }
.result-meta { display: flex; gap: 6px; align-items: center; }
.badge { padding: 3px 8px; border-radius: 3px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; }
.badge-alta { background: var(--green-bg); color: var(--green); }
.badge-media { background: var(--amber-bg); color: var(--amber); }
.badge-validated { background: var(--green-bg); color: var(--green); }
.badge-draft { background: var(--amber-bg); color: var(--amber); }
.badge-domain { background: var(--bg-warm); color: var(--text-muted); }

/* ─── Contribute page ─── */
.contribute-layout { max-width: 880px; margin: 0 auto; padding: 32px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.sidebar-panel { background: var(--bg-warm); border: 1px solid var(--border-light); border-radius: 8px; padding: 24px; height: fit-content; position: sticky; top: 80px; }
.sidebar-panel h3 { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--black); margin-bottom: 14px; }
.sidebar-stat { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 13px; }
.sidebar-stat:last-child { border: none; }
.sidebar-stat .label { color: var(--text-muted); }
.sidebar-stat .value { font-weight: 700; color: var(--black); }

.validation-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 28px; margin-bottom: 16px; transition: all .15s; }
.validation-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.validation-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.validation-id { font-size: 12px; color: var(--text-muted); font-family: var(--mono); }
.translation-pair { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding: 20px; background: var(--bg-warm); border-radius: 6px; }
.translation-pair .lang-label { font-size: 10px; font-weight: 600; text-transform: uppercase; color: var(--text-muted); letter-spacing: 0.5px; margin-bottom: 4px; }
.translation-pair .text { font-size: 18px; font-weight: 600; }
.translation-pair .text-pt { color: var(--text); }
.translation-pair .text-target { font-family: var(--serif); color: var(--accent); font-style: italic; }
.translation-pair .arrow { font-size: 20px; color: var(--text-muted); }
.validation-context { font-size: 13px; color: var(--text-light); margin-bottom: 16px; padding: 10px 14px; background: var(--accent-bg); border-radius: 4px; border-left: 3px solid var(--accent); }
.validation-actions { display: flex; gap: 10px; }

.btn { padding: 8px 20px; border-radius: 20px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 6px; }
.btn-approve { background: var(--green); color: var(--bg); }
.btn-approve:hover { background: #059669; }
.btn-reject { background: var(--bg); color: var(--red); border: 1px solid var(--red); }
.btn-reject:hover { background: var(--red); color: var(--bg); }
.btn-edit { background: var(--bg-warm); color: var(--text-light); border: 1px solid var(--border); }
.btn-edit:hover { background: var(--border-light); color: var(--text); }
.btn-teal { background: var(--accent); color: var(--bg); }
.btn-teal:hover { background: var(--accent-light); }
.btn-dark { background: var(--black); color: var(--bg); }
.btn-dark:hover { background: var(--text); }

.edit-field { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 15px; font-family: var(--sans); margin-top: 8px; outline: none; transition: border .15s; }
.edit-field:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(13,148,136,.08); }

/* ─── Steps / How it works ─── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.step { text-align: center; padding: 24px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--black); color: var(--bg); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--black); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ─── API section ─── */
.api-block { background: var(--bg-code); border-radius: 8px; padding: 24px 28px; color: #a0aec0; font-family: var(--mono); font-size: 13px; line-height: 1.8; overflow-x: auto; }
.api-block .method { color: var(--accent-light); font-weight: 700; }
.api-block .url { color: #e2e8f0; }
.api-block .comment { color: #4a5568; }
.api-block .key { color: #90cdf4; }
.api-block .value { color: #fbd38d; }

/* ─── Footer ─── */
.footer { background: var(--bg-warm); color: var(--text-muted); padding: 40px 32px; text-align: center; font-size: 13px; border-top: 1px solid var(--border); margin-top: 0; }
.footer a { color: var(--text-light); text-decoration: underline; }
.footer .brand { font-family: var(--serif); color: var(--black); font-size: 18px; margin-bottom: 8px; }

/* ─── Loading ─── */
.loading { text-align: center; padding: 48px; color: var(--text-muted); }
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Empty ─── */
.empty { text-align: center; padding: 48px; color: var(--text-muted); font-size: 15px; }

/* ─── Toast ─── */
.toast { position: fixed; bottom: 24px; right: 24px; padding: 12px 24px; border-radius: 24px; font-size: 14px; font-weight: 600; color: var(--bg); z-index: 1000; animation: slideUp .3s ease; }
.toast-success { background: var(--green); }
.toast-error { background: var(--red); }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ─── Pure CSS Icons ─── */
.icon-css { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; }

/* Globe — Lingua */
.icon-globe { background: var(--accent-bg); position: relative; }
.icon-globe::before { content: ''; width: 20px; height: 20px; border: 2px solid var(--accent); border-radius: 50%; }
.icon-globe::after { content: ''; position: absolute; width: 20px; height: 0; border-top: 2px solid var(--accent); top: 50%; left: 50%; transform: translateX(-50%); }

/* Document — Docs */
.icon-doc { background: #eef2ff; position: relative; }
.icon-doc::before { content: ''; width: 14px; height: 18px; border: 2px solid #6366f1; border-radius: 2px; }
.icon-doc::after { content: ''; position: absolute; width: 7px; border-top: 2px solid #6366f1; top: 14px; }

/* User / Person */
.icon-user { background: var(--bg-warm); position: relative; }
.icon-user::before { content: ''; width: 10px; height: 10px; border: 2px solid var(--text-muted); border-radius: 50%; position: absolute; top: 7px; }
.icon-user::after { content: ''; width: 16px; height: 8px; border: 2px solid var(--text-muted); border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom: none; position: absolute; bottom: 6px; }

/* Trophy */
.icon-trophy { background: #fffbeb; position: relative; }
.icon-trophy::before { content: ''; width: 12px; height: 10px; border: 2px solid var(--amber); border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; border-top: none; position: absolute; top: 9px; }
.icon-trophy::after { content: ''; width: 6px; height: 0; border-top: 2px solid var(--amber); position: absolute; bottom: 9px; }

/* Check / Validate */
.icon-check { background: var(--green-bg); }
.icon-check::before { content: ''; width: 6px; height: 12px; border: solid var(--green); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin-top: -2px; }

/* Edit / Pencil */
.icon-pencil { background: var(--accent-bg); position: relative; }
.icon-pencil::before { content: ''; width: 14px; height: 3px; background: var(--accent); transform: rotate(-45deg); border-radius: 1px; }
.icon-pencil::after { content: ''; position: absolute; bottom: 10px; left: 10px; width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 5px solid var(--accent); transform: rotate(-45deg); }

/* Reject / X */
.icon-x { background: var(--red-bg); }
.icon-x::before, .icon-x::after { content: ''; position: absolute; width: 14px; height: 2.5px; background: var(--red); border-radius: 1px; }
.icon-x::before { transform: rotate(45deg); }
.icon-x::after { transform: rotate(-45deg); }

/* Search / Magnifier */
.icon-search { position: relative; }
.icon-search::before { content: ''; width: 12px; height: 12px; border: 2px solid var(--text-muted); border-radius: 50%; position: absolute; top: 10px; left: 10px; }
.icon-search::after { content: ''; width: 6px; height: 0; border-top: 2px solid var(--text-muted); position: absolute; bottom: 11px; right: 10px; transform: rotate(45deg); }

/* Star */
.icon-star { background: #fffbeb; }
.icon-star::before { content: ''; width: 16px; height: 16px; background: var(--amber); clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }

/* Shield */
.icon-shield { background: var(--accent-bg); }
.icon-shield::before { content: ''; width: 16px; height: 18px; background: transparent; border: 2px solid var(--accent); border-radius: 2px 2px 8px 8px; clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%); }

/* Avatar placeholder (circle with initial) */
.avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; }
.avatar-1 { background: #dbeafe; color: #2563eb; }
.avatar-2 { background: #fce7f3; color: #db2777; }
.avatar-3 { background: #d1fae5; color: #059669; }
.avatar-4 { background: #fef3c7; color: #d97706; }
.avatar-5 { background: #ede9fe; color: #7c3aed; }
.avatar-6 { background: #ffe4e6; color: #e11d48; }
.avatar-7 { background: #ccfbf1; color: #0d9488; }
.avatar-8 { background: #fef9c3; color: #a16207; }

/* Rank badges */
.rank { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex-shrink: 0; font-family: var(--serif); }
.rank-1 { background: #fef3c7; color: #b45309; border: 2px solid #f59e0b; }
.rank-2 { background: #f1f5f9; color: #475569; border: 2px solid #94a3b8; }
.rank-3 { background: #fff7ed; color: #9a3412; border: 2px solid #ea580c; }
.rank-n { background: var(--bg-warm); color: var(--text-muted); border: 1px solid var(--border); }

/* Leaderboard */
.leaderboard { list-style: none; }
.leaderboard-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.leaderboard-item:last-child { border: none; }
.leaderboard-info { flex: 1; }
.leaderboard-name { font-size: 16px; font-weight: 600; color: var(--black); }
.leaderboard-meta { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.leaderboard-score { text-align: right; }
.leaderboard-count { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--accent); }
.leaderboard-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* Register form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-tabs { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.form-tab { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all .15s; }
.form-tab:hover { color: var(--text); }
.form-tab.active { color: var(--black); border-bottom-color: var(--black); }

/* ─── Mobile nav toggle ─── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; width: 32px; height: 32px; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px; position: absolute; left: 7px; transition: all .2s; }
.nav-toggle span { top: 15px; }
.nav-toggle::before { top: 9px; }
.nav-toggle::after { top: 21px; }
.nav-toggle.open span { opacity: 0; }
.nav-toggle.open::before { top: 15px; transform: rotate(45deg); }
.nav-toggle.open::after { top: 15px; transform: rotate(-45deg); }

/* ─── Responsive: Tablet ─── */
@media (max-width: 960px) {
  .section-wide { max-width: 100%; }
  .contribute-layout { grid-template-columns: 1fr; }
  .sidebar-panel { position: static; }
  .steps { gap: 16px; }
  .step { padding: 16px; }
  .api-block { font-size: 11px; padding: 16px; }
  .api-key-box { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ─── Responsive: Mobile ─── */
@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 16px; height: 56px; }
  .nav-brand { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 56px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 12px; z-index: 200; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 15px; padding: 8px 0; }
  .nav-cta { text-align: center; padding: 10px 18px !important; }

  /* Hero */
  .hero { padding: 48px 20px 32px; }
  .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
  .hero p { font-size: 15px; margin-bottom: 24px; }
  .hero-search { max-width: 100%; }
  .hero-search input { font-size: 14px; padding: 12px 16px 12px 40px; }
  .hero-sticky { top: 56px; padding: 12px 16px; }

  /* Sections */
  .section { padding: 32px 16px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; margin-bottom: 20px; }

  /* Stats */
  .stats-bar { gap: 16px; flex-wrap: wrap; padding: 20px 16px; justify-content: space-around; }
  .stat-value { font-size: 24px; }

  /* Grids → stack */
  .steps { grid-template-columns: 1fr; gap: 8px; }
  .step { padding: 16px 8px; }
  .lang-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid { grid-template-columns: 1fr; }

  /* Results */
  .result-card { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0; }
  .result-meta { flex-wrap: wrap; }

  /* Contribute */
  .contribute-layout { padding: 16px; gap: 16px; }
  .validation-card { padding: 18px; }
  .translation-pair { flex-direction: column; gap: 8px; padding: 14px; }
  .translation-pair .arrow { transform: rotate(90deg); }
  .validation-actions { flex-wrap: wrap; }

  /* Forms */
  .edit-field { font-size: 16px; } /* prevent zoom on iOS */

  /* Leaderboard */
  .leaderboard-item { gap: 10px; }
  .leaderboard-count { font-size: 20px; }
  .leaderboard-name { font-size: 14px; }

  /* Buttons */
  .btn { padding: 8px 16px; font-size: 13px; }

  /* Upload controls */
  .upload-controls { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer { padding: 28px 16px; }

  /* Domain pills */
  .domain-list { gap: 6px; }
  .domain-pill { padding: 6px 12px; font-size: 12px; }
}

/* ─── Responsive: Small mobile ─── */
@media (max-width: 400px) {
  .hero h1 { font-size: 24px; }
  .lang-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 20px; }
  .pricing-price { font-size: 28px; }
  .leaderboard-item { flex-wrap: wrap; }
}
