/* Hands homepage (Sage direction). Started from the Sage design in Tijmen-Kijko/get-hands-sage-website (a07d27e);
   this file is now the source. Every rule is scoped to .sage-home, so it cannot reach the header, footer or other pages. */
/* --- Site integration, first (scripts/sage-homepage/prelude.css) --- */
/* The site's own .shell is a full-height flex column; the homepage uses .shell
   only as a content width. Reset it first, so the page's own rules below still win. */
.sage-home .shell { min-height: 0; display: block; flex-direction: initial; position: static; overflow: visible; }
/* Headings follow the page's sans-serif; Caprasimo stays for the wordmark and buttons. */
.sage-home :is(h1, h2, h3) { font-family: inherit; }

/* --- style.css --- */
:root .sage-home {
  --ink: var(--color-text);
  --muted: var(--color-neutral-700);
  --accent: var(--color-accent-700);
  --line: var(--color-neutral-400);
  --paper: var(--color-bg);
  --section: var(--color-surface);
  --surface: var(--color-neutral-100);
  --raised: var(--color-neutral-200);
  --focus: var(--color-accent-700);
  --good-ink: var(--color-accent-2-800);
  --good-bg: var(--color-accent-2-200);
  --warn-ink: var(--color-accent-800);
  --warn-bg: var(--color-accent-200);
  --control-line: var(--color-neutral-600);
  --night-wallpaper: url('/site/home/assets/hands-night.svg');
  --mono: ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;
  color-scheme: light;
}
.sage-home * {
  box-sizing:border-box;
}
.sage-home {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:400 1rem/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.sage-home img {
  display:block;
  max-width:100%;
}
.sage-home h1, .sage-home h2, .sage-home h3, .sage-home p, .sage-home figure, .sage-home blockquote {
  margin:0;
}
.sage-home a {
  color:inherit;
  text-decoration:none;
}
.sage-home button {
  font:inherit;
  color:inherit;
}
.sage-home button, .sage-home summary, .sage-home a {
  -webkit-tap-highlight-color:transparent;
}
.sage-home a:focus-visible, .sage-home summary:focus-visible, .sage-home button:focus-visible, .sage-home [tabindex="0"]:focus-visible {
  outline:3px solid var(--focus);
  outline-offset:3px;
}
.sage-home [hidden] {
  display:none!important;
}
.sage-home .shell {
  width:min(1120px,calc(100% - 5rem));
  margin-inline:auto;
}
.sage-home h2 {
  font-size:clamp(2.35rem,4.2vw,4.1rem);
  font-weight:630;
  line-height:1.04;
  letter-spacing:-.061em;
  text-wrap:balance;
}
.sage-home h2 em {
  font-family:Georgia,'Times New Roman',serif;
  color:var(--accent);
  font-weight:400;
}
.sage-home h3 {
  letter-spacing:-.035em;
}
.sage-home button, .sage-home summary {
  cursor:pointer;
}
.sage-home .mcp:hover {
  text-decoration:underline;
  text-underline-offset:.25rem;
}
.sage-home .button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  border-radius:999px;
  min-height:44px;
  padding:.7rem 1.28rem;
  font-size:.95rem;
  font-weight:620;
  letter-spacing:-.015em;
  line-height:1.3;
  transition:background .16s,box-shadow .16s;
}
.sage-home .primary {
  background:var(--color-accent);
  color:var(--brand-button-ink);
  border:1px solid var(--color-accent);
}
.sage-home .primary:hover {
  background:color-mix(in srgb, var(--color-accent) 88%, white);
  box-shadow:0 2px 6px color-mix(in srgb, var(--ink) 15%, transparent);
}
.sage-home .primary:active { background:var(--color-accent); }
.sage-home .secondary {
  background:var(--surface);
  border:1px solid var(--control-line);
}
.sage-home .secondary:hover {
  background:var(--raised);
}
.sage-home .hero {
  text-align:center;
}
.sage-home .hero-copy {
  padding-top:clamp(2.3rem,4.3vw,4.25rem);
}
.sage-home .hero-label {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.23rem .68rem .23rem .46rem;
  border:1px solid var(--color-accent-400);
  border-radius:999px;
  background:var(--color-accent-100);
  font-size:.81rem;
  line-height:1.3;
  font-weight:650;
  color:var(--color-accent-800);
}
.sage-home .hero-label img {
  height:20px;
  width:20px;
  object-fit:contain;
}
.sage-home .hero h1 {
  font-size:clamp(3.55rem,6.1vw,6.4rem);
  font-weight:640;
  letter-spacing:-.073em;
  line-height:.98;
  margin:.9rem auto .92rem;
}
.sage-home .hero h1 em {
  font:italic 400 1.065em/.99 Georgia,'Times New Roman',serif;
  letter-spacing:-.077em;
  color:var(--accent);
}
.sage-home .hero-lead {
  max-width:39rem;
  margin-inline:auto;
  line-height:1.5;
  font-size:clamp(1rem,1.3vw,1.14rem);
  color:var(--muted);
  text-wrap:pretty;
}
.sage-home .hero-actions {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  margin-top:1.15rem;
}
.sage-home .play-icon {
  height:18px;
  width:18px;
  display:grid;
  place-items:center;
  border:1.45px solid currentColor;
  border-radius:50%;
}
.sage-home .play-icon:after {
  content:'';
  margin-left:2px;
  border-block:3px solid transparent;
  border-left:5px solid currentColor;
}
.sage-home .desk-wrap {
  width:min(1000px,calc(100% - 5rem));
  margin:clamp(1.7rem,3vw,2.7rem) auto 0;
}
.sage-home .hero-desk, .sage-home .end-art {
  background: var(--color-accent-2-400) url('/site/home/assets/alpine-desk.webp') center / cover no-repeat;
  background-blend-mode: luminosity;
}
.sage-home .hero-desk {
  position:relative;
  isolation:isolate;
  border-radius:19px;
  min-height:23rem;
  display:grid;
  align-items:center;
  justify-items:center;
  padding:clamp(1.7rem,3.8vw,3.6rem) 2rem;
  box-shadow:inset 0 0 0 1px var(--color-divider),0 6px 24px color-mix(in srgb, var(--ink) 8%, transparent);
  overflow:hidden;
}
.sage-home .ws-window {
  width:min(100%,763px);
  background:var(--surface);
  text-align:left;
  border:1px solid var(--control-line);
  border-radius:11px;
  overflow:hidden;
  box-shadow:0 18px 49px color-mix(in srgb, var(--ink) 28%, transparent),0 2px 7px color-mix(in srgb, var(--ink) 22%, transparent);
}
.sage-home .ws-bar {
  min-height:34px;
  background:var(--raised);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 1rem;
  border-bottom:1px solid var(--line);
}
.sage-home .ws-window-title, .sage-home .ws-example, .sage-home .ws-path, .sage-home .ws-time, .sage-home .ws-tabs button {
  font-size:.8rem;
}
.sage-home .ws-window-title {
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--ink);
  font-weight:640;
}
.sage-home .ws-window-title b {
  color:var(--muted);
  font-weight:400;
}
.sage-home .ws-example {
  color:var(--muted);
  font-size:.76rem;
}
.sage-home .ws-body {
  display:grid;
  grid-template-columns:174px minmax(0,1fr);
  min-height:254px;
}
.sage-home .ws-sidebar {
  background:var(--paper);
  border-right:1px solid var(--line);
  padding:1rem .65rem;
}
.sage-home .ws-person {
  display:flex;
  align-items:center;
  gap:.45rem;
  margin:0 .2rem 1.4rem;
}
.sage-home .ws-person strong {
  font-size:.85rem;
  letter-spacing:-.025em;
}
.sage-home .ws-avatar {
  display:grid;
  place-items:center;
  width:25px;
  height:25px;
  border-radius:7px;
  background:var(--color-accent-200);
  border:1px solid var(--color-accent-500);
}
.sage-home .ws-avatar i {
  display:block;
  width:11px;
  height:11px;
  background:var(--color-accent-700);
  clip-path:polygon(50% 0,68% 32%,100% 50%,68% 66%,50% 100%,32% 67%,0 50%,32% 32%);
}
.sage-home .ws-sidetitle {
  font-size:.76rem;
  color:var(--muted);
  margin-left:9px;
  margin-bottom:5px;
}
.sage-home .ws-tabs {
  display:grid;
  gap:2px;
}
.sage-home .ws-tabs button {
  display:flex;
  align-items:center;
  gap:.55rem;
  text-align:left;
  min-height:31px;
  border:0;
  border-radius:5px;
  padding:.27rem .54rem;
  background:transparent;
  color:var(--muted);
  font-weight:500;
}
.sage-home .ws-tabs button[aria-selected="true"] {
  background:var(--color-accent-2-200);
  color:var(--color-accent-2-900);
  box-shadow: inset 3px 0 var(--color-accent-2-600);
  font-weight:620;
}
.sage-home .ws-tabs button:hover:not([aria-selected="true"]) {
  background:var(--raised);
}
.sage-home .ws-icon, .sage-home .ws-folder {
  position:relative;
  display:inline-block;
  flex:none;
  width:14px;
  height:14px;
}
.sage-home .ws-grid-icon {
  border:1.25px solid currentColor;
  border-radius:2px;
  background:linear-gradient(to bottom,transparent 34%,currentColor 34% 43%,transparent 43%),linear-gradient(to right,transparent 45%,currentColor 45% 54%,transparent 54%);
}
.sage-home .ws-page-icon {
  height:15px;
  width:12px;
  border:1.2px solid currentColor;
  border-radius:2px;
}
.sage-home .ws-page-icon:after {
  content:'';
  position:absolute;
  inset:4px 2px auto;
  border-top:1px solid;
  box-shadow:0 3px currentColor;
}
.sage-home .ws-line-icon {
  border-block:1.3px solid;
  height:9px;
}
.sage-home .ws-line-icon:after {
  content:'';
  position:absolute;
  top:3px;
  left:0;
  width:10px;
  border-top:1px solid;
}
.sage-home .ws-document {
  padding:1.25rem 1.55rem 1.25rem;
  min-width:0;
}
.sage-home .ws-path {
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--muted);
  font-size:.77rem;
}
.sage-home .ws-path>span {
  color:var(--muted);
}
.sage-home .ws-folder {
  width:15px;
  height:10px;
  border:1px solid var(--color-accent-600);
  border-radius:2px;
  background:var(--color-accent-200);
}
.sage-home .ws-folder:before {
  content:'';
  position:absolute;
  left:0;
  top:-4px;
  width:7px;
  height:3px;
  background:var(--color-accent-300);
  border-radius:2px 2px 0 0;
  border:1px solid var(--color-accent-600);
  border-bottom:0;
}
.sage-home .ws-page h2 {
  font-size:clamp(1.3rem,2.25vw,1.92rem);
  font-weight:625;
  line-height:1.15;
  letter-spacing:-.055em;
  margin:.75rem 0 .12rem;
  text-wrap:initial;
}
.sage-home .ws-sub {
  color:var(--muted);
  font-size:.825rem;
}
.sage-home .ws-table {
  border-collapse:collapse;
  width:100%;
  margin-top:.85rem;
  text-align:left;
  font-size:.87rem;
  font-variant-numeric:tabular-nums;
}
.sage-home .ws-table tr {
  border-top:1px solid var(--line);
}
.sage-home .ws-table thead th {
  padding:.32rem .3rem;
  color:var(--muted);
  font-weight:530;
  font-size:.76rem;
}
.sage-home .ws-table tbody th, .sage-home .ws-table td {
  padding:.38rem .3rem;
  font-weight:530;
}
.sage-home .ws-letter {
  display:inline-grid;
  place-items:center;
  width:23px;
  height:23px;
  margin-right:.45rem;
  border:1px solid var(--color-accent-2-500);
  border-radius:5px;
  background:var(--good-bg);
  color:var(--good-ink);
  font-size:.73rem;
}
.sage-home .ws-letter-b {
  background:var(--raised);
  border-color:var(--color-neutral-500);
  color:var(--ink);
}
.sage-home .ws-time {
  display:inline-block;
  font-size:.75rem;
  font-weight:580;
  border-radius:4px;
  padding:.12rem .45rem;
  background:var(--good-bg);
  color:var(--good-ink);
}
.sage-home .ws-late {
  background:var(--warn-bg);
  color:var(--warn-ink);
}
.sage-home .ws-list, .sage-home .ws-rules {
  font-size:.875rem;
  margin:1rem 0 0;
  padding:0;
}
.sage-home .ws-list>div, .sage-home .ws-rules li {
  list-style:none;
  border-top:1px solid var(--line);
  padding:.5rem 0;
}
.sage-home .ws-list>div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
}
.sage-home .ws-list dd {
  margin:0;
}
.sage-home .ws-rules li:before {
  content:'✓';
  margin-right:.65rem;
  font-weight:bold;
  color:var(--color-accent-2-700);
}
.sage-home .provider-row {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1.5rem;
  flex-wrap:wrap;
  margin:1.25rem auto 0;
  padding:0 1rem clamp(2.4rem,4vw,4.5rem);
  line-height:1.3;
}
.sage-home .provider-row a {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-size:.875rem;
  font-weight:570;
}
.sage-home .provider-row a:hover {
  text-decoration:underline;
  text-underline-offset:3px;
}
.sage-home .provider-row>span, .sage-home .provider-row .mcp {
  color:var(--muted);
  font-size:.8rem;
  font-weight:450;
}
.sage-home .provider-row .mcp {
  border-left:1px solid var(--line);
  padding-left:1.2rem;
}
.sage-home .end {
  text-align:center;
  padding:clamp(4.5rem,8vw,8rem) 0;
}
.sage-home .end-art {
  width:min(100%,288px);
  height:94px;
  display:grid;
  place-items:center;
  margin:0 auto 1.75rem;
  border-radius:16px;
  box-shadow:0 4px 16px color-mix(in srgb, var(--ink) 14%, transparent);
}
.sage-home .end-dock {
  display:flex;
  gap:5px;
  align-items:center;
  justify-content:center;
  padding:4px;
  border-radius:14px;
  background:color-mix(in srgb, var(--surface) 75%, transparent);
  border:1px solid var(--control-line);
  box-shadow:0 3px 12px color-mix(in srgb, var(--ink) 26%, transparent);
  backdrop-filter:blur(5px);
}
.sage-home .end-dock span {
  display:grid;
  place-items:center;
  background:var(--surface);
  border-radius:9px;
  width:38px;
  height:38px;
}
.sage-home .end-dock .end-hand {
  background:var(--color-accent-200);
  width:45px;
  height:43px;
}
.sage-home .end h2 {
  max-width:14em;
  margin-inline:auto;
}
.sage-home .end p {
  max-width:33rem;
  margin:1rem auto 1.3rem;
  color:var(--muted);
  font-size:1.05rem;
  text-wrap:pretty;
}
.sage-home .end small {
  display:block;
  margin-top:.7rem;
  color:var(--muted);
  font-size:.825rem;
}
@media(max-width:900px) {
  .sage-home .hero-desk {
    min-height:unset;
  }
  .sage-home .ws-body {
    grid-template-columns:157px minmax(0,1fr);
  }
}
@media(max-width:768px) {
  .sage-home .shell {
    width:calc(100% - 2.5rem);
  }
  .sage-home .hero-copy {
    padding-top:2.2rem;
  }
  .sage-home .hero h1 {
    font-size:clamp(3rem,7.8vw,4.45rem);
  }
  .sage-home .hero-lead {
    max-width:36rem;
  }
  .sage-home .desk-wrap {
    width:calc(100% - 2.5rem);
  }
  .sage-home .hero-desk {
    padding:1.65rem;
    border-radius:14px;
  }
  .sage-home .ws-document {
    padding:1rem;
  }
  .sage-home .ws-body {
    grid-template-columns:145px 1fr;
  }
  .sage-home .ws-person strong {
    font-size:.8rem;
  }
  .sage-home .ws-sidebar {
    padding-inline:.4rem;
  }
  .sage-home .ws-person {
    gap:.3rem;
  }
  .sage-home .provider-row {
    gap:.8rem 1rem;
  }
  .sage-home .provider-row .mcp {
    padding-left:.8rem;
  }
}
@media(max-width:560px) {
  .sage-home .shell {
    width:calc(100% - 2rem);
  }
  .sage-home .hero h1 {
    font-size:clamp(2.8rem,10vw,3.65rem);
    margin:.85rem auto;
  }
  .sage-home .hero h1 em {
    letter-spacing:-.072em;
  }
  .sage-home [lang=en] .hero h1 {
    font-size:clamp(2.4rem,8.35vw,3rem);
  }
  .sage-home .hero-lead {
    font-size:1rem;
    line-height:1.48;
  }
  .sage-home .hero-actions {
    gap:.45rem;
  }
  .sage-home .hero-actions .button {
    font-size:.87rem;
    min-height:42px;
    padding:.65rem .95rem;
  }
  .sage-home .desk-wrap {
    width:calc(100% - 1.5rem);
    margin-top:1.5rem;
  }
  .sage-home .hero-desk {
    padding:1.3rem .6rem;
    border-radius:12px;
  }
  .sage-home .ws-window {
    border-radius:8px;
  }
  .sage-home .ws-body {
    display:block;
    min-height:unset;
  }
  .sage-home .ws-sidebar {
    border:0;
    border-bottom:1px solid var(--line);
    padding:.45rem;
  }
  .sage-home .ws-person, .sage-home .ws-sidetitle {
    display:none;
  }
  .sage-home .ws-tabs {
    display:flex;
    justify-content:space-between;
    gap:0;
  }
  .sage-home .ws-tabs button {
    font-size:.78rem;
    gap:.25rem;
    min-height:32px;
    padding:.32rem .45rem;
  }
  .sage-home .ws-tabs .ws-icon {
    width:11px;
  }
  .sage-home .ws-document {
    min-height:226px;
    padding:.85rem;
  }
  .sage-home .ws-page h2 {
    font-size:1.45rem;
  }
  .sage-home .ws-bar {
    padding:0 .65rem;
  }
  .sage-home .ws-sub {
    font-size:.8rem;
  }
  .sage-home .ws-table {
    font-size:.82rem;
  }
  .sage-home .ws-table td, .sage-home .ws-table th {
    white-space:nowrap;
  }
  .sage-home .ws-path {
    font-size:.76rem;
  }
  .sage-home .provider-row {
    column-gap:.8rem;
    row-gap:.4rem;
    margin-top:.9rem;
    padding-bottom:2.4rem;
  }
  .sage-home .provider-row a {
    font-size:.79rem;
    gap:.22rem;
  }
  .sage-home .provider-row>span {
    font-size:.76rem;
  }
  .sage-home .provider-row a img {
    width:15px;
    height:15px;
  }
  .sage-home .provider-row .mcp {
    display:none;
  }
  .sage-home .end {
    padding:3.7rem 0;
  }
  .sage-home .end-art {
    width:224px;
    height:78px;
  }
  .sage-home .end h2 {
    font-size:2.5rem;
  }
  .sage-home .end p {
    font-size:1rem;
  }
}
@media(max-width:360px) {
  .sage-home .ws-tabs .ws-icon {
    display:none;
  }
  .sage-home .ws-letter {
    display:none;
  }
  .sage-home .ws-time {
    padding:.1rem .2rem;
  }
}
@media(prefers-reduced-motion:reduce) {
  .sage-home *, .sage-home *:before, .sage-home *:after {
    scroll-behavior:auto!important;
    transition-duration:0s!important;
    animation-duration:0s!important;
  }
}
.sage-home ::selection { color: var(--color-accent-900); background: var(--color-accent-300); }
.sage-home .ws-page:focus-visible { outline-offset: -3px; }
:root[data-theme="dark"] .sage-home { color-scheme: dark; }
:root[data-theme="dark"] .sage-home :is(.hero-desk, .sage-home .end-art) {
  background: var(--surface) var(--night-wallpaper) center / cover no-repeat;
  background-blend-mode: normal;
}
:root[data-theme="dark"] .sage-home .ws-window {
  box-shadow: 0 16px 46px rgb(0 0 0 / 48%), 0 2px 6px rgb(0 0 0 / 32%);
}
:root[data-theme="dark"] .sage-home .provider-row a img, :root[data-theme="dark"] .sage-home .end-dock img[src$=".svg"] { filter: brightness(0) invert(1); }

