*, *::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;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: '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);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { display: block; max-width: 100%; height: auto; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--spacing-xxl); }

@media (max-width: 767px) { .container { padding: 0 var(--spacing-md); } }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: center;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-brand span { color: var(--signature-coral); }

.nav-links { display: flex; align-items: center; gap: var(--spacing-lg); }

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}

.nav-links a:hover { color: var(--ink); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: var(--spacing-xl);
}

.nav-mobile-overlay.open { display: flex; }

.nav-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  margin-bottom: var(--spacing-xl);
}

.nav-mobile-links { display: flex; flex-direction: column; gap: var(--spacing-lg); }

.nav-mobile-links a { font-size: 20px; font-weight: 400; color: var(--ink); }

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary:hover, .btn-primary:focus { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}

.btn-secondary:hover, .btn-secondary:focus { border-color: var(--ink); color: var(--ink); }

.btn-legal {
  display: inline-block;
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-content { max-width: 680px; }

.hero-content h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.hero-content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
}

.hero-cta { display: flex; gap: var(--spacing-md); flex-wrap: wrap; align-items: center; }

.section-band { padding: var(--spacing-section) 0; }

.section-band.surface-soft { background: var(--surface-soft); }
.section-band.surface-strong { background: var(--surface-strong); }

.section-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.12px;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1023px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .card-grid { grid-template-columns: 1fr; } }

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: #b0b4bb; }

.article-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-soft);
}

.article-card-img img { width: 100%; height: 100%; object-fit: cover; }

.article-card-body { padding: var(--spacing-md); flex: 1; display: flex; flex-direction: column; }

.article-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}

.article-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.article-card-title a { color: inherit; }
.article-card-title a:hover { color: var(--link); }

.article-card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  flex: 1;
  margin-bottom: var(--spacing-md);
}

.article-meta { font-size: 13px; color: var(--muted); margin-top: auto; }

.signature-coral-card {
  background: var(--signature-coral);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
}

.signature-coral-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--on-primary);
}

.signature-coral-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.signature-forest-card {
  background: var(--signature-forest);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
}

.signature-forest-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--on-primary);
}

.signature-forest-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.hero-dark-card {
  background: var(--surface-dark);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
  text-align: center;
}

.hero-dark-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--on-primary);
}

.hero-dark-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xxl);
}

.cream-callout h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.cream-callout p { font-size: 14px; line-height: 1.6; color: var(--body); margin-bottom: var(--spacing-xl); }

.cta-band {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.cta-band h2 { font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--ink); }
.cta-band p { font-size: 14px; color: var(--body); margin-top: var(--spacing-xs); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; } }

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

@media (max-width: 1023px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .tool-grid { grid-template-columns: 1fr; } }

.demo-card {
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  overflow: hidden;
}

.demo-card.peach { background: var(--signature-peach); }
.demo-card.mint { background: var(--signature-mint); }
.demo-card.yellow { background: var(--signature-yellow); }

.demo-card h3 { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); }
.demo-card p { font-size: 13px; color: var(--body); line-height: 1.5; }

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
}

@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-top: var(--spacing-sm); max-width: 320px; }

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-xs); }

.footer-col ul li a { font-size: 14px; color: var(--muted); }
.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom nav { display: flex; gap: var(--spacing-md); }
.footer-bottom nav a { font-size: 13px; color: var(--muted); }
.footer-bottom nav a:hover { color: var(--ink); }

.article-hero {
  padding: var(--spacing-section) 0 var(--spacing-xl);
  background: var(--canvas);
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
  max-width: 800px;
}

.article-hero .article-meta-full {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-top: var(--spacing-xl);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-xxl);
  padding: var(--spacing-xl) 0 var(--spacing-section);
}

@media (max-width: 1023px) { .article-layout { grid-template-columns: 1fr; } }

.article-body h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--spacing-xl) 0 var(--spacing-md); }
.article-body h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--spacing-lg) 0 var(--spacing-sm); }
.article-body p { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-md); }
.article-body ul, .article-body ol { padding-left: var(--spacing-xl); margin-bottom: var(--spacing-md); }
.article-body li { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-xs); }
.article-body a { color: var(--link); }
.article-body a:hover { color: var(--link-active); }
.article-body strong { font-weight: 500; color: var(--ink); }

.article-body img {
  width: 100%;
  border-radius: var(--rounded-md);
  margin: var(--spacing-xl) 0;
}

.article-body .info-box {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.article-body .info-box p { margin-bottom: 0; }

.article-sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.sidebar-card h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-sm); }
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: var(--spacing-xs); }
.sidebar-card ul li a { font-size: 14px; color: var(--link); line-height: 1.4; }

.page-hero { padding: var(--spacing-section) 0 var(--spacing-xl); background: var(--canvas); }

.page-hero h1 { font-size: 40px; font-weight: 400; line-height: 1.2; color: var(--ink); margin-bottom: var(--spacing-md); }

.page-hero p { font-size: 18px; color: var(--body); line-height: 1.5; max-width: 640px; }

.page-content { padding: var(--spacing-xl) 0 var(--spacing-section); max-width: 760px; }

.page-content h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--spacing-xl) 0 var(--spacing-md); }
.page-content h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--spacing-lg) 0 var(--spacing-sm); }
.page-content p { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-md); }
.page-content ul, .page-content ol { padding-left: var(--spacing-xl); margin-bottom: var(--spacing-md); }
.page-content li { font-size: 15px; line-height: 1.7; color: var(--body); margin-bottom: var(--spacing-xs); }
.page-content a { color: var(--link); }

.contact-form-wrap {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xxl);
  max-width: 560px;
  margin-top: var(--spacing-xl);
}

.contact-form-wrap h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-lg); }

.form-group { margin-bottom: var(--spacing-md); }

.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--spacing-xs); }

.form-group input, .form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group textarea { height: auto; min-height: 120px; resize: vertical; }

.form-group input:focus, .form-group textarea:focus { border-color: #458fff; }

.form-success {
  display: none;
  background: #e6f4ea;
  border-radius: var(--rounded-sm);
  padding: var(--spacing-md);
  font-size: 14px;
  color: #006400;
  margin-top: var(--spacing-md);
}

.breadcrumb {
  padding: var(--spacing-md) 0;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--hairline); }

.related-articles { padding: var(--spacing-section) 0; border-top: 1px solid var(--hairline); }
.related-articles h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin-bottom: var(--spacing-xl); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--spacing-lg) var(--spacing-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 13px; line-height: 1.5; opacity: 0.9; flex: 1; min-width: 240px; }
.cookie-banner p a { color: var(--signature-peach); }

.cookie-actions { display: flex; gap: var(--spacing-xs); flex-shrink: 0; }

.disclaimer-banner {
  background: var(--signature-cream);
  padding: var(--spacing-md) 0;
  text-align: center;
  font-size: 13px;
  color: var(--body);
  border-bottom: 1px solid var(--hairline);
}

.disclaimer-banner a { color: var(--link); }

@media (max-width: 767px) {
  .hero-content h1 { font-size: 28px; }
  .article-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .signature-coral-card h2,
  .signature-forest-card h2,
  .hero-dark-card h2,
  .cream-callout h2,
  .cta-band h2 { font-size: 24px; }
  .signature-coral-card,
  .signature-forest-card,
  .hero-dark-card,
  .cream-callout { padding: var(--spacing-xl); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { padding: var(--spacing-md); }
  .contact-form-wrap { padding: var(--spacing-xl); }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
