/* suntekone.com: page layout and the product scenes.
   Built on @suntek-solutions/design-base, served at /design from the workspace package (tools/design-base.mjs).
   This sheet names roles and picks no colour: every colour is a --su-* role, every corner a --su-radius-*,
   every shadow a --su-shadow-*, every stacking level a --ui-z-*. tools/check.mjs enforces it. */

:root {
  --font-display: var(--su-font-head);
  --font-body: var(--su-font-body);
  --font-mono: var(--su-font-mono);
  --bg: var(--su-surface-canvas);
  --bg2: var(--su-surface-quiet);
  --card: var(--su-surface-card);
  --raised: var(--su-surface-raised);
  --bar: var(--su-surface-bar);
  --ink: var(--su-fg);
  --muted: var(--su-fg-secondary);
  --faint: var(--su-fg-tertiary);
  --line: var(--su-edge);
  --line2: var(--su-edge-strong);
  --accent: var(--su-accent);
  --blue: var(--su-chart-1);
  --amber: var(--su-chart-2);
  --cyan: var(--su-chart-4);
  --green: var(--su-chart-6);
  --maxw: 1180px;
  --track: -0.03em;
  --glass: color-mix(in srgb, var(--su-surface-bar) 76%, transparent);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); color: var(--ink); background: var(--bg);
  font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; min-height: 100dvh;
}
img, svg:not(.su-i) { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--su-accent-edge); color: var(--su-fg); }
:focus-visible { outline: 2px solid var(--su-focus); outline-offset: 3px; border-radius: var(--su-radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -64px; z-index: var(--ui-z-toast); background: var(--su-action); color: var(--su-action-ink);
  padding: .6rem 1rem; border-radius: var(--su-radius-md); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.wrap-wide { max-width: 1320px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
section { position: relative; padding-block: clamp(4.25rem, 9vw, 8rem); }
main { position: relative; z-index: var(--ui-z-raised); }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: var(--track); line-height: 1.08; font-weight: 600; text-wrap: balance; }
.lede, .sub, .gap-close, .cta p, .caption, .mini-note, .stats-note, .tile p, .cap p { text-wrap: pretty; }
/* A heading's gradient half keeps together: it moves to its own line before it breaks. */
:is(.sec-head h2, .cta h2, .product-hero h1) .grad { display: inline-block; }
.kicker { font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.lede { color: var(--muted); font-size: 1.07rem; max-width: 44rem; }
.grad { background: linear-gradient(100deg, var(--accent), var(--blue) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--font-mono); }

/* ---------- backdrop: a slow wash of the brand hues on a smooth background (no grid lines since SUN-2675) ---------- */
.backdrop { position: fixed; inset: 0; z-index: var(--ui-z-base); pointer-events: none; overflow: hidden; }
.backdrop span { position: absolute; border-radius: var(--su-radius-round); filter: blur(80px); opacity: .45; will-change: transform; }
.backdrop .b1 { width: 52vmax; height: 52vmax; top: -26vmax; left: -14vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 45%, transparent), transparent 65%); animation: drift1 46s ease-in-out infinite alternate; }
.backdrop .b2 { width: 44vmax; height: 44vmax; top: -12vmax; right: -18vmax;
  background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 32%, transparent), transparent 62%); animation: drift2 54s ease-in-out infinite alternate; }
.backdrop .b3 { width: 46vmax; height: 46vmax; bottom: -30vmax; left: 30vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 22%, transparent), transparent 62%); animation: drift3 62s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate3d(8vw, 6vh, 0) scale(1.1); } }
@keyframes drift2 { to { transform: translate3d(-7vw, 9vh, 0) scale(.94); } }
@keyframes drift3 { to { transform: translate3d(5vw, -7vh, 0) scale(1.06); } }

/* ---------- buttons and chips ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; border-radius: var(--su-radius-round); font-weight: var(--su-weight-button);
  font-size: .97rem; padding: .88rem 1.6rem; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s, border-color .2s, color .2s; }
.btn svg { width: 15px; height: 15px; flex: none; }
.btn-primary { background: var(--su-action); color: var(--su-action-ink); box-shadow: var(--su-glow); }
.btn-primary:hover { transform: translateY(-2px); background: var(--su-action-hover); box-shadow: var(--su-shadow-lg); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .88rem; }

.chip { display: inline-flex; align-items: center; gap: .4rem; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--su-radius-round); padding: .28rem .65rem; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: var(--su-radius-round); background: currentColor; }
.chip.live { color: var(--su-good); border-color: var(--su-good-edge); background: var(--su-good-soft); }
.chip.building { color: var(--su-warn); border-color: var(--su-warn-edge); background: var(--su-warn-soft); }
.chip.planned { color: var(--su-info); border-color: var(--su-info-edge); background: var(--su-info-soft); }
.chip.always { color: var(--accent); border-color: var(--su-accent-edge); background: var(--su-accent-soft); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: var(--ui-z-bar); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 1.6rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.brand .one { color: var(--accent); }
.mark-a { fill: var(--su-fg); }
.mark-b { fill: var(--su-accent); }
/* The Suntek One logo (SUN-2675): the approved artwork, one image per theme with the same geometry and colours,
   SUNTEK in off-white on dark and in ink on light. src/partials/brand.html places it in the header and footer. */
.brand .logo { display: block; height: 24px; width: auto; }
.nav .brand, .foot a.brand { min-height: 44px; }
.brand .logo-on-light { display: none; }
:root[data-theme="light"] .brand .logo-on-dark { display: none; }
:root[data-theme="light"] .brand .logo-on-light { display: block; }
.nav-links { display: flex; gap: 1.45rem; margin-left: auto; }
.nav-links a { font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--su-action); border-radius: var(--su-radius-round); }
.nav-tools { display: flex; align-items: center; gap: .6rem; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--su-radius-round); border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s; }
.icon-btn:hover { color: var(--ink); border-color: var(--line2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="light"] .theme-btn .sun { display: block; }
:root[data-theme="light"] .theme-btn .moon { display: none; }
.menu-btn { display: none; }
/* Both buttons need site.js. Without it (no html.js, or theme.js's fallback removed it) they stay hidden. */
html:not(.js) .theme-btn { display: none; }
@media (max-width: 960px) {
  /* Without site.js the links stay reachable as a scrolling row under the brand. */
  .nav-in { flex-wrap: wrap; height: auto; min-height: 68px; }
  .nav-links { order: 3; flex-basis: 100%; margin: 0; gap: 1.2rem; overflow-x: auto; padding-bottom: .75rem; }
  .nav-links a { white-space: nowrap; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-tools { margin-left: auto; }
  html.js .nav-in { flex-wrap: nowrap; height: 68px; }
  html.js .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; margin: 0; overflow: visible;
    background: var(--bar); border-bottom: 1px solid var(--line); padding: .5rem clamp(1rem, 4vw, 2rem) 1rem; box-shadow: var(--su-shadow-lg); }
  html.js .nav-links a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  html.js .nav.open .nav-links { display: flex; }
  html.js .menu-btn { display: grid; }
}
.nav-demo svg { width: 13px; height: 13px; }
.nav-links .menu-only { display: none; }
@media (max-width: 1100px) { .nav-demo { display: none; } }
@media (max-width: 960px) { .nav-links .menu-only { display: block; } }
@media (max-width: 520px) { .nav-tools .btn { display: none; } }

/* ---------- hero ---------- */
.hero { padding-top: clamp(3.5rem, 9vh, 6rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 7.6vw, 5.8rem); font-weight: 600; line-height: 1.02; margin-bottom: 1.5rem; }
.hero h1 .line { display: block; }
.hero .sub { max-width: 44rem; margin: 0 auto 2.1rem; color: var(--muted); font-size: clamp(1.03rem, 1.5vw, 1.2rem); }
.hero .sub strong { color: var(--ink); font-weight: 600; }
.ctas { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.hero .proof { margin-top: 1.2rem; font-family: var(--font-mono); font-size: .8rem; color: var(--faint); letter-spacing: .02em; }
.hero-mark { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.hero-name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -.01em; }
.product-hero { text-align: left; }
.product-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.product-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
.product-hero .sub { margin-inline: 0; }
.product-hero .ctas { justify-content: flex-start; }
@media (min-width: 1000px) {
  .product-hero .hero-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .product-hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
}
.rise { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.16, 1, .3, 1) forwards; }
.rise-2 { animation-delay: .1s; } .rise-3 { animation-delay: .2s; } .rise-4 { animation-delay: .34s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- section heads ---------- */
.sec-head { max-width: 48rem; margin: 0 auto clamp(2.6rem, 5vw, 4rem); text-align: center; }
.sec-head h2 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); margin-bottom: 1rem; }
.sec-head .lede { margin-inline: auto; }
.sec-head.left { text-align: left; margin-inline: 0; }
.sec-head.left .lede { margin-inline: 0; }

/* ---------- scene frame (product illustrations) ---------- */
.scene { max-width: 1120px; margin: clamp(2.8rem, 6vw, 4.5rem) auto 0; position: relative; }
.scene-glow { position: absolute; inset: 8% 6% -6%; border-radius: var(--su-radius-lg); filter: blur(60px); opacity: .55;
  background: radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--blue) 50%, transparent), transparent 70%); }
.frame { position: relative; border-radius: var(--su-radius-lg); background: var(--card); border: 1px solid var(--line2); box-shadow: var(--su-shadow-xl); overflow: hidden; text-align: left; }
.frame-bar { display: flex; align-items: center; gap: .9rem; padding: .6rem .9rem; background: var(--bg2); border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: .4rem; width: 54px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: var(--su-radius-round); background: var(--line2); }
.url { margin-inline: auto; display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: var(--su-radius-round); padding: .22rem .9rem; background: color-mix(in srgb, var(--bg) 50%, transparent); }
.url svg { display: inline-block; width: 10px; height: 10px; margin-right: .45rem; vertical-align: -1px; }
.frame-bar::after { content: ""; width: 54px; flex: none; }
.caption { margin-top: 1rem; text-align: center; font-size: .82rem; color: var(--faint); }
.caption b { font-family: var(--font-mono); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-right: .5rem; }

/* the app shell inside a frame */
.app { display: grid; grid-template-columns: 76px minmax(0, 1fr); min-height: 520px; font-size: 13px; }
.app-top { grid-column: 1 / -1; display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; border-bottom: 1px solid var(--line); background: var(--bar); }
.app-top .brand { font-size: .92rem; }
.app-top .brand svg { width: 20px; height: 20px; }
.pill { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); padding: .3rem .65rem; color: var(--muted); font-size: 12px; white-space: nowrap; }
.pill svg { width: 13px; height: 13px; }
.pill kbd { font-family: var(--font-mono); font-size: 10px; border: 1px solid var(--line); border-radius: var(--su-radius-sm); padding: 0 .3rem; }
.pill.search { flex: 1; max-width: 300px; }
.pill.ok { color: var(--su-good); border-color: var(--su-good-edge); background: var(--su-good-soft); border-radius: var(--su-radius-round); }
.pill.ok::before { content: ""; width: 7px; height: 7px; border-radius: var(--su-radius-round); background: currentColor; }
.avatar { width: 26px; height: 26px; border-radius: var(--su-radius-round); display: grid; place-items: center; font-weight: 700; font-size: 11px;
  background: var(--su-accent-soft); color: var(--accent); border: 1px solid var(--su-accent-edge); flex: none; }
.spacer { flex: 1; }
.rail { border-right: 1px solid var(--line); padding: .7rem .4rem; display: flex; flex-direction: column; gap: .3rem; background: var(--bar); }
.rail span { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .5rem .2rem; border-radius: var(--su-radius-md); color: var(--muted); font-size: 10.5px; }
.rail span svg { width: 18px; height: 18px; }
.rail span.on { background: var(--su-nav-sel-fill); color: var(--su-nav-sel-ink); outline: 1px solid var(--su-nav-sel-ring); outline-offset: -1px; }
.app-main { padding: 1.1rem 1.2rem 1.3rem; display: grid; gap: .9rem; align-content: start; background: var(--bg); min-width: 0; }
.app-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.app-head h4 { font-size: 1.25rem; letter-spacing: -.02em; }
.app-head p { color: var(--muted); font-size: 12px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
.tile-k { background: var(--card); border: 1px solid var(--line); border-radius: var(--su-radius-mlg); padding: .75rem .85rem .6rem; min-width: 0; }
.tile-k .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.tile-k .v { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -.02em; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.tile-k .d { font-size: 11px; color: var(--su-good); font-weight: 600; }
.tile-k .d.down { color: var(--su-bad); }
.tile-k svg.spark { width: 100%; height: 30px; margin-top: .35rem; }
.spark path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark .area { stroke: none; opacity: .18; }
.s-blue { color: var(--blue); } .s-cyan { color: var(--cyan); } .s-green { color: var(--green); } .s-amber { color: var(--amber); }
.spark path { stroke: currentColor; } .spark .area { fill: currentColor; }
.cols { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: .9rem; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--su-radius-mlg); padding: .85rem .95rem; min-width: 0; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.panel-h b { font-weight: 600; font-size: 13px; }
.panel-h small { color: var(--faint); font-size: 11px; }
.bars { display: flex; align-items: end; gap: 8px; height: 150px; padding-top: .4rem; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: var(--su-radius-sm) var(--su-radius-sm) 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); opacity: .9; height: var(--h);
  transform-origin: bottom; animation: grow 1.2s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--dl, 0s); }
.bars i.alt { background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 85%, transparent), var(--amber)); }
@keyframes grow { from { transform: scaleY(.05); } to { transform: none; } }
.bar-x { display: flex; gap: 8px; margin-top: .35rem; }
.bar-x span { flex: 1; text-align: center; color: var(--faint); font-size: 10px; }
.ask { display: flex; align-items: center; gap: .55rem; border: 1px solid var(--su-accent-edge); background: var(--su-accent-soft); border-radius: var(--su-radius-md); padding: .55rem .7rem; color: var(--ink); font-size: 12.5px; }
.ask svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.bar-x + .ask { margin-top: .8rem; }
.caret { width: 1px; height: 14px; background: var(--accent); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.answer { margin-top: .6rem; display: grid; gap: .45rem; }
.answer .row { display: flex; justify-content: space-between; gap: .6rem; font-size: 12px; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.answer .row span:last-child { font-variant-numeric: tabular-nums; color: var(--su-good); font-weight: 600; }
.badges { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .5rem; }
.badge { display: inline-flex; align-items: center; gap: .3rem; font-size: 10.5px; border: 1px solid var(--line2); color: var(--muted); border-radius: var(--su-radius-round); padding: .12rem .5rem; white-space: nowrap; }
.badge svg { width: 11px; height: 11px; }
.list { display: grid; gap: .1rem; }
.li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: .55rem; align-items: center; padding: .48rem 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.li:last-child { border-bottom: 0; }
.li svg { width: 16px; height: 16px; }
.li .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .t small { display: block; color: var(--faint); font-size: 11px; }
.li .when { color: var(--faint); font-size: 11px; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: var(--su-radius-round); background: var(--su-good); display: inline-block; }
.dot.warn { background: var(--su-warn); } .dot.info { background: var(--su-info); }
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .rail { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .pill.search, .app-top .hide-s { display: none; }
}
@media (max-width: 520px) {
  .dots, .frame-bar::after { display: none; }
  .app-top { gap: .5rem; padding-inline: .7rem; }
  .app-top .pill { padding: .25rem .5rem; font-size: 11px; }
}
@media (max-width: 400px) { .app-top .avatar { display: none; } }

/* ---------- the gap ---------- */
.gaps { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 920px; margin: 0 auto; }
.gap { display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.05rem; border: 1px solid var(--line); border-radius: var(--su-radius-round);
  background: var(--card); color: var(--muted); font-size: .95rem; transition: border-color .25s, color .25s, transform .25s; }
.gap:hover { border-color: var(--su-accent-edge); color: var(--ink); transform: translateY(-2px); }
.gap-close { text-align: center; margin-top: 2.2rem; font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--ink); }

/* ---------- modules ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.module { position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 1.5rem 1.4rem 1.35rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg);
  background: var(--card); transition: transform .3s ease, border-color .3s, box-shadow .3s; overflow: hidden; }
.module::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%); }
a.module:hover { transform: translateY(-4px); border-color: var(--su-accent-edge); box-shadow: var(--su-shadow-lg); }
a.module:hover::after { opacity: 1; }
.module-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.mtile { width: 46px; height: 46px; border-radius: var(--su-radius-mlg); display: grid; place-items: center; color: var(--accent);
  background: var(--su-accent-soft); border: 1px solid var(--su-accent-edge); flex: none; }
.mtile svg { width: 22px; height: 22px; }
.mtile.lg { width: 56px; height: 56px; } .mtile.lg svg { width: 27px; height: 27px; }
.module h3 { font-size: 1.32rem; }
.module p { color: var(--muted); font-size: .96rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--accent); }
.more svg { width: 14px; height: 14px; transition: transform .2s; }
a.module:hover .more svg { transform: translateX(3px); }
.module.dim { opacity: .82; }
@media (max-width: 980px) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .modules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- how it fits ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); position: relative; }
.fit-col { display: grid; gap: .8rem; }
.fit-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: .2rem; }
.node { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); }
.node svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.node b { display: block; font-size: .95rem; }
.node small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.node.src svg { color: var(--muted); }
.core-ring { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.core-ring svg.orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit circle { fill: none; stroke: var(--line2); stroke-width: 1; }
.orbit .spin { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 14; transform-origin: 50% 50%; animation: spin 28s linear infinite; }
.orbit .spin2 { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 2 10; transform-origin: 50% 50%; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.core-center { position: relative; text-align: center; padding: 1.4rem; border-radius: var(--su-radius-round); background: var(--card); border: 1px solid var(--su-accent-edge);
  box-shadow: var(--su-glow); width: 62%; aspect-ratio: 1; display: grid; place-content: center; gap: .35rem; }
.core-center .mtile { margin-inline: auto; }
.core-center b { font-family: var(--font-display); font-size: 1.3rem; }
.core-center small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flow path { fill: none; stroke: var(--su-accent-edge); stroke-width: 1.5; stroke-dasharray: 5 7; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
@media (max-width: 900px) {
  .fit { grid-template-columns: minmax(0, 1fr); }
  .fit .flow { display: none; }
  .core-ring { max-width: 300px; }
}

/* ---------- trust and simplicity ---------- */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.pane { border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); padding: clamp(1.5rem, 3vw, 2.2rem); }
.pane h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.pane > p { color: var(--muted); margin-bottom: 1.3rem; }
.ticks { list-style: none; display: grid; gap: 1rem; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .8rem; color: var(--muted); font-size: .96rem; }
.ticks li strong { color: var(--ink); font-weight: 600; }
.ticks svg { width: 20px; height: 20px; color: var(--accent); margin-top: .15rem; }
.ticks .chip, .cta-card p .chip { margin-left: .35rem; vertical-align: 1px; font-size: .6rem; padding: .16rem .5rem; }
.gap .chip, .node .chip, .first .chip { font-size: .58rem; padding: .14rem .45rem; letter-spacing: .1em; }
.node .chip { margin-left: auto; flex: none; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr); } }