/* --- gallery.css --- */
.sage-home .usecases {
  background: var(--color-surface);
  color: var(--color-text);
  padding-block: clamp(4.5rem, 8vw, 8rem);
}
.sage-home .uc-heading {
  text-align: center;
  margin: 0 auto clamp(2rem,4vw,3rem);
  max-width: 46rem;
}
.sage-home .uc-heading h2 {
  margin: 0;
}
.sage-home .uc-heading p {
  max-width: 41rem;
  margin: 1rem auto 0;
  color: var(--color-neutral-800);
  line-height: 1.55;
}
.sage-home .uc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.sage-home .uc-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-neutral-500);
  border-radius: 1.4rem;
  background: var(--color-neutral-100);
}
.sage-home .uc-copy {
  padding: clamp(1.3rem,2.4vw,2.05rem) clamp(1.35rem,2.6vw,2.25rem) 1.35rem;
}
.sage-home .uc-role {
  color: var(--color-accent-800);
  font: 600 .84rem/1.45 var(--mono,ui-monospace,monospace);
}
.sage-home .uc-copy h3 {
  margin: .55rem 0 .45rem;
  font-size: clamp(1.38rem,2.1vw,1.8rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.sage-home .uc-desc {
  color: var(--color-neutral-800);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.sage-home .uc-preview {
  margin: auto clamp(.7rem,1.25vw,1rem) 0;
  border-radius: .7rem;
  padding: clamp(1.2rem,2.5vw,2rem) clamp(1.15rem,4vw,3.8rem);
  display: grid;
  align-items: center;
  min-height: 14.5rem;
  isolation: isolate;
}
.sage-home .uc-preview-research {
  background: var(--color-accent-200);
}
.sage-home .uc-preview-code {
  background: var(--color-accent-2-300);
}
.sage-home .uc-preview-editor {
  background: var(--color-accent-300);
}
.sage-home .uc-preview-purchase {
  background: var(--color-neutral-300);
}
.sage-home .uc-sheet {
  width: 100%;
  max-width: 24rem;
  min-width: 0;
  margin: 0 auto;
  border: 1px solid var(--color-neutral-500);
  border-radius: .55rem;
  box-shadow: 0 .4rem .82rem -.47rem rgb(0 0 0 / 25%);
  background: var(--color-neutral-100);
  overflow: hidden;
}
.sage-home .uc-file {
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid var(--color-neutral-400);
  color: var(--color-neutral-800);
  background: var(--color-neutral-200);
  padding: .58rem .95rem;
  font: 550 .81rem/1.25 var(--mono,ui-monospace,monospace);
}
.sage-home .uc-file-icon {
  position: relative;
  display: inline-block;
  flex: none;
  width:.64rem;
  height:.78rem;
  border: 1.3px solid currentColor;
  border-radius: 2px;
}
.sage-home .uc-file-icon::after {
  content: '';
  position:absolute;
  right: 1px;
  left: 1px;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.sage-home .uc-doc {
  padding: .85rem 1.1rem .95rem;
}
.sage-home .uc-tally {
  color: var(--color-accent-800);
  font-size: 2.3rem;
  line-height: 1.05;
  letter-spacing: -.065em;
}
.sage-home .uc-tally strong {
  font-weight: 580;
}
.sage-home .uc-tally span {
  color: var(--color-neutral-800);
  font-size: 1.12rem;
  font-weight: 480;
}
.sage-home .uc-bars {
  display: flex;
  gap: 3px;
  margin: .55rem 0 .45rem;
  height: .45rem;
}
.sage-home .uc-bars i {
  flex: 1;
  background: var(--color-accent-700);
  border-radius: 2px;
}
.sage-home .uc-bars i:nth-child(n+9) {
  background: var(--color-neutral-300);
}
.sage-home .uc-doc p, .sage-home .uc-doc small {
  display: block;
  margin: 0;
  color: var(--color-text);
  font-size: .88rem;
  line-height: 1.4;
}
.sage-home .uc-doc small {
  color: var(--color-neutral-800);
  font-size: .8rem;
  margin-top: .6rem;
}
.sage-home .uc-code-lines {
  padding-block: .62rem;
  font: .85rem/1.45 var(--mono,ui-monospace,monospace);
}
.sage-home .uc-code-lines > div {
  display: flex;
  align-items: center;
  padding: 0 .74rem;
  min-height: 1.35rem;
  gap: .74rem;
}
.sage-home .uc-code-lines span {
  flex: 0 0 1.1rem;
  text-align: right;
  color: var(--color-neutral-800);
}
.sage-home .uc-code-lines code {
  font: inherit;
  white-space: pre;
}
.sage-home .uc-code-lines .uc-remove {
  background: var(--color-accent-100);
  color: var(--color-accent-800);
}
.sage-home .uc-code-lines .uc-add {
  background: var(--color-accent-2-100);
  color: var(--color-accent-2-800);
}
.sage-home .uc-review {
  padding: .5rem .95rem;
  color:var(--color-neutral-800);
  border-top: 1px solid var(--color-neutral-400);
  font-size: .8rem;
}
.sage-home .uc-review i {
  display: inline-block;
  width: .56rem;
  height: .56rem;
  margin-right: .4rem;
  border: 1.5px solid var(--color-accent-700);
  border-radius: 100%;
}
.sage-home .uc-revision {
  color: var(--color-text);
  font: 1.16rem/1.35 Georgia,serif;
}
.sage-home .uc-revision del {
  color: var(--color-accent-800);
  text-decoration-thickness: 1px;
}
.sage-home .uc-revision ins {
  background: var(--color-accent-2-100);
  color: var(--color-accent-2-800);
  text-decoration-thickness: 1px;
  text-underline-offset: .13em;
}
.sage-home .uc-style-note {
  padding-left: .55rem;
  margin-top: .85rem;
  border-left: 2px solid var(--color-accent-2-600);
  line-height: 1.45;
  color: var(--color-neutral-800);
  font-size: .8rem;
}
.sage-home .uc-quote-body {
  padding: .58rem .95rem .65rem;
}
.sage-home .uc-quote-body table {
  width:100%;
  border-collapse: collapse;
  text-align: left;
  color: var(--color-text);
  font-size:.88rem;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}
.sage-home .uc-quote-body th, .sage-home .uc-quote-body td {
  padding:.28rem .3rem .28rem 0;
  text-align:left;
}
.sage-home .uc-quote-body thead {
  color: var(--color-neutral-800);
  font-size: .79rem;
}
.sage-home .uc-quote-body tbody tr {
  border-top: 1px solid var(--color-neutral-400);
}
.sage-home .uc-quote-body th i {
  display: inline-grid;
  place-items:center;
  width: 1.42rem;
  height: 1.42rem;
  background:var(--color-accent-2-200);
  border-radius: .25rem;
  font-style: normal;
}
.sage-home .uc-quote-body tbody tr:nth-child(2) th i {
  background:var(--color-neutral-200);
}
.sage-home .uc-quote-body p {
  margin: .36rem 0 0;
  color: var(--color-neutral-800);
  font-size: .8rem;
}
.sage-home .uc-details {
  margin: .1rem 0 0;
}
.sage-home .uc-details summary {
  display: flex;
  align-items:center;
  gap: .7rem;
  width: 100%;
  min-height: 3rem;
  padding:.7rem clamp(1.35rem,2.6vw,2.25rem);
  list-style:none;
  color: var(--color-accent-800);
  font-size:.88rem;
  font-weight: 580;
  cursor:pointer;
}
.sage-home .uc-details summary::-webkit-details-marker {
  display:none;
}
.sage-home .uc-details summary span {
  display: inline-block;
  height:.43rem;
  width:.43rem;
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform:translateY(-.1rem) rotate(45deg);
}
.sage-home .uc-details[open] summary span {
  transform: translateY(.13rem) rotate(225deg);
}
.sage-home .uc-details summary:focus-visible {
  outline-offset:-4px;
}
.sage-home .uc-details p {
  margin: 0;
  padding: 0 clamp(1.35rem,2.6vw,2.25rem) 1.3rem;
  font-size: 1rem;
  line-height:1.55;
  color:var(--color-neutral-800);
}
.sage-home .uc-caption {
  margin: 1.15rem 0 0;
  text-align:center;
  font-size:.82rem;
  line-height:1.5;
  color: var(--color-neutral-800);
}
@media (max-width: 700px) {
  .sage-home .uc-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .sage-home .uc-preview {
    min-height: 12.8rem;
    padding: 1.15rem clamp(.8rem,5vw,2rem);
  }
  .sage-home .uc-card {
    border-radius: 1rem;
  }
}
.sage-home .uc-code-lines :is(.uc-add, .sage-home .uc-remove) > span { color: inherit; }
.sage-home .uc-details summary:hover { background: var(--color-neutral-200); }

/* --- harness.css --- */
.sage-home .harness {
  background: var(--color-surface);
  color: var(--color-text);
  padding-block: clamp(4.5rem, 8vw, 8rem);
  font-family: Figtree, system-ui, sans-serif;
}
.sage-home .hr-intro {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 5vw, 5rem);
  margin-bottom: clamp(1.8rem, 3.8vw, 3rem);
}
.sage-home .hr-intro h2 { max-width: 10em; }
.sage-home .hr-intro h2 em { white-space: nowrap; }
.sage-home .hr-intro p, .sage-home .hr-card-heading p, .sage-home .hr-controls p { color: var(--color-neutral-800); text-wrap: pretty; }
.sage-home .hr-intro p { font-size: clamp(1.06rem, 1.4vw, 1.2rem); line-height: 1.5; margin-bottom: .7rem; }
.sage-home .hr-link, .sage-home .hr-options a {
  color: var(--color-accent-800);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--color-accent-600);
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
.sage-home .hr-link:hover, .sage-home .hr-options a:hover { color: var(--color-text); text-decoration-color: currentColor; }
.sage-home .hr-link { display: inline-block; font-size: .96rem; padding-block: .25rem; }
.sage-home .hr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.4rem); }
.sage-home .hr-card {
  --card-inset: clamp(1.15rem, 2.4vw, 2rem);
  background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-400);
  border-radius: 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.sage-home .hr-card-heading { padding: var(--card-inset) var(--card-inset) 0; }
.sage-home .hr-card h3, .sage-home .hr-controls h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.12rem);
  letter-spacing: -.055em;
  font-weight: 650;
  line-height: 1.12;
}
.sage-home .hr-card-heading p { max-width: 53ch; margin-top: .55rem; line-height: 1.5; }
.sage-home .hr-screen {
  border-block: 1px solid var(--color-divider);
  background: linear-gradient(125deg, var(--color-accent-2-200), var(--color-accent-2-400));
  margin: 1.2rem 0 0;
  padding: clamp(.9rem, 1.8vw, 1.45rem) var(--card-inset);
  display: grid;
  place-items: center;
}
.sage-home .hr-environments .hr-screen { background: linear-gradient(135deg, var(--color-accent-200), var(--color-accent-400)); }
.sage-home .hr-screen img {
  width: 100%;
  aspect-ratio: 2 / 1;
  height: auto;
  object-fit: cover;
  border-radius: .55rem;
  box-shadow: 0 .4rem 1rem rgb(0 0 0 / 18%);
}
.sage-home .hr-options { margin: 0; padding: 0 var(--card-inset); }
.sage-home .hr-options > div { padding: .85rem 0; }
.sage-home .hr-options > div + div { border-top: 1px solid var(--color-divider); }
.sage-home .hr-options dt { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.sage-home .hr-options a { font-size: 1.06rem; color: var(--color-text); text-decoration-color: var(--color-neutral-500); }
.sage-home .hr-options dd { margin: .25rem 0 0; color: var(--color-neutral-800); line-height: 1.4; }
.sage-home .hr-status {
  border: 1px solid var(--color-accent-2-400);
  border-radius: 999px;
  padding: .1rem .5rem;
  color: var(--color-accent-2-800);
  background: var(--color-accent-2-100);
  font-size: .78rem;
  line-height: 1.35;
  font-weight: 650;
}
.sage-home .hr-links { display: flex; align-items: start; gap: .35rem 1.35rem; flex-wrap: wrap; }
.sage-home .hr-card > .hr-links {
  margin: auto var(--card-inset) 0;
  padding-block: .66rem 1.05rem;
  border-top: 1px solid var(--color-divider);
}
.sage-home .hr-files-preview, .sage-home .hr-app-row {
  margin: 1.1rem var(--card-inset) 1.3rem;
  min-height: 6rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--color-divider);
  border-radius: .7rem;
}
.sage-home .hr-files-preview { background: var(--color-accent-2-100); font: .9rem/1.45 var(--mono); }
.sage-home .hr-folder-path, .sage-home .hr-file { display: flex; align-items: center; gap: .5rem; }
.sage-home .hr-folder-path { flex-wrap: wrap; gap: 0; color: var(--color-accent-2-800); }
.sage-home .hr-folder-symbol {
  width: 1.06rem;
  height: .7rem;
  position: relative;
  margin-right: .55rem;
  border-radius: .07rem .12rem .12rem .12rem;
  background: var(--color-accent-2-700);
}
.sage-home .hr-folder-symbol::before { content: ''; position: absolute; top: -.17rem; width: .43rem; height: .21rem; background: inherit; border-radius: .1rem .1rem 0 0; }
.sage-home .hr-file { border-left: 1px solid var(--color-accent-2-500); margin-left: .48rem; padding: .24rem 0 0 .9rem; }
.sage-home .hr-file-symbol { width: .63rem; height: .79rem; border: 1px solid var(--color-accent-2-700); border-radius: .12rem; }
.sage-home .hr-sheet { background: repeating-linear-gradient(to bottom,transparent 0 2px,var(--color-accent-2-600) 2px 3px); }
.sage-home .hr-app-row { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-evenly; gap: .65rem; background: var(--color-neutral-200); }
.sage-home .hr-app-row li { display: grid; justify-items: center; gap: .3rem; font-size: .9rem; font-weight: 600; }
.sage-home .hr-app-row img { width: 2.5rem; height: 2.5rem; padding: .45rem; border-radius: .6rem; background: #fff; object-fit: contain; }
.sage-home .hr-controls {
  margin-top: clamp(1.4rem, 3vw, 2.25rem);
  padding: clamp(1.2rem, 2.2vw, 1.8rem) 0;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 1rem 2rem;
  border-block: 1px solid var(--color-neutral-500);
}
.sage-home .hr-controls h3 { font-size: clamp(1.35rem, 2.1vw, 1.8rem); }
.sage-home .hr-controls .hr-links { margin-top: .4rem; }
@media (max-width: 720px) {
  .sage-home .hr-grid, .sage-home .hr-intro, .sage-home .hr-controls { grid-template-columns: minmax(0,1fr); }
  .sage-home .hr-intro { gap: .9rem; }
  .sage-home .hr-controls { gap: .5rem; }
  .sage-home .hr-intro p { max-width: 55ch; }
}
.sage-home .hr-example {
  margin: .15rem var(--card-inset) 1rem;
  padding: .6rem .9rem;
  border-left: 2px solid var(--color-accent-500);
  background: var(--color-accent-100);
  color: var(--color-accent-900);
}
.sage-home .hr-example span { display: block; font-size: .83rem; font-weight: 650; color: var(--color-accent-800); }
.sage-home .hr-example p { font-size: .99rem; margin-top: .13rem; }

/* --- topics.css --- */
.sage-home .topic-watch {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--color-accent-2-200);
  border-block: 1px solid var(--color-divider);
  color: var(--color-text);
  font-family: Figtree, system-ui, sans-serif;
}
.sage-home .topic-layout {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.2rem, 6vw, 6rem);
}
.sage-home .topic-intro h2 { max-width: 10em; }
.sage-home .topic-intro h2 em { color: var(--color-accent-2-800); }
.sage-home .topic-intro p {
  max-width: 44ch;
  margin-top: 1rem;
  color: var(--color-neutral-800);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.48;
}
.sage-home .topic-cta { margin-top: 1.5rem; }
.sage-home .topic-intro small { display: block; margin-top: .55rem; font-size: .865rem; color: var(--color-neutral-800); }
.sage-home .topic-demo {
  min-inline-size: 0;
  margin: 0;
  border: 1px solid var(--color-accent-2-500);
  border-radius: 1.2rem;
  background: #191815;
  box-shadow: 0 .75rem 2rem color-mix(in srgb, var(--color-accent-2-900) 9%, transparent);
}
.sage-home .topic-demo--video {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.sage-home .topic-demo--video .uc-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 760px) {
  .sage-home .topic-layout { grid-template-columns: minmax(0,1fr); gap: 1.7rem; }
  .sage-home .topic-intro p { max-width: 56ch; }
}

