
:root {
  --bg: #f2f3f5; --surface: #ffffff; --surface-2: #e8eaed; --text: #20242a;
  --muted: #626b76; --line: #d5d9df; --accent: #555f6d; --accent-strong: #303944;
  --shadow: 0 18px 50px rgba(25, 32, 42, .08);
}
[data-theme="dark"] {
  --bg: #171a1f; --surface: #22272e; --surface-2: #2b313a; --text: #f1f3f5;
  --muted: #b0b8c2; --line: #3a424d; --accent: #b7c0cb; --accent-strong: #e1e6ec;
  --shadow: 0 18px 50px rgba(0, 0, 0, .24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-strong); }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.04em; font-size: 1.35rem; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--accent-strong); color: var(--bg); font-weight: 900; font-size: 1.05rem; }
.brand small { display: block; font-size: .57rem; letter-spacing: .17em; color: var(--muted); font-weight: 700; margin-top: -5px; }
.nav-links { display: flex; align-items: center; gap: 23px; font-size: .92rem; color: var(--muted); }
.nav-links a.active, .nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle { border: 1px solid var(--line); color: var(--text); background: var(--surface); border-radius: 999px; padding: 9px 13px; cursor: pointer; font: inherit; font-size: .85rem; }
.menu-toggle { display: none; }
.hero { padding: 92px 0 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-size: .73rem; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); line-height: 1.04; letter-spacing: -.065em; margin: 18px 0 22px; max-width: 900px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.13; letter-spacing: -.045em; margin: 0 0 18px; }
h3 { font-size: 1.15rem; margin: 0 0 8px; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 760px; }
.slogan { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .88rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 19px; border-radius: 8px; background: var(--accent-strong); color: var(--bg); font-weight: 700; border: 1px solid var(--accent-strong); }
.btn:hover { opacity: .88; color: var(--bg); }
.btn.secondary { background: transparent; color: var(--text); border-color: var(--line); }
.section { padding: 68px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 25px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .number { color: var(--muted); font-size: .78rem; letter-spacing: .14em; font-weight: 800; margin-bottom: 22px; }
.band { background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.value { background: var(--surface); padding: 28px; }
.value strong { display: block; font-size: 1.25rem; letter-spacing: .08em; margin-bottom: 9px; }
.value p { margin: 0; color: var(--muted); }
.page-hero { padding: 70px 0 45px; border-bottom: 1px solid var(--line); }
.prose { max-width: 820px; }
.prose p { color: var(--muted); }
.callout { padding: 28px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; margin: 30px 0; }
.timeline { border-left: 2px solid var(--line); padding-left: 24px; margin: 28px 0; }
.timeline-item { margin: 0 0 24px; position: relative; }
.timeline-item:before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent-strong); left: -30px; top: 8px; }
.timeline-item span { color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .1em; }
.person-card { min-height: 190px; }
.avatar { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-weight: 800; margin-bottom: 18px; }
.role { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 12px 13px; background: var(--surface); color: var(--text); font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.form-note { color: var(--muted); font-size: .85rem; }
.blog-link { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 700; border-bottom: 1px solid var(--line); }
footer { padding: 38px 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: .9rem; }
.notice { border: 1px solid var(--line); padding: 14px 16px; border-radius: 10px; color: var(--muted); background: var(--surface-2); }
@media (max-width: 850px) {
 .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 18px 20px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
 .nav-links.open { display: flex; } .menu-toggle { display: inline-block; }
 .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
 .container { width: min(100% - 30px, 1120px); }
 .hero { padding: 65px 0 55px; } .section { padding: 48px 0; }
 .grid, .grid.two, .values, .form-grid { grid-template-columns: 1fr; }
 .section-head { display: block; } .section-head p { margin-top: 12px; }
}

.floated-img {
  float: right;
  max-width: 50%;
  height: auto;
  margin-left: 15px;
}

.logo {
  height: 38px;          /* match the old .brand-mark size; adjust to taste */
  width: auto;
  display: block;
}

/* Light theme (default): show light logo, hide dark one */
.logo-dark { display: none; }

/* Dark theme: swap them */
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }