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

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

html { scroll-behavior: smooth; }

body {
  font-family: -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-color);
  background: var(--canvas);
}

a { color: var(--link); text-decoration: none; }
a:active { color: #1a3866; }

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

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

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

/* NAV */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.logo span { color: var(--signature-coral); }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 14px;
  color: var(--body-color);
  font-weight: 400;
}
.main-nav a:active { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 8px 20px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--hairline); }
  .main-nav a:last-child { border-bottom: none; }
}

/* HERO */
.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}
.hero-band .container { max-width: 740px; margin-left: 0; padding-left: 48px; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-band p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body-color);
  max-width: 580px;
}

@media (max-width: 768px) {
  .hero-band { padding: 64px 0; }
  .hero-band .container { padding-left: 20px; }
  .hero-band h1 { font-size: 28px; }
  .hero-band p { font-size: 16px; }
}

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

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

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

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

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

.article-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-bottom: 8px;
}

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

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

.article-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

/* SIGNATURE CARDS */
.signature-coral {
  background: var(--signature-coral);
  border-radius: var(--rounded-lg);
  padding: 48px;
  color: var(--on-primary);
}
.signature-coral h2 { font-size: 32px; font-weight: 400; margin-bottom: 16px; }
.signature-coral p { font-size: 14px; line-height: 1.6; max-width: 560px; }

.signature-forest {
  background: var(--signature-forest);
  border-radius: var(--rounded-lg);
  padding: 48px;
  color: var(--on-primary);
}
.signature-forest h2 { font-size: 32px; font-weight: 400; margin-bottom: 16px; }
.signature-forest p { font-size: 14px; line-height: 1.6; max-width: 560px; }

.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-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-color); line-height: 1.6; max-width: 600px; }

/* DARK BAND */
.dark-band {
  background: var(--surface-dark);
  padding: var(--section) 0;
}
.dark-band h2 { font-size: 32px; font-weight: 400; color: var(--on-primary); margin-bottom: 16px; }
.dark-band p { font-size: 14px; color: #a0a8b4; line-height: 1.6; max-width: 560px; }

/* CTA BAND */
.cta-band {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 32px; font-weight: 400; color: var(--ink); }
.cta-band p { font-size: 14px; color: var(--body-color); margin-top: 8px; max-width: 480px; }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:active { 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 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
}

.btn-legal {
  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 {
  background: transparent;
  color: var(--body-color);
  border: 1px solid var(--hairline);
}

/* SECTION TITLES */
.section-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.12px;
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}

/* FEATURE IMG */
.feature-img-block {
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin: 48px 0;
}
.feature-img-block img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ARTICLE PAGE */
.article-header {
  padding: var(--section) 0 48px;
  background: var(--canvas);
  max-width: 780px;
}
.article-tag {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16px;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 20px;
}
.article-header .lead {
  font-size: 18px;
  color: var(--body-color);
  line-height: 1.55;
}
.article-meta {
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}

.article-body {
  max-width: 780px;
  padding-bottom: var(--section);
}
.article-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
}
.article-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  margin: 0 0 16px 24px;
}
.article-body li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 6px;
}
.article-body a { color: var(--link); }
.article-body blockquote {
  border-left: 3px solid var(--signature-coral);
  padding: 12px 20px;
  background: var(--surface-soft);
  border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
  margin: 24px 0;
}
.article-body blockquote p { margin: 0; font-style: italic; }

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

/* CONTACT FORM */
.contact-section {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: 48px;
  margin: var(--section) 0;
}
.contact-section h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}
.contact-section p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  height: 44px;
  font-family: inherit;
  outline: none;
}
.form-group textarea {
  height: auto;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #458fff;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--section) 0 0;
}
.footer-inner {}
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-cols { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--signature-coral); }
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  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); }
.footer-col address { font-style: normal; }
.footer-col address p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.footer-col address a { color: var(--muted); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: var(--muted); }

/* COOKIE */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  z-index: 200;
  padding: 16px;
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { font-size: 13px; color: #c8cfd8; }
.cookie-inner a { color: #7baef0; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

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

/* PAGES (about/privacy/terms) */
.page-header {
  padding: var(--section) 0 48px;
  max-width: 700px;
}
.page-header h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.page-header p {
  font-size: 16px;
  color: var(--body-color);
  line-height: 1.55;
}
.page-body {
  max-width: 700px;
  padding-bottom: var(--section);
}
.page-body h2 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 12px;
}
.page-body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
  margin-bottom: 14px;
}
.page-body ul {
  margin: 0 0 14px 24px;
}
.page-body li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
}

/* DEMO GRID CARDS */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1024px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .demo-grid { grid-template-columns: 1fr; }
}
.demo-card {
  border-radius: var(--rounded-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-card--peach { background: var(--signature-peach); }
.demo-card--mint { background: var(--signature-mint); }
.demo-card--cream { background: var(--signature-cream); }
.demo-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.demo-card p {
  font-size: 14px;
  color: var(--body-color);
  line-height: 1.6;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; }

/* ARTICLE LIST PAGE */
.articles-list-header {
  padding: var(--section) 0 48px;
  background: var(--surface-dark);
  margin-bottom: 64px;
}
.articles-list-header h1 {
  font-size: 48px;
  font-weight: 500;
  color: var(--on-primary);
  line-height: 1.1;
  max-width: 600px;
}
.articles-list-header p {
  font-size: 16px;
  color: #a0a8b4;
  margin-top: 16px;
  max-width: 500px;
}

/* DISCLAIMER */
.disclaimer-block {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: 24px 32px;
  margin: 48px 0 0;
  border-left: 3px solid var(--hairline);
}
.disclaimer-block p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
