/* Komplex design system: black, white, ice blue. */
/* metric-matched fallbacks so text doesn't jump when the web fonts arrive */
@font-face { font-family: "Inter Tight Fallback"; src: local("Arial"); size-adjust: 93.9%; ascent-override: 103%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"); size-adjust: 107.1%; ascent-override: 90%; descent-override: 22.4%; line-gap-override: 0%; }
:root {
  --ink: #0b0c0e;
  --ink-2: #15171b;
  --ink-3: #1f2329;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #e3e7ec;
  --line-dark: rgba(255, 255, 255, .12);
  --muted: #5b6470;
  --muted-dark: #a4acb7;
  --ice: #9ccbf2;
  --ice-soft: #e6f2fc;
  --blue: #2f72b5;
  --blue-ink: #255f99;
  --ok: #2f9e6b;
  --err: #c2453d;

  --f-display: "Inter Tight", "Inter Tight Fallback", system-ui, sans-serif;
  --f-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mark: "Montserrat", "Inter", sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 12, 14, .06), 0 12px 32px -12px rgba(11, 12, 14, .18);
  --shadow-lg: 0 30px 80px -24px rgba(11, 12, 14, .45);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); margin: 0; line-height: 1.05; letter-spacing: -.03em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--blue);
}

.section-dark .eyebrow { color: var(--ice); }
.h-xl { font-size: clamp(2.5rem, 6vw, 4.75rem); }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.h-lg span, .h-xl span { color: var(--blue); }
.section-dark .h-lg span, .section-dark .h-xl span { color: var(--ice); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.section-dark .lede { color: var(--muted-dark); }
.head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 64px); }
.head.center { text-align: center; justify-items: center; }
.head.center .lede { margin: 0 auto; }

/* Buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 15px/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(11, 12, 14, .5); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ice { --bg: var(--ice); --fg: var(--ink); }
.btn-blue { --bg: var(--blue); --fg: #fff; }
.btn-blue:hover { --bg: var(--blue-ink); }
.btn-light { --bg: var(--paper); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn-glass { --bg: rgba(255, 255, 255, .12); --fg: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .2); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.logo svg { width: 28px; height: 28px; flex: none; }
.logo-word { font: 600 15px/1 var(--f-mark); letter-spacing: .32em; margin-right: -.32em; }
.k-stem, .k-roof { fill: currentColor; }
.k-arm { fill: var(--ice); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 14px 0; color: #fff;
  transition: background .3s, color .3s, box-shadow .3s, padding .3s;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .2s, border-color .2s;
}
.nav-links > li > a:not(.btn):hover, .nav-links > li > a[aria-current="page"] { background: rgba(255, 255, 255, .22); }
.nav-links .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.nav.solid { background: rgba(255, 255, 255, .86); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); padding: 10px 0; }
.nav.solid .nav-links > li > a:not(.btn) { background: transparent; border-color: transparent; }
.nav.solid .nav-links > li > a:not(.btn):hover, .nav.solid .nav-links > li > a[aria-current="page"] { background: var(--mist); }
.nav.solid .btn-light { --bg: var(--ink); --fg: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); cursor: pointer; place-items: center; backdrop-filter: blur(12px); }
.nav.solid .nav-toggle { border-color: var(--line); background: var(--paper); }
.nav-toggle i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s; }
.nav-toggle i::before { top: -6px; } .nav-toggle i::after { top: 6px; }
.nav.open .nav-toggle i { background: transparent; }
.nav.open .nav-toggle i::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle i::after { transform: translateY(-6px) rotate(-45deg); }
/* pages without a dark hero start with the solid bar */
.page-light .nav:not(.solid) { color: var(--ink); }
.page-light .nav:not(.solid) .nav-links > li > a:not(.btn) { background: transparent; border-color: transparent; }
.page-light .nav:not(.solid) .btn-light { --bg: var(--ink); --fg: #fff; }
.page-light .nav:not(.solid) .nav-toggle { border-color: var(--line); background: var(--paper); }

/* ---------- Hero: the mountain scene; scrolling walks you inside the app ---------- */
.hero { position: relative; height: 230vh; background: var(--ink); color: #fff; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; transform-origin: 50% 40%; will-change: transform; background: #0e1a28 url("../img/hero/video/walk-poster.webp") center/cover; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(7, 18, 34, .72) 0%, rgba(7, 18, 34, .25) 34%, rgba(7, 18, 34, 0) 50%),
  linear-gradient(0deg, rgba(11, 12, 14, .88) 0%, rgba(11, 12, 14, .35) 34%, rgba(11, 12, 14, 0) 58%),
  linear-gradient(90deg, rgba(11, 12, 14, .35), rgba(11, 12, 14, 0) 60%); }
.hero-title { position: absolute; z-index: 3; left: 0; right: 0; top: clamp(84px, 13vh, 130px); }
.hero-word { margin: 0 0 0 -.04em; font: 700 clamp(4.2rem, 14.5vw, 13.5rem)/.86 var(--f-display); letter-spacing: -.06em; color: #fff; text-shadow: 0 4px 60px rgba(4, 14, 30, .35); }
.hero-tag { margin-top: clamp(26px, 3.4vw, 44px); font: 600 13px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); }
.hero-pause { position: absolute; z-index: 6; right: var(--gutter); top: clamp(84px, 13vh, 130px); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(11, 12, 14, .3); backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; }
.hero-pause span { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero-pause.paused span { width: 0; height: 0; border: 0; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }

/* pinned cards on the scene */
.pin { position: absolute; z-index: 3; }
.pin-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); }
.pin-dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.glass {
  display: flex; gap: 12px; align-items: center; width: 248px; padding: 12px;
  border-radius: var(--r); background: rgba(14, 18, 24, .42); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.glass-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(156, 203, 242, .18); color: var(--ice); }
.glass-ico svg { width: 22px; height: 22px; }
.glass b { display: block; font: 600 14px/1.25 var(--f-body); }
.glass small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .72); margin-top: 2px; }
.glass .tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(47, 158, 107, .22); color: #8fe0b9; }
.pin-a { left: 30%; top: 50%; }
.pin-a .pin-dot { left: 262px; top: 50%; }
.pin-b { right: 8%; top: 40%; }
.pin-b .pin-dot { left: -26px; top: 26px; }
.pin-c { left: 60%; top: 62%; }
.pin-c .pin-dot { left: -26px; top: 26px; }

.hero-copy { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(28px, 6vh, 64px); }
.hero-copy .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.hero-intro { max-width: 520px; }
.hero-intro h2 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.03em; margin-bottom: 14px; }
.hero-intro p { color: rgba(255, 255, 255, .78); font-size: 1.05rem; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-scroll { display: flex; align-items: center; gap: 12px; font-size: 13px; color: rgba(255, 255, 255, .7); text-decoration: none; }
.hero-scroll span { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }
.hero-scroll svg { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(3px); } }

/* the "inside": the app rises into view as you scroll */
.hero-inside { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: 90px var(--gutter) 30px; pointer-events: none; opacity: 0; }
.hero-inside .app { width: min(1120px, 100%); pointer-events: auto; }
.hero-inside-cap { position: absolute; left: 0; right: 0; top: 13vh; text-align: center; font: 600 13px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--ice); }

