/* OpenBI Studio releases: the /mac/ page's look (mac.css: its tokens, global bar, chapter bar, dark and light
   chapters, honest box and footer), for a page of text. Written by installer/release_history.py; no scripts, no
   external hosts: Inter from the site itself (/assets/fonts/), as mac.css loads it. */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #2F6FDE;
  --blue-bright: #4C8DFF;
  --grad: linear-gradient(90deg, #5B9BFF 0%, #9A7DFF 48%, #E58BD6 100%);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1260px;
  --nav-h: 52px;
  /* the dark chapters: fixed, whatever the theme */
  --d-bg: #000;
  --d-fg: #f5f5f7;
  --d-muted: #86868b;
  --d-soft: #a1a1a6;
  /* the text chapters: light by default */
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --link: #0066cc;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000; --bg-alt: #0d0d0e; --fg: #f5f5f7; --muted: #86868b; --line: #2f2f32; --card: #161617; --link: #2997ff;
  }
}
:root[data-theme="dark"] {
  --bg: #000; --bg-alt: #0d0d0e; --fg: #f5f5f7; --muted: #86868b; --line: #2f2f32; --card: #161617; --link: #2997ff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--d-bg); color: var(--d-fg); font-family: var(--font); font-size: 17px; line-height: 1.47;
  letter-spacing: -0.022em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin: 0 auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* type scale */
.eyebrow { font-size: 21px; line-height: 1.19; font-weight: 600; letter-spacing: .011em; margin: 0 0 12px; color: var(--d-soft); }
.h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.intro { font-size: clamp(19px, 1.75vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: .009em; color: var(--d-soft); margin: 24px 0 0; max-width: 760px; }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; color: var(--d-muted); }
.meta { margin: 18px 0 0; }

/* the global bar */
.gbar { position: relative; z-index: 30; height: 44px; background: rgba(0, 0, 0, .8); }
.gbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--d-fg); }
.mark { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: 0; }
.gbar nav { display: flex; gap: 26px; font-size: 12px; }
.gbar nav a { text-decoration: none; color: #d2d2d7; opacity: .9; }
.gbar nav a:hover { color: #fff; }

/* the chapter bar */
.chapters { position: sticky; top: 0; z-index: 40; height: var(--nav-h); background: rgba(22, 22, 23, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--d-fg); }
.chapters .wrap { display: flex; align-items: center; height: 100%; gap: 18px; }
.ch-title { font-size: 21px; font-weight: 600; letter-spacing: .011em; text-decoration: none; white-space: nowrap; margin-right: auto; overflow: hidden; text-overflow: ellipsis; }
.ch-cta { background: #0071e3; color: #fff; text-decoration: none; font-size: 12px; line-height: 1; padding: 7px 13px; border-radius: 980px; white-space: nowrap; }
.ch-cta:hover { background: #0077ed; }

/* chapters */
.dark { background: var(--d-bg); color: var(--d-fg); }
.sec-tight { padding: clamp(64px, 8vw, 100px) 0; }
.light-sec { background: var(--bg); color: var(--fg); }
.light-sec.alt { background: var(--bg-alt); }
.light-sec a { color: var(--link); }

/* releases by day */
.jump { padding: 40px 0 44px; }
.jump-h { margin: 0 0 14px; font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.days { list-style: none; margin: 0; padding: 0; columns: 2 380px; column-gap: 44px; }
.days li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line);
  break-inside: avoid; }
.day { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.vs { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.vs a { font-size: 14px; line-height: 1; padding: 6px 11px; border-radius: 980px; background: var(--card); text-decoration: none; font-variant-numeric: tabular-nums; }
.vs a:hover { text-decoration: underline; }

/* a release */
.rels { padding: 24px 0 72px; }
.rel { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 32px; padding: 44px 0; border-top: 1px solid var(--line); }
.rel:first-child { border-top: 0; }
.rel-head { align-self: start; position: sticky; top: calc(var(--nav-h) + 20px); }
.rel-v { margin: 0; font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rel-date { margin: 6px 0 0; font-size: 17px; color: var(--fg); }
.rel-os { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.rel-first { display: inline-block; margin: 12px 0 0; font-size: 12px; font-weight: 600; line-height: 1.3; padding: 5px 10px; border-radius: 980px;
  color: #fff; background: linear-gradient(145deg, #2F6FDE 0%, #7B5CF5 100%); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lines li { position: relative; padding-left: 20px; overflow-wrap: anywhere; }
.lines li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 22px; }
.rel-body > .split:first-child { margin-top: 0; }
.split .col { background: var(--bg-alt); border-radius: 18px; padding: 20px 22px 22px; }
.split.one { grid-template-columns: minmax(0, 1fr); }
.col-h { margin: 0 0 12px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; text-transform: uppercase; }
.none { margin: 0; color: var(--muted); }
.carried { margin-top: 22px; }
.carried summary { cursor: pointer; font-size: 14px; color: var(--link); width: fit-content; }
.carried summary:hover { text-decoration: underline; }
.carried .lines { margin-top: 14px; gap: 10px; }
.lines.muted li { color: var(--muted); font-size: 15px; }
.lines.muted li::before { background: var(--line); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; line-height: 1; padding: 4px 8px; margin-left: 4px; border-radius: 980px;
  border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; white-space: nowrap; }

/* the honest box, in a light chapter */
.honest { background: var(--card); border-radius: 24px; padding: 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 28px; align-items: start; }
.honest h2 { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: .011em; }
.honest p { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.honest p:last-child { margin-bottom: 0; }
.honest p:empty { display: none; }

/* the footer */
.foot { background: var(--bg-alt); color: var(--muted); font-size: 12px; padding: 0 0 40px; }
.foot .wrap { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--fg); text-decoration: none; }

@media (max-width: 900px) {
  .rel { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 36px 0; }
  .rel-head { position: static; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
  .rel-v { font-size: 32px; }
  .rel-date, .rel-os { margin: 0; }
  .rel-first { margin: 4px 0 0; flex-basis: auto; }
  .honest { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 734px) {
  .wrap { width: calc(100% - 32px); }
  .gbar nav { gap: 18px; }
  .ch-title { font-size: 19px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .split .col { padding: 18px 18px 20px; }
  .lines li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* openbi.no: room for "Buy" in the bar on a phone: the BI mark without the name (the page's title is just below), then tighter gaps */
@media (max-width: 479px) { .gbar .brand { font-size: 0; gap: 0; } .gbar nav { gap: 14px; } }
@media (max-width: 359px) { .gbar nav { gap: 10px; } }