@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #edeae4;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --hairline: #d3cec6;
  --max-width: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

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

.site-nav .nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.3px;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  flex-direction: column;
  gap: 4px;
}

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

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

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 16px;
}

.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.10;
  letter-spacing: -1.4px;
  color: var(--ink);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.1px;
  color: var(--ink-muted);
  max-width: 580px;
}

.section {
  padding: 80px 0;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 40px;
}

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

.article-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: #b5b0a8; text-decoration: none; }

.article-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: var(--surface-2);
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.article-card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 12px;
}

.article-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 20px;
}

.article-card-meta {
  font-size: 12px;
  color: var(--ink-subtle);
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  margin-top: auto;
}

.hero-image-section {
  padding: 0 0 80px;
}

.hero-img-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
}

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

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

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

.info-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-muted);
}

.contact-section {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.contact-desc {
  font-size: 16px;
  color: var(--ink-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.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,
.form-group select {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 16px;
  font-family: inherit;
  color: var(--ink);
  min-height: 44px;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

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

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s;
  min-height: 40px;
}

.btn-primary:hover { opacity: 0.8; text-decoration: none; }
.btn-primary:disabled { opacity: 0.5; cursor: default; }

.form-message {
  display: none;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-muted);
  padding: 12px 16px;
  background: var(--canvas);
  border-radius: 8px;
  border: 1px solid var(--hairline);
}

.article-page {
  padding: 56px 0 96px;
}

.article-header {
  max-width: 720px;
  margin: 0 auto 40px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-bottom: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.breadcrumbs a { color: var(--ink-subtle); transition: color 0.15s; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: none; }
.breadcrumbs .sep { color: var(--hairline); }

.article-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.article-header h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: 20px;
}

.article-meta {
  font-size: 13px;
  color: var(--ink-subtle);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.article-img-wrap {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

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

.article-body {
  max-width: 720px;
  margin: 0 auto;
}

.article-body h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: 52px 0 16px;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: 32px 0 12px;
}

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

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

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

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

.article-body strong { font-weight: 500; }

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

.article-body a:hover { opacity: 0.65; }

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

.info-box-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.info-box h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 10px;
}

.info-box p {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

.warning-box {
  background: #fff8f3;
  border: 1px solid #f5c4a0;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}

.warning-box p {
  font-size: 15px;
  color: #7a4a2a;
  margin-bottom: 0;
  line-height: 1.6;
}

.steps-list {
  counter-reset: steps;
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.steps-list li {
  counter-increment: steps;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 14px;
}

.steps-list li::before {
  content: counter(steps);
  min-width: 28px;
  height: 28px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}

.related-section {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 80px;
  margin-top: 64px;
}

.related-title {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.15s;
}

.related-card:hover { border-color: #b5b0a8; text-decoration: none; }

.related-card-cat {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.related-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 56px;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.55;
}

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

.page-content h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin: 44px 0 16px;
}

.page-content h2:first-child { margin-top: 0; }

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

.page-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 20px;
}

.page-content li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.page-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.disclaimer-box {
  font-size: 13px;
  color: var(--ink-subtle);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 40px;
  line-height: 1.6;
}

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 56px 0 32px;
}

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

.footer-brand-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.65;
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: var(--ink-subtle);
  transition: color 0.15s;
}

.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }

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

.footer-bottom p {
  font-size: 12px;
  color: var(--ink-subtle);
  line-height: 1.6;
}

#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 700px;
  background: var(--ink);
  color: #ffffff;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 999;
  box-shadow: 0 4px 24px rgba(17,17,17,0.18);
}

#cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

#cookie-banner p a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.cookie-accept {
  background: #ffffff;
  color: var(--ink);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  min-height: 36px;
}

.cookie-reject {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  min-height: 36px;
}

.cookie-reject:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .site-nav .nav-inner { padding: 0 20px; }

  .hero { padding: 56px 0 48px; }
  .hero-title { font-size: 36px; letter-spacing: -0.8px; }
  .hero-desc { font-size: 16px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 28px; letter-spacing: -0.5px; }

  .article-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 16px 20px 20px;
    border-bottom: 1px solid var(--hairline);
    gap: 16px;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .article-header h1 { font-size: 28px; letter-spacing: -0.5px; }
  .article-img-wrap img { height: 240px; }

  .contact-section { padding: 32px 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }

  .page-header h1 { font-size: 28px; }
  .page-header { padding: 40px 0 32px; margin-bottom: 40px; }

  .hero-img-card img { height: 260px; }
  .hero-image-section { padding-bottom: 56px; }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .contact-section { padding: 24px 16px; }
  .contact-title { font-size: 22px; }
}