/* ---------- App mock (the "inside") ---------- */
.app {
  border-radius: 18px; overflow: hidden; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.4;
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dbe1; }
.app-bar span { margin-left: 10px; flex: 1; max-width: 320px; padding: 5px 12px; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 12px; border: 1px solid var(--line); }
.app-body { display: grid; grid-template-columns: 196px 1fr; min-height: 440px; }
.app-side { background: var(--ink); color: #fff; padding: 18px 12px; display: grid; align-content: start; gap: 4px; }
.app-side .logo { padding: 0 8px 16px; }
.app-side .logo svg { width: 22px; height: 22px; }
.app-side .logo-word { font-size: 11px; }
.app-side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: rgba(255, 255, 255, .7); text-decoration: none; font-weight: 500; }
.app-side a.on { background: rgba(156, 203, 242, .14); color: #fff; }
.app-side svg { width: 16px; height: 16px; }
.app-main { padding: 18px 20px; display: grid; gap: 16px; align-content: start; background: #fbfcfd; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-top .app-h { display: block; font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.app-top small { color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--ice-soft); color: var(--blue-ink); }
.chip.ok { background: #e3f5ec; color: #217a52; }
.chip.warn { background: #fdf1e2; color: #9a5b12; }
.chip.dark { background: var(--ink); color: #fff; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.kpis-3 { grid-template-columns: repeat(3, 1fr); }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi small { color: var(--muted); font-size: 11.5px; }
.kpi b { display: block; font: 700 20px/1.2 var(--f-display); letter-spacing: -.02em; margin-top: 4px; }
.kpi em { font-style: normal; font-size: 11px; color: var(--ok); font-weight: 600; }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.col { background: var(--mist); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.col > b { font-size: 11.5px; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; gap: 4px; box-shadow: 0 1px 2px rgba(11, 12, 14, .04); }
.card b { font-size: 12.5px; }
.card small { color: var(--muted); font-size: 11.5px; }
.card .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.card.live { border-color: var(--ice); box-shadow: 0 0 0 3px var(--ice-soft); }

/* ---------- Problem strip ---------- */
.stack { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.stack-old { display: flex; flex-wrap: wrap; gap: 10px; }
.stack-old span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
  background: var(--paper); border: 1px dashed #c9d0d8; color: var(--muted); font-weight: 500; font-size: 14px; text-decoration: line-through; text-decoration-color: rgba(194, 69, 61, .55);
}
.stack-arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; }
.stack-arrow svg { width: 22px; height: 22px; }
.stack-new { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.stack-new .mark { width: 64px; height: 64px; border-radius: 16px; background: #000; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.stack-new .mark svg { width: 34px; height: 34px; }
.stack-new b { font: 700 1.25rem/1.2 var(--f-display); letter-spacing: -.02em; }
.stack-new small { display: block; color: var(--muted-dark); font-size: 14px; margin-top: 4px; }

/* ---------- Feature grid ("One app runs your whole business") ---------- */
.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feat {
  grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 12, 14, .04);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat.wide { grid-column: span 3; }
.feat-media { position: relative; height: 230px; padding: 22px; background: linear-gradient(160deg, var(--ice-soft), #f7fafd 70%); display: grid; place-items: center; overflow: hidden; }
.feat-body { padding: 22px 24px 26px; display: grid; gap: 8px; }
.feat-body .n { font: 600 12px/1 var(--f-body); letter-spacing: .14em; color: var(--blue); text-transform: uppercase; }
.feat-body h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.feat-body p { color: var(--muted); font-size: 15px; }
.feat-body ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; font-size: 14px; }
.feat-body li { display: flex; gap: 8px; align-items: flex-start; }
.feat-body li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%232b6aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* mini UIs inside the feature cards */
.mini { width: 100%; max-width: 330px; background: var(--paper); border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 14px; font-size: 12.5px; display: grid; gap: 10px; }
.mini-h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.mini-line { display: flex; justify-content: space-between; color: var(--muted); }
.mini-line b { color: var(--ink); font-weight: 600; }
.mini-total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font: 700 16px/1 var(--f-display); }
.roof-plan { width: 100%; height: 92px; border-radius: 10px; background: #0f1a26; position: relative; overflow: hidden; }
.roof-plan svg { width: 100%; height: 100%; }
.roof-plan .draw { stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .roof-plan .draw { animation: draw 2.2s var(--ease) forwards .2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cal { display: grid; grid-template-columns: 40px repeat(3, 1fr); gap: 4px; font-size: 11px; }
.cal > span { color: var(--muted); padding: 4px 0; }
.cal .slot { border-radius: 7px; padding: 6px 7px; font-weight: 600; color: var(--ink); background: var(--mist); }
.cal .slot.a { background: var(--ice-soft); color: var(--blue-ink); }
.cal .slot.b { background: var(--ink); color: #fff; }
.cal .slot.c { background: #e3f5ec; color: #217a52; }
.thread { display: grid; gap: 7px; }
.bub { max-width: 82%; padding: 8px 11px; border-radius: 13px; font-size: 12px; line-height: 1.35; }
.bub.in { background: var(--mist); border-bottom-left-radius: 4px; }
.bub.out { background: var(--blue); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bub-meta { font-size: 10.5px; color: var(--muted); text-align: right; }
.pay { display: grid; justify-items: center; gap: 6px; text-align: center; }
.pay-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #e3f5ec; color: var(--ok); }
.pay-ring svg { width: 30px; height: 30px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photos i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(140deg, #2a3442, #4b5a6c); position: relative; overflow: hidden; }
.photos i::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .08) 0 6px, transparent 6px 12px); }
.photos i:nth-child(2) { background: linear-gradient(140deg, #3d4b5c, #6d7f93); }
.photos i:nth-child(4) { background: linear-gradient(140deg, #22303f, #3a5674); }
.photos i:nth-child(6) { background: linear-gradient(140deg, #4a5563, #8796a8); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--ink-2); border: 1px solid var(--line-dark); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: "0" counter(step); font: 700 13px/1 var(--f-display); letter-spacing: .08em; color: var(--ice); }
.step h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.step p { color: var(--muted-dark); font-size: 15px; }
.step .chip { justify-self: start; margin-top: 6px; }

/* ---------- Split / spotlight ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before { content: ""; width: 28px; height: 28px; border-radius: 9px; background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%232b6aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.section-dark .checks li::before, .page-hero-dark .checks li::before { background: rgba(156, 203, 242, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%239ccbf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.checks b { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 15px; }
.section-dark .checks span { color: var(--muted-dark); }
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.plan.hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -12px; left: 26px; padding: 5px 12px; border-radius: 999px; background: var(--ice); color: var(--ink); font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.plan > p { color: var(--muted); font-size: 15px; }
.plan.hot > p { color: var(--muted-dark); }
.price { display: flex; align-items: baseline; gap: 6px; }
.price b { font: 700 3rem/1 var(--f-display); letter-spacing: -.04em; }
.price span { color: var(--muted); font-size: 14px; }
.plan.hot .price span { color: var(--muted-dark); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; font-size: 15px; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%232b6aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan.hot li::before { background: rgba(156, 203, 242, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%239ccbf2' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan .btn { width: 100%; }
.plans-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* ---------- FAQ-free CTA + form ---------- */
.cta-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.section-dark .form { border-color: transparent; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 13.5px; font-weight: 600; }
.field label i, .field legend i { font-style: normal; color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid #d3d9e0; background: var(--paper);
  font-size: 16px; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { padding-right: 40px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235b6470' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/16px no-repeat; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b4bdc8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61, 127, 193, .16); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 4px rgba(194, 69, 61, .12); }
.field .err { color: var(--err); font-size: 13px; min-height: 0; }
.field .err:empty { display: none; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; font-weight: 500; font-size: 14px; }
.pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #d3d9e0; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.pills span:hover { border-color: #b4bdc8; }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; max-width: 34ch; }
.form-status { font-size: 14px; font-weight: 500; }
.form-status.bad { color: var(--err); }
.form-done { display: none; text-align: center; padding: 30px 10px; gap: 12px; justify-items: center; }
.form-done .pay-ring { width: 72px; height: 72px; }
.form-done h2, .form-done h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.form-done p { color: var(--muted); max-width: 36ch; }
.form.sent .form-grid, .form.sent .form-foot, .form.sent .form-head { display: none; }
.form.sent .form-done { display: grid; }
.form-head h2, .form-head h3 { font-size: 1.45rem; letter-spacing: -.02em; }
.form-head p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Footer: mountain banner + links ---------- */
.footer { position: relative; background: var(--ink); color: #fff; padding-top: clamp(56px, 8vw, 96px); }
.footer-banner {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  min-height: 260px; padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), var(--shadow-lg);
}
.footer-banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.footer-banner:hover img { transform: scale(1.06); }
.footer-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 44, .82) 0%, rgba(8, 22, 44, .45) 55%, rgba(8, 22, 44, .15) 100%); }
.footer-banner-copy { max-width: 560px; }
.footer-banner h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); }
.footer-banner h2 span { color: var(--ice); }
.footer-banner p { color: rgba(255, 255, 255, .82); margin-top: 12px; font-size: 1.05rem; }
.footer-main { position: relative; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid p { color: var(--muted-dark); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-grid .footer-h { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 13px; }
.footer-base a { color: inherit; text-decoration: none; }
.footer-base a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(130px, 16vw, 190px) 0 clamp(56px, 8vw, 90px); background: radial-gradient(1200px 500px at 70% -10%, var(--ice-soft), transparent 60%), var(--paper); }
.page-hero .head { margin-bottom: 0; }
.page-hero-dark { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.page-hero-dark > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), rgba(11, 12, 14, .3) 60%, rgba(11, 12, 14, .55)); }
.page-hero-dark .wrap { position: relative; z-index: 1; }
.page-hero-dark .lede { color: rgba(255, 255, 255, .8); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feat, .feat.wide { grid-column: span 1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board .col:nth-child(n+3) { display: none; }
  .pin-a { left: 6%; }
  .pin-b { right: 4%; }
}
@media (max-width: 860px) {
  .split, .cta-band, .stack { grid-template-columns: 1fr; }
  .split.flip > :first-child { order: 0; }
  .stack-arrow { transform: rotate(90deg); justify-self: center; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .pin-c { display: none; }
  .hero-copy .wrap { flex-direction: column; align-items: flex-start; }
  .hero-scroll { display: none; }
}
@media (max-width: 640px) {
  .features, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-word { font-size: 24vw; }
  .hero-title { top: 112px; }
  .hero-pause { top: auto; bottom: 18px; right: 12px; width: 36px; height: 36px; }
  .pin-b { display: none; }
  .cookie { padding: 16px; font-size: 13px; gap: 8px; }
  .pin-a { left: var(--gutter); top: 36%; }
  .pin-a .pin-dot { display: none; }
  .pin-b { right: var(--gutter); top: 50%; }
  .pin-b .pin-dot { display: none; }
  .glass { width: 214px; padding: 10px; }
  .glass-ico { width: 38px; height: 38px; }
  .hero-intro h2 { font-size: 1.65rem; }
  .hero-cta .btn { flex: 1 1 auto; }
  .kpis:not(.kpis-3) .kpi:nth-child(n+3) { display: none; }
  .kpis-3 { gap: 6px; }
  .kpis-3 .kpi { padding: 10px 8px; }
  .kpis-3 .kpi b { font-size: 16px; }
  .board { grid-template-columns: 1fr; }
  .board .col:nth-child(n+2) { display: none; }
  .hero-inside-cap { top: 11vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-banner { min-height: 0; }
  .footer-banner .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero-pin { position: relative; }
  .hero-inside { position: relative; opacity: 1; padding-top: 40px; background: var(--ink); }
  .hero-inside-cap { position: static; margin-bottom: 18px; }
}

/* pricing/demo/legal pages */
.section-tight { padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 120px); }
.billing { display: inline-flex; gap: 4px; padding: 4px; margin-top: 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 12, 14, .05); }
.billing label { position: relative; }
.billing input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing span { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.billing span em { font-style: normal; font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: var(--ice-soft); color: var(--blue-ink); }
.billing input:checked + span { background: var(--ink); color: #fff; }
.billing input:checked + span em { background: var(--ice); color: var(--ink); }
.billing input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.price-note { font-size: 13px; color: var(--muted); margin-top: -10px; }
.plan.hot .price-note { color: var(--muted-dark); }

.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 20px; text-align: center; border-bottom: 1px solid var(--line); }
.compare tbody th { text-align: left; font-weight: 500; }
.compare thead th { font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.02em; vertical-align: bottom; padding-top: 22px; }
.compare thead th small { display: block; font: 500 13px/1.4 var(--f-body); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.compare thead th.hot { color: var(--blue); }
.compare tr.grp th { text-align: left; background: var(--mist); font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding: 12px 20px; }
.compare tr.grp span { position: sticky; left: 14px; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:not(.grp):hover { background: #fafbfc; }
.compare td:nth-child(3) { background: rgba(230, 242, 252, .45); }
.compare .yes { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ice-soft); color: var(--blue-ink); font-weight: 700; font-size: 13px; }
.compare .no { color: #b4bdc8; }
.compare-hint { display: none; text-align: center; font-size: 13px; color: var(--muted); margin-top: 12px; }

.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.inc { padding: 26px 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; align-content: start; }
.inc-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ice-soft); color: var(--blue-ink); }
.inc-ico svg { width: 22px; height: 22px; }
.inc h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.inc p { color: var(--muted); font-size: 15px; }

.demo-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(120px, 14vw, 170px) 0 clamp(80px, 10vw, 120px); isolation: isolate; }
.demo-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; opacity: .62; }
.demo-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(11, 12, 14, .96) 0%, rgba(11, 12, 14, .82) 45%, rgba(11, 12, 14, .55) 100%), linear-gradient(0deg, var(--ink) 0%, rgba(11, 12, 14, 0) 40%); }
.demo-hero .eyebrow { color: var(--ice); }
.demo-hero .h-xl span { color: var(--ice); }
.demo-hero .lede, .demo-hero .checks span { color: rgba(255, 255, 255, .74); }
.demo-hero .checks li::before { background-color: rgba(156, 203, 242, .16); }
.demo-hero .form { box-shadow: var(--shadow-lg); border-color: transparent; }
.demo-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.demo-steps div { display: grid; gap: 8px; align-content: start; font-size: 14px; color: rgba(255, 255, 255, .8); }
.demo-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ice); color: var(--ink); font: 700 13px/1 var(--f-display); }

.legal-date { font-size: 14px; color: var(--muted); }
.prose { max-width: 70ch; font-size: 16.5px; line-height: 1.75; color: #2a2f36; }
.prose h2 { font-size: clamp(1.3rem, 2vw, 1.55rem); letter-spacing: -.02em; color: var(--ink); margin: 2.4em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink); margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1em; }
.prose ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue-ink); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.legal-compliance { margin-top: 2.4em !important; padding: 14px 18px; border-radius: var(--r-sm); background: var(--mist); font-size: 14px; color: var(--muted); }

@media (max-width: 1080px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .included { grid-template-columns: 1fr; }
  .billing span { padding: 0 14px; font-size: 14px; }
  .demo-steps { grid-template-columns: 1fr; }
  .demo-steps div { grid-template-columns: 30px 1fr; align-items: center; }
  .compare th, .compare td { padding: 12px 14px; }
  .compare table { min-width: 560px; font-size: 14px; }
  .compare tbody th[scope="row"], .compare thead td { position: sticky; left: 0; z-index: 1; background: var(--paper); width: 150px; box-shadow: 1px 0 0 var(--line); }
  .compare-hint { display: block; }
}

/* features/roofing pages */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color .2s, background .2s; }
.jump a:hover { border-color: var(--ink); }
.split > div { min-width: 0; }
.phone-pair { position: relative; display: grid; grid-template-columns: 1fr 210px; gap: 18px; align-items: center; }
.phone-pair .mini { max-width: none; }
.phone { padding: 10px; border-radius: 34px; background: var(--ink); box-shadow: var(--shadow-lg); }
.phone-screen { display: grid; gap: 6px; padding: 22px 16px 18px; border-radius: 26px; background: var(--paper); font-size: 12.5px; min-height: 330px; align-content: start; }
.phone-screen > b { font: 700 18px/1.2 var(--f-display); letter-spacing: -.02em; }
.phone-screen > small { color: var(--muted); }
.phone-k { font-weight: 600; letter-spacing: .14em; color: var(--blue) !important; font-size: 10.5px; }
.phone-list { list-style: none; padding: 0; margin: 8px 0 10px; display: grid; gap: 8px; }
.phone-list li { display: flex; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: var(--mist); }
.phone-list li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.6px solid #b4bdc8; }
.phone-list li.done { color: var(--muted); text-decoration: line-through; }
.phone-list li.done::before { border-color: var(--ok); background: var(--ok); box-shadow: inset 0 0 0 2px #fff; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 14px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--ice), var(--blue)); }
.bars i:nth-child(-n+5) { background: linear-gradient(180deg, #cfe3f6, #9ccbf2); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { display: grid; gap: 10px; align-content: start; padding: 26px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tile h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.tile p { color: var(--muted); font-size: 15px; }
.tile-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--ice-soft); color: var(--blue-ink); margin-bottom: 6px; }
.tile-ico svg { width: 22px; height: 22px; }
.page-hero-dark .h-xl span, .page-hero-dark .h-lg span, .page-hero-dark .eyebrow { color: var(--ice); }
.section-dark .mini { color: var(--ink); }
.split .board { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1080px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .phone-pair { grid-template-columns: 1fr; justify-items: center; }
  .phone { width: 230px; }
  .bars { height: 120px; gap: 6px; }
}


/* ---------- Product menu ---------- */
.has-menu { position: relative; }
.nav-menu-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 16px; border-radius: 999px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: inherit; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background .2s;
}
.nav-menu-btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-menu.open .nav-menu-btn svg { transform: rotate(180deg); }
.nav-menu-btn:hover, .nav-menu-btn[aria-current="page"] { background: rgba(255, 255, 255, .22); }
.nav.solid .nav-menu-btn, .page-light .nav:not(.solid) .nav-menu-btn { background: transparent; border-color: transparent; }
.nav.solid .nav-menu-btn:hover, .nav.solid .nav-menu-btn[aria-current="page"], .page-light .nav .nav-menu-btn:hover, .page-light .nav .nav-menu-btn[aria-current="page"] { background: var(--mist); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: var(--paper); color: var(--ink); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-menu.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1001px) { .has-menu:hover .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--mist); }
.nav-menu a > svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--ice-soft); color: var(--blue-ink); }
.nav-menu b { display: block; font-size: 14px; font-weight: 600; }
.nav-menu small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nav-menu .nav-menu-all { grid-column: 1 / -1; justify-content: center; align-items: center; gap: 8px; margin-top: 4px; background: var(--mist); font-weight: 600; font-size: 14px; }
.nav-menu .nav-menu-all > svg { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; color: currentColor; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; overflow-y: auto;
    padding: 84px var(--gutter) 40px; background: var(--ink); color: #fff;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .nav.open { color: #fff; }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav-links > li > a:not(.btn), .nav.solid .nav-links > li > a:not(.btn), .nav-menu-btn, .nav.solid .nav-menu-btn, .page-light .nav:not(.solid) .nav-menu-btn {
    display: flex; width: 100%; min-height: 54px; justify-content: center; align-items: center; font-size: 17px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  }
  .nav-links .btn { min-height: 56px; font-size: 17px; width: 100%; }
  .nav.open .nav-links .btn-light, .nav-links .btn-light { --bg: var(--ice); --fg: var(--ink); }
  .nav.open .nav-toggle { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; }
  .nav-menu { position: static; width: auto; transform: none; display: none; grid-template-columns: 1fr; margin-top: 8px; opacity: 1; visibility: visible; background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
  .has-menu.open .nav-menu { display: grid; transform: none; }
  .nav-menu::before { display: none; }
  .nav-menu a:hover { background: rgba(255, 255, 255, .06); }
  .nav-menu a > svg { background: rgba(156, 203, 242, .14); color: var(--ice); }
  .nav-menu small { color: var(--muted-dark); }
  .nav-menu .nav-menu-all { background: rgba(255, 255, 255, .08); }
}

/* ---------- Form extras: text consent, pill ticks ---------- */
.check { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.field .check input { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; border-radius: 6px; border: 1.5px solid #b4bdc8; cursor: pointer; }
.field .check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--ink); }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.fine a { color: inherit; }
.sms-consent { padding: 12px 14px; border-radius: 12px; background: var(--mist); gap: 8px; }
.pills span::before { content: ""; width: 0; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.2' fill='none' stroke='%239ccbf2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: width .2s, margin .2s; }
.pills input:checked + span::before { width: 14px; margin-right: 6px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px));
  padding: 20px; border-radius: 18px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; gap: 10px; font-size: 14px; animation: rise .4s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie-h { font: 700 16px/1.2 var(--f-display); letter-spacing: -.01em; }
.cookie p { color: var(--muted); }
.cookie a { color: var(--ink); }
.cookie-btns { display: flex; gap: 8px; margin-top: 4px; }
.cookie-btns .btn { flex: 1; min-height: 44px; padding: 0 14px; font-size: 14px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
body:has(.nav.open) .cookie { display: none; }
.link-btn { padding: 0; border: 0; background: none; cursor: pointer; color: rgba(255, 255, 255, .78); font-size: 15px; }
.link-btn:hover { color: #fff; }

/* how-it-works/payroll pages */
.stage-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 18px/1 var(--f-display); }
.section-dark .stage-n { background: var(--ice); color: var(--ink); }
.split > div > .phone { width: 280px; max-width: 100%; }
.clock-big { display: block; font: 700 34px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin: 6px 0 2px; }
.launch-note { margin-top: 28px; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line-dark); background: var(--ink-2); color: var(--muted-dark); font-size: 15px; }
.launch-note b { color: #fff; }
.split > *, .ts-wrap, .app-main:has(.ts-wrap) { min-width: 0; }
.ts-wrap { position: relative; max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.ts { width: 100%; border-collapse: collapse; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ts th, .ts td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.ts thead th { font-weight: 600; color: var(--muted); font-size: 11.5px; background: var(--mist); }
.ts th[scope="row"], .ts thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.ts thead th:first-child { color: var(--muted); }
.ts tbody tr:last-child th, .ts tbody tr:last-child td { border-bottom: 0; }
.ts tr.flag { background: #fdf6ec; }
.cost { display: grid; gap: 8px; padding: 4px 0 6px; }
.cost-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--muted); }
.cost-row span:last-child { color: var(--ink); font-weight: 600; }
.cost-bar { height: 8px; border-radius: 999px; background: var(--mist); overflow: hidden; }
.cost-bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--ice)); }
@media (max-width: 860px) {
  #getting-started .steps { grid-template-columns: 1fr !important; }
}

/* ---------- Hero v3: centered mark over the house video ---------- */
.hero { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.hero-scene { z-index: -2; }
.hero-shade { z-index: -1; background:
  radial-gradient(ellipse 70% 55% at 50% 48%, rgba(6, 16, 30, .55), rgba(6, 16, 30, 0) 70%),
  linear-gradient(180deg, rgba(6, 16, 30, .55) 0%, rgba(6, 16, 30, 0) 30%),
  linear-gradient(0deg, rgba(11, 12, 14, .75) 0%, rgba(11, 12, 14, 0) 40%); }
.hero-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 90px var(--gutter) 60px; will-change: transform, opacity; }
.hero-mark { display: block; white-space: nowrap; margin: 0; color: #fff; font: 600 clamp(3rem, 11vw, 10.5rem)/1 var(--f-mark); letter-spacing: .06em; filter: drop-shadow(0 6px 40px rgba(4, 14, 30, .45)); }
/* the K is drawn from Montserrat 600's own K (stem, arm angle, cap height) so it sits on the baseline like a letter */
.hero-mark .hero-k { display: inline-block; width: .735em; height: .703em; vertical-align: baseline; margin-right: .054em; overflow: visible; }
.hero-slogan { margin-top: clamp(14px, 2vw, 24px); font: 600 clamp(1.25rem, 2.4vw, 2rem)/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ice); }
.hero-sub { margin-top: 12px; max-width: 46ch; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, 1.3vw, 1.125rem); }
.hero-center .hero-cta { justify-content: center; margin-top: 28px; }
.hero > .hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); }
.hero > .hero-scroll span { width: 46px; height: 46px; }
.hero > .hero-pause { top: auto; bottom: 26px; right: var(--gutter); }
@media (max-width: 640px) {
  .hero-mark { font-size: 12.6vw; letter-spacing: .04em; }
  .hero-center .hero-cta { width: 100%; }
  .hero > .hero-scroll { display: none; }
  .hero > .hero-pause { right: 14px; bottom: 16px; }
}

/* ---------- Inside Komplex (interactive demo mounts in .kx-demo) ---------- */
.inside { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 120px) 0 clamp(64px, 8vw, 110px); }
.inside-head { display: grid; gap: 16px; justify-items: center; text-align: center; padding: 0 var(--gutter); margin-bottom: clamp(32px, 4vw, 48px); }
.inside-head .lede { color: var(--muted-dark); margin: 0 auto; }
.inside-head .h-lg span { color: var(--ice); }
.kx-demo { width: min(1560px, calc(100vw - 2 * var(--gutter))); margin: 0 auto; }

