/* Matches narbis.health. Cyan is decoration only: on white it fails contrast as text. */
:root {
  color-scheme: light;
  --ink: #0e1416; --quiet: #5b6669; --line: #e3e7e8; --cyan: #00ffff; --bad: #b42318;
  --rise: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.55;
       font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
       -webkit-font-smoothing: antialiased; }
main { max-width: 900px; margin: 0 auto; padding: clamp(32px, 7vh, 72px) 16px clamp(32px, 6vh, 56px); }
header { text-align: center; animation: rise 900ms var(--rise) both; }
.logo { display: block; width: clamp(180px, 22vw, 260px); height: auto; margin: 0 auto; }
h1 { margin: 12px 0 0; color: var(--quiet); font-size: 1rem; font-weight: 500; letter-spacing: .02em; }
.glasses { display: block; width: min(100%, 760px); height: auto; margin: clamp(28px, 6vh, 56px) auto;
           filter: drop-shadow(0 38px 42px rgba(14, 20, 22, .16));
           animation: rise 1100ms var(--rise) 120ms both; }
article { max-width: 560px; margin: 0 auto; animation: rise 900ms var(--rise) 260ms both; }
h2 { margin: 0 0 12px; font-size: clamp(1.625rem, 4.5vw, 1.875rem); font-weight: 600; line-height: 1.2;
     letter-spacing: -.01em; text-align: center; }
h3 { margin: 40px 0 8px; font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 12px; }
.lead { color: var(--quiet); font-size: 1.125rem; text-align: center; }
p[data-part="version"], p[data-part="notes"] { text-align: center; }
p:empty { display: none; }
ul.facts { list-style: none; margin: 32px 0 0; padding: 0; }
ul.facts li { padding: 14px 0; border-top: 1px solid var(--line); }
ul.facts li:last-child { border-bottom: 1px solid var(--line); }
label { display: block; margin: 16px 0 0; font-size: .9375rem; font-weight: 500; }
input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-weight: 400;
        color: var(--ink); background: #fff; border: 1px solid #c9d0d2; border-radius: 10px; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-weight: 400; }
.agree input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
input:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
input[name=code] { font: 22px Consolas, Menlo, monospace; letter-spacing: 4px; }
button, .dl { display: inline-block; margin-top: 20px; padding: 13px 28px; border: 0; border-radius: 999px;
              background: var(--ink); color: #fff; font: inherit; font-weight: 500; letter-spacing: .02em;
              text-decoration: none; cursor: pointer;
              box-shadow: 0 0 0 0 var(--cyan); transition: box-shadow 260ms var(--rise); }
button:hover:not(:disabled), .dl:hover, button:focus-visible, .dl:focus-visible { box-shadow: 0 0 0 3px var(--cyan); outline: 0; }
button:disabled { opacity: .55; cursor: default; }
button.link { margin: 12px 18px 0 0; padding: 0; border-radius: 0; background: none; color: var(--ink);
              font-weight: 400; text-decoration: underline; text-decoration-color: var(--cyan);
              text-decoration-thickness: 2px; text-underline-offset: 3px; box-shadow: none; }
button.inline { margin: 0; }
a { color: var(--ink); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible, button.link:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; box-shadow: none; }
.muted, .fine { color: var(--quiet); }
.fine { margin-top: 40px; font-size: .75rem; }
.error { color: var(--bad); margin-top: 14px; }
.error:empty { display: none; }
.cards { display: grid; justify-items: center; gap: 24px; margin-top: clamp(28px, 6vh, 56px);
         animation: rise 1000ms var(--rise) 120ms both; }
.card { display: block; width: min(100%, 560px); padding: 24px 24px 28px; border: 1px solid var(--line);
        border-radius: 20px; color: inherit; text-align: center; text-decoration: none;
        transition: box-shadow 260ms var(--rise); }
.card:hover, .card:focus-visible { box-shadow: 0 0 0 3px var(--cyan); outline: 0; }
.card img { display: block; width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgba(14, 20, 22, .16)); }
.card h2 { margin: 20px 0 4px; }
.card p { margin: 0; color: var(--quiet); font-size: 1.125rem; }
footer { max-width: 560px; margin: 0 auto; padding: 0 16px 40px; color: var(--quiet); font-size: .875rem; text-align: center; }
footer p { margin: 0 0 8px; }
footer .fine { margin-top: 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  header, .glasses, article, .cards { animation: none; }
  button, .dl, .card { transition: none; }
}