/* --- light.css --- */
:root:not([data-theme="dark"]) .sage-home {
  --accent: var(--color-accent-2-700);
  --focus: var(--color-accent-2-700);
  --action-hover: #f5743e;
  --coastal-photo: linear-gradient(112deg, #588da1 5%, #729c9b 52%, #cb977d);
}
.sage-home .primary):hover { background: var(--action-hover); }
.sage-home .primary):active { background: var(--color-accent); }
:root:not([data-theme="dark"]) .sage-home .hero {
  background: linear-gradient(180deg, var(--paper) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 100%, var(--color-surface), transparent 67%),
    radial-gradient(ellipse at 0% 85%, var(--color-accent-2-200), transparent 64%), var(--paper);
}
:root:not([data-theme="dark"]) .sage-home .hero-label {
  background: var(--color-accent-2-100);
  border-color: var(--color-accent-2-400);
  color: var(--color-accent-2-800);
}
:root:not([data-theme="dark"]) .sage-home :is(.hero-desk, .sage-home .end-art) {
  background-image: var(--coastal-photo), url('/site/home/assets/alpine-desk.webp');
  background-blend-mode: color, normal;
}
:root:not([data-theme="dark"]) .sage-home .secondary { background: transparent; }
:root:not([data-theme="dark"]) .sage-home .secondary:hover { background: var(--color-accent-2-200); }
:root:not([data-theme="dark"]) .sage-home :is(.uc-role, .sage-home .uc-details summary, .sage-home .hr-link) {
  color: var(--color-accent-2-800);
}
:root:not([data-theme="dark"]) .sage-home .hr-link { text-decoration-color: var(--color-accent-2-600); }
:root:not([data-theme="dark"]) .sage-home .uc-preview-research { background: var(--color-neutral-300); }
:root:not([data-theme="dark"]) .sage-home .uc-preview-editor { background: var(--color-accent-200); }
:root:not([data-theme="dark"]) .sage-home .uc-preview-purchase { background: var(--color-accent-2-200); }
:root:not([data-theme="dark"]) .sage-home .harness { background: var(--color-neutral-200); }
:root:not([data-theme="dark"]) .sage-home .hr-app-row img { background: var(--color-neutral-100); }
:root:not([data-theme="dark"]) .sage-home .topic-watch { background: var(--color-accent-2-900); }
:root:not([data-theme="dark"]) .sage-home .topic-intro { color: var(--color-neutral-100); }
:root:not([data-theme="dark"]) .sage-home .topic-intro h2 em { color: var(--color-accent-2-300); }
:root:not([data-theme="dark"]) .sage-home .topic-intro :is(p, .sage-home small) { color: var(--color-neutral-200); }
:root:not([data-theme="dark"]) .sage-home .topic-cta:focus-visible { outline-color: var(--color-accent-2-200); }

