*, *::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 { 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;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.site-header {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}

.logo-dot { color: var(--primary); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s;
}

.hero-section {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--hairline);
}

.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 12px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 18px;
  color: var(--body);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.hero-meta {
  font-size: 13px;
  color: var(--muted);
}

.hero-image-wrap {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  max-height: 420px;
}

.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section { padding: 80px 0; }
.section + .section { 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;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.72px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.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-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--surface-strong);
}

.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.35;
  margin-bottom: 10px;
}

.card-title a:hover { color: var(--primary); }

.card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-date {
  font-size: 13px;
  color: var(--muted-soft);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  margin-top: 48px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.325px;
  line-height: 1.25;
  margin: 40px 0 16px;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--body-strong);
  line-height: 1.3;
  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 {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.article-content ol { list-style: decimal; }

.article-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 6px;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-content img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  margin: 24px 0;
  width: 100%;
  height: auto;
}

.article-content figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: -18px;
  margin-bottom: 24px;
}

.article-sidebar { }

.sidebar-widget {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
}

.sidebar-links li {
  border-bottom: 1px solid var(--hairline-soft);
  padding: 10px 0;
}

.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links a {
  font-size: 14px;
  color: var(--body);
  line-height: 1.4;
}

.sidebar-links a:hover { color: var(--ink); }

.info-box {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
}

.info-box strong { color: var(--ink); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.data-table th {
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--hairline-strong);
}

.data-table td {
  color: var(--body);
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-soft);
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:nth-child(even) td { background: var(--canvas-soft); }

.page-content { max-width: 760px; margin: 0 auto; padding: 80px 0; }

.page-content h1 {
  font-size: 42px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.9px;
  margin-bottom: 12px;
}

.page-content .page-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--hairline);
}

.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.3px;
  margin: 40px 0 14px;
}

.page-content p {
  font-size: 16px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-content ul {
  margin: 0 0 18px 24px;
  list-style: disc;
}

.page-content li {
  font-size: 16px;
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 6px;
}

.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-control {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  height: 44px;
  font-size: 16px;
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s;
  outline: none;
}

.form-control:focus { border-color: var(--ink); }
.form-control.error-field { border-color: var(--error); }

textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: inherit;
  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-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.btn-secondary:hover { background: var(--surface-strong); }

.form-message {
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-top: 16px;
}

.form-message.success {
  background: #d4f0e7;
  color: var(--success);
  border: 1px solid #a8dfc9;
}

.contact-info-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--body);
}

.contact-info-list li strong {
  min-width: 80px;
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.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 {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 680px;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(38, 37, 30, 0.18);
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-inner p {
  font-size: 14px;
  color: var(--canvas);
  line-height: 1.5;
}

.cookie-inner a { color: var(--canvas); text-decoration: underline; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--hairline-soft);
}

.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 6px; }

.articles-header { padding: 64px 0 48px; }

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 4px;
  }
  .main-nav.open { display: flex; }
  .site-header { position: relative; }
  .hero-title { font-size: 32px; letter-spacing: -0.8px; }
  .section-title { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-section { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .page-content h1 { font-size: 30px; }
}
