/* diverseconnect.app — DiverseConnect's own look (dark theme, platinum, stipple desktop), used
   sparingly. Colors and shapes come from output/DiverseConnect-v10-OCR.html. The only color is
   the window lights inside real screenshots; everything else is gray.
   Zlytrix (2026-11-27): lots of empty space, varied layouts, few boxes. Real screenshots carry
   the app's look; the page itself stays open. */

:root {
  --bg-desktop:      #252525;
  --bg-deep:         #1d1d1d;
  --bg-band:         #2a2a2a;
  --bg-surface-1:    #2e2e2e;
  --bg-surface-2:    #262626;
  --bg-surface-3:    #3a3a3a;
  --bg-surface-4:    #444444;
  --bg-menubar:      rgba(30, 30, 30, 0.82);
  --stipple-dot:     rgba(255, 255, 255, 0.055);
  --stipple-dot-2:   rgba(0, 0, 0, 0.22);
  --border-subtle:   rgba(255, 255, 255, 0.06);
  --border-strong:   rgba(255, 255, 255, 0.13);
  --border-highlight:rgba(255, 255, 255, 0.05);
  --text-primary:    rgba(255, 255, 255, 0.92);
  --text-secondary:  rgba(255, 255, 255, 0.62);
  /* Small gray labels: bright enough to read (4.5:1 on the desktop, bands and footer) */
  --text-tertiary:   rgba(255, 255, 255, 0.48);
  /* The app's old tertiary gray, for things that aren't words (dots, dividers) */
  --text-faint:      rgba(255, 255, 255, 0.34);
  --text-titlebar:   rgba(255, 255, 255, 0.78);
  --accent:          rgba(255, 255, 255, 0.10);
  --accent-strong:   rgba(255, 255, 255, 0.20);
  --shadow-window:
    0 24px 56px rgba(0,0,0,0.6),
    0 6px 16px rgba(0,0,0,0.42),
    0 0 0 1px rgba(0,0,0,0.45),
    0 0 0 1.5px rgba(255,255,255,0.08);
  --titlebar-gradient: linear-gradient(180deg, #4a4a4a 0%, #3e3e3e 50%, #353535 100%);
  --tl-red:    #ff5f57;
  --tl-yellow: #febc2e;
  --tl-green:  #28c840;
  --font-ui:    -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Cantarell, "Segoe UI", sans-serif;
  --font-mono:  ui-monospace, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  --menubar-h: 54px;
  --radius-md: 6px;
  --radius-window: 8px;
  --page: 1120px;
  --gap: clamp(80px, 6vw + 56px, 144px);   /* space between sections: 80 on phones, ~142 at 1440 */

  /* Type scale: every page uses these sizes, so headings line up from page to page */
  --fs-eyebrow: 12px;                                 /* small all-caps label over a heading */
  --fs-small:   14px;                                 /* captions, footer, small print */
  --fs-body:    16px;
  --fs-lede:    clamp(17px, 0.28vw + 16px, 20px);     /* the line of text under a heading */
  --fs-h3:      18px;
  --fs-h2:      clamp(30px, 2.6vw + 18px, 44px);
  --fs-h1:      clamp(40px, 4.4vw + 16px, 72px);
  --fs-display: clamp(46px, 8.6vw, 96px);             /* Home's big headline */
  --fs-h2-guide: clamp(24px, 1vw + 17px, 30px);       /* headings inside long pages (Help, the Apps groups, the .dc pages) */

  /* Spacing rhythm inside a heading block, and around it */
  --space-eyebrow: 18px;                              /* eyebrow → heading */
  --space-lede:    22px;                              /* heading → lede */
  --space-actions: 36px;                              /* text → its buttons */
  --space-content: clamp(44px, 3vw + 33px, 72px);     /* heading block → what it introduces */
  --measure:       66ch;                              /* longest comfortable line of running text */

  /* Motion */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);        /* quick start, long soft landing: rises */
  --ease-push:  cubic-bezier(0.32, 0.72, 0, 1);       /* pages sliding */
  --ease-press: cubic-bezier(0.3, 0, 0.2, 1);         /* hover and press on controls */
  --dur-rise:   0.9s;
  --dur-slide:  0.5s;
  --rise:       28px;                                 /* how far things rise into place */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: calc(var(--menubar-h) + 24px); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-ui);
  font-size: 16px; line-height: 1.6; letter-spacing: 0.003em;
  color: var(--text-primary);
  background-color: var(--bg-desktop);
  background-image:
    radial-gradient(circle at 50% 50%, var(--stipple-dot) 0.9px, transparent 1.2px),
    radial-gradient(circle at 50% 50%, var(--stipple-dot-2) 0.7px, transparent 1px);
  background-size: 5px 5px, 5px 5px;
  background-position: 0 0, 2.5px 2.5px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  min-height: 100vh; display: flex; flex-direction: column;
}
::selection { background: var(--accent-strong); }
/* Links: a thin gray underline that turns white on hover */
a {
  color: inherit; text-decoration-thickness: 1px; text-decoration-color: rgba(255,255,255,0.32); text-underline-offset: 0.24em;
  transition: text-decoration-color 0.15s var(--ease-press), color 0.15s var(--ease-press);
}
a:hover { text-decoration-color: currentColor; }
/* A link inside gray running text is white, so it stands out from the words around it */
p a, li a, .callout a, .faq details > div a { color: var(--text-primary); }
img { display: block; max-width: 100%; height: auto; }
/* One focus ring for everything you can tab to: a clear white line just outside it, following its own corners */
:focus-visible { outline: 2px solid rgba(255,255,255,0.82); outline-offset: 3px; }
a:not([class]):focus-visible { border-radius: 3px; }
main { flex: 1; width: 100%; }
main:focus { outline: none; }   /* the skip link moves focus here; no ring around the whole page */

/* Skip link: out of sight above the menu bar until you press Tab */
a.skip-link { position: fixed; top: 9px; left: 12px; z-index: 300; transform: translateY(-200%); }
a.skip-link:focus, a.skip-link:focus-visible { transform: none; }

/* ---------- Menu bar (the site's navigation, same as the app's) ---------- */
.menubar {
  position: sticky; top: 0; z-index: 100;
  height: var(--menubar-h);
  display: flex; align-items: center; padding: 0 18px;
  background: var(--bg-menubar);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
}
.menu-system {
  display: flex; align-items: center; height: 36px; padding: 0 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em;
  text-decoration: none; color: var(--text-primary); border-radius: 4px;
}
.glyph {
  display: inline-block; width: 11px; height: 11px; margin-right: 9px; flex-shrink: 0;
  background: var(--text-primary); border-radius: 50%;
  box-shadow: 0 0 0 2px #1e1e1e, 0 0 0 3px var(--text-primary);
}
.menu-items { display: flex; align-items: center; height: 100%; margin-left: 4px; }
/* Too narrow for every link: they slide sideways (menubar.js adds the soft edges and wheel sliding) */
.menu-items { flex: 0 1 auto; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.menu-items::-webkit-scrollbar { display: none; }
.menu-items .menu-item, .menu-system, .menu-right { flex-shrink: 0; white-space: nowrap; }
.menu-items.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
.menu-items.more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px); mask-image: linear-gradient(to right, transparent, #000 44px); }
.menu-items.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.menu-item {
  height: 36px; display: flex; align-items: center; padding: 0 13px; border-radius: 6px;
  text-decoration: none; color: var(--text-primary); transition: background 0.08s ease;
}
.menu-item:hover, .menu-system:hover { background: var(--accent); }
.menu-item.is-current, .menu-item:active, .menu-system:active { background: var(--accent-strong); }
/* Focus rings sit inside the menu bar's items, so the bar's edges never cut them off */
.menubar .menu-item:focus-visible, .menubar .menu-system:focus-visible { outline-offset: -2px; }
.menu-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.menu-right .menu-item { color: var(--text-secondary); }
.menu-right .menu-item:hover, .menu-right .menu-item.is-current { color: var(--text-primary); }
.menubar .menu-buy { min-height: 34px; padding: 5px 16px; font-size: 13.5px; }

/* Once the page scrolls under it, a soft shadow lifts the bar off the page. Scroll-driven, no script;
   browsers without it, or with reduced motion on, simply keep the flat bar. */
.menubar::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,0.32), transparent); opacity: 0; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .menubar::after { animation: dc-fade-in linear both; animation-timeline: scroll(root); animation-range: 0 96px; }
  }
}
@keyframes dc-fade-in { to { opacity: 1; } }

/* "Pages" on phones and narrow windows: drawn like the app's own drop-down menus */
.menu-fold { display: none; position: relative; align-items: center; height: 100%; }
.menu-fold summary { list-style: none; cursor: pointer; gap: 8px; -webkit-tap-highlight-color: transparent; }
.menu-fold summary::-webkit-details-marker { display: none; }
.menu-fold summary::after { content: ""; width: 6px; height: 6px; margin-top: -3px; opacity: 0.65;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.18s var(--ease-press); }
.menu-fold[open] summary { background: var(--accent-strong); }
.menu-fold[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.menu-fold-list {
  position: absolute; z-index: 1; top: calc(100% - 6px); left: 0; min-width: 220px;
  display: flex; flex-direction: column; padding: 5px;
  background: var(--bg-surface-2); border: 1px solid var(--border-strong); border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.35);
  transform-origin: top left;
}
.menu-fold-list a { display: flex; align-items: center; min-height: 38px; padding: 0 12px; border-radius: 5px; text-decoration: none; }
.menu-fold-list a:hover, .menu-fold-list a.is-current { background: var(--accent-strong); }
.menu-fold-list a:focus-visible { outline-offset: -2px; }
@media (prefers-reduced-motion: no-preference) {
  .menu-fold[open] .menu-fold-list { animation: dc-drop 0.18s var(--ease-out) both; }
}
@keyframes dc-drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
@media (max-width: 860px) {
  .menu-items { display: none; }
  .menu-fold { display: flex; }
  .menu-right .menu-item:not(.menu-buy) { display: none; }
}
/* On phones the menu opens toward the middle of the screen (it used to run off the right edge), with taller rows for thumbs */
@media (max-width: 560px) {
  .menu-fold-list { left: auto; right: -2px; transform-origin: top right; }
  .menu-fold-list a { min-height: 44px; font-size: 15px; }
  /* Tighter side spacing so logo, Pages and Buy fit a 375px phone without running off */
  .menubar { padding: 0 10px; }
  .menubar .menu-system { padding: 0 9px; }
  .menu-fold summary { padding: 0 10px 0 11px; }
  .menu-right { gap: 4px; }
  .menubar .menu-buy { padding: 5px 14px; }
}

