@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-text: #333840;
  --muted: #41454d;
  --border-strong: #9297a0;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --info-border: #458fff;
  --sig-coral: #aa2d00;
  --sig-forest: #0a2e0e;
  --sig-cream: #f5e9d4;
  --sig-peach: #fcab79;
  --sig-mint: #a8d8c4;
  --sig-yellow: #f4d35e;
  --sig-mustard: #d9a441;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 9999px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
  --max-w: 1280px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 14px; font-weight: 400; line-height: 1.25; color: var(--body-text); background: var(--canvas); }

a { color: var(--link); text-decoration: none; }
a:active { color: var(--link-active); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
address { font-style: normal; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: var(--sp-xl);
}
.logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  gap: var(--sp-xl);
  margin-left: auto;
}
.main-nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.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(--r-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:active { background: var(--primary-active); color: var(--on-primary); }

.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(--r-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
}

.hero-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}
.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-tag {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}
.hero-title {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}
.hero-img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.section-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}
.section-band.soft { background: var(--surface-soft); }
.section-band.cream { background: var(--sig-cream); }
.section-band.dark { background: var(--surface-dark); }

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.section-title.on-dark { color: var(--on-primary); }
.section-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 640px;
}
.section-body.on-dark { color: rgba(255,255,255,0.8); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}
.article-card {
  background: var(--canvas);
  border-radius: var(--r-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;
}
.article-card-body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-card-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}
.article-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}
.article-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
  margin-bottom: var(--sp-md);
  flex: 1;
}
.article-card-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
}
.article-card a.card-link {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-top: var(--sp-sm);
}

.sig-card {
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
}
.sig-card.coral { background: var(--sig-coral); }
.sig-card.forest { background: var(--sig-forest); }
.sig-card.dark { background: var(--surface-dark); }
.sig-card .sig-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--on-primary);
  margin-bottom: var(--sp-md);
}
.sig-card .sig-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--sp-xl);
  max-width: 560px;
}
.sig-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}

.cta-band {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}
.cta-band-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 500px;
}
.cta-band-wrap { padding: var(--sp-section) 0; }

.contact-form {
  background: var(--surface-soft);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  max-width: 560px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}
.form-group {
  margin-bottom: var(--sp-md);
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--hairline);
  height: 44px;
  outline: none;
}
.form-group textarea { height: auto; min-height: 100px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--info-border); }

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: var(--sp-section) 0 var(--sp-xl);
  background: var(--canvas);
}
.footer-inner {}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: var(--sp-sm);
}
.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.footer-col strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: var(--sp-md);
}
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul li a,
.footer-col address a {
  font-size: 14px;
  color: var(--muted);
}
.footer-col address {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-xl);
}
.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.footer-disclaimer {
  margin-top: var(--sp-xs);
  font-size: 12px;
}

.article-hero {
  padding: var(--sp-section) 0 var(--sp-xl);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb span { margin: 0 6px; }
.article-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
  max-width: 800px;
}
.article-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-bottom: var(--sp-xl);
}
.article-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-top: var(--sp-xl);
}
.article-body {
  padding: var(--sp-section) 0;
}
.article-content {
  max-width: 720px;
}
.article-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
  letter-spacing: 0.12px;
}
.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.article-content p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: var(--sp-md);
}
.article-content ul,
.article-content ol {
  list-style: disc;
  padding-left: var(--sp-lg);
  margin-bottom: var(--sp-md);
}
.article-content ol { list-style: decimal; }
.article-content li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: var(--sp-xs);
}
.article-content a { color: var(--link); }
.article-content a:active { color: var(--link-active); }
.article-content figure {
  margin: var(--sp-xxl) 0;
}
.article-content figure img {
  width: 100%;
  border-radius: var(--r-md);
  object-fit: cover;
}
.article-content figcaption {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-top: var(--sp-sm);
}
.article-updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-md);
  border-top: 1px solid var(--hairline);
}

.page-hero {
  padding: var(--sp-section) 0 var(--sp-xl);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.page-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.page-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-text);
  max-width: 600px;
}
.page-content {
  padding: var(--sp-section) 0;
}
.page-body {
  max-width: 720px;
}
.page-body h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
  letter-spacing: 0.12px;
}
.page-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.page-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: var(--sp-md);
}
.page-body ul {
  list-style: disc;
  padding-left: var(--sp-lg);
  margin-bottom: var(--sp-md);
}
.page-body li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-text);
  margin-bottom: var(--sp-xs);
}
.page-body a { color: var(--link); }

.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--sp-lg) var(--sp-xxl);
  align-items: center;
  gap: var(--sp-xxl);
  flex-wrap: wrap;
}
.cookie-banner.visible { display: flex; }
.cookie-text {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  flex: 1;
  min-width: 200px;
}
.cookie-text a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xl);
}
.demo-card {
  border-radius: var(--r-md);
  padding: var(--sp-md);
  overflow: hidden;
}
.demo-card.peach { background: var(--sig-peach); }
.demo-card.mint  { background: var(--sig-mint); }
.demo-card.cream { background: var(--sig-cream); }
.demo-card.yellow { background: var(--sig-yellow); }
.demo-card.mustard { background: var(--sig-mustard); }
.demo-card-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
  line-height: 1.4;
}
.demo-card-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body-text);
}

@media (max-width: 1024px) {
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-desc { max-width: 100%; }
  .hero-img { max-height: 320px; width: 100%; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
  .sig-card-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .main-nav { display: none; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: var(--canvas); padding: var(--sp-xxl) var(--sp-xl); gap: var(--sp-xl); z-index: 99; overflow-y: auto; }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 28px; }
  .section-title { font-size: 24px; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .sig-card { padding: var(--sp-xl); }
  .sig-card .sig-title { font-size: 24px; }
  .article-h1 { font-size: 28px; }
  .page-h1 { font-size: 28px; }
  .cta-band { padding: var(--sp-xl); }
  .cta-band-title { font-size: 24px; }
  .cookie-banner { padding: var(--sp-md); gap: var(--sp-md); }
  .demo-grid { grid-template-columns: 1fr; }
  .contact-form { padding: var(--sp-xl); }
}