/* --- Site-owned homepage blocks (scripts/sage-homepage/sections.css) --- */
.sage-home .anchor-alias { position: relative; top: -82px; display: block; height: 0; }
.sage-home .section-kicker { margin: 0 0 .6rem; font-size: .8rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sage-home :is(.talk, .story, .pricing, .home-faq, .founders) { padding: clamp(4rem, 7vw, 6.5rem) 0; }
.sage-home :is(.talk-intro, .pricing-intro, .faq-intro) { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sage-home :is(.talk-intro, .pricing-intro, .faq-intro) p { margin-top: 1rem; font-size: 1.08rem; line-height: 1.55; color: var(--muted); }

/* Chat and Voice — a compact illustration of the conversation interface. */
.sage-home .talk { background: var(--paper); border-top: 1px solid var(--color-divider); scroll-margin-top: 90px; }
.sage-home .talk-intro { max-width: 48rem; }
.sage-home .talk-demo { max-width: 960px; margin: 0 auto; }
.sage-home .talk-visual { padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 36px -25px color-mix(in srgb, var(--ink) 35%, transparent); }
.sage-home .talk-visual-header { display: flex; align-items: center; gap: .85rem; }
.sage-home .talk-visual-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--good-bg); flex: 0 0 48px; }
.sage-home .talk-visual-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sage-home .talk-visual-identity { min-width: 0; display: flex; flex-direction: column; line-height: 1.35; gap: .12rem; }
.sage-home .talk-visual-identity strong { color: var(--ink); font-size: 1rem; font-weight: 650; }
.sage-home .talk-visual-identity > span { font-size: .82rem; color: var(--good-ink); }
.sage-home .talk-visual-settings { display: grid; place-items: center; margin-left: auto; color: var(--muted); width: 28px; height: 28px; flex: 0 0 28px; }
.sage-home .talk-visual-settings svg, .sage-home .talk-visual-add svg { width: 21px; height: 21px; }
.sage-home .talk-visual-center { min-height: clamp(180px, 23vw, 250px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; padding: 1.65rem .5rem; text-align: center; }
.sage-home .talk-visual-wave { display: block; width: min(100%, 220px); height: auto; color: var(--good-ink); margin: 0 0 .35rem; }
.sage-home .talk-visual-question { font-size: clamp(1.35rem, 2.7vw, 1.75rem); line-height: 1.25; color: var(--ink); font-weight: 650; letter-spacing: -.035em; }
.sage-home .talk-visual-hint { font-size: .92rem; line-height: 1.45; color: var(--muted); }
.sage-home .talk-visual-input { display: flex; align-items: center; gap: .8rem; min-width: 0; padding: .65rem .7rem .65rem .95rem; border-radius: 18px; border: 1px solid var(--line); background: var(--raised); }
.sage-home .talk-visual-add { color: var(--muted); display: grid; place-items: center; flex: 0 0 22px; }
.sage-home .talk-visual-placeholder { min-width: 0; flex: 1; color: var(--muted); font-size: .93rem; line-height: 1.4; }
.sage-home .talk-visual-call { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; color: var(--brand-button-ink); background: var(--color-accent); }
.sage-home .talk-visual-call svg { width: 22px; height: 22px; }
.sage-home .talk-modes { max-width: 960px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 2rem; margin: clamp(1.7rem, 3vw, 2.4rem) auto 0; }
.sage-home .talk-mode { display: flex; align-items: flex-start; gap: .9rem; min-width: 0; }
.sage-home .talk-mode > div { min-width: 0; }
.sage-home .talk-mode-icon { flex: 0 0 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--good-ink); background: var(--raised); }
.sage-home .talk-mode-icon svg { width: 24px; height: 24px; }
.sage-home .talk-mode h3 { font-size: 1.25rem; line-height: 1.3; }
.sage-home .talk-mode p { margin: .35rem 0 .4rem; color: var(--muted); line-height: 1.5; font-size: .95rem; }
.sage-home .talk-mode .hr-link { font-size: .9rem; }
.sage-home .talk-providers { max-width: 960px; margin: clamp(1.8rem, 4vw, 3rem) auto 0; padding-top: clamp(1.5rem, 3vw, 2.2rem); border-top: 1px solid var(--line); text-align: center; }
.sage-home .talk-providers h3 { font-size: 1.35rem; line-height: 1.3; }
.sage-home .talk-providers > p { margin-top: .35rem; color: var(--muted); font-size: .95rem; }
.sage-home .talk-provider-list { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .45rem .9rem; margin: 1rem 0 .8rem; padding: 0; list-style: none; }
.sage-home .talk-provider-list a { display: inline-flex; align-items: center; gap: .48rem; padding: .4rem .2rem; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.sage-home .talk-provider-list a:hover { text-decoration: underline; text-underline-offset: .2em; }
.sage-home .talk-provider-list img { display: block; width: 22px; height: 22px; object-fit: contain; }
.sage-home .talk-providers .hr-link { font-size: .9rem; }
@media (max-width: 640px) {
  .sage-home .talk-visual { border-radius: 18px; }
  .sage-home .talk-visual-center { min-height: 184px; padding: 1.2rem .25rem; }
  .sage-home .talk-visual-input { gap: .55rem; padding-left: .7rem; }
  .sage-home .talk-visual-placeholder { font-size: .85rem; }
  .sage-home .talk-modes { grid-template-columns: 1fr; gap: 1.25rem; }
  .sage-home .talk-provider-list { gap: .35rem .75rem; }
}

/* Control rules inside "Your way of working, your limits" */
.sage-home #control { scroll-margin-top: 96px; }
.sage-home .ctl-rules { grid-column: 1 / -1; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.sage-home .ctl-title { margin: 0 0 .6rem; font-weight: 650; }
.sage-home .ctl-rules ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.sage-home .ctl-rules li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--color-divider); }
.sage-home .ctl-rules small { display: block; color: var(--muted); font-size: .82rem; }
.sage-home .ctl-rules b { flex: none; padding: .2rem .6rem; border-radius: 999px; font-size: .8rem; font-weight: 650; }
.sage-home .ctl-allow { background: var(--good-bg); color: var(--good-ink); }
.sage-home .ctl-auto { background: var(--color-accent-2-300); color: var(--color-accent-2-900); }
.sage-home .ctl-ask { background: var(--warn-bg); color: var(--warn-ink); }
.sage-home .ctl-block { background: var(--raised); color: var(--color-text); outline: 1px solid var(--line); }
.sage-home .ctl-note { margin: .8rem 0 0; color: var(--muted); font-size: .92rem; }
.sage-home .ctl-note .hr-link { margin-left: .4rem; }

