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

:root {
  --primary: #181d26;
  --primary-active: #0d1218;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --surface-dark-elevated: #1d1f25;
  --hairline: #dddddd;
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --rounded-pill: 9999px;
  --section: 96px;
}

html { font-size: 14px; scroll-behavior: smooth; }

body {
  font-family: 'Inter Display', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { max-width: 100%; height: auto; display: block; }

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

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  min-height: 48px;
}

.btn-primary:hover,
.btn-primary:focus { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
  min-height: 48px;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

.btn-secondary-on-dark {
  display: inline-flex;
  align-items: center;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
}

.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image img {
  border-radius: var(--rounded-md);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.signature-coral-card {
  background: var(--signature-coral);
  color: var(--on-primary);
  padding: var(--section) 0;
}

.signature-coral-card .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.signature-coral-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-coral-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.88);
}

.signature-coral-card img {
  border-radius: var(--rounded-lg);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.articles-section {
  padding: var(--section) 0;
  background: var(--canvas);
}

.articles-section h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 48px;
  line-height: 1.2;
}

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

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-card img {
  border-radius: var(--rounded-md);
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.article-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  flex: 1;
}

.article-card-meta {
  font-size: 13px;
  color: var(--muted);
}

.article-card a.read-more {
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
}

.signature-dark-card {
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--section) 0;
}

.signature-dark-card .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.signature-dark-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--on-primary);
  margin-bottom: 16px;
}

.signature-dark-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin-bottom: 24px;
}

.signature-dark-card img {
  border-radius: var(--rounded-lg);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.cream-callout {
  background: var(--signature-cream);
  padding: var(--section) 0;
}

.cream-callout .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.cream-callout h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cream-callout p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cream-callout img {
  border-radius: var(--rounded-md);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.contact-band {
  padding: var(--section) 0;
  background: var(--surface-soft);
}

.contact-band h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-band p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 32px;
  line-height: 1.6;
}

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

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

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

.form-group input,
.form-group textarea {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  height: 44px;
  font-family: inherit;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #458fff;
}

.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.cta-band {
  background: var(--surface-strong);
  padding: 48px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--section) 0 0;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: 16px;
}

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

.footer-contact {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

.footer-disclaimer {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 4px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 1000;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  flex: 1;
}

.cookie-banner a { color: #7ab0ff; text-decoration: underline; }

.cookie-buttons {
  display: flex;
  gap: 12px;
}

.btn-legal {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
  min-height: 44px;
}

.btn-legal-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13.12px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--rounded-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  min-height: 44px;
}

.article-hero {
  padding: var(--section) 0;
  background: var(--canvas);
}

.article-hero h1 {
  font-size: 48px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 800px;
}

.article-hero-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-top: 32px;
}

.article-body {
  padding: var(--section) 0;
  background: var(--canvas);
}

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

.article-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  margin-top: 48px;
  line-height: 1.35;
  letter-spacing: 0.12px;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
  margin-top: 32px;
  line-height: 1.5;
}

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

.article-content ul, .article-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.article-content li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 6px;
}

.article-content figure {
  margin: 32px 0;
}

.article-content figure img {
  border-radius: var(--rounded-md);
  width: 100%;
}

.article-content figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.4;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: 24px;
  border: 1px solid var(--hairline);
}

.sidebar-card h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-card a {
  font-size: 14px;
  color: var(--link);
  line-height: 1.4;
}

.page-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  max-width: 640px;
}

.page-content {
  padding: 0 0 var(--section);
  background: var(--canvas);
}

.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 12px;
  line-height: 1.35;
  letter-spacing: 0.12px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 32px 0 10px;
  line-height: 1.5;
}

.page-content p, .page-content li {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 12px;
}

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}

.about-grid img {
  border-radius: var(--rounded-md);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .signature-coral-card .container,
  .signature-dark-card .container,
  .cream-callout .container { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section: 64px; }
  .container, .nav-container, .footer-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-toggle { display: flex; }
  .top-nav { position: relative; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 32px; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-hero h1 { font-size: 32px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
