*, *::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;
  --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;
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── TOP NAV ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-card);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

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

.hero-grid {
  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: 24px;
}

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

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-illustration {
  background: var(--surface-soft);
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}

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

/* ── FEATURE CARDS ── */
.feature-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-heading {
  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-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  border-radius: 24px;
  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-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-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.feature-card-text {
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.85;
}

.feature-card-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  opacity: 0.9;
  color: inherit;
}

/* ── ARTICLES GRID ── */
.articles-section {
  padding: 96px 0;
  background: var(--surface-soft);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.article-card {
  background: var(--canvas);
  border-radius: 16px;
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--surface-strong); }

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.article-card:hover .article-card-img img { transform: scale(1.03); }

.article-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-badge {
  display: inline-block;
  background: var(--surface-card);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  width: fit-content;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

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

.read-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── CONTACT FORM ── */
.contact-section {
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}

.contact-intro-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.contact-intro-text {
  font-size: 16px;
  color: var(--body);
  line-height: 1.55;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--body-strong);
}

.form-input {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 12px 16px;
  height: 44px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
  transition: border-color 0.15s;
  outline: none;
}

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

.form-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

/* ── CTA BAND ── */
.cta-band {
  margin: 0 32px 96px;
  background: var(--surface-soft);
  border-radius: 24px;
  padding: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.cta-band-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  max-width: 560px;
}

.cta-band-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 480px;
}

/* ── ARTICLE PAGE ── */
.article-page {
  padding: 64px 0 96px;
}

.article-hero {
  margin-bottom: 48px;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 48px;
}

.article-header {
  max-width: 760px;
}

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

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

.article-body {
  max-width: 760px;
  margin: 48px 0;
}

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

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

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

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
  list-style: disc;
}

.article-body ol { list-style: decimal; }

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

.article-body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body strong { font-weight: 600; color: var(--body-strong); }

.article-sidebar {
  display: grid;
  grid-template-columns: 760px 1fr;
  gap: 64px;
  align-items: start;
}

.related-articles {
  padding: 32px;
  background: var(--surface-soft);
  border-radius: 16px;
}

.related-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 20px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-item a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.related-item-date {
  font-size: 12px;
  color: var(--muted-soft);
  margin-top: 2px;
}

/* ── PAGE (ABOUT/PRIVACY/TERMS) ── */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.page-h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 8px;
}

.page-updated {
  font-size: 13px;
  color: var(--muted-soft);
  margin-bottom: 48px;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: 40px 0 12px;
}

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

.page-content ul {
  margin: 0 0 16px 20px;
  list-style: disc;
}

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

.page-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 680px;
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
  color: var(--on-dark-soft);
}

.cookie-text a {
  color: var(--on-dark);
  text-decoration: underline;
}

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

.cookie-accept, .cookie-reject {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-accept {
  background: var(--on-primary);
  color: var(--ink);
}

.cookie-reject {
  background: transparent;
  color: var(--on-dark-soft);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ── FOOTER ── */
.footer {
  background: var(--surface-soft);
  padding: 80px 0 40px;
  border-top: 1px solid var(--hairline);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

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

.footer-logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.footer-address {
  font-size: 13px;
  color: var(--muted-soft);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-links li:not(:has(a)) {
  font-size: 14px;
  color: var(--muted-soft);
}

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--muted-soft);
  line-height: 1.5;
  max-width: 720px;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb span { color: var(--muted-soft); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-illustration { display: none; }
  .hero-h1 { font-size: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-sidebar { grid-template-columns: 1fr; }
  .cta-band { margin: 0 16px 96px; padding: 60px 40px; }
  .cta-band-title { font-size: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; gap: 4px; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-band { padding: 56px 0; }
  .hero-h1 { font-size: 32px; letter-spacing: -1px; }
  .hero-desc { font-size: 16px; }
  .feature-section, .articles-section, .contact-section { padding: 56px 0; }
  .section-heading { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0 16px 56px; padding: 48px 24px; }
  .cta-band-title { font-size: 26px; }
  .article-h1 { font-size: 28px; }
  .article-hero-img { border-radius: 12px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-accept, .cookie-reject { flex: 1; text-align: center; }
}
