: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;
  --info-border: #458fff;
  --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;
  --font-body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  flex: 1;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.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: 16px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 480px;
}

.hero-img {
  border-radius: var(--rounded-md);
  overflow: hidden;
}

.hero-img img {
  width: 100%;
  height: 380px;
  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(--rounded-lg);
  border: none;
  cursor: pointer;
}

.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;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  margin-left: var(--spacing-sm);
}

.btn-on-dark {
  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: none;
  cursor: pointer;
}

.section-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.section-band--soft {
  background: var(--surface-soft);
}

.section-heading {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.section-sub {
  font-size: 16px;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 620px;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.article-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card__body {
  padding: var(--spacing-md);
}

.article-card__tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  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__excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.article-card__meta {
  font-size: 13px;
  color: var(--muted);
}

.article-card__link {
  display: block;
  color: inherit;
}

.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;
  color: var(--on-primary);
  margin-bottom: var(--spacing-md);
}

.signature-coral-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.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;
  color: var(--on-primary);
  margin-bottom: var(--spacing-md);
}

.signature-forest-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: var(--spacing-lg);
}

.cream-callout h3 {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12px;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.cream-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.demo-card {
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
}

.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(--rounded-sm);
  margin-bottom: var(--spacing-sm);
  height: 160px;
  object-fit: cover;
}

.demo-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.demo-card__text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}

.cta-band-light {
  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);
}

.cta-band-light h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
}

.contact-form {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  max-width: 560px;
}

.contact-form h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.12px;
}

.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%;
  height: 44px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--info-border);
}

.form-group textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 var(--spacing-xl);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-heading {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: var(--spacing-xs); }
.footer-col ul li a,
.footer-col ul li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-xxl) 0;
  border-top: 1px solid var(--hairline);
}

.footer-legal p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-legal a { color: var(--muted); }

.footer-disclaimer {
  margin-top: var(--spacing-xs);
  font-size: 12px;
  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: 200;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
  color: rgba(255,255,255,0.85);
}

.cookie-banner p a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-banner__btns {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
  border: none;
  border-radius: var(--rounded-xs);
  padding: 12px 10px;
  font-size: 13.12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--rounded-xs);
  padding: 12px 10px;
  font-size: 13.12px;
  font-weight: 600;
  cursor: pointer;
}

.article-page { padding: var(--spacing-section) 0; }

.article-page .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--spacing-xxl);
}

.article-body h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.article-body h2 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.article-body ul, .article-body ol {
  margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
}

.article-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

.article-body img {
  border-radius: var(--rounded-md);
  margin: var(--spacing-xl) 0;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--hairline);
}

.article-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.sidebar-card h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: var(--spacing-xs); }
.sidebar-card ul li a { font-size: 14px; color: var(--link); }

.page-header {
  padding: var(--spacing-section) 0 var(--spacing-xl);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.page-header h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.page-header p {
  font-size: 16px;
  color: var(--body);
}

.page-content {
  padding: var(--spacing-section) 0;
}

.page-content h2 {
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.page-content h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
  max-width: 760px;
}

.page-content ul {
  margin: var(--spacing-md) 0 var(--spacing-md) var(--spacing-xl);
}

.page-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: start;
}

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-page .container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-md); }
  .nav-inner { padding: 0 var(--spacing-md); }
  .nav-menu {
    display: none;
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--spacing-lg);
    border-top: 1px solid var(--hairline);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    width: 100%;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
  }
  .nav-hamburger { display: flex; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .hero-content h1 { font-size: 32px; }
  .article-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 0 var(--spacing-md); }
  .footer-legal { padding: var(--spacing-lg) var(--spacing-md) 0; }
  .cta-band-light { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; padding: var(--spacing-md); }
  .section-heading { font-size: 24px; }
  .signature-coral-card h2,
  .signature-forest-card h2 { font-size: 24px; }
  .article-body h1 { font-size: 28px; }
}
