*, *::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;
  --ink: #26251e;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --on-primary: #ffffff;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --success: #1f8a65;
  --error: #cf2d56;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--body);
  font-family: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

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; }

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.11px;
}
.nav-logo span { color: var(--primary); }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  line-height: 1.4;
  transition: color 0.15s;
}
.nav-menu a:hover { color: var(--primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero {
  background: var(--canvas);
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--hairline-soft);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2.16px;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 48px;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  max-height: 480px;
}

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

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--canvas-soft); }

.section-label {
  display: inline-block;
  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;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 540px;
  line-height: 1.5;
  margin-bottom: 48px;
}

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

.card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}
.card:hover { border-color: var(--hairline-strong); }

.card-image {
  height: 220px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover .card-image img { transform: scale(1.03); }

.card-body { padding: 24px; }

.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 16px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* INFO BLOCKS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.info-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.info-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

/* ARTICLE LAYOUT */
.article-hero {
  padding: 64px 0 0;
  background: var(--canvas);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.article-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-strong);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
}

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

.article-h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 800px;
}

.article-lead {
  font-size: 18px;
  color: var(--body);
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 48px;
}

.article-cover {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-bottom: none;
}

.article-cover img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.article-body {
  padding: 64px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 20px;
}

.article-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 8px;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
}

.article-content blockquote {
  border-left: 3px solid var(--hairline-strong);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--canvas-soft);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.article-content blockquote p {
  font-size: 18px;
  color: var(--ink);
  font-style: italic;
}

.article-content .data-block {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}

.article-content .data-block h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-content .data-block ul {
  margin: 0;
  list-style: none;
}

.article-content .data-block li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px;
}

.article-content .data-block li:last-child { border-bottom: none; }

.article-content .data-block .val {
  font-weight: 600;
  color: var(--ink);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.sidebar-card h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 14px;
}

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

.sidebar-card ul a {
  color: var(--body);
  font-size: 14px;
}
.sidebar-card ul a:hover { color: var(--primary); }

/* PAGE LAYOUT */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline-soft);
}

.page-h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 640px;
}

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

.page-content {
  padding: 64px 0 80px;
  max-width: 760px;
}

.page-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
}

.page-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 10px;
}

.page-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.page-content ul, .page-content ol {
  margin: 0 0 16px 20px;
}

.page-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 6px;
}

/* FORM */
.contact-form {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 600px;
}

.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: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s;
  height: 44px;
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-soft);
}

.btn-submit {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  height: 40px;
  transition: background 0.15s;
  font-family: inherit;
}
.btn-submit:hover { background: var(--primary-active); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-notice {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  background: #e6f4ef;
  border: 1px solid #c3e0d6;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--success);
}

/* COOKIE BANNER */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  z-index: 200;
  padding: 20px 24px;
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 14px;
  line-height: 1.5;
}

.cookie-inner a {
  color: var(--canvas);
  text-decoration: underline;
}

.cookie-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

.btn-cookie-reject {
  background: transparent;
  color: var(--canvas);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer-brand span { color: var(--primary); }

.footer-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a, .footer-col ul span {
  font-size: 14px;
  color: var(--body);
}

.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

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

.footer-links-bottom a {
  font-size: 14px;
  color: var(--muted);
}
.footer-links-bottom a:hover { color: var(--primary); }

/* BREADCRUMBS */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { color: var(--muted-soft); }

/* DIVIDER */
.divider {
  height: 1px;
  background: var(--hairline-soft);
  margin: 48px 0;
}

/* RELATED */
.related { padding: 64px 0; background: var(--canvas-soft); }

.related .card-grid { grid-template-columns: repeat(2, 1fr); }

/* DISCLAIMER */
.disclaimer {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 56px; letter-spacing: -1.68px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { display: none; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero { padding: 48px 0 40px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { border-bottom: 1px solid var(--hairline-soft); }
  .nav-menu li:last-child { border-bottom: none; }
  .nav-menu a { display: block; padding: 12px 0; }
  .site-nav { position: relative; }
  .card-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .related .card-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .article-h1 { font-size: 32px; letter-spacing: -0.8px; }
  .article-lead { font-size: 16px; }
  .article-cover img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .page-h1 { font-size: 32px; letter-spacing: -0.8px; }
  .section-title { font-size: 28px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-image img { height: 220px; }
}
