:root {
  --bg: #fbfaf7; --bg-alt: #f1efe9; --ink: #14213d; --muted: #566074; --line: #dcd8cd;
  --accent: #14213d; --accent-ink: #fff; --card: #fff;
  --maxw: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1624; --bg-alt: #151d2e; --ink: #eef0f5; --muted: #a3acbf; --line: #28324a;
    --accent: #e9d8a6; --accent-ink: #14213d; --card: #18213a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.brand { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; letter-spacing: .01em; }
.mark { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 6px 0; }
nav a:hover { color: var(--ink); }

.hero { padding: 88px 0 72px; }
.eyebrow, .tag { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; font-weight: 600; }
h1 { font-size: clamp(34px, 6vw, 58px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -.02em; max-width: 18ch; }
h2 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 24px; letter-spacing: -.01em; }
h3 { font-size: 22px; margin: 0 0 8px; }
.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 0 28px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }

.btn { display: inline-block; padding: 12px 20px; border: 1.5px solid var(--ink); border-radius: 10px; text-decoration: none; font-weight: 600; min-height: 44px; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn:hover { opacity: .88; }

.section { padding: 72px 0; }
.alt { background: var(--bg-alt); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
.card p:not(.tag) { color: var(--muted); flex: 1; }

.person { display: flex; gap: 20px; align-items: flex-start; }
.avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 20px; }
.person .tag { margin-bottom: 8px; }
.person p:not(.tag) { margin: 0 0 10px; color: var(--muted); }
.mail { font-size: 24px; font-weight: 700; }
.muted { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 15px; }
.foot p { margin: 4px 0; }

@media (max-width: 560px) {
  .hero { padding: 56px 0 48px; }
  .section { padding: 52px 0; }
  .person { flex-direction: column; }
  nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
