/* Optimize25 · site styles (shared by every page)
   Paper pages, dark "tiles" (the app-icon tile from the logo) where the system's work shows,
   and real photos and video of businesses at work.
   Colours come from the logo files: mark greens #4BA563 / #7AD88A, tile #060F0C,
   wordmark ink #0D100F and lime #84B035. */

:root {
  --paper: #F3F4EF;
  --paper-2: #E9ECE4;
  --card: #FBFCF9;
  --ink: #0D100F;
  --ink-2: #38413C;
  --ink-3: #59635D;
  --line: #D6DBD0;
  --line-2: #BEC6B9;

  --tile: #060F0C;
  --tile-2: #0A1712;
  --tile-3: #11241B;
  --tile-line: rgba(122, 216, 138, .15);
  --on: #E8F0EA;
  --on-2: #A6BAAE;
  --on-3: #74897E;

  --mint: #7AD88A;
  --mint-2: #93E3A1;
  --green: #4BA563;
  --green-ink: #2A6B3F;
  --lime: #84B035;
  --lime-ink: #4C6812;
  --no: #F29A88;
  --hold: #E8C47A;

  --f-d: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --f-b: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-h: "Caveat", "Bradley Hand", cursive;

  --r-tile: 28px;
  --r-card: 20px;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --top-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  interpolate-size: allow-keywords;
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: rgba(122, 216, 138, .45); }
:focus-visible { outline: 2.5px solid var(--green-ink); outline-offset: 3px; border-radius: 6px; }
.tile :focus-visible, .vhero :focus-visible { outline-color: var(--mint); }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.skip:focus { left: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── type ── */
.h1 { font: 600 clamp(44px, 6.6vw, 88px)/.97 var(--f-d); letter-spacing: -.038em; text-wrap: balance; }
.h2 { font: 600 clamp(32px, 4.3vw, 56px)/1.03 var(--f-d); letter-spacing: -.032em; text-wrap: balance; }
.h3 { font: 600 clamp(21px, 1.9vw, 25px)/1.15 var(--f-d); letter-spacing: -.018em; }
.h1 em, .h2 em { font-style: normal; color: var(--green-ink); }
.h1--on, .h2--on { color: #fff; }
.h1--on em, .h2--on em { color: var(--mint); }
.lede { font-size: clamp(17.5px, 1.45vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; text-wrap: pretty; }
.lede b { color: var(--ink); font-weight: 600; }
.lede--on { color: rgba(255, 255, 255, .82); }
.lede--on b { color: #fff; }
.copy { color: var(--ink-2); max-width: 52ch; text-wrap: pretty; }
.copy + .copy { margin-top: 14px; }
.copy a { color: var(--green-ink); font-weight: 600; text-underline-offset: 3px; }
.k { font: 600 12.5px/1.2 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); }
.k--on { color: var(--mint); }
.fine { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-ink); text-decoration: none; }
.more::after { content: "→"; transition: transform .2s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.more--on { color: var(--mint); }

.hl { background: linear-gradient(transparent 60%, rgba(122, 216, 138, .6) 60%, rgba(122, 216, 138, .6) 90%, transparent 90%) no-repeat 0 0 / 100% 100%; padding: 0 .04em; margin: 0 -.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.h1--on .hl { background-image: linear-gradient(transparent 62%, rgba(122, 216, 138, .45) 62%, rgba(122, 216, 138, .45) 90%, transparent 90%); }
.motion .hl { background-size: 0% 100%; animation: hl 1s .5s var(--ease) forwards; }
@keyframes hl { to { background-size: 100% 100%; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: 500 13.5px/1.2 var(--f-b); color: var(--ink-2); }
.eyebrow--on { background: rgba(6, 15, 12, .45); border-color: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.eyebrow i, .live i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.live i, .eyebrow--on i { background: var(--mint); }
.motion .eyebrow i::after, .motion .live i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); animation: ping 2.4s var(--ease) infinite; }
.motion .live i::after, .motion .eyebrow--on i::after { border-color: var(--mint); }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1 var(--f-b); text-decoration: none; white-space: nowrap; touch-action: manipulation; transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease); }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn--lg { min-height: 56px; padding: 0 26px; font-size: 16px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #24302A; }
.btn--mint { background: var(--mint); color: var(--ink); }
.btn--mint:hover { background: var(--mint-2); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .6); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: none; font: 600 13px/1 var(--f-b); }
.chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip--on { border-color: var(--tile-line); color: var(--on-2); transition: color .2s, border-color .2s; }
.chip--on:hover { color: var(--mint); border-color: rgba(122, 216, 138, .45); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills--sm li { padding: 6px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }

/* ── header ── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(243, 244, 239, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 28px; height: var(--top-h); }
.brand { display: block; flex: none; border-radius: 4px; }
.brand img { height: 26px; width: auto; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 13px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: rgba(13, 16, 15, .05); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(13, 16, 15, .08); }
/* solutions dropdown: opens on hover (mouse) or with the chevron button (keyboard, touch) */
.nav__dd { position: relative; display: flex; align-items: center; }
.nav .nav__dd > a { padding-right: 4px; }
.nav__tg { width: 28px; height: 34px; display: grid; place-items: center; margin-left: -2px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); }
.nav__tg:hover { color: var(--ink); background: rgba(13, 16, 15, .05); }
.nav__tg svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.nav__dd.is-open .nav__tg svg { transform: rotate(180deg); }
.dd { position: absolute; top: calc(100% + 12px); left: -14px; z-index: 60; width: min(580px, calc(100vw - 40px)); display: grid; gap: 10px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 34px 70px -34px rgba(6, 15, 12, .42), 0 2px 8px rgba(6, 15, 12, .06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s var(--ease), visibility 0s linear .18s; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav__dd.is-open .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .nav__dd:hover .dd { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.dd__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav .dd a { display: block; padding: 11px 13px; border-radius: 14px; color: var(--ink); text-decoration: none; }
.nav .dd a:hover, .nav .dd a:focus-visible { background: var(--paper); }
.dd__list b { display: block; font: 600 15px/1.25 var(--f-d); }
.dd__list span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--ink-3); }
.nav .dd .dd__bk { display: flex; align-items: center; gap: 14px; padding: 14px 16px; color: var(--on); background: radial-gradient(110% 120% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 60%), var(--tile); border: 1px solid transparent; }
.nav .dd .dd__bk:hover, .nav .dd .dd__bk:focus-visible { background: radial-gradient(110% 120% at 0% 0%, #163826 0%, rgba(16, 41, 29, 0) 60%), var(--tile); border-color: rgba(122, 216, 138, .4); }
.dd__bk img { width: 34px; height: 34px; flex: none; }
.dd__bk b { display: flex; align-items: center; gap: 8px; font: 600 17px/1.2 var(--f-d); color: #fff; }
.dd__bk b::after { content: "→"; color: var(--mint); transition: transform .2s var(--ease); }
.dd__bk:hover b::after { transform: translateX(3px); }
.dd__bk small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--on-2); }
.sheet nav a:has(+ .sheet__sub) { border-bottom: 0; padding-bottom: 8px; }
.sheet__sub { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 18px; border-bottom: 1px solid var(--line); }
.sheet nav .sheet__sub a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font: 500 15px/1 var(--f-b); letter-spacing: 0; }
.sheet nav .sheet__sub .sheet__bk { background: var(--tile); border-color: var(--tile); color: var(--mint); font-weight: 600; }
.top__r { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav + .top__r { margin-left: 0; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border: 0; background: none; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 419px) { .top__r .btn { display: none; } }
@media (min-width: 1000px) { .nav { display: flex; } .burger { display: none; } }
.sheet { position: fixed; inset: var(--top-h) 0 0; z-index: 45; background: var(--paper); padding: 12px var(--gut) 32px; overflow-y: auto; display: flex; flex-direction: column; }
.sheet[hidden] { display: none; }
.sheet nav a { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font: 600 28px/1.1 var(--f-d); letter-spacing: -.02em; text-decoration: none; }
.sheet nav a[aria-current="page"] { color: var(--green-ink); }
.sheet nav span { font: 500 12px var(--f-m); color: var(--ink-3); }
.sheet .btn { margin-top: 28px; }
.sheet__f { margin-top: 18px; font: 500 12px var(--f-m); color: var(--ink-3); text-align: center; }
.motion .sheet:not([hidden]) { animation: sheet .3s var(--ease); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px); } }

/* ── sections ── */
.sec { padding: clamp(80px, 10vw, 136px) 0; }
.sec--alt { background: var(--paper-2); }
.sec--tight { padding: clamp(36px, 5vw, 64px) 0; }
.sec--top0 { padding-top: 0; }
.head { display: grid; gap: 20px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head .k { margin-bottom: 16px; }
.head__aside { color: var(--ink-2); font-size: 17.5px; max-width: 46ch; text-wrap: pretty; }
@media (min-width: 900px) { .head { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 56px; } }
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.motion .reveal.in { opacity: 1; transform: none; }

/* ── tile (the app-icon surface) ── */
.tile { position: relative; overflow: hidden; color: var(--on); border-radius: var(--r-tile); background: radial-gradient(110% 80% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 58%), var(--tile); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 40px 70px -40px rgba(6, 15, 12, .55), 0 2px 6px rgba(6, 15, 12, .12); }
.tile__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid var(--tile-line); font: 500 12px/1.2 var(--f-m); color: var(--on-2); }
.live { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.live span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile__tag { flex: none; padding: 4px 9px; border: 1px solid var(--tile-line); border-radius: 999px; color: var(--on-3); }

/* ── media frames (photos and video) ── */
.media { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--tile); isolation: isolate; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px); padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(251, 252, 249, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); font-size: 14px; line-height: 1.3; box-shadow: 0 14px 30px -14px rgba(6, 15, 12, .45); }
.float b { display: block; font-weight: 600; }
.float small { display: block; font: 500 11px/1.3 var(--f-m); color: var(--ink-3); }
.float i { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237AD88A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.float--dark { background: rgba(6, 15, 12, .88); color: var(--on); }
.float--dark small { color: var(--on-3); }
.float--msg { display: block; padding: 10px 13px; border-radius: 16px 16px 16px 5px; max-width: min(78%, 300px); }
.float--tl { top: 16px; left: 16px; }
.float--tr { top: 16px; right: 16px; }
.float--bl { bottom: 16px; left: 16px; }
.float--br { bottom: 16px; right: 16px; }
.motion .float { animation: bob 6s ease-in-out infinite; }
.motion .float + .float { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.vid-ctl { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(6, 15, 12, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: .85; transition: opacity .2s, background-color .2s; }
.vid-ctl:hover { opacity: 1; background: rgba(6, 15, 12, .8); }
.vid-ctl svg { width: 14px; height: 14px; fill: currentColor; }
.vid-ctl .i-play { display: none; }
.vid-ctl[aria-pressed="true"] .i-play { display: block; }
.vid-ctl[aria-pressed="true"] .i-pause { display: none; }
.media .vid-ctl { right: auto; left: 12px; }

/* ── home: video hero ── */
.vhero { padding: 10px 10px 0; }
.vhero__frame { position: relative; overflow: hidden; border-radius: var(--r-tile); min-height: 600px; height: min(88vh, 820px); background: var(--tile); color: #fff; isolation: isolate; }
.vhero__media { position: absolute; inset: 0; z-index: -2; }
.vhero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.vhero__media video.is-on { opacity: 1; z-index: 1; }
.motion .vhero__media video.is-on { animation: kb 6s linear forwards; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.06); } }
.vhero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 15, 12, .86) 0%, rgba(6, 15, 12, .62) 42%, rgba(6, 15, 12, .18) 75%, rgba(6, 15, 12, .1) 100%), linear-gradient(0deg, rgba(6, 15, 12, .7) 0%, rgba(6, 15, 12, 0) 34%); }
.vhero__in { height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 120px; }
.vhero__in .eyebrow { align-self: flex-start; margin-bottom: 26px; }
.vhero__in .h1 { max-width: 12ch; }
.vhero__in .lede { margin-top: 24px; max-width: 50ch; }
.vhero__fine { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.reel { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 6px; list-style: none; margin: 0 auto; padding: 0 var(--gut) 26px; max-width: calc(var(--wrap) + var(--gut) * 2); }
.reel li { flex: 1; min-width: 0; font: 500 11.5px/1.2 var(--f-m); letter-spacing: .04em; color: rgba(255, 255, 255, .55); transition: color .3s, flex-grow .4s var(--ease); }
/* progress is driven from the playing clip's currentTime (--p, 0 to 1) in script.js */
.reel li::before { content: ""; display: block; height: 2px; margin-bottom: 10px; border-radius: 2px; background: linear-gradient(var(--mint), var(--mint)) no-repeat 0 0 / calc(var(--p, 0) * 100%) 100%, rgba(255, 255, 255, .22); }
.reel li.is-on { color: #fff; }
.reel span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vhero .vid-ctl { right: calc(var(--gut) - 6px); bottom: 60px; }
@media (max-width: 700px) {
  .vhero__frame { height: auto; min-height: calc(100svh - var(--top-h) - 10px); }
  .vhero__in { padding-top: 56px; padding-bottom: 120px; justify-content: flex-end; }
  .vhero__scrim { background: linear-gradient(0deg, rgba(6, 15, 12, .92) 0%, rgba(6, 15, 12, .72) 55%, rgba(6, 15, 12, .35) 100%); }
  .reel li span { opacity: 0; transition: opacity .3s; }
  .reel li.is-on { flex-grow: 4; }
  .reel li.is-on span { opacity: 1; }
}

/* ── tools strip ── */
.tools { display: grid; gap: 16px; align-items: center; padding-top: 32px; }
.tools p { font-size: 15px; color: var(--ink-3); }
.tools .pills li { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 500; color: var(--ink-2); }
@media (min-width: 900px) { .tools { grid-template-columns: 210px 1fr; } }

/* ── solution cards (home) ── */
.sols { display: grid; gap: 18px; }
@media (min-width: 680px) { .sols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .sols { grid-template-columns: repeat(3, 1fr); } }
.sol { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .3s var(--ease); }
.sol:hover { border-color: var(--line-2); box-shadow: 0 22px 40px -28px rgba(6, 15, 12, .45); transform: translateY(-3px); }
.sol .media { border-radius: 0; aspect-ratio: 16 / 10; }
.sol .media img { transition: transform .6s var(--ease); }
.sol:hover .media img { transform: scale(1.04); }
.sol__b { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.sol__b p { color: var(--ink-2); font-size: 15.5px; }
.sol__b .more { margin-top: auto; padding-top: 6px; font-size: 15px; }
.sol .tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; font: 600 12px/1 var(--f-b); }
.tag--plate { background: #E1EEE0; color: var(--green-ink); }
.tag--money { background: #ECF2D6; color: var(--lime-ink); }
.tag--fit { background: #E6E9EF; color: #39465A; }

/* ── loop (home) ── */
.split2 { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1040px) { .split2 { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.split2 .copy { margin-top: 20px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232A6B3F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.split2 .ticks { margin-top: 24px; }
.loop { margin: 0; }
.loop__stage { position: relative; aspect-ratio: 2 / 1; margin: 26px 22px 6px; }
.loop__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.loop__track { fill: none; stroke: rgba(122, 216, 138, .13); stroke-width: 13; stroke-linejoin: round; }
.loop__run { fill: none; stroke: url(#lg); stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
.loop__glow { fill: none; stroke: url(#lg); stroke-width: 26; opacity: 0; filter: url(#blur); }
.loop.is-on .loop__glow { opacity: .55; }
.loop__hub circle:first-child { fill: var(--tile-2); stroke: rgba(122, 216, 138, .4); stroke-width: 1.5; }
.loop__hub circle:last-child { fill: var(--mint); }
.motion .loop__hub circle:first-child { transform-box: fill-box; transform-origin: center; animation: hub 3s ease-in-out infinite; }
@keyframes hub { 50% { transform: scale(1.12); stroke: rgba(122, 216, 138, .75); } }
.st { fill: var(--tile); stroke: rgba(122, 216, 138, .5); stroke-width: 2.5; transform-box: fill-box; transform-origin: center; transition: fill .3s, stroke .3s; }
.st.on { fill: var(--mint); stroke: var(--mint); }
.motion .st.hit { animation: st .7s var(--ease); }
@keyframes st { 30% { transform: scale(1.7); } }
.loop__dot { fill: #F1FFF2; opacity: 0; filter: drop-shadow(0 0 6px rgba(122, 216, 138, .95)); }
.loop.is-on .loop__dot { opacity: 1; }
.lbl { position: absolute; left: var(--x); top: var(--y); white-space: nowrap; pointer-events: none; font: 500 clamp(10.5px, 1.05vw, 12.5px)/1 var(--f-m); letter-spacing: .02em; color: var(--on-2); transition: color .3s; }
.lbl--t { transform: translate(-50%, calc(-100% - 15px)); }
.lbl--b { transform: translate(-50%, 15px); }
.lbl--l { transform: translate(15px, -50%); }
.lbl--r { transform: translate(calc(-100% - 15px), -50%); }
.lbl--hub { transform: translate(-50%, 36px); color: var(--on-3); }
.lbl.on { color: var(--mint); }
.feed { list-style: none; margin: 0; padding: 0 20px 18px; display: grid; }
.feed li { display: grid; grid-template-columns: 82px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--tile-line); font-size: 14px; line-height: 1.4; }
.feed b { font: 600 10.5px/1.4 var(--f-m); letter-spacing: .07em; text-transform: uppercase; color: var(--mint); }
.feed span { color: var(--on); }
.feed time { font: 400 11.5px var(--f-m); color: var(--on-3); white-space: nowrap; }
.motion .feed li.new { animation: feedIn .5s var(--ease); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 520px) { .feed li { grid-template-columns: 70px 1fr; min-height: 62px; } .feed time { display: none; } .loop__stage { margin: 22px 14px 4px; } }

/* ── sticky-note wall ── */
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.seg button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.notes { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (min-width: 760px) { .notes { grid-template-columns: repeat(4, 1fr); gap: 26px; } }
.note { perspective: 1000px; transform: rotate(var(--r)); transition: transform .6s var(--ease); }
.note.is-done { transform: rotate(0deg); }
.note__in { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.16; padding: 0; border: 0; background: none; text-align: left; transform-style: preserve-3d; transition: transform .65s var(--ease); }
@media (min-width: 760px) { .note__in { aspect-ratio: 1 / .82; } }
.note.is-done .note__in { transform: rotateY(180deg); }
.note__f, .note__b { position: absolute; inset: 0; display: flex; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 3px; }
.note__f { align-items: center; justify-content: center; padding: 22px 16px 16px; text-align: center; background: var(--n); color: #24261E; font: 700 clamp(22px, 2.4vw, 30px)/1.05 var(--f-h); box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 14px 20px -12px rgba(0, 0, 0, .3); }
.note__f::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 255, 255, .55); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.note__b { flex-direction: column; justify-content: flex-start; gap: 8px; padding: 14px; transform: rotateY(180deg); background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); font-size: 13.5px; line-height: 1.42; box-shadow: 0 14px 24px -16px rgba(6, 15, 12, .3); }
.note__b b { display: flex; align-items: center; gap: 8px; font: 600 17px/1.2 var(--f-d); color: var(--ink); }
.note__b b::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237AD88A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.note__b i { margin-top: auto; align-self: flex-start; padding: 5px 9px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font: 600 10.5px/1.2 var(--f-m); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 760px) { .note__b { padding: 20px; font-size: 14.5px; gap: 10px; } .note__b b { font-size: 18.5px; } }
.note__in:hover .note__f { filter: brightness(1.03); }
.note__in:focus-visible { outline-offset: 6px; }

/* ── industries teaser (home) ── */
.inds { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 980px) { .inds { grid-template-columns: repeat(5, 1fr); } }
.ind-t { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: #fff; background: var(--tile); isolation: isolate; }
.ind-t img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ind-t::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 15, 12, .94) 0%, rgba(6, 15, 12, .7) 32%, rgba(6, 15, 12, 0) 68%); }
.ind-t:hover img { transform: scale(1.05); }
.ind-t span { position: absolute; left: 18px; right: 18px; bottom: 16px; font: 600 19px/1.15 var(--f-d); letter-spacing: -.01em; }
.ind-t small { display: block; margin-top: 4px; font: 400 13px/1.35 var(--f-b); color: rgba(255, 255, 255, .78); }
.ind-t--all { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 20px; background: radial-gradient(110% 80% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 58%), var(--tile); }
.ind-t--all::after { display: none; }
.ind-t--all ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; color: var(--on-2); }
.ind-t--all b { font: 600 19px/1.15 var(--f-d); color: var(--mint); }
@media (max-width: 979px) { .ind-t--all { grid-column: 1 / -1; aspect-ratio: auto; } }

/* ── how teaser (home) ── */
.howt { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .howt { grid-template-columns: 1fr 1fr; gap: 64px; } }
.howt .media { aspect-ratio: 5 / 4; }
.howt ol { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.howt li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.howt li::before { content: "0" counter(s); grid-row: span 2; font: 600 26px/1 var(--f-d); color: var(--green); }
.howt li b { font: 600 18px/1.25 var(--f-d); }
.howt li span { font-size: 15.5px; color: var(--ink-2); }
.howt .more { margin-top: 22px; }

/* ── CTA band with photo ── */
.ctaband { display: grid; }
@media (min-width: 900px) { .ctaband { grid-template-columns: 1.1fr .9fr; } }
.ctaband__t { padding: clamp(36px, 6vw, 72px); }
.ctaband__t .h2 { margin-top: 14px; max-width: 13ch; }
.ctaband__t .lede { margin-top: 20px; color: var(--on-2); }
.ctaband__t .btn { margin-top: 30px; }
.ctaband__img { position: relative; min-height: 300px; }
.ctaband__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ctaband__img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--tile) 0%, rgba(6, 15, 12, 0) 30%); }
@media (max-width: 899px) { .ctaband__img::before { background: linear-gradient(180deg, var(--tile) 0%, rgba(6, 15, 12, 0) 30%); } }
.ctaband__mark { width: 120px; height: auto; margin-bottom: 22px; }

/* ── inner page hero ── */
.phero { padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); }
.phero__in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .phero__in { grid-template-columns: 1fr 1fr; gap: 56px; } }
.phero .eyebrow { margin-bottom: 24px; }
.phero .lede { margin-top: 24px; }
.phero__media { aspect-ratio: 5 / 4; box-shadow: 0 40px 70px -44px rgba(6, 15, 12, .5); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.jump a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--ink-2); transition: border-color .2s, color .2s, background-color .2s; }
.jump a:hover { border-color: var(--ink); color: var(--ink); background: var(--card); }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 5 / 4; }
.collage .media:first-child { grid-row: span 2; }

/* ── alternating rows (solutions, how it works) ── */
.rows { display: grid; gap: clamp(64px, 9vw, 120px); }
.row { display: grid; gap: 32px; align-items: center; scroll-margin-top: calc(var(--top-h) + 24px); }
@media (min-width: 960px) { .row { grid-template-columns: 1fr 1fr; gap: 64px; } .row:nth-child(even) .row__media { order: 2; } }
.row__media { aspect-ratio: 5 / 4; }
.row__n { display: block; margin-bottom: 14px; font: 600 15px var(--f-m); color: var(--green); }
.row .k { margin-bottom: 14px; }
.row .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.row .copy { margin-top: 18px; }
.row__cols { display: grid; gap: 22px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (min-width: 560px) { .row__cols { grid-template-columns: 1.1fr .9fr; } }
.row__cols p.k { font-size: 11.5px; margin-bottom: 12px; color: var(--ink-3); }
.row__cols .pills--sm { gap: 6px; }
.row__cols .ticks li { font-size: 15px; }

/* ── industries page ── */
.ind-grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ind-grid { grid-template-columns: repeat(3, 1fr); } }
.ind { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; scroll-margin-top: calc(var(--top-h) + 24px); }
.ind .media { border-radius: 0; aspect-ratio: 16 / 10; }
.ind__b { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.ind__b > p { color: var(--ink-3); font-size: 15px; }
.ind__b .ticks { margin: 6px 0 4px; }
.ind__b .ticks li { font-size: 15px; }
.ind__fit { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
.ind__fit a { padding: 5px 10px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font-weight: 600; text-decoration: none; }
.ind__fit a:hover { background: #D2E6D1; }
.ind--else { justify-content: center; padding: 30px; background: radial-gradient(110% 80% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 58%), var(--tile); color: var(--on); border: 0; }
.ind--else .h3 { color: #fff; margin: 14px 0 10px; }
.ind--else p { color: var(--on-2); }
.ind--else .btn { margin-top: 22px; align-self: flex-start; }

/* ── agent console ── */
.console { display: grid; }
.console__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; border-bottom: 1px solid var(--tile-line); }
.ctab { display: block; text-align: left; padding: 12px 14px; min-height: 44px; border: 1px solid transparent; border-radius: 14px; background: none; color: var(--on-2); transition: background-color .2s, border-color .2s; }
.ctab b { display: block; font: 600 15.5px/1.2 var(--f-d); color: var(--on); transition: color .2s; }
.ctab small { display: block; margin-top: 4px; font: 400 11px/1.3 var(--f-m); color: var(--on-3); }
.ctab:hover { background: rgba(255, 255, 255, .03); }
.ctab[aria-selected="true"] { background: var(--tile-3); border-color: var(--tile-line); }
.ctab[aria-selected="true"] b { color: var(--mint); }
.console__body { display: grid; }
@media (min-width: 760px) { .console__body { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .console { grid-template-columns: 236px 1fr; } .console__tabs { grid-template-columns: 1fr; align-content: start; padding: 16px; border-bottom: 0; border-right: 1px solid var(--tile-line); } }
.phone { margin: 16px; display: flex; flex-direction: column; background: var(--tile-2); border: 1px solid var(--tile-line); border-radius: 22px; overflow: hidden; }
.phone__h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--tile-line); }
.phone__h b { display: block; font: 600 14.5px/1.2 var(--f-b); }
.phone__h small { display: block; font: 400 11px/1.3 var(--f-m); color: var(--on-3); }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; overflow: hidden; background: linear-gradient(135deg, #2F7D4A, #84B035); color: var(--tile); font: 700 14px var(--f-d); }
.av img { width: 100%; height: 100%; }
.thread { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 440px; }
@media (max-width: 759px) { .thread { min-height: 360px; } }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 17px; font-size: 14.5px; line-height: 1.42; }
.msg--in { align-self: flex-start; background: #182B22; color: var(--on); border-bottom-left-radius: 5px; }
.msg--out { align-self: flex-end; background: #1F3A2C; color: var(--on); border-bottom-right-radius: 5px; }
.msg--agent { background: var(--mint); color: var(--ink); }
.msg--mail { align-self: stretch; max-width: none; background: #142019; border: 1px solid var(--tile-line); border-radius: 12px; }
.msg__by { display: block; margin-bottom: 2px; font: 600 10px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; opacity: .62; }
.msg u { text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.msg__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.mbtn { padding: 7px 11px; border-radius: 10px; background: rgba(13, 16, 15, .1); font: 600 13px/1.1 var(--f-b); transition: background-color .25s, color .25s; }
.mbtn.is-tapped { background: var(--ink); color: var(--mint); }
.typing { align-self: flex-end; display: inline-flex; gap: 4px; padding: 13px 14px; border-radius: 17px; border-bottom-right-radius: 5px; background: rgba(122, 216, 138, .18); }
.typing.typing--in { align-self: flex-start; border-radius: 17px; border-bottom-left-radius: 5px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.motion .msg, .motion .call { animation: popIn .35s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.calls { display: flex; flex-direction: column; padding: 20px 20px 22px; border-top: 1px solid var(--tile-line); }
@media (min-width: 760px) { .calls { padding: 22px 22px 22px 6px; border-top: 0; } }
.calls__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.call { padding: 10px 12px; border-radius: 12px; background: var(--tile-2); border: 1px solid var(--tile-line); font: 400 12.5px/1.5 var(--f-m); color: var(--on-2); overflow-wrap: anywhere; }
.call__fn i { font-style: normal; color: var(--mint); }
.call__res { margin-top: 3px; color: var(--on-3); }
.call__res b { font-weight: 500; color: var(--on); }
.calls__out { margin-top: 12px; padding: 13px 15px; border-radius: 14px; background: linear-gradient(100deg, rgba(122, 216, 138, .16), rgba(132, 176, 53, .08)); border: 1px solid rgba(122, 216, 138, .32); }
.calls__out span { display: block; font: 600 10.5px/1.3 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); }
.calls__out b { display: block; margin-top: 4px; font: 600 16.5px/1.3 var(--f-d); color: var(--on); }
.calls #replay { align-self: flex-start; margin-top: 16px; }

/* ── rules ── */
.rules { display: grid; }
@media (min-width: 920px) { .rules { grid-template-columns: .9fr 1.1fr; } }
.rules__asks { padding: 24px; }
.asks { display: grid; gap: 8px; margin-top: 14px; }
.ask { min-height: 48px; padding: 12px 16px; text-align: left; border-radius: 14px; background: var(--tile-2); border: 1px solid var(--tile-line); color: var(--on); font-size: 15.5px; line-height: 1.35; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.ask small { display: block; margin-bottom: 3px; font: 500 10.5px/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--on-3); }
.ask:hover { border-color: rgba(122, 216, 138, .35); }
.ask[aria-checked="true"] { background: var(--tile-3); border-color: rgba(122, 216, 138, .6); box-shadow: inset 3px 0 0 var(--mint); }
.rules__out { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-top: 1px solid var(--tile-line); }
@media (min-width: 920px) { .rules__out { border-top: 0; border-left: 1px solid var(--tile-line); } }
.motion .rules__out.swap > * { animation: popIn .4s var(--ease) backwards; }
.motion .rules__out.swap > :nth-child(2) { animation-delay: .08s; }
.motion .rules__out.swap > :nth-child(3) { animation-delay: .5s; }
.rcall { padding: 14px 16px; border-radius: 14px; background: var(--tile-2); border: 1px solid rgba(242, 154, 136, .3); font: 400 13px/1.55 var(--f-m); overflow-wrap: anywhere; }
.rcall__fn { color: var(--on-2); }
.rcall__fn i { font-style: normal; color: var(--mint); }
.rcall__res { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.rcall__res code { font: inherit; color: var(--no); }
.badge { padding: 4px 8px; border-radius: 6px; background: rgba(242, 154, 136, .14); border: 1px solid rgba(242, 154, 136, .4); color: #F7B4A6; font: 600 10.5px/1.2 var(--f-m); letter-spacing: .08em; text-transform: uppercase; }
.rules.is-hold .rcall { border-color: rgba(232, 196, 122, .35); }
.rules.is-hold .badge { background: rgba(232, 196, 122, .14); border-color: rgba(232, 196, 122, .45); color: var(--hold); }
.rules.is-hold .rcall__res code { color: var(--hold); }
.rules.is-hold .rcode .hit { border-left-color: var(--hold); background: rgba(232, 196, 122, .1); }
.rcode { margin: 0; padding: 16px 18px; border-radius: 14px; background: #030A07; border: 1px solid var(--tile-line); font: 400 12.5px/1.7 var(--f-m); color: var(--on-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.rcode .c { color: var(--on-3); font-style: italic; }
.rcode .kw { color: #A9CF5A; }
.rcode .s { color: #E7C27D; }
.rcode .fn { color: var(--mint); }
.rcode .hit { display: block; margin: 0 -18px; padding: 0 18px 0 16px; border-left: 2px solid var(--no); background: rgba(242, 154, 136, .1); color: var(--on); }
.rreply { align-self: flex-end; max-width: 92%; padding: 12px 15px; border-radius: 17px 17px 5px 17px; background: var(--mint); color: var(--ink); }
.rreply__k { display: block; margin-bottom: 3px; font: 600 10px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; opacity: .62; }
.rreply p { font-size: 15px; line-height: 1.45; }

/* ── four-card grids (trust, principles) ── */
.cards4 { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 680px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.cards4 li { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.cards4 h3 { margin: 18px 0 8px; font: 600 20px/1.2 var(--f-d); letter-spacing: -.01em; }
.cards4 p { font-size: 15.5px; color: var(--ink-2); }
.ic { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 13px; background: var(--tile); color: var(--mint); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── about: video band and family ── */
.vband { position: relative; overflow: hidden; border-radius: var(--r-tile); min-height: 460px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; background: var(--tile); }
.vband > video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.vband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 15, 12, .9) 0%, rgba(6, 15, 12, .35) 55%, rgba(6, 15, 12, .15) 100%); }
.vband__t { padding: clamp(28px, 5vw, 56px); max-width: 720px; }
.vband__t .lede { margin-top: 16px; }
.vband .vid-ctl { left: auto; right: 16px; top: 16px; bottom: auto; }
.fams { display: grid; gap: 18px; }
@media (min-width: 820px) { .fams { grid-template-columns: 1fr 1fr; } }
.fam { display: flex; flex-direction: column; gap: 10px; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.fam p { color: var(--ink-2); }
.fam .more { margin-top: 8px; }

/* ── books band ── */
.books { display: grid; gap: 22px; align-items: center; padding: clamp(24px, 3.5vw, 36px); border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); }
.books .h3 { margin: 10px 0; }
.books p:last-child { color: var(--ink-2); max-width: 72ch; }
@media (min-width: 860px) { .books { grid-template-columns: 1fr auto; gap: 40px; } }

/* ── faq ── */
.split { display: grid; gap: 36px; }
.split__side .k { margin-bottom: 16px; }
.split__side .copy { margin-top: 18px; }
@media (min-width: 920px) { .split { grid-template-columns: .8fr 1.2fr; gap: 64px; } .split__side { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; } }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 22px 48px 22px 0; font: 600 19px/1.3 var(--f-d); letter-spacing: -.01em; cursor: pointer; border-radius: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details > div p { padding: 0 0 24px; max-width: 62ch; color: var(--ink-2); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ── footer ── */

/* ── contact page ── */
.start { display: grid; gap: 28px; padding-bottom: clamp(72px, 9vw, 120px); }
@media (min-width: 1000px) { .start { grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; } .start__side { position: sticky; top: calc(var(--top-h) + 24px); } }
.start__side { display: grid; gap: 16px; }
.start__side .media { aspect-ratio: 16 / 10; }
.form { padding: clamp(22px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.field { display: grid; gap: 7px; margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.field .field { margin-bottom: 12px; }
.field > label, .field > legend { padding: 0; font: 600 15.5px/1.3 var(--f-b); color: var(--ink); }
.field > legend { margin-bottom: 9px; }
.req { color: var(--green-ink); }
.opt { font-weight: 400; color: var(--ink-3); }
.help { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.err { font-size: 13.5px; font-weight: 600; color: #A8261C; }
.err:empty { display: none; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font: 400 16px/1.4 var(--f-b); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form textarea { min-height: 128px; padding: 12px 14px; resize: vertical; }
.form select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338413C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 4px rgba(75, 165, 99, .2); }
.form input[aria-invalid="true"], .form select[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #A8261C; }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pill span:hover { border-color: var(--ink-3); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { outline: 2.5px solid var(--green-ink); outline-offset: 2px; }
.form__go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.form__go p { font-size: 13.5px; color: var(--ink-3); max-width: 40ch; }
.sent { padding: clamp(22px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; }
.sent[hidden] { display: none; }
.sent .h3 { margin: 14px 0 10px; }
.sent p { color: var(--ink-2); max-width: 56ch; }
.sent pre { margin-top: 18px; color: var(--on); }
.sent__row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.next { padding: clamp(24px, 3vw, 32px); }
.next h2 { font: 600 22px/1.2 var(--f-d); letter-spacing: -.01em; margin: 12px 0 18px; }
.next ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: n; }
.next ol li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 15px; color: var(--on-2); }
.next ol li::before { content: "0" counter(n); font: 500 12px/1.9 var(--f-m); color: var(--mint); }
.next ol li b { display: block; color: var(--on); font-weight: 600; }
.next__mail { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--tile-line); font-size: 14.5px; color: var(--on-3); }
.next__mail a { color: var(--mint); text-underline-offset: 3px; }

/* ---------- case studies (case-studies.html, case-study-*.html; built by site-src/case_studies.py) ---------- */
.cs-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 760px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .cs-grid { grid-template-columns: repeat(3, 1fr); } }
.cs-card a { display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.cs-card a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(13, 16, 15, .35); }
.cs-card__media { aspect-ratio: 16 / 10; border-radius: 0; }
.cs-card__b { display: grid; gap: 10px; padding: 22px 22px 24px; }
.cs-card__b p:not(.k) { color: var(--ink-2); }
.cs-card__b .more { margin-top: 6px; }
.cs-empty { padding: 40px; border: 1px dashed var(--line-2); border-radius: var(--r-card); color: var(--ink-3); text-align: center; }
.cs-back { margin-bottom: 22px; font: 500 13px var(--f-m); }
.cs-back a { color: var(--ink-3); text-decoration: none; }
.cs-back a::before { content: "← "; }
.cs-back a:hover { color: var(--ink); }
.cs-logo img { height: 48px; width: auto; margin: 6px 0 14px; }
.cs-facts { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
@media (min-width: 700px) { .cs-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.cs-facts li { display: grid; gap: 8px; padding: 18px 20px; background: var(--card); }
.cs-facts b { font: 600 18px/1.25 var(--f-d); letter-spacing: -.01em; }
.cs-prob { display: grid; gap: 24px; }
@media (min-width: 960px) { .cs-prob { grid-template-columns: 5fr 7fr; column-gap: 64px; } .cs-quote { grid-column: 1 / -1; } }
.cs-prose { display: grid; gap: 16px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.cs-quote { margin: clamp(20px, 3vw, 40px) 0 0; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-card); background: var(--tile); color: var(--on); }
.cs-quote blockquote { margin: 0; font: 500 clamp(24px, 3vw, 36px)/1.2 var(--f-d); letter-spacing: -.02em; }
.cs-quote blockquote p::before { content: "\201C"; color: var(--mint); }
.cs-quote blockquote p::after { content: "\201D"; color: var(--mint); }
.cs-quote figcaption { margin-top: 18px; font: 500 13px var(--f-m); color: var(--on-2); }
.cs-builts { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(40px, 6vw, 80px); }
.cs-built { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cs-built { grid-template-columns: 7fr 5fr; gap: 56px; } .cs-built--flip .cs-built__media { order: 2; } .cs-built--flip { grid-template-columns: 5fr 7fr; } }
.cs-built__media { aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -36px rgba(13, 16, 15, .45); }
.cs-built__t { display: grid; gap: 12px; }
.cs-built__t > p:not(.k) { color: var(--ink-2); font-size: 17px; }
.cs-points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.cs-points li { position: relative; padding-left: 26px; color: var(--ink-2); }
.cs-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.cs-tech { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.cs-results { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .cs-results { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cs-results { grid-template-columns: repeat(3, 1fr); } }
.cs-results li { display: grid; gap: 6px; padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.cs-results b { font: 600 clamp(40px, 5vw, 60px)/1 var(--f-d); letter-spacing: -.04em; white-space: nowrap; }
.cs-results span { font-weight: 600; }
.cs-results small { color: var(--ink-3); font-size: 13.5px; }
/* timeline: dots sit at (--x, --c) inside each li; each li draws the rail from its dot down to the next dot,
   so the rail is one unbroken line from the first dot centre to the last. The fill (ol::after) is measured by script.js. */
.cs-time { --x: 7px; --c: 13px; --d: 14px; position: relative; list-style: none; margin: 0; padding: 0; max-width: 860px; }
.cs-time li { position: relative; display: grid; gap: 4px; padding: 0 0 30px 40px; }
.cs-time li:last-child { padding-bottom: 0; }
.cs-time li::before { content: ""; position: absolute; z-index: 2; left: calc(var(--x) - var(--d) / 2); top: calc(var(--c) - var(--d) / 2); width: var(--d); height: var(--d); box-sizing: border-box; border-radius: 50%; background: var(--green); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--green); }
.cs-time li::after { content: ""; position: absolute; z-index: 0; left: calc(var(--x) - 1px); top: var(--c); bottom: calc(var(--c) * -1); width: 2px; background: var(--green); }
.cs-time li:last-child::after { display: none; }
.cs-time .k, .cs-time p { line-height: 26px; }
.cs-time p { font-size: 17px; color: var(--ink-2); }
@media (min-width: 860px) {
  .cs-time { --x: 187px; }
  .cs-time li { grid-template-columns: 150px 1fr; column-gap: 74px; padding-left: 0; padding-bottom: 34px; }
  .cs-time .k { text-align: right; }
}
.cs-gallery { display: grid; gap: 18px; }
@media (min-width: 760px) { .cs-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .cs-gallery { grid-template-columns: repeat(3, 1fr); } }
.cs-shot { margin: 0; display: grid; gap: 10px; }
.cs-shot .media { aspect-ratio: 4 / 3; background: var(--paper-2); }
.cs-shot .media > img { object-position: top center; }
.cs-shot figcaption { font-size: 14px; color: var(--ink-3); }

/* case studies: motion + frames */
.cs-hero__media { position: relative; perspective: 1200px; }
.cs-hero__media .phero__media { transition: transform .5s var(--ease); transform-style: preserve-3d; }
.cs-float { z-index: 3; }
.cs-hero__media .float--tl { top: -18px; left: -18px; }
.cs-hero__media .float--br { bottom: -18px; right: -14px; }
@media (max-width: 700px) { .cs-hero__media .float--tl { left: 8px; top: -14px; } .cs-hero__media .float--br { right: 8px; bottom: -14px; } }
.motion .cs-float { opacity: 0; transform: translateY(14px) scale(.96); animation: csPop .7s var(--ease) var(--fd, .6s) forwards, bob 6s ease-in-out calc(var(--fd, .6s) + .7s) infinite; }
@keyframes csPop { to { opacity: 1; transform: none; } }

.cs-win { position: relative; border-radius: 16px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(13, 16, 15, .5), 0 2px 6px rgba(13, 16, 15, .06); }
.cs-win img { display: block; width: 100%; height: auto; }
.cs-win__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #ECEFE8; border-bottom: 1px solid var(--line); }
.cs-win__bar i { width: 10px; height: 10px; border-radius: 50%; background: #F29A88; }
.cs-win__bar i:nth-child(2) { background: #E8C47A; }
.cs-win__bar i:nth-child(3) { background: var(--mint); }
.cs-win__bar span { margin: 0 auto; padding: 4px 14px; border-radius: 999px; background: var(--card); font: 500 11.5px var(--f-m); color: var(--ink-3); transform: translateX(-20px); }
.cs-win--chat { background: #313338; border-color: #232428; }
.cs-win--chat .cs-win__bar { background: #1E1F22; border-color: #232428; }
.cs-win--chat .cs-win__bar span { background: #2B2D31; color: #B5BAC1; }
.cs-built__media { aspect-ratio: auto; box-shadow: none; }
.motion .cs-built.reveal .cs-win { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.1s var(--ease) .15s; }
.motion .cs-built.reveal.in .cs-win { clip-path: inset(0 0 0 0 round 16px); }
.motion .cs-built.reveal .cs-win img { transform: scale(1.06); transition: transform 1.6s var(--ease) .15s; }
.motion .cs-built.reveal.in .cs-win img { transform: none; }

.cs-results b { font-variant-numeric: tabular-nums; }
.motion .cs-results li { transition: transform .3s var(--ease), box-shadow .3s; }
.motion .cs-results li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(13, 16, 15, .35); }

.cs-time::after { content: ""; position: absolute; z-index: 1; left: calc(var(--x) - 1px); top: var(--t, var(--c)); width: 2px; height: calc(var(--len, 0px) * var(--p, 1)); background: var(--green); display: none; }
.motion .cs-time.is-live::after { display: block; }
.motion .cs-time.is-live li::after { background: var(--line-2); }
.cs-time li::before { transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.motion .cs-time.is-live li:not(.lit)::before { background: var(--paper); box-shadow: 0 0 0 2px var(--line-2); }
.motion .cs-time.is-live li.lit::before { transform: scale(1.08); }

.cs-marquee { position: relative; flex: 1; min-width: 0; display: flex; gap: 8px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cs-marquee ul { flex: none; flex-wrap: nowrap; }
.cs-marquee li { white-space: nowrap; }
.motion .cs-marquee ul { animation: csMarq 38s linear infinite; }
.cs-marquee:hover ul { animation-play-state: paused; }
@keyframes csMarq { to { transform: translateX(calc(-100% - 8px)); } }
.cs-tech { flex-wrap: nowrap; }
@media (max-width: 700px) { .cs-tech { flex-wrap: wrap; } }

.cs-shot .media { transition: transform .4s var(--ease), box-shadow .4s; }
.motion .cs-shot:hover .media { transform: translateY(-4px) scale(1.01); box-shadow: 0 26px 50px -30px rgba(13, 16, 15, .45); }
.cs-card__media img { transition: transform .9s var(--ease); }
.motion .cs-card a:hover .cs-card__media img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .cs-marquee ul, .cs-float { animation: none !important; opacity: 1 !important; transform: none !important; } }
.cs-panel ul { list-style: none; margin: 0; padding: 14px 18px 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 18px; }
.cs-panel li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--tile-line); color: var(--on); font-size: 15px; }
.cs-panel li i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.cs-panel li:nth-child(3n+2) i { background: var(--hold); }
.cs-panel li:nth-child(3n) i { background: #8FB8F2; }
.motion .cs-built.reveal .cs-panel li { opacity: 0; transform: translateX(-10px); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.3s + var(--j) * 60ms); }
.motion .cs-built.reveal.in .cs-panel li { opacity: 1; transform: none; }

/* case studies: live demo boxes (site-src/demos.py renders the final state; script.js plays it back).
   Everything is visible by default; only .motion + .is-live hides the steps, so reduced motion gets the static end state.
   Hidden steps keep their space (opacity/transform only), so nothing shifts the layout. */
.cs-built__media--demo { min-width: 0; }
.cs-demos { display: grid; gap: 22px; }
.cs-demo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.cs-demo__vis { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13, 16, 15, .5), 0 2px 6px rgba(13, 16, 15, .06); }
.cs-demo__cap { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 13.5px; line-height: 1.35; color: var(--ink-3); }
.cs-demo__cap > span:nth-child(2) { flex: 1; min-width: 0; }
.cs-demo__tag { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 4px 9px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font: 600 10.5px/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; }
.cs-demo__tag i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.motion .cs-demo.is-live:not(.is-paused) .cs-demo__tag i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid var(--green); animation: ping 2.4s var(--ease) infinite; }
.cs-demo__ctl { display: none; flex: none; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--ink-2); transition: border-color .2s, color .2s; }
.cs-demo__ctl:hover { border-color: var(--ink); color: var(--ink); }
.cs-demo__ctl svg { width: 11px; height: 11px; fill: currentColor; }
.cs-demo__ctl .i-play, .cs-demo__ctl[aria-pressed="true"] .i-pause { display: none; }
.cs-demo__ctl[aria-pressed="true"] .i-play { display: block; }
.motion .cs-demo.is-live .cs-demo__ctl { display: grid; }
.cs-demo.is-paused *, .cs-demo.is-paused *::before, .cs-demo.is-paused *::after { animation-play-state: paused !important; }
.motion .cs-demo.is-live [data-s] { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.motion .cs-demo.is-live [data-s]:not(.on) { opacity: 0; transform: translateY(6px); }
.motion .cs-built.reveal .cs-demo__vis { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.1s var(--ease) .15s; }
.motion .cs-built.reveal.in .cs-demo__vis { clip-path: inset(0 0 0 0 round 16px); }
.motion .cs-built.reveal .cs-demo + .cs-demo .cs-demo__vis { transition-delay: .35s; }

/* KDS: the kitchen screen */
.kds { --g: #12A36B; --a: #D98A0C; --r: #D8432F; display: flex; flex-direction: column; aspect-ratio: 16 / 10; background: #0E0F10; color: #F2F2F2; font-family: var(--f-b); }
@media (max-width: 600px) { .kds { aspect-ratio: 4 / 5; } }
.kds__top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid #23262A; font-size: 12px; }
.kds__top > b { font: 700 13px/1 var(--f-d); letter-spacing: .04em; color: #F0A13A; }
.kds__k { font: 600 10px var(--f-m); letter-spacing: .1em; color: #8A9097; }
.kds__clock { font: 700 15px/1 var(--f-d); font-variant-numeric: tabular-nums; }
.kds__stats { display: flex; gap: 12px; margin-left: auto; color: #9AA0A6; white-space: nowrap; }
.kds__stats b { color: #fff; font-variant-numeric: tabular-nums; }
.kds__stats b.bump { animation: kdsBump .5s var(--ease); }
@keyframes kdsBump { 40% { color: var(--mint); transform: scale(1.2); } }
.kds__stats > span { display: inline-block; }
@media (max-width: 600px) { .kds__k, .kds__clock { display: none; } .kds__stats { gap: 9px; } }
.kds__grid { position: relative; flex: 1; min-height: 0; list-style: none; margin: 0; padding: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); grid-auto-rows: min-content; align-content: start; gap: 10px; overflow: hidden; -webkit-mask: linear-gradient(#000 82%, transparent); mask: linear-gradient(#000 82%, transparent); }
.tk { position: relative; border-radius: 9px; background: #1A1C1F; border: 1px solid #2A2D31; overflow: hidden; }
.tk__h { display: flex; align-items: baseline; gap: 6px; padding: 7px 9px; background: var(--g); color: #fff; transition: background-color .6s; }
.tk--a .tk__h { background: var(--a); }
.tk--r .tk__h { background: var(--r); }
.tk__h b { font: 700 15px/1 var(--f-d); }
.tk__h span { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; font-weight: 600; opacity: .9; }
.tk__h time { font: 700 13px/1 var(--f-d); font-variant-numeric: tabular-nums; }
.tk ul { list-style: none; margin: 0; padding: 4px 8px; }
.tk li { display: flex; gap: 7px; padding: 5px 0; font-size: 12.5px; line-height: 1.25; font-weight: 600; }
.tk li + li { border-top: 1px dashed #2E3135; }
.tk li > i { flex: none; padding: 3px 5px; border-radius: 5px; background: #E39A2B; color: #1A1206; font: 700 11.5px/1 var(--f-d); font-style: normal; height: fit-content; }
.tk li em { display: table; margin-top: 3px; padding: 2px 5px; border-radius: 4px; background: #E0392B; color: #fff; font: 700 9.5px/1.2 var(--f-m); font-style: normal; letter-spacing: .04em; }
.tk li small { display: block; margin-top: 2px; color: #3FD0B4; font-size: 11px; }
.tk__f { position: relative; display: flex; align-items: center; gap: 6px; padding: 6px 9px 8px; font-size: 10.5px; color: #7D838A; }
.tk__cash { padding: 2px 5px; border-radius: 4px; background: #149A62; color: #fff; font: 700 9px/1.2 var(--f-m); }
.tk.is-new { animation: tkIn .6s var(--ease); }
.tk.is-new .tk__h { animation: tkFlash 1.2s ease-out; }
@keyframes tkIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }
@keyframes tkFlash { 0%, 30% { box-shadow: inset 0 0 0 40px rgba(255, 255, 255, .28); } }
.tk.is-tap .tk__f::after { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(255, 255, 255, .5); animation: tkTap .5s ease-out forwards; }
@keyframes tkTap { from { transform: scale(.3); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.tk.is-done { transition: opacity .4s, transform .4s var(--ease); opacity: 0; transform: scale(.9); }
.tk.is-done .tk__h { background: #3A3F44; }
.kds__foot { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #23262A; font: 600 10px/1.2 var(--f-m); color: #8A9097; white-space: nowrap; }
.kds__last { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; color: #6B7178; }
.kds__sample, .db__badge { flex: none; padding: 4px 8px; border-radius: 6px; background: #D7263D; color: #fff; font: 700 9.5px/1.2 var(--f-m); letter-spacing: .1em; }

/* team chat (lead alert, morning brief) */
.dc { position: relative; background: #313338; color: #DBDEE1; font: 400 14px/1.45 var(--f-b); }
.dc__bar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: #2B2D31; border-bottom: 1px solid #1F2023; font-weight: 600; color: #F2F3F5; }
.dc__hash { font-size: 18px; line-height: 1; color: #80848E; }
.dc__sample { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: rgba(215, 38, 61, .9); color: #fff; font: 700 9.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; }
.dc__body { padding: 14px 16px 44px; }
.dc__msg { display: grid; grid-template-columns: 38px 1fr; gap: 12px; }
.dc__msg + .dc__msg { margin-top: 14px; }
.dc__av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #C8402F; color: #fff; font: 700 13px var(--f-d); }
.dc__av--user { background: #4E5D94; }
.dc__c { min-width: 0; overflow-wrap: anywhere; }
.dc__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.dc__who b { color: #F2F3F5; font-weight: 600; }
.dc__app { padding: 1px 5px; border-radius: 4px; background: #5865F2; color: #fff; font: 700 9.5px/1.4 var(--f-b); align-self: center; }
.dc__who time { font-size: 11.5px; color: #949BA4; }
.dc__title { display: flex; align-items: center; gap: 7px; margin-top: 2px; font-weight: 700; color: #F2F3F5; }
.dc__title i { width: 10px; height: 10px; border-radius: 50%; background: #F23F43; }
.dc__title--sun i { background: #F0B232; box-shadow: 0 0 0 3px rgba(240, 178, 50, .25); }
.dc__gap { margin-top: 10px; }
.dc__list { list-style: none; margin: 0; padding: 0; }
.dc__list b, .dc__h { font-weight: 700; color: #F2F3F5; }
.dc__cal li { padding-left: 8px; }
.dc__chk { display: inline-grid; vertical-align: bottom; }
.dc__chk > * { grid-area: 1 / 1; transition: opacity .3s; }
.dc__chk .a { color: #949BA4; font-style: italic; opacity: 0; }
.motion .cs-demo.is-live li:not(.done) > .dc__chk .a { opacity: 1; }
.motion .cs-demo.is-live li:not(.done) > .dc__chk .b { opacity: 0; }
.dc__list .dc__free { color: #23A55A; }
.dc__list .dc__booked { color: #F0B232; font-weight: 500; }
.dc__pick { color: #949BA4; }
.dc__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dc__btn { position: relative; padding: 7px 14px; border-radius: 4px; background: #4E5058; color: #fff; font-size: 13.5px; font-weight: 500; transition: background-color .25s, transform .2s; }
.dc__btn--go { background: #5865F2; }
.motion .cs-demo.is-live .on > .dc__btn--go:not(.pressed)::after { content: ""; position: absolute; inset: 0; border-radius: 4px; box-shadow: 0 0 0 0 rgba(88, 101, 242, .7); animation: dcPulse 1.4s ease-out infinite; }
@keyframes dcPulse { to { box-shadow: 0 0 0 10px rgba(88, 101, 242, 0); } }
.dc__btn--go.pressed { background: #3C45A5; transform: scale(.96); }
.dc__ok { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; background: #23A55A; color: #fff; font-size: 11px; font-weight: 700; vertical-align: -2px; }
.dc__line { margin: 0 -6px; padding: 0 6px; border-radius: 4px; transition: background-color .4s, box-shadow .4s; }
.dc__line.pressed { background: rgba(88, 101, 242, .2); box-shadow: inset 2px 0 0 #5865F2; }
.dc__code { display: inline-block; margin-top: 2px; padding: 1px 8px; border-radius: 5px; background: #1E1F22; font: 600 13px/1.6 var(--f-m); color: #F2F3F5; }
.dc__typing { position: absolute; left: 16px; bottom: 12px; display: flex; align-items: center; gap: 3px; margin: 0; font-size: 12px; color: #B5BAC1; opacity: 0; transition: opacity .25s; pointer-events: none; }
.dc__typing i { width: 5px; height: 5px; border-radius: 50%; background: #B5BAC1; animation: dot 1s infinite ease-in-out; }
.dc__typing i:nth-child(2) { animation-delay: .15s; }
.dc__typing i:nth-child(3) { animation-delay: .3s; }
.dc__typing span { margin-left: 6px; }
.dc__typing span b { color: #F2F3F5; font-weight: 600; }
.dc.is-typing .dc__typing { opacity: 1; }
@media (max-width: 520px) { .dc { font-size: 13.5px; } .dc__body { padding: 12px 12px 42px; } .dc__msg { grid-template-columns: 32px 1fr; gap: 10px; } .dc__av { width: 32px; height: 32px; font-size: 11.5px; } }

/* dashboard */
.db { display: grid; grid-template-columns: 150px 1fr; background: var(--card); color: var(--ink); font-size: 13px; }
@media (max-width: 600px) { .db { grid-template-columns: 1fr; } .db__nav { display: none; } }
.db__nav { padding: 14px 10px; background: var(--tile); color: var(--on-2); }
.db__brand { display: flex; align-items: center; gap: 8px; margin: 0 4px 12px; font: 600 13px var(--f-d); color: #fff; }
.db__brand i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: #C8402F; font: 700 9.5px var(--f-d); font-style: normal; color: #fff; }
.db__nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.db__nav li { padding: 6px 8px; border-radius: 7px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db__nav li.on { background: var(--tile-3); color: var(--mint); font-weight: 600; }
.db__main { min-width: 0; padding: 14px 16px 16px; display: grid; gap: 12px; align-content: start; }
.db__top { display: flex; align-items: center; gap: 10px; }
.db__top b { font: 600 17px/1.2 var(--f-d); letter-spacing: -.01em; }
.db__sync { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font: 500 11px var(--f-m); color: var(--ink-3); }
.db__sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.db__kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 760px) { .db__kpis { grid-template-columns: 1fr 1fr; } }
.db__kpis li { padding: 10px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.db__kpis span { display: block; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db__kpis b { display: block; margin-top: 2px; font: 600 21px/1.1 var(--f-d); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.db__row { display: grid; grid-template-columns: .85fr 1.15fr; gap: 8px; }
@media (max-width: 760px) { .db__row { grid-template-columns: 1fr; } }
.db__card { padding: 10px 11px; border-radius: 10px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.db__k { margin-bottom: 8px; font: 600 10.5px/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.db__bars { list-style: none; margin: 0; padding: 0; height: 112px; display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; align-items: end; }
.db__bars li { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.db__bars i { width: 100%; height: calc(var(--v) * 88px); border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--mint), var(--green)); transform-origin: bottom; transition: transform .7s var(--ease) calc(var(--j) * 55ms); }
.db__bars span { font: 500 9.5px/1 var(--f-m); color: var(--ink-3); }
.motion .cs-demo.is-live .db__chart:not(.on) .db__bars i { transform: scaleY(0); }
.db__tbl table { width: 100%; border-collapse: collapse; font-size: 12px; }
.db__tbl th { padding: 0 6px 6px 0; text-align: left; font: 500 10px var(--f-m); color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.db__tbl td { padding: 6px 6px 6px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.db__tbl td:nth-child(2) { white-space: normal; }
.db__st { padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; background: #E1EEE0; color: var(--green-ink); }
.db__st--1 { background: #ECF2D6; color: var(--lime-ink); }
.db__st--2 { background: #F6EBD3; color: #7A5410; }
@media (max-width: 420px) { .db__tbl th:nth-child(3), .db__tbl td:nth-child(3) { display: none; } }

/* receipt capture */
.rc { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; padding: 20px 22px; background: radial-gradient(110% 80% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 58%), var(--tile); color: var(--on); }
@media (max-width: 420px) { .rc { grid-template-columns: 112px 1fr; gap: 16px; padding: 16px; } }
.rc__phone { position: relative; aspect-ratio: 9 / 17; padding: 7px; border-radius: 22px; background: #1B2420; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1), 0 18px 30px -16px rgba(0, 0, 0, .6); }
.rc__screen { position: relative; height: 100%; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #39433D, #232A26); }
.rc__paper { position: absolute; left: 16%; right: 16%; top: 14%; bottom: 18%; display: flex; flex-direction: column; gap: 7%; padding: 10% 9%; background: #F7F5EE; color: #2A2A2A; transform: rotate(-3deg); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); clip-path: polygon(0 0, 100% 0, 100% 96%, 90% 100%, 80% 96%, 70% 100%, 60% 96%, 50% 100%, 40% 96%, 30% 100%, 20% 96%, 10% 100%, 0 96%); }
.rc__paper b { font: 700 clamp(6px, 1vw, 8.5px)/1.1 var(--f-m); letter-spacing: .04em; text-align: center; }
.rc__paper i { display: block; height: 4px; width: var(--w); border-radius: 2px; background: #C9C6BC; }
.rc__paper span { display: flex; justify-content: space-between; margin-top: auto; padding-top: 6%; border-top: 1px dashed #B5B1A6; }
.rc__paper span i { background: #8E8A80; }
.motion .cs-demo.is-live .rc__paper[data-s]:not(.on) { transform: translateY(40%) rotate(-8deg); }
.rc__corners { position: absolute; inset: 9%; background: linear-gradient(var(--mint), var(--mint)) 0 0 / 14px 2px, linear-gradient(var(--mint), var(--mint)) 0 0 / 2px 14px, linear-gradient(var(--mint), var(--mint)) 100% 0 / 14px 2px, linear-gradient(var(--mint), var(--mint)) 100% 0 / 2px 14px, linear-gradient(var(--mint), var(--mint)) 0 100% / 14px 2px, linear-gradient(var(--mint), var(--mint)) 0 100% / 2px 14px, linear-gradient(var(--mint), var(--mint)) 100% 100% / 14px 2px, linear-gradient(var(--mint), var(--mint)) 100% 100% / 2px 14px; background-repeat: no-repeat; opacity: .85; }
.rc__scan { position: absolute; left: 9%; right: 9%; top: 9%; height: 2px; background: var(--mint); box-shadow: 0 0 12px 3px rgba(122, 216, 138, .6); opacity: 0; }
.motion .cs-demo.is-live .rc__scan.on { animation: rcScan 1.4s ease-in-out forwards; }
@keyframes rcScan { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--rc-h, 230px)); } }
.rc__shutter { position: absolute; left: 50%; bottom: 4%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .3); }
.rc__shutter.pressed { animation: rcShut .35s ease-out; }
@keyframes rcShut { 50% { transform: scale(.8); } }
.rc__screen::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.rc__phone:has(.rc__shutter.pressed) .rc__screen::after { animation: rcFlash .5s ease-out; }
@keyframes rcFlash { 0% { opacity: .85; } 100% { opacity: 0; } }
.rc__k { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font: 600 17px/1.2 var(--f-d); color: #fff; }
.rc__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rc__steps li { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 11px; background: var(--tile-2); border: 1px solid var(--tile-line); font-size: 14px; line-height: 1.3; }
.rc__steps li:last-child { border-color: rgba(122, 216, 138, .45); background: linear-gradient(100deg, rgba(122, 216, 138, .16), rgba(132, 176, 53, .06)); font-weight: 600; }
.rc__ic { position: relative; flex: none; width: 18px; height: 18px; }
.rc__ic i { position: absolute; inset: 0; border-radius: 50%; transition: opacity .3s; }
.rc__ic .a { border: 2px solid rgba(122, 216, 138, .25); border-top-color: var(--mint); opacity: 0; }
.motion .cs-demo.is-live li:not(.done) > .rc__ic .a { opacity: 1; animation: spin .8s linear infinite; }
.motion .cs-demo.is-live li:not(.done) > .rc__ic .b { opacity: 0; }
.rc__ic .b { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23060F0C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .rc__steps li { font-size: 13px; padding: 8px 9px; } .rc__k { font-size: 15px; flex-wrap: wrap; gap: 6px; } }

/* outreach */
.ox { background: radial-gradient(110% 80% at 0% 0%, #10291D 0%, rgba(16, 41, 29, 0) 58%), var(--tile); color: var(--on); }
.ox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--tile-line); font: 500 12px/1.2 var(--f-m); color: var(--on-2); }
.ox__mails { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 10px; }
.ox__mail { position: relative; padding: 12px 14px 13px; border-radius: 13px; background: var(--card); color: var(--ink); box-shadow: 0 10px 22px -16px rgba(0, 0, 0, .6); }
.ox__to { font-size: 12.5px; color: var(--ink-3); }
.ox__to span { margin-right: 8px; font: 600 10px var(--f-m); letter-spacing: .06em; text-transform: uppercase; }
.ox__sub { margin-top: 3px; padding-right: 74px; font: 600 15px/1.3 var(--f-d); }
.ox__lines { display: grid; gap: 6px; margin-top: 9px; }
.ox__lines i { display: block; height: 6px; width: var(--w); border-radius: 3px; background: var(--paper-2); transform-origin: left; transition: transform .9s var(--ease); }
.ox__lines i:nth-child(2) { transition-delay: .25s; }
.ox__lines i:nth-child(3) { transition-delay: .5s; }
.motion .cs-demo.is-live .ox__mail:not(.on) .ox__lines i { transform: scaleX(0); }
.ox__stamp { position: absolute; top: 12px; right: 12px; padding: 4px 9px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font: 600 11px/1.2 var(--f-m); }
.motion .cs-demo.is-live .ox__stamp[data-s]:not(.on) { transform: scale(1.6) rotate(-8deg); }
.ox__reply { position: absolute; right: 12px; bottom: 11px; padding: 4px 9px; border-radius: 999px; background: var(--tile); color: var(--mint); font: 600 11px/1.2 var(--f-m); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .5); }
.ox__stats { list-style: none; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ox__stats li { padding: 11px 12px; border-radius: 12px; background: var(--tile-2); border: 1px solid var(--tile-line); }
.ox__stats b { display: block; font: 600 clamp(20px, 2.4vw, 26px)/1.1 var(--f-d); color: var(--mint); font-variant-numeric: tabular-nums; }
.ox__stats span { font: 500 11px var(--f-m); color: var(--on-3); text-transform: uppercase; letter-spacing: .06em; }

/* store kinds: lab order form, claim sheet (light, a browser window) and a recall text on a phone */
.lf { background: var(--card); color: var(--ink); font-size: 13.5px; }
.lf__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); font: 500 11.5px/1.2 var(--f-m); color: var(--ink-3); }
.lf__bar > i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.lf__bar > span:first-of-type { flex: 1; min-width: 0; margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lf__body { padding: 14px 16px 16px; display: grid; gap: 10px; }
.lf__k { font: 600 10.5px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lf__grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
.lf__grid--one { grid-template-columns: 1fr; }
.lf__grid > div { display: grid; gap: 2px; padding: 7px 9px; border-radius: 8px; background: #fff; border: 1px solid var(--line); min-width: 0; }
.lf__grid--one > div { grid-template-columns: 38% 1fr; align-items: baseline; gap: 10px; }
.lf__grid dt { font: 500 10px/1.2 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.lf__grid dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 460px) { .lf__grid { grid-template-columns: 1fr; } }
.lf__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lf__checks li { display: flex; align-items: center; gap: 7px; padding: 5px 10px 5px 6px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font-size: 12px; font-weight: 600; }
.lf__checks .rc__ic { width: 15px; height: 15px; }
.lf__checks .rc__ic .a { border-color: rgba(15, 110, 86, .2); border-top-color: var(--green); }
.lf__checks .rc__ic .b { background-color: var(--green); background-size: 10px; }
.lf__stop { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; background: #F6EBD3; color: #7A5410; font-weight: 600; }
.lf__stop i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: #D98A0C; box-shadow: 0 0 0 3px rgba(217, 138, 12, .2); }
.lf__btns { display: flex; gap: 8px; }
.lf__btn { position: relative; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; transition: background-color .25s, transform .2s, color .25s; }
.lf__btn--go { border-color: var(--green-ink); background: var(--green-ink); color: #fff; }
.motion .cs-demo.is-live .lf__btn--go:not(.pressed) { background: #fff; color: var(--green-ink); }
.motion .cs-demo.is-live .on > .lf__btn--go:not(.pressed)::after { content: ""; position: absolute; inset: -1px; border-radius: 8px; animation: lfPulse 1.4s ease-out infinite; }
@keyframes lfPulse { from { box-shadow: 0 0 0 0 rgba(15, 110, 86, .45); } to { box-shadow: 0 0 0 10px rgba(15, 110, 86, 0); } }
.lf__btn--go.pressed { transform: scale(.96); }
.lf__ok { font-weight: 600; color: var(--green-ink); }
.cl__track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: cl; }
.cl__track li { position: relative; display: grid; gap: 6px; padding: 9px 10px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; line-height: 1.3; }
.cl__track li i { width: 100%; height: 4px; border-radius: 2px; background: var(--green); }
@media (max-width: 520px) { .cl__track { grid-template-columns: 1fr 1fr; } }
.cl__foot { text-transform: none; letter-spacing: 0; font: 400 12.5px/1.4 var(--f-b); }
.sm__scr { display: flex; flex-direction: column; background: #F4F5F2; }
.sm__top { display: grid; justify-items: center; gap: 3px; padding: 12px 6px 8px; border-bottom: 1px solid #E2E4DE; font: 600 9.5px/1.2 var(--f-b); color: #333; }
.sm__av { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--green-ink); color: #fff; font: 700 11px/1 var(--f-d); }
.sm__thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 8px 7px 16px; }
.sm__b { align-self: flex-start; max-width: 92%; padding: 6px 8px; border-radius: 11px 11px 11px 3px; background: #E3E6E0; color: #1E221F; font-size: 10.5px; line-height: 1.35; }
.sm__b--me { align-self: flex-end; border-radius: 11px 11px 3px 11px; background: #2F7DF6; color: #fff; font-weight: 600; }
.sm .rc__steps b { font-weight: 600; }
.sm .rc__steps li:last-child { font-weight: 400; border-color: var(--tile-line); background: var(--tile-2); }
.sm__foot { margin-top: 12px; font-size: 13px; line-height: 1.4; color: var(--on-2); }
.rc.sm { grid-template-columns: 190px 1fr; }
@media (max-width: 420px) { .rc.sm { grid-template-columns: 1fr; } .sm .rc__phone { width: 200px; justify-self: center; } }
.sm .rc__phone { aspect-ratio: 9 / 16; }

/* case studies: page polish (scroll progress, staggered text, softer section entrances) */
.cs-prog { position: fixed; left: 0; right: 0; top: 0; z-index: 60; height: 3px; background: linear-gradient(90deg, var(--green), var(--mint)); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.motion .cs-built.reveal .cs-built__t > * { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion .cs-built.reveal.in .cs-built__t > * { opacity: 1; transform: none; }
.motion .cs-built.reveal.in .cs-built__t > :nth-child(2) { transition-delay: .08s; }
.motion .cs-built.reveal.in .cs-built__t > :nth-child(3) { transition-delay: .16s; }
.motion .cs-built.reveal.in .cs-built__t > :nth-child(4) { transition-delay: .24s; }
.motion .cs-built.reveal .cs-points li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.motion .cs-built.reveal.in .cs-points li { opacity: 1; transform: none; }
.motion .cs-built.reveal.in .cs-points li:nth-child(2) { transition-delay: .36s; }
.motion .cs-built.reveal.in .cs-points li:nth-child(3) { transition-delay: .44s; }
.motion .cs-built.reveal.in .cs-points li:nth-child(4) { transition-delay: .52s; }
.motion .cs-built.reveal.in .cs-points li:first-child { transition-delay: .28s; }
.motion .cs .h2.reveal { transition-duration: .9s; }
.motion .cs .h2.reveal:not(.in) { transform: translateY(26px); filter: blur(4px); }
.motion .cs .h2.reveal.in { filter: none; transition-property: opacity, transform, filter; }
@media (min-width: 900px) { .cs-built:has(.cs-demos > :nth-child(2)) { align-items: start; } .cs-built:has(.cs-demos > :nth-child(2)) .cs-built__t { position: sticky; top: calc(var(--top-h) + 32px); } }

/* case studies: automations in numbers, agent capabilities, dashboard extras */
.cs-autos { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 48px); }
.cs-auto { display: grid; gap: 24px; align-items: start; padding: clamp(22px, 3vw, 36px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
@media (min-width: 980px) { .cs-auto { grid-template-columns: 5fr 7fr; gap: 44px; } }
.cs-auto__t { display: grid; gap: 12px; }
.cs-auto__t > p:not(.k):not(.cs-auto__note) { color: var(--ink-2); font-size: 17px; }
.cs-auto__stats { list-style: none; margin: 6px 0 2px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cs-auto__stats li { display: grid; gap: 4px; padding: 14px 14px 12px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.cs-auto__stats b { font: 600 clamp(24px, 2.4vw, 32px)/1 var(--f-d); letter-spacing: -.03em; white-space: nowrap; }
.cs-auto__stats span { font-size: 13px; color: var(--ink-3); line-height: 1.3; }
.cs-auto__note { font-size: 13.5px; color: var(--ink-3); font-style: italic; }
.cs-auto__media { display: grid; gap: 14px; }
.cs-auto--two .cs-auto__media { grid-template-columns: 1fr; }
.cs-caps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .cs-caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .cs-caps { grid-template-columns: repeat(3, 1fr); } }
.cs-caps > li { padding: 24px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.cs-caps h3 { font: 600 18px/1.2 var(--f-d); margin-bottom: 12px; }
.cs-caps ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cs-caps ul li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.cs-caps ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cs-caps__later { margin-top: 22px; color: var(--ink-3); font-size: 15px; }
.cs-systems { margin-top: clamp(36px, 5vw, 56px); padding: 24px 24px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-card); }
.cs-systems ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px 28px; }
@media (min-width: 860px) { .cs-systems ul { grid-template-columns: repeat(2, 1fr); } }
.cs-systems li { color: var(--ink-2); font-size: 15px; }
/* live demo boxes inside "Automations in numbers" */
.cs-auto__shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cs-auto__shots .cs-win { border-radius: 12px; }
.motion .cs-auto.reveal .cs-demo__vis { clip-path: inset(0 0 100% 0 round 16px); transition: clip-path 1.1s var(--ease) .15s; }
.motion .cs-auto.reveal.in .cs-demo__vis { clip-path: inset(0 0 0 0 round 16px); }
@media (min-width: 980px) { .cs-auto--demo .cs-auto__t { position: sticky; top: calc(var(--top-h) + 32px); } }
.cs-guard { margin-top: 22px; padding: 22px 24px; border-radius: var(--r-card); background: var(--tile); color: var(--on); }
.cs-guard .k { color: var(--mint); }
.cs-guard ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 860px) { .cs-guard ul { grid-template-columns: repeat(3, 1fr); } }
.cs-guard li { position: relative; padding-left: 26px; font-weight: 500; }
.cs-guard li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
/* demo boxes adapt to their own width (they sit in columns of very different sizes) */
.cs-demo__vis { container-type: inline-size; }
@container (max-width: 440px) {
  .kds { aspect-ratio: 3 / 4; }
  .kds__grid { grid-template-columns: 1fr 1fr; gap: 7px; padding: 8px; }
  .tk__h { padding: 6px 7px; gap: 4px; }
  .tk__h b { font-size: 13px; }
  .tk__h span { font-size: 10px; }
  .tk__h time { font-size: 12px; }
  .tk ul { padding: 3px 6px; }
  .tk li { gap: 5px; font-size: 11px; }
  .tk li > i { padding: 2px 4px; font-size: 10px; }
  .tk__f { padding: 5px 7px 6px; font-size: 9.5px; }
  .kds__top { padding: 9px 10px; }
  .kds__k, .kds__clock { display: none; }
  .kds__stats { gap: 8px; font-size: 11px; }
  .kds__foot > span:first-child { display: none; }
  .ox__mails { padding: 12px; }
  .ox__sub { font-size: 14px; }
  .ox__stats { padding: 0 12px 12px; gap: 6px; }
  .ox__stats li { padding: 9px; }
}
@media (max-width: 520px) { .cs-demo__cap { flex-wrap: wrap; row-gap: 4px; } .cs-demo__cap > span:nth-child(2) { flex-basis: calc(100% - 60px); order: 3; } .cs-demo__ctl { margin-left: auto; } }
.cs-systems .cs-feats { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .cs-systems .cs-feats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .cs-systems .cs-feats { grid-template-columns: repeat(3, 1fr); } }
.cs-feats li { display: grid; gap: 12px; align-content: start; }
.cs-feats .cs-win { aspect-ratio: 4 / 3; }
.cs-feats .cs-win img { height: 100%; object-fit: cover; object-position: top center; }
.cs-feats p { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.cs-systems .cs-systems__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px 28px; }
@media (min-width: 860px) { .cs-systems__list { grid-template-columns: repeat(2, 1fr); } }
.cs-systems__list li { color: var(--ink-2); font-size: 15px; }
.cs-auto__equiv { display: grid; gap: 6px; margin-top: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(122, 216, 138, .14); border: 1px solid rgba(75, 165, 99, .3); color: var(--ink); font-size: 15px; line-height: 1.45; }
.cs-auto__equiv .k { font-size: 11px; }
.cs-auto__shots { align-items: start; }
.cs-auto__shots .cs-win { align-self: start; }

/* case studies: moving rows and chips stop on request (pause button on the tech marquee; floats settle after a few bobs) */
.cs-marquee__ctl { flex: none; width: 32px; height: 32px; display: none; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--card); color: var(--ink-2); }
.cs-marquee__ctl:hover { border-color: var(--ink); color: var(--ink); }
.cs-marquee__ctl svg { width: 11px; height: 11px; fill: currentColor; }
.cs-marquee__ctl .i-play, .cs-marquee__ctl[aria-pressed="true"] .i-pause { display: none; }
.cs-marquee__ctl[aria-pressed="true"] .i-play { display: block; }
.motion .cs-marquee__ctl { display: grid; }
.cs-marquee:focus-within ul, .cs-tech.is-paused .cs-marquee ul { animation-play-state: paused; }
.motion .cs-float { animation-iteration-count: 1, 3; }

/* ---------- case studies: "nocturne" theme (CozyInkz): the client's own look, ink black and bone,
   chrome and blackletter accents, inside an Optimize25 page. Hero, band and results are dark tiles. ---------- */
@font-face { font-family: "CZ Blackletter"; src: url("assets/fonts/unifrakturmaguntia.woff2") format("woff2"); font-display: swap; }
.cs--nocturne { --nx-bg: #050505; --nx-card: #0e0e0e; --nx-line: #262626; --nx-fg: #e9e9e6; --nx-hl: #d6d6d2; --nx-mu: #a3a3a0;
  --nx-chrome: linear-gradient(180deg, #ffffff 0%, #d9d9d6 30%, #8c8c88 48%, #f4f4f2 56%, #b9b9b5 74%, #6e6e6a 100%);
  --nx-dust: radial-gradient(1px 1px at 12% 18%, rgba(255, 255, 255, .5), transparent 60%), radial-gradient(1px 1px at 38% 72%, rgba(255, 255, 255, .35), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 28%, rgba(255, 255, 255, .4), transparent 60%), radial-gradient(1px 1px at 84% 64%, rgba(255, 255, 255, .45), transparent 60%),
    radial-gradient(1px 1px at 52% 46%, rgba(255, 255, 255, .25), transparent 60%), radial-gradient(1.5px 1.5px at 22% 88%, rgba(255, 255, 255, .3), transparent 60%); }
.cs-bl, .cs--nocturne .cs-hero .hl { font-family: "CZ Blackletter", "Old English Text MT", Georgia, serif; font-weight: 400; letter-spacing: 0; background: var(--nx-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs--nocturne .cs-hero, .cs-band, .cs--nocturne .cs-res-sec { position: relative; margin: 0 10px; border-radius: var(--r-tile); background-color: var(--nx-bg); color: var(--nx-fg); overflow: hidden; isolation: isolate; }
.cs--nocturne .cs-hero::before, .cs-band::before, .cs--nocturne .cs-res-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--nx-dust); background-size: 340px 340px; opacity: .55; pointer-events: none; }
.cs--nocturne .cs-hero { padding-top: clamp(28px, 4vw, 48px); background-image: radial-gradient(55% 60% at 78% 40%, rgba(233, 233, 230, .09), transparent 70%); }
.cs--nocturne .cs-hero :focus-visible, .cs-band :focus-visible, .cs--nocturne .cs-res-sec :focus-visible { outline-color: var(--nx-fg); }
.cs--nocturne .cs-back a { color: var(--nx-mu); }
.cs--nocturne .cs-back a:hover { color: #fff; }
.cs--nocturne .cs-hero .eyebrow { background: rgba(255, 255, 255, .04); border-color: var(--nx-line); color: var(--nx-hl); }
.cs--nocturne .cs-hero .eyebrow i { background: var(--nx-fg); }
.motion .cs--nocturne .cs-hero .eyebrow i::after { border-color: var(--nx-fg); }
.cs--nocturne .cs-logo img { height: clamp(64px, 7vw, 92px); margin: 0 0 18px -6px; filter: drop-shadow(0 10px 24px rgba(70, 120, 255, .25)); }
.cs--nocturne .cs-hero .h1 { color: #fff; }
.cs--nocturne .cs-hero .hl { display: inline; padding: 0 .02em; margin: 0; font-size: 1.04em; line-height: 1.08; animation: none; background-size: 100% 100%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cs--nocturne .cs-hero .lede { color: var(--nx-mu); }
.cs--nocturne .phero__media { border: 1px solid var(--nx-line); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03); }
.cs--nocturne .cs-float { background: rgba(14, 14, 14, .9); color: var(--nx-fg); border: 1px solid var(--nx-line); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .9); }
.cs--nocturne .cs-float small { color: var(--nx-mu); }
.cs--nocturne .cs-float i { background-color: #1a1a1a; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9e9e6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); box-shadow: inset 0 0 0 1px #333; }
.cs--nocturne .cs-facts { background: var(--nx-line); border-color: var(--nx-line); }
.cs--nocturne .cs-facts li { background: var(--nx-card); }
.cs--nocturne .cs-facts .k { color: var(--nx-mu); }
.cs--nocturne .cs-facts b { color: #fff; }
.cs-status { display: grid; gap: 10px; margin-top: 14px; padding: 18px 20px; border: 1px dashed rgba(232, 196, 122, .45); border-radius: 16px; background: rgba(232, 196, 122, .05); }
.cs-status__l { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--hold); }
.cs-status__l i { width: 8px; height: 8px; border-radius: 50%; background: var(--hold); box-shadow: 0 0 0 4px rgba(232, 196, 122, .16); }
.cs-status__t { color: var(--nx-hl, var(--ink-2)); font-size: 15.5px; max-width: 80ch; }
.cs-status ul { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 8px 28px; }
@media (min-width: 860px) { .cs-status ul { grid-template-columns: repeat(2, 1fr); } }
.cs-status li { position: relative; padding-left: 24px; color: var(--nx-fg, var(--ink)); font-size: 15px; }
.cs-status li::before { content: ""; position: absolute; left: 0; top: .32em; width: 12px; height: 12px; border: 1.5px solid var(--hold); border-radius: 3px; }
/* the brief band */
.cs-band { margin-top: 0; margin-bottom: clamp(80px, 10vw, 136px); background-image: radial-gradient(50% 70% at 82% 60%, rgba(233, 233, 230, .1), transparent 70%); }
.cs-band__in { display: grid; gap: 8px; align-items: end; }
@media (min-width: 900px) { .cs-band__in { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.cs-band__t { padding: clamp(56px, 8vw, 110px) 0 clamp(32px, 6vw, 110px); }
.cs-band .k { color: var(--nx-mu); }
.cs-band .h2 { margin-top: 16px; color: #fff; max-width: 15ch; }
.cs-band .cs-bl { display: block; margin-top: .12em; font-size: 1.12em; line-height: 1.12; padding-bottom: .06em; }
.cs-band__p { margin-top: 24px; max-width: 46ch; font-size: 18px; line-height: 1.6; color: var(--nx-mu); }
.cs-band__art { align-self: end; justify-self: center; width: min(100%, 440px); }
.cs-band__art img { width: 100%; height: auto; -webkit-mask: linear-gradient(#000 72%, transparent); mask: linear-gradient(#000 72%, transparent); filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .8)); }
@media (max-width: 899px) { .cs-band__art { width: min(78%, 340px); } }
/* numbered kickers like Vik's own site: (01) */
.cs--nocturne .cs-built__t > .k::before { content: "("; }
.cs--nocturne .cs-built__t > .k::after { content: ")"; }
/* results as a dark tile with hairline rows */
.cs--nocturne .cs-res-sec { counter-reset: res; }
.cs--nocturne .cs-res-sec .k { color: var(--nx-mu); }
.cs--nocturne .cs-res-sec .h2 { color: #fff; }
.cs--nocturne .cs-res-sec .head__aside { color: var(--nx-mu); }
.cs--nocturne .cs-results { gap: 0 36px; }
.cs--nocturne .cs-results li { position: relative; padding: 30px 0 30px; background: none; border: 0; border-top: 1px solid var(--nx-line); border-radius: 0; counter-increment: res; }
.cs--nocturne .cs-results li::before { content: "(" counter(res, decimal-leading-zero) ")"; position: absolute; top: 12px; right: 0; font: 500 11px var(--f-m); color: #6f6f6b; }
.cs--nocturne .cs-results b { background: var(--nx-chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.cs--nocturne .cs-results span { color: #fff; }
.cs--nocturne .cs-results small { color: var(--nx-mu); }
.motion .cs--nocturne .cs-results li:hover { transform: none; box-shadow: none; }
/* the hero is a tile here, so the next section needs its own air; screens are 16:10, so show them whole */
.cs--nocturne .cs-hero + .sec--top0 { padding-top: clamp(64px, 8vw, 112px); }
.cs--nocturne .phero__media, .cs--nocturne .cs-shot .media { aspect-ratio: 16 / 10; }
@media (min-width: 1120px) { .cs-caps:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Nocturne demo boxes (demos.py: book, cal, loop, mail, vault) and the Telegram chat (tg) ---------- */
.nx { --bg: #050505; --card: #0e0e0e; --ln: #262626; --ln2: #3a3a3a; --fg: #e9e9e6; --hl: #d6d6d2; --mu: #a3a3a0; background: var(--bg); color: var(--fg); font: 400 14px/1.45 var(--f-b); }
.nx-lbl { font: 600 10.5px/1.2 var(--f-m); letter-spacing: .12em; text-transform: uppercase; color: var(--mu); }
.nx-gap { margin-top: 6px; }
.nx-tag { flex: none; padding: 3px 8px; border: 1px solid var(--ln2); border-radius: 999px; font: 600 9.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.nx-chk { display: inline-grid; vertical-align: bottom; }
.nx-chk > * { grid-area: 1 / 1; transition: opacity .3s; }
.nx-chk .a { font-style: italic; color: var(--mu); opacity: 0; }
.motion .cs-demo.is-live [data-swap]:not(.done) .nx-chk .a { opacity: 1; }
.motion .cs-demo.is-live [data-swap]:not(.done) .nx-chk .b { opacity: 0; }
.nx-ok { color: #8fd19e; }
.nx-no { color: #f29a88; }
.nx-chip { display: inline-block; padding: 5px 8px; border: 1px solid var(--ln2); font: 500 11px/1.2 var(--f-b); color: var(--hl); white-space: nowrap; transition: background-color .25s, color .25s; }
.nx-chip--on { background: var(--fg); border-color: var(--fg); color: #0a0a0a; }
.motion .cs-demo.is-live .nx-chip--on[data-p]:not(.pressed) { background: transparent; border-color: var(--ln2); color: var(--hl); }
/* book: a phone with the real step, and the request summary beside it */
.nx-book { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 28px; align-items: center; padding: 26px 28px; background: radial-gradient(70% 70% at 25% 15%, rgba(233, 233, 230, .08), transparent 70%), var(--bg); }
.nx-phone { width: 100%; max-width: 290px; margin: 0 auto; padding: 8px; border-radius: 34px; background: #171717; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .09), 0 30px 50px -24px rgba(0, 0, 0, .9); }
.nx-scr { display: grid; gap: 9px; padding: 18px 16px; border-radius: 27px; background: var(--bg); }
.nx-top { display: flex; justify-content: space-between; font: 500 10.5px/1.2 var(--f-b); letter-spacing: .06em; text-transform: uppercase; }
.nx-top span { text-decoration: underline; text-underline-offset: 3px; }
.nx-prog { height: 2px; background: var(--ln); }
.nx-prog i { display: block; width: 22%; height: 100%; background: var(--fg); }
.nx-step { font: 500 9.5px/1.2 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--mu); }
.nx-h { margin-top: 2px; font: 500 22px/1.08 var(--f-d); letter-spacing: -.02em; color: #fff; }
.nx-sub { font-size: 12px; line-height: 1.4; color: var(--mu); }
.nx-pieces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ln); }
.nx-pieces li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--ln); }
.nx-pieces b { font: 500 15px/1.2 var(--f-d); color: #fff; }
.nx-pieces span { flex: 1; font-size: 11.5px; color: var(--mu); }
.nx-pieces i { font-style: normal; color: var(--mu); }
.nx-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.nx-res { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--ln2); background: #141414; }
.nx-res__v { font: 500 21px/1.15 var(--f-d); color: #fff; }
.nx-res__n { font-size: 11.5px; line-height: 1.4; color: var(--mu); }
.nx-cta { justify-self: end; padding: 9px 14px; background: var(--fg); color: #0a0a0a; font: 600 10.5px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; transition: transform .2s var(--ease); }
.nx-cta.pressed { animation: nxPress .4s var(--ease); }
@keyframes nxPress { 50% { transform: scale(.94); } }
.nx-side { display: grid; gap: 12px; margin: 0; padding: 18px; border: 1px solid var(--ln); background: var(--card); }
.nx-side > div { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--ln); }
.nx-side dt { font-size: 13px; color: var(--mu); }
.nx-side dd { margin: 0; text-align: right; font-size: 13px; font-weight: 500; color: #fff; }
.nx-side__f { font-size: 12px; color: var(--mu); }
@container (max-width: 560px) { .nx-book { grid-template-columns: 1fr; padding: 20px 16px; } .nx-side { display: none; } }
/* cal: month calendar + the hold log */
.nx-cal { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 22px; padding: 22px; }
.nx-cal__m { padding: 16px; border: 1px solid var(--ln); background: var(--card); }
.nx-cal__h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.nx-cal__h b { font: 500 18px/1.2 var(--f-d); color: #fff; }
.nx-cal__h span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--ln); color: var(--mu); }
.nx-cal__g { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.nx-wd { padding: 4px 0; text-align: center; font: 600 9.5px/1.2 var(--f-m); color: var(--mu); }
.nx-day { position: relative; aspect-ratio: 1; display: grid; place-items: center; font-size: 12.5px; color: #5c5c58; font-variant-numeric: tabular-nums; }
.nx-day--open { background: #0a0a0a; border: 1px solid var(--ln2); color: #fff; font-weight: 600; transition: background-color .3s, color .3s; }
.nx-day--open::after { content: ""; position: absolute; left: 50%; bottom: 14%; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: currentColor; }
.nx-day--pick { background: var(--fg); border-color: var(--fg); color: #0a0a0a; }
.motion .cs-demo.is-live .nx-day--pick:not(.pressed) { background: #0a0a0a; border-color: var(--ln2); color: #fff; }
.nx-cal__lg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 11px; color: var(--mu); }
.nx-cal__lg i { display: inline-block; width: 9px; height: 9px; margin-right: 5px; vertical-align: -1px; background: #2a2a2a; }
.nx-cal__lg i.o { background: #0a0a0a; box-shadow: inset 0 0 0 1px #fff; }
.nx-cal__lg i.p { background: var(--fg); }
.nx-cal__s { display: grid; gap: 10px; align-content: start; min-width: 0; }
.nx-times { display: flex; gap: 8px; }
.nx-time { padding: 9px 18px; border: 1px solid var(--ln2); font-size: 13px; transition: background-color .3s, color .3s; }
.nx-time--on { background: var(--fg); border-color: var(--fg); color: #0a0a0a; }
.motion .cs-demo.is-live .nx-time--on:not(.pressed) { background: transparent; border-color: var(--ln2); color: var(--fg); }
.nx-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.nx-log li { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid var(--ln); background: var(--card); font-size: 12.5px; line-height: 1.35; }
.nx-log code { font: 600 10.5px/1.2 var(--f-m); color: var(--mu); }
.nx-log__w { color: #fff; }
.nx-cal__f { font-size: 12px; line-height: 1.45; color: var(--mu); }
@container (max-width: 600px) { .nx-cal { grid-template-columns: 1fr; padding: 16px; } }
/* loop: one booking, start to finish */
.nx-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--ln); font: 500 12px/1.2 var(--f-m); letter-spacing: .04em; color: var(--mu); }
.nx-loop__l { list-style: none; margin: 0; padding: 20px 20px 8px; }
.nx-loop__l li { position: relative; padding: 0 0 18px 30px; }
.nx-loop__l li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: -2px; width: 1px; background: var(--ln2); }
.nx-loop__l li:last-child::before { display: none; }
.nx-loop__dot { position: absolute; left: 0; top: 3px; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--fg); background: var(--fg); box-shadow: 0 0 0 4px var(--bg); }
.motion .cs-demo.is-live .nx-loop__l li.on .nx-loop__dot { animation: nxDot .9s var(--ease); }
@keyframes nxDot { 0% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 4px rgba(233, 233, 230, .5); } 100% { box-shadow: 0 0 0 4px var(--bg), 0 0 0 12px rgba(233, 233, 230, 0); } }
.nx-loop__w { font: 600 10px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.nx-loop__t { margin-top: 3px; font: 500 16px/1.25 var(--f-d); color: #fff; }
.nx-loop__x { margin-top: 2px; font-size: 13px; color: var(--mu); }
.nx-kb { display: flex; gap: 6px; max-width: 360px; margin-top: 10px; }
.nx-kb__b { position: relative; flex: 1; padding: 8px 10px; border-radius: 8px; border: 1px solid #333; background: #1c1c1c; text-align: center; font-size: 12.5px; font-weight: 600; transition: background-color .25s, color .25s, transform .2s; }
.nx-kb__b--go { background: var(--fg); border-color: var(--fg); color: #0a0a0a; }
.motion .cs-demo.is-live .nx-kb__b--go:not(.pressed) { background: #1c1c1c; border-color: #333; color: var(--fg); }
.motion .cs-demo.is-live .on .nx-kb__b--go:not(.pressed)::after { content: ""; position: absolute; inset: -1px; border-radius: 8px; animation: nxPulse 1.4s ease-out infinite; }
@keyframes nxPulse { 0% { box-shadow: 0 0 0 0 rgba(233, 233, 230, .55); } 100% { box-shadow: 0 0 0 9px rgba(233, 233, 230, 0); } }
.nx-loop__ok { margin-top: 8px; font-size: 13px; color: #8fd19e; }
/* mail: the confirmation email in the site's own look */
.nx-mail { padding-bottom: 16px; }
.nx-mail__meta { padding: 12px 18px; border-bottom: 1px solid var(--ln); font-size: 12.5px; color: var(--hl); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx-mail__meta span { margin-right: 10px; font: 600 10px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--mu); }
.nx-mail__c { display: grid; gap: 12px; justify-items: center; margin: 18px 18px 0; padding: 24px clamp(16px, 5cqi, 34px); border: 1px solid #222; background: var(--card); text-align: center; }
.nx-mail__logo { width: 150px; height: auto; }
.nx-mail__t { font: 400 27px/1.1 var(--f-d); letter-spacing: -.01em; color: #fff; }
.nx-mail__t em { font-style: normal; font-family: "CZ Blackletter", Georgia, serif; font-size: 1.08em; color: var(--hl); }
.nx-mail__fl { width: 170px; height: auto; margin-top: -4px; }
.nx-mail__p { justify-self: stretch; text-align: left; font-size: 13.5px; line-height: 1.5; color: var(--hl); }
.nx-mail__rows { justify-self: stretch; margin: 0; text-align: left; }
.nx-mail__rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid #262626; font-size: 12.5px; }
.nx-mail__rows dt { color: var(--mu); }
.nx-mail__rows dd { margin: 0; text-align: right; color: var(--fg); }
.nx-mail__c .nx-lbl { justify-self: start; margin-top: 4px; }
.nx-mail__btns { justify-self: start; display: flex; flex-wrap: wrap; gap: 8px; }
.nx-mail__btns span { padding: 9px 12px; border: 1px solid #555; font: 500 10.5px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.nx-mail__go { justify-self: start; padding: 11px 16px; background: var(--fg); color: #0a0a0a; font: 600 11px/1.2 var(--f-b); letter-spacing: .1em; text-transform: uppercase; }
.nx-mail__foot { display: flex; align-items: center; gap: 10px; margin: 12px 18px 0; font-size: 12px; color: var(--mu); }
/* vault: one health answer and who can see it */
.nx-vault { display: grid; gap: 12px; padding: 22px; background: radial-gradient(60% 50% at 50% 30%, rgba(143, 209, 158, .06), transparent 70%), var(--bg); }
.nx-vault__q { display: grid; gap: 7px; padding: 14px 16px; border: 1px solid var(--ln); background: var(--card); }
.nx-vault__qq { font-size: 14px; font-weight: 500; color: #fff; }
.nx-vault__a { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.nx-vault__d { flex: 1; min-width: 150px; padding: 6px 10px; border: 1px solid #333; background: #111; font-size: 13px; color: var(--hl); }
.nx-vault__lock { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 3px 12px; align-items: center; padding: 12px 16px; border: 1px dashed var(--ln2); }
.nx-vault__ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #333; background: #151515 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9e9e6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 17px no-repeat; }
.nx-vault__lock p:first-of-type { font-size: 13px; }
.nx-vault__ct { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 500 11.5px/1.3 var(--f-m); letter-spacing: .04em; color: #6f6f6b; }
.nx-vault__outs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.nx-vault__outs li { display: grid; gap: 6px; align-content: start; padding: 12px; border: 1px solid var(--ln); background: var(--card); }
.nx-vault__o { font-size: 13px; font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.nx-vault__o code { padding: 2px 6px; border-radius: 4px; background: #0b1a10; font: 600 11px/1.5 var(--f-m); color: #8fd19e; }
.nx-flag { display: inline-block; padding: 3px 8px; border-radius: 999px; background: rgba(242, 154, 136, .14); font: 700 9.5px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: #f29a88; }
.nx-vault__n { font-size: 11.5px; line-height: 1.4; color: var(--mu); }
@container (max-width: 560px) { .nx-vault { padding: 16px; } .nx-vault__outs { grid-template-columns: 1fr; } }
/* tg: Telegram, dark */
.tg { position: relative; background: #0e1621; color: #f5f5f5; font: 400 14px/1.4 var(--f-b); }
.tg__top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #17212b; border-bottom: 1px solid #0b121a; }
.tg__av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid #555; background: linear-gradient(135deg, #3a3a3a, #0a0a0a); font: 700 12px/1 var(--f-d); letter-spacing: .04em; color: #e9e9e6; }
.tg__top p { display: grid; line-height: 1.25; }
.tg__top b { font-size: 14.5px; font-weight: 600; }
.tg__top span { font-size: 12px; color: #708499; }
.tg__sample { margin-left: auto; padding: 3px 8px; border-radius: 6px; background: rgba(215, 38, 61, .9); font: 700 9.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: #fff !important; }
.tg__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 46px; }
.tg__m { position: relative; align-self: flex-start; max-width: 88%; padding: 7px 10px 19px; border-radius: 12px 12px 12px 4px; background: #182533; overflow-wrap: anywhere; }
.tg__m p + p { margin-top: 3px; }
.tg__m time { position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; color: #6d8094; }
.tg__h { font-weight: 600; color: #fff; }
.tg__m--me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: #2b5278; padding-right: 64px; }
.tg__m--me time { color: #7da8d3; }
.tg__kb { align-self: flex-start; display: flex; gap: 4px; width: min(88%, 380px); margin-top: -2px; }
.tg__b { position: relative; flex: 1; padding: 8px; border-radius: 8px; background: #2f6ea5; text-align: center; font-size: 13px; font-weight: 500; color: #fff; transition: background-color .25s; }
.tg__b:not(.tg__b--go) { background: rgba(43, 82, 120, .45); }
.motion .cs-demo.is-live .tg__b--go:not(.pressed) { background: rgba(43, 82, 120, .45); }
.motion .cs-demo.is-live .on > .tg__b--go:not(.pressed)::after { content: ""; position: absolute; inset: 0; border-radius: 8px; animation: tgPulse 1.4s ease-out infinite; }
@keyframes tgPulse { 0% { box-shadow: 0 0 0 0 rgba(93, 160, 220, .7); } 100% { box-shadow: 0 0 0 9px rgba(93, 160, 220, 0); } }
.tg__typing { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 3px; margin: 0; font-size: 12px; color: #8ea4b8; opacity: 0; transition: opacity .25s; pointer-events: none; }
.tg__typing i { width: 5px; height: 5px; border-radius: 50%; background: #8ea4b8; animation: dot 1s infinite ease-in-out; }
.tg__typing i:nth-child(2) { animation-delay: .15s; }
.tg__typing i:nth-child(3) { animation-delay: .3s; }
.tg__typing span { margin-left: 6px; }
.tg__typing span b { font-weight: 600; color: #fff; }
.tg.is-typing .tg__typing { opacity: 1; }


/* industries dropdown: bookkeeping-by-industry row (Pavan 2026-10-20) */
.dd__bkind { border-top: 1px solid var(--line); padding: 10px 4px 2px; }
.nav .dd .dd__bkh { display: inline-block; padding: 4px 9px; font: 600 12px/1.2 var(--f-m, ui-monospace); letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.dd__bkind > div { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.nav .dd .dd__bkind > div a { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.nav .dd .dd__bkind > div a:hover, .nav .dd .dd__bkind > div a:focus-visible { border-color: var(--green); background: var(--paper); }

/* Virtue25-style mono strips: top bar + footer bottom line (Pavan 2026-10-20: "similar to Virtue25 somewhat") */
.sis { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.sis__in { display: flex; justify-content: space-between; gap: 16px; margin: 0 auto; padding-top: 7px; padding-bottom: 7px; color: var(--ink-3); font: 500 11px/1.3 var(--f-m); letter-spacing: .14em; text-transform: uppercase; }
.sis a { color: var(--green-ink); font-weight: 600; text-decoration: none; }
.sis a:hover, .sis a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 620px) { .sis__in { justify-content: center; } .sis__in > span:first-child, .sis__x { display: none; } }
.sol__proof { display: block; margin-top: 10px; font: 500 11.5px/1.3 var(--f-m); letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); }
.row__proof { margin-top: 14px; padding: 10px 14px; border-left: 3px solid var(--mint); background: var(--card); border-radius: 0 12px 12px 0; font-size: 15px; color: var(--ink-2); }
.row__proof a { color: var(--green-ink); font-weight: 600; }

/* footer, Virtue25-style (Pavan 2026-10-20 "make it more like this") */
.foot { background: var(--paper-2); color: var(--ink-2); padding: clamp(56px, 7vw, 84px) 0 0; font-size: 15px; overflow: hidden; }
.foot__g { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; }
.foot__brand { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; align-content: start; }
@media (min-width: 900px) { .foot__g { grid-template-columns: 2fr 1fr 1fr; } .foot__brand { grid-column: auto; } }
.foot__brand img { height: 30px; width: auto; }
.foot__tag { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 11.5px/1 var(--f-m); letter-spacing: .22em; text-transform: uppercase; color: var(--green-ink); }
.foot__tag::before, .foot__tag::after { content: ""; width: 22px; height: 1px; background: var(--green); }
.foot__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.foot__mail svg { width: 17px; height: 17px; fill: none; stroke: var(--green-ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.foot__sis { margin: 0; font-size: 14px; color: var(--ink-3); }
.foot__sis a { color: var(--green-ink); font-weight: 600; }
.foot__k { margin-bottom: 16px; font: 600 11.5px/1.2 var(--f-m); letter-spacing: .2em; text-transform: uppercase; color: var(--green-ink); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot ul a { color: var(--ink-2); }
.foot a:hover { color: var(--green-ink); }
.foot__line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin: clamp(40px, 5vw, 56px) 0 0; padding-top: 24px; border-top: 1px solid var(--line-2); font: 500 11.5px/1 var(--f-m); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.foot__line i { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }
.foot__mark { margin: 18px 0 -0.22em; text-align: center; font: 600 clamp(80px, 17vw, 240px)/1 var(--f-d); letter-spacing: -.05em; color: rgba(13, 16, 15, .055); user-select: none; white-space: nowrap; }
.foot__b { border-top: 1px solid var(--line-2); background: var(--paper-2); position: relative; }
.foot__bin { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 18px; font-size: 13.5px; color: var(--ink-3); }
.foot__bin a { color: var(--ink-2); }

/* dropdown nav items: one pill around label + chevron (Pavan 2026-10-20 "looks weird") */
.nav__dd { border-radius: 999px; transition: background-color .2s; }
.nav .nav__dd > a, .nav .nav__dd > a:hover, .nav .nav__dd > a[aria-current="page"], .nav__dd .nav__tg, .nav__dd .nav__tg:hover { background: none; }
.nav .nav__dd > a { padding-right: 2px; }
.nav__dd .nav__tg { margin-left: 0; margin-right: 4px; }
.nav__dd:hover, .nav__dd.is-open { background: rgba(13, 16, 15, .05); }
.nav__dd:has(> a[aria-current="page"]) { background: rgba(13, 16, 15, .08); }

/* ── industry pages (industry-<slug>.html, site-src/industry_pages.py; Pavan 2026-10-20) ── */
.ip-hero .eyebrow a { color: var(--green-ink); font-weight: 600; text-decoration: none; }
.ip-hero .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ip-kinds { margin-top: 18px; max-width: 56ch; font-size: 15px; color: var(--ink-3); }
.ip-kinds b { color: var(--ink-2); font-weight: 600; }
.ip-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 420px) { .ip-cta .btn { flex: 1 1 100%; } }
.ip-hero__media .vid-ctl { top: 12px; bottom: auto; }
@media (max-width: 520px) { .ip-hero__media .float { font-size: 13px; padding: 8px 12px 8px 8px; } .ip-hero__media .float i { width: 26px; height: 26px; } }
.ip-pains { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 860px) { .ip-pains { grid-template-columns: repeat(3, 1fr); } }
.ip-pains li { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.ip-pains__n { display: block; font: 600 15px var(--f-m); color: var(--green); }
.ip-pains h3 { margin: 14px 0 8px; font: 600 21px/1.2 var(--f-d); letter-spacing: -.01em; }
.ip-pains p { font-size: 15.5px; color: var(--ink-2); }
.ip-builds { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .ip-builds { grid-template-columns: 1fr 1fr; } }
.ip-b { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.ip-b__k { align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: #E1EEE0; color: var(--green-ink); font: 600 12px/1.2 var(--f-m); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.ip-b__k:hover { background: #D2E6D1; }
.ip-b h3 { margin-top: 6px; font: 600 22px/1.2 var(--f-d); letter-spacing: -.01em; }
.ip-b > p { font-size: 15.5px; color: var(--ink-2); }
.ip-b .ticks { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.ip-b .ticks li { font-size: 15px; }
.ip-bk { margin-top: 18px; }
.ip-bk__links { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.ip-bk__links .btn { white-space: normal; text-align: left; justify-content: space-between; min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
.ip-ex .phone { margin: 16px; }
.ip-ex .thread.ip-ex__thread { min-height: 0; }
.ip-proof { display: grid; overflow: hidden; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s; }
.ip-proof:hover { border-color: var(--line-2); }
.ip-proof__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tile); }
.ip-proof__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .7s var(--ease); }
.ip-proof:hover .ip-proof__img img { transform: scale(1.03); }
.ip-proof__t { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding: clamp(24px, 3.5vw, 40px); }
.ip-proof__t > p:not(.k) { color: var(--ink-2); max-width: 60ch; }
.ip-proof .more { margin-top: 6px; }
@media (min-width: 860px) { .ip-proof { grid-template-columns: 1fr 1.1fr; } .ip-proof__img { aspect-ratio: auto; min-height: 320px; } }
.ip-more { display: grid; gap: 4px; }
.ip-more .jump { margin-top: 10px; }
.ind .h3 a { color: inherit; text-decoration: none; }
.ind .h3 a:hover { color: var(--green-ink); }
.ind__more { margin-top: 4px; font-size: 15px; }
/* nav: Virtue25-style underline that draws in under the title (Pavan 2026-10-20), replaces the grey pills */
.nav > a, .nav .nav__dd > a { position: relative; border-radius: 0; padding-left: 2px; padding-right: 2px; margin: 0 9px; }
.nav > a:hover, .nav > a[aria-current="page"], .nav__dd, .nav__dd:hover, .nav__dd.is-open, .nav__dd:has(> a[aria-current="page"]) { background: none; }
.nav > a::after, .nav .nav__dd > a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav > a[aria-current="page"]::after, .nav .nav__dd:hover > a::after, .nav .nav__dd.is-open > a::after, .nav .nav__dd > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav > a:hover, .nav > a[aria-current="page"], .nav .nav__dd > a[aria-current="page"], .nav .nav__dd:hover > a { color: var(--ink); }
.nav .nav__dd > a { margin-right: 0; }
.nav__dd .nav__tg { margin-right: 6px; }
.field__other { display: grid; gap: 8px; margin-top: 14px; }
.field__other[hidden] { display: none; }
.field__other > label { font: 600 14.5px/1.3 var(--f-b); color: var(--ink); }

/* contact: consultation calendar (Pavan 2026-10-20) */
.cal__box { border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; padding: 14px; max-width: 420px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { margin: 0; font: 600 16px/1.2 var(--f-d); }
.cal__nav { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font: 500 11px/1 var(--f-m); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 6px 0; }
.cal__d { aspect-ratio: 1; border: 0; border-radius: 10px; background: var(--paper); font: 500 14px/1 var(--f-b); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.cal__d:hover:not(:disabled) { background: rgba(122, 216, 138, .35); }
.cal__d:disabled { background: none; color: var(--line-2); cursor: default; }
.cal__d.is-on { background: var(--tile); color: var(--mint); }
.cal__slots { margin-top: 14px; }
.cal__k { margin: 0 0 10px; font: 600 14.5px/1.3 var(--f-b); }
.cal__times { display: flex; flex-wrap: wrap; gap: 8px; }
.cal__t { padding: 9px 13px; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; font: 500 14px/1 var(--f-b); color: var(--ink); cursor: pointer; }
.cal__t:hover { border-color: var(--green); }
.cal__t.is-on { background: var(--tile); border-color: var(--tile); color: var(--mint); }
.cal__pick { margin: 12px 0 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 560px) { .cal__times { display: grid; grid-template-columns: 1fr 1fr; } .cal__t { padding: 9px 8px; font-size: 13px; } }
/* hero reel labels are clickable (Pavan 2026-10-20) */
.reel button { display: block; width: 100%; padding: 0 0 4px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; }
.reel li { cursor: pointer; position: relative; z-index: 2; }
.reel li:hover { color: rgba(255, 255, 255, .85); }
.reel button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