/* ---------- numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.4rem; }
.stat { border-top: 1px solid var(--line2); padding-top: 1.1rem; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-num em { font-style: normal; color: var(--accent); }
.stat-label { margin-top: .55rem; color: var(--muted); font-size: .92rem; }
.stat-when { margin-top: .35rem; font-family: var(--font-mono); font-size: .72rem; color: var(--faint); }
.stats-note { text-align: center; margin-top: 2.4rem; color: var(--faint); font-size: .88rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- audiences ---------- */
.aud { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.aud > div { border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); padding: 1.35rem 1.25rem; }
.aud h3 { font-size: 1.1rem; margin: .8rem 0 .45rem; }
.aud p { color: var(--muted); font-size: .9rem; }
.aud .first { margin-top: .9rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink); }
.aud .first ul { list-style: none; display: grid; gap: .5rem; }
.aud .first li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.aud .first li .chip { flex: none; }
.aud .first span { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .25rem; }
@media (max-width: 1000px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aud { grid-template-columns: minmax(0, 1fr); } }

/* ---------- capabilities (product pages) ---------- */
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.cap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; align-items: start; align-content: start; padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); }
.cap .mtile { grid-row: span 2; width: 40px; height: 40px; }
.cap .mtile svg { width: 19px; height: 19px; }
.cap h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: .7rem; flex-wrap: wrap; }
.cap p { color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .caps { grid-template-columns: minmax(0, 1fr); } }
.group-h { display: flex; align-items: center; gap: .8rem; margin: 2.6rem 0 1.1rem; }
.group-h h3 { font-size: 1.35rem; }

/* ---------- proof band ---------- */
.proof-band { border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.proof-band .stat { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .proof-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- product links strip ---------- */
.others-sec { padding-block: clamp(2.5rem, 5vw, 4rem); }
.others-sec .sec-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.others-sec .sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.others { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; }
.others a { display: flex; align-items: center; gap: .6rem; padding: .85rem .95rem; line-height: 1.25; border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); font-weight: 600; font-size: .95rem; transition: border-color .2s, transform .2s; }
.others a:hover { border-color: var(--su-accent-edge); transform: translateY(-2px); }
.others a[aria-current="page"] { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.others svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
@media (max-width: 1060px) { .others { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .others { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band ---------- */
.cta { text-align: center; padding-top: clamp(2rem, 4vw, 3.5rem); }
.cta-card { position: relative; overflow: hidden; border: 1px solid var(--su-accent-edge); border-radius: var(--su-radius-lg); padding: clamp(2.6rem, 6vw, 4.6rem) clamp(1.2rem, 4vw, 3rem);
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--blue) 22%, transparent), transparent 65%), var(--card); box-shadow: var(--su-shadow-xl); }
.cta h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); max-width: 20ch; margin: 0 auto 1.1rem; }
.cta p { color: var(--muted); max-width: 38rem; margin: 0 auto 2rem; }

/* ---------- footer ---------- */
footer { position: relative; z-index: var(--ui-z-raised); border-top: 1px solid var(--line); padding: 3.4rem 0 2.2rem; background: color-mix(in srgb, var(--bg2) 55%, transparent); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.4rem; margin-bottom: 2.4rem; }
.foot p { color: var(--muted); font-size: .92rem; margin-top: .9rem; max-width: 30rem; }
.foot h3 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; font-weight: 700; }
.foot a { display: block; color: var(--ink); font-size: .94rem; margin-bottom: .55rem; transition: color .2s; }
.foot a:hover { color: var(--accent); }
.foot a.brand { display: inline-flex; margin-bottom: 0; }
.foot a.ext { display: flex; align-items: center; gap: .4rem; }
.foot a.ext svg { width: 12px; height: 12px; color: var(--faint); flex: none; }
/* A demo not on suntekone.com yet keeps its place, with no link (build.mjs {{^demo:<key>}}). */
.foot span.soon { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .94rem; margin-bottom: .55rem; }
.foot span.soon .chip { font-size: .56rem; padding: .1rem .42rem; letter-spacing: .1em; }
.legend { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 1.1rem 0; border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem; }
.legend span { display: inline-flex; align-items: center; gap: .55rem; }
.micro { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.4rem; color: var(--faint); font-size: .82rem; }
@media (max-width: 1000px) { .foot { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; } }

/* ---------- connect pipeline scene ---------- */
.pipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 1.2rem; padding: 1.4rem; background: var(--bg); align-items: center; font-size: 13px; }
.pipe .col { display: grid; gap: .65rem; }
.src { display: flex; align-items: center; gap: .65rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); }
.src .mtile { width: 34px; height: 34px; } .src .mtile svg { width: 16px; height: 16px; }
.src b { display: block; font-size: 12.5px; } .src small { color: var(--faint); font-size: 11px; }
.src .dot { margin-left: auto; }
.engine { border: 1px solid var(--su-accent-edge); border-radius: var(--su-radius-lg); background: var(--card); padding: 1rem; box-shadow: var(--su-glow); }
.engine h5 { font-family: var(--font-display); font-size: 1rem; display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; }
.engine h5 svg { width: 16px; height: 16px; color: var(--accent); }
.stage { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .45rem 0; border-top: 1px dashed var(--line); font-size: 12px; }
.stage .n { width: 20px; height: 20px; border-radius: var(--su-radius-round); display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--su-accent-soft); color: var(--accent); }
.stage em { font-style: normal; color: var(--su-good); font-weight: 600; font-size: 11px; }
.meter { height: 6px; border-radius: var(--su-radius-round); background: var(--bg2); overflow: hidden; margin-top: .7rem; }
.meter i { display: block; height: 100%; width: 100%; background: var(--su-action); transform-origin: left; animation: fill 3.6s ease-in-out infinite; }
@keyframes fill { 0% { transform: scaleX(.05); } 70%, 100% { transform: scaleX(1); } }
.db { border: 1px solid var(--line2); border-radius: var(--su-radius-lg); background: var(--card); padding: .9rem; }
.db h5 { font-family: var(--font-display); font-size: .95rem; margin-bottom: .55rem; display: flex; align-items: center; gap: .5rem; }
.db h5 svg { width: 15px; height: 15px; color: var(--accent); }
.tbl { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11.5px; padding: .32rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.tbl span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
.parity { margin-top: .7rem; display: flex; align-items: center; gap: .45rem; font-size: 11.5px; color: var(--su-good); font-weight: 600; }
.parity svg { width: 14px; height: 14px; }
@media (max-width: 860px) { .pipe { grid-template-columns: minmax(0, 1fr); } }

/* ---------- studio flow scene ---------- */
.steps5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; padding: 1.3rem; background: var(--bg); font-size: 12.5px; }
.st { border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); padding: .85rem; display: grid; gap: .45rem; align-content: start; }
.st.on { border-color: var(--su-accent-edge); box-shadow: var(--su-glow); }
.st .n { font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); letter-spacing: .12em; }
.st b { font-size: 13px; }
.st p { color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.st .badge { justify-self: start; }
.bubble { border-radius: var(--su-radius-md); padding: .45rem .55rem; font-size: 11.5px; line-height: 1.4; background: var(--bg2); }
.bubble.me { background: var(--su-accent-soft); border: 1px solid var(--su-accent-edge); }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 3px; border-radius: var(--su-radius-round); background: var(--accent); height: var(--h); animation: wave 1.2s ease-in-out infinite alternate; animation-delay: var(--dl); }
@keyframes wave { to { transform: scaleY(.35); } }
@media (max-width: 900px) { .steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps5 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- core console scene ---------- */
.console { display: grid; grid-template-columns: 190px minmax(0, 1fr); font-size: 12.5px; min-height: 470px; }
.menu { border-right: 1px solid var(--line); padding: .9rem .7rem; background: var(--bar); display: grid; gap: .15rem; align-content: start; }
.menu .grp { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin: .7rem .4rem .3rem; }
.menu span { padding: .38rem .6rem; border-radius: var(--su-radius-md); color: var(--muted); }
.menu span.on { background: var(--su-nav-sel-fill); color: var(--su-nav-sel-ink); outline: 1px solid var(--su-nav-sel-ring); outline-offset: -1px; }
.chain { display: grid; gap: .45rem; }
.scope { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: .7rem; align-items: center; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--card); }
.scope span:first-child { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.scope code { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.scope.win { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.scope.win code { color: var(--ink); }
.lock { display: flex; align-items: center; gap: .45rem; color: var(--faint); font-size: 11px; margin-top: .4rem; }
.lock svg { width: 13px; height: 13px; }
@media (max-width: 860px) { .console { grid-template-columns: minmax(0, 1fr); } .menu { display: none; } .scope { grid-template-columns: 88px minmax(0, 1fr); } .scope .badge { display: none; } }

/* ---------- screenshot frame (real product, demo data) ---------- */
.shot-crop { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.shot-crop img { width: 100%; height: auto; }
.swap .shot-light { display: none; }
:root[data-theme="light"] .swap .shot-light { display: block; }
:root[data-theme="light"] .swap .shot-dark { display: none; }

/* ---------- hero extras: the eyebrow, the live-demo note, the concept's floating notices ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; padding: .4rem 1rem .4rem .8rem;
  border: 1px solid var(--line2); border-radius: var(--su-radius-round); background: var(--glass);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 600; color: var(--ink); }
.eyebrow .sep { width: 1px; height: 12px; background: var(--line2); }
.eyebrow .dim { color: var(--muted); font-weight: 500; }
.pulse { position: relative; width: 8px; height: 8px; flex: none; border-radius: var(--su-radius-round); background: var(--su-good); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 1px solid var(--su-good); opacity: 0;
  animation: ping 2.4s cubic-bezier(0, 0, .2, 1) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.demo-note { margin-top: 1.1rem; font-size: .84rem; color: var(--faint); text-align: center; text-wrap: balance; }
.demo-note svg { display: inline-block; width: 14px; height: 14px; margin-right: .45rem; vertical-align: -2px; }
.demo-note .mono { color: var(--muted); }
.product-hero .demo-note { text-align: left; text-wrap: pretty; }

/* The tilt projects a little wider than its box, so it plays only where the gutter can take it. */
@media (min-width: 900px) { .scene-hero .frame { transform-origin: 50% 0; animation: settle 1.6s cubic-bezier(.16, 1, .3, 1) .35s both; } }
@keyframes settle { from { transform: perspective(1600px) rotateX(10deg) scale(.96); } to { transform: none; } }
.sat { position: absolute; z-index: var(--ui-z-raised); display: none; align-items: center; gap: .7rem; min-width: 232px; padding: .7rem .85rem;
  border: 1px solid var(--line2); border-radius: var(--su-radius-mlg); background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--su-shadow-lg); font-size: 12.5px; line-height: 1.35; text-align: left; opacity: 0;
  animation: sat-in .9s cubic-bezier(.16, 1, .3, 1) var(--sd, 1s) forwards, float 7s ease-in-out var(--fd, 2s) infinite alternate; }
.sat b { display: block; font-weight: 600; }
.sat small { display: block; color: var(--muted); font-size: 11px; }
.sat .dot { margin-left: auto; flex: none; }
.sat-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: var(--su-radius-md);
  background: var(--su-accent-soft); border: 1px solid var(--su-accent-edge); color: var(--accent); }
.sat-ic svg { width: 15px; height: 15px; }
.sat-btn { margin-left: auto; flex: none; font-size: 11px; font-weight: 700; padding: .3rem .65rem; border-radius: var(--su-radius-round); background: var(--su-action); color: var(--su-action-ink); }
.sat-a { top: -26px; left: -44px; --sd: 1s; --fd: 1.9s; }
.sat-b { bottom: 34px; right: -44px; --sd: 1.25s; --fd: 2.3s; }
.sat-c { top: 57%; left: -52px; --sd: 1.5s; --fd: 2.7s; }
@keyframes sat-in { from { opacity: 0; scale: .9; } to { opacity: 1; scale: 1; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 -10px; } }
@media (min-width: 1280px) { .sat { display: flex; } }

/* ---------- running today: a slow ticker of live capabilities ---------- */
.ticker-sec { padding-block: clamp(2.2rem, 4vw, 3rem); border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg2) 50%, transparent); }
.ticker-head { display: flex; align-items: center; justify-content: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.3rem; text-align: center; }
.ticker-head h2 { font-family: var(--font-body); font-size: .92rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--muted); }
.ticker { display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 8%, var(--ink) 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--ink) 8%, var(--ink) 92%, transparent); }
.ticker-track { display: flex; flex: none; gap: .7rem; padding-right: .7rem; list-style: none; animation: ticker 90s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; padding: .55rem 1rem; border: 1px solid var(--line);
  border-radius: var(--su-radius-round); background: var(--card); font-size: .9rem; font-weight: 500; }
