@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Inter+Display:wght@400;475;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;
  --surface-dark-elevated: #1d1f25;
  --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-peach: #fcab79;
  --signature-mint: #a8d8c4;
  --signature-yellow: #f4d35e;
  --rounded-xs: 2px;
  --rounded-sm: 6px;
  --rounded-md: 10px;
  --rounded-lg: 12px;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
  --max-width: 1280px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

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

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

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

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

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.hero-band {
  padding: var(--spacing-section) 0;
  background: var(--canvas);
}

.hero-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: var(--spacing-xl);
  max-width: 520px;
}

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

.hero-image {
  border-radius: var(--rounded-md);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-band {
  padding: var(--spacing-section) 0;
}

.section-band.surface-soft { background: var(--surface-soft); }
.section-band.surface-cream { background: var(--signature-cream); }
.section-band.surface-dark { background: var(--surface-dark); }
.section-band.surface-coral { background: var(--signature-coral); }
.section-band.surface-strong { background: var(--surface-strong); }

.section-header {
  margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.section-band.surface-dark .section-header h2,
.section-band.surface-coral .section-header h2 {
  color: var(--on-primary);
}

.section-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  max-width: 600px;
}

.section-band.surface-dark .section-header p,
.section-band.surface-coral .section-header p {
  color: rgba(255,255,255,0.8);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.article-card {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  overflow: hidden;
}

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.article-card:hover .article-card-img img { transform: scale(1.03); }

.article-card-body {
  padding: var(--spacing-md);
}

.article-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
}

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

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

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

.article-card a.card-link {
  display: block;
  color: inherit;
}

.signature-card {
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  background: var(--signature-coral);
  color: var(--on-primary);
}

.signature-card.forest { background: var(--signature-forest); }
.signature-card.dark { background: var(--surface-dark); }
.signature-card.cream {
  background: var(--signature-cream);
  color: var(--ink);
}

.signature-card h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
}

.signature-card p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  max-width: 560px;
}

.signature-card.cream p { opacity: 1; color: var(--body); }

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: start;
}

.two-col-grid.reverse { direction: rtl; }
.two-col-grid.reverse > * { direction: ltr; }

.feature-image {
  border-radius: var(--rounded-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.feature-text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.feature-text ul {
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.feature-text ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

.cta-band {
  background: var(--surface-strong);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-xxl);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.cta-band p {
  font-size: 16px;
  color: var(--body);
  max-width: 480px;
  margin: 0 auto var(--spacing-xl);
  line-height: 1.6;
}

.contact-form {
  background: var(--canvas);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--hairline);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xl);
}

.form-row {
  margin-bottom: var(--spacing-md);
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.form-row input,
.form-row textarea {
  width: 100%;
  height: 44px;
  padding: 12px var(--spacing-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-sm);
  outline: none;
  transition: border-color 0.15s;
}

.form-row textarea {
  height: 100px;
  resize: vertical;
}

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

.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px var(--spacing-lg);
  border-radius: var(--rounded-lg);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary:active { background: var(--primary-active); }

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px var(--spacing-lg);
  border-radius: var(--rounded-lg);
  border: 1px solid var(--hairline);
  cursor: pointer;
  font-family: var(--font-body);
}

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

.article-page-hero {
  background: var(--surface-dark-elevated);
  padding: var(--spacing-section) 0;
  position: relative;
  overflow: hidden;
}

.rainbow-stripes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  opacity: 0.18;
  pointer-events: none;
}

.rainbow-stripes span {
  flex: 1;
  height: 100%;
}

.rainbow-stripes span:nth-child(1) { background: #aa2d00; flex: 2; }
.rainbow-stripes span:nth-child(2) { background: #f4d35e; flex: 1.2; }
.rainbow-stripes span:nth-child(3) { background: #a8d8c4; flex: 1.8; }
.rainbow-stripes span:nth-child(4) { background: #fcab79; flex: 1; }
.rainbow-stripes span:nth-child(5) { background: #0a2e0e; flex: 2.5; }
.rainbow-stripes span:nth-child(6) { background: #f5e9d4; flex: 0.8; }

.article-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.article-hero-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--spacing-md);
}

.article-hero-content h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--on-primary);
  margin-bottom: var(--spacing-lg);
}

.article-hero-content .hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--spacing-lg);
}

.article-hero-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

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

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--spacing-xxl);
  align-items: start;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
  line-height: 1.35;
  letter-spacing: 0.12px;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
  line-height: 1.4;
}

.article-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.article-content ul,
.article-content ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.article-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

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

.article-content .article-image {
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin: var(--spacing-xl) 0;
}

.article-content .article-image img {
  width: 100%;
  height: auto;
}

.article-content .article-image figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: var(--spacing-xs) 0 0;
}

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

.sidebar-widget {
  background: var(--surface-soft);
  border-radius: var(--rounded-md);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

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

.sidebar-widget ul {
  list-style: none;
  padding: 0;
}

.sidebar-widget ul li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.5;
}

.sidebar-widget ul li:last-child { border-bottom: none; }

.sidebar-widget ul li a { color: var(--body); }

.page-hero {
  padding: 64px 0 var(--spacing-section);
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

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

.page-content {
  padding: var(--spacing-section) 0;
  max-width: 760px;
}

.page-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
  letter-spacing: 0.12px;
}

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

.page-content p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  margin-bottom: var(--spacing-md);
}

.page-content ul, .page-content ol {
  padding-left: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.page-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--spacing-xs);
}

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

.updated-note {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
}

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-section) 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xxl);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xxl);
  border-bottom: 1px solid var(--hairline);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.footer-brand span { color: var(--link); }

.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: var(--spacing-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: var(--spacing-xs);
  line-height: 1.5;
}

.footer-col ul li a { color: var(--muted); }

.footer-bottom {
  padding: var(--spacing-xl) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal a { color: var(--muted); margin: 0 4px; }

.cookie-banner {
  position: fixed;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--rounded-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  max-width: 720px;
  width: calc(100% - 48px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.cookie-banner p a { color: rgba(255,255,255,0.7); text-decoration: underline; }

.cookie-buttons {
  display: flex;
  gap: var(--spacing-xs);
  flex-shrink: 0;
}

.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;
  white-space: nowrap;
}

.btn-legal-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: var(--rounded-xs);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  white-space: nowrap;
}

.disclaimer-bar {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-md) 0;
  text-align: center;
}

.disclaimer-bar p {
  font-size: 12px;
  color: var(--muted);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .two-col-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --spacing-section: 64px; }
  .container { padding: 0 var(--spacing-md); }
  .nav-inner { padding: 0 var(--spacing-md); }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--canvas);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xl);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 20px; }
  .hero-band .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-content h1 { font-size: 32px; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .article-hero-content h1 { font-size: 32px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .footer-inner { padding: 0 var(--spacing-md); }
}
