@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;
  --hairline: #dddddd;
  --ink: #181d26;
  --body-color: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 96px;
  --max-width: 1280px;
}

html { 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-color);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:active { color: #1a3866; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xxl);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xxl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-logo {
  font-family: 'Inter Display', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo span { color: var(--muted); }

.nav-list {
  display: flex;
  gap: var(--space-xl);
  margin-left: auto;
}
.nav-list a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
}
.nav-list li.active a { color: var(--ink); font-weight: 500; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: var(--space-xs);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-band {
  padding: var(--space-section) 0;
  background: var(--canvas);
}
.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-section);
  align-items: center;
}
.hero-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.hero-h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}
.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-color);
  margin-bottom: var(--space-xl);
  max-width: 480px;
}
.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

.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(--radius-lg);
  cursor: pointer;
  border: none;
}
.btn-primary:active { 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;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}

.section-editorial {
  padding: var(--space-section) 0;
  background: var(--canvas);
}

.section-title {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}

.section-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-color);
  max-width: 640px;
  margin-bottom: var(--space-xl);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.article-card {
  background: var(--canvas);
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: var(--space-md); }
.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: var(--space-xs);
}
.article-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.article-card-title a { color: inherit; }
.article-card-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-sm);
}
.article-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-color);
}

.signature-coral-card {
  background: var(--signature-coral);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  color: var(--on-primary);
}
.signature-coral-card .section-title { color: var(--on-primary); }
.signature-coral-card p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.6; margin-bottom: var(--space-xl); max-width: 560px; }

.signature-forest-card {
  background: var(--signature-forest);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  color: var(--on-primary);
}
.signature-forest-card .section-title { color: var(--on-primary); }
.signature-forest-card p { color: rgba(255,255,255,0.85); font-size: 16px; line-height: 1.6; margin-bottom: var(--space-xl); max-width: 560px; }

.hero-card-dark {
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  color: var(--on-primary);
}
.hero-card-dark .section-title { color: var(--on-primary); font-size: 32px; }
.hero-card-dark p { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.6; margin-bottom: var(--space-xl); max-width: 600px; }

.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-xxl);
}
.cream-callout .section-title { font-size: 24px; }

.section-band {
  padding: var(--space-section) 0;
}
.section-band-soft { background: var(--surface-soft); }
.section-band-strong { background: var(--surface-strong); }

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.demo-card {
  border-radius: var(--radius-md);
  padding: var(--space-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 img { width: 100%; border-radius: var(--radius-sm); margin-bottom: var(--space-sm); aspect-ratio: 4/3; object-fit: cover; }
.demo-card-title { font-size: 16px; font-weight: 500; color: var(--ink); margin-bottom: var(--space-xs); }
.demo-card-text { font-size: 13px; color: var(--body-color); line-height: 1.5; }

.cta-band {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}
.cta-band h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  max-width: 500px;
  line-height: 1.2;
}

.contact-form-wrap {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  max-width: 540px;
}
.contact-form-wrap h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}
.form-row { margin-bottom: var(--space-md); }
.form-row label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--space-xs); }
.form-row input, .form-row textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px var(--space-md);
  height: 44px;
}
.form-row textarea { height: auto; min-height: 80px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: #458fff;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
}
.article-content h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.article-content h2 {
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--space-xl) 0 var(--space-md);
  line-height: 1.3;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--space-lg) 0 var(--space-sm);
}
.article-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: var(--space-lg);
}
.article-content ul, .article-content ol {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.article-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: var(--space-xs);
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--space-xl);
  letter-spacing: 0.05em;
}
.article-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-xl);
  aspect-ratio: 16/9;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-img-inline {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-xl) 0;
}
.article-img-inline img { width: 100%; }
.article-img-caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--space-xs);
}

.page-header {
  padding: var(--space-section) 0 var(--space-xl);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: var(--space-section);
}
.page-header h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.page-header p { font-size: 16px; color: var(--body-color); max-width: 560px; line-height: 1.6; }

.prose h2 { font-size: 24px; font-weight: 400; color: var(--ink); margin: var(--space-xl) 0 var(--space-md); }
.prose h3 { font-size: 18px; font-weight: 500; color: var(--ink); margin: var(--space-lg) 0 var(--space-sm); }
.prose p { font-size: 15px; line-height: 1.7; color: var(--body-color); margin-bottom: var(--space-md); }
.prose ul { list-style: disc; padding-left: var(--space-lg); margin-bottom: var(--space-md); }
.prose li { font-size: 15px; line-height: 1.7; color: var(--body-color); margin-bottom: var(--space-xs); }
.prose a { color: var(--link); }

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--space-section) 0 var(--space-xl);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xxl);
}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-col strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: var(--space-md); }
.footer-col p, .footer-col a { font-size: 14px; color: var(--muted); line-height: 1.6; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer-col li a { font-size: 14px; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--space-lg);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--space-lg) var(--space-xxl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  z-index: 200;
  flex-wrap: wrap;
}
.cookie-banner p { font-size: 14px; line-height: 1.5; flex: 1; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: #7fb3ff; }
.cookie-btns { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.btn-legal {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  padding: 12px 10px;
  border: none;
  cursor: pointer;
}
.btn-legal-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13.12px;
  font-weight: 600;
  border-radius: var(--radius-xs);
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: var(--space-lg); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .hero-band .container { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-img-wrap { max-width: 600px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
  .nav-inner { padding: 0 var(--space-md); }
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-md);
  }
  .nav-list.open { display: flex; }
  .articles-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .section-band { padding: var(--space-xxl) 0; }
  .section-editorial { padding: var(--space-xxl) 0; }
  .hero-band { padding: var(--space-xxl) 0; }
  .hero-h1 { font-size: 28px; }
  .site-footer { padding: var(--space-xxl) 0 var(--space-lg); }
  .footer-inner { padding: 0 var(--space-md); }
  .cookie-banner { padding: var(--space-md); }
  .signature-coral-card, .signature-forest-card, .hero-card-dark { padding: var(--space-xl); }
  .article-content h1 { font-size: 28px; }
}
