/* VaultSync public site. Light by default, dark under the OS preference. No web fonts, no scripts. */
:root {
  --bg: #ffffff; --surface: #f4f7fb; --text: #10202f; --muted: #46566a; --border: #d5dde8;
  --accent: #0b6bff; --accent-text: #ffffff; --accent-strong: #0750c2; --note: #fff7e0; --note-border: #e8c766;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d141c; --surface: #16212d; --text: #e7eef6; --muted: #a9b8c9; --border: #2c3b4c;
    --accent: #4d9bff; --accent-text: #06111d; --accent-strong: #7bb5ff; --note: #2a2410; --note-border: #7a6420;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) { a { color: var(--accent); } }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-text); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 1800px) { .wrap { max-width: 1440px; } body { font-size: 19px; } }
@media (min-width: 2400px) { .wrap { max-width: 1680px; } body { font-size: 21px; } }
header.site { border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
nav.top ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav.top a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; color: var(--text); }
nav.top a:hover { background: var(--surface); }
main { padding: 40px 0 56px; }
h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; margin: 40px 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 46em; margin: 0 0 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid var(--accent); }
.button.primary { background: var(--accent); color: var(--accent-text); }
.button.primary:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
.button.secondary { color: var(--text); background: transparent; }
.button.big { min-height: 56px; font-size: 19px; }
.small { font-size: 15px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding: 0; list-style: none; margin: 16px 0 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.card p { margin: 0; color: var(--muted); }
ol.steps { padding-left: 1.4em; }
ol.steps li { margin: 0 0 10px; }
.note { background: var(--note); border: 1px solid var(--note-border); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.note h2 { margin-top: 0; font-size: 20px; }
.note p { margin-bottom: 0; }
.prose { max-width: 46em; }
.prose li { margin: 0 0 6px; }
.meta { color: var(--muted); font-size: 15px; }
footer.site { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 8px; }
footer.site a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
