/* Yusuf — ink & sand landing system (v3 tokens synced with brand/brand.md) */

:root {
  --ink-900: #0B0F1E;
  --ink-800: #141A2E;
  --ink-700: #1F2740;
  --ink-100: #F3EFE6;
  --ink-200: #A9A4B8;

  --sand-600: #C99A45;
  --sand-500: #E7C27D;
  --sand-400: #F0D8A6;
  --sand-300: #FBE6B2;

  --day-bg: #FAF7EE;
  --day-card: #FFFFFF;
  --day-ink: #1B1A35;
  --day-muted: #716982;

  --radius: 22px;
  --radius-lg: 32px;
  --font-ui: "Cairo", "Inter", system-ui, sans-serif;
  --font-display: "Cairo", "Inter", system-ui, sans-serif;
  --font-serif: "Amiri", "Times New Roman", serif;

  --shadow-soft: 0 20px 60px rgba(7, 10, 24, 0.18);
  --shadow-hover: 0 28px 70px rgba(7, 10, 24, 0.32);

  --ease: cubic-bezier(.22, .8, .28, 1);
}

[data-theme="day"] {
  --bg: var(--day-bg);
  --bg-card: var(--day-card);
  --text: var(--day-ink);
  --text-muted: var(--day-muted);
  --border: rgba(91, 84, 106, 0.18);
  --accent: var(--sand-600);
  --accent-bright: var(--sand-500);
}
[data-theme="night"] {
  --bg: var(--ink-900);
  --bg-card: var(--ink-800);
  --text: var(--ink-100);
  --text-muted: var(--ink-200);
  --border: var(--ink-700);
  --accent: var(--sand-500);
  --accent-bright: var(--sand-400);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}

/* background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(212, 166, 86, 0.18), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(181, 140, 63, 0.10), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .35;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, rgba(255,255,255,.5), transparent),
    radial-gradient(1px 1px at 28% 62%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.4px 1.4px at 55% 22%, rgba(255,255,255,.3), transparent),
    radial-gradient(1px 1px at 72% 48%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.2px 1.2px at 88% 14%, rgba(255,255,255,.28), transparent),
    radial-gradient(1px 1px at 41% 85%, rgba(255,255,255,.32), transparent);
}
[data-theme="day"] body::after { opacity: .18; }

/* layout */
.wrap {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, var(--bg) 75%, transparent);
  backdrop-filter: blur(14px);
}
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 20px; height: 20px; }
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sand-400), var(--sand-600));
  display: grid;
  place-items: center;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(212, 166, 86, 0.25);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: .75rem;
  color: var(--text-muted);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: .94rem;
  text-decoration: none;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.lang-switch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch a {
  padding: .35rem .75rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.lang-switch a.active {
  background: var(--accent);
  color: var(--ink-900);
}
.theme-toggle {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  border-radius: 999px;
  padding: .35rem .75rem;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  padding: .9rem 1.5rem;
  font: inherit;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--ink-900);
  box-shadow: 0 14px 32px rgba(212, 166, 86, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-link {
  color: var(--accent-bright);
  font-weight: 700;
  text-decoration: none;
}
.btn-link:hover { color: var(--text); }

/* hero */
.hero {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.15fr .85fr; }
}
.eyebrow {
  color: var(--accent-bright);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: .84rem;
  margin: 0 0 .9rem;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.04;
  margin: 0 0 1rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, var(--text) 25%, var(--accent-bright) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  color: var(--text-muted);
  font-size: 1.12rem;
  max-width: 36rem;
  margin: 0 0 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.5rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 600;
}
.chip::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

/* hero art */
.hero-art {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 340px;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(212, 166, 86, 0.25);
  animation: spin 30s linear infinite;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(181, 140, 63, 0.22);
  animation: spin 44s linear infinite reverse;
}
.hero-art .lockup {
  position: relative;
  z-index: 1;
  width: min(420px, 92%);
}
.hero-art .hero-icon {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  height: auto;
  aspect-ratio: 1;
  border-radius: 28%;
  box-shadow:
    0 24px 60px rgba(7, 10, 24, 0.45),
    0 0 0 1px rgba(231, 194, 125, 0.28);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-art { animation: float 7s ease-in-out infinite; }

/* sections */
.section {
  padding: 4.2rem 0;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  margin: 0 0 .55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section .sub {
  color: var(--text-muted);
  margin: 0 0 2.1rem;
  max-width: 38rem;
  font-size: 1.05rem;
}
.section-head {
  margin-bottom: 2rem;
}
.section-head .eyebrow {
  margin-bottom: .45rem;
}
.split {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
}
.source-list {
  display: grid;
  gap: .9rem;
}
.source {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.source h3 {
  margin: 0 0 .3rem;
  font-size: 1.08rem;
}
.source p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}
.sample {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow-soft);
}
.sample .label {
  color: var(--accent-bright);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 .85rem;
}
.sample blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  line-height: 1.85;
  color: var(--text);
}
.sample .caption {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  gap: 1.6rem;
  padding-bottom: 1.4rem;
}
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand {
  font-weight: 800;
  color: var(--text);
  margin-bottom: .35rem;
}
.footer-col h4 {
  margin: 0 0 .7rem;
  color: var(--text);
  font-size: .92rem;
}
.footer-col a {
  display: block;
  margin-bottom: .4rem;
}

/* cards */
.grid-3 { display: grid; gap: 1.1rem; }
.grid-2 { display: grid; gap: 1.1rem; }
@media (min-width: 800px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform .25s var(--ease), border-color .2s ease, box-shadow .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}
.card h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .97rem; }