/* system menu / pricing v2 / stack v2 */
/* nav: plain text links, no pills */
.nav .wrap { position: relative; }
.nav-links { gap: 4px; }
.nav-links > li > a:not(.btn), .nav-menu-btn,
.nav.solid .nav-links > li > a:not(.btn), .nav.solid .nav-menu-btn,
.page-light .nav:not(.solid) .nav-links > li > a:not(.btn), .page-light .nav:not(.solid) .nav-menu-btn {
  position: relative; min-height: 40px; padding: 0 12px; border: 0; border-radius: 0; background: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; font-size: 14.5px; font-weight: 500; opacity: .88; transition: opacity .2s;
}
.nav-links > li > a:not(.btn)::after, .nav-menu-btn::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-menu-btn::after { right: 30px; }
.nav-links > li > a:not(.btn):hover, .nav-menu-btn:hover, .has-menu.open .nav-menu-btn,
.nav.solid .nav-links > li > a:not(.btn):hover, .nav.solid .nav-menu-btn:hover, .page-light .nav .nav-menu-btn:hover { background: none; opacity: 1; }
.nav-links > li > a:not(.btn):hover::after, .nav-menu-btn:hover::after, .has-menu.open .nav-menu-btn::after { transform: scaleX(1); }
.nav-links > li > a[aria-current="page"], .nav-menu-btn[aria-current="page"],
.nav.solid .nav-links > li > a[aria-current="page"], .nav.solid .nav-menu-btn[aria-current="page"],
.page-light .nav .nav-menu-btn[aria-current="page"] { background: none; opacity: 1; }
.nav-links > li > a[aria-current="page"]::after, .nav-menu-btn[aria-current="page"]::after { transform: scaleX(1); background: var(--ice); }
.nav.solid .nav-links > li > a[aria-current="page"]::after, .page-light .nav .nav-links > li > a[aria-current="page"]::after,
.nav.solid .nav-menu-btn[aria-current="page"]::after, .page-light .nav .nav-menu-btn[aria-current="page"]::after { background: var(--blue); }
.nav-cta-li { margin-left: 10px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .22); }
.nav.solid .nav-cta-li, .page-light .nav:not(.solid) .nav-cta-li { border-left-color: var(--line); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ice); }
.nav.solid .nav-cta, .page-light .nav:not(.solid) .nav-cta { color: var(--blue); }
.nav-cta svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-cta:hover svg { transform: translateX(4px); }

