:root {
  --bg: #0e0f12;
  --surface: #17191e;
  --line: #262a31;
  --text: #ecedef;
  --muted: #9aa0aa;
  --accent: #e0a63a;
  --accent-ink: #14110a;
  --max: 960px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.bar, main, .foot { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: 16px; padding-right: 16px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; min-height: 44px; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: .01em; }
.brand:hover { text-decoration: none; }
.mark { width: 28px; height: 28px; }
nav { display: flex; gap: 20px; }
nav a { color: var(--muted); font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 96px 0 72px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 7vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 20px; font-weight: 750; }
.lede { color: var(--muted); font-size: 19px; max-width: 34em; margin: 0 0 32px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; background: var(--accent); color: var(--accent-ink); font-weight: 650; padding: 12px 22px; border-radius: 8px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

.block { padding: 48px 0; border-top: 1px solid var(--line); }
h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 20px; font-weight: 600; }
.block > p { max-width: 38em; margin: 0; }
p { text-wrap: pretty; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
.card p { margin: 12px 0 0; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); border: 1px solid currentColor; border-radius: 999px; padding: 3px 10px; }

.contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.contacts li { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: center; }
.contacts span { color: var(--muted); min-width: 11em; font-size: 15px; }
.contacts a { overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }

.foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 32px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot p { margin: 0; }
.foot a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }

.doc { padding: 56px 0 72px; max-width: 42em; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); }
.doc h2 { margin-top: 36px; }
.doc p, .doc li { color: #c9ccd2; }

@media (max-width: 560px) {
  .bar { padding-top: 12px; padding-bottom: 12px; row-gap: 0; }
  .hero { padding: 48px 0 48px; }
  nav { gap: 20px; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; }
  .lede { font-size: 18px; }
  .card { padding: 22px; }
  .contacts li { padding-top: 6px; }
  .contacts span { min-width: 0; width: 100%; font-size: 14px; }
  .foot { padding-top: 20px; padding-bottom: 28px; }
}