/* ---------- Sections and type ---------- */
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.section { padding: var(--gap) 0; }
.section + .section { border-top: 1px solid var(--border-subtle); }
.band { background: var(--bg-band); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.band.deep { background: var(--bg-deep); }
.band + .section, .section.band + .section { border-top: none; }
/* Eyebrow → heading → lede → buttons always keep the same steps (the --space-* tokens) */
.eyebrow {
  display: block; margin-bottom: var(--space-eyebrow);
  font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-tertiary);
}
/* Headings break into even lines; paragraphs avoid a lone last word */
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p, li, figcaption, summary { text-wrap: pretty; }
h1 { font-weight: 700; font-size: var(--fs-h1); line-height: 1.03; letter-spacing: -0.03em; }
h2 { font-weight: 700; font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.022em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.lede { margin-top: var(--space-lede); font-size: var(--fs-lede); line-height: 1.55; color: var(--text-secondary); max-width: 32em; }
h1 + .lede { margin-top: calc(var(--space-lede) + 4px); }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .lede, .center .measure { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-secondary); }
.small { font-size: var(--fs-small); }
p + p { margin-top: 12px; }
.mt { margin-top: 16px; }
.mt-lg { margin-top: 56px; }
/* Inline code: a small raised label, like a key name */
code { font-family: var(--font-mono); font-size: 0.86em; color: var(--text-primary); background: rgba(255,255,255,0.06); border: 1px solid var(--border-subtle); border-radius: 5px; padding: 0.1em 0.4em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
pre code { font-size: inherit; color: inherit; background: none; border: 0; border-radius: 0; padding: 0; }
/* The top of every page but Home: less space above on phones, where the screen is short */
.page-top { padding: clamp(56px, 3.8vw + 42px, 96px) 0 8px; }
.page-top + .section { border-top: none; padding-top: 64px; }

/* A small all-caps line, like "NO INTERNET · NO ACCOUNTS · NO ADS". */
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
.center .trust { justify-content: center; }
.trust span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 9px; background: var(--text-faint); vertical-align: 1px; }

/* ---------- Buttons: the app's platinum buttons, made to feel pressable ---------- */
/* Raised face: light along the top edge, a dark lip along the bottom, a small shadow under it */
.ui-button {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 20px; min-height: 40px;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: 0.005em;
  color: var(--text-primary); text-decoration: none; white-space: nowrap;
  background: linear-gradient(180deg, var(--bg-surface-3), var(--bg-surface-2));
  border: 1px solid var(--border-strong); border-top-color: rgba(255,255,255,0.16); border-bottom-color: rgba(0,0,0,0.45);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 1px 0 rgba(0,0,0,0.3), 0 3px 8px -2px rgba(0,0,0,0.35);
  cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s var(--ease-press), box-shadow 0.12s var(--ease-press);
}
/* Hover lightens the face through a layer that fades in, so it eases instead of snapping */
.ui-button::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.035)); opacity: 0; transition: opacity 0.15s var(--ease-press); }
.ui-button:hover::before { opacity: 1; }
/* Pressed: the face sinks a pixel and the shadow moves inside, like the app's buttons */
.ui-button:active { transform: translateY(1px); transition-duration: 0.04s;
  background: linear-gradient(180deg, var(--bg-surface-2), #2b2b2b); box-shadow: inset 0 1px 3px rgba(0,0,0,0.45); }
.ui-button:active::before { opacity: 0; }
/* The main button on the page: the light platinum one */
.ui-button.primary {
  color: #1a1a1a; font-weight: 600;
  background: linear-gradient(180deg, #f4f4f4, #d3d3d3);
  border-color: rgba(255,255,255,0.55); border-top-color: rgba(255,255,255,0.9); border-bottom-color: rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,0.07), 0 1px 0 rgba(0,0,0,0.35), 0 4px 14px -4px rgba(0,0,0,0.55);
}
.ui-button.primary::before { background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.3)); }
.ui-button.primary:active { background: linear-gradient(180deg, #c9c9c9, #dcdcdc); box-shadow: inset 0 1px 3px rgba(0,0,0,0.3); }
/* In the menu bar, Buy is the app's own dark primary button */
.menubar .ui-button.primary {
  color: #fff; font-weight: 500;
  background: linear-gradient(180deg, #5a5a5a, #454545);
  border-color: rgba(255,255,255,0.2); border-top-color: rgba(255,255,255,0.28); border-bottom-color: rgba(0,0,0,0.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 2px rgba(0,0,0,0.3);
}
.menubar .ui-button.primary::before { background: rgba(255,255,255,0.08); }
.menubar .ui-button.primary:active { background: linear-gradient(180deg, #404040, #4a4a4a); box-shadow: inset 0 1px 2px rgba(0,0,0,0.4); }
/* A quiet button (the app's variant-quiet): no face until you point at it */
.ui-button.quiet { background: transparent; border-color: transparent; box-shadow: none; color: var(--text-secondary); }
.ui-button.quiet::before { background: var(--accent); }
.ui-button.quiet:hover { color: var(--text-primary); }
.ui-button.quiet:active { background: var(--accent-strong); box-shadow: none; }
.ui-button.big { font-size: 16px; padding: 12px 26px; min-height: 48px; }
.ui-button[aria-disabled="true"] { opacity: 0.55; cursor: default; pointer-events: none; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-actions); }
.center .buttons { justify-content: center; }
/* A text link with an arrow that nudges forward on hover */
.arrow-link { display: inline-block; margin-top: 20px; text-decoration: none; font-weight: 600; }
.arrow-link::after { content: "→"; display: inline-block; margin-left: 0.4em; transition: transform 0.25s var(--ease-out); }
.arrow-link:hover::after { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) { .ui-button, .ui-button::before, .arrow-link::after { transition: none; } .ui-button:active { transform: none; } }

/* ---------- Real screenshots ---------- */
.shot img { border-radius: var(--radius-window); box-shadow: var(--shadow-window); }
/* The hero shot runs wider than the words above it (up to 1280px, never less than the column), so the
   desktop itself is the first thing you see. --wide is that width; the margin centers it. */
.hero-shot { --wide: max(100%, min(1280px, 100vw - 64px)); width: var(--wide); margin: 80px 0 0 calc((100% - var(--wide)) / 2); transform-origin: 50% 0; }
.hero-shot img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-window); }
@media (max-width: 560px) { .hero-shot { --wide: calc(100% + 24px); margin-top: 56px; } .hero-shot img { border-radius: 7px; } }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 var(--gap); }
@media (max-width: 560px) { .hero { padding-top: 48px; } }
.hero h1 { font-size: var(--fs-display); }

/* ---------- Big numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px 28px; border-left: 1px solid var(--border-strong); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(42px, 5vw, 62px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.stat span { display: block; margin-top: 12px; color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
}

/* ---------- Text beside a screenshot ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split .shot { display: flex; justify-content: center; }
.split .shot img { max-height: 480px; width: auto; }
.split + .split { margin-top: var(--gap); }
.split .lede { font-size: 17.5px; }
.app-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
/* Chips: an app's icon and name, in a soft raised pill */
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 13px 4px 7px; border-radius: 999px;
  font-size: 13px; font-weight: 500; line-height: 1.2; color: var(--text-secondary);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--border-subtle); border-top-color: rgba(255,255,255,0.09);
}
.chip svg { width: 18px; height: 18px; color: var(--text-primary); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
}

/* ---------- Home's features: real clips, given room ---------- */
/* The clip takes the bigger side and reaches out past the page's edge into the margin (--reach, up to
   140px on wide screens), while the words stay lined up with the rest of the page. */
.features { --reach: clamp(0px, (100vw - var(--page)) / 2 - 20px, 140px); }
.split.feature { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(48px, 5vw, 80px); }
.split.feature > .clip { margin-right: calc(-1 * var(--reach)); }
.split.feature.flip > .clip { margin-right: 0; margin-left: calc(-1 * var(--reach)); }
.split.feature + .feature-stage, .feature-stage + .split.feature { margin-top: var(--gap); }
/* A clip already has a bit of DiverseConnect's desktop around its windows, so its edges fade into the
   page's desktop. The fade stays inside that margin of desktop and doesn't eat into the windows. */
.clip .demo-video { width: auto; height: auto; max-width: 100%; max-height: 600px; margin: 0 auto; border-radius: 0; box-shadow: none; background: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(to bottom, transparent, #000 3.5%, #000 96.5%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 3.5%, #000 96.5%, transparent), linear-gradient(to bottom, transparent, #000 3.5%, #000 96.5%, transparent);
  mask-composite: intersect; }
/* The stage: the label across the top, the heading and its words side by side, over a wide clip */
.stage-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 5vw, 80px); align-items: start; }
.stage-text .eyebrow { grid-column: 1 / -1; }
.stage-text .lede { margin-top: 0.3em; font-size: 17.5px; }
.feature-stage .clip { display: block; max-width: 1000px; margin: var(--space-content) auto 0; }
.feature-stage .clip .demo-video { width: 100%; max-height: none; }
@media (max-width: 860px) {
  .split.feature { grid-template-columns: 1fr; gap: 40px; }
  .split.feature > .clip, .split.feature.flip > .clip { margin: 0; }
  .stage-text { grid-template-columns: 1fr; }
  .stage-text .lede { margin-top: var(--space-lede); }
  .feature-stage .clip { margin-top: 40px; }
}
/* Phones: clips run edge to edge, the fades doing the work of a frame */
@media (max-width: 560px) {
  .split.feature > .clip, .split.feature.flip > .clip, .feature-stage .clip { margin-left: -24px; margin-right: -24px; }
  .clip .demo-video { width: 100%; max-height: none; }
}