/* mega menu */
.has-menu { position: static; }
.nav-menu.mega {
  left: 50%; width: min(940px, calc(100vw - 32px)); top: calc(100% + 4px); padding: 22px;
  grid-template-columns: repeat(3, 1fr); gap: 4px 18px; align-items: start;
}
.mega-col { display: grid; gap: 2px; }
.mega-h { padding: 0 12px 8px; font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav-menu.mega a { padding: 10px 12px; }
.nav-menu.mega a > svg { width: 32px; height: 32px; }
.nav-menu.mega .mega-all { margin-top: 10px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; }
.nav-menu.mega .mega-all:hover { background: var(--ink-3); }
.nav-menu.mega .mega-all > svg { width: 16px; height: 16px; padding: 0; background: none; color: var(--ice); }
@media (max-width: 1000px) {
  .nav-links > li > a:not(.btn), .nav.solid .nav-links > li > a:not(.btn), .nav-menu-btn, .nav.solid .nav-menu-btn, .page-light .nav:not(.solid) .nav-menu-btn {
    width: 100%; min-height: 56px; justify-content: space-between; padding: 0 4px; font-size: 19px; color: #fff; opacity: 1;
    border: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); background: none;
  }
  .nav-links > li > a:not(.btn)::after, .nav-menu-btn::after { display: none; }
  .nav-links > li > a[aria-current="page"], .nav-menu-btn[aria-current="page"] { color: var(--ice); }
  .nav-cta-li { margin: 18px 0 0; padding: 0; border: 0; }
  .nav-cta, .nav.solid .nav-cta, .page-light .nav:not(.solid) .nav-cta { width: 100%; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--ice); color: var(--ink); font-size: 17px; }
  .nav-menu.mega { width: auto; padding: 8px 0 14px; grid-template-columns: 1fr; gap: 14px; background: none; border: 0; margin: 0; }
  .mega-h { padding: 6px 4px 6px; color: var(--muted-dark); }
  .nav-menu.mega a { padding: 9px 4px; }
  .nav-menu.mega .mega-all { display: none; }
}

