*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #181d26;
  --body-text: #333840;
  --muted: #41454d;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --hairline: #dddddd;
  --link: #1b61c9;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --on-primary: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --section: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--canvas);
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* 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;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--coral); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  font-size: 14px;
  color: var(--body-text);
}

.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }

.nav-contact {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 8px 20px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: 80px 32px 40px;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 20px; font-weight: 400; color: var(--ink); }
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 768px) {
  .nav-links, .nav-contact { display: none; }
  .nav-hamburger { display: flex; }
}

/* HERO BAND */
.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}

.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 20px;
}

.hero-band p {
  font-size: 18px;
  font-weight: 400;
  color: var(--body-text);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.55;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-primary:hover { background: #0d1218; color: var(--on-primary); }

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: #9297a0; color: var(--ink); }

.btn-on-dark {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
}
.btn-on-dark:hover { color: var(--ink); }

.btn-legal {
  display: inline-block;
  background: var(--link);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

/* SECTIONS */
.section { padding: var(--section) 0; }

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

.section-sub {
  font-size: 16px;
  color: var(--body-text);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.5;
}

/* ARTICLE CARDS */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .article-grid { grid-template-columns: 1fr; }
}

.article-card {
  background: var(--canvas);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-card-body { padding: 20px; }

.article-card-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-card-meta {
  font-size: 13px;
  color: var(--muted);
}

/* SIGNATURE CORAL CARD */
.signature-coral {
  background: var(--coral);
  color: var(--on-primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 0 0 var(--section);
}

.signature-coral h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-coral p {
  font-size: 14px;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 560px;
}

/* SIGNATURE FOREST CARD */
.signature-forest {
  background: var(--forest);
  color: var(--on-primary);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.signature-forest h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-forest p {
  font-size: 14px;
  margin-bottom: 32px;
  opacity: 0.88;
  max-width: 560px;
}

/* DARK CARD */
.hero-card-dark {
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.hero-card-dark h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--on-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-card-dark p {
  font-size: 14px;
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 32px;
}

/* CREAM CALLOUT */
.cream-callout {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 48px;
}

.cream-callout h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.cream-callout p {
  font-size: 14px;
  color: var(--body-text);
  max-width: 560px;
  line-height: 1.6;
}

/* DEMO GRID */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) { .demo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-card {
  border-radius: var(--radius-md);
  padding: 24px;
}

.demo-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.demo-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
}

.demo-card-peach { background: var(--peach); }
.demo-card-mint { background: var(--mint); }
.demo-card-cream { background: var(--cream); }

/* CTA BAND LIGHT */
.cta-band-light {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
}

.cta-band-light h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-band-light p {
  font-size: 16px;
  color: var(--body-text);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* CONTACT FORM */
.contact-form {
  background: var(--surface-soft);
  border-radius: var(--radius-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(--muted);
  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);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: #458fff;
}

.form-group textarea { height: auto; min-height: 100px; resize: vertical; }

/* 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: 32px;
  margin-bottom: 64px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--muted); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { font-size: 13px; color: var(--muted); margin-left: 20px; }
.footer-bottom a:hover { color: var(--ink); }

/* ARTICLE PAGE */
.article-hero {
  padding: var(--section) 0 48px;
  background: var(--canvas);
}

.article-hero-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--coral);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 20px;
}

.article-hero-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.article-body {
  padding: 60px 0 var(--section);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
}

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
}

.article-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.35;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-content li {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-content a { color: var(--link); }

.article-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 32px 0;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.article-sidebar { position: sticky; top: 80px; align-self: start; }

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.sidebar-card ul { list-style: none; }
.sidebar-card ul li { margin-bottom: 10px; }
.sidebar-card ul li a { font-size: 14px; color: var(--link); line-height: 1.5; }

/* INFO BOX */
.info-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

.info-box h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
}

.info-box p, .info-box li {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
}

.info-box ul { padding-left: 20px; margin-top: 8px; }
.info-box li { margin-bottom: 6px; }

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* PAGE HERO (About / Privacy / Terms) */
.page-hero {
  padding: var(--section) 0 64px;
  background: var(--canvas);
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  max-width: 640px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--body-text);
  max-width: 560px;
  line-height: 1.55;
}

.page-content { padding: 0 0 var(--section); }

.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 48px 0 16px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 10px;
}

.page-content p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content li {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-content a { color: var(--link); }

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.contact-info strong { color: var(--ink); }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 999;
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 13px; opacity: 0.85; max-width: 640px; }
.cookie-banner a { color: #91afd9; text-decoration: underline; }

.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

.btn-cookie-accept, .btn-cookie-reject {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

.btn-cookie-accept { background: var(--link); color: var(--on-primary); }
.btn-cookie-reject { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.3); }

@media (max-width: 640px) {
  .cookie-banner { padding: 20px; }
  .cookie-actions { width: 100%; }
}

/* SCHEMA.ORG visually hidden */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-soft);
  border-left: 3px solid var(--hairline);
  padding: 16px 20px;
  margin: 32px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.disclaimer p { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 0; }

/* HERO BUTTON ROW */
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* TWO-COLUMN SECTION */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

.two-col img {
  width: 100%;
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.two-col-text h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.two-col-text p {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* STATS */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-item { text-align: center; }

.stat-item .stat-num {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--muted);
}

/* SURFACE SOFT BAND */
.surface-soft-band {
  background: var(--surface-soft);
  padding: var(--section) 0;
}
