/* nufrus.com - the company's site. Built into docs/nufrus/site by scripts/build-nufrus.mjs.
   No web font, nothing fetched: the system's own type, so the privacy page can say the site loads nothing from elsewhere. */
/* The colours of the company's icon (github.com/nufrus): indigo to cyan, the N in near-black. */
:root {
  --bg: #f6f7fb; --surface: #ffffff; --ink: #0b0e14; --muted: #545a6b; --line: #e1e4ee;
  --accent: #4338ca; --accent-soft: #e6e9ff; --grad: linear-gradient(135deg, #6366f1, #22d3ee); --on-grad: #0b0e14;
  --warm: #fff4d6; --warm-ink: #6b4a00;
  --radius: 20px; --shadow: 0 1px 2px rgba(11, 14, 20, .05), 0 8px 28px rgba(11, 14, 20, .07);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e14; --surface: #151a24; --ink: #e9ecf5; --muted: #a2a9bb; --line: #252c3a;
    --accent: #8fd8ff; --accent-soft: #1b2440; --warm: #3a2f12; --warm-ink: #ffdf8a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .25);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: 15px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { inset-inline-start: 8px; }

/* The bar: the mark, the four places of the start page, the other language. */
.top {
  position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; min-height: 44px; }
.brand .mark { flex: none; border-radius: 8px; }
.brand.small { font-size: 17px; }
.top nav { display: flex; gap: 2px; flex-wrap: wrap; margin-inline-end: -10px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 10px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.top nav a:hover { color: var(--ink); background: var(--surface); }
/* The language chooser (2026-10-30), as on elina.one's language pages: every language in its own name, folded away;
   open, it floats under the button instead of pushing the page down. */
.top nav.lang { order: 3; margin: 0; }
details.langs { position: relative; }
details.langs summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  font-weight: 700; font-size: 14px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
details.langs summary::-webkit-details-marker { display: none; }
details.langs summary::after { content: "\25BE"; color: var(--muted); margin-inline-start: 6px; }
details.langs[open] > div { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 20; width: min(340px, calc(100vw - 32px));
  display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
details.langs a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 12px; min-height: 40px; display: inline-flex; align-items: center; }
details.langs a:hover { background: var(--bg); }
.top details.langs a[aria-current="page"] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.top nav a[aria-current="page"] { color: var(--ink); }
/* On a phone the four places stay on the start page's own row below the mark, scrolled sideways if they must. */
@media (max-width: 640px) {
  .top nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 -10px; padding-bottom: 2px; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { white-space: nowrap; }
  /* On a phone the chooser stays beside the name, the pages scroll in the row below. */
  .top nav:not(.lang) { order: 4; }
  .top nav.lang { order: 2; width: auto; overflow: visible; margin: 0; padding: 0; }
}

/* The opening. */
.hero { padding: 64px 0 40px; }
@media (min-width: 900px) { .hero { padding: 104px 0 64px; } }
.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-size: clamp(34px, 6vw, 62px); font-weight: 800; max-width: 15ch; letter-spacing: -0.03em; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40em; margin: 22px 0 30px; }
.button {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--grad); color: var(--on-grad); font-weight: 700; text-decoration: none;
}
.button:hover { filter: brightness(1.08); }

/* Our products: a card per product, leading to its page. */
.products { padding: 24px 0 40px; }
.products h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 24px; }
.product-card {
  display: flex; align-items: center; gap: 20px; max-width: 560px; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
}
.product-card:hover { border-color: var(--accent); }
.product-card img { border-radius: 16px; flex: none; }
.product-card > span { display: grid; gap: 2px; }
.product-card strong { font-size: 24px; font-weight: 800; }
.products .soon { margin-top: 14px; }
.product-card .more { color: var(--accent); min-height: 0; margin-top: 6px; }

/* Elina Go!, one of our products: what it is, how to get it, two of its store pictures. */
.product { padding: 40px 0 64px; }
.product h1 { font-size: 32px; font-weight: 800; }
.product-grid {
  display: grid; gap: 40px; align-items: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); padding-top: 32px; padding-bottom: 32px;
}
/* The card keeps a margin to the screen's edge until the page is wider than the card. */
.product .product-grid { margin-inline: 12px; }
@media (min-width: 1104px) { .product .product-grid { margin-inline: auto; } }
@media (min-width: 900px) { .product-grid { grid-template-columns: 1.1fr 1fr; padding: 48px; } }
.app { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app img { border-radius: 16px; box-shadow: var(--shadow); flex: none; }
.app h2 { font-size: 32px; font-weight: 800; }
.tag { color: var(--muted); margin: 4px 0 0; font-size: 15px; }
.product .lead { font-size: 19px; }
.facts { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.facts li { position: relative; padding-inline-start: 30px; }
.facts li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft); box-shadow: inset 0 0 0 5px var(--accent-soft), inset 0 0 0 9px var(--accent);
}
.free { background: var(--warm); color: var(--warm-ink); border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 14px; }
.badge { display: inline-flex; min-height: 48px; align-items: center; }
.badge img { display: block; height: 48px; width: auto; }
.more { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.more:hover { text-decoration: underline; }
.shots { display: flex; gap: 16px; justify-content: center; }
.shots img { width: min(44%, 230px); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.shots img:nth-child(2) { margin-top: 40px; }

/* What we hold ourselves to. */
.values { padding: 40px 0 56px; }
.values h2, .about h2, .contact h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 24px; }
.cards { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
@media (min-width: 720px) { .cards.two { grid-template-columns: 1fr 1fr; } }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 10px; }
.cards h3 { font-size: 18px; margin-bottom: 8px; }
.cards p { color: var(--muted); font-size: 16px; }

.about, .contact { padding: 40px 0; }
.about p { font-size: 18px; }
.contact dl { margin: 0; display: grid; gap: 4px 24px; }
@media (min-width: 640px) { .contact dl { grid-template-columns: max-content 1fr; } }
.contact dt { color: var(--muted); }
.contact dd { margin: 0 0 12px; font-weight: 600; }

/* The news: one article per version. */
.news .lead { color: var(--muted); font-size: 19px; margin-bottom: 8px; }
.news-item { border-top: 1px solid var(--line); padding: 8px 0 12px; }
.news-item h2 { font-size: 22px; margin-top: 24px; }
.news-item ul { padding-inline-start: 22px; margin: 0 0 12px; }
.news-item li { margin-bottom: 6px; }

/* The press page. */
.press .lead { color: var(--muted); font-size: 19px; }
.press-facts { display: grid; gap: 4px 24px; margin: 0; }
@media (min-width: 640px) { .press-facts { grid-template-columns: max-content 1fr; } }
.press-facts dt { color: var(--muted); }
.press-facts dd { margin: 0 0 10px; font-weight: 600; }
.downloads { list-style: none; padding: 0; display: grid; gap: 6px; }
.downloads a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* The imprint and the privacy page. */
.legal { padding: 48px 0 32px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; margin-bottom: 24px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal address { font-style: normal; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }

.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; }
.foot p { margin: 10px 0 0; font-size: 15px; }
.foot a:not(.brand) { display: inline-block; padding: 6px 0; }