.ticker-track svg { width: 15px; height: 15px; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ---------- the platform, as a bento of products with small previews ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.1rem; }
.tile { position: relative; display: flex; flex-direction: column; gap: .85rem; min-width: 0; padding: 1.5rem 1.4rem 1.3rem; border: 1px solid var(--line);
  border-radius: var(--su-radius-lg); background: var(--card); overflow: hidden; transition: transform .3s ease, border-color .3s, box-shadow .3s; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 10%, transparent), transparent 45%); }
.tile:not(.t-desk):hover { transform: translateY(-4px); border-color: var(--su-accent-edge); box-shadow: var(--su-shadow-lg); }
.tile:not(.t-desk):hover::before { opacity: 1; }
.tile-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.tile h3 { font-size: 1.32rem; }
.tile p { color: var(--muted); font-size: .96rem; }
.tile p strong { color: var(--ink); font-weight: 600; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--su-radius-lg); }
.tile-links { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .6rem .8rem; flex-wrap: wrap; padding-top: .25rem; }
.tile:hover .more svg { transform: translateX(3px); }
.demo-link { position: relative; z-index: var(--ui-z-raised); display: inline-flex; align-items: center; gap: .4rem; padding: .36rem .75rem; font-size: .84rem; font-weight: 600;
  color: var(--muted); border: 1px solid var(--line2); border-radius: var(--su-radius-round); transition: color .2s, border-color .2s, background .2s; }
.demo-link:hover { color: var(--ink); border-color: var(--accent); background: var(--su-accent-soft); }
.demo-link svg { width: 13px; height: 13px; }
.demo-soon { display: inline-flex; align-items: center; padding: .36rem .75rem; font-size: .84rem; font-weight: 600; color: var(--faint);
  border: 1px dashed var(--line2); border-radius: var(--su-radius-round); }
.t-iq { grid-column: span 4; grid-row: span 2; border-color: var(--su-accent-edge);
  background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--blue) 16%, transparent), transparent 60%), var(--card); }
.t-iq h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.t-core { grid-column: span 2; grid-row: span 2; }
.t-connect, .t-growth, .t-studio { grid-column: span 2; }
.t-desk { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1.1rem; padding-block: 1.1rem; opacity: .86; }
.t-desk h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.t-desk .chip { margin-left: auto; flex: none; }
.mini-note { text-align: center; margin-top: 1.4rem; font-size: .82rem; color: var(--faint); }

.mini { border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--bg); padding: .8rem; font-size: 12px; line-height: 1.4; }
.mini-iq { display: grid; gap: .7rem; flex: 1; align-content: start; }
.mq-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.mq-kpis span { min-width: 0; padding: .55rem .7rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--card); }
.mq-kpis small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mq-kpis b { display: block; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mq-kpis em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--su-good); }
.mq-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: .7rem; }
.mq-bars { display: flex; align-items: end; gap: 5px; min-height: 132px; padding: .7rem .7rem 0; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--card); }
.mq-bars i { flex: 1; height: var(--h); border-radius: var(--su-radius-sm) var(--su-radius-sm) 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue));
  transform-origin: bottom; animation: grow 1.2s cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--dl, 0s); }
.mq-bars i.alt { background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 85%, transparent), var(--amber)); }
.mq-iq { display: grid; gap: .3rem; align-content: start; padding: .75rem; border: 1px solid var(--su-accent-edge); border-radius: var(--su-radius-md); background: var(--su-accent-soft); }
.mq-tag { display: inline-flex; align-items: center; gap: .3rem; justify-self: start; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.mq-tag svg { width: 12px; height: 12px; }
.mq-iq b { font-size: 12.5px; }
.mq-iq small { color: var(--muted); font-size: 11px; line-height: 1.35; }
.mq-btn { justify-self: start; margin-top: .35rem; font-size: 10.5px; font-weight: 700; padding: .28rem .65rem; border-radius: var(--su-radius-round); background: var(--su-action); color: var(--su-action-ink); }

.mini-core { display: grid; gap: .4rem; flex: 1; align-content: center; }
.mc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: .5rem; align-items: center; padding: .45rem .65rem; border: 1px solid var(--line);
  border-radius: var(--su-radius-md); background: var(--card); }
.mc-row i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mc-row code { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.mc-row em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--accent); }
.mc-row.win { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.mc-row.win code { color: var(--ink); }

.mini-connect { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: center; gap: .5rem; }
.mn-srcs, .mn-lines { display: grid; grid-auto-rows: 28px; gap: .35rem; }
.mn-srcs span { display: flex; align-items: center; padding-inline: .6rem; font-size: 11px; font-weight: 600; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--card); }
.mn-srcs .soon { color: var(--muted); border-style: dashed; }
.mn-lines i { position: relative; }
.mn-lines i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px dashed var(--su-accent-edge); }
.mn-lines i::before { content: ""; position: absolute; top: calc(50% - 3px); left: 0; width: 6px; height: 6px; border-radius: var(--su-radius-round); background: var(--accent);
  animation: travel 2.6s linear infinite; }
.mn-lines i:nth-child(2)::before { animation-delay: .8s; }
.mn-lines i:nth-child(3)::before { animation-delay: 1.6s; background: var(--su-warn); }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 6px); opacity: 0; } }
.mn-db { display: grid; gap: .15rem; justify-items: start; padding: .6rem .7rem; border: 1px solid var(--line2); border-radius: var(--su-radius-md); background: var(--card); }
.mn-db > svg { width: 16px; height: 16px; color: var(--accent); }
.mn-db b { font-size: 11.5px; }
.mn-db small { display: inline-flex; align-items: center; gap: .25rem; font-size: 10.5px; font-weight: 600; color: var(--su-good); }
.mn-db small svg { width: 11px; height: 11px; }

