/* The look of the app's welcome screen (src/theme/brand.ts, the Kelda Dynamics brand guidelines 2025): the dark and the light mode, Ubuntu, a large bold title, the mint line, the K of the logo
   large and faint at the bottom right, the official logo bottom left. The page takes the system's mode. Every file is its own: nothing is loaded from anywhere else. */
@font-face { font-family: Ubuntu; font-weight: 400; font-style: normal; font-display: swap; src: url(fonts/ubuntu-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Ubuntu; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/ubuntu-latin-700-normal.woff2) format("woff2"); }

:root {
  --body: #191B25; --text: #E3E6F0; --dimmed: #85859E; --border: #3F4251; --accent-ink: #A9F0D1;
  --mint: #A9F0D1; --mint-hover: #86DDB7; --on-mint: #071838; --k-opacity: 0.06;
}
@media (prefers-color-scheme: light) {
  :root {
    --body: #EFF1F4; --text: #313241; --dimmed: #5F5F78; --border: #B5B4C7; --accent-ink: #2D7457;
    --mint: #86DDB7; --mint-hover: #6CC8A1; --on-mint: #071838; --k-opacity: 0.07;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--body); color: var(--text); font: 16px/1.45 Ubuntu, system-ui, -apple-system, "Segoe UI", sans-serif; }
body { position: relative; min-height: 100vh; overflow: hidden; }

.k { position: absolute; right: -120px; bottom: -250px; width: min(1100px, 85%); color: var(--text); opacity: var(--k-opacity); pointer-events: none; }
.wrap { position: relative; min-height: 100vh; display: flex; flex-direction: column; padding: 0 clamp(20px, 12vw, 200px); }
main { width: 560px; max-width: 100%; margin-top: 15vh; }
h1 .nb { white-space: nowrap; }
h1 { margin: 0; font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1.1; }
.lead { margin: 8px 0 0; color: var(--accent-ink); font-size: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 0; }
.btn { font: inherit; font-size: 14px; font-weight: 400; padding: 8px 16px; border-radius: 4px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--dimmed); }
.btn.primary { background: var(--mint); border-color: var(--mint); color: var(--on-mint); font-weight: 700; }
.btn.primary:hover { background: var(--mint-hover); border-color: var(--mint-hover); }
.btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
#help { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
#help p { margin: 0; color: var(--dimmed); font-size: 14px; }
#help .row { margin-top: 12px; }
#paste-hint { margin-top: 12px; }

footer { margin-top: auto; padding: 48px 0 26px; }
footer img { display: block; width: 220px; height: auto; margin-left: -32px; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .wrap { padding: 0 20px; } main { margin-top: 10vh; } }
