@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;
  --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: var(--ink); 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 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; letter-spacing: -0.3px; color: var(--ink); }
.nav-logo span { color: var(--brand-teal); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink); transition: color 0.2s; }
.nav-links a:hover { color: var(--muted); text-decoration: none; }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-primary { background: var(--primary); color: var(--on-primary); 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; transition: background 0.2s; text-decoration: none; }
.btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }
.btn-secondary { 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); cursor: pointer; display: inline-flex; align-items: center; transition: border-color 0.2s; text-decoration: none; }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s; }

/* HERO */
.hero { padding: 96px 0; }
.hero .container { 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: 20px; }
.hero h1 { font-family: 'Inter', sans-serif; font-size: 64px; font-weight: 500; line-height: 1.05; letter-spacing: -2px; color: var(--ink); margin-bottom: 24px; }
.hero-sub { font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--body); margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img-wrap { background: var(--surface-soft); border-radius: var(--rounded-xl); overflow: hidden; aspect-ratio: 4/3; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* SECTION LABELS */
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }

/* FEATURE CARDS GRID */
.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head 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; }
.section-head p { font-size: 16px; color: var(--body); max-width: 600px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 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; }
.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 .card-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card .card-tag { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.7; margin-bottom: 10px; }

/* ARTICLES SECTION */
.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; transition: border-color 0.2s; }
.article-card:hover { border-color: var(--ink); }
.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; }
.article-card-tag { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.article-card-body h3 { font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--ink); margin-bottom: 10px; }
.article-card-body p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 16px; }
.article-card-meta { font-size: 13px; color: var(--muted-soft); }
.read-more { font-size: 14px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

/* IMAGE + TEXT BANDS */
.band { padding: 96px 0; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.band-grid.reverse { direction: rtl; }
.band-grid.reverse > * { direction: ltr; }
.band-img { border-radius: var(--rounded-xl); overflow: hidden; aspect-ratio: 4/3; }
.band-img img { width: 100%; height: 100%; object-fit: cover; }
.band-content h2 { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -1px; color: var(--ink); margin-bottom: 20px; }
.band-content p { font-size: 16px; color: var(--body); line-height: 1.6; margin-bottom: 16px; }

/* CONTACT FORM */
.contact-section { background: var(--surface-soft); padding: 96px 0; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-inner h2 { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 12px; }
.contact-inner p { color: var(--body); margin-bottom: 36px; }
.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); outline: none; transition: border-color 0.2s; }
.form-group textarea { height: auto; min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.form-success { display: none; background: var(--success); color: #fff; padding: 16px 20px; border-radius: var(--rounded-md); font-size: 14px; font-weight: 600; margin-top: 16px; }

/* CTA BAND */
.cta-band { background: var(--surface-soft); border-radius: var(--rounded-xl); padding: 80px; text-align: center; margin: 0 32px 96px; }
.cta-band h2 { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: var(--body); margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* TESTIMONIALS */
.testimonial-card { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px; }
.testimonial-card p { font-size: 16px; color: var(--body); line-height: 1.6; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* FOOTER */
footer { background: var(--surface-soft); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand p { font-size: 14px; color: var(--body); line-height: 1.6; margin-top: 12px; max-width: 280px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--body); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 16px; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-contact { font-size: 13px; color: var(--muted); }
.footer-contact a { color: var(--muted); }

/* BADGE */
.badge { background: var(--surface-card); color: var(--ink); font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: var(--rounded-pill); display: inline-block; }

/* ARTICLE PAGE */
.article-header { padding: 64px 0 48px; max-width: 800px; margin: 0 auto; }
.article-header h1 { font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 20px; }
.article-meta { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.article-meta span { margin-right: 16px; }
.article-hero-img { border-radius: var(--rounded-xl); overflow: hidden; margin-bottom: 64px; aspect-ratio: 16/7; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 800px; margin: 0 auto; padding-bottom: 96px; }
.article-body h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 48px 0 16px; line-height: 1.2; }
.article-body h3 { font-size: 22px; font-weight: 600; color: var(--ink); 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 24px; }
.article-body li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 8px; }
.article-body a { color: var(--ink); border-bottom: 1px solid var(--hairline); }
.article-body a:hover { border-color: var(--ink); text-decoration: none; }
.article-body blockquote { border-left: 3px solid var(--brand-ochre); padding: 12px 24px; background: var(--surface-soft); border-radius: 0 var(--rounded-md) var(--rounded-md) 0; margin: 32px 0; font-size: 18px; color: var(--body-strong); font-style: italic; }
.article-inline-img { border-radius: var(--rounded-lg); overflow: hidden; margin: 32px 0; }
.article-inline-img img { width: 100%; height: auto; }
.article-inline-img figcaption { font-size: 13px; color: var(--muted-soft); padding: 10px 0; }
.related-articles { background: var(--surface-soft); padding: 64px 0; }
.related-articles h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 32px; }

/* PAGE (about, privacy, terms) */
.page-header { padding: 64px 0 48px; max-width: 800px; margin: 0 auto; }
.page-header h1 { font-size: 48px; font-weight: 500; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 12px; }
.page-header p { color: var(--body); font-size: 16px; }
.page-body { max-width: 800px; margin: 0 auto; padding-bottom: 96px; }
.page-body h2 { font-size: 28px; font-weight: 600; color: var(--ink); margin: 40px 0 14px; }
.page-body p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 18px; }
.page-body ul { margin: 0 0 18px 24px; }
.page-body li { font-size: 16px; color: var(--body); margin-bottom: 8px; line-height: 1.6; }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface-dark); color: var(--on-dark); padding: 20px 28px; border-radius: var(--rounded-xl); max-width: 620px; width: calc(100% - 48px); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; z-index: 999; box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
#cookie-banner p { font-size: 14px; flex: 1; line-height: 1.5; color: #d0d0d0; }
#cookie-banner p a { color: var(--brand-mint); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept { background: var(--canvas); color: var(--ink); font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: var(--rounded-md); border: none; cursor: pointer; }
.btn-cookie-reject { background: transparent; color: var(--on-dark-soft, #a0a0a0); font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: var(--rounded-md); border: 1px solid rgba(255,255,255,0.15); cursor: pointer; }

/* DISCLAIMER */
.disclaimer { background: var(--surface-strong); border-radius: var(--rounded-md); padding: 16px 20px; font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 32px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 48px; }
  .section-head h2 { font-size: 32px; }
  .band-content h2 { font-size: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  .nav-hamburger { display: flex; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-img-wrap { order: -1; }
  .cards-grid, .cards-grid-2 { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .band-grid, .band-grid.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .cta-band { padding: 48px 24px; margin: 0 0 64px; border-radius: var(--rounded-lg); }
  .cta-band h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-header h1 { font-size: 32px; }
  .page-header h1 { font-size: 32px; }
  .hero { padding: 64px 0; }
  .section { padding: 64px 0; }
  .band { padding: 64px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
