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

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

:root {
  --primary: #0a0a0a;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --body-strong: #1a1a1a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --on-primary: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
}

body { font-family: 'Inter', sans-serif; background: var(--canvas); color: var(--body); font-size: 16px; line-height: 1.55; }

a { color: var(--ink); text-decoration: underline; }
a:hover { opacity: 0.75; }

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

.top-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: background 0.15s;
}
.nav-links a:hover { background: var(--surface-card); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

.hero-band {
  padding: 96px 24px;
  background: var(--canvas);
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-text p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
  margin-bottom: 32px;
}
.hero-img {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.badge-pill {
  display: inline-block;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.section { padding: 96px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  border-radius: var(--r-xl);
  padding: 32px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.55;
}
.feature-card.pink { background: var(--brand-pink); color: #fff; }
.feature-card.teal { background: var(--brand-teal); color: #fff; }
.feature-card.lavender { background: var(--brand-lavender); color: var(--ink); }
.feature-card.peach { background: var(--brand-peach); color: var(--ink); }
.feature-card.ochre { background: var(--brand-ochre); color: var(--ink); }
.feature-card.cream { background: var(--surface-card); color: var(--ink); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-soft);
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}
.article-card-body p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 16px;
  line-height: 1.55;
}
.article-card-body a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.cta-band {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  padding: 80px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 96px;
}
.cta-band h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto;
}

.site-footer {
  background: var(--surface-soft);
  padding: 80px 24px 40px;
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-col p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.footer-bottom p { font-size: 13px; color: var(--muted-soft); margin-bottom: 4px; }
.footer-disclaimer { font-size: 12px; color: var(--muted-soft); }

.page-hero {
  background: var(--canvas);
  padding: 64px 24px 48px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}
.article-body h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
  margin: 48px 0 16px;
}
.article-body h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}
.article-body li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 8px;
}
.article-body .info-box {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 32px 0;
}
.article-body .info-box h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.article-body .info-box p { margin-bottom: 0; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-body table th {
  background: var(--surface-card);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--hairline);
}
.article-body table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  color: var(--body);
}
.article-meta {
  font-size: 13px;
  color: var(--muted-soft);
  margin-bottom: 32px;
}
.article-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 32px 0;
}
.article-img img { width: 100%; }

.contact-form {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  height: 44px;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 20px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: #1f1f1f; }
.form-success {
  display: none;
  background: var(--brand-mint);
  border-radius: var(--r-md);
  padding: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark, #0a1a1a);
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  font-size: 14px;
}
.cookie-banner p { flex: 1; }
.cookie-banner a { color: #a4d4c5; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-cookie-accept {
  background: #fff;
  color: #0a0a0a;
  border: none;
  border-radius: var(--r-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: #a0a0a0;
  border: 1px solid #a0a0a0;
  border-radius: var(--r-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

.related-articles { margin-top: 64px; border-top: 1px solid var(--hairline); padding-top: 48px; }
.related-articles h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: 24px;
}
.related-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.related-card p { font-size: 14px; color: var(--body); margin-bottom: 12px; }
.related-card a { font-size: 14px; font-weight: 600; color: var(--ink); }

@media (max-width: 1024px) {
  .hero-band { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 40px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-band { padding: 48px 16px; }
  .hero-text h1 { font-size: 32px; }
  .section { padding: 64px 16px; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 28px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); padding: 16px; border-bottom: 1px solid var(--hairline); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-container { position: relative; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
}
