*, *::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;
  --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 { font-size: 16px; scroll-behavior: smooth; }

body {
  background: 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; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

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

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.site-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

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

.main-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

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

.hero-band {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--hairline);
}

.hero-band .container { display: flex; flex-direction: column; align-items: flex-start; gap: 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(--rounded-pill);
  padding: 4px 10px;
}

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

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

.hero-img-wrap {
  width: 100%;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
  margin-top: 16px;
}

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

.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--hairline);
}

.section:last-child { border-bottom: none; }

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

.section-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}

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

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.card:hover { border-color: var(--hairline-strong); }

.card-img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 24px; }

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

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

.card-title a { color: inherit; }
.card-title a:hover { color: var(--primary); }

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

.article-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.article-link:hover { color: var(--primary-active); }

.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(--rounded-lg);
  padding: 24px;
}

.info-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

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

.contact-section { padding: 80px 0; border-bottom: 1px solid var(--hairline); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info-title {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-info-text {
  font-size: 16px;
  line-height: 1.5;
  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;
  height: 44px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s;
  outline: none;
}

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

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

.form-group input.error,
.form-group textarea.error { border-color: var(--semantic-error); }

.form-error {
  font-size: 13px;
  color: var(--semantic-error);
  margin-top: 4px;
  display: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--rounded-md);
  padding: 10px 18px;
  height: 40px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: inherit;
}

.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  display: none;
}

.form-message.success {
  background: #e8f5f0;
  color: var(--semantic-success);
  border: 1px solid #b3ddd0;
  display: block;
}

.article-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--hairline); }

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

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

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

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

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

.article-cover {
  margin-top: 40px;
  border-radius: var(--rounded-lg);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

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

.article-cover figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--muted);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
}

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

.article-content {
  max-width: 720px;
}

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

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

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

.article-content ul,
.article-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

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

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

.article-content a:hover { color: var(--primary-active); }

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

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

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

.article-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
}

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

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

.sidebar-links a {
  display: block;
  font-size: 14px;
  color: var(--body);
  padding: 6px 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.sidebar-links a:last-child { border-bottom: none; }
.sidebar-links a:hover { color: var(--ink); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

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

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

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

.page-body { padding: 64px 0; }

.page-content {
  max-width: 720px;
}

.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;
  line-height: 1.6;
  color: var(--body);
  margin-bottom: 18px;
}

.page-content ul, .page-content ol {
  padding-left: 20px;
  margin-bottom: 18px;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

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

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.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: 32px;
  margin-bottom: 48px;
}

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

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

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

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--body);
  margin-bottom: 8px;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

.footer-sep { color: var(--hairline-strong); }

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--ink);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  z-index: 999;
  display: none;
}

.cookie-banner.visible { display: block; }

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--canvas);
  flex: 1;
}

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

.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }

.btn-cookie {
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--rounded-md);
  padding: 8px 16px;
  height: 36px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
}

.btn-cookie-accept { background: var(--primary); color: var(--on-primary); }
.btn-cookie-reject { background: transparent; color: var(--canvas); border: 1px solid rgba(255,255,255,0.3); }
.btn-cookie:hover { opacity: 0.85; }

.disclaimer {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .hero-h1 { font-size: 56px; letter-spacing: -1.5px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-img-wrap img { height: 260px; }
  .section-title { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 24px; width: 100%; }
  .site-header { position: relative; }
  .article-h1 { font-size: 32px; letter-spacing: -0.5px; }
  .page-h1 { font-size: 32px; letter-spacing: -0.5px; }
  .article-cover img { height: 260px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero-band { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .hero-h1 { font-size: 32px; }
}