.icon-dot {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: rgba(212, 166, 86, 0.14);
  border: 1px solid rgba(212, 166, 86, 0.32);
  color: var(--accent-bright);
  font-weight: 800;
}

/* steps */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.1rem;
  padding: 1.3rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(212, 166, 86, 0.14);
  border: 1px solid rgba(212, 166, 86, 0.32);
  color: var(--accent-bright);
  font-weight: 800;
  font-size: 1.1rem;
}
.step h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* TOC + prose (legal pages) */
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.1rem 0 0;
}
.toc a {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .3rem .7rem;
  background: var(--bg-card);
  text-decoration: none;
}
.toc a:hover { color: var(--text); border-color: var(--accent); }

.prose {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 860px;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
}
.prose h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin-top: 0;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.prose h3 { font-size: 1.05rem; color: var(--accent-bright); margin-top: 1.2rem; }
.prose p, .prose li { color: var(--text-muted); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .86em;
  background: rgba(255, 255, 255, 0.06);
  padding: .1rem .4rem;
  border-radius: 6px;
  color: var(--accent-bright);
}
[data-theme="day"] .prose code { background: rgba(0, 0, 0, 0.05); }
.meta {
  color: var(--accent-bright);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.callout {
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--accent);
  background: rgba(212, 166, 86, 0.10);
  color: var(--text);
}

/* FAQ */
.faq {
  display: grid;
  gap: .85rem;
}
@media (min-width: 860px) {
  .faq { grid-template-columns: 1fr 1fr; align-items: start; }
}
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--accent); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent-bright);
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-muted); margin: .7rem 0 0; }

/* press kit swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .85rem;
}
.swatch {
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.swatch .chip-color {
  height: 64px;
  border-radius: 12px;
  margin-bottom: .7rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.swatch code {
  font-size: .78rem;
  color: var(--text-muted);
}

/* download CTA */
.cta-banner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.cta-banner h2 { font-family: var(--font-display); }

/* footer */
.footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding: 1.7rem 0 2.4rem;
  color: var(--text-muted);
  font-size: .9rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Google Play badge */