/* Story */
.sage-home .story { background: var(--section); }
.sage-home .story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sage-home .story-intro .hr-link { margin-top: 1.1rem; }
.sage-home .story-card { margin: 0; padding: clamp(1.5rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.sage-home .story-card blockquote { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--color-text); }
.sage-home .story-text { margin: 1rem 0 1.2rem; color: var(--muted); line-height: 1.55; }
.sage-home .story-card figcaption { display: flex; flex-wrap: wrap; gap: .25rem .8rem; align-items: baseline; margin-bottom: 1rem; font-size: .92rem; color: var(--muted); }
.sage-home .story-card figcaption strong { color: var(--color-text); font-size: 1rem; }
.sage-home .story-hand { padding: .1rem .55rem; border-radius: 999px; background: var(--good-bg); color: var(--good-ink); font-weight: 600; }

/* Pricing: three cards and concise price/trial notes. */
.sage-home .pricing { background: var(--paper); }
.sage-home .pricing-intro { max-width: 48rem; }
.sage-home .price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 1rem; max-width: 1040px; margin: 0 auto; padding: 0; list-style: none; }
.sage-home .price-plan { display: flex; flex-direction: column; gap: 1.15rem; min-width: 0; padding: clamp(1.25rem, 2.3vw, 1.8rem); border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.sage-home .price-plan.is-first { border-color: var(--color-accent-2-600); box-shadow: inset 0 0 0 1px var(--color-accent-2-600); }
.sage-home .price-avatars { display: flex; align-items: center; justify-content: center; min-height: 7rem; padding: .5rem 0; isolation: isolate; }
.sage-home .price-avatars img { width: clamp(3.6rem, 6.2vw, 5.1rem); aspect-ratio: 1; height: auto; object-fit: cover; object-position: center 38%; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.sage-home .price-avatars img + img { margin-left: -.7rem; }
.sage-home .price-identity { min-height: 3rem; }
.sage-home .price-name { font-size: 1.32rem; font-weight: 700; line-height: 1.25; }
.sage-home .price-sub { margin: .3rem 0 0; color: var(--muted); font-size: .96rem; }
.sage-home .price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .4rem; font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 680; letter-spacing: -.045em; line-height: 1.08; }
.sage-home .price-amount span { font-size: .86rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.sage-home .price-tax { margin: .55rem 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.sage-home .price-cta { width: 100%; min-height: 48px; text-align: center; }
.sage-home .price-cta svg { width: 16px; height: 16px; flex: 0 0 16px; }
.sage-home .price-plan-features { display: grid; gap: .65rem; margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .93rem; line-height: 1.4; }
.sage-home .price-plan-features li { display: flex; align-items: flex-start; gap: .5rem; }
.sage-home .price-plan-features svg { width: 17px; height: 17px; flex: 0 0 17px; margin-top: .12rem; color: var(--good-ink); }
.sage-home .price-increment { margin: 1.2rem auto 0; text-align: center; color: var(--muted); font-size: .95rem; }
.sage-home .price-increment strong { color: var(--ink); }
.sage-home .price-trial-note { margin: .45rem auto 0; max-width: 48rem; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 880px) {
  .sage-home .price-grid { grid-template-columns: 1fr; max-width: 32rem; }
  .sage-home .price-plan { gap: .85rem; padding: 1.25rem; }
  .sage-home .price-avatars { min-height: 0; padding: .1rem 0; }
  .sage-home .price-avatars img { width: 4.5rem; }
  .sage-home .price-identity { min-height: 0; }
}

/* Homepage FAQ */
.sage-home .home-faq { background: var(--section); }
.sage-home .faq-home { max-width: 46rem; margin: 0 auto; }
.sage-home .faq-home details { border-bottom: 1px solid var(--line); }
.sage-home .faq-home details:first-child { border-top: 1px solid var(--line); }
/* The site's shared .faq styles use Caprasimo and a chevron; the homepage uses its sans-serif and +/–. */
.sage-home .faq-home summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; font-family: inherit; font-weight: 600; font-size: 1.05rem; list-style: none; }
.sage-home .faq-home summary::-webkit-details-marker { display: none; }
.sage-home .faq-home summary::after,
.sage-home .faq-home details[open] summary::after { content: '+'; position: static; flex: none; width: auto; height: auto; border: 0; transform: none; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--muted); }
.sage-home .faq-home details[open] summary::after { content: '–'; }
.sage-home .faq-home .answer { padding: 0 0 1.2rem; color: var(--muted); line-height: 1.6; }
.sage-home .faq-home .answer p + p { margin-top: .7rem; }
.sage-home .faq-home .answer a { color: var(--color-accent); text-decoration: underline; text-underline-offset: .2em; }
.sage-home .faq-home .meta { font-size: .9rem; }

/* Founder note */
.sage-home .founders { background: var(--paper); padding-bottom: 0; }
.sage-home .founders-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: start; max-width: 760px; }
.sage-home .founders-faces { display: flex; }
.sage-home .founders-faces img { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--paper); object-fit: cover; }
.sage-home .founders-faces img + img { margin-left: -18px; }
.sage-home .founders h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.sage-home .founders-who { margin: .3rem 0 .8rem; color: var(--muted); font-size: .92rem; }
.sage-home .founders p:not(.founders-who) { line-height: 1.55; }
.sage-home .founders .hr-link { margin-top: .6rem; }

