/* Nexa Advisers. System fonts only; light and dark from the visitor's setting. */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #14181f;
  --muted: #4a5361;
  --line: #d9dee6;
  --accent: #1f4fd1;
  --accent-text: #ffffff;
  --accent-soft: #e8eefc;
  --ok: #156a3a;
  --err: #b3261e;
  --focus: #f0a400;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218;
    --surface: #171b23;
    --text: #e9edf3;
    --muted: #aab3c0;
    --line: #2c333f;
    --accent: #8fb0ff;
    --accent-text: #0b1020;
    --accent-soft: #1c2640;
    --ok: #7ad69c;
    --err: #ff9a91;
    --focus: #ffc94d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); color: var(--text); padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand strong { display: block; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.mark { display: block; width: 36px; height: 36px; flex: none; }
.nav, .langs, .foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; padding: 6px 2px; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav a.btn { color: var(--accent-text); padding: 6px 14px; }
.langs { gap: 4px; }
.langs a { display: inline-block; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); text-decoration: none; font-size: .85rem; }
.langs a[aria-current="true"] { color: var(--text); border-color: var(--text); font-weight: 600; }

.hero { padding: 48px 0 16px; }
h1 { font-size: clamp(1.8rem, 4vw + .5rem, 2.8rem); line-height: 1.15; margin: 0 0 16px; max-width: 22ch; }
h2 { font-size: 1.4rem; line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0; }
.hero-cta { margin: 24px 0 0; }
.block { padding: 24px 0; border-top: 1px solid var(--line); }
.hero + .block { border-top: 0; }
.block p, .ticks { max-width: 70ch; }
.band { text-align: left; }

.btn {
  display: inline-block; background: var(--accent); color: var(--accent-text); border: 0; border-radius: 8px;
  padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .65; cursor: progress; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.card p { margin: 0; color: var(--muted); }
.ticks { padding-left: 1.2em; }
.ticks li { margin: 4px 0; }
.ticks li::marker { color: var(--accent); }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }

.form { max-width: 640px; display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.field label { display: block; font-weight: 600; }
.req { font-weight: 400; color: var(--muted); font-size: .85rem; }
.hint { margin: 2px 0 6px; color: var(--muted); font-size: .9rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--muted); border-radius: 8px;
}
.field [aria-invalid="true"] { border-color: var(--err); border-width: 2px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--accent); }
.check label { font-weight: 400; }
.check .field-error { grid-column: 1 / -1; }
.field-error { margin: 4px 0 0; color: var(--err); font-size: .9rem; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status:empty { display: none; }
.status { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); }
.status.ok { color: var(--ok); border-color: var(--ok); }
.status.err { color: var(--err); border-color: var(--err); }
.notice { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }

.foot { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .92rem; }
.foot-in { padding-top: 24px; padding-bottom: 32px; }
.foot p { margin: 0 0 8px; }
