@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;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  background-color: var(--canvas);
}

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 var(--sp-xl);
}

/* 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: var(--sp-lg);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:hover { color: var(--muted); }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: var(--sp-md) 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: var(--sp-sm) var(--sp-xl);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline-soft);
}

/* HERO */
.hero-band {
  background: var(--canvas);
  padding: var(--sp-section) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  margin-bottom: var(--sp-lg);
}
.hero-band h1 {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.hero-desc {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}
.hero-illustration-card {
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-illustration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.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(--radius-md);
  text-decoration: none;
  border: 1px solid var(--hairline);
  cursor: pointer;
}
.btn-secondary:hover { background: var(--surface-soft); }

/* SECTION LABELS */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}

/* FEATURE CARDS GRID */
.features-section { padding: var(--sp-section) 0; }
.features-section h2 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--sp-xxl);
  max-width: 700px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.feature-card {
  border-radius: var(--radius-xl);
  padding: var(--sp-xl);
}
.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;
  margin-bottom: var(--sp-sm);
}
.feature-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.85;
}
.feature-card img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-md);
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* ARTICLES SECTION */
.articles-section { padding: var(--sp-section) 0; }
.articles-section h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-xxl);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  text-decoration: none;
  display: block;
  transition: background 0.2s;
}
.article-card:hover { background: var(--surface-soft); }
.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
}
.article-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}
.article-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
  text-decoration: none;
}
.article-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.article-card-date {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
  margin-top: var(--sp-md);
}

/* CONTACT / FORM SECTION */
.contact-section {
  background: var(--surface-soft);
  padding: var(--sp-section) 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: start;
}
.contact-info h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.contact-info p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: var(--sp-md);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-sm);
  font-size: 14px;
  color: var(--body-strong);
}
.contact-form {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
}
.contact-form h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.form-group { margin-bottom: var(--sp-md); }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}
.form-status {
  display: none;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  margin-top: var(--sp-md);
}
.form-status.success { background: #dcfce7; color: #166534; display: block; }
.form-status.error-msg { background: #fee2e2; color: #991b1b; display: block; }

/* CTA BAND */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--radius-xl);
  padding: 80px;
  text-align: center;
  margin: var(--sp-section) 0;
}
.cta-band h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band p {
  font-size: 16px;
  color: var(--body);
  margin-bottom: var(--sp-xl);
}

/* FOOTER */
.site-footer {
  background: var(--surface-soft);
  padding: 80px 0 var(--sp-xxl);
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-top: var(--sp-sm);
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col ul li a:hover { color: var(--ink); }
.footer-bottom {
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted-soft);
}
.footer-bottom-links {
  display: flex;
  gap: var(--sp-md);
}
.footer-bottom-links a {
  font-size: 13px;
  color: var(--muted-soft);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--ink); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  max-width: 800px;
  width: calc(100% - var(--sp-xxl));
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.cookie-banner p {
  font-size: 14px;
  color: var(--on-dark);
  opacity: 0.85;
  flex: 1;
}
.cookie-banner a { color: var(--on-dark); }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.cookie-accept {
  background: var(--canvas);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.cookie-reject {
  background: transparent;
  color: var(--on-dark);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* ARTICLE PAGE */
.article-hero {
  background: var(--canvas);
  padding: var(--sp-section) 0 var(--sp-xxl);
}
.article-hero .section-label { margin-bottom: var(--sp-md); }
.article-hero h1 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: var(--sp-lg);
}
.article-hero .lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
  max-width: 650px;
  margin-bottom: var(--sp-lg);
}
.article-meta {
  font-size: 13px;
  color: var(--muted-soft);
  display: flex;
  gap: var(--sp-md);
  align-items: center;
}
.article-cover {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-top: var(--sp-xxl);
}
.article-body {
  padding: var(--sp-section) 0;
}
.article-content {
  max-width: 740px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}
.article-content h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.article-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: var(--sp-md);
}
.article-content ul, .article-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}
.article-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: var(--sp-xs);
}
.article-content a { color: var(--ink); }
.article-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: var(--sp-xl) 0;
}
.article-content .callout {
  background: var(--surface-card);
  border-left: 4px solid var(--brand-ochre);
  border-radius: var(--radius-sm);
  padding: var(--sp-lg);
  margin: var(--sp-xl) 0;
}
.article-content .callout p { margin: 0; }

/* RELATED ARTICLES */
.related-section {
  background: var(--surface-soft);
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--hairline);
}
.related-section h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: var(--sp-xxl);
}

/* PAGE HERO (about/privacy/terms) */
.page-hero {
  background: var(--canvas);
  padding: var(--sp-section) 0 var(--sp-xxl);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.page-hero p {
  font-size: 18px;
  color: var(--body-strong);
  max-width: 600px;
}
.page-body {
  padding: var(--sp-section) 0;
}
.page-content {
  max-width: 800px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}
.page-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.page-content p, .page-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: var(--sp-md);
}
.page-content ul, .page-content ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-lg);
}
.breadcrumb a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span {
  font-size: 13px;
  color: var(--muted-soft);
}

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-sm) 0;
  text-align: center;
}
.disclaimer-bar p {
  font-size: 12px;
  color: var(--muted-soft);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-band h1 { font-size: 56px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-band { padding: var(--sp-xxl) 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-illustration-card { display: none; }
  .hero-band h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-desc { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .features-section h2 { font-size: 36px; }
  .article-hero h1 { font-size: 36px; letter-spacing: -1px; }
  .page-hero h1 { font-size: 36px; }
  .cta-band { padding: var(--sp-xxl) var(--sp-xl); }
  .cta-band h2 { font-size: 32px; }
  .cookie-banner { flex-direction: column; text-align: center; bottom: var(--sp-md); }
  .cookie-actions { width: 100%; justify-content: center; }
}
