*, *::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;
  --signature-coral: #aa2d00;
  --signature-forest: #0a2e0e;
  --signature-cream: #f5e9d4;
  --signature-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
  --font-main: -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-main);
  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 { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

/* 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;
  height: 100%;
  gap: var(--spacing-lg);
}
.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.nav-logo span { color: var(--signature-coral); }
.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* BUTTONS */
.btn-primary {
  display: inline-block;
  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);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-active); text-decoration: none; color: var(--on-primary); }

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; color: var(--ink); }

.btn-secondary-on-dark {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  padding: 16px 24px;
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary-on-dark:hover { opacity: 0.9; text-decoration: none; color: var(--ink); }

/* HERO BAND */
.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}
.hero-content {
  max-width: 680px;
}
.hero-content h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
.hero-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* SECTION */
.section {
  padding: var(--spacing-section) 0;
}
.section-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
.section-subtitle {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
  max-width: 600px;
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

/* SIGNATURE CARDS */
.signature-coral-card {
  background: var(--signature-coral);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
}
.signature-coral-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--on-primary);
}
.signature-coral-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
  opacity: 0.9;
}

.signature-forest-card {
  background: var(--signature-forest);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
}
.signature-forest-card h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--on-primary);
}
.signature-forest-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
  opacity: 0.9;
}

.hero-card-dark {
  background: var(--surface-dark);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  color: var(--on-primary);
}
.hero-card-dark h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--on-primary);
}
.hero-card-dark p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
  opacity: 0.85;
}

.cream-callout {
  background: var(--signature-cream);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xxl) var(--spacing-lg);
}
.cream-callout h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
.cream-callout p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  max-width: 600px;
}

/* GRID CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.demo-card {
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  overflow: hidden;
}
.demo-card-peach { background: var(--signature-peach); }
.demo-card-mint  { background: var(--signature-mint); }
.demo-card-cream { background: var(--signature-cream); }
.demo-card-soft  { background: var(--surface-soft); border: 1px solid var(--hairline); }
.demo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-bottom: var(--spacing-md);
}
.demo-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
  line-height: 1.4;
}
.demo-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}
.demo-card a {
  display: inline-block;
  margin-top: var(--spacing-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--link);
}

/* ARTICLE CARDS */
.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  padding: var(--spacing-md);
  border: 1px solid var(--hairline);
}
.article-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-bottom: var(--spacing-md);
}
.article-card .tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}
.article-card h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: var(--spacing-xs);
}
.article-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}
.article-card .meta {
  font-size: 13px;
  color: var(--muted);
}

/* CTA BAND LIGHT */
.cta-band-light {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  text-align: center;
}
.cta-band-light h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
.cta-band-light p {
  font-size: 14px;
  color: var(--body);
  max-width: 500px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.6;
}

/* LOGO STRIP */
.logo-strip {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.logo-strip p {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-strip-list {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  list-style: none;
}
.logo-strip-list li {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ARTICLE INNER PAGE */
.article-hero {
  padding: var(--spacing-section) 0 var(--spacing-xl);
}
.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: var(--spacing-lg);
}
.article-hero .meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
}
.article-hero img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--rounded-md);
  margin-bottom: var(--spacing-xl);
}

.article-body {
  max-width: 720px;
}
.article-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-md);
  line-height: 1.35;
}
.article-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
  line-height: 1.4;
}
.article-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}
.article-body ul, .article-body ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}
.article-body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}
.article-body a { color: var(--link); }
.article-body blockquote {
  border-left: 3px solid var(--signature-coral);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--surface-soft);
  border-radius: 0 var(--rounded-sm) var(--rounded-sm) 0;
  margin: var(--spacing-xl) 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-xl);
  align-items: start;
  padding-bottom: var(--spacing-section);
}

.article-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-card {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
}
.sidebar-card li {
  font-size: 14px;
  color: var(--body);
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline);
}
.sidebar-card li:last-child { border-bottom: none; }
.sidebar-card li a { color: var(--link); }

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  max-width: 560px;
}
.contact-form-wrap h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}
.form-group {
  margin-bottom: var(--spacing-md);
}
.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: var(--font-main);
  padding: 12px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  height: 44px;
  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;
}

/* PAGES */
.page-hero {
  padding: var(--spacing-section) 0 var(--spacing-xl);
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}
.page-hero p {
  font-size: 16px;
  color: var(--body);
  max-width: 600px;
  line-height: 1.6;
}
.page-body {
  max-width: 800px;
  padding-bottom: var(--spacing-section);
}
.page-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}
.page-body h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-lg) 0 var(--spacing-sm);
}
.page-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}
.page-body ul, .page-body ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}
.page-body li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 6px;
}
.page-body a { color: var(--link); }

/* FOOTER */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 var(--spacing-xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xxl);
}
.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: var(--spacing-sm);
  max-width: 260px;
}
.footer-col h5 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li {
  margin-bottom: var(--spacing-xs);
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--spacing-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}
.footer-bottom p {
  font-size: 14px;
  color: var(--muted);
}
.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}
.footer-bottom-links a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-bottom-links a:hover { color: var(--ink); }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: var(--spacing-md) var(--spacing-xxl);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}
#cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
  min-width: 280px;
}
#cookie-banner p a { color: #7ba7e8; }
.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
}
.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
  border: none;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  font-size: 13.12px;
  font-weight: 600;
  cursor: pointer;
}
.btn-cookie-reject {
  background: transparent;
  color: var(--on-primary);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  font-size: 13.12px;
  font-weight: 600;
  cursor: pointer;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  padding: var(--spacing-md) 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  padding: var(--spacing-md);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: var(--spacing-section);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-md); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0; right: 0; bottom: 0;
    background: var(--canvas);
    padding: var(--spacing-xl) var(--spacing-md);
    gap: var(--spacing-md);
    z-index: 99;
    align-items: flex-start;
    justify-content: flex-start;
    overflow-y: auto;
  }
  .nav-links.open + .nav-cta { display: none; }
  .hero-content h1 { font-size: 28px; }
  .section-title { font-size: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .signature-coral-card, .signature-forest-card, .hero-card-dark { padding: var(--spacing-lg); }
  .signature-coral-card h2, .signature-forest-card h2, .hero-card-dark h2 { font-size: 24px; }
  .cta-band-light h2 { font-size: 24px; }
  .article-hero h1 { font-size: 28px; }
  #cookie-banner { padding: var(--spacing-md); }
  .article-layout { grid-template-columns: 1fr; }
}