@media (max-width: 880px) {
  .sage-home .story-grid { grid-template-columns: 1fr; }
  .sage-home .ctl-rules ul { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sage-home .founders-card { grid-template-columns: 1fr; }
}

/* --- Site integration, last (scripts/sage-homepage/overrides.css) --- */
/* House style: site-wide, --color-accent is the teal text accent in light mode.
   The homepage's fills (primary buttons, highlights) use the brand orange. */
:root:not([data-theme="dark"]) .sage-home { --color-accent: var(--color-accent-fill); }
.sage-home { --brand-button-ink: var(--color-on-accent); }

/* Hands Feed kicker on the feed section */
.sage-home .feed-kicker { color: inherit; opacity: .8; }

/* Sage outlook: the next step after a Hand. Outlook only, not for sale yet. */
.sage-home .sage-outlook { padding: clamp(4rem, 7vw, 6.5rem) 0; background: var(--paper); border-top: 1px solid var(--color-divider); }
.sage-home .sage-outlook-intro { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sage-home .sage-outlook-intro p:not(.section-kicker) { margin-top: 1rem; font-size: 1.08rem; line-height: 1.55; color: var(--muted); }
.sage-home .sage-outlook-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; margin: 0; padding: 0; list-style: none; counter-reset: sage-step; }
.sage-home .sage-outlook-steps li { counter-increment: sage-step; padding: 1.5rem; border: 1px dashed var(--color-accent-2-600); border-radius: 22px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.sage-home .sage-outlook-steps li::before { content: counter(sage-step, decimal-leading-zero); display: inline-block; margin-bottom: .8rem; font: 600 .78rem/1 var(--mono); color: var(--good-ink); }
.sage-home .sage-outlook-steps h3 { font-size: 1.25rem; line-height: 1.2; }
.sage-home .sage-outlook-steps p { margin-top: .5rem; color: var(--muted); line-height: 1.5; }
.sage-home .sage-outlook-note { margin-top: 1.4rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 880px) { .sage-home .sage-outlook-steps { grid-template-columns: 1fr; } }

/* Real logos and photos (realism pass, 24 Nov 2026) */
.sage-home .provider-row img { object-fit: contain; }
.sage-home .hr-app-row--logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem .6rem; padding: 1rem; }
.sage-home .hr-app-row--logos li { font-size: .85rem; }
.sage-home .hr-app-row--logos img { width: 2.5rem; height: 2.5rem; padding: .45rem; border-radius: .6rem; background: #fff; object-fit: contain; }
.sage-home .ctl-app { display: flex; align-items: center; gap: .7rem; }
.sage-home .ctl-app img { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: #fff; object-fit: contain; }
.sage-home .story-intro { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.sage-home .story-intro p:not(.section-kicker) { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.sage-home .story-intro .hr-link { margin-left: .4rem; }
.sage-home .story .story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.sage-home .story-card { display: flex; flex-direction: column; }
.sage-home .story-person { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: 1.2rem; }
.sage-home .story-person div { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; color: var(--muted); }
.sage-home .story-person strong { color: var(--color-text); font-size: 1.05rem; }
.sage-home .story-person .story-hand { align-self: flex-start; }
.sage-home .story-photo { width: 64px; height: 84px; border-radius: 14px; object-fit: cover; }
.sage-home .story-logo { max-width: 96px; max-height: 40px; object-fit: contain; border-radius: 6px; }
.sage-home .story-card blockquote { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.sage-home .story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; padding-top: .4rem; }
.sage-home .story-tools { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); }
.sage-home .story-tools span { margin-right: .25rem; }
.sage-home .story-tools img { width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: #fff; object-fit: contain; }
@media (max-width: 880px) { .sage-home .story .story-grid { grid-template-columns: 1fr; } }
.sage-home .story-logo { padding: 6px 8px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.sage-home .hr-tool-logos { display: inline-flex; gap: .3rem; margin-left: .5rem; vertical-align: -3px; }
.sage-home .hr-tool-logos img { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); }

/* Hero: a conversation with your Hand, with what it can use connected behind it (24 Nov 2026) */
.sage-home .hero-chat { display: flex; flex-direction: column; align-items: center; gap: 0; padding: clamp(2rem, 4.5vw, 3.6rem) clamp(1rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.4rem); }
.sage-home .hc-card { position: relative; z-index: 2; width: min(100%, 640px); padding: clamp(1.1rem, 2.4vw, 1.6rem); border-radius: 22px; background: color-mix(in srgb, var(--surface) 94%, transparent); border: 1px solid var(--control-line); box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 30%, transparent), 0 2px 8px color-mix(in srgb, var(--ink) 16%, transparent); backdrop-filter: blur(6px); text-align: left; }
.sage-home .hc-head { display: flex; align-items: center; gap: .55rem; font-size: .92rem; }
.sage-home .hc-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--color-accent-100); }
.sage-home .hc-status { display: inline-flex; align-items: center; gap: .35rem; margin-left: auto; padding: .2rem .6rem; border-radius: 999px; background: var(--good-bg); color: var(--good-ink); font-size: .78rem; font-weight: 650; }
.sage-home .hc-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sage-home .hc-ask { margin: 1rem 0 .9rem; font-size: clamp(1.45rem, 2.8vw, 2rem); font-weight: 640; letter-spacing: -.035em; line-height: 1.1; color: var(--ink); }
.sage-home .hc-input { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .7rem; padding: .7rem .7rem .7rem .9rem; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.sage-home .hc-said { margin: 0; font-size: .98rem; line-height: 1.4; color: var(--ink); }
.sage-home .hc-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.18em; background: var(--color-accent); }
.sage-home .hc-wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.sage-home .hc-wave i { width: 3px; height: 40%; border-radius: 2px; background: var(--color-accent-fill); }
.sage-home .hc-wave i:nth-child(2n) { height: 75%; } .sage-home .hc-wave i:nth-child(3n) { height: 55%; } .sage-home .hc-wave i:nth-child(5n) { height: 95%; }
.sage-home :is(.hc-mic, .hc-send) { display: grid; place-items: center; border-radius: 50%; }
.sage-home :is(.hc-mic, .hc-send) svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sage-home .hc-mic { position: relative; width: 46px; height: 46px; background: var(--color-accent-fill); color: var(--color-on-accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-accent-fill) 22%, transparent); }
.sage-home .hc-send { width: 38px; height: 38px; background: var(--raised); color: var(--muted); }
.sage-home .hc-hint { margin: .7rem .2rem 0; font-size: .82rem; color: var(--muted); }

.sage-home .hc-bus { position: relative; z-index: 1; width: min(78%, 760px); height: 26px; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-top: 0; border-radius: 0 0 14px 14px; }
.sage-home .hc-bus::before { content: ''; position: absolute; left: 50%; top: -1px; width: 1px; height: 10px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.sage-home .hc-nodes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; width: min(100%, 880px); margin: -2px 0 0; padding: 0; list-style: none; }
.sage-home .hc-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding-top: 14px; font-size: .82rem; color: var(--muted); }
.sage-home .hc-node::before { content: ''; position: absolute; left: 50%; top: -2px; width: 1px; height: 16px; background: color-mix(in srgb, var(--ink) 22%, transparent); }
.sage-home .hc-node strong { font-size: .95rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); text-shadow: 0 1px 8px color-mix(in srgb, var(--paper) 60%, transparent); }
/* Hero nodes show what is connected instead of describing it (24 Nov 2026) */
.sage-home .hc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sage-home .hc-viz { display: flex; align-items: center; align-self: stretch; height: calc(84px + 1.7rem); padding: .85rem .95rem; border-radius: 16px; background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--control-line); box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 20%, transparent); }
.sage-home .hc-viz svg { flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sage-home .hc-viz :is(.hv-mems, .hv-apps, .hv-devs, .hv-term) { width: 100%; }
/* Memory: three things it actually keeps */
.sage-home .hv-mems { display: grid; gap: .3rem; }
.sage-home .hv-mem { display: flex; align-items: center; gap: .4rem; min-width: 0; padding: .22rem .5rem .22rem .3rem; border-radius: 8px; background: var(--raised); border: 1px solid var(--line); font-size: .72rem; font-weight: 560; color: var(--ink); white-space: nowrap; }
.sage-home .hv-mem > span { overflow: hidden; text-overflow: ellipsis; }
.sage-home .hv-mem svg { width: 18px; height: 18px; padding: 3px; border-radius: 5px; stroke-width: 2.1; }
.sage-home .hv-mem--rule svg { background: var(--warn-bg); color: var(--warn-ink); }
.sage-home .hv-mem--file svg { background: var(--surface); color: var(--muted); box-shadow: 0 0 0 1px var(--line); }
.sage-home .hv-mem--learn svg { background: var(--good-bg); color: var(--good-ink); }
/* Apps: the logos are the explanation */
.sage-home .hv-apps { display: grid; grid-template-columns: repeat(4, 30px); justify-content: start; gap: .4rem; }
.sage-home .hv-apps img, .sage-home .hv-more { width: 30px; height: 30px; padding: 5px; border-radius: 8px; background: #fff; object-fit: contain; box-shadow: 0 0 0 1px var(--line); }
.sage-home .hv-more { display: grid; place-items: center; padding: 0; background: var(--raised); color: var(--muted); }
.sage-home .hv-more svg { width: 16px; height: 16px; }
/* Devices: its own machines first, yours second */
.sage-home .hv-devs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; }
.sage-home .hv-dev { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-width: 0; height: 39px; border-radius: 9px; font-size: .64rem; font-weight: 620; line-height: 1.05; white-space: nowrap; }
.sage-home .hv-dev > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; padding: 0 .2rem; }
.sage-home .hv-dev svg { width: 17px; height: 17px; }
.sage-home .hv-dev--own { background: color-mix(in srgb, var(--color-accent-fill) 18%, transparent); border: 1px solid color-mix(in srgb, var(--color-accent-fill) 45%, transparent); color: var(--ink); }
.sage-home .hv-dev--own svg { color: var(--color-accent-fill); }
.sage-home .hv-dev--own:first-child::after { content: ''; position: absolute; top: 5px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent-fill); }
.sage-home .hv-dev--yours { background: var(--raised); border: 1px solid var(--line); color: var(--muted); }
/* Environments: its own signed-in terminal */
.sage-home .hv-term { display: flex; flex-direction: column; gap: .12rem; padding: .3rem .5rem .4rem; border-radius: 9px; background: #171513; border: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: #e9e2dc; }
.sage-home .hv-term-bar { display: flex; gap: 4px; margin-bottom: .15rem; }
.sage-home .hv-term-bar i { width: 6px; height: 6px; border-radius: 50%; background: #4a4541; }
.sage-home .hv-term code { display: flex; align-items: center; gap: .35rem; font: inherit; line-height: 1.25; }
.sage-home .hv-term b { color: #ff9a6a; font-weight: 600; }
.sage-home .hv-term img { width: 14px; height: 14px; margin-left: auto; }
.sage-home .hv-caret { display: inline-block; width: 6px; height: .85em; background: #e9e2dc; }

@media (prefers-reduced-motion: no-preference) {
  .sage-home .hc-wave i { animation: hc-wave 1.1s ease-in-out var(--d) infinite alternate; }
  .sage-home .hc-caret { animation: hc-caret 1s steps(1) infinite; }
  .sage-home .hc-mic::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--color-accent-fill); opacity: 0; animation: hc-ring 2.2s ease-out infinite; }
  .sage-home .hv-mem { animation: hv-in .5s ease-out calc(.4s + var(--i) * .35s) both; }
  .sage-home .hv-dev--own:first-child::after { animation: hc-pulse 1.6s ease-in-out infinite; }
  .sage-home .hv-caret { animation: hc-caret 1s steps(1) infinite; }
}
@keyframes hv-in { from { opacity: 0; transform: translateY(4px); } }
@keyframes hc-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
@keyframes hc-caret { 50% { opacity: 0; } }
@keyframes hc-ring { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.45); } }
@keyframes hc-pulse { 50% { opacity: .35; } }

