@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Display:wght@400;475;500&display=swap');

*, *::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;
  --signature-mustard: #d9a441;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --rounded-full: 9999px;
  --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, 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:active { color: var(--link-active); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

.top-nav {
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  line-height: 1.25;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
  transition: background 0.15s;
}

.btn-primary:active { background: var(--primary-active); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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;
  transition: border-color 0.15s;
}

.btn-secondary-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  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: none;
  cursor: pointer;
}

.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 720px;
}

.hero-band h1 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: 0;
  margin-bottom: var(--spacing-lg);
}

.hero-band .hero-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.hero-band .btn-row {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.section-band {
  padding: var(--spacing-section) 0;
}

.section-band--soft { background: var(--surface-soft); }
.section-band--cream { background: var(--signature-cream); }
.section-band--strong { background: var(--surface-strong); }

.section-title {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.section-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
}

.signature-coral-card {
  background: var(--signature-coral);
  padding: var(--spacing-xxl);
  border-radius: var(--rounded-lg);
  color: var(--on-primary);
}

.signature-coral-card h2 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--on-primary);
  margin-bottom: var(--spacing-lg);
}

.signature-coral-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--on-primary);
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.signature-dark-card {
  background: var(--surface-dark);
  padding: var(--spacing-xxl);
  border-radius: var(--rounded-lg);
  color: var(--on-primary);
}

.signature-dark-card h2 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--on-primary);
  margin-bottom: var(--spacing-lg);
}

.signature-dark-card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--on-primary);
  opacity: 0.85;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.card-grid--2col { grid-template-columns: repeat(2, 1fr); }
.card-grid--4col { grid-template-columns: repeat(4, 1fr); }

.demo-grid-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.demo-grid-card--peach { background: var(--signature-peach); border: none; }
.demo-grid-card--mint { background: var(--signature-mint); border: none; }
.demo-grid-card--cream { background: var(--signature-cream); border: none; }
.demo-grid-card--yellow { background: var(--signature-yellow); border: none; }

.demo-grid-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--rounded-sm);
  margin-bottom: var(--spacing-sm);
}

.demo-grid-card .card-label {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.demo-grid-card .card-meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
}

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-bottom: var(--spacing-sm);
}

.article-card .article-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}

.article-card h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.article-card .article-meta {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--muted);
  margin-top: auto;
  padding-top: var(--spacing-sm);
}

.article-card a { color: inherit; }
.article-card h3 a { color: var(--ink); }

.cta-band-light {
  background: var(--surface-strong);
  padding: var(--spacing-xxl);
  border-radius: var(--rounded-lg);
}

.cta-band-light h2 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.text-input {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  outline: none;
  width: 100%;
}

.text-input:focus { border-color: #458fff; }

textarea.text-input { height: auto; min-height: 100px; resize: vertical; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  max-width: 600px;
}

.contact-form .full-width { grid-column: 1 / -1; }

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.logo-strip {
  padding: var(--spacing-xl) 0;
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.logo-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xxl);
  flex-wrap: wrap;
}

.logo-strip .trust-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}

.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer .footer-brand {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.footer .footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.footer h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.footer ul { list-style: none; }
.footer ul li { margin-bottom: var(--spacing-xs); }
.footer ul a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.25;
}

.footer .footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.footer .footer-legal p {
  font-size: 14px;
  color: var(--muted);
}

.footer .footer-legal-links {
  display: flex;
  gap: var(--spacing-md);
}

.footer .footer-legal-links a {
  font-size: 14px;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  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);
  z-index: 1000;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--on-primary);
  opacity: 0.9;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a { color: #6ea6f5; }

.cookie-banner-btns {
  display: flex;
  gap: var(--spacing-sm);
}

.btn-cookie-accept {
  background: var(--canvas);
  color: var(--ink);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

.breadcrumb {
  padding: var(--spacing-md) 0;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { color: var(--hairline); }

.article-page {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--spacing-section) var(--spacing-xxl);
}

.article-page h1 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.article-page h2 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

.article-page h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}

.article-page p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.article-page ul, .article-page ol {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.article-page li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

.article-page img {
  width: 100%;
  border-radius: var(--rounded-md);
  margin: var(--spacing-xl) 0;
}

.article-page .article-date {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16px;
  margin-bottom: var(--spacing-xl);
}

.related-articles {
  padding: var(--spacing-section) 0;
  background: var(--surface-soft);
}

.related-articles h2 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-xl);
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-section) var(--spacing-xxl);
}

.page-content h1 {
  font-family: 'Inter Display', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-xl);
}

.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content p, .page-content li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.page-content ul { padding-left: var(--spacing-lg); }

.page-content .last-updated {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16px;
  margin-bottom: var(--spacing-xl);
}

.disclaimer-box {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  margin: var(--spacing-xl) 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

.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: 1px;
}

@media (max-width: 1024px) {
  .card-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-md); }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--canvas);
    padding: var(--spacing-xl) var(--spacing-md);
    gap: var(--spacing-md);
    z-index: 99;
    overflow-y: auto;
  }
  .hero-band h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid--2col { grid-template-columns: 1fr; }
  .card-grid--4col { grid-template-columns: 1fr; }
  .footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-page { padding: var(--spacing-xl) var(--spacing-md); }
  .article-page h1 { font-size: 28px; }
  .page-content { padding: var(--spacing-xl) var(--spacing-md); }
  .contact-form { grid-template-columns: 1fr; }
  .cookie-banner { padding: var(--spacing-md); }
  .signature-coral-card { padding: var(--spacing-xl); }
  .signature-dark-card { padding: var(--spacing-xl); }
  .cta-band-light { padding: var(--spacing-xl); }
  .cta-band-light h2 { font-size: 24px; }
  .signature-coral-card h2 { font-size: 24px; }
  .signature-dark-card h2 { font-size: 24px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
