:root {
  color-scheme: dark;
  --bg: #0b0b0d;
  --card: #1a1a1c;
  --text: #f2f2f2;
  --muted: rgba(235, 235, 245, 0.62);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5e92ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.site-header, .page, .site-footer { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.5rem 0; }
.wordmark { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.wordmark img { border-radius: 8px; }
nav { display: flex; gap: 1.25rem; font-size: .95rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }
.page { padding: 1.5rem 0 4rem; }
h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 1rem; }
h2 { font-size: 1.25rem; margin: 2.5rem 0 .6rem; }
h3 { font-size: 1.05rem; margin: 1.6rem 0 .4rem; }
p, ul, address { margin: 0 0 1rem; color: var(--muted); }
address { font-style: normal; }
li { margin-bottom: .35rem; }
strong { color: var(--text); font-weight: 600; }
.lead { font-size: 1.2rem; color: var(--text); }
.hero { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; padding: 2rem 0 1rem; }
.hero img { border-radius: 28px; width: 112px; height: 112px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 2rem 0; }
.card { background: var(--card); border-radius: 22px; padding: 1.25rem 1.25rem .5rem; }
.card h3 { margin-top: 0; }
.note { background: var(--card); border-radius: 18px; padding: 1rem 1.25rem; }
.updated { font-size: .9rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.5rem 0 3rem; font-size: .9rem; color: var(--muted); }
.site-footer a { color: var(--muted); }
.contact-form { position: relative; display: grid; gap: 1rem; max-width: 540px; margin: 1rem 0 1.5rem; }
.form-field { display: grid; gap: .4rem; }
.form-field label { font-size: .95rem; color: var(--text); }
.form-field input, .form-field textarea { width: 100%; min-width: 0; background: var(--card); color: var(--text); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 12px; padding: .7rem .85rem; font: inherit; line-height: 1.5; }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-submit:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-submit { justify-self: start; border: 0; border-radius: 999px; background: var(--accent); color: #0b0b0d; font: inherit; font-weight: 600; padding: .7rem 1.4rem; cursor: pointer; }
.form-note { font-size: .85rem; }
.form-error { border-left: 2px solid #f190a7; padding-left: 14px; color: var(--text); }
.form-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
