*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede9e3;
  --hairline: #d3cec6;
  --hairline-soft: #e5e1db;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --accent: #3a6b3a;
  --accent-light: #e8f0e8;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
  --section: 96px;
}

html { scroll-behavior: smooth; }

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

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 56px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--rounded-md);
  color: var(--ink-muted);
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--surface-1);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.hero {
  padding: 80px 0 64px;
  background: var(--canvas);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: var(--rounded-sm);
  margin-bottom: 16px;
  letter-spacing: 0;
}
.hero h1 {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.hero-image-wrap {
  border-radius: var(--rounded-xl);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
}
.hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.section { padding: var(--section) 0; }
.section-alt { background: var(--surface-2); padding: var(--section) 0; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 560px;
  margin: 0 auto;
}

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

.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.card-img {
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.card-img img { width: 100%; height: 200px; object-fit: cover; }
.card-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 8px;
  border-radius: var(--rounded-sm);
  display: inline-block;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  line-height: 1.3;
}
.card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.card-meta {
  font-size: 12px;
  color: var(--ink-tertiary);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 12px;
  margin-top: auto;
}
.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.card-link:hover { color: var(--ink); }

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--rounded-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #333; color: #fff; }
.btn-secondary {
  background: var(--surface-1);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-secondary:hover { background: var(--canvas); color: var(--ink); }

.article-header {
  padding: 64px 0 40px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-bottom: 16px;
}
.article-breadcrumb a { color: var(--ink-subtle); }
.article-breadcrumb a:hover { color: var(--ink); }
.article-header h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  max-width: 760px;
  margin-bottom: 16px;
}
.article-header .article-meta {
  font-size: 13px;
  color: var(--ink-subtle);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.article-body h2 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin: 40px 0 16px;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 28px 0 12px;
}
.article-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  margin-bottom: 18px;
}
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 18px;
}
.article-body li {
  font-size: 16px;
  line-height: 1.65;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.article-body a:hover { color: var(--ink); }
.article-img-block {
  margin: 32px 0;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.article-img-block img { width: 100%; height: auto; }
.article-img-block figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--ink-subtle);
  background: var(--surface-1);
}
.infobox {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--rounded-md) var(--rounded-md) 0;
  padding: 16px 20px;
  margin: 24px 0;
}
.infobox p { margin: 0; font-size: 15px; color: var(--ink); }
.infobox strong { color: var(--accent); }

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.data-table th {
  background: var(--surface-2);
  font-weight: 500;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 2px solid var(--hairline);
  color: var(--ink);
}
.data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--hairline-soft);
  color: #1a1a1a;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--canvas); }

.page-header {
  padding: 56px 0 40px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}
.page-header h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.7px;
}
.page-header p {
  font-size: 16px;
  color: var(--ink-muted);
  margin-top: 10px;
}

.page-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.page-body h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 36px 0 12px;
  color: var(--ink);
}
.page-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin-bottom: 16px;
}
.page-body ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.page-body li {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 6px;
  color: #222;
}

.contact-form {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  background: var(--surface-1);
  color: var(--ink);
  transition: border-color 0.15s;
  min-height: 44px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--rounded-md);
  font-size: 14px;
  font-weight: 500;
}
.form-status.success { background: #e8f5e9; color: #2e7d32; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
}
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p {
  font-size: 14px;
  color: var(--ink-muted);
  flex: 1;
  min-width: 240px;
}
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; }

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-brand {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.footer-desc {
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.55;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 13px;
  color: var(--ink-subtle);
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 20px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--ink-tertiary);
}
.footer-disclaimer { max-width: 540px; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  list-style: none;
  padding: 0;
}
.feature-item {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
}
.feature-item .fi-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.feature-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.feature-item p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
}
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: 12px 24px;
    gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 10px 12px; }
  .hero h1 { font-size: 32px; }
  .section-header h2 { font-size: 28px; }
  .article-header h1 { font-size: 28px; }
  .contact-form { padding: 24px; }
  .cookie-inner { flex-direction: column; gap: 12px; }
}
