@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --primary: #f54e00;
  --primary-active: #d04200;
  --on-primary: #ffffff;
  --ink: #26251e;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --semantic-success: #1f8a65;
  --semantic-error: #cf2d56;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-pill: 9999px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--canvas);
  color: var(--body);
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP NAV */
.top-nav {
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.top-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.nav-brand span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* BUTTONS */
.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-active);
  color: var(--on-primary);
}

.btn-secondary {
  background-color: var(--surface-card);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.15s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* HERO */
.hero-band {
  padding: 80px 0;
  background-color: var(--canvas);
}

.hero-content {
  max-width: 760px;
}

.hero-label {
  display: inline-block;
  background-color: var(--surface-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  border-radius: var(--rounded-pill);
  padding: 4px 10px;
  margin-bottom: 24px;
}

.hero-band h1 {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-band p {
  font-size: 18px;
  color: var(--body);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-image {
  margin-top: 48px;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* SECTIONS */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--canvas-soft);
}

.section-divider {
  border: none;
  border-top: 1px solid var(--hairline);
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* CARDS */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.feature-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

.article-card {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}

.article-card:hover {
  border-color: var(--hairline-strong);
}

.article-card-image {
  height: 200px;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-body {
  padding: 20px 24px 24px;
}

.article-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-card-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.article-link:hover {
  color: var(--primary-active);
}

/* ARTICLE PAGE */
.article-hero {
  padding: 48px 0 0;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-category {
  background-color: var(--surface-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  border-radius: var(--rounded-pill);
  padding: 4px 10px;
}

.article-date {
  font-size: 13px;
  color: var(--muted);
}

.article-hero h1 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 820px;
}

.article-hero .lead {
  font-size: 18px;
  color: var(--body);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 40px;
}

.article-featured-img {
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  margin-bottom: 64px;
}

.article-featured-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.article-featured-img figcaption {
  background: var(--canvas-soft);
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
}

.article-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  padding: 0 0 80px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

.article-content p {
  font-size: 16px;
  color: var(--body);
  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);
  line-height: 1.7;
  margin-bottom: 6px;
}

.article-content .info-box {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: var(--rounded-md);
  padding: 20px 24px;
  margin: 32px 0;
}

.article-content .info-box p {
  margin-bottom: 0;
  font-size: 15px;
}

.article-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

.sidebar-box {
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-box h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.sidebar-box ul {
  list-style: none;
  padding: 0;
}

.sidebar-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px;
}

.sidebar-box ul li:last-child {
  border-bottom: none;
}

.sidebar-box ul li a {
  color: var(--body);
  font-size: 14px;
}

.sidebar-box ul li a:hover {
  color: var(--primary);
}

/* CONTACT FORM */
.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-color: var(--surface-card);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  padding: 12px 16px;
  height: 44px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--rounded-md);
  outline: none;
  transition: border-color 0.15s;
}

.form-group textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-soft);
}

.form-message {
  display: none;
  padding: 16px 20px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  margin-top: 16px;
}

.form-message.success {
  background-color: #e8f5f1;
  color: var(--semantic-success);
  border: 1px solid #b8dfd4;
}

.form-loading {
  display: none;
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}

/* PAGE CONTENT */
.page-hero {
  padding: 64px 0 48px;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 16px;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--body);
  max-width: 600px;
  line-height: 1.6;
}

.page-content {
  padding: 0 0 80px;
  max-width: 760px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 40px 0 14px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.page-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

.page-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

.updated-date {
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  margin-top: 40px;
}

/* FOOTER */
.footer {
  background-color: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-brand-name span {
  color: var(--primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--ink);
  color: var(--canvas);
  border-radius: var(--rounded-lg);
  padding: 20px 28px;
  max-width: 640px;
  width: calc(100% - 48px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 4px 24px rgba(38,37,30,0.18);
}

.cookie-banner p {
  font-size: 14px;
  color: #ccc9c0;
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--canvas);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background-color: var(--primary);
  color: var(--on-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}

.cookie-accept:hover {
  background-color: var(--primary-active);
}

.cookie-reject {
  background-color: transparent;
  color: var(--canvas);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: border-color 0.15s;
}

.cookie-reject:hover {
  border-color: rgba(255,255,255,0.6);
}

/* DISCLAIMER */
.disclaimer-bar {
  background-color: var(--canvas-soft);
  border-bottom: 1px solid var(--hairline);
  padding: 10px 0;
  text-align: center;
}

.disclaimer-bar p {
  font-size: 12px;
  color: var(--muted);
}

/* BREADCRUMB */
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.breadcrumb li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li::after {
  content: '/';
  color: var(--hairline-strong);
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb li:last-child {
  color: var(--body);
}

/* TABLE */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  font-size: 14px;
}

.data-table th {
  background-color: var(--canvas-soft);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.data-table td {
  padding: 12px 16px;
  color: var(--body);
  border-bottom: 1px solid var(--hairline-soft);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .article-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--hairline-soft);
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero-band h1 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .hero-band p {
    font-size: 16px;
  }

  .hero-image img {
    height: 240px;
  }

  .section-title {
    font-size: 28px;
  }

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-hero h1 {
    font-size: 28px;
    letter-spacing: -0.5px;
  }

  .article-featured-img img {
    height: 240px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