/* ---------- Sideways gallery of screenshots ---------- */
/* Its heading on the left, and (with a mouse, once site.js is running) two arrow buttons on the right */
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-nav { display: flex; gap: 10px; flex-shrink: 0; }
.gallery-nav[hidden] { display: none; }
.gallery-nav .ui-button { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.gallery-nav svg { width: 16px; height: 16px; }
@media (hover: none), (max-width: 560px) { .gallery-nav { display: none; } }
.gallery {
  --edge: max(24px, calc((100vw - var(--page)) / 2 + 24px));   /* lines the first picture up with the heading */
  --fade: clamp(28px, 6vw, 96px);
  display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  margin-top: var(--space-content);
  padding: 16px var(--edge) 40px;
  scroll-padding-inline: var(--edge);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.25) transparent;
}
/* The ring sits just inside the strip, which runs edge to edge */
.gallery:focus-visible { outline-offset: -3px; border-radius: 4px; }
/* Soft edges where there's more to slide to (site.js sets these as it slides) */
.gallery.more-right { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(to right, #000 calc(100% - var(--fade)), transparent); }
.gallery.more-left { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade)); mask-image: linear-gradient(to right, transparent, #000 var(--fade)); }
.gallery.more-left.more-right { -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent); }
/* With a mouse you can grab it and drag it sideways */
@media (hover: hover) and (pointer: fine) { .gallery { cursor: grab; } }
.gallery.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
/* Each picture is as wide as itself; its caption wraps under it instead of stretching it */
.gallery figure { flex: 0 0 auto; width: min-content; scroll-snap-align: start; }
.gallery img { height: 380px; width: auto; max-width: none; border-radius: var(--radius-window); box-shadow: var(--shadow-window); -webkit-user-drag: none; }
.gallery figcaption { margin-top: 18px; font-size: 15px; line-height: 1.45; }
.gallery figcaption b { display: block; font-weight: 600; }
.gallery figcaption span { display: block; margin-top: 3px; color: var(--text-tertiary); font-size: 13.5px; }
@media (max-width: 860px) { .gallery { gap: 20px; } .gallery img { height: 260px; } .gallery figcaption { min-width: 200px; } }
/* Touch screens: each swipe lands on a picture */
@media (pointer: coarse) { .gallery { scroll-snap-type: x mandatory; } }

/* ---------- Apps sending things to each other ---------- */
.flow { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 10px 6px; margin-top: var(--space-content); }
.flow + .flow { margin-top: 56px; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 130px; text-align: center; font-size: 14px; }
.flow-step b { font-weight: 600; }
.flow-step .icon-tile { width: 64px; height: 64px; border-radius: 15px; }
.flow-step .icon-tile svg { width: 32px; height: 32px; }
.flow-step span { margin-top: -6px; font-size: 13px; line-height: 1.45; color: var(--text-tertiary); }
/* The arrow between two apps: a thin line with a point, level with the middle of the icons */
.flow-arrow { position: relative; width: 84px; margin-top: 31px; text-align: center; color: var(--text-tertiary);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.flow-arrow::before { content: ""; display: block; height: 1px; margin: 0 1px 10px 0; background: var(--text-faint); transform-origin: 0 50%; }
.flow-arrow::after { content: ""; position: absolute; top: -3px; right: 1.5px; width: 7px; height: 7px;
  border-top: 1px solid var(--text-faint); border-right: 1px solid var(--text-faint); transform: rotate(45deg); }
/* As the row rises in, each arrow draws itself from one app to the next */
.flow-arrow.reveal::before { transform: scaleX(0); }
.flow-arrow.reveal::after { opacity: 0; }
.flow-arrow.reveal.is-in::before { transform: none; transition: transform 0.6s var(--ease-out) calc(var(--reveal-delay, 0ms) + 140ms); }
.flow-arrow.reveal.is-in::after { opacity: 1; transition: opacity 0.3s ease calc(var(--reveal-delay, 0ms) + 440ms); }
/* Phones: the apps stack, with the arrows running down between them */
@media (max-width: 560px) {
  .flow { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; width: 250px; margin-left: auto; margin-right: auto; }
  .flow + .flow { margin-top: 48px; }
  .flow-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; row-gap: 1px; align-items: center; width: auto; text-align: left; }
  .flow-step .icon-tile { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 13px; }
  .flow-step .icon-tile svg { width: 28px; height: 28px; }
  .flow-step b { align-self: end; }
  .flow-step span { align-self: start; margin-top: 0; }
  .flow-arrow { display: flex; align-items: center; width: auto; height: 50px; margin: 6px 0; padding-left: 72px; text-align: left; }
  .flow-arrow::before { position: absolute; left: 27.5px; top: 2px; bottom: 2px; width: 1px; height: auto; margin: 0; transform-origin: 50% 0; }
  .flow-arrow::after { top: auto; bottom: 3px; right: auto; left: 24.5px; transform: rotate(135deg); }
  .flow-arrow.reveal::before { transform: scaleY(0); }
}

/* ---------- App icon tiles (the app's desktop icons) ---------- */
.icon-tile {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; border-radius: 12px;
  background: linear-gradient(180deg, var(--bg-surface-3), var(--bg-surface-2));
  border: 1px solid var(--border-strong); border-top-color: rgba(255,255,255,0.14);
  color: var(--text-primary);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 2px 4px rgba(0,0,0,0.4);
}
.icon-tile svg { width: 27px; height: 27px; }
/* Home's wall of every app icon: 14 to a row on wide screens, so 84 apps make a clean block of 6 rows
   (12 to a row on tablets, 6 or 7 on phones); a different count simply centers its last row */
.icon-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: calc(14 * 46px + 13 * 12px); margin: var(--space-content) auto 0; }
.icon-cloud .icon-tile { width: 46px; height: 46px; border-radius: 11px; }
.icon-cloud .icon-tile svg { width: 24px; height: 24px; }
@media (max-width: 560px) {
  .icon-cloud { gap: 10px; }
  .icon-cloud .icon-tile { width: 44px; height: 44px; border-radius: 10px; }
  .icon-cloud .icon-tile svg { width: 23px; height: 23px; }
}
/* Home's two arrow links come after a grid, so they keep the big gap (.arrow-link's own 20px is set after .mt-lg, and won) */
.arrow-link.mt-lg { margin-top: 56px; }

/* ---------- Plain columns ---------- */
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.cols.two { grid-template-columns: repeat(2, 1fr); gap: 72px; }
.cols.four { grid-template-columns: repeat(4, 1fr); gap: 40px; }
.col-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--text-primary); }
.cols h3 + p { margin-top: 8px; color: var(--text-secondary); }
.cols .tag { margin-top: 12px; }
@media (max-width: 860px) { .cols, .cols.two, .cols.four { grid-template-columns: 1fr; gap: 44px; } }

/* ---------- Numbered steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; counter-reset: step; margin-top: 56px; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 36px; }
.step { counter-increment: step; border-top: 1px solid var(--border-strong); padding-top: 22px; }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-tertiary); letter-spacing: 0.05em; }
.step h3 + p { margin-top: 8px; color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) { .steps, .steps.four { grid-template-columns: 1fr; gap: 32px; } }

/* Steps inside Help: circled numbers. */
.howto { list-style: none; counter-reset: how; margin: 18px 0; }
.howto li { counter-increment: how; position: relative; padding-left: 38px; color: var(--text-secondary); }
.howto li + li { margin-top: 12px; }
.howto li::before { content: counter(how); position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-primary); background: var(--bg-surface-3); border: 1px solid var(--border-strong); }
.howto strong, .doc strong { color: var(--text-primary); font-weight: 600; }

/* ---------- Questions (open and close with no script) ---------- */
.faq { max-width: 780px; margin: var(--space-content) auto 0; }
.faq details { border-bottom: 1px solid var(--border-strong); }
.faq details:first-child { border-top: 1px solid var(--border-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
/* The chevron turns over (a half turn) as the answer opens, and brightens under the pointer */
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--text-secondary); border-bottom: 2px solid var(--text-secondary); transform: rotate(45deg);
  transition: transform 0.35s var(--ease-out), border-color 0.15s var(--ease-press); }
.faq summary:hover::after { border-color: var(--text-primary); }
.faq details[open] summary::after { transform: translateY(5px) rotate(225deg); }
.faq details > div { padding: 0 40px 24px 0; color: var(--text-secondary); }
/* Answers slide open instead of snapping, where the browser can animate a <details> (no script either way) */
@supports selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details { interpolate-size: allow-keywords; }
    .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- Checks ---------- */
.checks { list-style: none; }
.checks li { position: relative; padding-left: 28px; }
.checks li + li { margin-top: 12px; }
.checks li::before { content: ""; position: absolute; left: 3px; top: 0.5em; width: 10px; height: 5px;
  border-left: 2px solid var(--text-primary); border-bottom: 2px solid var(--text-primary); transform: rotate(-45deg); }
.checks.two { columns: 2; column-gap: 56px; }
.checks.two li { break-inside: avoid; margin: 0 0 14px; }
@media (max-width: 860px) { .checks.two { columns: 1; } }

/* ---------- Pills ---------- */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  background: var(--accent); border: 1px solid var(--border-strong); color: var(--text-secondary); white-space: nowrap; }
.tag.on { background: var(--text-primary); color: #1d1d1d; border-color: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
/* The Apps page's group pills: a name and how many apps in it match */
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 13px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 500; line-height: 1; white-space: nowrap;
  color: var(--text-secondary); background: rgba(255,255,255,0.04); border: 1px solid var(--border-subtle);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s var(--ease-press), color 0.15s var(--ease-press), border-color 0.15s var(--ease-press), opacity 0.2s var(--ease-press); }
.pill-count { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-tertiary); transition: color 0.15s var(--ease-press); }
.pill:hover { color: var(--text-primary); background: var(--accent); }
.pill:active { background: var(--accent-strong); }
.pill.is-on { color: var(--text-primary); background: var(--accent-strong); border-color: var(--border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }
.pill.is-on .pill-count { color: var(--text-secondary); }
.pill.is-empty:not(.is-on) { opacity: 0.45; }   /* nothing in that group matches the search */
@media (prefers-reduced-motion: reduce) { .pill, .pill-count { transition: none; } }

/* ---------- Rows (a plain table) ---------- */
/* The rows share one set of columns (subgrid), so every description starts on the same line however
   wide each row's tags are; the tags line up on the right. */
.rows { border-top: 1px solid var(--border-strong); margin-top: 48px; }
.row { display: grid; grid-template-columns: 1fr 1.8fr auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--border-subtle); }
@supports (grid-template-columns: subgrid) {
  .rows { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) auto; column-gap: 28px; }
  .row { grid-column: 1 / -1; grid-template-columns: subgrid; }
}
.row > :last-child { justify-self: end; }
.row h3 { display: flex; align-items: center; gap: 16px; }
.row h3 svg { width: 30px; height: 30px; flex-shrink: 0; }
.row p { color: var(--text-secondary); }
.row-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
@media (max-width: 860px) {
  .rows { display: block; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row > :last-child { justify-self: start; margin-top: 6px; }   /* a tag keeps its own width instead of running across the phone */
  .row-tags { justify-content: flex-start; }
}

/* ---------- Real code ---------- */
.codeblock { border-radius: var(--radius-window); overflow: hidden; box-shadow: var(--shadow-window); background: #1b1b1b; }
.codeblock-head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; font-family: var(--font-mono); font-size: 12px;
  color: var(--text-tertiary); background: var(--bg-surface-1); border-bottom: 1px solid var(--border-subtle); }
.codeblock pre { margin: 0; padding: 18px 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.84); }
.codeblock .c { color: var(--text-tertiary); }

/* ---------- Buy: one big price ---------- */
/* The page's h1 holds its label and the price. The price keeps its own size on purpose: it's the one
   number the page is about, bigger than any heading. */
.buy-title { display: block; }
.buy-title .eyebrow { margin-bottom: var(--space-eyebrow); }
.price { display: block; font-family: var(--font-display); font-size: clamp(104px, 15vw, 176px); font-weight: 700; letter-spacing: -0.055em; line-height: 0.92; }
.price-note { margin-top: 18px; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); }
.page-top.buy-top { padding-bottom: 0; }
.page-top + .section.buy-get { border-top: none; padding-top: calc(var(--gap) * 0.85); }
/* What you get: the real dock, then the list under it */
.buy-dock { max-width: 980px; margin: var(--space-content) auto 0; }
.buy-dock img { width: 100%; }
.buy-checks { max-width: 720px; margin: 56px auto 0; }
@media (max-width: 860px) {
  /* Too narrow for the whole dock: it slides sideways, edge to edge, its ends fading out */
  .buy-dock { overflow-x: auto; margin-left: -24px; margin-right: -24px; padding: 0 24px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
  .buy-dock::-webkit-scrollbar { display: none; }
  .buy-dock img { width: auto; height: 64px; max-width: none; margin: 0 auto; }
  .buy-checks { margin-top: 44px; }
}

/* ---------- Apps page: a directory ---------- */
/* The search field and the group pills. On wider screens the bar stays under the menu bar while you
   scroll the list; its background is the page's own desktop, so it reads as the page until it's stuck. */
.app-bar { position: relative; z-index: 50; margin-top: 40px; padding: 14px 0;
  background-color: var(--bg-desktop);
  background-image: radial-gradient(circle at 50% 50%, var(--stipple-dot) 0.9px, transparent 1.2px), radial-gradient(circle at 50% 50%, var(--stipple-dot-2) 0.7px, transparent 1px);
  background-size: 5px 5px, 5px 5px; background-position: 0 0, 2.5px 2.5px;
  border-bottom: 1px solid var(--border-subtle); }
@media (min-width: 861px) { .app-bar { position: sticky; top: var(--menubar-h); } }
.app-tools { display: flex; align-items: center; gap: 14px 20px; }
.search-field { position: relative; display: flex; align-items: center; flex: 0 0 256px; }
.search-field svg { position: absolute; left: 13px; width: 16px; height: 16px; color: var(--text-tertiary); pointer-events: none; transition: color 0.15s var(--ease-press); }
.search {
  width: 100%; height: 40px;
  font: inherit; font-size: 15px; color: var(--text-primary);
  padding: 0 38px 0 38px; border-radius: var(--radius-md);
  background: var(--bg-surface-2); border: 1px solid var(--border-strong); border-top-color: rgba(0,0,0,0.4);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.04); outline: none;
  transition: border-color 0.15s var(--ease-press), background-color 0.15s var(--ease-press);
}
.search::placeholder { color: var(--text-tertiary); }
.search:hover { border-color: rgba(255,255,255,0.2); }
.search:focus { border-color: rgba(255,255,255,0.38); background-color: var(--bg-surface-1); }
.search:focus-visible { outline: 2px solid rgba(255,255,255,0.82); outline-offset: 2px; }
.search-field:focus-within svg { color: var(--text-primary); }
/* "/" jumps to the search: a small key label, only with a keyboard and only while the field is empty and unfocused */
.search-key { position: absolute; right: 10px; min-width: 20px; padding: 0 6px; border-radius: 4px; pointer-events: none;
  font: 600 11.5px/18px var(--font-mono); text-align: center; color: var(--text-tertiary);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong); border-bottom-color: rgba(0,0,0,0.5);
  transition: opacity 0.15s var(--ease-press); }
