*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --primary-disabled: #e5e5e5;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --body-strong: #1a1a1a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --hairline-soft: #f0f0f0;
  --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;
  --brand-coral: #ff6b5a;
  --success: #22c55e;
  --error: #ef4444;
  --rounded-xs: 6px;
  --rounded-sm: 8px;
  --rounded-md: 12px;
  --rounded-lg: 16px;
  --rounded-xl: 24px;
  --rounded-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--canvas);
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.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;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}

.logo-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.logo-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--rounded-pill);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}

.nav-link:hover { color: var(--ink); background: var(--surface-card); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

/* HERO */
.hero-band {
  background: var(--canvas);
  padding: 96px 24px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: center;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-illustration {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTIONS */
.section { padding: 96px 24px; }
.section-soft { background: var(--surface-soft); }
.section-strong { background: var(--surface-strong); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 48px;
}

/* FEATURE CARDS GRID */
.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--rounded-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card-pink { background: var(--brand-pink); color: var(--on-primary); }
.feature-card-teal { background: var(--brand-teal); color: var(--on-primary); }
.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); }

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.85;
}

.feature-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-top: auto;
}

/* ARTICLE CARDS */
.article-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.article-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.08); text-decoration: none; }

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-card);
}

.article-card-img img { width: 100%; height: 100%; object-fit: cover; }

.article-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }

.article-card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  flex: 1;
}

.article-card-date {
  font-size: 13px;
  color: var(--muted-soft);
  font-weight: 500;
}

/* INFO BAND */
.info-band {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.info-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

.info-text {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 16px;
}

/* FACTS */
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fact-item {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.fact-number {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  min-width: 40px;
  letter-spacing: -0.5px;
}

.fact-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
}

/* CTA BAND */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 80px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.cta-band h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 16px;
  color: var(--body);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  text-decoration: none;
}

.btn-primary:hover { background: var(--primary-active); text-decoration: none; }

.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
  text-decoration: none;
}

.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb span { color: var(--muted-soft); }

/* ARTICLE PAGE */
.article-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.article-main {}

.article-header { margin-bottom: 40px; }

.article-category {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.article-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.article-meta {
  font-size: 13px;
  color: var(--muted-soft);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--rounded-lg);
  margin-bottom: 40px;
}

.article-content { font-size: 16px; color: var(--body); line-height: 1.7; }

.article-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--body-strong);
  margin: 28px 0 12px;
}

.article-content p { margin-bottom: 20px; }

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li { margin-bottom: 8px; }

.article-content .info-box {
  background: var(--surface-card);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.article-content .info-box strong { color: var(--ink); }

.article-sidebar {}

.sidebar-card {
  background: var(--surface-card);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--ink);
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
}

.sidebar-list { list-style: none; }
.sidebar-list li { padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; color: var(--body); }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list li strong { color: var(--ink); }
.sidebar-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.sidebar-list a:hover { text-decoration: underline; }

/* FORM */
.contact-form {
  max-width: 640px;
}

.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);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  padding: 12px 16px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  transition: border-color 0.15s;
  outline: none;
}

.form-group textarea { height: auto; min-height: 120px; resize: vertical; }

.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }

.form-error { font-size: 13px; color: var(--error); margin-top: 4px; display: none; }
.form-error.visible { display: block; }

.form-success {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--ink);
  display: none;
  margin-top: 20px;
}

.form-success.visible { display: block; }

/* PAGE CONTENT */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px;
}

.page-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-updated {
  font-size: 13px;
  color: var(--muted-soft);
  margin-bottom: 40px;
}

.page-body h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 40px 0 16px;
}

.page-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--body-strong);
  margin: 28px 0 12px;
}

.page-body p { margin-bottom: 16px; font-size: 16px; color: var(--body); line-height: 1.7; }
.page-body ul, .page-body ol { padding-left: 24px; margin-bottom: 16px; }
.page-body li { margin-bottom: 8px; font-size: 16px; color: var(--body); }

/* FOOTER */
.site-footer {
  background: var(--surface-soft);
  padding: 80px 24px 40px;
  margin-top: 0;
}

.footer-container { max-width: 1280px; margin: 0 auto; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }
.footer-links li { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

.footer-bottom { 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); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-inner p { font-size: 14px; color: var(--body); flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--ink); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 8px; }

/* BADGE */
.badge-pill {
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--rounded-pill);
  display: inline-block;
}

/* TAGS */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* LOADING */
.btn-loading { opacity: 0.6; pointer-events: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-page { grid-template-columns: 1fr; }
  .article-sidebar { order: -1; }
}

@media (max-width: 768px) {
  .hero-band { padding: 64px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-subtitle { font-size: 16px; }
  .section { padding: 64px 24px; }
  .section-title { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .info-band { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-menu { 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: 4px; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .top-nav { position: relative; }
  .cta-band { padding: 48px 24px; border-radius: var(--rounded-lg); }
  .cta-band h2 { font-size: 28px; }
  .article-title { font-size: 28px; }
  .page-title { font-size: 28px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}
