@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede9e3;
  --hairline: #d3cec6;
  --hairline-soft: #e5e0d8;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; background: var(--canvas); color: var(--ink); line-height: 1.5; }

a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--canvas); border-bottom: 1px solid var(--hairline);
  height: 56px;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-brand { font-size: 15px; font-weight: 500; letter-spacing: -0.3px; }
.nav-links { list-style: none; display: flex; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; font-size: 20px; cursor: pointer; }

.hero {
  max-width: 1280px; margin: 0 auto; padding: 96px 24px 64px;
}
.hero-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: 16px; }
.hero h1 { font-size: 56px; font-weight: 500; line-height: 1.10; letter-spacing: -1.4px; max-width: 760px; margin-bottom: 24px; }
.hero-lead { font-size: 18px; font-weight: 400; line-height: 1.50; letter-spacing: -0.1px; color: var(--ink-muted); max-width: 600px; margin-bottom: 32px; }
.hero-image-card { background: var(--surface-1); border-radius: var(--rounded-xl); overflow: hidden; border: 1px solid var(--hairline); margin-top: 48px; }
.hero-image-card img { width: 100%; height: 400px; object-fit: cover; }

.section { max-width: 1280px; margin: 0 auto; padding: 96px 24px; }
.section-eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: 12px; }
.section h2 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 16px; max-width: 680px; }
.section-lead { font-size: 16px; color: var(--ink-muted); line-height: 1.6; max-width: 600px; margin-bottom: 48px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface-1); border-radius: var(--rounded-lg); border: 1px solid var(--hairline); padding: 24px; }
.card-image { border-radius: var(--rounded-md); overflow: hidden; margin-bottom: 20px; }
.card-image img { width: 100%; height: 200px; object-fit: cover; }
.card-eyebrow { font-size: 12px; font-weight: 500; color: var(--ink-subtle); margin-bottom: 8px; text-transform: none; }
.card h3 { font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -0.3px; margin-bottom: 12px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { text-decoration: underline; }
.card p { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.card-meta { margin-top: 16px; font-size: 12px; color: var(--ink-subtle); }

.info-strip { background: var(--surface-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.info-strip-inner { max-width: 1280px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.info-block h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 12px; }
.info-block p { font-size: 16px; color: var(--ink-muted); line-height: 1.6; }

.article-layout { max-width: 820px; margin: 0 auto; padding: 64px 24px; }
.article-header { margin-bottom: 48px; }
.article-header .eyebrow { font-size: 14px; font-weight: 500; color: var(--ink-muted); margin-bottom: 12px; }
.article-header h1 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 20px; }
.article-meta { font-size: 13px; color: var(--ink-subtle); }
.article-hero-img { background: var(--surface-1); border-radius: var(--rounded-xl); overflow: hidden; border: 1px solid var(--hairline); margin-bottom: 48px; }
.article-hero-img img { width: 100%; height: 380px; object-fit: cover; }
.article-body h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; margin: 40px 0 16px; }
.article-body h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin: 32px 0 12px; }
.article-body p { font-size: 16px; line-height: 1.7; margin-bottom: 20px; color: var(--ink); }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { font-size: 16px; line-height: 1.7; margin-bottom: 8px; color: var(--ink); }
.article-body a { color: var(--ink); text-decoration: underline; }
.article-body blockquote { background: var(--surface-2); border-left: 3px solid var(--hairline); border-radius: var(--rounded-md); padding: 20px 24px; margin: 28px 0; font-size: 16px; color: var(--ink-muted); }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 10px 14px; border: 1px solid var(--hairline); text-align: left; }
.article-body th { background: var(--surface-2); font-weight: 500; }
.article-related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--hairline); }
.article-related h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.5px; margin-bottom: 24px; }

.page-layout { max-width: 820px; margin: 0 auto; padding: 64px 24px; }
.page-layout h1 { font-size: 40px; font-weight: 500; line-height: 1.15; letter-spacing: -0.8px; margin-bottom: 16px; }
.page-layout .subtitle { font-size: 16px; color: var(--ink-muted); margin-bottom: 48px; }
.page-layout h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.3px; margin: 32px 0 12px; }
.page-layout p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; color: var(--ink-muted); }
.page-layout ul { padding-left: 24px; margin-bottom: 20px; }
.page-layout li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; color: var(--ink-muted); }
.page-layout a { color: var(--ink); text-decoration: underline; }

.contact-form { background: var(--surface-1); border-radius: var(--rounded-lg); border: 1px solid var(--hairline); padding: 32px; margin-top: 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; background: var(--surface-1); border: 1px solid var(--hairline); border-radius: var(--rounded-md); padding: 10px 14px; font-size: 16px; font-family: inherit; color: var(--ink); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--ink); }
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-primary { background: var(--ink); color: #fff; border: none; border-radius: var(--rounded-md); padding: 10px 18px; font-size: 15px; font-weight: 500; cursor: pointer; font-family: inherit; }
.btn-primary:hover { opacity: 0.85; }
.form-msg { margin-top: 16px; padding: 12px 16px; border-radius: var(--rounded-md); font-size: 14px; display: none; }
.form-msg.success { background: #e9f5e9; color: #2d6a2d; display: block; }
.form-msg.loading { background: var(--surface-2); color: var(--ink-muted); display: block; }

.cookie-banner { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--inverse-canvas); color: var(--inverse-ink); border-radius: var(--rounded-lg); padding: 20px 28px; max-width: 600px; width: calc(100% - 48px); z-index: 9999; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 4px 24px rgba(0,0,0,0.18); }
.cookie-banner p { font-size: 14px; color: #ccc; flex: 1; min-width: 200px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }
.btn-cookie-accept { background: #fff; color: #111; border: none; border-radius: var(--rounded-md); padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.btn-cookie-reject { background: transparent; color: #ccc; border: 1px solid #555; border-radius: var(--rounded-md); padding: 8px 16px; font-size: 14px; cursor: pointer; }

.footer { background: var(--canvas); border-top: 1px solid var(--hairline); padding: 64px 24px 40px; }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: block; font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.footer-col p { font-size: 13px; color: var(--ink-subtle); line-height: 1.6; }
.footer-col h4 { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 13px; color: var(--ink-subtle); }
.footer-col a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom { max-width: 1280px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--hairline-soft); }
.footer-bottom p { font-size: 12px; color: var(--ink-subtle); }

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .info-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; letter-spacing: -0.5px; }
  .hero { padding: 64px 20px 48px; }
  .section h2 { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .info-strip-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--canvas); border-bottom: 1px solid var(--hairline); padding: 16px 24px; gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .article-header h1 { font-size: 28px; }
}
