﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap');
:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --ink: #26251e;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --primary: #f54e00;
  --primary-active: #d04200;
  --on-primary: #ffffff;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --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;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  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;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.top-nav {
  background: 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 {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: var(--rounded-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.nav-brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 6px 12px;
  border-radius: var(--rounded-md);
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-strong);
}
.nav-links a.active {
  color: var(--ink);
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover {
  background: var(--primary-active);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-card);
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
  background: var(--surface-strong);
}
.hero {
  padding: 80px 0;
  background: var(--canvas);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 20px;
}
.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-image {
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.articles-section {
  padding: 80px 0;
  border-top: 1px solid var(--hairline);
}
.section-head {
  margin-bottom: 48px;
}
.section-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-top: 8px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  overflow: hidden;
  transition: border-color 0.15s;
  text-decoration: none;
  display: block;
}
.article-card:hover {
  border-color: var(--hairline-strong);
}
.article-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.article-card-body {
  padding: 20px 24px 24px;
}
.article-card-tag {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--rounded-pill);
  margin-bottom: 10px;
}
.article-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
}
.article-card-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--body);
  margin-bottom: 16px;
}
.article-card-meta {
  font-size: 13px;
  color: var(--muted);
}
.contact-section {
  padding: 80px 0;
  border-top: 1px solid var(--hairline);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}
.contact-info p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
}
.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(--rounded-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  height: 44px;
  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(--primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-soft);
}
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}
.form-message.success {
  background: #e8f7f0;
  color: var(--semantic-success);
  border: 1px solid #b3e0cf;
  display: block;
}
.form-message.error {
  background: #fdeef2;
  color: var(--semantic-error);
  border: 1px solid #f5b3c3;
  display: block;
}
.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
}
.page-header-inner {
  max-width: 720px;
}
.page-header h1 {
  font-size: 52px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 16px;
}
.page-header .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--body);
}
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 80px;
  padding: 64px 0 80px;
  align-items: start;
}
.article-content {
  max-width: 680px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.article-meta-tag {
  display: inline-flex;
  align-items: center;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--rounded-pill);
}
.article-meta-date {
  font-size: 13px;
  color: var(--muted);
}
.article-featured-image {
  width: 100%;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  margin-bottom: 40px;
}
.article-featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.article-content h1 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 24px;
}
.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
}
.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.article-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 20px;
}
.article-content ul,
.article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 8px;
}
.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(245, 78, 0, 0.3);
}
.article-content a:hover {
  text-decoration-color: var(--primary);
}
.article-content strong {
  font-weight: 600;
  color: var(--ink);
}
.article-info-box {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
  padding: 20px 24px;
  margin: 32px 0;
}
.article-info-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-info-box p,
.article-info-box li {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 6px;
}
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 14px;
}
.article-table th {
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 600;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
}
.article-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--body);
}
.article-table tr:last-child td {
  border-bottom: none;
}
.article-sidebar {
  position: sticky;
  top: 84px;
}
.sidebar-widget {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.sidebar-toc {
  list-style: none;
  padding: 0;
}
.sidebar-toc li {
  margin-bottom: 8px;
}
.sidebar-toc a {
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
  transition: color 0.15s;
}
.sidebar-toc a:hover {
  color: var(--primary);
}
.sidebar-related-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none;
}
.sidebar-related-item:last-child {
  margin-bottom: 0;
}
.sidebar-related-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--rounded-sm);
  flex-shrink: 0;
  border: 1px solid var(--hairline);
}
.sidebar-related-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.15s;
}
.sidebar-related-item:hover .sidebar-related-title {
  color: var(--primary);
}
.breadcrumb {
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb-list a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.breadcrumb-list a:hover {
  color: var(--ink);
}
.breadcrumb-list .separator {
  color: var(--muted-soft);
  font-size: 13px;
}
.breadcrumb-list .current {
  font-size: 13px;
  color: var(--body);
}
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  text-decoration: none;
}
.footer-brand-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: var(--rounded-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.footer-brand-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 0;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--hairline-soft);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright {
  font-size: 13px;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-legal a:hover {
  color: var(--ink);
}
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--canvas);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  max-width: 560px;
  width: calc(100% - 48px);
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(38, 37, 30, 0.16);
  display: none;
}
.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: rgba(247, 247, 244, 0.85);
}
.cookie-text a {
  color: var(--canvas);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}
.cookie-accept {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: background 0.15s;
}
.cookie-accept:hover {
  background: var(--primary-active);
}
.cookie-reject {
  background: transparent;
  color: rgba(247, 247, 244, 0.7);
  border: 1px solid rgba(247, 247, 244, 0.2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--rounded-md);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.cookie-reject:hover {
  color: var(--canvas);
  border-color: rgba(247, 247, 244, 0.4);
}
.inner-page {
  padding: 64px 0 80px;
}
.inner-page-content {
  max-width: 720px;
}
.inner-page-content h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-top: 48px;
  margin-bottom: 16px;
}
.inner-page-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.inner-page-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 20px;
}
.inner-page-content ul,
.inner-page-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.inner-page-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 8px;
}
.inner-page-content a {
  color: var(--primary);
  text-decoration: underline;
}
.disclaimer-bar {
  background: var(--surface-strong);
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.btn-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.image-caption {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  font-style: italic;
}
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 42px;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .article-sidebar {
    position: static;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
  }
  .top-nav .container {
    position: relative;
  }
  .hero-title {
    font-size: 36px;
  }
  .section-title {
    font-size: 28px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .page-header h1 {
    font-size: 36px;
  }
  .article-content h1 {
    font-size: 32px;
  }
  .article-content h2 {
    font-size: 22px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 48px 0;
  }
  .hero-title {
    font-size: 30px;
    letter-spacing: -0.8px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .articles-section,
  .contact-section {
    padding: 48px 0;
  }
}