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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --primary: #f54e00;
  --primary-active: #d04200;
  --ink: #26251e;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --on-primary: #ffffff;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --success: #1f8a65;
  --error: #cf2d56;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-pill: 9999px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--canvas);
  color: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TOP NAV ── */
.top-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.top-nav__wordmark {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.top-nav__wordmark span { color: var(--primary); }
.top-nav__menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.top-nav__menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  line-height: 1.4;
  transition: color 0.15s;
}
.top-nav__menu a:hover { color: var(--ink); }
.top-nav__menu a.active { color: var(--ink); }
.top-nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.top-nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 24px;
  z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.mobile-menu ul a { font-size: 15px; font-weight: 500; color: var(--ink); display: block; padding: 4px 0; }

/* ── HERO BAND ── */
.hero-band {
  background: var(--canvas);
  padding: 80px 0 64px;
}
.hero-band__eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  margin-bottom: 24px;
}
.hero-band__h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2.16px;
  color: var(--ink);
  max-width: 780px;
  margin-bottom: 20px;
}
.hero-band__lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--body);
  max-width: 540px;
  line-height: 1.5;
  margin-bottom: 40px;
}
.hero-band__image {
  margin-top: 48px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  overflow: hidden;
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ── ARTICLE CARDS GRID ── */
.articles-section { padding: 80px 0; }
.articles-section__header { margin-bottom: 40px; }
.articles-section__title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  line-height: 1.2;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--hairline-strong); }
.article-card__image { width: 100%; height: 200px; object-fit: cover; }
.article-card__body { padding: 24px; }
.article-card__tag {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--rounded-pill);
  margin-bottom: 12px;
}
.article-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}
.article-card__excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 20px;
}
.article-card__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-card__link:hover { color: var(--primary-active); }
.article-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-soft);
}

/* ── INFO BAND ── */
.info-band {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 80px 0;
}
.info-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.info-band__content h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}
.info-band__content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 16px;
}
.info-band__image {
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ── TOPICS SECTION ── */
.topics-section { padding: 80px 0; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.topic-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
}
.topic-card__icon { font-size: 24px; margin-bottom: 16px; }
.topic-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.topic-card__text { font-size: 14px; color: var(--body); line-height: 1.5; }

/* ── CONTACT FORM SECTION ── */
.contact-section { padding: 80px 0; background: var(--surface-card); border-top: 1px solid var(--hairline); }
.contact-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1.2;
}
.contact-info p { font-size: 16px; color: var(--body); line-height: 1.5; margin-bottom: 12px; }
.contact-info__detail { font-size: 14px; color: var(--muted); margin-top: 24px; }
.contact-info__detail a { color: var(--primary); }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--rounded-md);
  padding: 12px 16px;
  height: 44px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-soft); }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }
.form-group textarea { height: 120px; resize: vertical; }
.form-error { font-size: 13px; color: var(--error); margin-top: 4px; display: none; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  display: none;
}
.form-feedback.success {
  background: #e8f5f0;
  color: var(--success);
  border: 1px solid #b8e0d4;
  display: block;
}
.form-feedback.loading {
  background: var(--surface-strong);
  color: var(--muted);
  border: 1px solid var(--hairline);
  display: block;
}

/* ── ARTICLE PAGE ── */
.article-page { padding: 64px 0 80px; }
.article-page__header { max-width: 760px; margin-bottom: 40px; }
.article-page__tag {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  margin-bottom: 20px;
}
.article-page__h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
}
.article-page__meta { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.article-page__image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  margin-bottom: 48px;
}
.article-content { max-width: 760px; }
.article-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 24px; }
.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  line-height: 1.25;
  margin: 40px 0 16px;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin: 32px 0 12px;
}
.article-content ul,
.article-content ol { padding-left: 24px; margin-bottom: 24px; }
.article-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 8px; }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--primary-active); }
.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--surface-card);
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
}
.article-content blockquote p { color: var(--ink); font-style: italic; margin-bottom: 0; }
.article-content .note-box {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  margin: 32px 0;
}
.article-content .note-box p { margin-bottom: 0; }
.article-content .sources {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  margin-top: 48px;
}
.article-content .sources h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.article-content .sources ul { padding-left: 0; list-style: none; }
.article-content .sources li { font-size: 14px; margin-bottom: 6px; }

.article-related { padding: 64px 0; border-top: 1px solid var(--hairline); }
.article-related__title {
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.325px;
  margin-bottom: 32px;
}
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 16px 0; border-bottom: 1px solid var(--hairline-soft); margin-bottom: 0; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb__list li { font-size: 13px; color: var(--muted); }
.breadcrumb__list li a { color: var(--muted); }
.breadcrumb__list li a:hover { color: var(--ink); }
.breadcrumb__list li::after { content: '/'; margin-left: 8px; color: var(--muted-soft); }
.breadcrumb__list li:last-child::after { display: none; }
.breadcrumb__list li:last-child { color: var(--body-strong); }

/* ── STATIC PAGES (about, privacy, terms) ── */
.static-page { padding: 64px 0 80px; }
.static-page__header { max-width: 760px; margin-bottom: 48px; }
.static-page__h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 12px;
}
.static-page__updated { font-size: 13px; color: var(--muted); }
.static-content { max-width: 760px; }
.static-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  line-height: 1.25;
  margin: 40px 0 16px;
}
.static-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}
.static-content p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 20px; }
.static-content ul, .static-content ol { padding-left: 24px; margin-bottom: 20px; }
.static-content li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: 6px; }
.static-content a { color: var(--primary); }

/* ── FOOTER ── */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer__brand-name span { color: var(--primary); }
.footer__brand-desc { font-size: 14px; color: var(--body); line-height: 1.6; max-width: 280px; }
.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 14px; color: var(--body); transition: color 0.15s; }
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--hairline-soft);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__copyright { font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 13px; color: var(--muted); }
.footer__legal a:hover { color: var(--ink); }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  padding: 20px 24px;
  z-index: 999;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text { font-size: 14px; line-height: 1.5; color: var(--canvas); flex: 1; }
.cookie-banner__text a { color: var(--primary); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-cookie-accept:hover { background: var(--primary-active); }
.btn-cookie-reject {
  background: transparent;
  color: var(--muted-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  border: 1px solid #4a4940;
  cursor: pointer;
  font-family: inherit;
}
.btn-cookie-reject:hover { color: var(--canvas); }

/* ── DISCLAIMER ── */
.disclaimer-band {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-soft);
  padding: 20px 0;
}
.disclaimer-band p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-band__h1 { font-size: 56px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .info-band__inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-section__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .top-nav__menu { display: none; }
  .top-nav__hamburger { display: flex; }
  .hero-band { padding: 48px 0 40px; }
  .hero-band__h1 { font-size: 36px; letter-spacing: -0.8px; }
  .articles-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .article-page__h1 { font-size: 32px; }
  .static-page__h1 { font-size: 32px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner__inner { flex-direction: column; }
  .cookie-banner__actions { width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-band__h1 { font-size: 28px; }
  .article-page__image { height: 220px; }
}
