@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;
  --surface-dark-elevated: #1a2a2a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --on-dark-soft: #a0a0a0;
  --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 {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--canvas);
  color: var(--body);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 400;
}

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 24px;
}

/* TOP NAV */
.top-nav {
  background-color: 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-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span {
  color: var(--brand-teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--rounded-pill);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background-color: var(--surface-card);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero-band {
  background-color: var(--canvas);
  padding: 96px 0;
}

.hero-band .container {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-img-card {
  background-color: var(--surface-soft);
  border-radius: var(--rounded-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: 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);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover {
  background-color: var(--primary-active);
  color: var(--on-primary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--rounded-md);
  text-decoration: none;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover {
  background-color: var(--surface-card);
  color: var(--ink);
}

/* BADGE */
.badge-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--rounded-pill);
  text-decoration: none;
}

/* 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: 16px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.55;
  max-width: 580px;
  margin-bottom: 48px;
}

/* FEATURE CARDS GRID */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  border-radius: var(--rounded-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;
  font-weight: 400;
}

.feature-card-pink {
  background-color: var(--brand-pink);
  color: var(--on-primary);
}

.feature-card-teal {
  background-color: var(--brand-teal);
  color: var(--on-dark);
}

.feature-card-lavender {
  background-color: var(--brand-lavender);
  color: var(--ink);
}

.feature-card-peach {
  background-color: var(--brand-peach);
  color: var(--ink);
}

.feature-card-ochre {
  background-color: var(--brand-ochre);
  color: var(--ink);
}

.feature-card-cream {
  background-color: var(--surface-card);
  color: var(--ink);
}

/* ARTICLES SECTION */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s;
}

.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  color: inherit;
  text-decoration: none;
}

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--surface-card);
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 24px;
}

.article-card-cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}

.article-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 16px;
}

.article-card-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
}

/* ARTICLE PAGE */
.article-header {
  background-color: var(--canvas);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}

.article-header h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 760px;
}

.article-header p.lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 680px;
  margin-bottom: 20px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted-soft);
}

.article-meta span {
  font-weight: 500;
}

.article-content {
  padding: 64px 0;
}

.article-content .container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.article-body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 6px;
}

.article-body a {
  color: var(--ink);
}

.article-img {
  border-radius: var(--rounded-lg);
  overflow: hidden;
  margin: 32px 0;
}

.article-img img {
  width: 100%;
  height: auto;
}

.article-img figcaption {
  font-size: 13px;
  color: var(--muted-soft);
  padding: 8px 0 0;
}

/* SIDEBAR */
.article-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-card {
  background-color: var(--surface-card);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
}

.sidebar-card li {
  margin-bottom: 10px;
}

.sidebar-card a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
}

.sidebar-card a:hover {
  color: var(--ink);
}

/* CTA BAND */
.cta-band {
  background-color: var(--surface-soft);
  padding: 80px 0;
  border-radius: var(--rounded-xl);
  margin: 0 24px;
}

.cta-band h2 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 18px;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 520px;
}

/* CONTACT FORM */
.contact-section {
  background-color: var(--surface-soft);
  padding: 96px 0;
}

.contact-form {
  max-width: 560px;
}

.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 {
  width: 100%;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 12px 16px;
  height: 44px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus {
  border-color: var(--ink);
}

.form-group textarea {
  width: 100%;
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  outline: none;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.15s;
}

.form-group textarea:focus {
  border-color: var(--ink);
}

.form-message {
  display: none;
  font-size: 14px;
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
}

.form-message.success {
  background-color: #dcfce7;
  color: #15803d;
}

/* FOOTER */
.footer {
  background-color: var(--surface-soft);
  color: var(--body);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 12px 0 20px;
  max-width: 260px;
}

.footer-contact {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--body-strong);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted-soft);
}

.footer-bottom a {
  color: var(--muted-soft);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--rounded-lg);
  padding: 20px 28px;
  max-width: 640px;
  width: calc(100% - 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

#cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--on-dark-soft);
  flex: 1;
}

#cookie-banner a {
  color: var(--on-dark);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background-color: var(--on-primary);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
}

.btn-cookie-reject {
  background-color: transparent;
  color: var(--on-dark-soft);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--rounded-md);
  border: 1px solid #3a4a4a;
  cursor: pointer;
}

/* PAGE HEADER (for inner pages) */
.page-header {
  background-color: var(--canvas);
  padding: 64px 0;
  border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 18px;
  color: var(--body);
  max-width: 580px;
}

.page-content {
  padding: 64px 0;
}

.prose h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
}

.prose h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 20px;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 6px;
}

.prose a {
  color: var(--ink);
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb-sep {
  color: var(--muted-soft);
}

/* DISCLAIMER */
.disclaimer-box {
  background-color: var(--surface-card);
  border-left: 3px solid var(--brand-ochre);
  border-radius: var(--rounded-sm);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-nav .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--hairline);
    gap: 4px;
  }

  .top-nav .nav-links.open {
    display: flex;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-band {
    padding: 64px 0;
  }

  .hero-band .container {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-img-card {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-content .container {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: none;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-band {
    margin: 0 16px;
    padding: 48px 24px;
  }

  .cta-band h2 {
    font-size: 28px;
  }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .page-header h1 {
    font-size: 28px;
  }
}
