@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 { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background-color: var(--canvas); color: var(--body); 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-family: 'Inter', sans-serif; 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: 8px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); padding: 8px 12px; border-radius: var(--rounded-pill); transition: background 0.15s, color 0.15s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface-card); color: var(--ink); text-decoration: none; }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* HERO */
.hero { padding: 96px 0; background: var(--canvas); }
.hero .container { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.hero-content { }
.hero-badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); background: var(--surface-card); padding: 4px 12px; border-radius: var(--rounded-pill); 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: 20px; }
.hero-sub { font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--body); margin-bottom: 32px; max-width: 480px; }
.hero-image { background: var(--surface-soft); border-radius: var(--rounded-xl); overflow: hidden; }
.hero-image img { width: 100%; height: 380px; object-fit: cover; }

/* FEATURE CARDS */
.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: 48px; }
.section-title-sm { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; line-height: 1.15; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 40px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border-radius: var(--rounded-xl); padding: 32px; }
.card-pink { background: var(--brand-pink); color: var(--on-primary); }
.card-teal { background: var(--brand-teal); color: var(--on-dark); }
.card-lavender { background: var(--brand-lavender); color: var(--ink); }
.card-peach { background: var(--brand-peach); color: var(--ink); }
.card-ochre { background: var(--brand-ochre); color: var(--ink); }
.card-cream { background: var(--surface-card); color: var(--ink); }
.card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.card p { font-size: 14px; font-weight: 400; line-height: 1.55; opacity: 0.85; }
.card-link { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; text-decoration: underline; }
.card-pink .card-link, .card-teal .card-link { color: rgba(255,255,255,0.9); }
.card-lavender .card-link, .card-peach .card-link, .card-ochre .card-link, .card-cream .card-link { color: var(--ink); }

/* ARTICLES */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.article-card { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-lg); overflow: hidden; transition: box-shadow 0.15s; }
.article-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-body { padding: 24px; }
.article-category { 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 h3 a:hover { text-decoration: underline; }
.article-card p { font-size: 14px; color: var(--body); line-height: 1.55; margin-bottom: 16px; }
.article-meta { font-size: 13px; color: var(--muted-soft); }

/* ARTICLE PAGE */
.article-header { padding: 64px 0 40px; }
.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; }
.article-lead { font-size: 18px; font-weight: 400; line-height: 1.55; color: var(--body-strong); margin-bottom: 24px; }
.article-meta-bar { display: flex; gap: 24px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: 16px 0; margin-bottom: 40px; }
.article-hero-img { border-radius: var(--rounded-lg); overflow: hidden; margin-bottom: 40px; }
.article-hero-img img { width: 100%; height: 420px; object-fit: cover; }
.article-body { max-width: 720px; }
.article-body h2 { font-family: 'Inter', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 40px 0 16px; }
.article-body h3 { font-size: 20px; font-weight: 600; color: var(--body-strong); 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: 8px; }
.article-body a { color: var(--ink); text-decoration: underline; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; padding-bottom: 96px; }
.article-sidebar { }
.sidebar-card { background: var(--surface-card); border-radius: var(--rounded-lg); padding: 24px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--hairline-soft); padding: 10px 0; }
.sidebar-links li:last-child { border: none; }
.sidebar-links a { font-size: 14px; color: var(--body-strong); font-weight: 500; }
.sidebar-links a:hover { text-decoration: underline; }

/* CONTACT FORM */
.contact-section { background: var(--surface-soft); border-radius: var(--rounded-xl); padding: 80px; margin: 96px 0; }
.contact-section h2 { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 8px; }
.contact-section p { font-size: 16px; color: var(--body); margin-bottom: 32px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 560px; }
.contact-form .form-full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--body-strong); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea { background: var(--canvas); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 12px 16px; height: 44px; font-family: inherit; font-size: 16px; color: var(--ink); outline: none; transition: border-color 0.15s; }
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--ink); }
.btn-primary { background: var(--primary); color: var(--on-primary); border: none; border-radius: var(--rounded-md); padding: 12px 20px; height: 44px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--primary-active); }
.form-success { display: none; background: #dcfce7; border: 1px solid #86efac; border-radius: var(--rounded-md); padding: 16px 20px; color: #166534; font-size: 14px; font-weight: 500; margin-top: 12px; }

/* PAGE SECTIONS */
.page-header { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); margin-bottom: 64px; }
.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: 16px; color: var(--body); max-width: 560px; }
.page-content { max-width: 720px; padding-bottom: 96px; }
.page-content h2 { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -0.3px; color: var(--ink); margin: 40px 0 12px; }
.page-content p, .page-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-content ul, .page-content ol { padding-left: 24px; margin-bottom: 20px; }
.page-content a { color: var(--ink); text-decoration: underline; }
.page-updated { font-size: 13px; color: var(--muted-soft); margin-bottom: 40px; }

/* 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: 48px; }
.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; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--body); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }

/* COOKIE BANNER */
.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface-dark); color: var(--on-dark); border-radius: var(--rounded-lg); padding: 20px 28px; display: flex; gap: 20px; align-items: center; max-width: 680px; width: calc(100% - 48px); z-index: 9999; box-shadow: 0 8px 40px rgba(0,0,0,0.2); }
.cookie-banner p { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.8); flex: 1; }
.cookie-banner a { color: var(--on-dark); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept { background: var(--on-primary); color: var(--ink); border: none; border-radius: var(--rounded-md); padding: 10px 18px; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.cookie-reject { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); border-radius: var(--rounded-md); padding: 10px 18px; font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.cookie-reject:hover { border-color: rgba(255,255,255,0.6); }

/* BREADCRUMB */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; }

/* ABOUT PAGE */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding-bottom: 96px; }
.about-img { border-radius: var(--rounded-lg); overflow: hidden; }
.about-img img { width: 100%; height: 400px; object-fit: cover; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .top-nav .nav-links { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px; gap: 4px; }
  .top-nav .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-image { display: none; }
  .section-title { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-section { padding: 40px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; bottom: 0; border-radius: var(--rounded-lg) var(--rounded-lg) 0 0; width: 100%; }
  .container { padding: 0 20px; }
  .hero { padding: 64px 0; }
  .section { padding: 64px 0; }
}
