*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #181d26;
  --ink-active: #0d1218;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --surface-dark-elevated: #1d1f25;
  --hairline: #dddddd;
  --body-color: #333840;
  --muted: #41454d;
  --border-strong: #9297a0;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --yellow: #f4d35e;
  --mustard: #d9a441;
  --success: #006400;
  --r-xs: 2px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
  --r-pill: 9999px;
  --r-full: 50%;
  --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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body-color);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-active); }

img { display: block; max-width: 100%; height: auto; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-xxl);
}

/* ── TOP NAV ── */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  display: flex;
  align-items: center;
}

.top-nav .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
}

.nav-brand {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.4;
}

.nav-brand span { color: var(--coral); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.25;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); }

.nav-right {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  flex-shrink: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 20px;
  border-radius: var(--r-lg);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--ink-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: 10px 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: var(--border-strong); color: var(--ink); }

.btn-legal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--link);
  color: var(--on-primary);
  font-size: 13.12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 12px 10px;
  border-radius: var(--r-xs);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── HERO BAND ── */
.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-content h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.hero-content p {
  font-size: 14px;
  font-weight: 400;
  color: var(--body-color);
  line-height: 1.25;
  margin-bottom: var(--sp-xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-image {
  border-radius: var(--r-md);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

/* ── SECTION LABELS ── */
.section-label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--sp-md);
}

/* ── EDITORIAL BODY ── */
.editorial-band {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}

.editorial-band h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.editorial-band h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.12px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.editorial-band p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
  margin-bottom: var(--sp-md);
}

/* ── SIGNATURE CORAL CARD ── */
.signature-coral-card {
  background: var(--coral);
  border-radius: var(--r-lg);
  padding: var(--sp-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(--sp-md);
}

.signature-coral-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.25;
  margin-bottom: var(--sp-xl);
  max-width: 560px;
}

/* ── SIGNATURE FOREST CARD ── */
.signature-forest-card {
  background: var(--forest);
  border-radius: var(--r-lg);
  padding: var(--sp-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(--sp-md);
}

.signature-forest-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.25;
  margin-bottom: var(--sp-xl);
  max-width: 560px;
}

/* ── HERO CARD DARK ── */
.hero-card-dark {
  background: var(--surface-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  color: var(--on-primary);
}

.hero-card-dark h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--on-primary);
  margin-bottom: var(--sp-md);
  line-height: 1.2;
}

.hero-card-dark p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.25;
  margin-bottom: var(--sp-xl);
  max-width: 560px;
}

/* ── CREAM CALLOUT BAND ── */
.cream-band {
  background: var(--cream);
  padding: var(--sp-section) 0;
}

.cream-callout-card {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: var(--sp-lg);
}

.cream-callout-card h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
  line-height: 1.2;
}

.cream-callout-card p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
  margin-bottom: var(--sp-md);
}

/* ── DEMO GRID ── */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.demo-card {
  border-radius: var(--r-md);
  padding: var(--sp-md);
  background: var(--canvas);
}

.demo-card-peach { background: var(--peach); }
.demo-card-mint { background: var(--mint); }
.demo-card-yellow { background: var(--yellow); }
.demo-card-cream { background: var(--cream); }
.demo-card-forest { background: var(--forest); color: var(--on-primary); }
.demo-card-soft { background: var(--surface-soft); }

.demo-card h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.demo-card-forest h3 { color: var(--on-primary); }

.demo-card p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
}

.demo-card-forest p { color: rgba(255,255,255,0.8); }

.demo-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-md);
}

/* ── ARTICLE CARD ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.article-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  border: 1px solid var(--hairline);
}

.article-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-md);
}

.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 h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}

.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--link); }

.article-card p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
  margin-bottom: var(--sp-md);
}

.article-card .meta {
  font-size: 13.12px;
  font-weight: 500;
  color: var(--muted);
}

/* ── CTA BAND LIGHT ── */
.cta-band-light {
  background: var(--surface-strong);
  padding: var(--sp-section) 0;
}

.cta-band-light-inner {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: var(--sp-xxl);
  text-align: center;
}

.cta-band-light-inner h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
  line-height: 1.2;
}

