/* Lightning Command Lines: the home page's new middle (unit MAINPAGE, Wed Nov 25 2026). Loaded after site.css and apps.css on
   the home page only. Order (D1): services, Bishop CPA (site customization), our own sites and apps, our apps.
   The graphic parts are the Store's own (lcl-office public/portal/assets/css/portal-live.css, unit KITLOOK): each app's
   accent colours, the dark band with the app's faint large mark, the slanted accent line under it, the small slanted mark
   before a title, the picture frames, and the "Best value" seal's blue for the "In development" tag. A new file name, so
   a cached old sheet can never pair with this page. */

/* each app's accents, as the Store's product pages set them (portal-live.css .store-app[data-app]) */
[data-app="quasar"]  { --acc: #0A84FF; --acc-2: #39B6FF; --acc-ink: #0B4FD9; --acc-btn-ink: #05070D; }
[data-app="almanac"] { --acc: #F5A524; --acc-2: #F5A524; --acc-ink: #8A5200; --acc-btn-ink: #05070D; }
[data-app="soroban"] { --acc: #12B76A; --acc-2: #47CD89; --acc-ink: #067647; --acc-btn-ink: #05070D; }
[data-app="uplink"]  { --acc: #7C5CFF; --acc-2: #A996FF; --acc-ink: #4B2FD1; --acc-btn-ink: #05070D; }

/* quiet buttons: an outline in ink on paper; on the black top bar an outline in paper */
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--hair-strong); }
.btn-quiet:hover { border-color: var(--ink); background: #fff; }
.btn-quiet .i { width: 16px; height: 16px; }
.btn-quiet-dark { background: transparent; color: var(--d1); border-color: rgba(247, 249, 252, .34); }
.btn-quiet-dark:hover { border-color: var(--d1); background: rgba(247, 249, 252, .06); }
.top-dl { min-height: 42px; padding: 0 16px; font-size: 14.5px; gap: 8px; }
.top-dl .i { width: 16px; height: 16px; }
.top-nav { gap: 14px; }

/* the kit's small slanted mark before a title (portal-live.css .store-app.kit .section-head h2::before) */
.site-text h3::before, .keto-head h3::before, .app-id h3::after { content: ""; display: inline-block; width: 18px; height: 5px; margin-right: 12px; vertical-align: middle;
  background: var(--acc, var(--blue)); transform: skewX(-40deg); }
.app-id h3::after { margin: 0 0 0 12px; }

/* a place for words about the work: ships empty and takes no room */
.quote-slot { margin: 18px 0 0; }
.quote-slot:empty { display: none; }

/* ------------------------------------------------------------ services: the lead card names what a site of ours can carry */
.card--lead { border-top: 4px solid var(--blue); }
.card--lead .text-link { margin-top: 16px; align-self: flex-start; }
.card { display: flex; flex-direction: column; }

/* ------------------------------------------------------------ Bishop CPA: the clip beside the six numbered parts */
.projects .client { max-width: 860px; }
.projects .client .lede { margin-top: 18px; }
.projects-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; margin-top: 36px; }
/* the clip and its buttons stay in view while the six parts scroll past (wide screens only) */
.client-media { align-self: start; position: sticky; top: calc(var(--top-h) + 24px); }
.client-media .client-actions { margin-top: 24px; }
.client-media .browser { margin: 0; }
.projects .deliveries { border-top: 1px solid var(--hair-strong); }
.projects .delivery { padding: 20px 0; }
.projects .delivery h3 { margin: 4px 0 6px; font: 650 18px/1.3 var(--sans); letter-spacing: -.01em; }
.projects .delivery p { margin: 0; color: var(--t2); font-size: 15.5px; line-height: 1.55; }
.delivery-num { display: flex; align-items: center; gap: 10px; font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--deep); }
.state { display: inline-block; padding: 4px 8px; border-radius: 9px; border: 1px solid var(--hair-strong); font: 600 10.5px/1 var(--sans); letter-spacing: .02em; color: var(--t2); text-transform: none; }
.state--live { border-color: #9BD9BC; color: #067647; background: #E3F5EC; }
.client-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* ------------------------------------------------------------ the clips: a site scrolled, in the browser frame */
.browser--clip { background: var(--black); }
.clip { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.clip-v { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip-btn { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 10px;
  border-radius: 18px; border: 1px solid rgba(247, 249, 252, .3); background: rgba(5, 7, 13, .72); color: var(--d1); font: 600 13px/1 var(--sans); cursor: pointer; }
.clip-btn:hover { background: var(--blue); border-color: var(--blue); }
.clip-btn[hidden] { display: none; }
.clip-ico { width: 12px; height: 12px; display: none; }
.clip-ico--pause { border-left: 4px solid currentColor; border-right: 4px solid currentColor; width: 12px; box-sizing: border-box; }
.clip-ico--play { width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 11px; border-color: transparent transparent transparent currentColor; }
.clip-btn[aria-pressed="false"] .clip-ico--pause { display: block; }
.clip-btn[aria-pressed="true"] .clip-ico--play { display: block; }

/* ------------------------------------------------------------ our own sites: the same kind of block, then the Keto 28 card */
.sites .section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.site { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.site + .site { margin-top: clamp(56px, 7vw, 96px); }
.site--flip .site-media { order: 2; }
.site .browser { margin: 0; }
.site-text h3, .keto-head h3 { margin: 0; font: 680 clamp(1.6rem, 2.4vw, 2.1rem)/1.15 var(--sans); letter-spacing: -.02em; }
.site-what { margin: 14px 0 0; color: var(--t2); font-size: 17px; line-height: 1.6; }
.feats { list-style: none; margin: 20px 0 24px; padding: 0; display: grid; gap: 10px; }
.feats li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; }
.feats .i { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); --lcl-accent: var(--blue); }
.keto { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(56px, 7vw, 96px);
  padding: clamp(20px, 3vw, 32px); border: 1px solid var(--hair-strong); border-radius: 14px; background: #fff; }
.keto-pic img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 10px; border: 1px solid var(--line-l); }
.keto-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.keto .feats { margin-bottom: 0; }
/* "In development": the Store's Best value seal colours (portal-live.css .kit-seal: #0B4FD9, a ring, a soft blue shadow) */
.kit-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; background: #0B4FD9; color: #fff;
  font: 700 11.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 0 0 3px #E8F1FF, 0 8px 18px rgba(11, 79, 217, .3); }

/* ------------------------------------------------------------ our apps: the dark band with Download Quasar, then the four */
.products .wrap { position: relative; }
.dl-band { position: relative; overflow: hidden; border-radius: 16px 16px 0 0; background: var(--black); color: var(--d1); padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px); }
.dl-ghost { position: absolute; right: -60px; top: -80px; height: 520px; width: auto; opacity: .08; pointer-events: none; }
.dl-in { position: relative; }
.label--dark, .dl-band .label { color: var(--sky); }
.dl-band .label .i { color: var(--d1); --lcl-accent: var(--sky); }
.dl-band h2 { color: var(--d1); }
.dl-lede { margin: 16px 0 0; max-width: 52ch; color: var(--d2); font-size: 18px; line-height: 1.6; }
.dl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.dl-row .btn .i { width: 18px; height: 18px; }
.text-link--dark { color: var(--sky); border-bottom-color: rgba(57, 182, 255, .4); }
.text-link--dark:hover { border-bottom-color: var(--sky); }
.dl-line { margin: 12px 0 0; color: var(--d3); font: 400 12.5px/1.4 var(--mono); letter-spacing: .04em; }
/* the slanted accent line under the band (portal-live.css .kit-line) */
.kit-line { position: relative; height: 44px; background: var(--black); margin-bottom: clamp(48px, 6vw, 88px); }
.kit-line::before, .kit-line::after { content: ""; position: absolute; inset: 0; }
.kit-line::before { background: var(--blue); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.kit-line::after { background: var(--paper); clip-path: polygon(0 100%, 100% 3px, 100% 100%); }

.apps .app { align-items: start; }
.app-media { display: grid; gap: 14px; min-width: 0; }
.app-window { border-top: 4px solid var(--acc, var(--blue)); }
.app-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.app-window--thumb { border-radius: 10px; border-top-width: 3px; }
.app-window--thumb .app-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.apps .app-tag { color: var(--acc-ink, var(--deep)); }
.app-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-app { background: var(--acc); color: var(--acc-btn-ink); }
.btn-app:hover { background: var(--acc-2); filter: brightness(1.05); }
[data-app="quasar"] .btn-app { color: #fff; }
[data-app="quasar"] .btn-app:hover { background: var(--deep); }
.apps .quote-slot { margin: 0 0 18px; }
.app-text { padding-top: 8px; }

/* D6: the sample-data line INSIDE each picture, bottom centre: small quiet letters, no box, no border, not a control */
.app-shot, .zoom-pic { position: relative; }
.sample { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); z-index: 1; pointer-events: none; user-select: none;
  white-space: nowrap; font: 500 11px/1 var(--sans); letter-spacing: .02em; color: rgba(247, 249, 252, .78);
  text-shadow: 0 1px 2px rgba(5, 7, 13, .9), 0 0 6px rgba(5, 7, 13, .6); background: none; border: 0; padding: 0; }
.zoom-pic .sample { bottom: 10px; font-size: 12px; }
.fine { margin: clamp(40px, 5vw, 64px) 0 0; color: var(--t3); font-size: 13px; line-height: 1.5; }

@media (max-width: 1180px) { .top-links { gap: 18px; } }
@media (max-width: 960px) {
  .projects-wrap, .site, .keto { grid-template-columns: 1fr; }
  /* on a phone and a tablet: clip, then the six parts, then the buttons (as before) */
  .client-media { display: contents; position: static; }
  .client-media .browser { order: 1; }
  .client-media .quote-slot { order: 2; }
  .projects-wrap .deliveries { order: 3; }
  .client-media .client-actions { order: 4; margin-top: 16px; }
  .site--flip .site-media { order: 0; }
  .dl-ghost { height: 360px; right: -60px; top: -40px; }
}
@media (max-width: 720px) {
  .sample { font-size: 10px; bottom: 5px; }
  .app-thumbs { gap: 10px; }
  .app-actions .btn, .client-actions .btn { flex: 1 1 auto; }
  .kit-line { height: 28px; }
  .clip-btn { left: 8px; bottom: 8px; min-height: 32px; font-size: 12px; }
}
.keto .keto-state { margin: 20px 0 22px; color: var(--t3); font-size: 14px; line-height: 1.5; }
/* on a phone the "View larger" chip moves to the top right so it never meets the sample-data line at the bottom centre */
@media (max-width: 720px) { .app-shot .app-zoom { top: 8px; bottom: auto; } }
