/* GVERA website. Same language as the app's Simple view: cool neutral paper (or night), blue-black ink and one
   signal colour, the deep cyan of the mark. One theme per page, light or dark, following the system unless the
   visitor picks (the sun/moon button). Shape rule, followed everywhere: panels 16px, controls and pictures 10px,
   pills fully round. Type is Geist and Geist Mono (SIL OFL), icons Phosphor (MIT), tool marks Simple Icons (CC0);
   all of it is served from this site, nothing loads from a third party. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #f3f5f6; --surface: #fbfcfc; --surface-2: #eef1f3; --surface-3: #e3e8eb;
  --ink: #0c1217; --ink-2: #35424b; --ink-3: #56636c; --ink-4: #636f78;
  --line: #e0e5e8; --line-2: #c9d1d6;
  --accent: #16708f; --accent-ink: #ffffff; --accent-soft: rgb(22 112 143 / .08); --accent-line: rgb(22 112 143 / .32);
  --ok: #1a7447; --warn: #8a5a12;
  --btn: #0c1217; --btn-ink: #f7f9fa; --btn-hover: #24333d;
  --shadow: 0 1px 2px rgb(12 18 23 / .04), 0 10px 28px rgb(12 18 23 / .07);
  --shadow-lg: 0 2px 8px rgb(12 18 23 / .06), 0 28px 72px rgb(12 18 23 / .18);
  --nav-bg: rgb(243 245 246 / .82);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --r-panel: 16px; --r-ctl: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1014; --surface: #10171c; --surface-2: #162027; --surface-3: #1d2931;
    --ink: #e7edf0; --ink-2: #c3cdd3; --ink-3: #9aa8b1; --ink-4: #84939c;
    --line: #1e2a31; --line-2: #2b3a43;
    --accent: #4cc3e6; --accent-ink: #06151b; --accent-soft: rgb(76 195 230 / .1); --accent-line: rgb(76 195 230 / .38);
    --ok: #4cc38a; --warn: #e3a74a;
    --btn: #e7edf0; --btn-ink: #0b1014; --btn-hover: #c9d4da;
    --shadow: 0 1px 2px rgb(2 6 9 / .35), 0 10px 28px rgb(2 6 9 / .35); --shadow-lg: 0 28px 72px rgb(2 6 9 / .6);
    --nav-bg: rgb(11 16 20 / .82);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1014; --surface: #10171c; --surface-2: #162027; --surface-3: #1d2931;
  --ink: #e7edf0; --ink-2: #c3cdd3; --ink-3: #9aa8b1; --ink-4: #84939c;
  --line: #1e2a31; --line-2: #2b3a43;
  --accent: #4cc3e6; --accent-ink: #06151b; --accent-soft: rgb(76 195 230 / .1); --accent-line: rgb(76 195 230 / .38);
  --ok: #4cc38a; --warn: #e3a74a;
  --btn: #e7edf0; --btn-ink: #0b1014; --btn-hover: #c9d4da;
  --shadow: 0 1px 2px rgb(2 6 9 / .35), 0 10px 28px rgb(2 6 9 / .35); --shadow-lg: 0 28px 72px rgb(2 6 9 / .6);
  --nav-bg: rgb(11 16 20 / .82);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.028em; line-height: 1.08; text-wrap: balance; }
code, kbd, pre { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn); color: var(--btn-ink); padding: 10px 14px; border-radius: var(--r-ctl); z-index: 100; }
.skip:focus { top: 12px; }

/* ── nav: one line, 64px ─────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 40; background: var(--nav-bg); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; } }
.nav .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; letter-spacing: .32em; font-size: 14px; color: var(--ink); }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-3); padding: 8px 12px; border-radius: var(--r-ctl); transition: color .2s, background .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.96); }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; }
:root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-btn .sun { display: block; }
  :root:not([data-theme="light"]) .icon-btn .moon { display: none; }
}

/* ── buttons ─────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: var(--r-ctl); border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 500 16px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, transform .25s var(--ease), border-color .2s; }
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn.primary { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.btn.primary:hover { background: var(--btn-hover); }
.btn.sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn.lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon-go { transform: translateX(3px); }

.sub { margin-top: 20px; color: var(--ink-2); max-width: 58ch; font-size: 1.08rem; }
.pic-dark { display: none; }
:root[data-theme="dark"] .pic-light { display: none; }
:root[data-theme="dark"] .pic-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pic-light { display: none; }
  :root:not([data-theme="light"]) .pic-dark { display: block; }
}
.copy-label { font: 500 13px/1 var(--sans); }

footer { padding: 56px 0 64px; color: var(--ink-3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 60ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) { .nav-links { display: none; } }
@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 12px; }
  .brand { letter-spacing: .24em; }
  .nav-end .btn { padding: 0 14px; }
}
