@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;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --ink: #26251e;
  --body: #5a5852;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --on-primary: #ffffff;
  --success: #1f8a65;
  --error: #cf2d56;
}

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: var(--ink); text-decoration: none; }
a:hover { color: var(--primary); }

img { max-width: 100%; height: auto; display: block; }

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

/* TOP NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.nav-brand span { color: var(--primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* HERO */
.hero {
  padding: 80px 0 80px;
  background: var(--canvas);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  max-width: 440px;
}
.hero-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.hero-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* SECTION DIVIDER */
.section-divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }

/* ARTICLES SECTION */
.articles-section { padding: 80px 0; }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 48px;
  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: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--hairline-strong); }
.article-card-img { height: 200px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  border-radius: 9999px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.35;
}
.article-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 16px;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
}
.read-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}
.read-link:hover { color: var(--primary-active); }

/* FEATURES / INFO BAND */
.info-band {
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 80px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.info-item h3 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  margin-bottom: 10px;
}
.info-item p { font-size: 15px; color: var(--body); line-height: 1.6; }

/* CONTACT FORM */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-intro h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-intro p { font-size: 15px; color: var(--body); line-height: 1.6; }
.contact-details { margin-top: 32px; }
.contact-details p { font-size: 14px; color: var(--body); margin-bottom: 8px; }

.contact-form {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  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: 8px;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  height: 44px;
  transition: border-color 0.15s;
  outline: none;
}
.form-group textarea { height: 110px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-soft); }

.btn-submit {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
}
.btn-submit:hover { background: var(--primary-active); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  display: none;
  margin-top: 14px;
  font-size: 14px;
  color: var(--success);
  padding: 12px 16px;
  background: #f0faf6;
  border-radius: 8px;
  border: 1px solid #b6dece;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--body);
  margin-top: 10px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--body); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--body); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  padding: 18px 24px;
  z-index: 999;
  display: none;
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 14px; color: var(--canvas-soft); line-height: 1.5; flex: 1; }
.cookie-inner p a { color: var(--canvas); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: var(--canvas-soft);
  border: 1px solid var(--muted);
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
}

/* ARTICLE PAGE */
.article-hero {
  padding: 64px 0 0;
  border-bottom: 1px solid var(--hairline);
}
.article-hero-img {
  margin-top: 40px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-bottom: none;
}
.article-hero-img img { width: 100%; height: 420px; object-fit: cover; }
.article-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb a:hover { color: var(--body); }
.article-header h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
}
.article-header-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-body {
  padding: 64px 0;
}
.article-content {
  max-width: 720px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 48px 0 16px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}
.article-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 8px;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
}
.article-content blockquote {
  border-left: 3px solid var(--hairline-strong);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--canvas-soft);
  border-radius: 0 8px 8px 0;
}
.article-content blockquote p { color: var(--muted); font-style: italic; margin: 0; }
.info-box {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}
.info-box h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.info-box p { font-size: 14px; color: var(--body); line-height: 1.6; margin: 0; }
.article-updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

/* PAGE (about/privacy/terms) */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }
.page-hero h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 12px;
}
.page-hero p { font-size: 16px; color: var(--body); max-width: 560px; }
.page-body { padding: 64px 0; }
.page-content { max-width: 720px; }
.page-content h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  margin: 40px 0 14px;
}
.page-content h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}
.page-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}
.page-content ul {
  margin: 0 0 18px 22px;
}
.page-content li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 6px;
}
.page-content a { color: var(--primary); }
.page-updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  padding: 12px 0;
}
.disclaimer-bar p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 34px; letter-spacing: -0.8px; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .site-nav { position: relative; }
  .section-title { font-size: 28px; }
  .article-header h1 { font-size: 30px; }
  .page-hero h1 { font-size: 30px; }
}
@media (max-width: 640px) {
  .hero { padding: 48px 0; }
  .articles-section { padding: 48px 0; }
  .info-band { padding: 48px 0; }
  .contact-section { padding: 48px 0; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
