/* MarcusAssist website - the ONE shared theme. Every page of the site uses this file and nothing else.

   The theme is taken from the approved home page picture (1536 x 1024): its colours were measured in the picture; its
   elements, their order and their wording are the picture's. Since owner decision WEB-26 the home page no longer has
   the picture's exact proportions: it fits ONE desktop window (see "THE HOME PAGE"). On a tablet and on a phone the
   page REFLOWS (it is not the desktop page made small): see "narrower windows" at the end of each part.
   Pictures: the logo, the icons and the laptop are cut out of the approved picture; the mountain scene behind the
   laptop is the owner's own separate picture of that scene; the laptop's screen is the approved Home screen. All in
   assets/. Nothing is loaded from anywhere but this site. System fonts only: no font file is part of the site. */

:root {
  /* measured in the approved picture */
  --navy: #0a0a4e;          /* headline, section heading */
  --title: #0c0b5b;         /* card titles */
  --deep: #06107c;          /* the line under the headline */
  --text: #3f4db3;          /* card text */
  --blue: #0063fe;          /* buttons */
  --link: #0a55f5;          /* links */
  --page: #fefefe;          /* page background */
  --card: #f7fbfe;          /* cards and panels */
  --card-line: #e8f3fd;     /* their border */
  --sky: #a9d6fc;           /* the sky of the scene */
  /* for the supporting pages: long text needs a darker ink than the cards' */
  --ink: #1b2166;
  --mark-ink: #254b78;
  --mark-paper: #e6f1ff;
  --mark-line: #254b78;
  --line: #6b7280;
  --green: #0a5c2c;         /* the one green of the site: the link to Our Ecosystem (owner decision WEB-29) */
  --font: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* one pixel of the home page's 1536 x 744 design: it follows the window's width AND its height, and its height
     part is not allowed below 0.8 (a window lower than 595 pixels scrolls instead of shrinking the type further) */
  --t: min(calc(100cqw / 1536), max(0.8px, calc(100vh / 744)));
}

* { box-sizing: border-box; }

html { font-size: 100%; background: var(--page); }

/* The home page uses the window's whole width up to 2560 pixels; wider than that it is centred. Its scene picture is
   2061 pixels wide and its laptop is cut from a 1536-pixel picture: at 1920 both are shown at about their own size,
   at 2560 the scene is enlarged by a quarter and the laptop by about a third (see the report). The other pages have
   no such picture and use the full width (see .page). */
body {
  container-type: inline-size;
  max-width: 2560px;

  margin: 0 auto;
  color: var(--ink);
  background: var(--page);
  font-family: var(--font);
  line-height: 1.55;
}

a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
img { max-width: 100%; }

/* ---- shared: buttons ----------------------------------------------------------------------------------------- */
.btn-download {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 0;
  color: #ffffff;
  background: var(--blue);
  font-family: var(--font);
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
}
.btn-download[aria-disabled="true"], .btn-download[disabled] { cursor: not-allowed; opacity: 1; }
/* since the owner's "Download & Release Notes Page" (2026-10-13) the two buttons of the home page are LINKS to the
   Download page: the same box, the same words - a link's underline is taken away */
a.btn-download { text-decoration: none; }
.btn-download img { display: block; flex: none; }

/* ==== THE HOME PAGE (owner decision WEB-26: the whole page in one desktop window; the laptop its own, smaller element) ==
   One unit, --t (defined at the top), is one pixel of a 1536 x 744 design. It follows the window's WIDTH and its
   HEIGHT: heights, type and spacing are multiples of --t, so the page is as high as the window allows; widths are the
   window's (the scene and the row of cards always reach from edge to edge - no empty margin beside them).
   Heights at the design size: header 54 + scene 352 + heading 64 + cards 214 + foot 58 = 742 (2 spare).
   A window that is higher than that gives the extra height to the scene (up to 470); a window lower than 595 pixels
   does not make the type smaller any more - the page then scrolls, and nothing is cut. */
.home .site-header {
  display: flex;
  align-items: center;
  height: calc(54 * var(--t));
  padding: 0 calc(40 * var(--t));
  background: var(--page);
}
.brand { display: block; line-height: 0; }
.home .brand img { display: block; width: calc(250 * var(--t)); height: calc(46 * var(--t)); }

.home main { display: block; }

/* THE SCENE. The approved picture is ONE flattened image: its laptop is painted into its mountains, and no pixel exists
   behind the laptop. To make the laptop smaller it had to become its own element, and the scene behind it had to come
   from somewhere: it is the owner's own separate picture of the same kind of scene (assets/hero-landscape.png, his
   marcusassist_hero.png, byte for byte), which has no text and no laptop. On it stand the headline as real text and
   the laptop cut out of the approved picture. Nothing is generated, downloaded or painted in. */
.hero {
  --hero-h: clamp(calc(352 * var(--t)), calc(100vh - 392 * var(--t)), calc(470 * var(--t)));
  /* the laptop: three quarters (owner decision WEB-40: "Reduce the laptop image's current displayed size by 25%") of
     what it was at the approved baseline - 82 percent of its size in the approved picture, less where the scene is
     lower. So 61.5 percent at most; one factor for width and height. */
  --lap: calc(0.75 * min(calc(0.82 * var(--t)), calc((var(--hero-h) - 22 * var(--t)) / 443)));
  position: relative;
  height: var(--hero-h);
  overflow: hidden;         /* crops the scene picture only: the headline, the button and the laptop lie inside */
  margin: 0;
}
/* the scene: shown at 135 percent of the window's width from its right edge - the mountains and the lake; it is higher
   than the hero at every size, so it always fills it */
.hero-scene { position: absolute; right: 0; top: 50%; width: 135%; height: auto; max-width: none; display: block; transform: translateY(-50%); }

