*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --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;
  --on-primary: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --success: #22c55e;
  --error: #ef4444;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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; border-radius: var(--r-md); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.top-nav {
  background: var(--canvas);
  height: 64px;
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  transition: background 0.15s;
}

.nav-link:hover { background: var(--surface-card); color: var(--ink); }

.nav-dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  list-style: none;
  min-width: 260px;
  padding: 8px;
  z-index: 200;
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  text-decoration: none;
  border-radius: var(--r-sm);
}
.dropdown-menu a:hover { background: var(--surface-card); color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.2s;
}

.hero-band {
  background: var(--canvas);
  padding: 96px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  max-width: 520px;
}
.hero-illustration {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.section { padding: 96px 0; }
.section-alt { background: var(--surface-soft); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 16px;
  line-height: 1.55;
  color: var(--body);
  max-width: 640px;
  margin-bottom: 48px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  border-radius: var(--r-xl);
  padding: 32px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.feature-card p {
  font-size: 15px;
  line-height: 1.55;
}
.fc-pink { background: var(--brand-pink); color: var(--on-primary); }
.fc-teal { background: var(--brand-teal); color: var(--on-primary); }
.fc-lavender { background: var(--brand-lavender); color: var(--ink); }
.fc-peach { background: var(--brand-peach); color: var(--ink); }
.fc-ochre { background: var(--brand-ochre); color: var(--ink); }
.fc-cream { background: var(--surface-card); color: var(--ink); }

.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(--r-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/10; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.article-card-body { padding: 24px; }
.article-card-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
}

.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

.article-header { padding: 48px 0 32px; }
.article-header .article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.article-meta {
  font-size: 13px;
  color: var(--muted-soft);
}
.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: 48px;
}
.article-content { max-width: 760px; }
.article-content h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 40px 0 16px;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--body-strong);
  margin: 28px 0 12px;
}
.article-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 6px; }
.article-content .info-box {
  background: var(--surface-card);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.article-content .info-box h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-content .info-box p { margin-bottom: 0; font-size: 15px; }
.article-content figure { margin: 32px 0; }
.article-content figcaption {
  font-size: 13px;
  color: var(--muted-soft);
  text-align: center;
  margin-top: 8px;
}
.article-content a { color: var(--ink); }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.article-content th {
  background: var(--surface-strong);
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--hairline);
}
.article-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-soft);
}

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding: 0 0 96px; }
.article-sidebar {}
.sidebar-card {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.sidebar-card ul { list-style: none; }
.sidebar-card li { margin-bottom: 10px; }
.sidebar-card a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-card a:hover { color: var(--ink); }

.contact-section { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info h2 { font-size: 32px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 16px; }
.contact-info p { font-size: 16px; line-height: 1.6; color: var(--body); margin-bottom: 16px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-strong);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--ink); }
.form-group textarea { height: 120px; resize: vertical; }

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 20px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { background: #e5e5e5; color: var(--muted); cursor: not-allowed; }

.form-message {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--body-strong);
  margin-top: 16px;
}
.form-message.show { display: block; }
.form-message.success { border-color: var(--success); }

.page-header {
  background: var(--canvas);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.page-header h1 { font-size: 40px; font-weight: 500; letter-spacing: -1px; color: var(--ink); margin-bottom: 12px; }
.page-header p { font-size: 16px; color: var(--muted); }

.page-content { max-width: 760px; padding: 48px 0 96px; }
.page-content h2 { font-size: 24px; font-weight: 600; color: var(--ink); margin: 36px 0 12px; }
.page-content h3 { font-size: 18px; font-weight: 600; color: var(--body-strong); margin: 24px 0 10px; }
.page-content p { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; }
.page-content li { font-size: 16px; line-height: 1.7; color: var(--body); margin-bottom: 4px; }
.page-content a { color: var(--ink); }

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-xl);
  padding: 20px 24px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.cookie-banner.show { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; margin: 0; color: #d0d0d0; }
.cookie-banner a { color: #ffffff; }
.cookie-actions { display: flex; gap: 8px; }
.btn-cookie-accept {
  background: var(--on-primary);
  color: var(--ink);
  border: none;
  border-radius: var(--r-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: #a0a0a0;
  border: 1px solid #444;
  border-radius: var(--r-md);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.site-footer {
  background: var(--surface-soft);
  padding: 80px 0 40px;
}
.footer-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.footer-col p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--hairline); padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }

.disclaimer {
  background: var(--surface-card);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 32px 0;
}

@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-title { font-size: 44px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}

@media (max-width: 768px) {
  .hero-band { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-illustration { display: none; }
  .hero-title { font-size: 36px; letter-spacing: -1px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-header h1 { font-size: 30px; }
  .article-title { font-size: 28px; }
  .nav-menu { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; gap: 4px; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-container { position: relative; }
  .dropdown-menu { position: static; border: none; padding: 4px 0 4px 16px; min-width: auto; display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
}