/* features: every module, grouped like the app */
.mods-group + .mods-group { margin-top: clamp(40px, 5vw, 64px); }
.mods-h { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { display: grid; align-content: start; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); scroll-margin-top: 90px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mod:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mod:target { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 114, 181, .14); }
.mod-top { display: flex; align-items: center; gap: 10px; }
.mod-top svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--ice-soft); color: var(--blue-ink); flex: none; }
.mod h4 { font: 700 1.1rem/1.2 var(--f-display); letter-spacing: -.01em; }
.mod p { color: var(--muted); font-size: 14.5px; }
.mod p a { color: var(--blue); }
.mod-mock { height: 96px; padding: 12px; border-radius: 14px; background: linear-gradient(160deg, var(--ice-soft), #f7fafd 70%); display: grid; align-content: center; gap: 8px; font-size: 12.5px; overflow: hidden; position: relative; }
.mm-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); }
.mm-row span:first-child { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-row .chip { padding: 2px 8px; font-size: 11px; }
.mm-bar { height: 6px; border-radius: 6px; background: #dbe6f1; overflow: hidden; }
.mm-bar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; }
.mm-bub { justify-self: end; max-width: 80%; padding: 6px 10px; border-radius: 12px 12px 4px 12px; background: var(--blue); color: #fff; }
.mm-bub.in { justify-self: start; border-radius: 12px 12px 12px 4px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.mm-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mm-cal i { height: 48px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.mm-cal i.a { background: var(--ice); border-color: var(--ice); }
.mm-cal i.b { background: var(--ink); border-color: var(--ink); }
.mm-cal i.c { background: #bfe6d2; border-color: #bfe6d2; }
.mm-map { background: #dfe9f2 repeating-linear-gradient(35deg, transparent 0 22px, rgba(255, 255, 255, .7) 22px 25px); }
.mm-map i { position: absolute; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--blue); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.mm-map i.b { background: var(--ink); }
.mm-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mm-photos i { aspect-ratio: 1; border-radius: 8px; background: linear-gradient(140deg, #2a3442, #5c6d82); }
.mm-photos i:nth-child(2n) { background: linear-gradient(140deg, #3a5674, #8796a8); }
@media (max-width: 1080px) { .mods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .mods { grid-template-columns: 1fr; } }

/* stack v2: the tool cloud that collapses into Komplex */
.cloud { position: relative; height: clamp(480px, 48vw, 600px); }
.cloud-chips { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.cloud-chips li {
  position: absolute; left: calc(50% + var(--x)); top: calc(50% + var(--y)); transform: translate(-50%, -50%);
  width: 96px; display: grid; justify-items: center; gap: 7px; text-align: center;
  transition: left 1.1s var(--ease), top 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
  transition-delay: calc(1.1s + var(--i) * 45ms);
}
.app-ico {
  position: relative; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--g2), var(--g1));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 18px -8px var(--g1), 0 2px 4px rgba(11, 12, 14, .1);
}
.app-ico svg { width: 24px; height: 24px; }
.app-name { font-size: 12.5px; line-height: 1.25; font-weight: 600; color: var(--ink); }
/* once the section is in view each app gets crossed off and pulled toward Komplex */
.cloud-chips li::after {
  content: ""; position: absolute; top: -6px; left: calc(50% + 14px); width: 20px; height: 20px; border-radius: 50%;
  background: var(--err) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 5 6 6M11 5l-6 6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat;
  box-shadow: 0 0 0 2px var(--mist); transform: scale(0); transition: transform .35s var(--ease); transition-delay: calc(.2s + var(--i) * 45ms);
}
.cloud.in .cloud-chips li::after { transform: scale(1); }
.cloud.in .cloud-chips li { left: calc(50% + var(--x) * .86); top: calc(50% + var(--y) * .84); opacity: .78; filter: grayscale(.45) saturate(.8); }
.cloud-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92); opacity: 0; transition: opacity .8s var(--ease) 1.5s, transform .8s var(--ease) 1.5s, box-shadow .8s 1.9s; width: max-content; max-width: calc(100% - 32px); }
.cloud.in .cloud-core { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 10px rgba(156, 203, 242, .25), var(--shadow-lg); }
.cloud.reveal { opacity: 1; transform: none; }
.no-js .cloud-core { opacity: 1; }
@media (max-width: 960px) {
  .cloud { height: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cloud-chips { position: static; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 8px; }
  .cloud-chips li, .cloud.in .cloud-chips li { position: relative; left: auto; top: auto; transform: none; width: auto; }
  .cloud-core { position: relative; left: auto; top: auto; transform: scale(.96); justify-self: stretch; width: auto; max-width: none; }
  .cloud.in .cloud-core { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud-chips li::after { transform: scale(1); }
  .cloud-core { opacity: 1; transform: translate(-50%, -50%); }
}

/* pricing: launch package */
.launch { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.launch-card { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.launch-label { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.launch-card .price { flex-wrap: wrap; }
.launch-card .price span { color: var(--muted); }
.launch-fine { color: var(--muted); font-size: 14px; }
.pay-toggle { justify-self: start; flex-wrap: wrap; }
.launch-card .btn { width: 100%; }
@media (max-width: 860px) { .launch { grid-template-columns: 1fr; } }
.mod .mm-bub { color: #fff; font-size: 12px; line-height: 1.35; }
.mod .mm-bub.in { color: var(--ink); }
.page-light .nav.open, .page-light .nav.open:not(.solid) { color: #fff; }
.page-light .nav.open .nav-toggle, .page-light .nav.open:not(.solid) .nav-toggle { border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .1); color: #fff; }

/* walkthrough form band: tighter, left column follows the form */
.cta-band { gap: clamp(28px, 4vw, 56px); max-width: 1120px; margin: 0 auto; align-items: start; }
.cta-band > :first-child { position: sticky; top: 110px; padding-top: 12px; }
.sms-consent .fine { font-size: 11.5px; }
main:has(> .section-dark:last-child) > .section-dark:last-child { padding-bottom: clamp(48px, 6vw, 72px); }
main:has(> .section-dark:last-child) + .footer { padding-top: 8px; }
@media (max-width: 860px) { .cta-band > :first-child { position: static; } }

/* hero pinned behind; "Take it for a spin" + the demo rise up over the video */
.hero-wrap { position: relative; }
.hero-wrap > .hero { position: sticky; top: 0; z-index: 0; }
.hero-wrap > .inside {
  position: relative; z-index: 1; padding-top: clamp(110px, 16vh, 180px);
  background: linear-gradient(180deg, rgba(11, 12, 14, 0) 0, rgba(11, 12, 14, .5) 200px, rgba(11, 12, 14, .9) 480px, var(--ink) 720px);
}
.hero-wrap .inside-head { text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
.kx-demo { transform-origin: 50% 0; will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero-wrap > .hero { position: relative; } }

/* system page */
.sv-idx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(36px, 5vw, 56px); }
.sv-idx-g { padding: 18px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 12, 14, .04); }
.sv-idx-g p { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.sv-idx-g a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; transition: background .15s; }
.sv-idx-g a:hover { background: var(--mist); }
.sv-idx-g svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.sv-group .head { margin-bottom: clamp(24px, 4vw, 40px); }
.sv-mod { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.sv-mod.flip .sv-copy { order: 2; }
.sv-copy { display: grid; gap: 14px; align-content: start; }
.sv-copy > p { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
.sv-copy .checks { margin-top: 4px; gap: 10px; }
.sv-copy .checks li { grid-template-columns: 22px 1fr; gap: 10px; }
.sv-copy .checks li::before { width: 22px; height: 22px; border-radius: 7px; background-size: 15px; }
.sv-copy .checks span { color: var(--ink); font-size: 15px; }
.sv-num { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.sv-num svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--ice-soft); color: var(--blue-ink); }
.sv-vis { margin: 0; position: relative; padding: clamp(18px, 3vw, 36px); border-radius: 28px; background: linear-gradient(150deg, var(--ice-soft), #f8fbfe 60%, var(--mist)); display: grid; justify-items: center; gap: 12px; min-height: 320px; align-content: center; }
.section-mist .sv-vis { background: linear-gradient(150deg, #fff, var(--ice-soft)); }
.sv-vis figcaption { font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sv-frame { position: relative; width: 100%; max-width: 560px; border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-lg); font-size: 13px; }
.sv-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--mist); border-bottom: 1px solid var(--line); }
.sv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6dbe1; }
.sv-bar span { margin-left: 8px; padding: 3px 10px; border-radius: 7px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; }
.sv-body { padding: 16px; display: grid; gap: 10px; }
.sv-phone { width: 230px; padding: 10px; border-radius: 34px; background: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.sv-notch { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); width: 64px; height: 16px; border-radius: 10px; background: #000; z-index: 1; }
.sv-screen { border-radius: 26px; background: var(--paper); padding: 38px 12px 14px; min-height: 360px; font-size: 12.5px; display: grid; align-content: start; gap: 10px; }
.sv-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.sv-row b { display: block; font-size: 13px; }
.sv-row small { color: var(--muted); font-size: 11.5px; }
.sv-row .chip { flex: none; }
.sv-list { display: grid; gap: 8px; }
.sv-prog { flex: none; width: 90px; height: 6px; border-radius: 6px; background: var(--mist); overflow: hidden; }
.sv-prog i { display: block; height: 100%; border-radius: 6px; background: var(--blue); }
.sv-dash { display: grid; gap: 10px; }
.sv-wx { border-radius: 14px; padding: 14px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(238, 244, 253, .5) 0 14px, transparent 15px), linear-gradient(180deg, #0a1322, #24395a); display: grid; gap: 4px; }
.sv-wx small { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.sv-wx b { font: 700 34px/1 var(--f-display); letter-spacing: -.04em; }
.sv-wx span { color: rgba(255, 255, 255, .8); font-size: 12px; }
.sv-rate { display: flex; gap: 6px; margin-top: 6px; }
.sv-rate em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.sv-rate .warn { color: #f6c97a; }
.sv-rate .ok { color: #8fe0b9; }
.sv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sv-kpis div { padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.sv-kpis small { display: block; color: var(--muted); font-size: 11px; }
.sv-kpis b { font: 700 17px/1.2 var(--f-display); }
.sv-msg { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.sv-msg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.sv-msg li { padding: 8px; border-radius: 10px; }
.sv-msg li.on { background: var(--ice-soft); }
.sv-msg li b { display: block; font-size: 12px; }
.sv-msg li small { color: var(--muted); font-size: 11px; }
.sv-thread { display: grid; gap: 7px; align-content: start; }
.sv-cal { font-size: 11px; grid-template-columns: 52px repeat(4, 1fr); }
.sv-map { width: 100%; height: auto; border-radius: 12px; }
.sv-pop { position: absolute; right: 30px; bottom: 30px; padding: 10px 12px; border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); font-size: 12px; }
.sv-pop b { display: block; }
.sv-pop small { color: var(--muted); }
.sv-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sv-board > div { background: var(--mist); border-radius: 12px; padding: 8px; display: grid; gap: 8px; align-content: start; }
.sv-board > div > b { font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; }
.sv-board em { font-style: normal; color: var(--ink); }
.sv-act { display: flex; gap: 4px; margin-top: 4px; }
.sv-act i { font-style: normal; flex: 1; text-align: center; padding: 4px 0; border-radius: 7px; font-size: 10.5px; font-weight: 600; background: var(--ice-soft); color: var(--blue-ink); }
.sv-act i:first-child { background: var(--ink); color: #fff; }
.sv-clock { display: grid; gap: 10px; justify-items: center; text-align: center; }
.sv-clock small { color: var(--muted); font-size: 11px; }
.sv-clock > b { font: 700 34px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sv-clock .sv-list { width: 100%; text-align: left; }
.sv-photos { grid-template-columns: repeat(3, 1fr); }
.sv-cap { color: var(--muted); font-size: 12px; }
.sv-check { display: grid; gap: 8px; }
.sv-check label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font-weight: 500; }
.sv-check label i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #b4bdc8; flex: none; }
.sv-check label i.on { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2 6.8 11 12 5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--ink); }
@media (max-width: 960px) {
  .sv-idx { grid-template-columns: 1fr; }
  .sv-mod { grid-template-columns: 1fr; }
  .sv-mod.flip .sv-copy { order: 0; }
}
@media (max-width: 560px) {
  .sv-vis { padding: 14px; min-height: 0; border-radius: 20px; }
  .sv-kpis { grid-template-columns: repeat(2, 1fr); }
  .sv-msg { grid-template-columns: 1fr; }
  .sv-msg ul { display: none; }
  .sv-board { grid-template-columns: 1fr; }
  .sv-board > div:nth-child(n+2) { display: none; }
  .sv-cal { grid-template-columns: 44px repeat(4, minmax(0, 1fr)); font-size: 10px; }
  .sv-row { flex-wrap: wrap; }
  .sv-pop { right: 20px; bottom: 20px; }
}
.sv-screen .sv-row { flex-direction: column; align-items: flex-start; gap: 6px; }
.sv-vis .kpis-3 .kpi b { font-size: clamp(14px, 3.6vw, 20px); }
@media (max-width: 560px) { .sv-vis .kpis-3 { grid-template-columns: repeat(3, 1fr); } .sv-vis .kpis-3 .kpi { display: block !important; padding: 8px 6px; } }

/* product showcase v3 / stack trim */
/* Steps scroll on the left while one big stage stays pinned on the right; JS moves each step's
   .show-panel into the stage on wide screens and back into its step on narrow ones. Base styles are
   the finished state; the motion only runs on the active panel when motion is allowed. */
.show { padding-bottom: clamp(48px, 6vw, 80px); }
.show-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: clamp(28px, 4vw, 64px);
  width: min(1560px, calc(100vw - 2 * var(--gutter))); margin: 0 auto; padding-left: 34px;
}
.show-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: var(--line); }
.show-rail i { position: absolute; left: 0; top: 0; width: 2px; height: 0; border-radius: 2px; background: linear-gradient(180deg, var(--ice), var(--blue)); transition: height .6s var(--ease); }
.show-steps { list-style: none; margin: 0; padding: 0; }
.show-step { min-height: 78vh; display: flex; align-items: center; }
.show-copy { max-width: 440px; padding: 24px 0; opacity: .38; transition: opacity .5s var(--ease), transform .5s var(--ease); transform: translateX(-6px); }
.show-step.on .show-copy { opacity: 1; transform: none; }
.show-n { display: inline-block; font: 600 12.5px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.show-copy h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 14px; }
.show-copy p { color: var(--muted); font-size: 1.05rem; }
.show-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; font-weight: 500; }
.show-copy li { display: flex; gap: 10px; align-items: center; }
.show-copy li::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ice-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2 7 10.6l4.6-5' fill='none' stroke='%232b6aa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

.show-stage {
  position: sticky; top: 11vh; height: 78vh; align-self: start; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 500px at 80% 0%, var(--ice-soft), transparent 70%), var(--mist);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -40px rgba(11, 12, 14, .45);
}
.show-count { position: absolute; z-index: 5; right: 20px; bottom: 18px; padding: 6px 12px; border-radius: 999px; font: 600 12.5px/1 var(--f-body); color: var(--muted); background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px); }
.show-count b { color: var(--ink); }
.show-stage .show-panel { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: scale(.985); transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s; }
.show-stage .show-panel.on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s; }

/* shared app chrome inside the stage */
.sp-app { display: flex; flex-direction: column; padding: clamp(20px, 3vw, 40px); }
.sp-app > .sp-bar, .sp-app > .sp-body { width: 100%; max-width: 920px; margin-left: auto; margin-right: auto; }
.sp-bar { display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 16px 16px 0 0; background: #eef1f4; border: 1px solid var(--line); border-bottom: 0; }
.sp-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d9e0; }
.sp-bar span { margin-left: 10px; padding: 5px 12px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 12.5px; border: 1px solid var(--line); }
.sp-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(18px, 2.4vw, 30px); background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: 0 24px 60px -30px rgba(11, 12, 14, .35); overflow: hidden; }
.sp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sp-h { display: block; font: 700 clamp(1.1rem, 1.6vw, 1.45rem)/1.2 var(--f-display); letter-spacing: -.02em; }
.sp-top small { color: var(--muted); font-size: 13.5px; }
.sp-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--ice-soft); color: var(--blue-ink); white-space: nowrap; }
.sp-ok { background: #e3f5ec; color: #217a52; }
.sp-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.sp-line b { color: var(--ink); font-weight: 600; }

/* 01 measure: video + measurement readout */
.sp-measure { background: #0d1520; }
.sp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-hud { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 14, 24, .35), rgba(8, 14, 24, 0) 30%, rgba(8, 14, 24, 0) 55%, rgba(8, 14, 24, .55)); }
.sp-chip { position: absolute; left: 22px; top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; background: rgba(10, 18, 30, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(12px); }
.sp-chip i { width: 8px; height: 8px; border-radius: 50%; background: #5fd39b; box-shadow: 0 0 0 4px rgba(95, 211, 155, .25); }
.sp-lock { position: absolute; left: 50%; top: 44%; width: 38%; height: 40%; transform: translate(-50%, -50%); }
.sp-lock i { position: absolute; width: 34px; height: 34px; border: 3px solid var(--ice); }
.sp-lock i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.sp-lock i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.sp-lock i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.sp-lock i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.sp-scan { position: absolute; left: 0; right: 0; top: 0; height: 30%; opacity: 0; background: linear-gradient(180deg, rgba(156, 203, 242, 0), rgba(156, 203, 242, .22) 85%, rgba(156, 203, 242, .7)); }
.sp-report { position: absolute; right: 22px; bottom: 22px; width: min(380px, calc(100% - 44px)); padding: 16px; border-radius: 18px; color: #fff; background: rgba(10, 18, 30, .62); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(16px); }
.sp-report-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sp-report-h small { color: rgba(255, 255, 255, .65); font-size: 12.5px; }
.sp-plan { width: 100%; height: auto; margin: 8px 0 10px; }
.sp-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.sp-report-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-report-nums div { padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.sp-report-nums small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.sp-report-nums b { font: 700 18px/1.3 var(--f-display); }

/* 02 quote */
.sp-stamp { padding: 8px 16px; border-radius: 10px; border: 2.5px solid #2f9e6b; color: #217a52; font: 800 14px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-6deg); background: rgba(227, 245, 236, .7); }
.sp-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-opt { display: grid; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: #fbfcfd; }
.sp-opt small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.sp-opt b { font: 700 clamp(1.3rem, 2vw, 1.75rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.sp-opt > span { font-size: 14px; font-weight: 500; }
.sp-opt em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.sp-pick { border-color: var(--ink); box-shadow: 0 0 0 2px var(--ink); background: #fff; }
.sp-pick em { color: var(--ok); font-weight: 600; }
.sp-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sp-sig { font: italic 600 22px/1 Georgia, serif; color: var(--blue-ink); border-bottom: 1.5px solid var(--line); padding: 0 6px 6px; }

/* 03 crm */
.sp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.sp-stats div { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); }
.sp-stats small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sp-stats b { font: 700 1.35rem/1.25 var(--f-display); letter-spacing: -.02em; }
.sp-stats div:first-child { background: var(--ice-soft); border-color: transparent; }
.sp-cols { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-col { display: grid; gap: 10px; align-content: start; padding: 12px; border-radius: 14px; background: var(--mist); }
.sp-col-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; }
.sp-col-h span { font: 700 15px/1 var(--f-display); }
.sp-lead { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11, 12, 14, .04); }
.sp-lead-h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.sp-lead-h em { font-style: normal; font-weight: 700; color: #217a52; }
.sp-lead small { color: var(--muted); font-size: 12.5px; }
.sp-act { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 2px; }
.sp-act span { display: grid; place-items: center; padding: 7px 0; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.sp-act span:nth-child(1) { background: var(--ink); color: #fff; }
.sp-act span:nth-child(2) { background: var(--ice-soft); color: var(--blue-ink); }
.sp-act span:nth-child(3) { background: #fdf1e2; color: #9a5b12; }
.sp-slot { height: 116px; border-radius: 12px; border: 1.5px dashed #cfd6de; }

/* 04 schedule */
.sp-week { flex: 1; display: grid; grid-template-columns: 90px repeat(4, 1fr); grid-auto-rows: 1fr; gap: 8px; font-size: 13.5px; }
.sp-day { font-weight: 700; padding: 4px 2px; }
.sp-day small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.sp-crew { align-self: center; color: var(--muted); font-weight: 600; }
.sp-job { display: grid; align-content: center; gap: 2px; padding: 10px 12px; border-radius: 10px; font-weight: 700; }
.sp-job small { font-weight: 500; font-size: 12px; opacity: .8; }
.sp-a { background: var(--ice-soft); color: var(--blue-ink); }
.sp-b { background: var(--ink); color: #fff; }
.sp-c { background: #e3f5ec; color: #217a52; }
.sp-w { background: #fdf1e2; color: #9a5b12; }

/* 05 hours */
.sp-hours-body { flex-direction: row; align-items: stretch; }
.sp-phone { flex: none; width: 34%; display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; padding: 22px 16px; border-radius: 26px; color: #fff; background: linear-gradient(180deg, #111a28, #1e2f4a); box-shadow: inset 0 0 0 6px #0b0c0e, 0 20px 40px -20px rgba(11, 12, 14, .6); }
.sp-phone small { color: rgba(255, 255, 255, .7); font-size: 13px; }
.sp-timer { font: 700 clamp(1.8rem, 3vw, 2.6rem)/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.sp-gps { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #8fe0b9; }
.sp-gps i { width: 7px; height: 7px; border-radius: 50%; background: #5fd39b; }
.sp-clock-btn { margin-top: 6px; padding: 10px 22px; border-radius: 999px; background: var(--ice); color: var(--ink); font-weight: 700; font-size: 14px; }
.sp-sheet { flex: 1; min-width: 0; display: grid; align-content: start; gap: 4px; }
.sp-sheet-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.sp-row { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr) 1fr; gap: 6px; padding: 10px 8px; border-radius: 8px; font-size: 14px; font-variant-numeric: tabular-nums; }
.sp-row-h { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.sp-row:not(.sp-row-h) { border-bottom: 1px solid var(--line); }
.sp-ot { background: #fdf1e2; }
.sp-ot b { color: #9a5b12; }
.sp-sheet-f { display: flex; justify-content: space-between; margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--mist); font-weight: 600; }

/* 06 pay */
.sp-pay-body { flex-direction: row; align-items: center; }
.sp-invoice { flex: 1; min-width: 0; }
.sp-inv-h { margin-bottom: 6px; }
.sp-inv-h b { display: block; font: 700 1.3rem/1.2 var(--f-display); }
.sp-inv-h small { color: var(--muted); }
.sp-total { border-bottom: 0; color: var(--ink); font-weight: 700; font-size: 17px; }
.sp-paid { flex: none; width: 38%; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 28px 18px; border-radius: 18px; background: linear-gradient(180deg, #f0faf5, #fff); border: 1px solid #cdebdc; }
.sp-ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: #d9f2e5; color: #2f9e6b; }
.sp-ring svg { width: 38px; height: 38px; }
.sp-paid b { font-size: 16px; }
.sp-paid strong { font: 700 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--f-display); letter-spacing: -.02em; }
.sp-paid small { color: var(--muted); }

/* 07 follow up */
.sp-msg-body { flex-direction: row; gap: 20px; }
.sp-autos { flex: none; width: 36%; display: grid; align-content: start; gap: 10px; }
.sp-auto { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.sp-auto i { flex: none; width: 30px; height: 18px; border-radius: 999px; background: #2f9e6b; position: relative; }
.sp-auto i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.sp-thread { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; background: var(--mist); }
.sp-thread-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sp-thread-h small { color: var(--muted); }
.sp-bub { max-width: 80%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.sp-out { margin-left: auto; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.sp-in { background: #fff; border-bottom-left-radius: 5px; box-shadow: 0 1px 2px rgba(11, 12, 14, .06); }
.sp-meta { margin-top: auto; color: var(--muted); font-size: 12.5px; text-align: right; }

/* ---- motion: only on the active panel, only when allowed ---- */
@media (prefers-reduced-motion: no-preference) {
  .show-panel.on .sp-scan { animation: sp-scan 3.2s var(--ease) infinite; }
  .show-panel.on .sp-lock { animation: sp-lock 1s var(--ease) both; }
  .show-panel.on .sp-draw { animation: sp-draw 1.8s var(--ease) .3s both; }
  .show-panel.on .sp-lbls text { animation: sp-pop .5s var(--ease) both; }
  .show-panel.on .sp-lbls text:nth-child(1) { animation-delay: 1.3s; }
  .show-panel.on .sp-lbls text:nth-child(2) { animation-delay: 1.5s; }
  .show-panel.on .sp-lbls text:nth-child(3) { animation-delay: 1.7s; }
  .show-panel.on .sp-report { animation: sp-rise .7s var(--ease) .2s both; }

  .show-panel.on .sp-opt { animation: sp-rise .6s var(--ease) both; }
  .show-panel.on .sp-opt:nth-child(2) { animation-delay: .12s; }
  .show-panel.on .sp-opt:nth-child(3) { animation-delay: .24s; }
  .show-panel.on .sp-pick { animation: sp-rise .6s var(--ease) .12s both, sp-pick 1s var(--ease) .9s both; }
  .show-panel.on .sp-line { animation: sp-slide .5s var(--ease) both; }
  .show-panel.on .sp-lines .sp-line:nth-child(1) { animation-delay: .5s; }
  .show-panel.on .sp-lines .sp-line:nth-child(2) { animation-delay: .65s; }
  .show-panel.on .sp-lines .sp-line:nth-child(3) { animation-delay: .8s; }
  .show-panel.on .sp-stamp { animation: sp-stamp .55s cubic-bezier(.2, 1.6, .4, 1) 1.6s both; }
  .show-panel.on .sp-foot { animation: sp-rise .5s var(--ease) 1.9s both; }

  .show-panel.on .sp-mover { animation: sp-move 4.5s var(--ease) 1s infinite; position: relative; z-index: 2; }
  .show-panel.on .sp-lead:not(.sp-mover) { animation: sp-rise .5s var(--ease) both; }

  .show-panel.on .sp-job { animation: sp-drop .55s var(--ease) both; animation-delay: calc(.15s + var(--d) * 80ms); }
  .show-panel.on .sp-cal .sp-pill { animation: sp-rise .5s var(--ease) 1.3s both; }

  .show-panel.on .sp-phone { animation: sp-rise .6s var(--ease) both; }
  .show-panel.on .sp-row:not(.sp-row-h) { animation: sp-slide .5s var(--ease) both; }
  .show-panel.on .sp-row:nth-child(3) { animation-delay: .15s; }
  .show-panel.on .sp-row:nth-child(4) { animation-delay: .25s; }
  .show-panel.on .sp-row:nth-child(5) { animation-delay: .35s; }
  .show-panel.on .sp-row:nth-child(6) { animation-delay: .45s; }
  .show-panel.on .sp-gps i { animation: sp-blink 1.6s ease-in-out infinite; }

  .show-panel.on .sp-invoice .sp-line { animation: sp-slide .5s var(--ease) both; }
  .show-panel.on .sp-invoice .sp-line:nth-child(3) { animation-delay: .12s; }
  .show-panel.on .sp-invoice .sp-line:nth-child(4) { animation-delay: .24s; }
  .show-panel.on .sp-invoice .sp-line:nth-child(5) { animation-delay: .36s; }
  .show-panel.on .sp-paid { animation: sp-rise .6s var(--ease) .5s both; }
  .show-panel.on .sp-ring { animation: sp-stamp .6s cubic-bezier(.2, 1.6, .4, 1) .9s both; }

  .show-panel.on .sp-auto { animation: sp-slide .5s var(--ease) both; }
  .show-panel.on .sp-auto:nth-child(3) { animation-delay: .1s; }
  .show-panel.on .sp-auto:nth-child(4) { animation-delay: .2s; }
  .show-panel.on .sp-auto:nth-child(5) { animation-delay: .3s; }
  .show-panel.on .sp-bub { animation: sp-rise .45s var(--ease) both; }
  .show-panel.on .sp-bub:nth-of-type(1) { animation-delay: .4s; }
  .show-panel.on .sp-bub:nth-of-type(2) { animation-delay: 1.8s; }
  .show-panel.on .sp-bub:nth-of-type(3) { animation-delay: 3s; }
  .show-panel.on .sp-meta { animation: sp-rise .4s var(--ease) 3.4s both; }
}
@keyframes sp-scan { 0% { transform: translateY(-100%); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(340%); opacity: 0; } }
@keyframes sp-lock { from { opacity: 0; transform: translate(-50%, -50%) scale(1.25); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes sp-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sp-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes sp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes sp-slide { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes sp-pick { from { box-shadow: 0 0 0 2px transparent; border-color: var(--line); } to { box-shadow: 0 0 0 2px var(--ink); border-color: var(--ink); } }
@keyframes sp-stamp { from { opacity: 0; transform: rotate(-6deg) scale(1.8); } to { opacity: 1; transform: rotate(-6deg) scale(1); } }
@keyframes sp-drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sp-blink { 50% { opacity: .35; } }
/* the hot lead slides from New lead into the empty Contacted slot and back */
@keyframes sp-move { 0%, 12% { transform: none; box-shadow: 0 1px 2px rgba(11, 12, 14, .04); } 22% { transform: translateY(-6px) rotate(-1.5deg); box-shadow: 0 18px 30px -14px rgba(11, 12, 14, .35); } 45%, 75% { transform: translate(calc(100% + 36px), 0); box-shadow: 0 0 0 2px var(--ice); } 92%, 100% { transform: none; } }

/* tablet / phone: steps stack, each with its own big panel */
@media (max-width: 899px) {
  .show-grid { grid-template-columns: minmax(0, 1fr); padding-left: 0; gap: 0; }
  .show-rail, .show-stage { display: none; }
  .show-step { min-height: 0; flex-direction: column; align-items: stretch; gap: 18px; padding: 26px 0; }
  .show-copy { opacity: 1; transform: none; max-width: none; padding: 0; }
  .show-step .show-panel { position: relative; height: max(56vw, 360px); border-radius: 20px; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(11, 12, 14, .4); }
  .show-step .sp-measure { background: #0d1520; }
  .sp-app { padding: 12px; }
  .sp-body { padding: 14px; gap: 12px; }
  .sp-bar { padding: 8px 10px; }
  .sp-bar span { font-size: 11px; }
}
@media (max-width: 640px) {
  .show-step .show-panel { height: auto; min-height: 400px; }
  .show-step .sp-measure { height: 420px; }
  .sp-opts { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .sp-opt { padding: 10px 8px; }
  .sp-opt em, .sp-opt > span { font-size: 11px; }
  .sp-lines .sp-line:nth-child(n+3) { display: none; }
  .sp-stats { grid-template-columns: 1fr 1fr; }
  .sp-stats div:nth-child(n+3) { display: none; }
  .sp-cols { grid-template-columns: 1fr; }
  .sp-cols .sp-col:nth-child(n+2) { display: none; }
  .show-panel.on .sp-mover { animation: none; }
  .sp-week { grid-template-columns: 64px repeat(2, 1fr); font-size: 12px; }
  .sp-week > :nth-child(5n+4), .sp-week > :nth-child(5n+5) { display: none; }
  .sp-hours-body, .sp-pay-body, .sp-msg-body { flex-direction: column; }
  .sp-phone, .sp-paid, .sp-autos { width: 100%; }
  .sp-row { grid-template-columns: 1.4fr repeat(4, 1fr) 1fr; font-size: 12px; padding: 8px 4px; }
  .sp-sheet .sp-row:nth-child(n+5) { display: none; }
  .sp-autos .sp-auto:nth-child(n+4) { display: none; }
  .sp-report { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 12px; }
  .sp-plan, .sp-lock { display: none; }
  .sp-chip { left: 12px; top: 12px; }
  .sp-foot { flex-wrap: wrap; }
}

/* hero buttons v2 */
.hero-center .hero-cta { gap: 22px; align-items: center; }
.hcta { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 600 15.5px/1 var(--f-body); color: #fff; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.hcta-main { height: 54px; padding: 0 8px 0 24px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .55); }
.hcta-main i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .25s var(--ease), background .25s; }
.hcta-main i svg { width: 16px; height: 16px; }
.hcta-main:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .6); }
.hcta-main:hover i { background: var(--blue); transform: translateX(2px); }
.hcta-play { padding: 6px 10px 6px 6px; border-radius: 999px; }
.hcta-play i { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background .25s, transform .25s var(--ease); }
.hcta-play i svg { width: 16px; height: 16px; margin-left: 2px; }
.hcta-play span { border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 3px; transition: border-color .25s; }
.hcta-play:hover i { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.hcta-play:hover span { border-color: #fff; }
.hcta:focus-visible { outline: 2px solid var(--ice); outline-offset: 4px; }
@media (max-width: 640px) {
  .hero-center .hero-cta { flex-direction: column; gap: 14px; }
  .hcta-main { width: 100%; justify-content: space-between; }
}

/* system page: status badges match the demo (dot + label, soft tint, hairline border) */
.sv-frame .chip { --c: #2f72b5; --bg: #f1f7fd; --bd: #d6e6f6; height: 22px; padding: 0 8px 0 7px; border-radius: 7px; gap: 6px; line-height: 1; color: color-mix(in srgb, var(--c) 82%, #0b0c0e); background: var(--bg); border: 1px solid var(--bd); }
.sv-frame .chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 18%, transparent); }
.sv-frame .chip.ok { --c: #23925f; --bg: #effaf4; --bd: #cdebdc; }
.sv-frame .chip.warn { --c: #c27a0e; --bg: #fff7ea; --bd: #f3dfb8; }
.sv-frame .chip.bad { --c: #cc3d34; --bg: #fdf1f0; --bd: #f4d2cf; }
.sv-frame .chip.dark { --c: #fff; --bg: #0b0c0e; --bd: #0b0c0e; color: #fff; }

/* fork2: pages polish */
/* System menu: a click closes it even while the pointer is still over it */
@media (hover: hover) and (min-width: 1001px) {
  .has-menu.menu-dismissed:hover .nav-menu { opacity: 0; visibility: hidden; transform: translate(-50%, 6px); }
}
/* hero: ice pill + play button sit on one line, stack on phones */
.hero-center .hero-cta .hero-walk { min-height: 52px; padding: 0 24px; font-size: 15.5px; }
@media (max-width: 640px) { .hero-center .hero-cta .hero-walk { width: 100%; } }

/* section illustrations (line art, not emoji) */
.sec-ill { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 18px; color: var(--ink); background: linear-gradient(150deg, #fff, var(--ice-soft)); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(47, 114, 181, .45); }
.sec-ill svg { width: 44px; height: 44px; }
.sec-ill-dark { color: #fff; background: linear-gradient(150deg, rgba(255, 255, 255, .14), rgba(156, 203, 242, .1)); border-color: rgba(255, 255, 255, .18); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.head.center .sec-ill { margin-left: auto; margin-right: auto; }

/* How it works: step navigator */
.stepnav { position: sticky; top: 61px; z-index: 30; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease), opacity .35s; }
.stepnav.gone { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.stepnav .wrap { position: relative; }
.stepnav ol { list-style: none; margin: 0; padding: 12px 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.stepnav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--muted); transition: background .2s, color .2s; }
.stepnav a:hover { background: var(--mist); color: var(--ink); }
.sn-ico { position: relative; flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--muted); border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.sn-ico svg { width: 20px; height: 20px; }
.sn-ico b { position: absolute; right: -6px; top: -6px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 999px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font: 700 10px/1 var(--f-body); color: var(--muted); }
.sn-t { display: grid; gap: 2px; min-width: 0; }
.sn-t strong { font-size: 14px; color: inherit; white-space: nowrap; }
.sn-t small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepnav a.on { color: var(--ink); }
.stepnav a.on .sn-ico, .stepnav a.done .sn-ico { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepnav a.on .sn-ico b { background: var(--ice); border-color: var(--ice); color: var(--ink); }
.stepnav a.done .sn-ico { background: var(--ice-soft); color: var(--blue-ink); border-color: var(--ice); }
.stepnav-bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: -1px; height: 2px; background: transparent; }
.stepnav-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ice), var(--blue)); transition: width .5s var(--ease); }
@media (max-width: 1100px) { .sn-t small { display: none; } }
@media (max-width: 860px) {
  .stepnav ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px; padding: 10px 0; }
  .stepnav ol::-webkit-scrollbar { display: none; }
  .stepnav li { flex: none; scroll-snap-align: start; }
  .stepnav a { padding: 6px 10px 6px 6px; }
  .sn-ico { width: 34px; height: 34px; }
}

/* Hours & payroll hero: live time clock */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tclock { display: grid; justify-items: center; }
.tclock-phone { width: min(330px, 100%); padding: 14px 16px 18px; border-radius: 36px; background: #0d1116; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7), inset 0 0 0 6px #151a21; color: #fff; display: grid; gap: 14px; }
.tclock-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 10px 0; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .75); }
.tclock-notch { width: 84px; height: 22px; border-radius: 999px; background: #000; }
.tclock-job { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.tclock-job svg { width: 15px; height: 15px; color: var(--ice); }
.tclock-dial { display: grid; justify-items: center; gap: 6px; padding: 22px 12px; border-radius: 22px; background: radial-gradient(circle at 50% 0%, rgba(156, 203, 242, .18), rgba(255, 255, 255, .03) 70%); border: 1px solid rgba(255, 255, 255, .08); }
.tclock-state { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.tclock-time { font: 700 40px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tclock-gps { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255, 255, 255, .55); opacity: .4; transition: opacity .4s; }
.tclock-gps i { width: 7px; height: 7px; border-radius: 50%; background: #5fd39b; box-shadow: 0 0 0 3px rgba(95, 211, 155, .25); }
.tclock-btn { min-height: 54px; border: 0; border-radius: 16px; cursor: pointer; font: 700 16px/1 var(--f-body); color: var(--ink); background: var(--ice); transition: background .3s, color .3s, transform .15s; }
.tclock-btn:active { transform: scale(.98); }
.tclock-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.tclock.on .tclock-state { color: #8fe0b9; }
.tclock.on .tclock-gps { opacity: 1; }
.tclock.on .tclock-btn { background: #fff; color: #b3362e; }
.tclock.out .tclock-state { color: var(--ice); }
.tclock-log { list-style: none; margin: 0; padding: 0 4px; display: grid; gap: 8px; }
.tclock-log li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .45); transition: color .4s; }
.tclock-log li i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); transition: background .4s, border-color .4s; }
.tclock-log li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.tclock-log li.done { color: #fff; }
.tclock-log li.done i { background: var(--ice); border-color: var(--ice); }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; } }

/* fork1: demo polish */
/* macOS-style window controls on every fake app frame */
.app-bar i, .sp-bar i, .sv-bar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .18); }
.app-bar i:nth-of-type(2), .sp-bar i:nth-of-type(2), .sv-bar i:nth-of-type(2) { background: #febc2e; }
.app-bar i:nth-of-type(3), .sp-bar i:nth-of-type(3), .sv-bar i:nth-of-type(3) { background: #28c840; }
.app-bar, .sp-bar, .sv-bar { gap: 8px; }

/* the demo holds still for a couple of scroll notches once it is fully in view */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .kx-hold::after { content: ""; display: block; height: 55vh; }
  .kx-hold > .kx-demo { position: sticky; top: 76px; }
}

/* showcase calendar: Monday to Friday with weather, labelled crews */
.sp-week { grid-template-columns: 128px repeat(5, minmax(0, 1fr)); gap: 7px; font-size: 13px; }
.sp-day { display: grid; gap: 3px; padding: 8px 10px; border-radius: 10px; background: var(--mist); }
.sp-day b { font-size: 13.5px; }
.sp-day em { font-style: normal; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.sp-day em i { width: 12px; height: 12px; border-radius: 50%; background: #f2b24b; box-shadow: 0 0 0 3px rgba(242, 178, 75, .25); }
.sp-day em i.wx-cloud { background: #a9b6c6; box-shadow: 0 0 0 3px rgba(169, 182, 198, .3); border-radius: 6px; width: 16px; height: 10px; }
.sp-day em i.wx-wind { background: none; box-shadow: none; border-top: 2px solid #7d8a99; border-bottom: 2px solid #7d8a99; border-radius: 0; width: 14px; height: 6px; }
.sp-day small { color: var(--muted); font-size: 11.5px; font-weight: 500; }
.sp-crew { display: grid; grid-template-columns: 10px 1fr; column-gap: 8px; align-content: center; align-self: stretch; padding: 6px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.sp-crew i { grid-row: span 2; width: 10px; height: 100%; min-height: 28px; border-radius: 3px; background: var(--c); }
.sp-crew b { font-size: 13px; }
.sp-crew small { color: var(--muted); font-size: 11px; font-weight: 500; }
.sp-job time { display: block; font-size: 10.5px; font-weight: 700; opacity: .75; }
.sp-job { padding: 8px 10px; font-size: 12.5px; }
@media (max-width: 1200px) {
  .sp-week { grid-template-columns: 100px repeat(5, minmax(0, 1fr)); gap: 5px; font-size: 11.5px; }
  .sp-day small, .sp-crew small { display: none; }
  .sp-job { padding: 7px 8px; font-size: 11.5px; }
}
@media (max-width: 900px) {
  .sp-week { grid-template-columns: 104px repeat(2, minmax(0, 1fr)); font-size: 12.5px; }
  .sp-week > * { display: grid !important; }
  .sp-week > :nth-child(6n+4), .sp-week > :nth-child(6n+5), .sp-week > :nth-child(6n) { display: none !important; }
  .sp-day small, .sp-crew small { display: block; }
}
@media (max-width: 640px) {
  .cal.cal-5 { grid-template-columns: 74px repeat(3, minmax(0, 1fr)); }
  .cal.cal-5 > :nth-child(6n+5), .cal.cal-5 > :nth-child(6n) { display: none; }
}

/* features/system mini calendars: five days */
.cal.cal-5 { grid-template-columns: 74px repeat(5, minmax(0, 1fr)); font-size: 11px; }
.cal.cal-5 > span small { display: block; font-weight: 500; color: var(--muted); font-size: 10px; }
.cal .sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--c); margin-right: 5px; }
.cal.cal-5 .slot { padding: 6px 5px; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* real map on the system page */
.sv-mapwrap { position: relative; }
.sv-gl { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; border-radius: 10px; overflow: hidden; }
.sv-mapwrap.gl-on .sv-gl { opacity: 1; }
.sv-mapwrap.gl-on .sv-map { visibility: hidden; }
.kx-mappin { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 5px color-mix(in srgb, var(--c) 22%, transparent), 0 3px 8px rgba(0, 0, 0, .3); }
/* very large screens: scale the whole layout up instead of leaving a small island in the middle */
@media (min-width: 1880px) { html { zoom: 1.18; } }
@media (min-width: 2300px) { html { zoom: 1.4; } }
@media (min-width: 3000px) { html { zoom: 1.8; } }
@media (max-width: 480px) {
  .cloud-chips { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px 6px !important; }
  .app-name { font-size: 11.5px; }
  .app-ico { width: 46px; height: 46px; border-radius: 13px; }
}
/* punch logs are records, not to-dos: no strike-through */
.phone-list.punches li.done { text-decoration: none; color: var(--ink); }

/* system page mini calendar: the base rule above overrode the phone layout */
@media (max-width: 640px) {
  .cal.cal-5 { grid-template-columns: 74px repeat(3, minmax(0, 1fr)); }
  .cal.cal-5 .slot { white-space: normal; }
}
@media (max-width: 400px) {
  .cal.cal-5 { grid-template-columns: 70px repeat(2, minmax(0, 1fr)); }
  .cal.cal-5 > :nth-child(6n+4) { display: none; }
  .cal.cal-5 .slot { white-space: normal !important; text-overflow: clip; overflow-wrap: anywhere; }
}
