/* Kilele.ai — global stylesheet
   Credit. AI. Risk. Technology.
   Static site, no build step. */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --ink-soft: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-soft: #edf1f6;
  --page-bg: #f3f6fb;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --navy: #0b1a3d;
  --navy-2: #12224f;
  --blue-deep: #1e3a8a;
  --blue: #1d4ed8;
  --blue-bright: #3b82f6;
  --blue-soft: #dbeafe;
  --blue-mist: #eaf0fb;
  --cyan: #0e93b3;
  --green: #15803d;
  --green-soft: #dcfce7;
  --amber: #b45309;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05), 0 4px 12px -6px rgba(15,23,42,.08);
  --shadow-md: 0 10px 30px -14px rgba(11,26,61,.25);
  --max: 1180px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--blue-soft); color: var(--blue-deep); }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 12px; }

.page-card {
  max-width: 1320px;
  margin: 20px auto;
  background: var(--bg);
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,.7);
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 24px 60px -30px rgba(30,58,138,.12);
  overflow: hidden;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 40px; }
.narrow { max-width: 780px; }
@media (max-width: 720px) {
  .page-card { margin: 0; border-radius: 0; border: none; box-shadow: none; }
  .container { padding: 0 20px; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 17px; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--blue); border-radius: 2px; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::before { display: none; }
.accent { color: var(--blue); }
.prose > * + * { margin-top: 18px; }
.prose p { font-size: 17px; line-height: 1.7; }
.prose h2 { margin-top: 48px; font-size: clamp(23px, 2.6vw, 30px); }
.prose h3 { margin-top: 34px; }
.prose strong { color: var(--ink); font-weight: 600; }
.pull {
  font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; line-height: 1.4;
  color: var(--blue-deep); letter-spacing: -0.015em;
  border-left: 3px solid var(--blue-bright); padding: 4px 0 4px 22px;
  margin: 34px 0;
}
.pull.dark { color: #fff; border-color: var(--blue-bright); }
.note {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; font-size: 15px; color: var(--ink-soft);
}
.note strong { color: var(--ink); }
.note.warn { border-color: #fde68a; background: #fffbeb; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; line-height: 1;
  border: 1.5px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); box-shadow: 0 1px 2px rgba(30,58,138,.25); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(30,58,138,.5); }
.btn-outline { background: transparent; color: var(--blue-deep); border-color: var(--blue-deep); }
.btn-outline:hover { background: var(--blue-mist); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--blue-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { color: var(--blue); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }
.textlink:hover { text-decoration: underline; }
.textlink .arrow { transition: transform .18s; }
.textlink:hover .arrow { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo .suffix { color: var(--blue); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { list-style: none; position: relative; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  background: none; border: none; transition: color .15s, background .15s;
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-mist); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav li.open > button .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: all .18s;
}
.nav li.open > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.submenu a strong { font-size: 14px; color: var(--ink); font-weight: 600; }
.submenu a span { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.submenu a:hover { background: var(--bg-soft); }
.submenu .all { border-top: 1px solid var(--line-soft); margin-top: 6px; padding-top: 10px; }
.submenu .all strong { color: var(--blue); }
.nav-cta { display: inline-flex; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .x { display: none; }
.nav-toggle[aria-expanded="true"] .burger { display: none; }
.nav-toggle[aria-expanded="true"] .x { display: block; }

@media (max-width: 980px) {
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-wrap {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 12px 20px 20px; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-wrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav button { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    padding: 0 0 4px 12px; display: none;
  }
  .submenu a { align-items: flex-start; text-align: left; }
  .submenu .all a { padding-top: 12px; }
  .nav li.open > .submenu { display: block; }
  .nav-mobile-cta { display: block; margin-top: 14px; }
  .nav-mobile-cta .btn { width: 100%; }
}
@media (min-width: 981px) { .nav-mobile-cta { display: none; } }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark p { color: rgba(255,255,255,.78); }
.section.dark .eyebrow { color: #93c5fd; }
.section.dark .eyebrow::before { background: #93c5fd; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head h2 + p, .section-head h1 + p { margin-top: 16px; }
@media (max-width: 720px) { .section { padding: 56px 0; } .section.tight { padding: 44px 0; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { border-color: #c7d2fe; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 21px; }
.card p { font-size: 15px; line-height: 1.6; }
.card .meta { font-size: 13px; color: var(--muted); }
.card .meta strong { color: var(--ink); font-weight: 600; }
.card .textlink { margin-top: auto; padding-top: 8px; }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue-mist);
  display: flex; align-items: center; justify-content: center; color: var(--blue-deep); margin-bottom: 4px;
}
.card-icon svg { width: 22px; height: 22px; }
.card.featured { border-color: var(--blue-deep); border-top: 3px solid var(--blue-deep); }
.card.dark { background: var(--navy-2); border-color: rgba(255,255,255,.1); }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,.75); }
.card.dark .textlink { color: #93c5fd; }
.card.dark:hover { border-color: rgba(147,197,253,.4); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-bright); }

.checklist { list-style: none; display: grid; gap: 8px 24px; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.checklist.cols-3 { grid-template-columns: repeat(3, 1fr); }
.checklist li { position: relative; padding-left: 26px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/contain;
}
.section.dark .checklist li { color: rgba(255,255,255,.85); }
@media (max-width: 720px) { .checklist.cols-2, .checklist.cols-3 { grid-template-columns: 1fr; } }

.qlist { list-style: none; display: grid; gap: 12px; }
.qlist li {
  padding: 16px 20px; border-left: 3px solid var(--blue-bright); background: var(--bg-soft);
  border-radius: 0 8px 8px 0; font-size: 16px; font-weight: 500; color: var(--ink);
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.pillar { padding: 26px 24px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: none; }
.pillar .k { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.pillar .k::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--blue-deep); }
.pillar h3 { font-size: 20px; margin-bottom: 6px; }
.pillar p { font-size: 14px; }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } .pillar:nth-child(2) { border-right: none; } .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } .pillar { border-right: none; border-bottom: 1px solid var(--line); } .pillar:last-child { border-bottom: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.step { background: #fff; padding: 30px 26px; }
.step .num { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--blue); margin-bottom: 14px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { font-size: 14.5px; }
.section.dark .steps { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.12); }
.section.dark .step { background: var(--navy-2); }
.section.dark .step .num { color: #93c5fd; }
@media (max-width: 980px) { .steps, .steps.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* ---------- Principles ---------- */
.principles { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.principles .n { font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .1em; padding-top: 6px; }
.principles h3 { font-size: 20px; margin-bottom: 4px; }
.principles p { font-size: 15px; }
.section.dark .principles, .section.dark .principles li { border-color: rgba(255,255,255,.14); }
.section.dark .principles .n { color: #93c5fd; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 60px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 1px solid var(--line); }
.hero .split { gap: 48px; }
.hero h1 { margin: 6px 0 20px; }
.hero .lead { max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-geo { margin-top: 26px; font-size: 13.5px; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.hero-visual { position: relative; }
.figure-label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; text-align: right; }
@media (max-width: 720px) { .hero { padding: 44px 0 40px; } }

.page-hero { padding: 60px 0 44px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; margin-top: 4px; }
.page-hero .lead { max-width: 720px; margin-top: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; list-style: none; }
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- Illustrations ---------- */
.illus { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.illus svg { width: 100%; height: auto; }
.illus .t { font-size: 12px; font-weight: 600; color: var(--ink-2); letter-spacing: .04em; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.illus .t span { font-weight: 500; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 72px 0; }
.cta-band .inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 14px; font-size: 17px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band .inner { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Product box ---------- */
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.product-head { background: var(--navy); color: #fff; padding: 28px 32px; }
.product-head .eyebrow { color: #93c5fd; margin-bottom: 8px; }
.product-head .eyebrow::before { background: #93c5fd; }
.product-head h3 { color: #fff; font-size: 24px; }
.product-head p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 16px; }
.product-body { padding: 28px 32px; }
.product-body h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.product-foot { padding: 20px 32px; border-top: 1px solid var(--line); background: var(--bg-soft); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.product-foot p { font-size: 14px; }
@media (max-width: 640px) { .product-head, .product-body, .product-foot { padding-left: 22px; padding-right: 22px; } }

/* ---------- Insight cards ---------- */
.insight-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.insight-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #c7d2fe; }
.insight-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.insight-card .abstract { aspect-ratio: 16/9; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.insight-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.insight-card .cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.insight-card h3 { font-size: 19px; line-height: 1.3; }
.insight-card p { font-size: 14.5px; }
.insight-card .meta { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.insight-card .textlink { margin-top: auto; padding-top: 6px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-bright); box-shadow: 0 0 0 3px rgba(59,130,246,.18); }
.field .err { font-size: 13px; color: #b91c1c; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #dc2626; }
.field.invalid .err { display: block; }
.form-status { font-size: 14.5px; padding: 14px 16px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: var(--green-soft); color: #14532d; }
.form-status.bad { display: block; background: #fee2e2; color: #7f1d1d; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .logo { color: #fff; }
.site-footer .logo .suffix { color: #93c5fd; }
.footer-tag { margin-top: 14px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.footer-brand p { font-size: 14px; margin-top: 10px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer li a { font-size: 14.5px; }
.site-footer li a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; }
.footer-bottom .geo { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Article (legacy blog.html) ---------- */
.article-hero { padding: 48px 0 36px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); border-bottom: 1px solid var(--line); }
.article-hero .inner { max-width: 780px; margin: 0 auto; }
.article-hero h1 { font-size: clamp(28px, 3.6vw, 42px); margin-top: 6px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.article-meta .sep { opacity: .4; }
.article-figure { max-width: 900px; margin: 36px auto 0; padding: 0 40px; }
.article-figure img { border-radius: 14px; box-shadow: var(--shadow-md); }
.article-figure figcaption { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.article-body { max-width: 780px; margin: 0 auto; padding: 44px 40px 60px; }
.article-body p { font-size: 17px; line-height: 1.75; margin-bottom: 22px; }
.article-body p.opener { font-size: 18.5px; color: var(--ink); }
.article-body h2 { font-size: 24px; margin: 40px 0 14px; }
.article-body ul { list-style: none; margin-bottom: 22px; }
.article-body li { position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line-soft); font-size: 16px; color: var(--ink-soft); line-height: 1.65; }
.article-body li:first-child { border-top: none; }
.article-body li::before { content: ''; position: absolute; left: 2px; top: 17px; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/contain; }
.article-footer { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 640px) { .article-figure, .article-body { padding-left: 20px; padding-right: 20px; } }
