/* Mimir Lineage – the front page of www (B315): tokens, base, the top band and the shared parts.
   The app's look (B79) and the logo's colours; fonts bundled, nothing from third parties (B67). */
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/ubuntu-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Ubuntu Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/ubuntu-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  --ink: #0b2d4d;
  --muted: #3d5368;
  --paper: #eef1f5;
  --card: #ffffff;
  --border: #dfe3e8;
  --primary: #046395;
  --navy: #0b2d4d;
  --navy-line: #2c5a6e;
  --on-navy: #f3f8fc;
  --on-navy-muted: #c9dbe8;
  --leaf: #78d4ca;
  --teal: #117783;
  --teal-strong: #0b5f69;
  --tint-blue: #d9e9f3;
  --tint-teal: #d6eeec;
  --proven: #1e6b3f;
  --focus: #005fcc;
  --radius: 16px;
  --shadow: 0 24px 50px rgba(11, 45, 77, 0.16);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2ecf3;
    --muted: #a9bccb;
    --paper: #12161b;
    --card: #1c2229;
    --border: #2f3842;
    --primary: #5bb4e0;
    --teal: #78d4ca;
    --teal-strong: #78d4ca;
    --tint-blue: #1d3a50;
    --tint-teal: #17393a;
    --proven: #6fcf97;
    --focus: #7fb8ff;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Ubuntu Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Arial, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--card); color: var(--ink); padding: 0.5rem 0.75rem; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 8px; border: 1.5px solid transparent; cursor: pointer; }
.btn-large { font-size: 17px; padding: 15px 24px; }
.btn-leaf { background: var(--leaf); color: #0b2d4d; font-weight: 700; }
.btn-leaf:hover { background: #9ae2da; }
.btn-outline-dark { border-color: #4d7593; color: var(--on-navy); }
.btn-outline-dark:hover { border-color: var(--leaf); }
.btn-ghost-dark { color: #ffffff; }
.btn-ghost-dark:hover { text-decoration: underline; }

/* The navy band: header and hero. The navy stays in dark mode – it is the logo's ink. */
.hero-band { background: var(--navy); color: var(--on-navy); }
.hero-band a:focus-visible { outline-color: var(--leaf); }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-navy); text-decoration: none; font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.logo-ink { fill: #f3f8fc; }
.logo-leaf { fill: #78d4ca; }
.top-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.top-nav a, .top-link { color: var(--on-navy-muted); text-decoration: none; padding: 8px 0; }
.top-nav a:hover, .top-link:hover { color: #ffffff; text-decoration: underline; }

.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.pill-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 14px; font-weight: 600; color: var(--leaf); border: 1.5px solid var(--navy-line); border-radius: 999px; padding: 6px 14px; }
.pill-badge .dot { width: 8px; height: 8px; border-radius: 4px; background: var(--leaf); }
.hero h1 { margin: 0 0 22px; font-size: clamp(2.6rem, 6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; color: #ffffff; }
.hero h1 .accent { display: block; color: var(--leaf); }
.hero-lead { margin: 0 0 32px; font-size: 20px; color: var(--on-navy-muted); max-width: 31rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.hero-shots { flex: 1 1 560px; min-width: 0; position: relative; padding-bottom: 72px; }
.window { margin: 0; background: #f3f8fc; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); border: 1px solid var(--navy-line); }
.window img { display: block; width: 100%; height: auto; }
.window-bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; background: #dfe7ee; }
.window-bar span:not(.window-url) { width: 10px; height: 10px; border-radius: 5px; background: #b9c6d2; }
.window-url { margin-left: 10px; font-size: 12px; color: #3d5368; background: #ffffff; border-radius: 6px; padding: 3px 10px; }
.window-light { box-shadow: var(--shadow); border-color: var(--border); }
.hero-excerpt { position: absolute; left: -24px; right: 36%; bottom: 0; margin: 0; background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4); border: 1px solid #c9d6e0; }
.hero-excerpt img { display: block; width: 100%; height: auto; }
.hero-caption { position: absolute; right: 0; bottom: 10px; margin: 0; max-width: 33%; font-size: 13px; color: var(--on-navy-muted); text-align: right; }
@media (max-width: 720px) {
  .hero-shots { padding-bottom: 0; }
  .hero-excerpt { position: static; margin-top: 14px; }
  .hero-caption { position: static; max-width: none; text-align: left; margin-top: 10px; }
}

/* Shared section parts */
.section { padding-top: 80px; padding-bottom: 24px; }
.kicker { margin: 0 0 10px; font-weight: 700; font-size: 14px; color: var(--teal); letter-spacing: 0.04em; }
.display { margin: 0 0 14px; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
.display-small { margin: 0 0 10px; font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.lead { margin: 0 0 26px; font-size: 18px; color: var(--muted); max-width: 44rem; }
.note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--card); color: var(--ink); }
.chip[aria-selected='true'] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