.search:focus ~ .search-key, .search:not(:placeholder-shown) ~ .search-key { opacity: 0; }
@media (hover: none), (pointer: coarse), (max-width: 560px) { .search-key { display: none; } .search { padding-right: 14px; } }
.app-tools .pills { flex: 1 1 auto; min-width: 0; gap: 7px; }
/* How many apps show, for screen readers (the pills show it on screen) */
.app-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Each group: its name in a column of its own that stays in view, its apps beside it */
.section.app-list { padding-top: 24px; }
.app-group { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 40px; padding: 48px 0; }
/* A line between groups, only where a shown group follows another shown one */
.app-group:not([hidden]) ~ .app-group:not([hidden]) { border-top: 1px solid var(--border-subtle); }
.app-group-name { position: sticky; top: calc(var(--menubar-h) + var(--app-bar-h, 70px) + 28px); align-self: start;
  display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-h2-guide); line-height: 1.1; }
.app-group-count { font-family: var(--font-ui); font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 4px 14px; margin-top: -10px; }
.app-card { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: var(--radius-md); transition: background 0.15s var(--ease-press); }
/* Search and the pills hide cards and groups with [hidden]; their own display would otherwise keep them showing */
.app-card[hidden], .app-group[hidden] { display: none; }
.app-card:hover { background: var(--accent); }
.app-card .icon-tile { width: 48px; height: 48px; border-radius: 11px; }
.app-card .icon-tile svg { width: 25px; height: 25px; }
.app-card h3 { font-size: 15px; }
.app-card p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.4; margin-top: 2px; }
/* Nothing matches: the Browser's own frown, and a way back to every app */
.no-match { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 0 32px; }
.no-match[hidden] { display: none; }
.no-match .frown { width: 84px; height: 84px; margin-bottom: 22px; color: var(--text-tertiary); opacity: 0.8; }
.no-match .frown svg { display: block; width: 100%; height: 100%; }
.no-match p { font-size: var(--fs-lede); color: var(--text-secondary); }
.no-match .ui-button { margin-top: 26px; }
@media (max-width: 860px) {
  .app-bar { margin-top: 32px; padding: 0 0 16px; background: none; border-bottom: 0; }
  .app-tools { flex-direction: column; align-items: stretch; }
  .search-field { flex: none; }
  .search { height: 44px; font-size: 16px; }   /* 16px keeps phones from zooming in on the field */
  /* The pills slide sideways in one line, edge to edge */
  .app-tools .pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px; padding: 2px 24px 4px; scrollbar-width: none; overscroll-behavior-x: contain;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 36px), transparent); }
  .app-tools .pills::-webkit-scrollbar { display: none; }
  .pill { min-height: 38px; }
  .app-group { grid-template-columns: 1fr; padding: 36px 0; }
  .app-group-name { position: static; flex-direction: row; align-items: baseline; gap: 12px; }
  .app-grid { margin-top: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ---------- What's New: a timeline ---------- */
/* One line runs down the page. Each version sits on it with a dot, and the version and its date stay in
   view (the dot riding down the line with them) while you read that update's notes. The newest dot is filled. */
.timeline { --rail: 236px; --release-pad: 0px; --release-top: 56px; --first-top: 40px; --dot-y: 14px; position: relative; }
.timeline::before { content: ""; position: absolute; left: var(--rail); top: calc(var(--first-top) + var(--dot-y) + 5px); bottom: 0; width: 1px; background: var(--border-strong);
  -webkit-mask-image: linear-gradient(#000 calc(100% - 200px), transparent); mask-image: linear-gradient(#000 calc(100% - 200px), transparent); }
.release { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 72px; padding: var(--release-top) 0 var(--release-top) var(--release-pad); }
.release:first-child { padding-top: var(--first-top); }
.release-when { position: sticky; top: calc(var(--menubar-h) + 32px); align-self: start; }
.release-when::after { content: ""; position: absolute; top: var(--dot-y); left: calc(var(--rail) - var(--release-pad) - 5px); width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg-desktop); border: 1.5px solid var(--text-faint); box-shadow: 0 0 0 6px var(--bg-desktop); }
.release.is-latest .release-when::after { background: var(--text-primary); border-color: var(--text-primary); }
.release-when h2 { font-size: clamp(28px, 1vw + 20px, 36px); line-height: 1.1; letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.release-when span:not(.tag) { display: block; margin-top: 8px; color: var(--text-tertiary); font-size: var(--fs-small); }
.release-when .tag { margin-top: 16px; }
.release-notes { max-width: var(--measure); padding-top: 6px; }
.release-part + .release-part { margin-top: 34px; }
/* Added, Changed, Removed: small labels, like the eyebrows */
.release-part h3 { margin-bottom: 14px; font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); }
.release ul { list-style: none; color: var(--text-secondary); }
.release li { position: relative; padding-left: 22px; }
.release li + li { margin-top: 10px; }
.release li::before { content: ""; position: absolute; left: 3px; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); }
.release li.sub { margin-left: 22px; }
.release li.sub::before { top: 0.8em; width: 8px; height: 1px; border-radius: 0; }
@media (max-width: 860px) {
  /* Phones: the line runs down the left edge, each version above its notes */
  .timeline { --rail: 5px; --release-pad: 34px; --release-top: 40px; --first-top: 24px; --dot-y: 10px; }
  .release { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .release-when { position: relative; top: auto; }
  .release-when .tag { margin-top: 12px; }
  .release-notes { padding-top: 0; }
}

/* ---------- Help: a guide with contents on the side ---------- */
.docs { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 72px; align-items: start; }
.docs-nav { position: sticky; top: calc(var(--menubar-h) + 32px); display: flex; flex-direction: column; font-size: 14px; }
.docs-nav .eyebrow { margin-bottom: 12px; }
.docs-nav a, .dc-toc a { padding: 6px 0 6px 14px; border-left: 1px solid var(--border-subtle); text-decoration: none; color: var(--text-secondary);
  transition: color 0.2s var(--ease-press), border-color 0.2s var(--ease-press); }
.docs-nav a:hover, .dc-toc a:hover { color: var(--text-primary); border-left-color: var(--text-faint); }
/* The section you're reading (site.js) */
.docs-nav a.is-current, .dc-toc a.is-current { color: var(--text-primary); border-left-color: var(--text-primary); }
.docs-nav a:focus-visible, .dc-toc a:focus-visible { outline-offset: -2px; border-radius: 3px; }
/* The guide's column holds its pictures; the words keep to a comfortable line length */
.doc { max-width: 760px; }
.doc section { padding: 56px 0; border-bottom: 1px solid var(--border-subtle); }
.doc section:first-child { padding-top: 0; }
.doc section:last-child { border-bottom: 0; }
.doc h2 { font-size: var(--fs-h2-guide); margin-bottom: 16px; }
.doc p, .doc .howto, .doc .callout { max-width: var(--measure); }
.doc p { color: var(--text-secondary); }
.doc .shot { margin-top: 32px; }
.doc .shot img { width: auto; max-width: 100%; max-height: 460px; }
.callout { margin-top: 22px; padding: 14px 18px; border-left: 2px solid var(--text-secondary); background: rgba(255,255,255,0.03); border-radius: 0 var(--radius-md) var(--radius-md) 0; color: var(--text-secondary); font-size: 15px; }
@media (max-width: 860px) {
  .docs { grid-template-columns: 1fr; gap: 40px; }
  /* Phones: the contents in two short columns instead of one long one */
  .docs-nav { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
  .docs-nav .eyebrow { grid-column: 1 / -1; }
  .doc section { padding: 44px 0; }
}

/* ---------- Platforms ---------- */
.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: var(--space-content); }
.platform { text-align: center; }
.platform svg { width: 46px; height: 46px; margin: 0 auto 16px; display: block; }
.platform h3 { font-size: 17px; }
.platform p { font-size: 13.5px; color: var(--text-tertiary); margin: 2px 0 12px; }
/* Two to a row; an odd one out at the end sits in the middle instead of under the left column */
@media (max-width: 860px) {
  .platforms { grid-template-columns: repeat(2, 1fr); gap: 44px 16px; }
  .platform:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- One window frame, used rarely ---------- */
.window { background: var(--bg-surface-1); border-radius: var(--radius-window); box-shadow: var(--shadow-window); overflow: hidden; }
.titlebar { height: 30px; display: flex; align-items: center; padding: 0 12px; position: relative;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.055) 0px, rgba(255,255,255,0.055) 1px, transparent 1px, transparent 3px), var(--titlebar-gradient);
  border-bottom: 1px solid var(--border-strong); }
.titlebar::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.13); }
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; position: relative; }
.lights i::after { content: ""; position: absolute; top: 1.5px; left: 2px; width: 4px; height: 2px; border-radius: 50%; background: rgba(255,255,255,0.5); }
.lights i:nth-child(1) { background: var(--tl-red); }
.lights i:nth-child(2) { background: var(--tl-yellow); }
.lights i:nth-child(3) { background: var(--tl-green); }
.titlebar-title { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; font-weight: 600; color: var(--text-titlebar); white-space: nowrap; }
.window-body { padding: 36px; }

/* ---------- Closing call ---------- */
.ending { padding: calc(var(--gap) * 1.1) 0; text-align: center; }
/* The closing sections are centered, so their line of text and their buttons are too */
.ending .lede { margin-left: auto; margin-right: auto; }
.ending .buttons { justify-content: center; }
.ending .glyph { width: 22px; height: 22px; margin: 0 auto 36px; display: block; box-shadow: 0 0 0 4px var(--bg-desktop), 0 0 0 6px var(--text-primary); }

