*, *::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;
  --sig-coral: #aa2d00;
  --sig-forest: #0a2e0e;
  --sig-cream: #f5e9d4;
  --sig-peach: #fcab79;
  --sig-mint: #a8d8c4;
  --sig-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --section: 96px;
  --max-w: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { max-width: 100%; height: auto; display: block; }

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

/* NAV */
.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-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.nav-logo span { color: var(--sig-coral); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}
.nav-links a:hover { color: var(--ink); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--canvas);
  padding: 32px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-size: 18px; color: var(--ink); font-weight: 500; }

/* HERO */
.hero {
  padding: var(--section) 0;
  background: var(--canvas);
}
.hero-inner {
  max-width: 700px;
}
.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  max-width: 560px;
}

/* SECTION BANDS */
.section-white { padding: var(--section) 0; background: var(--canvas); }
.section-soft { padding: var(--section) 0; background: var(--surface-soft); }
.section-cream { padding: var(--section) 0; background: var(--sig-cream); }
.section-dark { padding: var(--section) 0; background: var(--surface-dark); color: var(--on-primary); }
.section-coral { padding: var(--section) 0; background: var(--sig-coral); color: var(--on-primary); }

.section-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.section-label-light { color: rgba(255,255,255,0.6); }

.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}
.section-title-light { color: var(--on-primary); }

.section-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
  max-width: 640px;
}
.section-body-light { color: rgba(255,255,255,0.8); }

/* ARTICLE CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.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: 16px;
}
.article-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.article-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 10px;
}
.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.6;
  margin-bottom: 16px;
}
.article-card-meta {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

/* DEMO GRID */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.demo-card {
  border-radius: var(--rounded-md);
  padding: 24px;
  overflow: hidden;
}
.demo-card-peach { background: var(--sig-peach); }
.demo-card-mint { background: var(--sig-mint); }
.demo-card-yellow { background: var(--sig-yellow); }
.demo-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}
.demo-card p { font-size: 14px; color: var(--body); line-height: 1.6; }
.demo-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 16px;
}

/* SIGNATURE CARDS */
.sig-card {
  border-radius: var(--rounded-lg);
  padding: 48px;
}
.sig-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--on-primary);
  margin-bottom: 16px;
}
.sig-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { 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(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-secondary:hover { 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;
}
.btn-legal-reject {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: 1px solid var(--hairline);
  cursor: pointer;
}

/* FORM */
.contact-form {
  background: var(--surface-soft);
  border-radius: var(--rounded-lg);
  padding: 48px;
  max-width: 600px;
}
.contact-form h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-form p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  height: 44px;
  transition: border-color 0.15s;
}
.form-group textarea { height: 120px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #458fff;
}

/* STATS ROW */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--muted); }

/* TWO COLUMN */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-img {
  border-radius: var(--rounded-md);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ARTICLE PAGE */
.article-header {
  padding: var(--section) 0 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-breadcrumb a { color: var(--muted); }
.article-breadcrumb a:hover { color: var(--link); }
.article-header h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 720px;
  margin-bottom: 20px;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.article-meta span { display: flex; align-items: center; gap: 6px; }

.article-hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin: 48px 0;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
}
.article-content h2 {
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
  line-height: 1.3;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 32px 0 12px;
}
.article-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 20px;
}
.article-content ul, .article-content ol {
  margin: 16px 0 20px 24px;
}
.article-content li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 8px;
}
.article-content a { color: var(--link); }
.article-content blockquote {
  border-left: 3px solid var(--sig-coral);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--surface-soft);
  border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
}
.article-content blockquote p { margin: 0; font-style: italic; }
.article-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin: 32px 0;
}
.article-img-caption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: -24px;
  margin-bottom: 32px;
}

/* RELATED ARTICLES */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

/* CTA BAND */
.cta-band {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: 48px;
  text-align: center;
}
.cta-band h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-band p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 32px;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--section) 0 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-brand-name span { color: var(--sig-coral); }
.footer-brand-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 280px;
}
.footer-contact {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-legal { font-size: 13px; color: var(--muted); }
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--link); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: 24px;
  z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  display: none;
}
#cookie-banner.visible { display: block; }
#cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.6;
}
#cookie-banner a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* PAGE CONTENT (about, privacy, terms) */
.page-header {
  padding: var(--section) 0 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.page-header h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.page-content {
  padding: var(--section) 0;
  max-width: 720px;
}
.page-content h2 {
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 40px 0 12px;
}
.page-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 10px;
}
.page-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.page-content ul {
  margin: 12px 0 16px 24px;
}
.page-content li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.8;
  margin-bottom: 6px;
}
.disclaimer-box {
  background: var(--sig-cream);
  border-radius: var(--rounded-md);
  padding: 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}

/* UTILITY */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.gap-16 { gap: 16px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col-img { height: 280px; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .cards-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sig-card { padding: 32px 24px; }
  .sig-card h2 { font-size: 24px; }
  .contact-form { padding: 32px 24px; }
  .article-header h1 { font-size: 28px; }
  .article-hero-img { height: 280px; }
  #cookie-banner { left: 16px; right: 16px; bottom: 16px; }
  .cta-band { padding: 32px 24px; }
  .cta-band h2 { font-size: 24px; }
}