.mini-growth { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.mg-col { display: grid; gap: .35rem; align-content: start; padding: .5rem; border-radius: var(--su-radius-md); background: var(--bg2); }
.mg-col b { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mg-col i { position: relative; display: block; height: 26px; border: 1px solid var(--line); border-radius: var(--su-radius-sm); background: var(--card); }
.mg-col i::before, .mg-col i::after { content: ""; position: absolute; left: 7px; height: 4px; border-radius: var(--su-radius-round); }
.mg-col i::before { top: 7px; width: 58%; background: var(--line2); }
.mg-col i::after { top: 15px; width: 34%; background: var(--line); }
.mg-col i.hot { border-color: var(--su-warn-edge); }
.mg-col i.hot::before { background: var(--su-warn); }
.mg-col i.won { border-color: var(--su-good-edge); }
.mg-col i.won::before { background: var(--su-good); }

.mini-studio { display: grid; gap: .55rem; }
.ms-frame { display: flex; align-items: flex-end; gap: .7rem; height: 92px; padding: .6rem .7rem; border-radius: var(--su-radius-md); overflow: hidden;
  background: radial-gradient(ellipse at 28% 18%, color-mix(in srgb, var(--blue) 30%, transparent), transparent 60%),
    radial-gradient(ellipse at 82% 92%, color-mix(in srgb, var(--cyan) 22%, transparent), transparent 55%), var(--bg2); }
.ms-play { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: var(--su-radius-round); background: var(--su-action); color: var(--su-action-ink); }
.ms-play svg { width: 13px; height: 13px; }
.ms-wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.ms-wave i { width: 3px; height: var(--h); border-radius: var(--su-radius-round); background: var(--accent); animation: wave 1.2s ease-in-out infinite alternate; animation-delay: var(--dl); }
.ms-ok { display: inline-flex; align-items: center; gap: .35rem; justify-self: start; padding: .22rem .6rem; font-size: 11px; font-weight: 600; color: var(--su-good);
  border: 1px solid var(--su-good-edge); border-radius: var(--su-radius-round); background: var(--su-good-soft); }
.ms-ok svg { width: 12px; height: 12px; }

/* The previews wait to animate until their card is revealed; with no script, html.js is gone and they play at once. */
:where(html.js) [data-reveal]:not(.on) .mq-bars i, :where(html.js) [data-reveal]:not(.on) .mn-lines i::before { animation-play-state: paused; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-iq { grid-column: 1 / -1; grid-row: auto; }
  .t-core, .t-connect, .t-growth, .t-studio { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-desk { flex-direction: column; align-items: flex-start; }
  .t-desk .chip { margin-left: 0; }
  .mq-body { grid-template-columns: minmax(0, 1fr); }
  .mq-bars { min-height: 96px; }
}
@media (max-width: 420px) {
  .mq-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mq-kpis span:nth-child(3) { display: none; }
}

/* ---------- alternating bands give the long page a rhythm ---------- */
.band { background: color-mix(in srgb, var(--bg2) 55%, transparent); border-block: 1px solid var(--line); }

/* ---------- Suntek IQ Insights: one product, two halves ---------- */
.halves { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.2rem; align-items: stretch; }
.half { border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); padding: clamp(1.4rem, 3vw, 2.1rem); }
.half-h { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.half-k { font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.half-h h3 { font-size: clamp(1.5rem, 2.6vw, 1.85rem); }
.join { position: relative; display: grid; place-items: center; width: 56px; }
.join::before { content: ""; position: absolute; top: 10%; bottom: 10%; left: 50%; width: 1px; background: linear-gradient(180deg, transparent, var(--su-accent-edge), transparent); }
.join span { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--su-radius-round); background: var(--card);
  border: 1px solid var(--su-accent-edge); color: var(--accent); box-shadow: var(--su-glow); }
.join svg { width: 20px; height: 20px; }
.halves-cta { margin-top: 2.2rem; }
@media (max-width: 900px) {
  .halves { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .join { width: auto; height: 44px; }
  .join::before { top: 0; bottom: 0; }
  .join span { width: 36px; height: 36px; }
  .join svg { width: 16px; height: 16px; }
}

/* ---------- live demos: a launch pad of the product sign-ins ---------- */
.launch { max-width: 980px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); overflow: hidden; box-shadow: var(--su-shadow-lg); }
.launch a { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto; gap: 1.1rem; align-items: center; padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); transition: background .2s; }
.launch a:first-child { border-top: 0; }
.launch a.feat { background: radial-gradient(ellipse at 0% 50%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 55%); }
.launch a:hover { background: var(--raised); }
.l-body b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.l-body small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.launch code { padding: .3rem .7rem; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); white-space: nowrap;
  border: 1px solid var(--line); border-radius: var(--su-radius-round); background: var(--bg); }
.l-go { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--accent); }
.l-go svg { width: 14px; height: 14px; transition: transform .2s; }
.launch a:hover .l-go svg { transform: translate(2px, -2px); }
.launch div.soon { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 1.1rem; align-items: center; padding: 1.05rem 1.4rem; border-top: 1px solid var(--line); }
.launch div.soon:first-child { border-top: 0; }
.launch div.soon .l-body b { color: var(--muted); }
@media (max-width: 760px) {
  .launch a, .launch div.soon { grid-template-columns: 40px minmax(0, 1fr) auto; gap: .55rem .9rem; padding: 1rem; }
  .launch .mtile { grid-row: 1 / span 2; align-self: start; width: 40px; height: 40px; }
  .launch code { grid-column: 2; grid-row: 2; justify-self: start; font-size: .74rem; }
  .launch .l-go { grid-column: 3; grid-row: 1 / span 2; }
}

/* ---------- product hero: where it stands today ---------- */
.glance { border: 1px solid var(--line2); border-radius: var(--su-radius-lg); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 1.25rem 1.4rem; box-shadow: var(--su-shadow-lg); }
.glance-h { margin-bottom: .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); }
.glance ul { list-style: none; display: grid; }
.glance li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .6rem 0; border-top: 1px solid var(--line); font-size: .93rem; line-height: 1.35; }
.glance li:first-child { border-top: 0; }
.glance .chip { flex: none; font-size: .58rem; padding: .14rem .45rem; letter-spacing: .1em; }
.glance-jump { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .7rem; padding-top: .85rem; border-top: 1px solid var(--line); }
.glance-jump a { display: inline-flex; align-items: center; gap: .35rem; font-size: .86rem; font-weight: 600; color: var(--accent); }
.glance-jump svg { width: 13px; height: 13px; transform: rotate(90deg); }

/* ---------- Suntek IQ Insights scenes: drill-down and the IQ layer ---------- */
.stack { display: grid; gap: .9rem; align-content: start; min-width: 0; }
.tile-k.sel { border-color: var(--su-accent-edge); box-shadow: var(--su-glow); }
.drill .row-d { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; padding: .34rem 0; font-size: 12px; border-bottom: 1px dashed var(--line); }
.drill .row-d span:last-child { font-variant-numeric: tabular-nums; }
.drill .tot { display: flex; justify-content: space-between; gap: .6rem; padding-top: .45rem; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.eq { display: inline-flex; align-items: center; gap: .3rem; margin-top: .35rem; font-size: 11px; font-weight: 600; color: var(--su-good); }
.eq svg { width: 12px; height: 12px; }

.iq-scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.3rem; background: var(--bg); font-size: 12.5px; }
.iq-card { display: grid; gap: .6rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); min-width: 0; }
.iq-card.on { border-color: var(--su-accent-edge); box-shadow: var(--su-glow); }
.iq-card h5 { display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-size: .98rem; font-weight: 600; }
.iq-card h5 svg { width: 16px; height: 16px; color: var(--accent); }
.iq-card h5 .chip { margin-left: auto; font-size: .56rem; padding: .12rem .42rem; letter-spacing: .1em; }
.iq-k { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.formula { padding: .5rem .6rem; font-family: var(--font-mono); font-size: 11.5px; border-radius: var(--su-radius-md); background: var(--bg2); }
.bind { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); }
.bind b { display: block; font-size: 12px; }
.bind small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-mono); font-size: 10.5px; color: var(--faint); }
.bind .eq { margin: 0; }
.rec { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem .65rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--bg); }
.rec.on { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.rec b { display: block; font-size: 12px; }
.rec small { color: var(--faint); font-size: 11px; }
.rec .go { padding: .28rem .6rem; font-size: 10.5px; font-weight: 700; white-space: nowrap; border-radius: var(--su-radius-round); background: var(--su-action); color: var(--su-action-ink); }
.rec .eq { margin: 0; }
.iq-foot { display: flex; align-items: center; gap: .4rem; font-size: 11px; color: var(--muted); }
.iq-foot svg { width: 13px; height: 13px; flex: none; }
@media (max-width: 900px) { .iq-scene { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .iq-scene { padding: .9rem; } }

.next-link { margin: 1.5rem auto 0; }
.cta .next-link { margin: 1.4rem auto 0; }
.next-link a { display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; font-weight: 600; color: var(--accent); }
.next-link svg { width: 14px; height: 14px; transition: transform .2s; }
.next-link a:hover svg { transform: translateX(3px); }
.sec-head + .scene { margin-top: 0; }
.scene + .caps { margin-top: clamp(2.4rem, 5vw, 3.6rem); }

/* ---------- a moved address ---------- */
.page-moved .hero { min-height: 60dvh; display: grid; align-content: center; }

/* ---------- reveal on scroll ----------
   Kept at low specificity and dropped once revealed (site.js adds .on, then .done), so a card's own hover lift,
   dimming and easing apply afterwards. */
:where(html.js) [data-reveal]:not(.done) { transition: opacity .8s ease, transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--rd, 0s); }
:where(html.js) [data-reveal]:not(.on) { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rise, :where(html.js) [data-reveal]:not(.on) { opacity: 1; transform: none; }
  .sat { opacity: 1; }
  .ticker { flex-wrap: wrap; justify-content: center; padding-inline: 1rem; -webkit-mask-image: none; mask-image: none; }
  .ticker-track { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; padding: 0; animation: none; }
  .ticker-track[aria-hidden="true"] { display: none; }
}
@media print { .backdrop, .nav, .scene-glow, .sat { display: none; } :where(html.js) [data-reveal]:not(.on), .rise { opacity: 1 !important; transform: none !important; } }

/* SUN-2611 (2026-11-17): the reworked homepage, solutions, integrations, partners, walkthrough and sources pages. */
.pane > .mtile { margin-bottom: 1rem; }
.pane > p a, .module p a, .fine a, .src-item a, .ex a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.kicker svg { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: .3rem; }

/* The homepage trace: one change, followed from the number to the next step. */
.scene-trace { max-width: 1040px; }
.trace { padding: clamp(1rem, 3vw, 1.6rem); display: grid; gap: 1rem; }
.trace-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; }
.trace-head b { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.trace-head small { color: var(--faint); font-size: .82rem; }
.trace-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; }
.trace-steps li { display: grid; gap: .3rem; align-content: start; min-width: 0; padding: .9rem; border: 1px solid var(--line); border-radius: var(--su-radius-md); background: var(--bg2); }
.trace-steps b { font-size: 1rem; line-height: 1.25; }
.trace-steps small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.ts-k { display: flex; align-items: center; gap: .4rem; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ts-k svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.trace-steps li.warn { border-color: var(--su-warn-edge); background: var(--su-warn-soft); }
.trace-steps li.warn .ts-k svg { color: var(--su-warn); }
.trace-steps li.you { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
@media (max-width: 900px) { .trace-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .trace-steps li.you { grid-column: 1 / -1; } }
@media (max-width: 520px) { .trace-steps { grid-template-columns: minmax(0, 1fr); } }

/* Questions: the short list a page leads with. */
.qs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; max-width: 960px; margin-inline: auto; }
.qs li { display: flex; align-items: flex-start; gap: .8rem; min-width: 0; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); font-weight: 500; line-height: 1.45; }
.qs li > svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: .1rem; }
.qs li > .chip { flex: none; margin-top: .15rem; }
@media (max-width: 720px) { .qs { grid-template-columns: minmax(0, 1fr); } }