/* ---------- 404: the Browser's own "nothing here" frown, centered in the first screen ---------- */
.page-top.not-found { display: flex; align-items: center; min-height: calc(100svh - var(--menubar-h)); padding: 48px 0 64px; }
.not-found .frown { width: 96px; height: 96px; margin: 0 auto 28px; color: var(--text-tertiary); opacity: 0.8; }
.not-found .frown svg { display: block; width: 100%; height: 100%; }
@media (max-width: 560px) { .page-top.not-found { min-height: 78svh; } .not-found .frown { width: 80px; height: 80px; } }

/* ---------- Footer ---------- */
footer { background: var(--bg-deep); border-top: 1px solid var(--border-subtle); font-size: var(--fs-small); color: var(--text-secondary); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)); gap: 40px; padding: clamp(64px, 3vw + 52px, 96px) 0 56px; }
/* The logo reuses the menu bar's look, but not its full-height stretch (that pushed the text below it out of the footer) */
.footer-grid .footer-brand .menu-system { display: inline-flex; height: auto; padding: 3px 0; margin-top: -4px; }   /* lines up with the column titles */
.footer-grid .footer-brand .menu-system:hover { background: none; }
.footer-brand .buttons { margin-top: 24px; }
.footer-grid .ui-button { display: inline-flex; padding: 9px 20px; }
.footer-brand p { margin-top: 14px; max-width: 300px; }
/* Column titles are h2s for screen readers, drawn as small eyebrow labels */
.footer-grid h2 { font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.4; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 14px; }
.footer-grid a:not(.ui-button):not(.menu-system) { display: block; width: fit-content; text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.footer-grid a:not(.ui-button):not(.menu-system):hover { color: var(--text-primary); }
.footer-small { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 22px 0 36px; border-top: 1px solid var(--border-subtle); font-size: 12.5px; color: var(--text-tertiary); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } .footer-brand { grid-column: 1 / -1; } }
/* Phones: two even columns of links (the email used to squeeze the second one), Buy across the bottom, taller rows for thumbs */
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-grid a:not(.ui-button):not(.menu-system) { padding: 6px 0; }
}
.email { font-size: clamp(22px, 3vw, 34px); overflow-wrap: anywhere; }

/* ---------- The dock (Home): DiverseConnect's real dock and its app groups ---------- */
.dock-shot { margin: var(--space-content) auto 0; max-width: 980px; }

/* Demo video (Home): as wide as the hero shot, so the real app gets the room */
.demo { --wide: max(100%, min(1280px, 100vw - 64px)); width: var(--wide); margin: var(--space-content) 0 0 calc((100% - var(--wide)) / 2); }
.demo-video { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: var(--shadow-window); background: #1e1e1e; }
.demo figcaption { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; color: var(--text-secondary); font-size: 14px; }
.demo figcaption span + span::before { content: "→"; margin-right: 12px; color: var(--text-faint); }
/* While the demo plays, the app it's in lights up in the line under it (site.js) */
.demo figcaption.is-live span { color: var(--text-tertiary); transition: color 0.4s var(--ease-press); }
.demo figcaption.is-live span.is-now { color: var(--text-primary); }
@media (max-width: 560px) { .demo { --wide: calc(100% + 32px); } .demo-video { border-radius: 7px; } }
.dock-shot img { width: 100%; }
.groups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; text-align: left; }
.group { display: block; padding: 6px 24px 10px; border-left: 1px solid var(--border-subtle); text-decoration: none; border-radius: 0; transition: background 0.1s; }
.group:first-child { border-left: none; }
.group:hover { background: rgba(255,255,255,0.03); }
.group b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.group h3 { margin-top: 8px; font-size: 16px; }
.group ul { list-style: none; margin-top: 16px; font-size: 14px; color: var(--text-secondary); }
.group li { display: flex; align-items: center; gap: 9px; padding: 4px 0; }
.group li svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--text-primary); }
.group li.more { color: var(--text-tertiary); padding-left: 26px; }
/* .group b (the big count) stays a fixed 40px on purpose: it has to fit five across the page */
@media (max-width: 860px) {
  /* Too narrow for the whole dock: it slides sideways, edge to edge, its ends fading out */
  .dock-shot { overflow-x: auto; margin-left: -24px; margin-right: -24px; padding: 0 24px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
  .dock-shot::-webkit-scrollbar { display: none; }
  .dock-shot img { width: auto; height: 64px; max-width: none; margin: 0 auto; }
  .groups { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
  .group:nth-child(odd) { border-left: none; padding-left: 0; }
}

/* ---------- The wall (Safety): your computer, cut off from the internet ---------- */
.wall { display: grid; grid-template-columns: 1.2fr 170px 1fr; align-items: center; margin-top: var(--space-content); }
/* Open sides, no boxes: the dashed line and its cross are the wall */
.wall-side { padding: 8px 12px; text-align: center; }
.wall-side.away { opacity: 0.5; }
.wall-side .eyebrow { margin-bottom: 20px; }
.wall-side p { margin-top: 18px; font-size: 14.5px; color: var(--text-secondary); }
.wall-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.wall-icons .icon-tile { width: 44px; height: 44px; border-radius: 10px; }
.wall-icons .icon-tile svg { width: 23px; height: 23px; }
.wall-side.away svg.big { width: 64px; height: 64px; margin: 0 auto; display: block; }
.wall-gap { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.wall-gap::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--border-strong); }
.wall-x { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--bg-desktop); border: 2px solid var(--text-primary); font-size: 22px; font-weight: 700;
  box-shadow: 0 0 0 8px var(--bg-desktop); }
.wall-gap small { position: absolute; top: calc(50% + 34px); left: 0; right: 0; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); }
@media (max-width: 860px) {
  .wall { grid-template-columns: 1fr; gap: 0; }
  .wall-gap { height: 150px; }
  .wall-gap small { top: auto; bottom: 6px; left: calc(50% + 34px); right: auto; text-align: left; transform: none; }
  .wall-gap::before { left: 50%; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 2px dashed var(--border-strong); }
}

