/* The website's home page (index.html and en/index.html). */
/* The app's colours and font (Space Grotesk, OFL, served with the web app). */
@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("/app/data/space_grotesk_regular.ttf") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("/app/data/space_grotesk_semibold.ttf") format("truetype"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("/app/data/space_grotesk_bold.ttf") format("truetype"); }
:root { --bg: #f5fafd; --card: #ffffff; --text: #171c1f; --muted: #40484c; --primary: #06677f; --on-primary: #ffffff;
  --accent: #cfe6f1; --on-accent: #344a52; --line: #bfc8cc; --hero: linear-gradient(160deg, #003543 0%, #06677f 60%, #4fb3cf 100%); }
@media (prefers-color-scheme: dark) { :root { --bg: #0f1416; --card: #1b2023; --text: #dee3e6; --muted: #bfc8cc; --primary: #88d1eb;
  --on-primary: #003543; --accent: #344a52; --on-accent: #cfe6f1; --line: #40484c; --hero: linear-gradient(160deg, #001f28 0%, #003543 60%, #06677f 100%); } }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Space Grotesk", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--primary); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.beta-bar { background: var(--accent); color: var(--on-accent); font-size: 0.9rem; text-align: center; padding: 8px 16px; }
.beta-bar a { color: inherit; }
header.top { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
header.top img { width: 36px; height: 36px; border-radius: 10px; }
header.top .name { font-weight: 800; font-size: 1.25rem; }
.tag { background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 1px 6px; font-size: 0.7rem; font-weight: 600; vertical-align: 2px; }
header.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
header.top nav a { text-decoration: none; color: var(--text); font-weight: 600; }
header.top nav a.hide-small { display: none; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: none; color: var(--text);
  border-radius: 8px; padding: 5px 9px; font: inherit; font-weight: 600; font-size: 0.85rem; cursor: pointer; }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (min-width: 720px) { header.top nav a.hide-small { display: inline; } }
.hero { background: var(--hero); color: #fff; }
.hero .wrap { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 1fr; padding-top: 72px; padding-bottom: 72px; } }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.1; margin: 0 0 16px; }
.hero p { font-size: 1.15rem; color: #d8ecf8; margin: 0 0 24px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 1rem; }
.btn.main { background: #fff; color: #06677f; }
.btn.ghost { border: 1.5px solid #ffffffaa; color: #fff; }
.btn.soon { cursor: default; opacity: 0.85; font-weight: 600; }
.hero .ios { font-size: 0.9rem; color: #bfe0f4; margin-top: 14px; }
.phones { display: flex; justify-content: center; gap: 14px; }
.phones img { width: 31%; max-width: 200px; aspect-ratio: 1 / 2; border-radius: 18px; border: 4px solid #0b2234; box-shadow: 0 12px 30px #0006; background: #0b2234; }
.phones img:nth-child(2) { transform: translateY(-18px); }
section.block { padding: 56px 0 8px; }
section.block h2 { font-size: 1.7rem; margin: 0 0 8px; }
section.block > .wrap > p { color: var(--muted); margin: 0 0 24px; max-width: 46em; }
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--card); border-radius: 18px; padding: 20px; }
.card svg { width: 30px; height: 30px; stroke: var(--primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 18px; overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 0.9rem; color: var(--muted); }
td.c, th.c { text-align: center; width: 90px; }
tr:last-child td { border-bottom: 0; }
.yes { color: #1b7f3b; font-weight: 700; } .no { color: var(--muted); }
@media (prefers-color-scheme: dark) { .yes { color: #7fd6a0; } }
footer { padding: 48px 0 40px; color: var(--muted); font-size: 0.9rem; }
footer p { margin: 6px 0; }
/* Reservoir pages and the list (web/app/scripts/reservoir-pages.mjs). */
header.top a.name { color: var(--text); text-decoration: none; }
.res h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 4px 0 16px; }
.res h2 { margin-top: 32px; }
.res p { max-width: 46em; }
.crumbs { color: var(--muted); font-size: 0.9rem; margin: 0; }
.level { background: var(--card); border-radius: 18px; padding: 16px 20px; margin-bottom: 16px; }
.level b { font-size: 2rem; }
.level p { margin: 6px 0 0; color: var(--muted); }
.bar { height: 10px; border-radius: 5px; background: var(--accent); overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; background: var(--primary); }
.res .cta { margin-bottom: 20px; }
.res .btn.main { background: var(--primary); color: var(--on-primary); }
.res .btn.ghost { border-color: var(--primary); color: var(--primary); }
.res td:first-child { color: var(--muted); }
.res tbody td:first-child a, .res table a { font-weight: 600; }