@media (max-width: 900px) {
  .sage-home .hc-nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sage-home .hc-bus { width: 52%; }
  .sage-home .hc-node::before { display: none; }
}
@media (max-width: 560px) {
  .sage-home .hc-input { grid-template-columns: minmax(0, 1fr) auto; }
  .sage-home .hc-wave, .sage-home .hc-send { display: none; }
  .sage-home .hc-node { padding-top: .4rem; gap: .4rem; }
  .sage-home .hc-viz { padding: .7rem; height: auto; min-height: calc(84px + 1.4rem); }
  .sage-home .hv-apps { grid-template-columns: repeat(4, 26px); gap: .3rem; }
  .sage-home .hv-mem { gap: .3rem; padding: .2rem .35rem .2rem .22rem; font-size: .62rem; }
  .sage-home .hv-mem svg { width: 16px; height: 16px; padding: 2.5px; }
  .sage-home .hv-devs { grid-template-columns: 1fr; gap: .2rem; }
  .sage-home .hv-dev { flex-direction: row; justify-content: flex-start; gap: .35rem; height: 19px; padding-left: .35rem; border-radius: 6px; font-size: .62rem; }
  .sage-home .hv-dev svg { width: 13px; height: 13px; }
  .sage-home .hv-dev--own:first-child::after { top: 6px; }
  .sage-home .hv-apps img, .sage-home .hv-more { width: 26px; height: 26px; padding: 4px; }
}

