/* The website's look, taken from the Real Lived Experience cover and the RLX constellation ident:
   Crimson Text for headings with Inter for text (the Field Guide keeps Hypatia Sans, as in the book),
   white and a warm
   light grey (#F5F5F3), grey hairlines (#C8C8C6), near-black text and the Umio blue (#8CA5D6).
   The cover blue is too pale for small text on screen (2.3 to 1), so links, buttons and small
   blue text use a deeper blue from the same family (#4A68A8, 5 to 1); large headings use #6A86C2
   (3.3 to 1, enough for large text). Loaded after each page's own styles, so these win.
   The ident's colours (green, gold, blue, red) vary cards, rules and markers.
   Crimson Text and Inter: SIL Open Font Licence, self-hosted from /fonts. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/crimson-text-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/crimson-text-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/crimson-text-latin-600-normal.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/crimson-text-latin-600-italic.woff2") format("woff2"); font-weight: 500 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Crimson Text"; src: url("/fonts/crimson-text-latin-700-normal.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

:root {
  --umio-blue: #8CA5D6; --umio-blue-deep: #4A68A8; --umio-blue-tint: #F5F5F3;
  --umio-green: #C8C8C6; --umio-green-deep: #4A68A8; --umio-green-tint: #F5F5F3;
  --umio-slate: #4A68A8; --umio-slate-tint: #F5F5F3;
  --rle-grey: #F5F5F3; --rle-hair: #C8C8C6; --rle-line: #E4E4E1; --rle-blue: #8CA5D6;
  --rle-blue-mid: #6A86C2; --rle-blue-deep: #4A68A8; --rle-head: #333333;
  --ink: #2A2A2A; --muted: #5E5E5E; --navy: #4A68A8; --navy-2: #F5F5F3; --dark: #F5F5F3;
  --accent: #8CA5D6; --accent-deep: #4A68A8; --soft: #F5F5F3; --line: #E4E4E1; --paper: #FFFFFF;
  --id-green: #C5E0B4; --id-gold: #D0CA96; --id-blue: #8CA5D6; --id-red: #BD565A; --id-grey: #BDBDBD;
  --id-green-d: #4F7A3C; --id-gold-d: #776D2C; --id-blue-d: #4A68A8; --id-red-d: #A4434A; --id-grey-d: #5E5E5E;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Crimson Text", Georgia, "Times New Roman", serif;
}

/* Type: Crimson Text for headings and the name, Inter for text */
body { font-family: var(--sans); color: var(--ink); background: #fff; }
button, input, select, textarea { font-family: inherit; }
h1, h2, h3, h4, .hero-title, .brand { font-family: var(--serif); }
/* Headings in dark grey; only the main heading in each opening band is blue */
h1, h2 { font-weight: 400; letter-spacing: 0; }
body h1, body h2, body h3, body h4 { color: var(--rle-head) !important; }
h3, h4 { color: var(--ink); font-weight: 600; }
a { color: var(--rle-blue-deep); }
.eyebrow, .kicker, .card .kind, .card .who { color: var(--rle-blue-deep) !important; }
.lead { color: var(--ink); }

/* Header: white, with the RLX ident as the mark */
.bar { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rle-line); }
.brand, body .bar .brand { color: var(--ink) !important; font-family: "Crimson Text", Georgia, "Times New Roman", serif !important; font-weight: 400 !important; font-size: 26px !important; letter-spacing: 0 !important; }  /* the same on every page, the guide included */
.brand .ident { width: 40px !important; height: 40px !important; border-radius: 0 !important; background: none !important; overflow: visible !important; }
.brand .ident img { width: 40px !important; height: 40px !important; animation: none !important; }
.bar nav a.signin, .bar nav a.nav-cta { border-color: var(--rle-blue-deep); color: var(--rle-blue-deep); }
/* The way into the platform: a filled button at the end of the menu on every page */
.bar nav a.signin.platform { background: var(--rle-blue-deep) !important; color: #fff !important; border: 1px solid var(--rle-blue-deep) !important; border-radius: 4px; padding: 8px 14px !important; font-weight: 600; white-space: nowrap; text-decoration: none; }
.bar nav a.signin.platform:hover { background: #3B5590 !important; border-color: #3B5590 !important; }
@media (max-width: 520px) { .bar nav a.signin.platform { padding: 6px 10px !important; font-size: 14px; } .bar nav a.signin.platform span { display: none; } }

/* Buttons: deep blue, or a blue outline */
.btn { font-family: var(--sans); }
.btn.primary, button.btn.primary, .btn:not(.line):not(.muted):not(.small.line) { background: var(--rle-blue-deep); border-color: var(--rle-blue-deep); color: #fff; }
.btn.primary:hover, .btn:not(.line):not(.muted):hover { background: #3B5590; border-color: #3B5590; }
.btn.line, body .hero .btn.line, body .head:has(> .wrap) .btn.line, body .head:has(> .wrap) .btn.line.on-dark { background: transparent; color: var(--rle-blue-deep); border-color: var(--rle-blue-deep); }
.btn.line:hover, body .hero .btn.line:hover, body .head:has(> .wrap) .btn.line.on-dark:hover { background: #fff; }

/* Hero and page heads: the cover's light grey, in place of black */
.hero, .head:has(> .wrap), .cta { background: var(--rle-grey) !important; color: var(--ink) !important; border-bottom: 1px solid var(--rle-line); }
body .hero h1, body .hero .hero-title, body .head:has(> .wrap) h1 { color: var(--rle-blue-mid) !important; }
.hero .hero-title { font-weight: 400; }
.hero .lead, .hero p, .head:has(> .wrap) p, .cta p, .hero-sub, .hero-name { color: var(--ink) !important; }
.hero .eyebrow, .head:has(> .wrap) .eyebrow, .cta .eyebrow { color: var(--rle-blue-deep) !important; }
.hero-sub { font-weight: 400 !important; }
.head:has(> .wrap) .crumbs, .head:has(> .wrap) .crumbs a, body .head:has(> .wrap) .crumbs, body .head:has(> .wrap) .crumbs a { color: var(--rle-blue-deep) !important; }
.head:has(> .wrap) .g-continue p, body .head:has(> .wrap) .g-continue p { color: var(--muted) !important; }
.soon { background: #fff !important; border: 1px solid var(--rle-hair) !important; color: var(--rle-blue-deep) !important; }
.soon * { color: inherit !important; }
.chips li { color: var(--ink) !important; border-color: var(--rle-hair) !important; background: #fff; }
.cta .bg { opacity: .5 !important; width: 420px !important; height: auto !important; right: -60px !important; }

/* Sections: white and light grey, with a short blue rule above headings */
section.band.soft, main > section.band.soft:nth-of-type(4n+1), main > section.band.soft:nth-of-type(4n) { background: var(--rle-grey); }
section.band:not(.soft) h2::before, section.band.soft h2::before { background: var(--rle-blue); width: 40px; height: 2px; border-radius: 0; }

/* Pillars and cards: a hairline top edge in blue or grey, no green or slate */
.pillars article { border-top-width: 2px; border-top-color: var(--rle-blue) !important; }
.pillars article:nth-child(even) { border-top-color: var(--rle-hair) !important; }
.pillars h3::before { background: var(--rle-blue) !important; }
.aud .card, .grid .card, .who-grid div, .tier, .does-grid div { border-top: 2px solid var(--rle-blue) !important; }
.aud .card:nth-child(even), .grid .card:nth-child(even), .who-grid div:nth-child(even), .tier:nth-child(even), .does-grid div:nth-child(even) { border-top-color: var(--rle-hair) !important; }
.card, .tier, .box { border-color: var(--rle-line); }

/* Numbered steps, icon tiles and labels */
.steps li { border-top: 2px solid var(--rle-line) !important; }
.steps li::before, .steps li:nth-child(odd)::before { background: #fff !important; color: var(--rle-blue-deep) !important; border: 1px solid var(--rle-blue); box-shadow: none !important; }
.list li .dot, section.band.soft .list li .dot { background: #fff !important; color: var(--rle-blue-deep) !important; border: 1px solid var(--rle-line); }
.box h3 { border-bottom: 2px solid var(--rle-blue) !important; }
.window .top { background: var(--rle-grey) !important; border-bottom: 1px solid var(--rle-line); }
.window .top i { background: var(--rle-hair) !important; }
.window .top b { color: var(--muted) !important; }

/* Access options: the highlighted option in white with a blue frame, in place of the dark card */
.tier.dark { background: #fff !important; border: 1px solid var(--rle-blue) !important; border-top-width: 3px !important; color: var(--ink) !important; }
.tier.dark h3, .tier.dark .price { color: var(--rle-blue-deep) !important; }
.tier.dark .note { color: var(--muted) !important; }
.tier.dark .btn.line { color: var(--rle-blue-deep) !important; border-color: var(--rle-blue-deep) !important; }
.cur button[aria-pressed="true"], .tabs a[aria-current="page"] { background: var(--rle-blue-deep) !important; border-color: var(--rle-blue-deep) !important; color: #fff !important; }
.pills li { background: var(--rle-blue-deep); }

/* Notes and highlighted bands: light grey with a blue edge */
.ri-band, .visitor, .join, .fg-date, .g-previewbar, body .g-previewbar { background: var(--rle-grey) !important; border-color: var(--rle-line) !important; color: var(--ink) !important; }
.ri-band, .visitor, .join { border-left: 3px solid var(--rle-blue) !important; }
.fg-date { color: var(--rle-blue-deep) !important; }
.feed li.pinned { border-left-color: var(--rle-blue); }

/* Home: the "how outputs are meant to be used" mark */
.use img { background: none !important; border-radius: 0; padding: 0 !important; object-fit: contain; }

/* Footer: light grey with a hairline, in place of slate */
footer { background: var(--rle-grey) !important; color: var(--muted) !important; border-top: 1px solid var(--rle-hair) !important; border-image: none !important; }
footer a { color: var(--rle-blue-deep) !important; }
footer p, footer small, footer span, footer li { color: var(--muted); }

/* Photographs */
img.photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; background: var(--rle-grey); }
.pillars img.photo { margin: 0 0 16px; }
.aud .card img.photo { width: calc(100% + 48px); max-width: none; margin: -24px -24px 6px; border-radius: 0; }
img.photo.wide { aspect-ratio: 21 / 8; margin: 0 0 32px; border-radius: 4px; }
.cm-photo { margin: 0 0 8px; }

/* Field Guide: chapter cards, tools and boxes in white and grey with blue text */
body .g-ch .top { background: var(--rle-grey); color: var(--ink); border-bottom: 1px solid var(--rle-line); }
body .g-ch .top small { color: var(--rle-blue-deep); }
body .g-ch .top strong { color: var(--rle-head); font-weight: 600; }
body .g-part h2, body .g-use h2, body .g-lock h2 { font-weight: 400; }
body .g-part .plabel { color: var(--rle-blue-deep); }
body .g-tool, body .g-lock { background: var(--rle-grey); }
body .g-bx { background: var(--rle-grey); border-color: var(--rle-line); border-left-color: var(--rle-blue); }
body .g-rep { border-color: var(--rle-line); border-left-color: var(--rle-blue); }
body .g-rep-msg { color: var(--rle-blue-deep); }
body .g-progress .bar span { background: var(--rle-blue); }
body .g-done[aria-pressed="true"] { background: var(--rle-grey); border-color: var(--rle-blue-deep); color: var(--rle-blue-deep); }
body .g-toc .tick { color: var(--rle-blue-deep); }

/* Field Guide: the book's pages, in the cover's light grey where print has black */
body .gpage { font-family: var(--serif); border-color: var(--rle-line); }
body .gpage.dark, body .gpage[style*="#1d1d1d"] { background: var(--rle-grey) !important; color: var(--ink) !important; border-color: var(--rle-line); }
body .gpage.dark h2, body .gpage.dark .gt { color: var(--rle-head) !important; }
body .gpage.dark p, body .gpage.dark li, body .gpage.dark span, body .gpage.dark div { color: var(--ink) !important; }
body .gpage.dark p:first-child strong { color: var(--rle-blue-deep) !important; }
body .gpage [style*="background:#2b2b2b"], body .gpage [style*="background:#1d1d1d"] { background: var(--rle-grey) !important; border: 1px solid var(--rle-hair); }
body .gpage [style*="background:#2b2b2b"] *, body .gpage [style*="background:#1d1d1d"] * { color: var(--ink) !important; }
body .gpage [style*="background:#2b2b2b"] .glab, body .gpage [style*="background:#1d1d1d"] .glab { color: var(--rle-blue-deep) !important; }

.hero .ooex-mark { display: block; }

/* Colour from the RLX ident: cards, rules and markers take its five domain colours in turn,
   blue, green, gold, red and the grey of resources, products and technologies */
.pillars article:nth-child(5n+1), .aud .card:nth-child(5n+1), .grid .card:nth-child(5n+1), .who-grid div:nth-child(5n+1), .tier:nth-child(5n+1), .does-grid div:nth-child(5n+1) { border-top-color: var(--id-blue) !important; }
.pillars article:nth-child(5n+2), .aud .card:nth-child(5n+2), .grid .card:nth-child(5n+2), .who-grid div:nth-child(5n+2), .tier:nth-child(5n+2), .does-grid div:nth-child(5n+2) { border-top-color: var(--id-green) !important; }
.pillars article:nth-child(5n+3), .aud .card:nth-child(5n+3), .grid .card:nth-child(5n+3), .who-grid div:nth-child(5n+3), .tier:nth-child(5n+3), .does-grid div:nth-child(5n+3) { border-top-color: var(--id-gold) !important; }
.pillars article:nth-child(5n+4), .aud .card:nth-child(5n+4), .grid .card:nth-child(5n+4), .who-grid div:nth-child(5n+4), .tier:nth-child(5n+4), .does-grid div:nth-child(5n+4) { border-top-color: var(--id-red) !important; }
.pillars article:nth-child(5n+5), .aud .card:nth-child(5n+5), .grid .card:nth-child(5n+5), .who-grid div:nth-child(5n+5), .tier:nth-child(5n+5), .does-grid div:nth-child(5n+5) { border-top-color: var(--id-grey) !important; }
.pillars article, .aud .card, .grid .card, .who-grid div, .does-grid div { border-top-width: 3px !important; }
.pillars article:nth-child(5n+1) h3::before { background: var(--id-blue) !important; }
main > section:nth-of-type(5n+1) h2::before { background: var(--id-blue) !important; }
.steps li:nth-child(5n+1)::before { border-color: var(--id-blue) !important; color: var(--id-blue-d) !important; background: #F3F6FB !important; }
.steps li:nth-child(5n+1) { border-top-color: var(--id-blue) !important; }
.list li:nth-child(5n+1) .dot { border-color: var(--id-blue) !important; color: var(--id-blue-d) !important; }
.box:nth-of-type(5n+1) h3 { border-bottom-color: var(--id-blue) !important; }
.chips li:nth-child(5n+1) { border-color: var(--id-blue) !important; }
body .g-ch:nth-child(5n+1) { border-top-color: var(--id-blue); }
body .g-bx:nth-of-type(5n+1) { border-left-color: var(--id-blue); }
.pillars article:nth-child(5n+2) h3::before { background: var(--id-green) !important; }
main > section:nth-of-type(5n+2) h2::before { background: var(--id-green) !important; }
.steps li:nth-child(5n+2)::before { border-color: var(--id-green) !important; color: var(--id-green-d) !important; background: #F4F9F0 !important; }
.steps li:nth-child(5n+2) { border-top-color: var(--id-green) !important; }
.list li:nth-child(5n+2) .dot { border-color: var(--id-green) !important; color: var(--id-green-d) !important; }
.box:nth-of-type(5n+2) h3 { border-bottom-color: var(--id-green) !important; }
.chips li:nth-child(5n+2) { border-color: var(--id-green) !important; }
body .g-ch:nth-child(5n+2) { border-top-color: var(--id-green); }
body .g-bx:nth-of-type(5n+2) { border-left-color: var(--id-green); }
.pillars article:nth-child(5n+3) h3::before { background: var(--id-gold) !important; }
main > section:nth-of-type(5n+3) h2::before { background: var(--id-gold) !important; }
.steps li:nth-child(5n+3)::before { border-color: var(--id-gold) !important; color: var(--id-gold-d) !important; background: #FAF9F1 !important; }
.steps li:nth-child(5n+3) { border-top-color: var(--id-gold) !important; }
.list li:nth-child(5n+3) .dot { border-color: var(--id-gold) !important; color: var(--id-gold-d) !important; }
.box:nth-of-type(5n+3) h3 { border-bottom-color: var(--id-gold) !important; }
.chips li:nth-child(5n+3) { border-color: var(--id-gold) !important; }
body .g-ch:nth-child(5n+3) { border-top-color: var(--id-gold); }
body .g-bx:nth-of-type(5n+3) { border-left-color: var(--id-gold); }
.pillars article:nth-child(5n+4) h3::before { background: var(--id-red) !important; }
main > section:nth-of-type(5n+4) h2::before { background: var(--id-red) !important; }
.steps li:nth-child(5n+4)::before { border-color: var(--id-red) !important; color: var(--id-red-d) !important; background: #FBF2F2 !important; }
.steps li:nth-child(5n+4) { border-top-color: var(--id-red) !important; }
.list li:nth-child(5n+4) .dot { border-color: var(--id-red) !important; color: var(--id-red-d) !important; }
.box:nth-of-type(5n+4) h3 { border-bottom-color: var(--id-red) !important; }
.chips li:nth-child(5n+4) { border-color: var(--id-red) !important; }
body .g-ch:nth-child(5n+4) { border-top-color: var(--id-red); }
body .g-bx:nth-of-type(5n+4) { border-left-color: var(--id-red); }
.pillars article:nth-child(5n+5) h3::before { background: var(--id-grey) !important; }
main > section:nth-of-type(5n+5) h2::before { background: var(--id-grey) !important; }
.steps li:nth-child(5n+5)::before { border-color: var(--id-grey) !important; color: var(--id-grey-d) !important; background: #F5F5F5 !important; }
.steps li:nth-child(5n+5) { border-top-color: var(--id-grey) !important; }
.list li:nth-child(5n+5) .dot { border-color: var(--id-grey) !important; color: var(--id-grey-d) !important; }
.box:nth-of-type(5n+5) h3 { border-bottom-color: var(--id-grey) !important; }
.chips li:nth-child(5n+5) { border-color: var(--id-grey) !important; }
body .g-ch:nth-child(5n+5) { border-top-color: var(--id-grey); }
body .g-bx:nth-of-type(5n+5) { border-left-color: var(--id-grey); }
section.band h2::before { height: 3px !important; }
.ri-band { border-left-color: var(--id-green) !important; }
.join { border-left-color: var(--id-gold) !important; }
.window .top i:nth-child(1) { background: var(--id-red) !important; }
.window .top i:nth-child(2) { background: var(--id-gold) !important; }
.window .top i:nth-child(3) { background: var(--id-green) !important; }
footer { border-top: 3px solid transparent !important; border-image: linear-gradient(90deg, var(--id-green) 0 20%, var(--id-gold) 20% 40%, var(--id-blue) 40% 60%, var(--id-red) 60% 80%, var(--id-grey) 80% 100%) 1 !important; }

/* Field Guide: each chapter card and box keeps a colour from the ident */
body .g-ch { border-top: 4px solid var(--id-blue); }
body .g-part:nth-of-type(5n+1) .plabel { color: var(--id-blue-d); }
body .g-part:nth-of-type(5n+2) .plabel { color: var(--id-green-d); }
body .g-part:nth-of-type(5n+3) .plabel { color: var(--id-gold-d); }
body .g-part:nth-of-type(5n+4) .plabel { color: var(--id-red-d); }
body .g-part:nth-of-type(5n+5) .plabel { color: var(--id-grey-d); }

/* Home: the RLX constellation ident to the right of the name */
.hero .sphere.ident-rlx { display: block !important; aspect-ratio: auto !important; width: min(100%, 440px) !important; justify-self: center; }
.hero .sphere.ident-rlx img, .hero .sphere.ident-rlx picture { display: block; width: 100%; height: auto; }
@media (max-width: 859px) { .hero .sphere.ident-rlx { width: min(62vw, 260px) !important; } }

/* The hero ident: the moving constellation, with the original turning, morphing sphere at its centre.
   The sphere video is dark lines on white; multiply lets the white fall away on the grey band. */
.hero .sphere.ident-rlx, .hero .ooex-mark { position: relative; }
.hero .rlx-sphere { position: absolute; left: 31.2%; top: 29.4%; width: 39%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; pointer-events: none; }

/* Home: the strapline spans exactly the width of bergson.ai above it. Its size is a fixed share of the
   heading's (0.3432, measured from the two lines' ink in Crimson Text), so they stay matched at every width. */
.hero .hero-title + .hero-sub { font-size: clamp(19.22px, 3.089vw, 32.95px) !important; white-space: nowrap; max-width: none; letter-spacing: 0; }

/* Never show a play button over the ident sphere. */
/* The turning sphere is an animated image (it plays without asking, so no play button), set in its own
   picture with a still for reduced motion. */
.ident-pic { display: contents !important; }
.hero .sphere.ident-rlx img.rlx-sphere, .hero .ooex-mark img.rlx-sphere { position: absolute; left: 31.2%; top: 29.4%; width: 39%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; pointer-events: none; display: block; }