/* The loop: five steps; the fourth belongs to people. */
.loop { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem; }
.loop li { position: relative; display: flex; flex-direction: column; gap: .55rem; min-width: 0; padding: 1.25rem 1.1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); }
.loop-n { position: absolute; top: .9rem; right: 1rem; font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }
.loop li .mtile { width: 40px; height: 40px; }
.loop li .mtile svg { width: 19px; height: 19px; }
.loop h3 { font-size: 1.08rem; }
.loop p { color: var(--muted); font-size: .9rem; flex: 1; }
.loop-who { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.loop li:nth-child(4) { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.loop-note { display: flex; align-items: center; justify-content: center; gap: .55rem; margin-top: 1.6rem; color: var(--muted); font-size: .95rem; text-align: center; text-wrap: balance; }
.loop-note svg { width: 18px; height: 18px; color: var(--su-good); flex: none; }
@media (max-width: 1080px) { .loop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .loop { grid-template-columns: minmax(0, 1fr); } }

/* Products: the two at the centre, then the supporting ones. */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.prod { position: relative; display: flex; flex-direction: column; gap: .9rem; transition: border-color .2s; }
.prod:hover { border-color: var(--su-accent-edge); }
.prod h3 { font-size: 1.6rem; margin: 0; }
.prod > p { margin: 0; }
.prod .ticks { flex: 1; }
.sup { margin-top: 1.6rem; display: grid; gap: .8rem; }
.sup-h { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); text-align: center; }
.sup-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.sup-links a { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); transition: border-color .2s; }
.sup-links a:hover { border-color: var(--su-accent-edge); }
.sup-links svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.sup-links b { display: block; font-weight: 600; }
.sup-links small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
@media (max-width: 860px) { .duo, .sup-links { grid-template-columns: minmax(0, 1fr); } }

.caps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .caps.three { grid-template-columns: minmax(0, 1fr); } }
.sec-cta { margin-top: 1.8rem; }
.fine { margin: 1.4rem auto 0; max-width: 46rem; text-align: center; font-size: .86rem; color: var(--faint); text-wrap: pretty; }

/* A cited source, quoted for context. */
.quote { display: flex; flex-direction: column; gap: .8rem; }
.quote > p { margin: 0; }
.q-src { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.quote .q-use { color: var(--ink); font-weight: 500; padding-top: .8rem; border-top: 1px solid var(--line); }

/* Worked examples on the partners page: scoped possibilities, never customer outcomes. */
.ex { display: flex; flex-direction: column; gap: .8rem; }
.ex h3 { margin: 0; }
.ex > p { margin: 0; }
.ex .ticks { flex: 1; }

/* The short videos (SUN-2612): controls, captions on, no autoplay, transcript below. */
.short { max-width: 800px; margin: 0 auto; }
.short.tall { max-width: 380px; }
.short-frame { border-radius: var(--su-radius-lg); overflow: hidden; border: 1px solid var(--line2); background: var(--bg2); box-shadow: var(--su-shadow-lg); }
.short-v { display: block; width: 100%; height: auto; }
.short-cap { margin-top: .9rem; display: grid; gap: .5rem; }
.short-t { font-weight: 600; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.short-d { font-family: var(--font-mono); font-size: .78rem; color: var(--faint); font-weight: 400; }
.short-x summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .92rem; }
.short-x p { color: var(--muted); font-size: .92rem; margin-top: .5rem; }
/* The next step under the homepage video (SUN-2675): usable without playing it, before the transcript. */
.lede-next { margin-top: .9rem; }
.short-go { display: flex; justify-content: center; margin: .6rem 0 .3rem; }
.short-cap { grid-template-columns: minmax(0, 1fr); }
/* On a phone a button's label may wrap rather than push the page sideways (enlarged text, SUN-2675 check). On the
   narrowest phones the padding gives way first, so a label that fits at normal text size stays on one line. */
@media (max-width: 600px) { .btn { max-width: 100%; white-space: normal; text-align: center; justify-content: center; } }
@media (max-width: 420px) { .btn:not(.btn-sm) { padding-inline: 1rem; gap: .45rem; } }

/* The team section closes on its actions: no section-sized gap between its introduction and them (SUN-2675). */
#team .sec-head { margin-bottom: 1.8rem; }
/* A delivery example inside a section (SUN-2675): one line and its source, below the section's own actions. */
.proof { max-width: 44rem; margin: 2.4rem auto 0; padding-top: 1.8rem; border-top: 1px solid var(--line); text-align: center; display: grid; gap: .9rem; justify-items: center; }
.proof p { color: var(--ink); font-size: 1.05rem; text-wrap: pretty; }
.proof a { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.proof a .su-i { width: 16px; height: 16px; }

/* The integration matrix: a table on wide screens, stacked rows under 768 px. */
.matrix-wrap { max-width: 1000px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); overflow: hidden; }
.matrix { width: 100%; border-collapse: collapse; font-size: .94rem; }
.matrix th, .matrix td { text-align: left; vertical-align: top; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.matrix thead th { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); background: var(--bg2); }
.matrix tbody tr:last-child > * { border-bottom: 0; }
.matrix tbody th { font-weight: 600; width: 30%; }
.matrix td { color: var(--muted); }
.matrix td[data-label="Status"] { width: 1%; white-space: nowrap; }
@media (max-width: 767px) {
  .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .matrix, .matrix tbody, .matrix tr, .matrix th, .matrix td { display: block; width: auto; }
  .matrix tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .matrix tbody tr:last-child { border-bottom: 0; }
  .matrix th, .matrix td, .matrix tbody tr:last-child > * { padding: 0; border: 0; }
  .matrix tbody th { width: auto; margin-bottom: .45rem; }
  .matrix td[data-label="Status"] { width: auto; white-space: normal; margin-bottom: .45rem; }
}

/* Questions and answers. */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); padding: 0 1.15rem; }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; }

/* The walkthrough page: four ways to talk to the team. */
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.path { display: flex; flex-direction: column; gap: .9rem; scroll-margin-top: 96px; }
.path h2 { font-size: 1.6rem; }
.path > p { margin: 0; }
.path .btn { align-self: flex-start; margin-top: auto; }
.path:target { border-color: var(--su-accent-edge); box-shadow: var(--su-glow); }
.path-pick { display: flex; align-items: flex-start; gap: .55rem; font-size: .9rem; padding: .7rem .85rem; border-radius: var(--su-radius-md); background: var(--bg2); border: 1px dashed var(--line2); }
.path-pick svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: .2rem; }
.path-pick b { color: var(--ink); }
.path .fine { text-align: left; max-width: none; font-size: .84rem; }
@media (max-width: 860px) { .paths { grid-template-columns: minmax(0, 1fr); } }

/* The source register. */
.sources { display: grid; gap: 1rem; max-width: 900px; }
.src-item { display: grid; gap: .55rem; scroll-margin-top: 96px; }
.src-item h3 { font-size: 1.25rem; margin: 0; }
.src-item > p { margin: 0; font-size: .95rem; }
.src-item b { color: var(--ink); font-weight: 600; }
.src-item a { display: inline-flex; align-items: center; gap: .35rem; }
.src-item a svg { width: 14px; height: 14px; }
.src-item:target { border-color: var(--su-accent-edge); }



/* ==========================================================================================================
   SUN-2701 (2026-11-18): the homepage. Every class below starts with hm- and is used only by
   src/pages/index.html (body.page-home); the shared styles above stay as the other pages use them.
   One authored moment: the location bars in the hero draw once. Nothing on the homepage moves for ever.
   ========================================================================================================== */
.page-home .backdrop span { animation: none; }
.page-home .backdrop { opacity: .7; }

/* Section heads: the heading carries the section, a short line under it, left aligned. */
.hm-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.hm-head h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); margin-bottom: .8rem; }
.hm-head p { color: var(--muted); font-size: 1.06rem; max-width: 40rem; text-wrap: pretty; }
.hm-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 600; color: var(--accent); text-underline-offset: 3px; }
.hm-link:hover { text-decoration: underline; }
.hm-link svg { width: 14px; height: 14px; flex: none; }

/* ---------- hero: the promise on the left, a working Insights answer on the right ---------- */
.hm-hero { padding-block: clamp(1.25rem, 3.5vh, 3rem) clamp(3rem, 6vw, 5rem); }
.hm-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 3rem); align-items: center; }
.hm-hero-copy { container-type: inline-size; }
.hm-hero h1 { font-size: clamp(1.9rem, 9cqi, 3.45rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1.2rem; }
.hm-hero h1 span { display: block; }
/* Two lines at desktop: each sentence keeps to one line, sized to the column (12.9em is the longer line's width). */
@media (min-width: 1000px) { .hm-hero h1 { font-size: min(3.45rem, 7.6cqi); } .hm-hero h1 span { white-space: nowrap; } }
.hm-hero h1 span + span { color: var(--muted); }
.hm-sub { color: var(--muted); font-size: clamp(1.04rem, 1.25vw, 1.17rem); max-width: 33rem; margin-bottom: 1.8rem; text-wrap: pretty; }
.hm-sub strong { color: var(--ink); font-weight: 600; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 520px) { .hm-hero .hm-ctas .btn { flex: 1 1 100%; } }
@media (min-width: 1000px) {
  .hm-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 3.5vw, 3.5rem); }
  /* The panel may run into the page margin on the right, up to 4rem, while the words stay on the logo line. */
  .hm-app { margin-right: calc(-1 * clamp(0px, (100vw - var(--maxw)) / 2, 4rem)); }
}