/* ---------- Download: what's ready gets the room, what's coming waits in a row ---------- */
.dl-ready { --reach: clamp(0px, (100vw - var(--page)) / 2 - 20px, 140px); }
.page-top + .section.dl-ready { padding-top: 72px; }
.dl-feature { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(48px, 5vw, 80px); align-items: center; }
.dl-platform { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.dl-platform + .dl-platform { margin-top: 44px; }
.dl-glyph svg { display: block; width: 56px; height: 56px; margin-top: 2px; }
.dl-platform .lede { margin-top: 12px; }
.dl-platform .tag { margin-top: 18px; }
.dl-list .buttons { padding-left: 78px; }
/* The real app on its desktop, reaching past the page's edge like Home's clips */
.dl-shot { margin-right: calc(-1 * var(--reach)); }
.dl-shot img { width: 100%; border-radius: 10px; }
.dl-soon-section .eyebrow { margin-bottom: 0; }
.dl-soon { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 32px; margin-top: 28px; border-top: 1px solid var(--border-strong); }
.dl-later { padding-top: 32px; }
.dl-later svg { display: block; width: 36px; height: 36px; margin-bottom: 18px; color: var(--text-secondary); }
.dl-later p { margin: 4px 0 16px; font-size: var(--fs-small); color: var(--text-tertiary); }
@media (max-width: 860px) {
  .dl-feature { grid-template-columns: 1fr; gap: 48px; }
  .dl-shot { margin-right: 0; }
  .dl-soon { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .dl-later { padding-top: 28px; }
}
@media (max-width: 560px) {
  .dl-platform { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .dl-glyph svg { width: 44px; height: 44px; }
  .dl-list .buttons { padding-left: 0; }
  .dl-shot { margin-left: -12px; margin-right: -12px; }
  .dl-shot img { border-radius: 7px; }
}

/* ---------- Safety: the two locks, in the real code ---------- */
/* The label across the top, the heading and its words side by side, the code under them at full width
   (so its lines don't wrap), split into its two locks and numbered to match "First" and "Second". */
.locks-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(48px, 5vw, 80px); align-items: start; }
.locks-text .eyebrow { grid-column: 1 / -1; }
.locks-text .lede { margin-top: 0.3em; }
.locks-code { margin-top: var(--space-content); }
.lock { display: grid; grid-template-columns: 60px minmax(0, 1fr); }
.lock + .lock { border-top: 1px solid var(--border-subtle); }
.lock-n { justify-self: center; margin-top: 18px; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-primary); background: var(--bg-surface-3); border: 1px solid var(--border-strong); }
.codeblock.locks-code pre { padding: 20px 24px 22px 0; white-space: pre; overflow-wrap: normal; overflow-x: auto; font-size: 13px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
@media (max-width: 860px) {
  .locks-text { grid-template-columns: 1fr; }
  .locks-text .lede { margin-top: var(--space-lede); }
}
@media (max-width: 560px) {
  .locks-code { margin-left: -12px; margin-right: -12px; }
  .lock { grid-template-columns: 44px minmax(0, 1fr); }
  .codeblock.locks-code pre { font-size: 12px; padding-right: 16px; }
}

/* Check it yourself: the Browser picture takes the bigger side and reaches past the page's edge */
.safety-check { --reach: clamp(0px, (100vw - var(--page)) / 2 - 20px, 140px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.safety-check .shot { margin-left: calc(-1 * var(--reach)); }
.split.safety-check .shot img { width: 100%; max-height: none; }
@media (max-width: 860px) { .safety-check { grid-template-columns: 1fr; } .safety-check .shot { margin-left: 0; } }

/* ---------- Modules: two ways to turn one on, with "or" between them ---------- */
.mod-rows .row h3 .icon-tile { width: 46px; height: 46px; border-radius: 11px; }
.mod-rows .row h3 .icon-tile svg { width: 24px; height: 24px; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 56px; align-items: stretch; margin-top: var(--space-content); }
.ways-or { display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-family: var(--font-display); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); }
.ways-or::before, .ways-or::after { content: ""; flex: 1; width: 1px; background: var(--border-strong); }
.ways .howto { margin-bottom: 0; }
@media (max-width: 860px) {
  .ways { grid-template-columns: 1fr; gap: 36px; }
  .ways-or { flex-direction: row; }
  .ways-or::before, .ways-or::after { width: auto; height: 1px; }
}

/* ---------- Support: two ways to reach a person, side by side and centered ---------- */
.page-top + .section.support-reach { padding-top: 72px; }
.support-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
.support-ways > div { padding: 12px clamp(24px, 3vw, 48px); }
.support-ways .email { font-size: clamp(22px, 1.1vw + 12px, 28px); overflow-wrap: normal; }   /* breaks only at the @ (a <wbr> there) */
.support-ways > div + div { border-left: 1px solid var(--border-subtle); }
.support-ways .lede { margin-left: auto; margin-right: auto; max-width: 25em; }
@media (max-width: 860px) {
  .support-ways { grid-template-columns: 1fr; }
  .support-ways > div { padding: 0; }
  .support-ways > div + div { border-left: 0; border-top: 1px solid var(--border-subtle); margin-top: 48px; padding-top: 48px; }
}

/* ---------- about.dc, safety.dc, help.dc: DiverseConnect's own pages, word for word ---------- */
/* Long reading: one comfortable column, with the list of its sections beside it on wide screens. */
.dc-layout { display: grid; grid-template-columns: 200px minmax(0, 620px); column-gap: 80px; justify-content: center; }
.dc-layout > .dc-from, .dc-layout > .dc-article { grid-column: 2; }
.dc-top { padding-bottom: 0; }
.dc-top + .dc-read { padding-top: 28px; }
.dc-from { margin-bottom: 0; }
.dc-address { font-family: var(--font-mono); text-transform: none; letter-spacing: 0; color: var(--text-primary); }
.dc-toc { grid-column: 1; grid-row: 1; position: sticky; top: calc(var(--menubar-h) + 40px); align-self: start; display: flex; flex-direction: column;
  padding-top: 14px; font-size: 13.5px; line-height: 1.4;
  max-height: calc(100vh - var(--menubar-h) - 80px); overflow-y: auto; scrollbar-width: none; }
.dc-toc::-webkit-scrollbar { display: none; }
.dc-toc .eyebrow { margin-bottom: 12px; }
.dc-toc a { color: var(--text-tertiary); }
@media (max-width: 1000px) {
  .dc-layout { grid-template-columns: minmax(0, 640px); }
  .dc-layout > .dc-from, .dc-layout > .dc-article { grid-column: 1; }
  .dc-toc { display: none; }
}
/* safety.dc has its own contents at the top: the side list comes in once that has scrolled away */
@supports (timeline-scope: --a) {
  .dc-read:has(.site-safety-toc) { timeline-scope: --dc-own-toc; }
  .site-safety-toc { view-timeline: --dc-own-toc block; }
  .dc-read:has(.site-safety-toc) .dc-toc { animation: dc-toc-in linear both; animation-timeline: --dc-own-toc; animation-range: exit 40% exit 100%; }
}
@keyframes dc-toc-in { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }

.dc-article header p { margin-top: calc(var(--space-lede) + 4px); max-width: 32em; font-size: var(--fs-lede); line-height: 1.55; color: var(--text-secondary); }
.dc-article section { margin-top: clamp(56px, 2.4vw + 42px, 80px); }
.dc-article h2 { font-size: var(--fs-h2-guide); line-height: 1.15; margin-bottom: 18px; }
.dc-article h3 { margin: 36px 0 10px; font-size: var(--fs-h3); }
.dc-article p, .dc-article li { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.dc-article p + p { margin-top: 16px; }
.dc-article strong, .dc-article em { color: var(--text-primary); }
.dc-article ul { list-style: none; margin: 16px 0; }
.dc-article li { position: relative; padding-left: 22px; }
.dc-article li + li { margin-top: 12px; }
.dc-article li::before { content: ""; position: absolute; left: 3px; top: 0.74em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); }
/* Licenses open under a line, like the questions on the other pages */
.dc-article details { margin-top: 18px; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.dc-article details + details { margin-top: -1px; }
.dc-article details + p, .dc-article p + details { margin-top: 18px; }
.dc-article summary { display: flex; align-items: center; gap: 12px; padding: 12px 0; list-style: none; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.dc-article summary::-webkit-details-marker { display: none; }
.dc-article summary::before { content: ""; width: 7px; height: 7px; margin: 0 2px 0 3px; border-right: 1.5px solid var(--text-secondary); border-bottom: 1.5px solid var(--text-secondary);
  transform: rotate(-45deg); transition: transform 0.3s var(--ease-out); }
.dc-article details[open] summary::before { transform: rotate(45deg); }
@supports selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .dc-article details { interpolate-size: allow-keywords; }
    .dc-article details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
    .dc-article details[open]::details-content { block-size: auto; }
  }
}
@media (prefers-reduced-motion: reduce) { .dc-article summary::before { transition: none; } }
/* Code: the same dark panel as the Safety page's excerpt, its file name as a strip across the top */
.dc-article pre { margin: 18px 0 26px; padding: 18px 20px; overflow-x: auto; white-space: pre; font: 12.5px/1.7 var(--font-mono); color: rgba(255,255,255,0.84);
  background: #1b1b1b; border: 1px solid var(--border-subtle); border-radius: var(--radius-window); box-shadow: 0 14px 32px -16px rgba(0,0,0,0.7);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.2) transparent; }
.dc-article details pre { margin: 4px 0 18px; }
.dc-article pre.dc-license { white-space: pre-wrap; font-size: 12px; }
.dc-article .c { color: var(--text-tertiary); }
.dc-article .site-code-label { margin: 28px 0 0; padding: 9px 18px; font: 12px var(--font-mono); color: var(--text-tertiary);
  background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-bottom: 0; border-radius: var(--radius-window) var(--radius-window) 0 0; }
.dc-article .site-code-label + pre { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
/* Wide screens: code reaches out to the right of the text, so fewer lines need sliding */
@media (min-width: 1240px) { .dc-article pre, .dc-article .site-code-label { margin-right: -160px; } }
/* The title may run past the text column, so "About DiverseConnect" stays on one line */
@media (min-width: 1360px) { .dc-article header h1 { margin-right: -200px; } }
/* Tables: a strong line on top, light lines between rows, small labels for the columns */
.dc-article table { width: 100%; margin: 20px 0 26px; border-collapse: collapse; border-top: 1px solid var(--border-strong); font-size: 15px; line-height: 1.5; }
.dc-article th, .dc-article td { padding: 12px 16px 12px 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.dc-article th { padding-top: 14px; font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.4; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-tertiary); vertical-align: bottom; border-bottom-color: var(--border-strong); }
.dc-article td:first-child { width: 34%; font-weight: 600; color: var(--text-primary); }
.dc-article th:last-child, .dc-article td:last-child { padding-right: 0; }
.dc-article .site-help-table td:first-child { font: 13.5px/1.5 var(--font-mono); }
.dc-article .site-compare th:last-child { color: var(--text-secondary); }
.dc-article .site-compare td:last-child { color: var(--text-primary); }
.dc-article tr:last-child td { border-bottom: none; }
/* safety.dc's own contents: two columns of plain links between two lines */
.site-safety-toc { margin-top: 40px; padding: 14px 0; columns: 2; column-gap: 32px; border-top: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-subtle); }
.site-safety-toc a { display: block; padding: 6px 0; break-inside: avoid; font-size: 15px; color: var(--text-secondary); text-decoration: none; transition: color 0.15s var(--ease-press); }
.site-safety-toc a:hover { color: var(--text-primary); text-decoration: underline; }
.dc-article footer { margin-top: 96px; padding-top: 24px; background: none; border-top: 1px solid var(--border-subtle); text-align: center; }
.dc-article footer p { font-size: 14px; color: var(--text-tertiary); }
@media (max-width: 560px) {
  .site-safety-toc { columns: 1; }
  .dc-article p, .dc-article li { font-size: 16px; }
  /* Code runs edge to edge on phones, for the most room before it slides */
  .dc-article pre, .dc-article .site-code-label { margin-left: -24px; margin-right: -24px; border-radius: 0; border-left: 0; border-right: 0; }
  .dc-article .site-code-label + pre { border-radius: 0; }
  .dc-article pre { padding: 16px 24px; font-size: 12px; }
  .dc-article .site-help-table td:first-child { width: 46%; font-size: 12.5px; }
  /* Side by side, as rows: each row's subject on top, the two answers under it with their column's name */
  .dc-article .site-compare thead { display: none; }
  .dc-article .site-compare, .dc-article .site-compare tbody { display: block; }
  .dc-article .site-compare tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
  /* Each answer spans two rows that both columns share (subgrid), so the two answers start level even when one label wraps */
  .dc-article .site-compare td[data-label] { grid-row: 2 / span 2; display: grid; grid-template-rows: subgrid; align-items: start; }
  .dc-article .site-compare td[data-label]::before { align-self: end; }
  .dc-article .site-compare tr:last-child { border-bottom: 0; }
  .dc-article .site-compare td { display: block; width: auto; padding: 0; border: 0; font-size: 15px; }
  .dc-article .site-compare td:first-child { grid-column: 1 / -1; width: auto; margin-bottom: 10px; font-size: 16px; }
  .dc-article .site-compare td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-tertiary); }
}

/* ---------- Pages slide instead of jumping (slide.js picks the direction) ---------- */
@view-transition { navigation: auto; }
.menubar { view-transition-name: menubar; }   /* the menu bar stays put while the page slides */
/* The new page glides in fast and settles softly (--ease-push); the old one slides a third of the way
   and dims, so the new page reads as sliding over it. Back reverses both. */
::view-transition-group(root) { animation-duration: var(--dur-slide); animation-timing-function: var(--ease-push); }
::view-transition-old(root) { animation: dc-push-out var(--dur-slide) var(--ease-push) both; }
::view-transition-new(root) { animation: dc-push-in var(--dur-slide) var(--ease-push) both; }
html:active-view-transition-type(back)::view-transition-old(root) { z-index: 1; animation-name: dc-pop-out; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: dc-pop-in; }
/* The menu bar's highlight cross-fades over the same time as the slide */
::view-transition-old(menubar), ::view-transition-new(menubar) { animation-duration: calc(var(--dur-slide) * 0.6); }
@keyframes dc-push-out { to { transform: translateX(-30%); opacity: 0.35; } }
@keyframes dc-push-in { from { transform: translateX(100%); } }
@keyframes dc-pop-out { to { transform: translateX(100%); } }
@keyframes dc-pop-in { from { transform: translateX(-30%); opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- First screen: the top of each page rises in once as it loads ---------- */
/* Plain CSS, so it needs no script and can never leave anything hidden; with reduced motion it doesn't run.
   Each part (eyebrow, heading, lede, buttons, …) starts a beat after the one before. */
@media (prefers-reduced-motion: no-preference) {
  .page-top .wrap > *, .hero .wrap > * { animation: dc-load-rise 0.85s var(--ease-out) both; }
  .page-top .wrap > :nth-child(2), .hero .wrap > :nth-child(2) { animation-delay: 60ms; }
  .page-top .wrap > :nth-child(3), .hero .wrap > :nth-child(3) { animation-delay: 120ms; }
  .page-top .wrap > :nth-child(4), .hero .wrap > :nth-child(4) { animation-delay: 180ms; }
  .page-top .wrap > :nth-child(5), .hero .wrap > :nth-child(5) { animation-delay: 240ms; }
  .page-top .wrap > :nth-child(n+6), .hero .wrap > :nth-child(n+6) { animation-delay: 300ms; }
  /* Home's desktop shot (in place of the plain rise above): it comes up from lower down and settles
     to full size, a little slower than the words, so the first screen lands on it */
  .hero .wrap > .hero-shot { animation: dc-hero-shot 1.3s var(--ease-out) 240ms both; }
  /* Other pages' first screens that sit outside .page-top: the Apps search bar, the Download feature
     with its picture, and the heading of the .dc pages (with its list of sections fading in) */
  .app-tools > * { animation: dc-load-rise 0.85s var(--ease-out) 180ms both; }
  .app-tools > .pills { animation-delay: 240ms; }
  .dl-ready .dl-feature > * { animation: dc-load-rise 0.85s var(--ease-out) 240ms both; }
  .dl-ready .dl-feature > .dl-shot { animation: dc-hero-shot 1.3s var(--ease-out) 300ms both; }
  .dc-read article > header > * { animation: dc-load-rise 0.85s var(--ease-out) 60ms both; }
  .dc-read article > header > :nth-child(2) { animation-delay: 120ms; }
  .dc-read article > header > :nth-child(3) { animation-delay: 180ms; }
  .dc-toc { animation: dc-load-fade 0.9s ease 320ms both; }
}
@keyframes dc-load-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes dc-load-fade { from { opacity: 0; } }
@keyframes dc-hero-shot { from { opacity: 0; transform: translateY(64px) scale(0.965); } }

/* ---------- Rising into place on scroll (site.js adds .reveal, then .is-in when it's seen) ---------- */
/* Hiding is instant; only rising in is animated. The fade is gentle, the rise lands softly (--ease-out). */
.reveal { opacity: 0; transform: translateY(var(--rise)); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform var(--dur-rise) var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.icon-cloud .reveal { transform: translateY(16px) scale(0.86); }
.icon-cloud .reveal.is-in { transform: none; }

/* ---------- Home's clips settle into place as they scroll into view ---------- */
/* Scroll-driven, so it follows the scrolling exactly and needs no script: a clip comes up from a little
   lower and a little smaller, and reaches full size by the time it's well in view. Browsers without
   scroll-driven animations get site.js's plain rise-in instead (site.js leaves .settle to the CSS when
   the browser can do this). With reduced motion, nothing moves. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .settle { animation: dc-settle cubic-bezier(0.3, 0.6, 0.35, 1) both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .demo.settle { --settle-scale: 0.92; }
    /* The hero shot opens up to full size as you start to scroll */
    .hero-shot img { animation: dc-open linear both; animation-timeline: view(); animation-range: cover 0% cover 50%; }
  }
}
@keyframes dc-settle { from { opacity: 0.4; transform: translateY(60px) scale(var(--settle-scale, 0.95)); } }
@keyframes dc-open { from { transform: scale(0.95); } }

/* ---------- Home: three cards with moving diagrams of what DiverseConnect does (Zlytrix, 2026-11-28) ---------- */
.cols.promises { gap: 24px; }
.promise {
  background: var(--bg-surface-2); border: 1px solid var(--border-subtle); border-radius: 10px; overflow: hidden;
  box-shadow: inset 0 1px 0 var(--border-highlight), 0 20px 44px rgba(0, 0, 0, 0.28);
}
.promise-stage {
  background-color: var(--bg-desktop);
  background-image:
    radial-gradient(circle at 50% 50%, var(--stipple-dot) 0.9px, transparent 1.2px),
    radial-gradient(circle at 50% 50%, var(--stipple-dot-2) 0.7px, transparent 1px);
  background-size: 5px 5px, 5px 5px; background-position: 0 0, 2.5px 2.5px;
  border-bottom: 1px solid var(--border-subtle);
}
.promise-body { padding: 24px 26px 28px; }
.dg { display: block; width: 100%; height: auto; }
.dg text { font-family: var(--font-ui); font-size: 9px; fill: var(--text-secondary); }
.dg .dg-label { font-size: 8px; fill: var(--text-tertiary); }
.dg .dg-strong { font-weight: 600; fill: var(--text-primary); }
.dg-ln { fill: none; stroke: rgba(255, 255, 255, 0.78); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dg-dim { stroke: rgba(255, 255, 255, 0.26); }
.dg-panel { fill: var(--bg-surface-1); stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; }
.dg-bar { fill: var(--bg-surface-3); }
.dg-soft { fill: rgba(255, 255, 255, 0.2); }
.dg-solid { fill: rgba(255, 255, 255, 0.88); }
.dg-field { fill: var(--bg-surface-2); stroke: rgba(255, 255, 255, 0.18); }
.dg-tile { fill: var(--bg-surface-3); stroke: rgba(255, 255, 255, 0.12); }
.dg-btn { fill: #e6e6e6; }
.dg .dg-btn-text { fill: #1d1d1d; font-weight: 600; }
.dg-ad { fill: var(--bg-surface-3); stroke: rgba(255, 255, 255, 0.34); stroke-dasharray: 3 3; }
.dg-cursor { fill: #fff; stroke: #111; stroke-width: 0.8; stroke-linejoin: round; }
.dg-head, .d2-line.dg-head { fill: none; stroke: rgba(255, 255, 255, 0.85); stroke-width: 5; stroke-linecap: round; }
.dg-copy, .d2-line { fill: none; stroke: rgba(255, 255, 255, 0.3); stroke-width: 3; stroke-linecap: round; }
.d2-icon { color: var(--text-primary); }

/* The still frame (no script, reduced motion, or not yet in view): each one already tells its story */
.d1-pkt { fill: #fff; }
.d1-pkt.p1 { transform: translateX(42px); }
.d1-pkt.p2, .d1-pkt.p3, .d1-hit, .d1-in, .d1-ask, .d1-cursor, .d1-check { opacity: 0; }
.d1-hit { fill: none; stroke: #fff; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.d1-in { fill: #fff; }
.d1-check { stroke-width: 2.4; stroke-dasharray: 1; }
.d2-strike { stroke: #fff; stroke-width: 3; stroke-dasharray: 1; }
.d2-icon, .d2-win, .d2-cursor { opacity: 0; }
.d2-form, .d2-icon, .d2-win { transform-box: fill-box; transform-origin: center; }
.d2-line { transform-box: fill-box; transform-origin: left center; }
.d3-edge { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; opacity: 0; }
.d3-edge.r { opacity: 0.55; }
.d3-nag, .d3-ad2 { opacity: 0; }
.d3-ad, .d3-nag, .d3-ad2 { transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .dg.run * { animation-duration: 9s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
  .dg.held * { animation-play-state: paused; }
  /* 1. The wall */
  .dg.run .d1-pkt { animation-name: d1-pkt; }
  .dg.run .d1-hit { animation-name: d1-hit; }
  .dg.run .p2 { animation-delay: 1.2s; }
  .dg.run .p3 { animation-delay: 2.4s; }
  .dg.run .d1-ask { animation-name: d1-ask; }
  .dg.run .d1-cursor { animation-name: d1-cursor; }
  .dg.run .d1-yes { animation-name: d1-yes; }
  .dg.run .d1-shackle { animation-name: d1-shackle; }
  .dg.run .d1-gate-top { animation-name: d1-gate-top; }
  .dg.run .d1-gate-bottom { animation-name: d1-gate-bottom; }
  .dg.run .d1-in { animation-name: d1-in; }
  .dg.run .d1-check { animation-name: d1-check; }
  /* 2. No sign-up */
  .dg.run .d2-form { animation-name: d2-form; }
  .dg.run .d2-strike { animation-name: d2-strike; }
  .dg.run .d2-icon { animation-name: d2-icon; }
  .dg.run .d2-cursor { animation-name: d2-cursor; }
  .dg.run .d2-win { animation-name: d2-win; }
  .dg.run .d2-line { animation-name: d2-line; }
  .dg.run .d2-line.l1 { animation-delay: 0.25s; }
  .dg.run .d2-line.l2 { animation-delay: 0.5s; }
  .dg.run .d2-line.l3 { animation-delay: 0.75s; }
  .dg.run .d2-line.l4 { animation-delay: 1s; }
  .dg.run .d2-line.l5 { animation-delay: 1.25s; }
  /* 3. Ads knocked away */
  .dg.run .d3-ad { animation-name: d3-ad; }
  .dg.run .d3-nag { animation-name: d3-nag; }
  .dg.run .d3-ad2 { animation-name: d3-ad2; }
  .dg.run .d3-edge.r { animation-name: d3-edge-r; }
  .dg.run .d3-edge.l { animation-name: d3-edge-l; }
}
@keyframes d1-pkt { 0% { transform: translateX(0); opacity: 0; } 2% { opacity: 1; } 10% { transform: translateX(42px); opacity: 1; } 12% { transform: translateX(35px); opacity: 0.6; } 15%, 100% { transform: translateX(30px); opacity: 0; } }
@keyframes d1-hit { 0%, 9% { opacity: 0; transform: scale(0.4); } 10% { opacity: 0.9; } 17%, 100% { opacity: 0; transform: scale(1.7); } }
@keyframes d1-ask { 0%, 42% { opacity: 0; transform: translateY(-6px); } 46%, 68% { opacity: 1; transform: none; } 72%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes d1-cursor { 0%, 46% { opacity: 0; transform: translate(158px, 70px); } 49% { opacity: 1; transform: translate(158px, 70px); } 56% { transform: translate(112px, 20px); } 58% { transform: translate(112px, 20px) scale(0.85); } 60%, 66% { opacity: 1; transform: translate(112px, 20px); } 70%, 100% { opacity: 0; transform: translate(112px, 20px); } }
@keyframes d1-yes { 0%, 57% { fill: #e6e6e6; } 58%, 61% { fill: #b4b4b4; } 63%, 100% { fill: #e6e6e6; } }
@keyframes d1-shackle { 0%, 59% { transform: none; } 62%, 80% { transform: translateY(-4px); } 84%, 100% { transform: none; } }
@keyframes d1-gate-top { 0%, 61% { transform: none; } 65%, 78% { transform: translateY(-16px); } 82%, 100% { transform: none; } }
@keyframes d1-gate-bottom { 0%, 61% { transform: none; } 65%, 78% { transform: translateY(16px); } 82%, 100% { transform: none; } }
@keyframes d1-in { 0%, 63% { opacity: 0; transform: none; } 65% { opacity: 1; transform: none; } 75% { opacity: 1; transform: translateX(-102px); } 77%, 100% { opacity: 0; transform: translateX(-104px); } }
@keyframes d1-check { 0%, 75% { opacity: 0; stroke-dashoffset: 1; } 76% { opacity: 1; stroke-dashoffset: 1; } 80%, 92% { opacity: 1; stroke-dashoffset: 0; } 96%, 100% { opacity: 0; stroke-dashoffset: 0; } }
@keyframes d2-form { 0% { opacity: 0; transform: scale(0.96); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: scale(0.9); } }
@keyframes d2-strike { 0%, 13% { opacity: 0; stroke-dashoffset: 1; } 14% { opacity: 1; stroke-dashoffset: 1; } 22%, 100% { opacity: 1; stroke-dashoffset: 0; } }
@keyframes d2-icon { 0%, 36% { opacity: 0; transform: scale(0.7); } 41%, 51% { opacity: 1; transform: none; } 52% { transform: scale(0.92); } 54% { opacity: 1; transform: none; } 58%, 100% { opacity: 0; transform: scale(1.3); } }
@keyframes d2-cursor { 0%, 40% { opacity: 0; transform: translate(236px, 150px); } 42% { opacity: 1; transform: translate(236px, 150px); } 49% { transform: translate(166px, 86px); } 51% { transform: translate(166px, 86px) scale(0.85); } 53%, 58% { opacity: 1; transform: translate(166px, 86px); } 62%, 100% { opacity: 0; transform: translate(166px, 86px); } }
@keyframes d2-win { 0%, 54% { opacity: 0; transform: scale(0.25); } 62%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes d2-line { 0%, 60% { transform: scaleX(0); } 66%, 100% { transform: scaleX(1); } }
@keyframes d3-ad { 0% { opacity: 0; transform: translateX(90px); } 4% { opacity: 1; } 13% { transform: translateX(0); } 15% { transform: translateX(7px); } 17% { opacity: 1; transform: translateX(5px); } 27%, 100% { opacity: 0; transform: translate(12px, 70px) rotate(18deg); } }
@keyframes d3-nag { 0%, 29% { opacity: 0; transform: translateX(-90px); } 32% { opacity: 1; } 39% { transform: translateX(0); } 41% { transform: translateX(-7px); } 43% { opacity: 1; transform: translateX(-5px); } 53%, 100% { opacity: 0; transform: translate(-12px, 70px) rotate(-18deg); } }
@keyframes d3-ad2 { 0%, 57% { opacity: 0; transform: translateX(90px); } 60% { opacity: 1; } 68% { transform: translateX(0); } 70% { transform: translateX(7px); } 72% { opacity: 1; transform: translateX(5px); } 82%, 100% { opacity: 0; transform: translate(12px, 60px) rotate(18deg); } }
@keyframes d3-edge-r { 0%, 12% { opacity: 0; } 13% { opacity: 0.9; } 22%, 67% { opacity: 0; } 68% { opacity: 0.9; } 77%, 100% { opacity: 0; } }
@keyframes d3-edge-l { 0%, 38% { opacity: 0; } 39% { opacity: 0.9; } 48%, 100% { opacity: 0; } }

/* ---------- Home's closing section: a big DiverseConnect over the last call (Zlytrix, 2026-11-28) ---------- */
.ending .wordmark {
  display: inline-flex; align-items: center; gap: 0.42em; margin: 0 auto 40px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: 0.08em;
  font-size: clamp(24px, 7.4vw, 76px); color: var(--text-primary);
}
.ending .wordmark .glyph { display: inline-block; width: 0.6em; height: 0.6em; margin: 0; box-shadow: 0 0 0 0.09em var(--bg-band), 0 0 0 0.15em var(--text-primary); }

/* ---------- One page per app (Zlytrix, 2026-11-28): name in bold at the top left, the real app, then what it does ---------- */
a.app-card { color: inherit; text-decoration: none; }
.icon-cloud a.icon-tile { text-decoration: none; transition: transform 0.2s var(--ease-press), border-color 0.2s var(--ease-press); }
.icon-cloud a.icon-tile:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.3); }
.app-top .wrap { text-align: left; }
.app-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 28px; font-size: var(--fs-small); color: var(--text-secondary); text-decoration: none; }
.app-back::before { content: '←'; transition: transform 0.2s var(--ease-press); }
.app-back:hover { color: var(--text-primary); }
.app-back:hover::before { transform: translateX(-3px); }
.app-title { display: flex; align-items: center; gap: 18px; }
.app-title .icon-tile { width: 64px; height: 64px; border-radius: 15px; }
.app-title .icon-tile svg { width: 34px; height: 34px; }
.app-title h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.app-shot { margin-top: var(--space-content); }
.app-shot img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(680px, 78vh); }
.app-about { margin-top: var(--space-content); max-width: 38em; }
.app-group-note { margin-top: 18px; font-size: var(--fs-small); color: var(--text-tertiary); }
.app-more-row { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; }
.app-more-link { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 12px; color: var(--text-primary); text-decoration: none; font-size: 14.5px; transition: background 0.15s var(--ease-press); }
.app-more-link:hover { background: var(--accent); }
.app-more-link .icon-tile { width: 36px; height: 36px; border-radius: 9px; }
.app-more-link .icon-tile svg { width: 20px; height: 20px; }
/* Search answers on app pages, and the how-to pages (2026-11-28) */
.app-line { margin-top: 16px; max-width: 34em; font-size: clamp(18px, 0.5vw + 15px, 21px); line-height: 1.4; color: var(--text-secondary); }
.app-guide { margin-top: 18px; font-weight: 600; }
.app-guide a { color: var(--text-primary); }
.app-guide a::after { content: ' →'; }
.app-faq h2, .howto-body h2 { max-width: 780px; font-size: var(--fs-h2-guide); }
.app-faq .faq, .howto-body .faq { margin-left: 0; }
.howto-body h2 + .howto { max-width: 780px; margin: 22px 0 var(--space-content); }
.howto-body .howto li { font-size: 17px; line-height: 1.5; }
.app-top .eyebrow { display: block; margin-bottom: 10px; }
.howto-title { max-width: 18em; }
@media (max-width: 560px) {
  .app-title { gap: 14px; }
  .app-title .icon-tile { width: 52px; height: 52px; border-radius: 12px; }
  .app-title .icon-tile svg { width: 28px; height: 28px; }
  .app-shot img { max-height: none; width: 100%; }
}

/* ---------- Before release: a strip under the menu bar on every page (Zlytrix, 2026-11-28) ---------- */
.prerelease {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 20px; text-align: center;
  background: var(--bg-deep); border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-small); line-height: 1.45; color: var(--text-secondary);
}
.prerelease b { color: var(--text-primary); font-weight: 600; }
.prerelease-dot { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--text-primary); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
@media (prefers-reduced-motion: no-preference) {
  .prerelease-dot { animation: prerelease-pulse 2.4s ease-in-out infinite; }
}
@keyframes prerelease-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }
@media (max-width: 560px) { .prerelease { justify-content: flex-start; align-items: flex-start; text-align: left; padding: 10px 16px; } .prerelease-dot { margin-top: 7px; } }
/* "Releasing soon" is longer than "Buy for $10": on small phones the menu bar's button gets a little tighter so it fits */
@media (max-width: 420px) {
  .menubar .menu-buy { padding: 5px 10px; font-size: 12.5px; letter-spacing: -0.005em; }
  .menubar .menu-fold summary.menu-item { padding-left: 8px; padding-right: 8px; }
}

/* ---------- Send Issue (/send-issue/, 2026-11-28): the app's Settings → Send Issue, in its window ---------- */
.issue-section { padding-top: 16px; }
.issue-window { max-width: 680px; margin: 0 auto; }
.issue-form { position: relative; display: grid; gap: 30px; }
.issue-form [hidden] { display: none !important; }
.issue-part { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.issue-label { padding: 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.01em; color: var(--text-primary); }
fieldset.issue-part > .issue-label { margin-bottom: 10px; }
.issue-sub { font-size: var(--fs-small); line-height: 1.5; color: var(--text-tertiary); }
.issue-kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.issue-kind { position: relative; display: inline-flex; }
.issue-kind input, .issue-file input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
/* The chosen kind is the app's primary (light platinum) button */
.issue-kind input:checked + .ui-button {
  color: #1a1a1a; font-weight: 600;
  background: linear-gradient(180deg, #f4f4f4, #d3d3d3);
  border-color: rgba(255,255,255,0.55); border-top-color: rgba(255,255,255,0.9); border-bottom-color: rgba(0,0,0,0.35);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0,0,0,0.07), 0 1px 0 rgba(0,0,0,0.35);
}
.issue-kind input:checked + .ui-button::before { background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.3)); }
.issue-kind input:focus-visible + .ui-button, .issue-file:focus-within { outline: 2px solid rgba(255,255,255,0.82); outline-offset: 2px; }
.issue-input {
  width: 100%; min-height: 40px; padding: 9px 12px;
  font: inherit; font-size: 15px; line-height: 1.5; color: var(--text-primary);
  background: var(--bg-surface-2); border: 1px solid var(--border-strong); border-top-color: rgba(0,0,0,0.4); border-radius: var(--radius-md);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.04); outline: none;
  transition: border-color 0.15s var(--ease-press), background-color 0.15s var(--ease-press);
}
.issue-input::placeholder { color: var(--text-tertiary); }
.issue-input:hover { border-color: rgba(255,255,255,0.2); }
.issue-input:focus { border-color: rgba(255,255,255,0.38); background-color: var(--bg-surface-3); }
.issue-input:focus-visible { outline: 2px solid rgba(255,255,255,0.82); outline-offset: 2px; }
.issue-text { min-height: 172px; resize: vertical; }
.issue-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.issue-attach [data-file-name] { overflow-wrap: anywhere; }
.issue-trap { position: absolute; left: -10000px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.issue-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 6px; }
.issue-send .ui-button { min-width: 104px; }
.issue-form .ui-button:disabled { opacity: 0.5; cursor: default; transform: none; }
.issue-form .ui-button:disabled::before { opacity: 0; }
.issue-status { min-height: 1.5em; font-size: var(--fs-small); line-height: 1.5; color: var(--text-secondary); }
.issue-status.is-error { color: var(--text-primary); font-weight: 600; }
.issue-status.is-error::before { content: "!"; display: inline-grid; place-items: center; width: 17px; height: 17px; margin-right: 8px; border-radius: 50%;
  font-size: 11px; font-weight: 800; color: #1a1a1a; background: var(--text-primary); vertical-align: 1px; }
.issue-noscript { margin-top: 28px; text-align: center; color: var(--text-secondary); }
.support-ways .buttons { justify-content: center; }
@media (max-width: 560px) {
  .issue-section { padding-top: 4px; }
  .issue-window .window-body { padding: 24px 18px 22px; }
  .issue-form { gap: 26px; }
}

/* ---------- Why you'd want it (Home, 2026-11-28): three big words over a clip of each ----------
   The word whose part is playing lights up and a bar over it fills; clicking a word jumps to its part. */
.why-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.why-fig { margin: 0; }
.why-words { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: 22px; }
.why-pick { appearance: none; background: none; border: 0; margin: 0; padding: 22px 0 0; font: inherit; color: inherit; text-align: left;
  display: flex; flex-direction: column; gap: 14px; position: relative; cursor: pointer; border-radius: 4px; }
.why-pick::before, .why-pick::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; }
.why-pick::before { background: var(--border-subtle); }
.why-pick::after { background: var(--text-primary); transform-origin: left; transform: scaleX(0); opacity: 0; transition: transform 0.3s linear; }
.why-words.is-live .why-pick.is-now::after { opacity: 1; transform: scaleX(var(--p, 0)); }
.why-word { font-family: var(--font-display); font-size: clamp(48px, 6vw, 96px); font-weight: 800; line-height: 0.92; letter-spacing: -0.045em;
  color: var(--text-primary); transition: color 0.4s var(--ease-press); }
.why-line { font-size: 16.5px; line-height: 1.45; color: var(--text-secondary); max-width: 23em; transition: color 0.4s var(--ease-press); }
.why-line b { color: var(--text-primary); font-weight: 600; transition: color 0.4s var(--ease-press); }
.why-words.is-live .why-pick:not(.is-now) .why-word { color: rgba(255, 255, 255, 0.3); }
.why-words.is-live .why-pick:not(.is-now) :is(.why-line, .why-line b) { color: var(--text-tertiary); }
.why-words.is-live .why-pick:not(.is-now):hover .why-word { color: rgba(255, 255, 255, 0.55); }
.why-pick:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 8px; }
.why-clip { display: block; max-width: 1040px; margin: clamp(36px, 4vw, 56px) auto 0; }
.why-clip .demo-video { width: 100%; max-height: none; }
.why-caption { max-width: 38em; margin: 22px auto 0; text-align: center; color: var(--text-secondary); font-size: 16px; line-height: 1.5; }
/* Phones: one reason per row, the word beside its line */
@media (max-width: 760px) {
  .why-words { grid-template-columns: 1fr; gap: 20px; }
  .why-pick { display: grid; grid-template-columns: 8.6rem minmax(0, 1fr); column-gap: 14px; align-items: center; padding-top: 16px; }
  .why-word { font-size: 38px; }
  .why-line { font-size: 14.5px; }
}
@media (max-width: 560px) { .why-clip { margin-left: -24px; margin-right: -24px; } }
