@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;
  --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;
  --surface-dark: #0a1a1a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --success: #22c55e;
  --warning: #f59e0b;
  --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-color: var(--canvas);
  color: var(--body);
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--primary-active); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* TOP NAV */
.top-nav {
  background: var(--canvas);
  height: 64px;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.4;
}
.nav-links a:hover { color: var(--muted); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: 16px 32px;
  gap: 16px;
}
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-menu.open { display: flex; }

/* HERO BAND */
.hero-band {
  background: var(--canvas);
  padding: 96px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.hero-content {}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-image-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  overflow: hidden;
}
.hero-image-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* BADGE PILL */
.badge-pill {
  display: inline-block;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 4px 12px;
  border-radius: var(--rounded-pill);
}

/* SECTIONS */
.section { padding: 96px 0; }
.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-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 48px;
}

/* FEATURE CARDS GRID */
.feature-grid {
  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: 12px;
}
.feature-card-pink { background: var(--brand-pink); color: var(--on-primary); }
.feature-card-teal { background: var(--brand-teal); color: var(--on-dark); }
.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-bottom: 8px;
}

/* ARTICLES GRID */
.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(--rounded-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.article-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.article-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  flex: 1;
}
.article-card a.read-more {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
}
.article-card a.read-more:hover { text-decoration: underline; }

/* ARTICLE PAGE */
.article-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--rounded-xl);
  margin-bottom: 48px;
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}
.article-content h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-content .article-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.article-content h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
}
.article-content h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin: 28px 0 12px;
}
.article-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
}
.article-content li { margin-bottom: 6px; }
.article-content a { color: var(--ink); }
.article-content figure {
  margin: 32px 0;
  border-radius: var(--rounded-lg);
  overflow: hidden;
}
.article-content figure img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.article-content figcaption {
  font-size: 13px;
  color: var(--muted-soft);
  padding: 10px 0 0;
}
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--surface-card);
  border-radius: var(--rounded-lg);
  padding: 24px;
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.sidebar-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.sidebar-card ul li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.sidebar-card ul li a:hover { text-decoration: underline; }

/* CONTACT FORM */
.form-section {
  background: var(--surface-soft);
  border-radius: var(--rounded-xl);
  padding: 80px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}
.form-desc {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--ink);
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--ink); }
.form-field textarea { height: auto; resize: vertical; min-height: 100px; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--ink); }

/* DIVIDER */
.divider { height: 1px; background: var(--hairline); margin: 0; border: none; }

/* PAGE HERO (inner pages) */
.page-hero {
  background: var(--surface-soft);
  padding: 64px 0;
  border-bottom: 1px solid var(--hairline);
}
.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 580px;
}

/* PROSE (about, privacy, terms) */
.prose { max-width: 760px; }
.prose h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 14px;
}
.prose h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 10px;
}
.prose p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; font-size: 16px; line-height: 1.7; color: var(--body); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 700px;
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--rounded-xl);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
#cookie-banner p { font-size: 14px; line-height: 1.55; flex: 1; color: rgba(255,255,255,0.85); }
#cookie-banner a { color: #fff; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--on-primary);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
}
.btn-cookie-accept:hover { opacity: 0.9; }
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* FOOTER */
.site-footer {
  background: var(--surface-soft);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }
.footer-bottom a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink); }

/* BREADCRUMB */
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 0; display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--muted-soft); }

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-card);
  border-radius: var(--rounded-md);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  border: 1px solid var(--hairline);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-title { font-size: 56px; letter-spacing: -2px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-card { display: none; }
  .hero-band { padding: 64px 0; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-section { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .page-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .article-content h1 { font-size: 32px; letter-spacing: -0.5px; }
  .article-hero-img { height: 240px; }
  #cookie-banner { flex-direction: column; padding: 24px; }
  .cookie-actions { flex-direction: row; width: 100%; }
  .btn-cookie-accept, .btn-cookie-reject { flex: 1; text-align: center; }
}