/* The Insights panel: a question, a ranked chart you can select from, the weeks behind the selected row. */
.hm-app { display: grid; gap: .7rem; padding: clamp(1rem, 2vw, 1.3rem) clamp(1rem, 2vw, 1.4rem); border: 1px solid var(--line2); border-radius: var(--su-radius-lg);
  background: var(--card); box-shadow: var(--su-shadow-xl); font-size: .92rem; line-height: 1.45; min-width: 0; }
.hm-app-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem 1rem; flex-wrap: wrap; font-size: .8rem; color: var(--faint); }
.hm-app-name { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .86rem; color: var(--ink); }
.hm-app-name svg { width: 16px; height: 16px; color: var(--accent); }
.hm-app-note { font-weight: 500; }
.hm-app-ask { font-family: var(--font-display); font-size: clamp(1.12rem, 1.5vw, 1.3rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; }
.hm-app-ctx { margin-top: .3rem; color: var(--muted); font-size: .84rem; text-wrap: pretty; }
.hm-app-chart { padding-top: .8rem; border-top: 1px solid var(--line); }
.hm-app-ch { display: grid; gap: .2rem; margin-bottom: .65rem; }
.hm-app-total { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.hm-app-total b { font-family: var(--font-display); font-size: clamp(1.9rem, 2.6vw, 2.35rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hm-app-total span { color: var(--muted); font-size: .86rem; }
.hm-app-cov { color: var(--faint); font-size: .8rem; }
.hm-app-lh { color: var(--muted); font-size: .8rem; margin-bottom: .35rem; }
.hm-rows { display: grid; gap: .1rem; }
.hm-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 3.9rem; align-items: center; gap: .9rem; min-height: 34px; padding: .2rem .6rem;
  border-radius: var(--su-radius-md); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.hm-row-n { display: flex; align-items: center; gap: .5rem; min-width: 0; font-weight: 500; white-space: nowrap; }
.hm-row-v { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.hm-bar { display: block; height: 10px; width: calc(var(--v) * 100%); border-radius: var(--su-radius-round); background: var(--su-chart-1); transform-origin: left center; }
/* A location with missing days gets no bar and no number: its comparison is withheld, below the ranking. */
.hm-row-held { margin-top: .35rem; }
.hm-held { grid-column: 2 / -1; display: flex; align-items: center; gap: .4rem; min-width: 0; font-size: .82rem; font-weight: 600; color: var(--su-warn); }
.hm-held svg { width: 14px; height: 14px; flex: none; }
.hm-prov { align-self: center; padding: .12rem .55rem; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--su-warn);
  border: 1px solid var(--su-warn-edge); border-radius: var(--su-radius-round); background: var(--su-warn-soft); }
.hm-row.is-on { background: var(--su-accent-soft); border-color: var(--su-accent-edge); }
html.js .hm-row[role="tab"] { cursor: pointer; }
html.js .hm-row[role="tab"]:not(.is-on):hover { background: var(--bg2); }
.hm-ev { display: grid; gap: .45rem; padding: .7rem .85rem; border-radius: var(--su-radius-md); background: var(--bg2); }
.hm-ev[hidden] { display: none; }
.hm-ev-h > span { font-weight: 600; font-size: .86rem; }
.hm-wk { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.hm-wk th { padding-bottom: .2rem; text-align: left; font-size: .74rem; font-weight: 500; color: var(--muted); }
.hm-wk td { font-weight: 600; font-size: .95rem; }
.hm-wk td.hm-wk-flag { color: var(--su-warn); font-size: .8rem; }
.hm-wk td.hm-wk-ok { color: var(--muted); font-weight: 500; font-size: .8rem; }
.hm-ev-src { display: flex; align-items: flex-start; gap: .4rem; font-size: .8rem; color: var(--muted); }
.hm-ev-src svg { width: 14px; height: 14px; flex: none; margin-top: .15rem; color: var(--su-good); }
.hm-ev-warn { color: var(--ink); }
.hm-ev-warn svg { color: var(--su-warn); }
.hm-ev-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; }
.hm-ev-h small { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 500; color: var(--muted); }
.hm-ev-h small svg { width: 13px; height: 13px; flex: none; color: var(--su-good); }
.hm-ev-h small.hm-ev-hold { color: var(--su-warn); font-weight: 600; }
.hm-ev-h small.hm-ev-hold svg { color: var(--su-warn); }

/* Where the answer came from: one line per product, in the order the data moved. */
.hm-trail { padding-top: .75rem; border-top: 1px solid var(--line); }
.hm-trail-h { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 1rem; font-size: .8rem; font-weight: 600; color: var(--muted); }
.hm-trail-h .hm-link { min-height: 44px; font-size: .8rem; }
.hm-trail-h .hm-link svg { width: 12px; height: 12px; }
.hm-trail-l { list-style: none; display: grid; gap: .3rem; margin-top: .3rem; }
.hm-trail-l li { position: relative; display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: .8rem; font-size: .82rem; line-height: 1.4; }
.hm-trail-l b { font-weight: 600; color: var(--accent); }
.hm-trail-l span { color: var(--muted); }
.hm-trail-l li:last-child span { color: var(--ink); }
@media (max-width: 520px) {
  .hm-row { grid-template-columns: minmax(0, 1fr) 3.6rem; gap: .2rem .6rem; padding-block: .45rem; }
  .hm-row .hm-bar, .hm-held { grid-column: 1 / -1; grid-row: 2; }
  .hm-wk td { font-size: .86rem; }
}
/* The one authored moment: the bars draw once, left to right, a beat apart. */
@media (prefers-reduced-motion: no-preference) {
  .hm-bar { animation: hm-draw .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.25s + var(--i, 0) * .07s); }
  .hm-row:nth-child(2) .hm-bar { --i: 1; } .hm-row:nth-child(3) .hm-bar { --i: 2; } .hm-row:nth-child(4) .hm-bar { --i: 3; } .hm-row:nth-child(5) .hm-bar { --i: 4; }
}
@keyframes hm-draw { from { transform: scaleX(.04); } to { transform: none; } }

/* ---------- the step-through: tabs with scripts, every step stacked and readable without ---------- */
.hm-steps { display: grid; gap: 1.25rem; }
.hm-tabs[hidden] { display: none; }
.hm-tabs { position: relative; display: flex; gap: .45rem; overflow-x: auto; padding: .3rem; margin: -.3rem; scrollbar-width: thin; scroll-snap-type: x proximity; }
.hm-tabs button { display: flex; align-items: center; gap: .7rem; flex: none; min-height: 52px; padding: .55rem .95rem .55rem .6rem; text-align: left; scroll-snap-align: start;
  border: 1px solid var(--line); border-radius: var(--su-radius-mlg); background: var(--card); color: var(--muted); transition: border-color .2s, background .2s; }
.hm-tabs button:hover { border-color: var(--line2); }
.hm-tabs button.is-on { border-color: var(--su-accent-edge); background: var(--su-accent-soft); }
.hm-tab-n { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: var(--su-radius-round); border: 1px solid var(--line2);
  font-size: .8rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.hm-tabs button.is-on .hm-tab-n { background: var(--su-action); color: var(--su-action-ink); border-color: var(--su-accent-edge); }
.hm-tab-t b { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.hm-tab-t small { display: block; font-size: .8rem; line-height: 1.3; }
.hm-panels { display: grid; gap: 1.25rem; min-width: 0; }
.hm-step { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); scroll-margin-top: 96px; }
.hm-step[hidden] { display: none; }
.hm-step h3 { font-size: clamp(1.35rem, 2.1vw, 1.7rem); margin-bottom: .7rem; }
.hm-step-copy > p { color: var(--muted); max-width: 34rem; text-wrap: pretty; }
.hm-step-go { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.4rem; margin-top: 1.3rem; }
@media (min-width: 760px) { .hm-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 2rem; } }
@media (min-width: 900px) {
  .hm-steps.is-tabs { grid-template-columns: 15.5rem minmax(0, 1fr); align-items: start; gap: 1.5rem; }
  .is-tabs .hm-tabs { flex-direction: column; overflow: visible; margin: 0; padding: 0; }
  .is-tabs .hm-tabs button { width: 100%; }
}

/* The small product views inside each step. */
.hm-ui { min-width: 0; border: 1px solid var(--line2); border-radius: var(--su-radius-mlg); background: var(--bg); overflow: hidden; font-size: .9rem; }
.hm-ui-h { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .45rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg2); font-weight: 600; font-size: .84rem; }
.hm-crumbs svg { width: 13px; height: 13px; color: var(--faint); }
.hm-crumbs span:last-child { color: var(--accent); }
.hm-dl > div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: .2rem 1rem; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.hm-dl > div:first-child { border-top: 0; }
.hm-dl dt { color: var(--muted); font-size: .85rem; }
.hm-dl dd { font-weight: 500; }
.hm-checks { list-style: none; }
.hm-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .15rem .7rem; padding: .75rem 1rem; border-top: 1px solid var(--line); }
.hm-checks li:first-child { border-top: 0; }
.hm-checks li > span { grid-row: span 2; color: var(--su-good); }
.hm-checks li > span svg { width: 18px; height: 18px; margin-top: .1rem; }
.hm-checks b { font-weight: 600; }
.hm-checks em { font-style: normal; font-size: .84rem; }
.hm-ok { color: var(--muted); }
.hm-warnrow > span { color: var(--su-warn); }
.hm-warn { color: var(--su-warn); font-weight: 600; }
.hm-tbl { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hm-tbl th, .hm-tbl td { padding: .6rem 1rem; text-align: left; border-top: 1px solid var(--line); }
.hm-tbl thead th { border-top: 0; font-size: .78rem; font-weight: 500; color: var(--muted); }
.hm-tbl tbody th { font-weight: 500; }
.hm-tbl td { text-align: right; font-weight: 600; }
.hm-tbl thead th:last-child { text-align: right; }
.hm-decision { display: flex; align-items: center; gap: .8rem; padding: 1rem; }
.hm-decision > svg { width: 40px; height: 40px; padding: 10px; flex: none; border-radius: var(--su-radius-round); color: var(--accent); background: var(--su-accent-soft); border: 1px solid var(--su-accent-edge); }
.hm-decision b { display: block; font-weight: 600; font-size: 1.02rem; }
.hm-decision small { display: block; color: var(--muted); font-size: .84rem; }
.hm-fix { display: grid; gap: .3rem; padding: .9rem 1rem .4rem; border-top: 1px solid var(--line); background: var(--bg2); }
.hm-fix p { color: var(--muted); font-size: .88rem; }
.hm-fix b { color: var(--ink); }
.hm-fix-go { display: flex; flex-wrap: wrap; gap: 0 1.3rem; }
@media (max-width: 480px) { .hm-dl > div { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .hm-bar { animation: none; } }

/* ---------- the homepage's own rhythm: shorter sections than the product pages ---------- */
.page-home main > section:not(.hm-hero) { padding-block: clamp(3.5rem, 7vw, 6rem); }

/* ---------- keep the systems you run: a board from your systems to Connect to SuntekIQ ---------- */
.hm-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.hm-col { min-width: 0; padding: 1.25rem 1.3rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); }
.hm-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.15rem; margin-bottom: .3rem; }
.hm-col h3 svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.hm-col-sub { color: var(--muted); font-size: .92rem; margin-bottom: .8rem; }
.hm-col-connect { border-color: var(--su-accent-edge); background: color-mix(in srgb, var(--su-accent-soft) 60%, var(--card)); }
.hm-srcs { list-style: none; margin-top: .7rem; }
.hm-srcs li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .62rem 0; border-top: 1px solid var(--line); font-size: .94rem; }
.hm-srcs li span { min-width: 0; }
.hm-srcs small { display: block; color: var(--faint); font-size: .8rem; }
.hm-srcs .chip { flex: none; font-size: .58rem; padding: .14rem .45rem; letter-spacing: .1em; }
.hm-does { list-style: none; display: grid; gap: .7rem; }
.hm-does li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: .6rem; font-size: .94rem; }
.hm-does svg { width: 17px; height: 17px; color: var(--su-good); margin-top: .2rem; }
.hm-flow { display: grid; place-items: center; color: var(--accent); }
.hm-flow svg { width: 20px; height: 20px; transform: rotate(90deg); }
@media (min-width: 960px) {
  .hm-board { grid-template-columns: minmax(0, 1.25fr) 2rem minmax(0, 1fr) 2rem minmax(0, 1fr); gap: .5rem; align-items: stretch; }
  .hm-flow svg { transform: none; }
}
.hm-scope { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.1rem; max-width: 52rem; color: var(--muted); font-size: .88rem; }
.hm-scope svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--accent); }
.hm-scope b { color: var(--ink); }
.hm-starts-h { margin-top: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: 1.1rem; font-size: 1.3rem; }
.hm-starts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem 2.4rem; }
.hm-start-i { padding-top: 1rem; border-top: 1px solid var(--line2); }
.hm-start-i h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.hm-start-i p { color: var(--muted); font-size: .95rem; text-wrap: pretty; }
@media (min-width: 820px) { .hm-starts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hm-more { margin-top: 1.1rem; }

/* ---------- solutions: two operations, each with the questions it brings ---------- */
.hm-sols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.4rem; }
.hm-sol { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.hm-sol h3 { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
.hm-sol h3 svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.hm-sol-cap { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: .45rem 0 1rem; color: var(--muted); font-size: .95rem; }
.hm-sol-cap .chip { font-size: .58rem; padding: .14rem .45rem; letter-spacing: .1em; }
.hm-qs { list-style: none; align-self: stretch; margin-bottom: .6rem; }
.hm-qs li { padding: .85rem 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-size: clamp(1.02rem, 1.4vw, 1.14rem); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; text-wrap: pretty; }
@media (min-width: 860px) {
  .hm-sols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
  .hm-sol { padding-right: clamp(1.5rem, 3.5vw, 3rem); }
  .hm-sol + .hm-sol { padding-right: 0; padding-left: clamp(1.5rem, 3.5vw, 3rem); border-left: 1px solid var(--line2); }
}
.hm-other { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 2.4rem; padding: 1rem 1.2rem; border: 1px solid var(--line);
  border-radius: var(--su-radius-lg); background: var(--card); color: var(--muted); font-size: .95rem; }
.hm-other > svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.hm-other > span { flex: 1 1 20rem; min-width: 0; }
.hm-other b { color: var(--ink); }

/* ---------- watch: the overview beside a short note; the player sizes itself (landscape or portrait) ---------- */
.hm-watch-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
.hm-watch-copy h2 { font-size: clamp(1.85rem, 3.2vw, 2.65rem); margin-bottom: .8rem; }
.hm-watch-copy p { color: var(--muted); font-size: 1.04rem; max-width: 30rem; text-wrap: pretty; }
.hm-watch-copy .hm-fine { margin-top: .8rem; font-size: .88rem; color: var(--faint); }
.hm-watch-copy .hm-link { margin-top: .6rem; }
.hm-watch .short { width: 100%; max-width: 860px; margin: 0; }
.hm-watch .short.tall { max-width: 360px; margin-inline: auto; }
.hm-watch .short-go { justify-content: flex-start; }
/* Native captions scale with the player's height, about 9px in a phone's 341 x 192 player: set a readable size there.
   The browser's own dark backing behind the words stays. */
@media (max-width: 600px) { .page-home .short-v::cue { font-size: var(--su-text-md); line-height: 1.35; } }
@media (min-width: 960px) { .hm-watch-in { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 5vw, 4.5rem); } }

/* ---------- products: an index of the two at the centre, then the rest as plain links ---------- */
.hm-index { border-top: 1px solid var(--line2); }
.hm-prod { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 2rem; align-items: center; padding: 1.4rem 0; border-bottom: 1px solid var(--line2); }
.hm-prod h3 { display: flex; align-items: center; gap: .6rem; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.hm-prod h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.hm-prod p { color: var(--muted); text-wrap: pretty; }
.hm-prod-go { display: flex; align-items: center; gap: 1rem; }
.hm-prod-go .chip { font-size: .6rem; padding: .16rem .5rem; }
@media (min-width: 860px) { .hm-prod { grid-template-columns: minmax(0, 19rem) minmax(0, 1fr) auto; } .hm-prod-go { justify-content: flex-end; } }
.hm-also { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.4rem; margin-top: 1.3rem; color: var(--faint); font-size: .92rem; }
.hm-also a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 4px; }
.hm-also a:hover { color: var(--ink); text-decoration-color: var(--accent); }

/* ---------- team: how delivery runs, in order, then the delivery example ---------- */
.hm-time { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
.hm-time li { position: relative; padding-left: 3.2rem; }
.hm-time li::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: -1.6rem; width: 1px; background: var(--line2); }
.hm-time li:last-child::before { display: none; }
.hm-time-n { position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--su-radius-round);
  border: 1px solid var(--su-accent-edge); background: var(--su-accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; font-variant-numeric: tabular-nums; }
.hm-time h3 { font-size: 1.12rem; margin: .2rem 0 .4rem; }
.hm-time p { color: var(--muted); font-size: .95rem; text-wrap: pretty; }
@media (min-width: 900px) {
  .hm-time { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
  .hm-time li { padding-left: 0; padding-top: 3.1rem; }
  .hm-time li::before { left: 44px; right: -1.5rem; top: 16px; bottom: auto; width: auto; height: 1px; }
}
.hm-proof { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 2rem; margin-top: clamp(2.4rem, 5vw, 3.4rem);
  padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--su-radius-lg); background: var(--card); }
.hm-proof p { flex: 1 1 26rem; font-family: var(--font-display); font-size: clamp(1.08rem, 1.6vw, 1.25rem); font-weight: 500; line-height: 1.4; text-wrap: pretty; }
.hm-team-go { display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; margin-top: .9rem; }

/* ---------- closing ---------- */
.hm-close-in { max-width: 52rem; margin-inline: auto; text-align: center; padding: clamp(2.4rem, 5vw, 3.8rem) clamp(1.2rem, 4vw, 3rem);
  border: 1px solid var(--su-accent-edge); border-radius: var(--su-radius-lg); background: var(--card); box-shadow: var(--su-shadow-lg); }
.hm-close-in h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); max-width: 22ch; margin: 0 auto 1rem; }
.hm-close-in > p:not(.hm-routes) { max-width: 38rem; margin: 0 auto 1.8rem; color: var(--muted); text-wrap: pretty; }
.hm-close-in .hm-ctas { justify-content: center; }
.hm-routes { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1.6rem; margin-top: 1.4rem; }

/* SUN-2701 (Codex review): a database SuntekIQ reads directly sits under SuntekIQ, apart from the sources that flow
   through Connect, so the board never draws it through Connect. */
.hm-direct { display: grid; gap: .35rem; margin-top: 1rem; padding: .85rem .95rem; border: 1px dashed var(--su-accent-edge); border-radius: var(--su-radius-md); background: var(--su-accent-soft); }
.hm-direct-h { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.hm-direct-h svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.hm-direct-h .chip { margin-left: auto; flex: none; font-size: .58rem; padding: .14rem .45rem; letter-spacing: .1em; }
.hm-direct > p:last-child { color: var(--muted); font-size: .9rem; line-height: 1.45; }
/* SUN-2701 review: phone targets at least 44px; "Select a location" only while the rows can be selected. */
.hm-step-go .btn-sm { min-height: 44px; }
html:not(.js) .hm-js-only { display: none; }
