@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Display:wght@400;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: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-mint: #a8d8c4;
  --signature-peach: #fcab79;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --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.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: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* TOP NAV */
.top-nav {
  height: 64px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: 'Inter Display', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span { color: var(--signature-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);
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  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);
  text-decoration: none;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s;
}

.btn-primary:hover, .btn-primary:active { background: var(--primary-active); color: var(--on-primary); }

.btn-secondary {
  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);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }

.btn-secondary-on-dark {
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  text-decoration: none;
  display: inline-block;
}

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* HERO */
.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content {}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-sub {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image img {
  width: 100%;
  border-radius: var(--rounded-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* SECTION HEADINGS */
.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Inter Display', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-body {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  max-width: 600px;
}

/* ARTICLE CARDS */
.articles-section {
  padding: var(--section) 0;
  background: var(--canvas);
}

.articles-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;
  text-decoration: none;
  display: block;
}

.article-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body { padding: 16px; }

.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16px;
  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: 8px;
}

.article-card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 12px;
}

.article-card-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
}

/* SIGNATURE CORAL CARD */
.signature-coral-card {
  background: var(--signature-coral);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: 48px;
  margin: 0 48px;
}

.signature-coral-card .section-eyebrow { color: rgba(255,255,255,0.7); }

.signature-coral-card .section-title {
  color: var(--on-primary);
  font-size: 32px;
  max-width: 600px;
}

.signature-coral-card .section-body {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}

.signature-band {
  padding: var(--section) 0;
}

/* FOREST CARD */
.signature-forest-card {
  background: var(--signature-forest);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: 48px;
}

.signature-forest-card .section-title { color: var(--on-primary); }
.signature-forest-card .section-body { color: rgba(255,255,255,0.8); margin-bottom: 32px; }

/* DEMO GRID */
.demo-grid-section {
  padding: var(--section) 0;
  background: var(--canvas);
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.demo-grid-card {
  border-radius: var(--rounded-md);
  padding: 24px;
  overflow: hidden;
}

.demo-grid-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--rounded-sm);
  margin-bottom: 16px;
}

.demo-grid-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.demo-grid-card-text {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

.demo-card-mint { background: var(--signature-mint); }
.demo-card-peach { background: var(--signature-peach); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card-yellow { background: var(--signature-yellow); }

/* CREAM CALLOUT */
.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: 48px;
}

.cream-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cream-callout .section-title { font-size: 28px; }

.cream-callout-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cream-callout-fact {
  background: var(--canvas);
  border-radius: var(--rounded-sm);
  padding: 16px 20px;
}

.cream-callout-fact strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  display: block;
}

.cream-callout-fact span {
  font-size: 13px;
  color: var(--muted);
}

/* DARK CTA CARD */
.hero-card-dark {
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.hero-card-dark .section-title {
  color: var(--on-primary);
  font-size: 28px;
  margin-bottom: 12px;
}

.hero-card-dark .section-body { color: rgba(255,255,255,0.75); max-width: 480px; }

/* CTA BAND */
.cta-band {
  background: var(--surface-strong);
  padding: var(--section) 0;
}

.cta-band-inner {
  border-radius: var(--rounded-lg);
  text-align: center;
  padding: 48px;
}

.cta-band .section-title { margin: 0 auto 16px; }
.cta-band .section-body { margin: 0 auto 32px; }
.cta-band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* CONTACT FORM */
.contact-section {
  padding: var(--section) 0;
  background: var(--canvas);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-info-item {}

.contact-info-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--ink);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.form-input {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: #458fff; }

.form-btn {
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  align-self: flex-start;
}

.form-btn:hover { background: var(--primary-active); }

/* FOOTER */
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: 48px;
}

.footer-brand {}

.footer-logo {
  font-family: 'Inter Display', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
  display: block;
}

.footer-logo span { color: var(--signature-coral); }

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

/* ARTICLE PAGE */
.article-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.article-breadcrumb a { color: var(--link); }
.article-breadcrumb span { margin: 0 8px; }

.article-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 720px;
  letter-spacing: -0.5px;
}

.article-meta {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-bottom: 32px;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--rounded-md);
}

.article-layout {
  padding: 48px 0 var(--section);
}

.article-body-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.article-content h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-content a { color: var(--link); }

.article-content .inline-img {
  width: 100%;
  border-radius: var(--rounded-md);
  margin: 28px 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.sidebar-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.sidebar-links a {
  font-size: 14px;
  color: var(--link);
}

/* INTERNAL PAGES */
.page-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.page-h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-sub {
  font-size: 15px;
  color: var(--body);
  max-width: 560px;
}

.page-body {
  padding: 48px 0 var(--section);
  max-width: 760px;
}

.page-body h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 36px 0 14px;
}

.page-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-body ul {
  padding-left: 22px;
  margin-bottom: 18px;
}

.page-body li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

/* UPDATED DATE */
.updated-badge {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-soft);
  border-radius: var(--rounded-xs);
  padding: 4px 10px;
  margin-bottom: 16px;
}

/* COOKIE BANNER */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface-dark);
  color: var(--on-primary);
  z-index: 9999;
  padding: 20px 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
}

.cookie-text a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  font-family: inherit;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: none;
  cursor: pointer;
}

.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  font-size: 13.12px;
  font-weight: 600;
  font-family: inherit;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

/* DISCLAIMER */
.disclaimer-banner {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  text-align: center;
}

.disclaimer-banner p {
  font-size: 12px;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .demo-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-body-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .cream-callout-grid { grid-template-columns: 1fr; }
  .hero-card-dark { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  :root { --section: 64px; }

  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: var(--canvas);
    padding: 32px 20px;
    gap: 24px;
    z-index: 99;
    border-top: 1px solid var(--hairline);
  }

  .nav-links.open a { font-size: 18px; }

  .hero-band .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; }
  .hero-h1 { font-size: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .signature-coral-card { margin: 0; padding: 32px 24px; }
  .signature-forest-card { padding: 32px 24px; }
  .hero-card-dark { padding: 32px 24px; }
  .cream-callout { padding: 32px 24px; }
  .article-h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