.cta-band-light-inner p {
  font-size: 14px;
  color: var(--body-color);
  margin-bottom: var(--sp-xl);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ── TEXT INPUT ── */
.text-input {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline);
  outline: none;
  width: 100%;
  font-family: var(--font);
}

.text-input:focus { border-color: #458fff; }

/* ── CONTACT FORM ── */
.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.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-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid var(--success);
  border-radius: var(--r-md);
  padding: var(--sp-md);
  color: var(--success);
  font-size: 14px;
  margin-top: var(--sp-md);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--sp-section) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.25;
  margin-top: var(--sp-md);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.25;
}

.footer-col ul a:hover { color: var(--ink); }

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-legal p {
  font-size: 14px;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  gap: var(--sp-lg);
  list-style: none;
}

.footer-legal-links a {
  font-size: 14px;
  color: var(--muted);
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--sp-lg) var(--sp-xxl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-lg);
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.25;
  flex: 1;
  min-width: 280px;
}

.cookie-banner p a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: var(--sp-xs);
  flex-shrink: 0;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--surface-soft);
  padding: var(--sp-xxl) 0;
  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(--sp-md);
}

.page-header p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
  max-width: 640px;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}

.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--link); }

/* ── ARTICLE PAGE ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-xxl);
  padding: var(--sp-section) 0;
}

.article-body h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: var(--sp-lg);
}

.article-body h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-top: var(--sp-xxl);
  margin-bottom: var(--sp-md);
}

.article-body h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  margin-top: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.article-body p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.25;
  margin-bottom: var(--sp-md);
}

.article-body ul, .article-body ol {
  margin-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.article-body li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.4;
  margin-bottom: var(--sp-xs);
}

.article-body a { color: var(--link); }
.article-body a:hover { color: var(--link-active); }

.article-body img {
  width: 100%;
  border-radius: var(--r-md);
  margin: var(--sp-xl) 0;
}

.article-meta {
  font-size: 13.12px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  gap: var(--sp-md);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--hairline);
  flex-wrap: wrap;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-card {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}

.sidebar-card h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.sidebar-card ul a {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.4;
}

.sidebar-card ul a:hover { color: var(--link); }

/* ── ABOUT / LEGAL PAGES ── */
.prose-content {
  padding: var(--sp-section) 0;
  max-width: 760px;
}

.prose-content h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
  margin-top: var(--sp-xxl);
  line-height: 1.2;
}

.prose-content h2:first-of-type { margin-top: 0; }

.prose-content h3 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--sp-md);
  margin-top: var(--sp-xl);
}

.prose-content p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.4;
  margin-bottom: var(--sp-md);
}

.prose-content ul, .prose-content ol {
  margin-left: var(--sp-xl);
  margin-bottom: var(--sp-md);
}

.prose-content li {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.4;
  margin-bottom: var(--sp-xs);
}

.prose-content a { color: var(--link); }
.prose-content a:hover { color: var(--link-active); }

.info-box {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: var(--sp-xl);
  margin: var(--sp-xl) 0;
  border: 1px solid var(--hairline);
}

.info-box h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.info-box p { font-size: 14px; color: var(--body-color); }

/* ── MOBILE NAV SHEET ── */
.nav-sheet {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: var(--sp-xxl) var(--sp-lg);
}

.nav-sheet.open { display: flex; }

.nav-sheet-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
  margin-bottom: var(--sp-xl);
}

.nav-sheet ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
}

.nav-sheet ul a {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--sp-md); }
  .nav-links, .nav-right { display: none; }
  .nav-hamburger { display: flex; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content h1 { font-size: 32px; }
  .demo-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: var(--sp-md); }
  .page-header h1 { font-size: 28px; }
  .article-body h1 { font-size: 28px; }
  .prose-content h2 { font-size: 24px; }
  .signature-coral-card h2,
  .signature-forest-card h2,
  .hero-card-dark h2,
  .cream-callout-card h2 { font-size: 24px; }
  .cta-band-light-inner h2 { font-size: 24px; }
}

/* ── UTILITY ── */
.mt-section { margin-top: var(--sp-section); }
.mb-section { margin-bottom: var(--sp-section); }
.text-center { text-align: center; }
.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; }

.divider {
  height: 1px;
  background: var(--hairline);
  border: none;
  margin: 0;
}

.updated-date {
  font-size: 13.12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.16px;
}