/* the headline, the line under it and the button, on a light veil (the approved picture is pale behind its headline) */
.hero-poster {
  position: absolute; left: 0; top: 0; bottom: 0; width: 62%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-left: calc(84 * var(--t));
  background: linear-gradient(90deg, rgba(254, 254, 254, 0.66) 0%, rgba(254, 254, 254, 0.5) 45%, rgba(254, 254, 254, 0) 100%);
}
.hero-title { margin: 0; color: var(--navy); font-size: calc(54 * var(--t)); line-height: 1.04; font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { margin: calc(10 * var(--t)) 0 0; color: var(--deep); font-size: calc(30 * var(--t)); line-height: 1.25; }
.hero-download {
  margin-top: calc(18 * var(--t));
  width: calc(360 * var(--t));
  height: calc(66 * var(--t));
  padding: 0 0 0 calc(28 * var(--t));
  border-radius: calc(9 * var(--t));
  font-size: calc(23 * var(--t));
  line-height: 1;
}
.hero-download img { width: calc(46 * var(--t)); height: calc(46 * var(--t)); margin-right: calc(14 * var(--t)); }
/* "Explore Our Ecosystem": a text link in the site's one green, directly under the first Download button and on its
   left edge - not a second button. It answers the pointer with a line under its words; the keyboard's focus mark is
   the site's outline. The group it joins (headline, line, button) stays centred in the scene: the scene, the laptop
   and every other part of the page keep their sizes. */
.hero-explore {
  margin-top: calc(8 * var(--t));
  color: var(--green);
  font-size: calc(19 * var(--t));
  line-height: calc(22 * var(--t));
  font-weight: 600;
  text-decoration: none;
  border-bottom: calc(1.5 * var(--t)) solid transparent;
}
.hero-explore:hover { border-bottom-color: currentColor; }
/* the first Download button and the link under it are one column as wide as the button: the link stands directly
   beneath the button and is centred to it (WEB-40) */
.hero-actions { display: inline-flex; flex-direction: column; align-items: center; }

/* THE LAPTOP: the approved picture's own laptop, cut out along its outline by the browser and shown smaller.
   .hero-laptop is the laptop's box (722 x 443 pixels of the approved scene, times --lap: one factor for width and
   height - never stretched). .laptop-fit carries the approved scene's own pixel grid, moved so that the laptop's box
   begins at (690, 32) of the scene. In it lie the scene picture clipped to the laptop's outline (.laptop-body) and,
   over the laptop's painted screen, the approved Home screen (.laptop-screen), fitted to the screen's four corners. */
.hero-laptop {
  position: absolute;
  right: calc(64 * var(--t));
  top: 50%;
  width: calc(722 * var(--lap));
  height: calc(443 * var(--lap));
  transform: translateY(-50%);
  filter: drop-shadow(0 calc(10 * var(--t)) calc(12 * var(--t)) rgba(6, 16, 60, 0.32));
}
.laptop-fit { display: none; }
@supports (transform: scale(tan(atan2(1px, 1px)))) {
  .laptop-fit {
    display: block;
    position: absolute; left: 0; top: 0; width: 1536px; height: 480px;
    transform-origin: 0 0;
    transform: scale(tan(atan2(var(--lap), 1px))) translate(-690px, -32px);
    pointer-events: none;
  }
}
/* the outline of the laptop in the approved scene, in the scene's pixels: the lid with its two round corners, then
   the base from its right end along its underside to its left tip and back along its upper edge */
.laptop-body {
  position: absolute; left: 0; top: 0; width: 1536px; height: 480px; max-width: none; display: block;
  clip-path: polygon(828px 60px, 829px 53.3px, 832px 49px, 836.4px 46.2px, 841px 45px, 1394px 34.2px, 1400px 35px, 1404.8px 37.8px, 1407.7px 42px, 1408.6px 47px, 1408.6px 446px, 1409px 449px, 1408.5px 453px, 1405px 457.5px, 1398px 465px, 1380px 470.5px, 1300px 473px, 1100px 470.6px, 900px 467.6px, 800px 465.6px, 760px 465px, 720px 459.6px, 702px 456px, 696px 453px, 694.5px 448.5px, 698px 444.6px, 720px 441.8px, 760px 440.2px, 800px 438.2px, 820px 437.4px);
}
/* THE LAPTOP'S SCREEN. .laptop-screen is a box of 1515 x 1011 units - the measure in which the screen's four corners
   were fitted (the window of the first approved Home screen picture; what it shows today is said further down). The
   matrix maps the box's corners onto the corners of the laptop's screen as measured in the approved scene (the scene's
   own pixels):
       (0, 0) -> (839.6, 61.2)   (1515, 0) -> (1397.0, 49.6)   (1515, 1011) -> (1397.0, 440.0)   (0, 1011) -> (832.7, 438.9) */
.laptop-screen {
  position: absolute; left: 0; top: 0; width: 1515px; height: 1011px; overflow: hidden;
  transform-origin: 0 0;
  transform: matrix3d(0.337955570758, -0.008720670456, 0, -0.000021449693,
                      -0.016896015178, 0.368282228816, 0, -0.000012094499,
                      0, 0, 1, 0,
                      839.6, 61.2, 0, 1);
}
/* WHAT THE LAPTOP'S SCREEN SHOWS (owner decisions WEB-52, WEB-56): the COMPLETE MarcusAssist application window - the
   owner's own screenshot "MarcusAssist Meeting Dashboard.png" (1543 x 1021): the title bar, the navigation at the left,
   the six cards, the panels at the right. Not cropped, not stretched, nothing redrawn. The standard is that it look
   crisp, not that its text be readable.
   THE SHAPE: the screenshot is a little wider for its height (1543 : 1021 = 1.511) than the laptop's screen
   (1515 : 1011 = 1.499). It is laid at the screen's full width; its height then is 1002.5 of the screen's 1011 units.
   The strip that remains under it (8.5 units - about 2 pixels on the page) has the colour of the application's own
   lower edge (.laptop-screen-fill below), so the screen ends where the laptop's screen ends.
   WHY A SMALLER FILE IS DRAWN - on a laptop of the approved size the screen is about a fifth of the screenshot's size;
   a browser that reduces a picture that far in one step through the screen's slanted shape does not average the
   pixels it skips, and fine lettering breaks into fragments. The file drawn is the SAME screenshot reduced ONCE to
   half (772 x 511) by a plain area average - nothing sharpened, drawn, typed or retouched. */
.laptop-screen img {
  position: absolute; left: 0; top: 0;
  width: 1515px;
  height: calc(1515px * 1021 / 1543);
  max-width: none; display: block;
}
.laptop-screen { background: #ebf3fb; }   /* .laptop-screen-fill: the application's own lower edge colour */
.connected { margin: 0; }
.section-title {
  margin: 0;
  padding: calc(8 * var(--t)) 0 calc(12 * var(--t));
  color: var(--navy);
  text-align: center;
  font-size: calc(40 * var(--t));
  line-height: calc(44 * var(--t));
  font-weight: 700;
  letter-spacing: -0.022em;
  word-spacing: 0.2em;
}

/* THE FIVE CARDS (owner decisions WEB-53, WEB-54): exactly five, evenly distributed in a wide window - five equal
   columns, equal gaps, the same margin left and right, one height. */
.cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: calc(12 * var(--t));
  margin: 0 calc(27 * var(--t));
  padding: 0;
  list-style: none;
}
/* A card at rest has the approved picture's colours, border and corners. The whole card is one link; it answers the
   pointer and the keyboard with a small lift and a ring, and changes nothing else. */
.card {
  height: calc(214 * var(--t));
  margin: 0;
  padding: 0;
  text-align: center;
  background: linear-gradient(#fbfcfe 0%, #fafbfd 75%, #f7fbfe 100%);
  border: calc(1.5 * var(--t)) solid var(--card-line);
  border-radius: calc(10 * var(--t));
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card-link { display: block; height: 100%; padding: calc(4 * var(--t)) calc(12 * var(--t)) 0; color: inherit; text-decoration: none; }
.card:hover { border-color: #bcd6f7; box-shadow: 0 6px 18px rgba(10, 60, 160, 0.16); transform: translateY(-2px); }
.card:focus-within { border-color: var(--link); box-shadow: 0 0 0 3px var(--link); }
.card-link:focus-visible { outline: none; }
.card img { display: block; margin: 0 auto; width: calc(64 * var(--t)); height: calc(62.7 * var(--t)); }
.card h3 {
  margin: 0;
  color: var(--title);
  font-size: calc(17.5 * var(--t));
  line-height: calc(21 * var(--t));
  font-weight: 700;
  letter-spacing: -0.012em;
  white-space: nowrap;
}
/* the description under a card's title (owner decision WEB-55: "Reduce the font size of the description text below
   each card title by approximately 10-15%"): 14 units, it was 16 - 12.5 percent smaller; the titles keep their size
   and weight. One size for all five cards and for the three points of "Connectivity". The text wraps by itself. */
.card p {
  margin: calc(4 * var(--t)) 0 0;
  color: var(--text);
  font-size: calc(14 * var(--t));
  line-height: calc(16.4 * var(--t));
  text-wrap: balance;
}
/* "Connectivity": three short points, not a paragraph - compact, on the left edge, the same type size as the
   descriptions. The points are the longest content of a card (seven lines at the design size): their lines stand a
   little closer than a description's, and they reach 5 units further to each side, so that room stays under them. */
.card-points {
  margin: calc(2 * var(--t)) calc(-5 * var(--t)) 0 calc(-5 * var(--t));
  padding: 0 0 0 calc(13 * var(--t));
  color: var(--text);
  font-size: calc(14 * var(--t));
  line-height: calc(15.8 * var(--t));
  text-align: left;
  list-style: disc;
}
.card-points li + li { margin-top: calc(1.5 * var(--t)); }
.card-points strong { color: var(--title); font-weight: 600; }

.home-footer { position: relative; height: calc(58 * var(--t)); }
.home-links { position: absolute; left: 0; right: 0; top: calc(18 * var(--t)); text-align: center; font-size: calc(15.5 * var(--t)); line-height: calc(22 * var(--t)); }
/* THE FOOT'S LINKS, ON EVERY PAGE ALIKE (the owner, 2026-10-13, "Website-Wide Footer Standardization"): exactly 14 pixels,
   dark grey #444444 - Product, Privacy Policy, Terms of Service, Support, Contact, Third-Party Licenses. (His earlier
   "50%" for the legal links is withdrawn by the same instruction.) */
.home-links a { display: inline-block; margin: 0 calc(16 * var(--t)); color: #444444; font-size: 14px; text-decoration: none; }
.home-links a:hover { text-decoration: underline; }
/* the copyright line (owner decision WEB-38): the last line of every page - small, grey, regular, centred. On the
   home page it lies in the foot's own lower edge, under the four words: the foot keeps its height. */
.copyright { margin: 0; color: var(--line); font-size: 11.5px; line-height: 13px; font-weight: 400; text-align: center; }
.home-footer .copyright { position: absolute; left: 0; right: 0; bottom: calc(1 * var(--t)); }
.btn-download.small {
  position: absolute;
  right: calc(40 * var(--t));
  top: calc(11 * var(--t));
  width: calc(208 * var(--t));
  height: calc(36 * var(--t));
  padding: 0 0 0 calc(11 * var(--t));
  border-radius: calc(6 * var(--t));
  font-size: calc(14 * var(--t));
  line-height: 1;
}
.btn-download.small img { width: calc(28 * var(--t)); height: calc(24.5 * var(--t)); margin-right: calc(5 * var(--t)); }

/* ---- the home page in narrower windows -----------------------------------------------------------------------
   TABLET (below 1200 pixels): the scene keeps its arrangement - headline left, laptop right - sized by the width
   alone; everything under it REFLOWS at readable sizes: the five cards three and two to a row (the two centred),
   the foot stacked. The page scrolls. */
@container (max-width: 1199px) {
  .home .site-header { height: auto; padding: 14px 20px 12px; }
  .home .brand img { width: 220px; height: auto; }

  .hero { --t: calc(100cqw / 1280); --hero-h: calc(380 * var(--t)); --lap: calc(0.75 * 0.66 * var(--t)); }

  .section-title { padding: 1.4rem 1rem 1rem; font-size: 2rem; line-height: 1.2; word-spacing: 0.08em; }
  .cards { grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 0 16px; }
  .card { grid-column: span 2; height: auto; border-width: 1.5px; border-radius: 10px; }
  .card:nth-child(4) { grid-column: 2 / span 2; }
  .card-link { padding: 6px 12px 16px; }
  .card img { width: 96px; height: 94px; }
  .card h3 { font-size: 1.06rem; line-height: 1.3; white-space: normal; }
  .card p, .card-points { margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.42; }
  .card-points { padding-left: 1.15rem; }
  .card-points { margin-left: 0; margin-right: 0; }
  .card-points li + li { margin-top: 0.2rem; }

  .home-footer { height: auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.75rem 1rem 2.25rem; }
  .home-links { position: static; font-size: 1.05rem; line-height: 1.4; }
  .home-footer .copyright { position: static; }
  .home-links a { margin: 0 0.5rem; padding: 0.6rem 0.4rem; }
  .btn-download.small { position: static; width: auto; height: auto; padding: 0.8rem 1.3rem 0.8rem 0.9rem; border-radius: 8px; font-size: 1.05rem; }
  .btn-download.small img { width: 32px; height: 28px; margin-right: 6px; }
}

/* PHONE (below 700 pixels): the scene stands behind a column - the headline, the line under it and the button, then
   the laptop under them at nine tenths of the window's width. The headline wraps by itself. The cards go two to a
   row, then one. */
@container (max-width: 699px) {
  .hero { height: auto; --lap: calc(0.75 * 100cqw / 820); }
  .hero-scene { right: auto; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; transform: none; }

  .hero-poster { position: relative; width: auto; display: block; padding: 26px 20px 22px; background: rgba(254, 254, 254, 0.58); }
  .hero-title { font-size: 1.9rem; line-height: 1.08; }
  .hero-title br { display: none; }
  .hero-sub { margin-top: 0.5rem; font-size: 1.15rem; }
  .hero-download { margin-top: 1rem; width: auto; height: auto; padding: 0.8rem 1.4rem 0.8rem 1rem; border-radius: 8px; font-size: 1.1rem; }
  .hero-download img { width: 34px; height: 34px; margin-right: 10px; }
  .hero-explore { display: inline-block; margin-top: 0.8rem; padding: 0.25rem 0; font-size: 1.1rem; line-height: 1.3; border-bottom-width: 1.5px; }

  .hero-laptop { position: relative; right: auto; top: auto; margin: 18px auto 22px; transform: none; }

  .section-title { font-size: 1.7rem; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 12px; }
  .card:nth-child(4) { grid-column: span 2; }
  .card:nth-child(5) { grid-column: 2 / span 2; }
}
@container (max-width: 519px) {
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(n) { grid-column: auto; }
  .card-link { padding: 8px 16px 18px; }
  .home-links a { margin: 0 0.2rem; }
}

/* ==== THE OTHER PAGES: one template - the same logo, colours, type, buttons and cards ============================ */
/* a slim band in the theme's navy and blue across the top of every page but the home page */
.page { max-width: none; border-top: 6px solid var(--navy); border-image: linear-gradient(90deg, var(--navy) 0%, #0b3fb8 55%, var(--blue) 100%) 1; }

.page .site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0.9rem 2.75rem;
  background: var(--page);
}
.page .brand img { display: block; width: 15rem; height: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.4rem; }
.site-nav a, .tabs a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  color: var(--link);
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1.3;
}
.site-nav a:hover, .tabs a:hover { background: #e6f0ff; }
/* where the reader is: one mark in the header, on the word of this page (on a feature page: Features) */
.site-nav a[aria-current] { color: var(--navy); font-weight: 700; border-radius: 0; box-shadow: inset 0 -3px 0 var(--blue); }
.site-nav a[aria-current]:hover { background: none; }

/* the banner with the page's title: the theme's navy running into its blue (a restrained treatment in the picture's
   own colours - no picture is used here, because the approved picture has no part free of text and laptop that is
   large enough to be a banner) */
.page-banner {
  padding: 2rem 2.75rem 2.1rem;
  color: #ffffff;
  background: linear-gradient(100deg, var(--navy) 0%, #0b2f9c 55%, var(--blue) 100%);
}
.page-banner > * { max-width: 60rem; margin-left: auto; margin-right: auto; }
.banner-kicker { margin-top: 0; margin-bottom: 0.25rem; color: #cfe3ff; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.page-banner h1 { margin-top: 0; margin-bottom: 0; color: #ffffff; font-size: 2.6rem; line-height: 1.12; font-weight: 700; letter-spacing: -0.024em; }
.banner-intro { margin-top: 0.6rem; margin-bottom: 0; color: #eaf3ff; font-size: 1.2rem; line-height: 1.4; }
/* THE OWNER'S SENTENCE ON THE MEET MARCUS PAGE (2026-10-13, "Correction to Meet Marcus and Download Page Banners"): inside
   the blue band, directly beneath the heading, in white, smaller than the heading */
.page-banner .banner-tagline { color: #ffffff; }

/* related pages, as compact tabs under the banner: the six feature tabs stand on ONE line in a desktop window */
.tabs { display: flex; flex-wrap: nowrap; justify-content: center; gap: 0.3rem; max-width: 72rem; margin: 0 auto; padding: 0.9rem 1rem 0; }
.tabs a { flex: none; white-space: nowrap; }
/* ONE PILL for every group of related links under a banner (the owner, 2026-10-16, consolidated visual changes, section 2):
   the feature tabs, the legal tabs, the Intelligence Engine and Behind the Build pages, and the in-page links of FAQ, How It
   Works and Support & FAQ - each link its own rounded button, the page one is on in blue */
.tabs a, .ie-pages a, .on-this-page a {
  display: inline-block;
  padding: 0.32rem 0.7rem;
  color: var(--link);
  background: var(--card);
  border: 1.5px solid var(--card-line);
  border-radius: 999px;
  font-size: 0.92rem;
  line-height: 1.3;
  text-decoration: none;
}
.tabs a:hover, .ie-pages a:hover, .on-this-page a:hover { background: #e6f0ff; }
.tabs a:focus-visible, .ie-pages a:focus-visible, .on-this-page a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tabs a[aria-current="page"], .ie-pages a[aria-current="page"] { color: #ffffff; background: var(--blue); border-color: var(--blue); }

.doc { display: block; max-width: 60rem; margin: 0 auto; padding: 1.25rem 1rem 2rem; }

.on-this-page { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem; margin: 0 0 1rem; }

.doc section {
  margin: 0 0 1rem;
  padding: 0.5rem 1.5rem 1rem;
  background: var(--card);
  border: 1.5px solid var(--card-line);
  border-radius: 10px;
}

.doc h1 { margin: 1rem 0 0.75rem; color: var(--navy); font-size: 2.6rem; line-height: 1.12; font-weight: 700; letter-spacing: -0.024em; }
.doc h2 { margin: 1rem 0 0.5rem; color: var(--navy); font-size: 1.45rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.015em; }
.doc h3 { margin: 0.9rem 0 0.3rem; color: var(--title); font-size: 1.12rem; line-height: 1.3; font-weight: 700; }
.doc p, .doc li, .doc td, .doc th { color: var(--ink); }
.lead { color: var(--deep); font-size: 1.3rem; line-height: 1.4; }

.doc li { margin-bottom: 0.5rem; }

/* tiles: the home page's cards, used on the other pages for lists of features and pages */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0.75rem 0; padding: 0; list-style: none; }
.tile { margin: 0; text-align: center; background: linear-gradient(#fbfcfe 0%, #fafbfd 75%, #f7fbfe 100%); border: 1.5px solid #dcebfb; border-radius: 10px; overflow: hidden; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.tile-link { display: block; height: 100%; padding: 6px 12px 14px; color: inherit; text-decoration: none; }
.tile:hover { border-color: #bcd6f7; box-shadow: 0 6px 18px rgba(10, 60, 160, 0.16); transform: translateY(-2px); }
.tile:focus-within { border-color: var(--link); box-shadow: 0 0 0 3px var(--link); }
.tile-link:focus-visible { outline: none; }
.tile img { display: block; margin: 0 auto; width: 96px; height: 94px; }
.tile h3 { margin: 0; }
.doc .tile p { margin: 0.35rem 0 0; color: var(--text); font-size: 0.98rem; line-height: 1.42; }
.doc .tile p.state { color: var(--ink); font-size: 0.85rem; font-weight: 700; }
.feature-icon { float: right; width: 96px; height: 94px; margin: 0 0 0.5rem 1rem; }

/* THE FAQ PAGE (owner decisions WEB-60, WEB-61): twenty questions in five sections. A question is a native "details"
   element: closed at first; a click, Enter or the space bar opens it; it can be read without any script, and the
   browser's own "find in page" looks inside closed answers. Focus is shown by the site's outline. */
.faq { margin: 0 0 0.55rem; background: var(--page); border: 1.5px solid var(--card-line); border-radius: 10px; }
.faq summary { padding: 0.75rem 1rem; color: var(--title); font-weight: 600; line-height: 1.4; cursor: pointer; border-radius: 9px; }
.faq summary:hover { background: #e6f0ff; }
.faq summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.faq[open] summary { border-bottom: 1px solid var(--card-line); border-radius: 9px 9px 0 0; }
.faq p { margin: 0; padding: 0.75rem 1rem 0.9rem; }
/* THE TWO-PICTURE CAROUSEL OF OUR ECOSYSTEM (owner decisions WEB-63, WEB-64) - PREPARED. The second picture (the
   owner's "MarcusAssist Brain" illustration) has not been supplied yet, so the page shows the one approved picture as
   before and carries none of this markup: no dots, no empty place, no stand-in. With the second picture the page gets
       <div class="carousel"> two radio buttons (.carousel-pick) | .carousel-slides (the two pictures) | .carousel-dots
   and these rules do the rest WITHOUT any script: the picture whose button is chosen is seen; the other keeps its
   place but is not seen, so both occupy the same area and nothing around them moves. No picture advances by itself;
   nothing is animated. Keyboard: Tab reaches the buttons, the arrow keys change the picture; a screen reader
   announces two radio buttons with their names. The dots are the buttons' labels: the chosen one is filled. */
.carousel { position: relative; }
.carousel-pick { position: absolute; left: 50%; bottom: 0; width: 1px; height: 1px; margin: 0; clip-path: inset(50%); pointer-events: none; }
.carousel-slides { display: grid; grid-template-columns: minmax(0, 1fr); }
.carousel-slides > * { grid-area: 1 / 1; min-width: 0; }
.carousel-pick:nth-of-type(1):not(:checked) ~ .carousel-slides > :nth-child(1),
.carousel-pick:nth-of-type(2):not(:checked) ~ .carousel-slides > :nth-child(2) { visibility: hidden; }
.carousel-dots { display: flex; justify-content: center; gap: 0.8rem; margin: 0.55rem 0 0; }
.carousel-dots label { display: block; width: 0.85rem; height: 0.85rem; background: var(--page); border: 2px solid var(--line); border-radius: 50%; cursor: pointer; }
.carousel-pick:nth-of-type(1):checked ~ .carousel-dots label:nth-child(1),
.carousel-pick:nth-of-type(2):checked ~ .carousel-dots label:nth-child(2) { background: var(--blue); border-color: var(--blue); }
.carousel-pick:nth-of-type(1):focus-visible ~ .carousel-dots label:nth-child(1),
.carousel-pick:nth-of-type(2):focus-visible ~ .carousel-dots label:nth-child(2) { outline: 3px solid var(--link); outline-offset: 3px; }
/* THE SECOND PICTURE, WHATEVER ITS SHAPE: it is shown WHOLE inside the first picture's area - as large as fits, in
   its own shape, in the middle; never cut, never stretched (the first picture keeps its own frame, which leaves out
   its heading). In a narrower window the first picture is wider than the window and is moved sideways; the second is
   NOT: its area is then as wide as the window and as high as the first picture's, so it is seen whole at once. */
.carousel-slides > :nth-child(n+2) .infographic-crop img { width: 100%; height: 100%; margin-top: 0; object-fit: contain; }
@container (max-width: 1099px) {
  .carousel-slides > :nth-child(n+2) .infographic-scroll .infographic-crop { width: 100%; aspect-ratio: auto; height: calc(1240px * 729 / 1933); }
}
/* THE COMPANION, EXPLAINED UNDER THE ECOSYSTEM PICTURE (owner decisions WEB-74 to WEB-76): two short sentences and one
   clearly visible link, directly below the picture - and below the carousel's dots when the second picture exists.
   THE PICTURE KEEPS ITS SIZE AND ITS PLACE (W2's review: with the note under it the picture had moved up, because
   picture and note were centred together). So the note takes NO height in the page's middle part: the picture alone
   is centred there, exactly as before the note existed, and the note is drawn below it. Its room is made BELOW the
   middle part instead (--eco-foot): what the note needs (--eco-note-h) less the free height that already lies under
   the picture - half of what the window leaves over; 20.3rem is this page's measured rest, the long expression is
   the picture's width rule from below. By that amount the foot is moved down AND the page is made higher than the
   window - both, so that the middle part keeps exactly the height it had (a margin on the foot alone would be taken
   out of the middle part, and the picture would move up by half of it). In a high window the amount is nothing and
   the page fits as before; in a low window the page is higher than the window and scrolls. In narrower windows,
   where the text wraps, the whole room is kept. (An alternative for the owner - the picture a little smaller,
   everything in one window - is NOT built here.) */
.eco-note { width: 100%; max-width: 46rem; height: 0; margin: 0 auto; overflow: visible; text-align: center; }
.eco-note p:first-child { padding-top: 1.1rem; }
.eco-note p { margin: 0 0 0.5rem; color: var(--ink); font-size: 1.06rem; line-height: 1.55; }
/* (the owner, 2026-10-16, MA-OWNER-W5-WEB-RULES-20261016-001 item 6) one discreet link under the note, within the room kept for it */
p.eco-more { margin: 0.1rem 0 0; font-size: 0.95rem; }
p.eco-more a { color: var(--link); font-weight: 600; }
.eco-link { display: inline-block; padding: 0.2rem 0; color: var(--link); font-size: 1.12rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.eco-link:hover { color: var(--navy); }
/* OUR ECOSYSTEM (owner decisions WEB-31 and WEB-37): the owner's infographic is the page - comfortably sized, not a
   full-window picture. In a desktop window its width is the SMALLEST of: 78 percent of the window's width; 1200
   pixels; and what the window's height leaves (the window's height less 21rem for the header, the banner and the
   foot of this page, times the shown picture's ratio 1933 : 729 = 2.6516) - so that heading, subtitle, picture and foot are
   seen together. It is never shown below 900 pixels across: lower than that the page scrolls instead (the picture's
   smallest words are then about 7.5 pixels high and would only get worse). Its height follows its width - the file's
   ratio, never stretched. The picture at its full size is one link away (no script). */
.infographic {
  --eco-w: max(900px, min(78cqw, 1200px, calc((100vh - 21rem) * 2.6516)));
  position: relative; left: 50%; width: var(--eco-w); margin: 0; padding: 0; transform: translateX(-50%);
}
.infographic-scroll { overflow-x: auto; background: #ffffff; border: 1.5px solid var(--card-line); border-radius: 10px; }
/* THE HEADING INSIDE THE PICTURE IS NOT SHOWN (owner decisions WEB-42, WEB-50): the blue banner above already says
   "The MarcusAssist Ecosystem". The picture FILE is the owner's, unchanged; it is shown through a frame that begins 84
   rows below its upper edge (the large word "MarcusAssist" occupies rows 17 to 78 of its 813; the next line begins at
   row 92). So the frame has the ratio 1933 : 729, and the picture in it is moved up by 84 / 1933 = 4.3456 percent of
   its width. Nothing else of the picture is hidden, moved or redrawn. */
.infographic-crop { overflow: hidden; aspect-ratio: 1933 / 729; }
.infographic-crop img { display: block; width: 100%; max-width: none; height: auto; margin-top: -4.3456%; }
.infographic figcaption { margin: 0.5rem 0 0; color: var(--ink); font-size: 0.95rem; line-height: 1.5; text-align: center; }
/* (2026-10-16, consolidated visual changes, section 4) a small "What is Companion" link at the left under the picture, on the
   row of Enlarge and never over it: three columns, the link left, Enlarge in the middle, the hint (narrow windows) right */
.infographic figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 0.6rem; }
.infographic figcaption .enlarge { grid-column: 2; }
.infographic figcaption .infographic-hint { grid-column: 3; justify-self: start; text-align: left; }
.eco-companion { grid-column: 1; justify-self: start; color: var(--link); font-size: 0.9rem; text-align: left; }
.infographic-hint { display: none; }
/* "ENLARGE" (owner decision WEB-43). The button opens the picture in an overlay ON this page, by the browser's own
   means (the "popover" of HTML) - the site still runs no script: the overlay lies above the darkened page, centred;
   it closes with its X, with a click or touch beside the picture, and with the Escape key, and the keyboard's focus
   then returns to "Enlarge". The picture keeps its ratio and is fitted into the window. */
.enlarge { padding: 0.4rem 1.2rem; color: #ffffff; background: var(--blue); border: 0; border-radius: 8px; font: inherit; line-height: 1.3; cursor: pointer; }
.enlarge:hover { background: var(--link); }
.lightbox { inset: 0; width: fit-content; height: fit-content; max-width: none; max-height: none; margin: auto; padding: 0; overflow: visible; background: transparent; border: 0; }
.lightbox::backdrop { background: rgba(6, 12, 40, 0.62); }
.lightbox .infographic-crop { width: min(96vw, 1933px, calc(90vh * 2.6516)); background: #ffffff; border-radius: 10px; }
.lightbox-close { position: absolute; top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem; padding: 0; color: #ffffff; background: var(--navy); border: 2px solid #ffffff; border-radius: 50%; font: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; }
/* a browser that does not know the popover (before about 2024) would show the overlay's content in the page: hide it */
@supports not selector(:popover-open) {
  .lightbox { display: none; }
}
/* this page alone, in a desktop window: a lower banner and foot, so that the picture has the height */
@container (min-width: 1100px) {
  .page:has(.infographic) .page-banner { padding-top: 1.1rem; padding-bottom: 1.2rem; }
  .page:has(.infographic) .page-banner h1 { font-size: 2.2rem; }
  .page:has(.infographic) .banner-intro { margin-top: 0.4rem; font-size: 1.15rem; }
  .page:has(.infographic) .doc { padding-top: 0.9rem; padding-bottom: 0.6rem; }
  .page:has(.infographic) .site-footer { padding: 0.5rem 1rem 0.9rem; }
  .page:has(.infographic) .site-footer p { margin-bottom: 0.2rem; }
  .page:has(.infographic) .foot-links a { padding-top: 0.3rem; padding-bottom: 0.3rem; }
}
/* (owner decision WEB-41) the page is at least as high as the window and its main content - the picture with the line
   under it - stands in the middle of the height between the banner and the foot: the space above and below it is
   equal, and the foot closes the window. In a window that the content fills, nothing changes. */
.page:has(.infographic) { display: flex; flex-direction: column; min-height: 100vh; }
.page:has(.infographic) .doc { display: flex; flex-direction: column; justify-content: center; flex: 1 0 auto; width: 100%; }
/* (2026-10-16) the link under the note is removed by the owner; the room kept for the note (--eco-note-h) is unchanged, so the
   picture and the foot stand where they stood. These rules were keyed to the link; now to the note, and they stand AFTER the
   picture page's own flex rule so that, of two rules of equal weight, theirs is the one that holds */
.page:has(.eco-note) {
  --eco-note-h: 8.5rem;
  --eco-foot: max(0px, calc(var(--eco-note-h) - (100vh - 20.3rem - max(900px, min(78cqw, 1200px, calc((100vh - 21rem) * 2.6516))) / 2.6516) / 2));
  min-height: calc(100vh + var(--eco-foot));
}
.page:has(.eco-note) .site-footer { margin-top: var(--eco-foot); }
@media (max-width: 1099px) {
  .page:has(.eco-note) { --eco-foot: 10rem; }
}
@media (max-width: 699px) {
  .page:has(.eco-note) { --eco-foot: 13rem; }
}
@media (max-width: 519px) {
  .page:has(.eco-note) { --eco-foot: 16rem; }
}
/* tablet and phone: readability first - the picture keeps 1240 pixels across (its smallest words about 10 pixels) and
   its frame is moved sideways (the frame, not the page) */
@container (max-width: 1099px) {
  .infographic { --eco-w: min(calc(100cqw - 2rem), 1240px); }
  .infographic-scroll .infographic-crop { width: 1240px; }
  .infographic-hint { display: inline; }
  /* the enlarged picture on a tablet or phone: fitted to the window's HEIGHT, moved sideways inside the overlay - fitted
     to the width it would be smaller than the picture on the page */
  .lightbox, .lightbox-scroll { max-width: 100vw; }
  .lightbox-scroll { overflow-x: auto; border-radius: 10px; }
  .lightbox .infographic-crop { width: auto; height: min(86vh, 729px); border-radius: 0; }
}

/* THE MEET MARCUS PAGE (owner decisions WEB-65 to WEB-69): the founder's own story, "a clean editorial layout" - one
   reading column, his name and professional line at its head, six sections with distinct headings, no cards, no
   timeline, nothing that moves. THE PORTRAIT stays small ("The story - not the photograph - should be the focus"):
   beside the introduction, 240 pixels wide and never more than 250; on a phone 170 pixels and never more than 180,
   centred above the text; its own shape always (the height follows the width), corners slightly rounded, nothing
   else done to it. */
.bio { max-width: 46rem; margin-left: auto; margin-right: auto; }
.bio h2 { margin-bottom: 0.2rem; font-size: 1.9rem; }
.bio-role { margin: 0 0 1.4rem; color: var(--deep); font-size: 1.08rem; line-height: 1.45; font-weight: 600; }
.bio-portrait { float: left; display: block; width: 240px; max-width: 250px; height: auto; margin: 0.35rem 1.75rem 1rem 0; border-radius: 10px; }
.bio-text h3 { margin: 1.9rem 0 0.6rem; color: var(--navy); font-size: 1.4rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.012em; }
.bio-text h3:first-of-type { margin-top: 0; }
.bio-text p { margin: 0 0 0.95rem; font-size: 1.06rem; line-height: 1.65; }
.bio-text p.bio-motto { margin-top: 1.6rem; color: var(--navy); font-weight: 600; }
.bio-text p.bio-sign { margin: 0; line-height: 1.5; }
.bio-end { clear: both; height: 0; margin: 1.75rem 0 1rem; border: 0; border-top: 1.5px solid var(--card-line); }
.bio .founder-contact { margin: 0 0 0.4rem; font-size: 1.06rem; }
/* OUR PHILOSOPHY (the owner, 2026-10-13): the lead-in at the foot of Meet Marcus - a card in the reading column, aligned with the biography's card, its
   label in the MarcusAssist blue, its link the site's link colour, bold, with an arrow; the whole card is not a link */
.doc section.philosophy-lead { max-width: 46rem; margin: 1.5rem 0 1rem; padding: 1.1rem 1.6rem 1.3rem; background: #ffffff; border: 1.5px solid var(--card-line); border-left: 6px solid var(--blue); border-radius: 10px; }
.philosophy-label { margin: 0 0 0.3rem; color: var(--blue); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; }
.doc p.philosophy-label { color: var(--blue); }
.philosophy-lead h2 { margin: 0 0 0.6rem; font-size: 1.6rem; }
.philosophy-lead p { margin: 0 0 0.9rem; font-size: 1.06rem; line-height: 1.6; }
.philosophy-link { display: inline-block; padding: 0.3rem 0; color: var(--link); font-size: 1.1rem; font-weight: 700; text-decoration: underline; text-underline-offset: 0.2em; }
.philosophy-link:hover { color: var(--navy); }
/* THE ARTICLE "Why Facts Matter": one reading column, like the biography */
.article { display: block; max-width: 46rem; margin: 0 auto; }
.article p, .article li { font-size: 1.06rem; line-height: 1.65; }
.article h2 { margin-top: 1.2rem; }
.article blockquote { margin: 0.6rem 0 1rem; padding: 0.4rem 1.2rem; background: #ffffff; border-left: 4px solid var(--blue); border-radius: 6px; }
.article blockquote p { margin: 0.4rem 0; font-style: italic; }
.article p.article-motto { margin-top: 1.4rem; color: var(--navy); font-weight: 600; }
.article p.article-sign { color: var(--deep); font-weight: 600; }
.article-back { margin: 1.2rem 0 0.5rem; }
.article-back a { font-weight: 700; }
/* THE TECH CENTER (the owner, 2026-10-14; OD-56): three cards without icons, a line under each title, the release status,
   the notice before installing Companion, the facts for IT administrators, the link back to the Tech Center */
.tech-tiles .tile-link { padding-top: 0.4rem; }
.doc .tile p.tech-card-line { color: var(--navy); font-weight: 700; }
.doc p.tech-status { padding: 0.6rem 0.9rem; background: #ffffff; border-left: 4px solid var(--blue); border-radius: 6px; }
.tech-notice { margin: 0.8rem 0 0.4rem; padding: 0.4rem 1.1rem 0.6rem; background: #e6f0ff; border: 1.5px solid var(--blue); border-radius: 10px; }
.doc .tech-notice p.tech-notice-title { margin-top: 0.5rem; color: var(--navy); font-size: 1.1rem; font-weight: 700; }
.tech-facts dt { margin-top: 0.7rem; color: var(--navy); font-weight: 700; }
.tech-facts dd { margin: 0.15rem 0 0; color: var(--ink); }
/* (2026-10-16) the rules of the retired Brain pages and of the Ecosystem page's Brain section are removed: no page uses them */
.tech-back { margin: 1rem 0 0.25rem; }
.tech-back a { font-weight: 700; }
@container (max-width: 699px) {
  .philosophy-lead h2 { font-size: 1.35rem; }
}
@container (max-width: 699px) {
  .bio h2 { font-size: 1.6rem; }
  .bio-portrait { float: none; width: 170px; max-width: 180px; margin: 0.25rem auto 1.4rem; }
}
code, kbd {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.95em;
  background: #ffffff;
  padding: 0.1rem 0.3rem;
  border: 1px solid var(--card-line);
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.scroll { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; margin: 0.75rem 0; background: #ffffff; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border: 1px solid #c9dcf3; }
thead th { background: #eaf3ff; color: var(--title); }

/* A placeholder: something the owner still has to supply or approve, or something not final.
   It must be impossible to overlook - a page that shows one of these is not ready to publish. */
.tbs {
  display: inline-block;
  margin: 0.1rem 0;
  padding: 0.05rem 0.45rem;
  color: var(--mark-ink);
  background: var(--mark-paper);
  border: 2px solid var(--mark-line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9em;
  text-align: left;
}

.tbs::before { content: "\26A0\00A0"; }

/* Something that is planned and does not work today. Never to be mistaken for a description of the product. */
.planned {
  clear: both;              /* a planned box never stands beside or under the feature's icon: it begins below it */
  margin: 0.75rem 0;
  padding: 0.25rem 1rem 0.5rem;
  background: #e6f0ff;
  border-left: 6px solid var(--blue);
  border-radius: 6px;
}

.planned-label {
  margin: 0.5rem 0;
  font-weight: 700;
  color: var(--link);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.doc p.planned-label { color: #0a3fc0; }

/* the foot of every page but the home page: the three links the header does not have, and the copyright line.
   THE LINKS: exactly 14 pixels, dark grey #444444, the same as in the foot of the home page (the owner, 2026-10-13,
   "Website-Wide Footer Standardization"). */
.site-footer { max-width: 60rem; margin: 0 auto; padding: 1rem 1rem 2.5rem; color: var(--ink); font-size: 0.95rem; text-align: center; }
.site-footer p { margin: 0 0 0.4rem; }
/* THE FOOT AT THE BOTTOM (the owner, 2026-10-13: "Footer stays at the bottom of the viewport on short pages. Footer
   follows the content naturally on longer pages."): the page is at least as high as the window and its middle part
   takes what is free. The Ecosystem page has its own arrangement of the same kind and is not touched; the home page
   fits one window by its own rules. */
.page:not(:has(.infographic)) { display: flex; flex-direction: column; min-height: 100vh; }
.page:not(:has(.infographic)) > .doc { flex: 1 0 auto; width: 100%; }
.page:not(:has(.infographic)) > .site-footer, .page:not(:has(.infographic)) > .tabs { width: 100%; }
/* THE DOWNLOAD PAGE: the two installations side by side, each a card; under 700 pixels one below the other */
.download-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0.75rem 0; }
.download-option { padding: 0.4rem 1.1rem 0.9rem; background: #ffffff; border: 1.5px solid var(--card-line); border-radius: 10px; }
.download-option h3 { margin-top: 0.7rem; color: var(--navy); font-size: 1.25rem; }
.download-state { margin-bottom: 0; }
@container (max-width: 699px) {
  .download-options { grid-template-columns: 1fr; }
}
.site-footer .copyright { margin: 0.5rem 0 0; }
.foot-links a { display: inline-block; margin: 0 0.6rem; padding: 0.45rem 0.5rem; color: #444444; text-decoration: none; font-size: 14px; }
.foot-links a:hover { text-decoration: underline; }
/* the two rows of the foot (2026-10-16, consolidated visual changes, section 1): the product pages, then support and legal;
   each row wraps on a narrow screen and loses no link */
.foot-row { display: flex; flex-wrap: wrap; justify-content: center; }

/* ---- the other pages in narrower windows ---------------------------------------------------------------------- */
/* Below 1100 pixels the tabs may take a second line. */
/* THE HEADER IN A NARROWER DESKTOP WINDOW (the owner, 2026-10-13, "Website Header Correction": "Place the MarcusAssist logo
   and navigation on the same horizontal row"). At full size the logo and the seven words need 1146 pixels; in a window
   narrower than that the words fell under the logo and the header became taller. From 1159 pixels down, the logo is a
   little smaller and the words stand closer, so that both keep ONE row down to 940 pixels - on EVERY page at the same
   width: the row is not left to wrap by itself (the word of the page one is on is bold and a pixel wider, so one page
   would wrap a pixel earlier than another); below 940 the words stand under the logo, as on a tablet. Below 900 the
   tablet's arrangement and below 700 the phone's - unchanged. */
@container (max-width: 1159px) {
  .page .site-header { flex-wrap: nowrap; padding: 0.9rem 1.5rem; }
  .page .brand img { width: 12.5rem; }
  .site-nav { flex-wrap: nowrap; gap: 0.15rem; }
  .site-nav a { flex: none; padding: 0.45rem 0.5rem; font-size: 0.95rem; white-space: nowrap; }
}
@container (max-width: 939px) {
  .page .site-header { flex-wrap: wrap; }
  .page .site-nav { flex-basis: 100%; }
}
@container (max-width: 1099px) {
  .tabs { flex-wrap: wrap; justify-content: flex-start; max-width: 60rem; }
}
@container (max-width: 899px) {
  .page .site-header { padding: 0.8rem 1rem; }
  .page .brand img { width: 12.5rem; }
  /* the header's seven words stay in ONE row on a tablet (since "FAQ" became the seventh they took two rows at 768):
     under the logo, a little closer together and a little smaller; from 900 pixels up nothing changes, and below 700
     the phone's arrangement (one row, moved sideways) takes over further down */
  .site-nav { flex-wrap: nowrap; gap: 0.15rem; }
  .site-nav a { flex: none; padding: 0.45rem 0.5rem; font-size: 0.95rem; white-space: nowrap; }
  .page-banner { padding: 1.5rem 1rem 1.6rem; }
  .page-banner h1 { font-size: 2.1rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@container (max-width: 519px) {
  .page-banner h1 { font-size: 1.75rem; }
  .banner-intro { font-size: 1.05rem; }
  .doc { padding: 1rem 0.6rem 1.5rem; }
  .doc section { padding: 0.25rem 0.9rem 0.75rem; }
  .doc h1 { font-size: 1.9rem; }
  .tiles { grid-template-columns: 1fr; }
  .feature-icon { float: none; display: block; margin: 0.5rem auto; }
  th, td { padding: 0.4rem; }
}
/* PHONE (below 700 pixels): the navigation and the tabs are each ONE line. A line that is longer than the window is
   moved sideways with the finger, by itself - the page never scrolls sideways. */
@container (max-width: 699px) {
  .page .site-header { display: block; padding: 0.7rem 0 0.35rem; }
  .page .brand { padding: 0 1rem; }
  .site-nav, .tabs { flex-wrap: nowrap; justify-content: flex-start; max-width: none; overflow-x: auto; scrollbar-width: thin; }
  .site-nav { margin-top: 0.4rem; padding: 0 0.6rem 0.25rem; gap: 0.15rem; }
  .tabs { padding: 0.6rem 0.6rem 0.25rem; }
  .site-nav a, .tabs a, .ie-pages a, .on-this-page a { flex: none; padding: 0.45rem 0.65rem; font-size: 0.95rem; white-space: nowrap; }
  /* the word of the page one is on stands first in its line, so that the mark is in view without moving the line */
  .site-nav a[aria-current], .tabs a[aria-current] { order: -1; }
}

/* ==== THE INTELLIGENCE ENGINE (the owner, 2026-10-16, MA-W5-WEBSITE-20261016-001) =========================================
   Three pages built from the owner's three approved mockups. Each block below is THAT MOCKUP'S OWN STYLESHEET, rule for rule
   and value for value, scoped to its page (.ie, .ci, .pi) so that it neither changes nor is changed by the rest of the site.
   The integration-only changes are listed in the evidence (INTEGRATION_DIFF.md): the scope; inline SVG icons as picture
   files ("img" for "svg"); three class names renamed where the site already used them (tile -> ie-tile, hero-title ->
   ie-hero-title, card -> pi-card); v4's fit-to-screen script done by CSS; the mockups' placeholder headers dropped. */
.ie-route { padding: 0.9rem 1rem 0; }
.ie-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
.page > .ie-main, .page > .ci-main, .page > .pi-main { display: block; flex: 1 0 auto; width: 100%; }
.doc .ie-entry { margin-top: 1rem; text-align: center; font-weight: 600; }

/* -- MOCKUP_Intelligence_Engine_Fit_to_Screen_v4.html */
.ie-main { background: #fff; }
.ie {
  --navy: #101b66; --blue: #0870f6; --light: #eff7ff; --line: #cde2fb; --muted: #56699f;
  color: var(--navy); font-family: Segoe UI, Arial, sans-serif; font-size: 16px; line-height: normal; overflow-x: hidden;
  /* fit to the window, as the mockup's script did: factor = min(1, width / 1260, available height / natural height). The
     natural height of the design is 1182px with its title at 49px; the title follows the window (clamp, 4.1vw, one line of
     1.17), so the height follows it too. Available height: the window less 12px (the mockup's) and less the site's header
     and route above the design (--ie-chrome, measured). */
  --ie-chrome: 238px;
  /* (2026-10-16, consolidated visual changes) the title moved into the site's banner: the design is its 49px title line
     (49 x 1.17) and that title's 43px margin shorter, and --ie-chrome now also holds the banner (measured below) */
  --ie-h: calc(1182px - 49px * 1.17 - 43px);
  --ie-k: min(1, tan(atan2(100vw, 1260px)), tan(atan2(max(300px, 100vh - 12px - var(--ie-chrome)), var(--ie-h))));
}
/* the band, header, banner and route above the design (2026-10-16, consolidated visual changes; computed from the rules, to
   be checked in the window): 238px from 1160px, 231px below (smaller logo), 202px below 900px (smaller banner); the header
   has no navigation any more, so it no longer takes a second line */
@container (max-width: 1159px) { .ie { --ie-chrome: 231px; } }
@container (max-width: 899px) { .ie { --ie-chrome: 202px; } }
.ie * { box-sizing: border-box; }
.ie .ie-hero-title { text-align: center; font-size: clamp(30px, 4.1vw, 49px); letter-spacing: -.035em; line-height: 1.17; margin: 0 0 43px; font-weight: 800; }
.ie .outputs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; position: relative; z-index: 2; }
.ie .ie-tile { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(140deg, #fff 0%, #eff8ff 100%); box-shadow: 0 4px 14px #113d8010; text-align: center; padding: 20px 12px 18px; min-height: 162px; }
.ie .ie-tile img { width: 37px; height: 37px; display: block; margin: 0 auto 12px; }
.ie .ie-tile h3 { margin: 0 0 7px; font-size: 19px; line-height: 1.2; }
.ie .ie-tile p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.ie .connector-top { height: 110px; display: flex; align-items: center; justify-content: center; position: relative; }
.ie .center-zone { min-height: 330px; display: flex; align-items: center; justify-content: center; position: relative; margin-top: 0; }
.ie .engine { width: 330px; height: 330px; z-index: 3; border-radius: 50%; border: 5px solid #a8d6ff; box-shadow: 0 0 0 13px #edf7ff, 0 0 0 22px #f5fbff, 0 0 35px #69b4ff91, inset 0 7px 24px #318bff; background: radial-gradient(circle at 50% 12%, #267ce3 0%, #0b3b9d 42%, #08135d 83%); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; padding: 24px; }
.ie .engine .engine-icon { width: 47px; height: 47px; margin-bottom: 12px; }
.ie .engine h2 { font-size: 35px; line-height: 1.09; margin: 0 0 17px; letter-spacing: -.025em; }
.ie .engine p { font-size: 17px; line-height: 1.4; margin: 0; opacity: .98; }
.ie .side { position: absolute; top: 45%; transform: translateY(-50%); border: 1.5px solid var(--line); border-radius: 100px; background: linear-gradient(100deg, #f8fcff, #eaf6ff); box-shadow: 0 3px 15px #0970f619; display: flex; align-items: center; gap: 15px; padding: 16px 19px; width: 245px; font-weight: 700; font-size: 15px; }
.ie .side img { width: 34px; height: 34px; flex: none; }
.ie .side-left { left: 0; }
.ie .side-right { right: 0; }
.ie .side:after { content: ""; position: absolute; top: 50%; width: 48px; height: 2px; background: #d6e9fd; }
.ie .side-left:after { left: 100%; }
.ie .side-right:after { right: 100%; }
.ie .connector { position: relative; z-index: 4; }
.ie .connector-top .arrow-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ie .connector-bottom { height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ie .inputs-label { text-align: center; letter-spacing: .15em; font-weight: 800; color: var(--blue); margin: 0; position: relative; z-index: 4; }
.ie .inputs-subtitle { text-align: center; color: var(--muted); font-size: 12px; letter-spacing: .11em; margin: 0; position: relative; z-index: 4; }
.ie .inputs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.ie .inputs .ie-tile { min-height: 160px; }
.ie .arrow-up { position: relative; width: 16px; height: 58px; }
.ie .arrow-up:before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 10px; bottom: 0; width: 3px; background: linear-gradient(#9dccff, #0870f6); }
.ie .arrow-up:after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 11px solid var(--blue); }
.ie .tagline { margin: 27px 0 0; background: linear-gradient(100deg, #f6fbff, #eaf6ff, #f6fbff); border: 1px solid var(--line); padding: 20px 25px; border-radius: 13px; text-align: center; }
.ie .tagline strong { font-size: 24px; }
.ie .tagline p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }
.ie #fit-frame { position: relative; width: 100%; overflow: hidden; height: calc(var(--ie-h) * var(--ie-k)); }
.ie #fit-page { width: 1260px; max-width: none; position: absolute; top: 0; left: 50%; margin: 0; padding: 35px 24px 45px; transform-origin: top center; will-change: transform; transform: translateX(-50%) scale(var(--ie-k)); }
/* the two paths and the Release 1A line: the site's, beneath the approved design (not part of it) */
.ie-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 60rem; margin: 1.2rem auto 0; padding: 0 1rem; }
.ie-path { display: block; padding: 1rem 1.2rem; color: var(--navy); background: var(--card); border: 1.5px solid #dcebfb; border-radius: 12px; text-decoration: none; }
.ie-path:hover { border-color: #bcd6f7; }
.ie-path strong { display: block; font-size: 1.15rem; }
.ie-path span { display: block; margin-top: 0.3rem; color: var(--ink); }
.ie-caveat { max-width: 60rem; margin: 1rem auto 1.5rem; padding: 0.6rem 0.9rem; color: var(--ink); background: #ffffff; border-left: 4px solid var(--blue); border-radius: 6px; }
@container (max-width: 599px) {
  .ie-paths { grid-template-columns: minmax(0, 1fr); }
}

/* -- MOCKUP_Connected_Intelligence_v8.html */
.ci-main { background: #fefefe; }
.ci { --navy: #0a0a4e; --blue: #0063fe; --ink: #1b2166; --card: #f7fbfe; --line: #d9e9fa; color: var(--ink); font: 15px/1.52 "Segoe UI", Arial, sans-serif; max-width: 1320px; margin: auto; padding: 35px 26px 55px; }
.ci * { box-sizing: border-box; }
.ci .kicker { font-size: 12px; color: var(--blue); letter-spacing: 2px; font-weight: 800; }
.ci h1 { font-size: clamp(30px, 3.7vw, 49px); color: var(--navy); line-height: 1.13; margin: 8px 0 10px; }
.ci .lead { font-size: 17px; margin: 0 0 22px; }
.ci .question { border: 1px solid #c5ddf7; border-radius: 13px; background: #eff7ff; padding: 15px 20px; margin: 22px 0 18px; font-size: 19px; color: var(--navy); }
.ci .question b { font-size: 12px; letter-spacing: 1px; color: #4358aa; display: block; margin-bottom: 5px; }
.ci .workflow { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 23px; }
.ci .stage { border: 1px solid #c8e1fb; border-radius: 12px; background: #f7fbfe; text-align: center; padding: 12px 15px; flex: 1; color: var(--navy); font-weight: 750; }
.ci .stage small { display: block; font-size: 12px; font-weight: 400; color: #5063a5; }
.ci .arrow { color: #4883cc; font-size: 28px; }
.ci .workflow .stage { min-height: 122px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 18px 16px; background: #eef7ff; border: 1px solid #c8e1fb; }
.ci .workflow .stage:nth-of-type(1) { background: #f1f7ff; border-color: #c9def6; }
.ci .workflow .stage:nth-of-type(2) { background: #e4f1ff; border-color: #b9d8fa; }
.ci .workflow .stage:nth-of-type(3) { background: #e7f7ed; border-color: #b8e1c5; }
.ci .workflow .stage:nth-of-type(3) .flow-label { color: #17613b; }
.ci .flow-label { font-size: clamp(17px, 1.5vw, 21px); color: #0a0a4e; letter-spacing: 0; font-weight: 800; line-height: 1.25; }
.ci .flow-main { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.35; font-weight: 650; color: var(--navy); }
.ci .columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.82fr); gap: 20px; align-items: start; }
.ci .panel { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 7px 24px #0a0a4e0a; overflow: hidden; }
.ci .panelhead { padding: 16px 20px; background: #f0f8ff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ci .panelhead strong { color: var(--navy); font-size: 18px; }
.ci .tag { font-size: 11px; background: #e1edff; color: #1d51a3; padding: 4px 9px; border-radius: 20px; }
.ci .body { padding: 19px 22px; }
.ci .meeting { position: relative; margin-left: 13px; padding: 0 0 19px 25px; border-left: 2px solid #beddfd; }
.ci .meeting:before { content: ""; position: absolute; left: -6px; top: 3px; width: 10px; height: 10px; background: var(--blue); border-radius: 50%; }
.ci .meeting:last-child { padding-bottom: 0; }
.ci .date { font-size: 12px; font-weight: 800; color: #3f4db3; letter-spacing: .5px; }
.ci .meeting h3 { font-size: 17px; color: var(--navy); margin: 3px 0 3px; }
.ci .attendees { font-size: 12px; color: #5867a0; margin-bottom: 9px; }
.ci .meeting p { margin: 0 0 7px; }
.ci .source { color: #0063fe; text-decoration: underline; text-underline-offset: 2px; font-size: 13px; }
.ci .summary { background: #f0f8ff; border-left: 4px solid #0063fe; border-radius: 8px; padding: 15px 17px; margin-top: 18px; }
.ci .summary strong { color: var(--navy); display: block; margin-bottom: 6px; }
.ci .summary p { margin: 0; }
.ci .insight { border-bottom: 1px solid #e5eef9; padding: 0 0 15px; margin: 0 0 15px; }
.ci .insight:last-child { border: 0; margin: 0; padding: 0; }
.ci .insight .kind { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: #315bb0; font-weight: 800; }
.ci .insight h3 { color: var(--navy); font-size: 16px; margin: 5px 0 6px; }
.ci .insight p { margin: 0 0 7px; font-size: 14px; }
.ci .note { font-size: 12px; color: #65729d; margin-top: 20px; }
@media (max-width: 860px) {
  .ci .columns { grid-template-columns: 1fr; }
  .ci .workflow { flex-direction: column; }
  .ci .workflow .stage { width: 100%; min-height: 90px; }
  .ci .arrow { transform: rotate(90deg); }
}

/* -- MOCKUP_Proactive_Intelligence_Concept_v3.html */
.pi-main { background: #fefefe; }
.pi { --navy: #0a0a4e; --ink: #1b2166; --blue: #0063fe; --border: #d9e9fa; color: var(--ink); font: 16px/1.45 "Segoe UI", Arial, sans-serif; max-width: 1320px; margin: 0 auto; padding: 46px 30px 0; }
.pi * { box-sizing: border-box; }
.pi h1 { font-size: clamp(34px, 4.3vw, 57px); line-height: 1.13; letter-spacing: -1.3px; color: var(--navy); margin: 0 0 14px; }
.pi .subtitle { font-size: clamp(18px, 2vw, 23px); color: #3f4db3; margin: 0 0 45px; }
.pi .comparison { display: grid; grid-template-columns: 0.82fr 1.38fr; gap: 22px; align-items: stretch; }
.pi .side { border: 1px solid var(--border); border-radius: 22px; padding: 27px; min-height: 455px; }
.pi .without { background: linear-gradient(145deg, #fafcff, #f2f5fa); }
.pi .with { background: linear-gradient(145deg, #f0f9ff, #e7f7ed); border-color: #b8e1c5; box-shadow: 0 12px 32px #0a0a4e12; }
.pi .kicker { font-size: 14px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 18px; color: #52648f; }
.pi .with .kicker { color: #17613b; }
.pi h2 { color: var(--navy); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.16; margin: 0 0 22px; }
.pi .pi-card { border: 1px solid #d9e9fa; background: #fff; border-radius: 13px; padding: 17px 19px; margin: 12px 0; }
.pi .pi-card strong { color: var(--navy); display: block; margin-bottom: 4px; font-size: 17px; }
.pi .pi-card small { color: #596994; font-size: 13px; }
.pi .dim { opacity: .78; }
.pi .icon { font-size: 28px; display: block; margin-bottom: 10px; }
.pi .with .pi-card { border-color: #c6e5d5; }
.pi .with .pi-card strong { color: #17613b; }
.pi .insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pi .insight-grid .pi-card { margin: 0; min-height: 119px; }
.pi .takeaway { margin-top: 19px; padding: 17px 20px; background: #e0f4e8; border: 1px solid #b8e1c5; border-radius: 13px; color: #17613b; font-weight: 800; font-size: 18px; }
/* the mockup's own line beneath its page ("footer" there: below the page's 70px, then 22px around it) */
.pi .pi-concept { margin: 70px 0 0; text-align: center; color: #62719d; font-size: 12px; padding: 22px; }
@media (max-width: 800px) {
  .pi .comparison { grid-template-columns: 1fr; }
  .pi .side { min-height: auto; }
  .pi .insight-grid { grid-template-columns: 1fr; }
  .pi { padding: 35px 18px 0; }
  .pi .pi-concept { margin-top: 35px; }
}

/* -- MOCKUP_Behind_the_Build_v1.html (the owner, 2026-10-16, DEV-JOURNAL-1): its own stylesheet, rule for rule, scoped to .btb.
   Its five style= attributes are the classes btb-s1..btb-s5 (made specific enough to win as the attributes did); five class
   names are renamed where the site uses them (hero, lead, section-title, cards, card -> btb-*); its header and nav rules are
   dropped with its placeholder header; its smooth scrolling of the whole page is not taken over (a page block cannot set it);
   ".node small" opacity .8 is drawn as an 80% text colour (the owner: "Do not expand the general opacity exception"). */
.btb-main { background: #fff; }
.btb { --navy: #101953; --blue: #0966eb; --ink: #283567; --soft: #f2f7ff; --line: #d7e6fc; --muted: #5b6790; color: var(--ink); font: 16px/1.6 'Segoe UI', Arial, sans-serif; max-width: 1150px; margin: auto; padding: 48px 24px 0; }
.btb * { box-sizing: border-box; }
.btb a { color: var(--blue); }
.btb .eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--blue); }
.btb h1 { color: var(--navy); font-size: clamp(36px, 5vw, 58px); line-height: 1.11; letter-spacing: -.045em; margin: 10px 0 18px; }
.btb .btb-lead { max-width: 880px; font-size: 20px; line-height: 1.55; margin: 0; color: #364374; }
.btb .btb-hero { display: grid; grid-template-columns: 1.23fr .77fr; gap: 30px; align-items: center; margin-bottom: 52px; }
.btb .hero-art { background: radial-gradient(circle at 50% 45%, #dcecff 0, #f4f9ff 63%); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 312px; display: flex; align-items: center; justify-content: center; }
.btb .core { width: 100%; display: grid; gap: 13px; text-align: center; }
.btb .node { padding: 13px; border: 1px solid #c5dcfa; border-radius: 12px; background: white; color: var(--navy); font-weight: 800; }
.btb .node.main { background: #0b3f9e; color: white; border-color: #0b3f9e; }
.btb .node small { display: block; font-size: 12px; font-weight: 400; color: color-mix(in srgb, currentColor 80%, transparent); }
.btb .arrow { color: var(--blue); font-size: 23px; line-height: 1; }
.btb .btb-section-title { font-size: 30px; letter-spacing: -.03em; color: var(--navy); margin: 0 0 9px; }
.btb .intro { margin: 0 0 24px; max-width: 840px; color: var(--muted); }
.btb section { margin-top: 52px; }
.btb .btb-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.btb .btb-card { border: 1px solid var(--line); border-radius: 16px; padding: 23px; background: #fff; box-shadow: 0 7px 22px #1b43800b; }
.btb .btb-card h3 { margin: 0 0 9px; color: var(--navy); font-size: 18px; }
.btb .btb-card p { margin: 0; color: var(--muted); font-size: 14px; }
.btb .number { font-size: 13px; color: var(--blue); font-weight: 900; letter-spacing: .08em; margin-bottom: 15px; }
.btb .team { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.btb .worker { padding: 18px 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--soft); min-height: 130px; }
.btb .worker strong { display: block; color: var(--navy); font-size: 17px; }
.btb .worker span { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.btb .manager { border: 1px solid #bcd7fb; background: #eaf3ff; border-radius: 15px; padding: 20px; display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: 17px 0; }
.btb .manager strong { color: var(--navy); font-size: 19px; }
.btb .manager p { margin: 4px 0 0; font-size: 14px; }
.btb .manager .label { font-size: 12px; color: var(--blue); font-weight: 800; letter-spacing: .1em; }
.btb .band { background: linear-gradient(110deg, #eef6ff, #f8fbff); border: 1px solid var(--line); border-radius: 18px; padding: 29px 30px; }
.btb .band p { margin: 0 0 10px; }
.btb .pill { display: inline-block; font-size: 11px; letter-spacing: .06em; font-weight: 800; color: #3864ad; background: #e6f1ff; border-radius: 99px; padding: 5px 11px; margin-bottom: 12px; }
.btb .research { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.btb .linkrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btb .linkrow a { text-decoration: none; background: #edf5ff; padding: 10px 15px; border: 1px solid #cfe1fc; border-radius: 9px; font-weight: 700; font-size: 13px; }
.btb .note { font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 48px; }
/* the mockup's line beneath its page ("footer" there) */
.btb .btb-foot { margin: 70px -24px 0; text-align: center; border-top: 1px solid var(--line); padding: 24px; color: var(--muted); font-size: 12px; }
/* the five style= attributes of the mockup, as classes */
.btb p.btb-s1 { color: var(--muted); margin-top: 20px; }
.btb .band strong.btb-s2 { color: var(--navy); font-size: 20px; }
.btb .band p.btb-s3 { margin: 9px 0 0; }
.btb .band strong.btb-s4 { color: var(--navy); }
.btb .band p.btb-s5 { margin-top: 10px; }
@media (max-width: 900px) {
  .btb .btb-hero, .btb .research { grid-template-columns: 1fr; }
  .btb .team { grid-template-columns: repeat(2, 1fr); }
  .btb .btb-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .btb { padding: 32px 18px 0; }
  .btb .btb-cards, .btb .team { grid-template-columns: 1fr; }
  .btb .manager { display: block; }
  .btb .hero-art { min-height: 280px; }
  .btb .btb-foot { margin: 32px -18px 0; }
}
/* the way on to the Dev Journal, beneath the approved design (the site's, not part of it) */
.btb-next { max-width: 60rem; margin: 1.5rem auto 2rem; padding: 0 1rem; }

@media (prefers-reduced-motion: reduce) {
  .card, .tile { transition: none; }
  .card:hover, .tile:hover { transform: none; }
}

@media print {
  .site-nav, .tabs, .on-this-page { display: none; }
  .tbs { border-style: dashed; }
}

/* ==== THE SCROLLING HOME PAGE (the owner, 2026-10-16, MA-OWNER-INSTALLER-NASM-WEB-VISUAL-20261016-001 C: visual review) ====
   A five-part story - Record, Preserve, Connect with AI, Intelligent Outcomes, and the invitation - after the owner's
   reference MOCKUP_MarcusAssist_Scrolling_Homepage_v3_Review.html, in the site's OWN theme: its tokens, its type, its
   header and foot. Scoped to .story; no new palette. */
.page > .story { display: block; flex: 1 0 auto; width: 100%; }
.story-wrap { width: min(1180px, calc(100% - 56px)); margin: 0 auto; }
.story p { margin: 0.8rem 0; }
.story-eyebrow, .story-num { margin: 0; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; }
.story-accent { color: var(--blue); }
.story-hero { display: flex; align-items: center; min-height: 560px; background: linear-gradient(145deg, var(--page), var(--card)); border-bottom: 1px solid var(--card-line); }
.story-hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 48px; align-items: center; padding: 48px 0; }
.story-hero h1 { margin: 18px 0; color: var(--navy); font-size: clamp(40px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.04em; }
.story .story-lead { max-width: 42rem; color: var(--ink); font-size: 19px; line-height: 1.7; }
.story-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.story-center { justify-content: center; }
.story-btn { display: inline-block; padding: 12px 20px; color: #ffffff; background: var(--blue); border: 1px solid var(--blue); border-radius: 9px; font-weight: 700; font-size: 14px; text-decoration: none; }
.story-btn:hover { background: var(--deep); border-color: var(--deep); }
.story-btn.story-outline { color: var(--blue); background: var(--page); }
.story-btn.story-outline:hover { background: var(--card); }
.story-visual { padding: 26px; background: var(--page); border: 1px solid var(--sky); border-radius: 20px; box-shadow: 0 18px 48px var(--card-line); }
.story .story-screenhead { display: flex; align-items: center; gap: 7px; margin: 0 0 22px; }
.story-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }
.story-screen-title { margin-left: 12px; color: var(--text); font-size: 12px; }
.story-row { margin-bottom: 12px; padding: 15px 17px; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; font-size: 13px; }
.story-row strong { display: block; margin-bottom: 6px; color: var(--title); font-size: 15px; }
.story-row span { color: var(--text); }
.story .story-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; color: var(--navy); font-size: 12px; }
.story-flow b { padding: 8px 12px; background: var(--card); border: 1px solid var(--sky); border-radius: 20px; }
.story-part { padding: 100px 0; background: var(--page); border-bottom: 1px solid var(--card-line); }
.story-part:nth-of-type(odd) { background: var(--card); }
.story-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.story-part h2 { margin: 14px 0; color: var(--navy); font-size: clamp(32px, 4vw, 50px); line-height: 1.14; letter-spacing: -0.03em; }
.story-part p { color: var(--ink); font-size: 17px; line-height: 1.75; }
.story-detail, .story-next { display: inline-block; margin: 6px 18px 0 0; font-size: 14px; font-weight: 700; }
.story-next { color: var(--text); }
.story-callout { margin: 18px 0; padding: 4px 18px; background: var(--page); border: 1px solid var(--sky); border-left: 5px solid var(--blue); border-radius: 12px; }
.story-tile { min-height: 300px; padding: 28px; background: var(--page); border: 1px solid var(--sky); border-radius: 20px; }
.story .story-small { margin: 0 0 12px; color: var(--text); font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; }
.story .story-ring { display: grid; place-items: center; height: 150px; margin: 0; }
.story-mic { display: grid; place-items: center; width: 95px; height: 95px; color: var(--navy); background: var(--card); border: 2px solid var(--blue); border-radius: 50%; font-size: 42px; }
.story .story-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 64px; margin: 8px 0; }
.story-wave i { width: 5px; background: var(--blue); border-radius: 4px; }
.story-wave .w1 { height: 18px; } .story-wave .w2 { height: 36px; } .story-wave .w3 { height: 23px; } .story-wave .w4 { height: 59px; } .story-wave .w5 { height: 32px; }
.story-wave .w6 { height: 48px; } .story-wave .w7 { height: 27px; } .story-wave .w8 { height: 42px; } .story-wave .w9 { height: 19px; }
.story .story-caption { color: var(--text); font-size: 13px; text-align: center; }
.story-history { display: grid; gap: 10px; }
.story-item { padding: 12px 16px; background: var(--card); border: 1px solid var(--sky); border-radius: 9px; }
.story-item b { display: block; color: var(--title); font-size: 14px; }
.story-item span { color: var(--text); font-size: 12px; }
.story .story-thread { margin: 0 0 0 16px; padding-left: 18px; color: var(--text); border-left: 2px solid var(--blue); font-size: 13px; }
.story-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.story-chip { padding: 7px 13px; color: var(--navy); background: var(--page); border: 1px solid var(--sky); border-radius: 24px; font-size: 12px; }
.story .story-ask { padding: 15px; color: var(--navy); background: var(--card); border: 1px solid var(--sky); border-radius: 12px; font-size: 14px; }
.story-answer { margin-top: 14px; padding: 4px 18px; background: var(--card); border: 1px solid var(--sky); border-radius: 12px; }
.story-answer p { font-size: 14px; line-height: 1.7; }
.story .story-sources { color: var(--text); font-size: 12px; }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.story-artifact { min-height: 150px; padding: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); border-radius: 13px; }
.story-artifact strong { display: block; min-height: 36px; color: var(--title); font-size: 14px; }
.story .art-bars { display: flex; align-items: flex-end; gap: 10px; height: 70px; margin: 0; padding: 0 12px; border-bottom: 2px solid var(--sky); }
.art-bars i { flex: 1; background: var(--blue); border-radius: 4px 4px 0 0; }
.art-bars i:nth-child(2n) { background: var(--sky); }
.art-bars .b1 { height: 34%; } .art-bars .b2 { height: 62%; } .art-bars .b3 { height: 44%; } .art-bars .b4 { height: 84%; } .art-bars .b5 { height: 72%; }
.art-flow { color: var(--blue); font-size: 14px; text-align: center; }
.story .art-flow p { margin: 2px 0; }
.art-flow span { display: inline-block; padding: 4px 9px; color: var(--navy); background: var(--page); border: 1px solid var(--sky); border-radius: 6px; font-size: 11px; }
.story .art-nodes { display: flex; justify-content: space-around; }
.art-report { display: grid; gap: 7px; padding: 10px; background: var(--page); border: 1px solid var(--card-line); }
.art-report b { color: var(--navy); font-size: 11px; }
.art-report i { width: 85%; height: 5px; background: var(--sky); border-radius: 3px; }
.art-report i:nth-of-type(2) { width: 65%; }
.art-report small { color: var(--text); font-size: 10px; }
.story .art-line { display: flex; align-items: center; justify-content: space-around; height: 76px; margin: 0; padding: 0 4%; background: linear-gradient(var(--sky), var(--sky)) center / 92% 4px no-repeat; }
/* (v4: the timeline drawn whole inside its tile - four decisions on a line, ticks alternately above and below) */
.art-line span { position: relative; width: 14px; height: 14px; background: var(--blue); border-radius: 50%; }
.art-line span::before { content: ""; position: absolute; left: 50%; width: 1.5px; height: 9px; background: var(--text); transform: translateX(-50%); }
.art-line span:nth-child(odd)::before { bottom: calc(100% + 5px); }
.art-line span:nth-child(even)::before { top: calc(100% + 5px); }
.story-closing { padding: 110px 0 100px; text-align: center; background: var(--card); }
.story-closing h2 { max-width: 870px; margin: 14px auto 22px; color: var(--navy); font-size: clamp(36px, 5.2vw, 64px); line-height: 1.1; letter-spacing: -0.035em; }
.story-closing p { max-width: 760px; margin: 0 auto 26px; color: var(--ink); font-size: 18px; line-height: 1.8; }
@container (max-width: 899px) {
  .story-hero-grid, .story-split { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .story-reverse .story-tile { order: 2; }
  .story-part { padding: 70px 0; }
}
@container (max-width: 519px) {
  .story-wrap { width: calc(100% - 36px); }
  .story-gallery { gap: 9px; }
  .story-artifact { padding: 11px; min-height: 128px; }
}
/* ==== DEV JOURNAL (the owner, 2026-10-16, MA-OWNER-DEV-JOURNAL-SITE-20261016-002): a dated vertical timeline in the site's
   theme; one card per milestone, each with its label - Accepted, Demonstrated, Planned */
.doc p.btb-entry { margin-top: 0.8rem; font-weight: 600; }
.dj-legend { display: grid; gap: 0.4rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.doc .dj-legend li { margin: 0; }
.dj-label { display: inline-block; min-width: 7.5rem; margin-right: 0.5rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.85rem; font-weight: 700; text-align: center; }
.dj-label.dj-accepted, .dj-accepted .dj-label { color: #ffffff; background: var(--blue); }
.dj-label.dj-demonstrated, .dj-demonstrated .dj-label { color: var(--navy); background: #dcecff; }
.dj-label.dj-planned, .dj-planned .dj-label { color: #254b78; background: #e6f1ff; }
.dj-timeline { position: relative; margin: 1rem 0 0; padding: 0 0 0 1.6rem; list-style: none; border-left: 3px solid var(--card-line); }
.doc .dj-timeline li.dj-entry { position: relative; margin: 0 0 1rem; padding: 0.7rem 1rem 0.8rem; background: #ffffff; border: 1.5px solid var(--card-line); border-radius: 12px; }
.dj-entry::before { content: ""; position: absolute; left: calc(-1.6rem - 9px); top: 1rem; width: 13px; height: 13px; background: var(--blue); border: 3px solid #ffffff; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--blue); }
.dj-planned::before { background: #e6f1ff; box-shadow: 0 0 0 1.5px #254b78; }
.doc p.dj-date { margin: 0 0 0.2rem; color: var(--navy); font-size: 0.85rem; font-weight: 700; }
.doc .dj-entry p.dj-label { margin: 0 0 0.3rem; }
.doc .dj-entry h3 { margin: 0.1rem 0 0.25rem; }
.doc p.dj-text { margin: 0; }