/* Use cases show real material: recordings and product films (24 Nov 2026) */
.sage-home .uc-preview--media { padding: clamp(.75rem, 1.6vw, 1.15rem); min-height: 0; }
.sage-home .uc-screen { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; border-radius: .6rem; background: #141210; border: 1px solid color-mix(in srgb, #fff 12%, transparent); box-shadow: 0 .8rem 1.6rem -.8rem rgb(0 0 0 / 55%); }
.sage-home .uc-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sage-home .uc-tag { position: absolute; top: .55rem; left: .55rem; display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .55rem; border-radius: 999px; background: rgb(20 18 16 / 72%); backdrop-filter: blur(6px); color: #f3ece6; font-size: .7rem; font-weight: 650; letter-spacing: .01em; pointer-events: none; }
.sage-home .uc-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #9aa58a; }
.sage-home .uc-tag--real::before { background: #ff6a4a; }
@media (max-width: 700px) { .sage-home .uc-preview--media { min-height: 0; padding: .7rem; } .sage-home .uc-tag { top: .45rem; left: .45rem; font-size: .64rem; } }

/* Product showcase: stable, interchangeable 16:9 media slots. */
.sage-home .uc-showcase .uc-heading { max-width: 54rem; }
.sage-home .uc-showcase .uc-card { padding-bottom: clamp(.7rem, 1.25vw, 1rem); }
.sage-home .uc-showcase .uc-copy h3 { margin-top: 0; }
.sage-home .uc-showcase .uc-preview--showcase { padding: 0; min-height: 0; }
.sage-home .uc-showcase .uc-screen {
  border-radius: .8rem;
  background: #142f35;
  border: 1px solid color-mix(in srgb, var(--color-neutral-500) 40%, transparent);
  box-shadow: none;
}
.sage-home .uc-showcase .uc-image,
.sage-home .uc-showcase .uc-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.sage-home .uc-showcase .uc-screen--placeholder .uc-image {
  padding: 0 9% 5%;
  box-sizing: border-box;
}
.sage-home .uc-showcase .uc-illustration-caption {
  position: absolute;
  inset: auto .75rem .75rem;
  text-align: center;
  font-size: clamp(.68rem, 1vw, .82rem);
  font-weight: 500;
  line-height: 1.35;
  color: #b6d0cc;
}
@media (max-width: 700px) {
  .sage-home .uc-showcase .uc-screen { border-radius: .65rem; }
}

/* Avatars: actual product portraits in the existing showcase media frame. */
.sage-home .uc-showcase .uc-screen--avatars {
  display: grid;
  grid-template-columns: minmax(0, 44fr) repeat(2, minmax(0, 28fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 3px;
  padding: 3px;
  box-sizing: border-box;
}
.sage-home .uc-showcase .uc-avatar-portrait {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: .3rem;
}
.sage-home .uc-showcase .uc-avatar-featured { grid-row: span 3; }

/* Memory: fill the existing 16:9 showcase frame, focusing on the memory map. */
.sage-home .uc-showcase .uc-screen--memory { background: #141210; }
.sage-home .uc-showcase .uc-screen--memory .uc-video {
  object-fit: cover;
  object-position: center 65%;
}

/* Group Chat: preserve the complete call toolbar on its matching background. */
.sage-home .uc-showcase .uc-screen--group-chat { background: #1a1815; }

/* Embedded Skills demo: the stage is isolated in a shadow root and fills the card. */
.sage-home .uc-showcase .uc-screen--skills-demo { background: #121110; }
.sage-home .uc-showcase .uc-skill-demo { position:absolute; inset:0; }
.sage-home .uc-showcase .uc-screen--skills-demo noscript p { padding:1rem; color:#f4eadc; }
