/* ===================== TOKENS ===================== */
:root {
  --ink: #10231f;
  --ink-soft: #3a4d48;
  --muted: #64756f;
  --teal: #0d5c63;
  --teal-deep: #0a3d42;
  --teal-bright: #17888f;
  --sand: #f6f2ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --line: #e6e1d6;
  --ring: rgba(13, 92, 99, 0.35);

  --max: 1120px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 31, 0.05), 0 4px 16px rgba(16, 35, 31, 0.05);
  --shadow-md: 0 10px 40px rgba(16, 35, 31, 0.10);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

/* ===================== BASE ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 500; font-size: 16px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal); color: var(--white);
  box-shadow: 0 6px 20px rgba(13, 92, 99, 0.28);
}
.btn-primary:hover { background: var(--teal-deep); box-shadow: 0 10px 28px rgba(13, 92, 99, 0.36); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 18px; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 21px; color: var(--ink); letter-spacing: -0.01em; }
.header-nav { display: flex; gap: 26px; margin-left: 14px; }
.header-nav a { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.header-nav a:hover { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; background: var(--white);
}
.lang-toggle button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  color: var(--muted); padding: 6px 12px; transition: background .15s, color .15s;
}
.lang-toggle button.is-active { background: var(--teal); color: var(--white); }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: 92px 0 76px; }
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--teal);
  background: rgba(13, 92, 99, 0.08); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(38px, 6vw, 64px); line-height: 1.06;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 22px;
}
.hero-title em { color: var(--teal); }
.hero-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-soft); max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(23, 136, 143, 0.14); }

.hero-glow {
  position: absolute; z-index: 1; top: -180px; right: -160px;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(23, 136, 143, 0.22), rgba(246, 242, 234, 0) 62%);
  pointer-events: none;
}

/* ===================== STRIP ===================== */
.strip { background: var(--teal-deep); color: rgba(255,255,255,0.9); }
.strip-inner { padding: 26px 24px; }
.strip p { font-size: 17px; max-width: 900px; margin: 0 auto; text-align: center; }
.strip strong { color: var(--white); }

/* ===================== SECTIONS ===================== */
.section { padding: 88px 0; }
.section-alt { background: var(--sand); }
.section-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section-eyebrow.light { color: var(--teal-bright); }
.section-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.12;
  letter-spacing: -0.02em; margin-bottom: 44px; max-width: 720px;
}
.section-title.light { color: var(--white); }
.lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 26px; }

/* ===================== CARDS ===================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(13, 92, 99, 0.09); color: var(--teal); margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 21px; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 16px; }

/* ===================== SPLIT (wiki) ===================== */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink-soft); font-size: 16px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-11'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.split-visual { display: flex; justify-content: center; }
.mock {
  width: 100%; max-width: 380px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--sand); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #cfc9bc; }
.mock-body { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; }
.mock-tag { align-self: flex-start; font-size: 13px; font-weight: 600; color: var(--teal); background: rgba(13,92,99,0.09); padding: 5px 12px; border-radius: 999px; }
.mock-line { height: 10px; border-radius: 6px; background: #ece7dc; }
.mock-line.w80 { width: 80%; } .mock-line.w70 { width: 70%; } .mock-line.w60 { width: 60%; } .mock-line.w40 { width: 40%; }
.mock-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mock-chips span { font-size: 13px; font-weight: 500; color: var(--ink-soft); background: var(--sand); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
.mock-link { font-size: 14px; font-weight: 500; color: var(--teal-bright); }

/* ===================== LOCAL ===================== */
.local { background: var(--teal-deep); color: rgba(255,255,255,0.82); position: relative; overflow: hidden; }
.local-inner { position: relative; z-index: 2; }
.local-lead { font-size: 20px; color: rgba(255,255,255,0.9); max-width: 700px; margin-bottom: 48px; }
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.local-item { border-top: 2px solid rgba(23, 136, 143, 0.6); padding-top: 20px; }
.local-item h3 { font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--white); margin-bottom: 10px; }
.local-item p { font-size: 16px; color: rgba(255,255,255,0.72); }

/* ===================== AUDIENCE ===================== */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 34px; }
.aud-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.aud-item h3 { font-family: var(--font-serif); font-weight: 600; font-size: 19px; margin-bottom: 8px; }
.aud-item p { color: var(--muted); font-size: 16px; }
.aud-note { font-size: 17px; color: var(--ink-soft); max-width: 780px; }
.aud-note strong { color: var(--teal); }

/* ===================== CTA ===================== */
.cta { background: var(--sand); text-align: center; }
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(30px, 4.5vw, 46px); letter-spacing: -0.02em; margin-bottom: 20px; }
.cta-sub { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; }
.cta-fine { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 46px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.site-footer .brand { color: var(--teal-bright); }
.site-footer .brand-name { color: var(--white); }
.footer-tag { font-size: 15px; color: rgba(255,255,255,0.72); }
.footer-legal { font-size: 13px; color: rgba(255,255,255,0.45); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .cards, .local-grid, .audience { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-visual { order: -1; }
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-actions { gap: 10px; }
  .btn-sm { padding: 8px 13px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-badges { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
