@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #0a0a0a;
  --card: #131313;
  --fg: #f3f3ef;
  --muted: #a6a6a6;
  --muted-2: #6b6b68;
  --primary: #f5c400;
  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-header .logo img { height: 26px; width: auto; }
@media (min-width: 768px) { .site-header .logo img { height: 30px; } }
.site-header nav { display: none; gap: 24px; }
@media (min-width: 1024px) { .site-header nav { display: flex; } }
.site-header nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.site-header nav a:hover { color: var(--fg); }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #0a0a0a; font-weight: 600; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
}
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--fg);
  background: transparent; cursor: pointer; font-family: 'Inter', sans-serif;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }

/* breadcrumb */
.breadcrumb { font-size: 13px; color: var(--muted-2); margin: 32px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }

/* article */
.tag {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 5px 14px; font-size: 12px; font-weight: 500; color: var(--primary);
}
.article-header { padding: 28px 0 40px; max-width: 46rem; }
.article-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 20px 0 0;
}
.article-meta { margin-top: 18px; font-size: 13px; color: var(--muted-2); }

.prose { max-width: 42rem; padding-bottom: 72px; }
.prose p { font-size: 1.05rem; color: #d4d4d0; margin: 0 0 20px; }
.prose h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 40px 0 14px;
  color: var(--fg);
}
.prose ul { margin: 0 0 20px; padding-left: 20px; color: #d4d4d0; }
.prose li { margin-bottom: 8px; font-size: 1.02rem; }

.cta-box {
  margin-top: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: 28px;
  background: var(--card);
}
.cta-box h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; margin: 0 0 8px; }
.cta-box p { color: var(--muted); margin: 0 0 18px; font-size: .95rem; }

/* listing */
.list-hero { padding: 56px 0 24px; max-width: 46rem; }
.list-hero .eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--primary);
}
.list-hero .eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--primary); }
.list-hero h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.list-hero p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 38rem; }

.card-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  margin: 44px 0 80px;
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line-strong); border-radius: 16px;
  padding: 24px; background: var(--bg);
  transition: border-color .2s;
  min-height: 190px;
}
.card:hover { border-color: var(--primary); }
.card .top { display: flex; align-items: center; justify-content: space-between; }
.card h3 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 1.25rem; line-height: 1.35; letter-spacing: -0.01em;
  margin: 32px 0 0;
}
.card .arrow { color: var(--muted-2); transition: color .2s, transform .2s; }
.card:hover .arrow { color: var(--primary); transform: translate(2px,-2px); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; margin-top: 40px; }
.site-footer .row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.site-footer p { font-size: 13px; color: var(--muted-2); margin: 0; }
.site-footer a { font-size: 13px; color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary);
  margin-top: 40px;
}