.play-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem 1rem;
  border-radius: 12px;
  background: linear-gradient(180deg, #0f1220 0%, #050612 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  min-height: 54px;
}
.play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.play-badge svg { width: 24px; height: 24px; flex: none; }
.play-badge .lbl {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: start;
}
.play-badge .lbl small {
  font-size: .68rem;
  opacity: 0.72;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.play-badge .lbl b {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: -0.01em;
}

/* language switching — never use inline display:none on the opposite language */
[data-lang-only] { display: none !important; }
[data-lang="ar"] [data-lang-only="ar"] { display: revert !important; }
[data-lang="en"] [data-lang-only="en"] { display: revert !important; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0 0 2.5rem;
}
.stat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.stat span {
  display: block;
  margin-top: .35rem;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
}
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .92rem;
  background: color-mix(in srgb, var(--bg-card) 80%, transparent);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    top: calc(100% - 4px);
    flex-direction: column;
    align-items: stretch;
    gap: .25rem;
    padding: 1rem 1rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    z-index: 40;
    margin-inline: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links > a {
    padding: .7rem .8rem;
    border-radius: 12px;
  }
  .nav-links > a:hover { background: rgba(212, 166, 86, 0.08); }
  .nav-links > .btn-primary {
    text-align: center;
    justify-content: center;
    margin-top: .5rem;
  }
  .nav-links > .lang-switch { align-self: flex-start; }
  .nav { position: sticky; }
}

@media (max-width: 720px) {
  .hero { padding-top: 1rem; }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 3.4rem); }
  .hero-art { min-height: 220px; }
  .prose { padding: 1.4rem; }
  .step { grid-template-columns: 44px 1fr; padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art,
  .hero-art::before,
  .hero-art::after,
  .card,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ── Blog / Magazine ── */
.blog-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  letter-spacing: -0.02em;
}
.blog-hero .lede {
  max-width: 42rem;
  margin-inline: auto;
  color: var(--text-muted);
}
.blog-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: 1.5rem 0 2rem;
}
.blog-category-nav button {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  padding: .45rem .95rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.blog-category-nav button:hover,
.blog-category-nav button.active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(212, 166, 86, 0.1);
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 860px) {
  .blog-featured { grid-template-columns: 1fr; }
}
.blog-featured-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
}
.blog-featured-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
}
.blog-featured-main .overlay {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(11, 15, 30, .92) 55%);
}
.blog-featured-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: .5rem 0;
  line-height: 1.25;
}
.blog-featured-side {
  display: grid;
  gap: 1rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink-800);
}
.blog-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card .chip {
  align-self: flex-start;
  margin-bottom: .5rem;
}
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 .45rem;
  line-height: 1.35;
}
.blog-card p {
  color: var(--text-muted);
  font-size: .88rem;
  margin: 0 0 .75rem;
  flex: 1;
  line-height: 1.55;
}
.blog-card-meta {
  display: flex;
  gap: .75rem;
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 600;
}
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}
.blog-pagination button {
  appearance: none;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
}
.blog-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.blog-pagination button.active {
  border-color: var(--accent);
  background: rgba(212, 166, 86, 0.15);
}
.blog-loading,
.blog-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 3rem 1rem;
}
.blog-post {
  max-width: 46rem;
  margin: 0 auto 3rem;
}
.blog-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}
.blog-back a:hover { color: var(--accent-bright); }
.blog-post-cats { margin: .75rem 0; }
.blog-post-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .75rem;
  letter-spacing: -0.02em;
}
.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.blog-post-hero {
  margin: 0 0 1.75rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-post-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.blog-post-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 .75rem;
  color: var(--accent-bright);
}
.blog-post-body h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 .6rem;
}
.blog-post-body p {
  margin: 0 0 1rem;
  line-height: 1.85;
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 1rem;
  padding-inline-start: 1.35rem;
  color: var(--text-muted);
}
.blog-post-body li { margin-bottom: .45rem; line-height: 1.7; }
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.5rem 0;
}
.blog-post-tags .tag {
  font-size: .78rem;
  padding: .3rem .65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.blog-post-cta { margin-top: 2rem; }
.blog-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-related h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}
.blog-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-related li { margin-bottom: .5rem; }
.blog-related a {
  color: var(--accent-bright);
  text-decoration: none;
  font-weight: 600;
}
.blog-related a:hover { text-decoration: underline; }
