/* Front Counter AI shared components: the Sam chat, the price builder (second design), the
   free-sample form, the instant call, the instant mockup with its self-playing demo, and the
   private portal. Every color, font and radius is a variable so each page skins them without
   touching this file. Set the variables on :root or on any wrapper. */
:root {
  --sl-font: inherit;
  --sl-font-display: inherit;
  --sl-ink: #111;
  --sl-muted: #6b6b6b;
  --sl-bg: #fff;
  --sl-bg-2: #f4f4f2;
  --sl-line: rgba(0, 0, 0, .14);
  --sl-accent: #f5b63c;
  --sl-accent-ink: #111;
  --sl-me: #111;
  --sl-me-ink: #fff;
  --sl-radius: 18px;
  --sl-radius-sm: 10px;
  --sl-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
  --sl-focus: 0 0 0 3px color-mix(in srgb, var(--sl-accent) 55%, transparent);
}
.sl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sam-panel[hidden], .sam-ui [hidden], .q [hidden], .lead [hidden], .call [hidden], .pt [hidden], [data-pt-app][hidden] { display: none !important; }

/* ---------- buttons ---------- */
.sl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--sl-ink); background: var(--sl-ink); color: var(--sl-bg); font: inherit; font-family: var(--sl-font); font-weight: 650; font-size: 16px; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease, color .15s ease; }
.sl-btn:hover { transform: translateY(-1px); }
.sl-btn:focus-visible { outline: none; box-shadow: var(--sl-focus); }
.sl-btn-accent { background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-accent-ink); }
.sl-btn-line { background: transparent; color: var(--sl-ink); }
.sl-btn[disabled] { opacity: .55; cursor: default; transform: none; }
.sl-chip-ai { display: inline-block; font-weight: 800; font-size: 11px; letter-spacing: .1em; background: var(--sl-accent); color: var(--sl-accent-ink); padding: 2px 6px; border-radius: 4px; vertical-align: 2px; line-height: 1.2; }

/* ---------- Sam: the floating button ---------- */
.sam-fab { position: fixed; z-index: 110; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 20px 0 14px; border-radius: 999px; border: 0; background: var(--sl-ink); color: var(--sl-bg); font-family: var(--sl-font); font-weight: 700; font-size: 16px; cursor: pointer; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6); transition: transform .18s ease; }
.sam-fab:hover { transform: translateY(-2px); }
.sam-fab:focus-visible { outline: none; box-shadow: var(--sl-focus); }
.sam-fab .sam-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sl-accent); animation: sam-pulse 2.2s infinite; }
@keyframes sam-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sl-accent) 70%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
body.sam-open .sam-fab { display: none; }

/* ---------- Sam: the panel ---------- */
.sam-panel { position: fixed; z-index: 120; inset: 0; display: flex; }
.sam-ui { display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--sl-bg); color: var(--sl-ink); font-family: var(--sl-font); overflow: hidden; }
@media (min-width: 768px) {
  .sam-panel { inset: auto 24px 24px auto; width: 420px; height: min(680px, calc(100vh - 48px)); }
  .sam-panel .sam-ui { border-radius: var(--sl-radius); border: 1px solid var(--sl-line); box-shadow: var(--sl-shadow); }
  .sam-panel:not([hidden]) .sam-ui { animation: sam-pop .22s cubic-bezier(.2, .7, .2, 1); }
}
@keyframes sam-pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
body.sam-open { overflow: hidden; }
@media (min-width: 768px) { body.sam-open { overflow: auto; } }
.sam-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--sl-ink); color: var(--sl-bg); }
.sam-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--sl-accent); color: var(--sl-accent-ink); font-family: var(--sl-font-display); font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.sam-who { flex: 1; min-width: 0; }
.sam-who b { display: block; font-family: var(--sl-font-display); font-weight: 700; font-size: 19px; line-height: 1.1; }
.sam-who > span { display: block; font-size: 13px; line-height: 1.3; opacity: .8; }
.sam-x { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 30px; line-height: 1; cursor: pointer; border-radius: 10px; }
.sam-x:hover { background: rgba(255, 255, 255, .12); }
.sam-disclose { margin: 0; padding: 9px 16px; font-size: 13px; line-height: 1.4; background: color-mix(in srgb, var(--sl-accent) 18%, var(--sl-bg)); color: var(--sl-ink); border-bottom: 1px solid var(--sl-line); }
.sam-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 88%; display: flex; flex-direction: column; gap: 4px; }
.msg-sam { align-self: flex-start; }
.msg-me { align-self: flex-end; align-items: flex-end; }
.bubble { padding: 11px 14px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg-sam .bubble { background: var(--sl-bg-2); border: 1px solid var(--sl-line); border-bottom-left-radius: 5px; }
.msg-me .bubble { background: var(--sl-me); color: var(--sl-me-ink); border-bottom-right-radius: 5px; }
.msg-meta { margin: 0; font-size: 12px; font-weight: 600; color: var(--sl-muted); display: flex; gap: 6px; align-items: center; }
.msg-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.msg-act { font: inherit; font-size: 13.5px; font-weight: 600; padding: 6px 11px; min-height: 34px; border-radius: 999px; border: 1.5px solid var(--sl-line); background: transparent; cursor: pointer; color: var(--sl-ink); }
.msg-act:hover { border-color: var(--sl-ink); }
.sam-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sam-chip { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 12px; min-height: 38px; border-radius: 999px; border: 1.5px solid var(--sl-ink); background: transparent; cursor: pointer; color: var(--sl-ink); text-align: left; }
.sam-chip:hover { background: var(--sl-ink); color: var(--sl-bg); }
.mini { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; width: 100%; max-width: 360px; align-self: flex-end; background: var(--sl-bg); border: 1.5px solid var(--sl-ink); border-radius: 14px; padding: 6px; }
.mini label { grid-column: 1 / -1; font-size: 13px; font-weight: 600; padding: 2px 6px 0; }
.mini input { min-width: 0; height: 42px; border: 0; padding: 0 8px; font: inherit; font-size: 16px; background: transparent; color: inherit; }
.mini input:focus { outline: none; }
.mini .sl-btn { min-height: 42px; }
.mini-err { grid-column: 1 / -1; color: #c0392b; font-size: 13px; font-weight: 600; margin: 0 6px; }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; background: var(--sl-bg-2); border: 1px solid var(--sl-line); border-radius: 16px; border-bottom-left-radius: 5px; align-self: flex-start; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--sl-muted); opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .typing i { animation: sam-blink 1.2s infinite ease-in-out; }
  .typing i:nth-child(2) { animation-delay: .2s; }
  .typing i:nth-child(3) { animation-delay: .4s; }
}
@keyframes sam-blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.sam-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--sl-line); background: var(--sl-bg); }
.sam-form textarea { resize: none; min-height: 48px; max-height: 140px; padding: 12px 14px; border: 1.5px solid var(--sl-line); border-radius: 12px; font: inherit; font-size: 16px; line-height: 1.4; background: var(--sl-bg-2); color: inherit; }
.sam-form textarea:focus { outline: none; border-color: var(--sl-ink); box-shadow: var(--sl-focus); }
.sam-form .sl-btn { min-height: 48px; }
.sam-call { margin: 0; padding: 8px 16px 12px; font-size: 13.5px; color: var(--sl-muted); background: var(--sl-bg); }
.sam-call a { font-weight: 700; color: var(--sl-ink); }
.fallback { background: var(--sl-bg); border: 1.5px solid #c0392b; border-radius: 14px; padding: 14px; display: grid; gap: 10px; }
.fallback p { margin: 0; font-size: 15px; }
.fallback textarea, .fallback input { width: 100%; border: 1.5px solid var(--sl-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 16px; background: var(--sl-bg-2); color: inherit; }
.fallback textarea { min-height: 84px; resize: vertical; }
.fallback .sl-btn { justify-self: start; }
[data-sam-inline] .sam-ui { height: min(640px, 80vh); min-height: 480px; border-radius: var(--sl-radius); border: 1px solid var(--sl-line); }

/* ---------- the price builder, second design ([data-quote]) ---------- */
.q { font-family: var(--sl-font); color: var(--sl-ink); display: grid; gap: 26px; }
.q-step { display: grid; gap: 10px; }
.q-label { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sl-muted); }
.q-trades { display: flex; flex-wrap: wrap; gap: 6px; }
.q-trade { font: inherit; font-size: 14px; font-weight: 600; padding: 7px 12px; min-height: 36px; border-radius: 999px; border: 1.5px solid var(--sl-line); background: transparent; color: var(--sl-ink); cursor: pointer; }
.q-trade[aria-pressed="true"] { background: var(--sl-ink); color: var(--sl-bg); border-color: var(--sl-ink); }
.q-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 14px; background: var(--sl-bg-2); border: 1px solid var(--sl-line); }
.q-segbtn { display: grid; gap: 2px; padding: 12px 10px; border-radius: 10px; border: 1.5px solid transparent; background: transparent; color: var(--sl-ink); font: inherit; cursor: pointer; text-align: left; transition: background .15s ease, border-color .15s ease; }
.q-segbtn:hover { border-color: var(--sl-line); }
.q-segbtn[aria-checked="true"] { background: var(--sl-bg); border-color: var(--sl-ink); box-shadow: 0 6px 16px -10px rgba(0, 0, 0, .5); }
.q-segbtn:focus-visible { outline: none; box-shadow: var(--sl-focus); }
.q-segname { font-weight: 700; font-size: 15px; line-height: 1.2; }
.q-segprice { font-family: var(--sl-font-display); font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -.01em; }
.q-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sl-muted); min-height: 1.5em; }
.q-rows { display: grid; gap: 8px; }
.q-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--sl-line); border-radius: 14px; background: var(--sl-bg); cursor: pointer; transition: border-color .15s ease; }
.q-row:hover { border-color: var(--sl-ink); }
.q-row:has(.q-sw-in:checked) { border-color: var(--sl-ink); }
.q-sw-in { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-sw { width: 44px; height: 26px; border-radius: 999px; background: var(--sl-line); position: relative; flex: none; transition: background .18s ease; }
.q-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sl-bg); box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .18s ease; }
.q-sw-in:checked ~ .q-sw { background: var(--sl-accent); }
.q-sw-in:checked ~ .q-sw::after { transform: translateX(18px); }
.q-sw-in:focus-visible ~ .q-sw { box-shadow: var(--sl-focus); }
.q-rowtxt { display: grid; gap: 2px; min-width: 0; }
.q-rowname { font-weight: 700; font-size: 16px; line-height: 1.25; }
.q-rowshort { font-size: 13.5px; line-height: 1.4; color: var(--sl-muted); }
.q-people { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; font-weight: 600; }
.q-pbtn { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--sl-line); background: var(--sl-bg); color: var(--sl-ink); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.q-pbtn:hover { border-color: var(--sl-ink); }
.q-pbtn:focus-visible { outline: none; box-shadow: var(--sl-focus); }
.q-pn { min-width: 64px; text-align: center; }
.q-people small { font-weight: 500; color: var(--sl-muted); }
.q-rowprice { text-align: right; display: grid; gap: 1px; }
.q-rowprice b { font-family: var(--sl-font-display); font-weight: 800; font-size: 20px; line-height: 1.1; white-space: nowrap; }
.q-rowprice small { font-size: 12px; color: var(--sl-muted); white-space: nowrap; }
@media (max-width: 560px) {
  .q-seg { grid-template-columns: 1fr; }
  .q-row { grid-template-columns: auto minmax(0, 1fr); }
  .q-rowprice { grid-column: 2; text-align: left; }
  .q-rowprice small { white-space: normal; }
}
.q-call { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sl-muted); }
.q-link { font: inherit; font-weight: 700; color: var(--sl-ink); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.q-bar { display: grid; gap: 14px; padding: 22px; border-radius: var(--sl-radius); background: var(--sl-ink); color: var(--sl-bg); }
.q-tots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.q-tot { display: grid; gap: 2px; }
.q-k { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.q-v { font-family: var(--sl-font-display); font-size: clamp(30px, 4.5vw, 44px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.q-lines { margin: 0; font-size: 14px; line-height: 1.5; opacity: .85; }
.q-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.q-bar .sl-btn-line { color: var(--sl-bg); border-color: color-mix(in srgb, var(--sl-bg) 50%, transparent); }
.q-send { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.q-send input { min-width: 0; height: 46px; border: 1.5px solid color-mix(in srgb, var(--sl-bg) 40%, transparent); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 16px; background: transparent; color: var(--sl-bg); }
.q-send input::placeholder { color: color-mix(in srgb, var(--sl-bg) 60%, transparent); }
.q-send input:focus { outline: none; border-color: var(--sl-accent); box-shadow: var(--sl-focus); }
.q-msg { margin: 0; font-size: 14px; font-weight: 600; }
.q-msg.is-err { color: #ff8f7a; }
.q-msg.is-ok { color: var(--sl-accent); }
.q-fine { margin: 0; font-size: 12.5px; line-height: 1.45; opacity: .6; }

/* ---------- the free sample form ([data-lead]) ---------- */
.lead { font-family: var(--sl-font); color: var(--sl-ink); display: grid; gap: 12px; }
.lead-row { display: grid; gap: 12px; }
@media (min-width: 640px) { .lead-row { grid-template-columns: 1fr 1fr; } }
.lead-f { display: grid; gap: 6px; }
.lead-f label { font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.lead-f input, .lead-f select { width: 100%; height: 52px; border: 1.5px solid var(--sl-line); border-radius: var(--sl-radius-sm); padding: 0 14px; font: inherit; font-size: 17px; background: var(--sl-bg); color: inherit; }
.lead-f input:focus, .lead-f select:focus { outline: none; border-color: var(--sl-ink); box-shadow: var(--sl-focus); }
.lead-f input::placeholder { color: var(--sl-muted); }
.lead-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lead-acts .sl-btn { min-height: 54px; padding: 0 24px; font-size: 17px; }
.lead-fine { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--sl-muted); }
.lead-msg { margin: 0; font-size: 15px; font-weight: 600; }
.lead-msg.is-err { color: #c0392b; }
.lead-done { display: grid; gap: 10px; padding: 24px; border-radius: var(--sl-radius); background: var(--sl-ink); color: var(--sl-bg); }
.lead-done h3 { margin: 0; font-family: var(--sl-font-display); font-size: 28px; line-height: 1.1; }
.lead-done p { margin: 0; font-size: 16px; line-height: 1.5; }
.lead-done .sl-btn { justify-self: start; background: var(--sl-accent); border-color: var(--sl-accent); color: var(--sl-accent-ink); }

/* ---------- the instant call ([data-call]) ---------- */
.call { font-family: var(--sl-font); color: var(--sl-ink); display: grid; gap: 10px; }
.call-title { margin: 0; font-family: var(--sl-font-display); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -.01em; }
.call-line, .call-fine { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--sl-muted); }
.call-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.call-form input { min-width: 0; height: 52px; border: 1.5px solid var(--sl-line); border-radius: 999px; padding: 0 18px; font: inherit; font-size: 17px; background: var(--sl-bg); color: inherit; }
.call-form input:focus { outline: none; border-color: var(--sl-ink); box-shadow: var(--sl-focus); }
.call-form .sl-btn { min-height: 52px; padding: 0 22px; }
.call-msg { margin: 0; font-size: 15px; font-weight: 600; }
.call-msg.is-err { color: #c0392b; }
.call-msg.is-ok { color: var(--sl-ink); }

/* ---------- the instant mockup ([data-mock]) ---------- */
.mock { --m-hue: 38; --m-ink: #14161a; --m-bg: #fff; --m-accent: var(--sl-accent); --m-accent-ink: var(--sl-accent-ink); --m-bg-2: #f3f4f6; --m-art: hsl(var(--m-hue) 70% 92%); --m-art-ink: hsl(var(--m-hue) 55% 32%); position: relative; font-family: var(--sl-font); color: var(--m-ink); background: var(--m-bg); width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; font-size: 10px; container-type: inline-size; }
.mock > * { flex: none; }
.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.1em 1.4em; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.mock-logo { font-family: var(--sl-font-display); font-weight: 800; font-size: 1.35em; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-call { font-weight: 700; font-size: 1.05em; padding: .55em 1em; border-radius: 999px; background: var(--m-ink); color: var(--m-bg); white-space: nowrap; }
.mock-hero { display: grid; gap: 1.2em; padding: 1.6em 1.4em; }
.mock-copy { display: grid; gap: .7em; align-content: start; }
.mock-kick { margin: 0; font-size: .95em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--m-accent-ink); background: var(--m-accent); display: inline-block; justify-self: start; padding: .3em .7em; border-radius: 4px; }
.mock-head { margin: 0; font-family: var(--sl-font-display); font-size: 2.3em; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.mock-sub { margin: 0; font-size: 1.15em; line-height: 1.4; opacity: .75; }
.mock-btn { display: inline-block; justify-self: start; margin-top: .4em; padding: .8em 1.4em; border-radius: 999px; background: var(--m-accent); color: var(--m-accent-ink); font-weight: 800; font-size: 1.15em; transition: transform .12s ease; }
.mock-btn.is-pressed { transform: scale(.94); }
.mock-art { position: relative; min-height: 11em; border-radius: 1.2em; background: radial-gradient(120% 90% at 20% 10%, hsl(var(--m-hue) 80% 96%), var(--m-art)); color: var(--m-art-ink); display: grid; place-items: center; overflow: hidden; }
.mock-art svg { width: 44%; height: auto; max-height: 70%; filter: drop-shadow(0 1em 1.5em hsl(var(--m-hue) 50% 40% / .25)); }
.mock-badge { position: absolute; left: 1em; bottom: 1em; display: grid; gap: .1em; padding: .6em .9em; border-radius: .8em; background: var(--m-bg); color: var(--m-ink); font-size: .95em; line-height: 1.2; box-shadow: 0 .6em 1.6em rgba(0, 0, 0, .12); }
.mock-badge b { font-size: 1.1em; }
.mock-badge span { opacity: .7; }
.mock-svcs { margin: 0; padding: 0 1.4em 1.4em; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.mock-svcs li { padding: 1em 1.1em; border-radius: .8em; background: var(--m-bg-2); font-weight: 700; font-size: 1.1em; }
.mock-rev { display: flex; align-items: center; gap: .8em; padding: 1.2em 1.4em; border-top: 1px solid rgba(0, 0, 0, .08); font-size: 1.05em; font-weight: 600; }
.mock-stars { display: inline-flex; gap: .15em; font-size: 1.2em; }
.mock-stars i { font-style: normal; color: #d9d4c7; transition: color .25s ease, transform .25s ease; }
.mock-stars i::before { content: "\2605"; }
.mock-stars.is-full i { color: #f0a800; }
.mock-stars.is-full i:nth-child(2) { transition-delay: .08s; }
.mock-stars.is-full i:nth-child(3) { transition-delay: .16s; }
.mock-stars.is-full i:nth-child(4) { transition-delay: .24s; }
.mock-stars.is-full i:nth-child(5) { transition-delay: .32s; }
.mock-foot { margin-top: auto; padding: 1.1em 1.4em; font-size: .95em; opacity: .6; border-top: 1px solid rgba(0, 0, 0, .08); }
@container (min-width: 520px) {
  .mock-hero { grid-template-columns: 1.15fr 1fr; padding: 2.6em 2.4em 2.2em; }
  .mock-art { min-height: 14em; }
  .mock-svcs { grid-template-columns: repeat(4, 1fr); padding: 0 2.4em 2em; }
}
.mock.is-dark { --m-ink: #f5f3ee; --m-bg: #101114; --m-bg-2: #1a1c21; }
.mock.is-dark .mock-bar, .mock.is-dark .mock-rev, .mock.is-dark .mock-foot { border-color: rgba(255, 255, 255, .1); }

/* the self-playing demo layer (demo.js) */
.mock .mock-hero, .mock .mock-svcs, .mock .mock-rev, .mock .mock-foot { transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.mock.demo-scrolled .mock-hero, .mock.demo-scrolled .mock-svcs, .mock.demo-scrolled .mock-rev, .mock.demo-scrolled .mock-foot { transform: translateY(-2.2em); }
.demo { position: absolute; inset: 0; pointer-events: none; font-size: 1em; }
.demo-cursor { position: absolute; left: var(--x, 70%); top: var(--y, 60%); width: 2.2em; height: 2.2em; margin: -1.1em 0 0 -1.1em; border-radius: 50%; background: rgba(20, 22, 26, .18); border: .25em solid rgba(20, 22, 26, .55); opacity: 0; transform: scale(.6); transition: left .65s cubic-bezier(.2, .7, .2, 1), top .65s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, transform .18s ease; }
.demo-cursor.is-in { opacity: 1; transform: scale(1); }
.demo-cursor.is-tap { transform: scale(.7); background: rgba(20, 22, 26, .35); }
.demo-sheet { position: absolute; left: 1em; right: 1em; bottom: 1em; padding: 1.4em; border-radius: 1.2em; background: var(--m-bg); color: var(--m-ink); box-shadow: 0 2em 4em rgba(0, 0, 0, .28); display: grid; gap: .7em; transform: translateY(115%); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.demo-sheet.is-up { transform: none; }
.demo-sheet-h { margin: 0; font-family: var(--sl-font-display); font-weight: 800; font-size: 1.4em; }
.demo-field { display: grid; gap: .2em; padding: .6em .8em; border-radius: .6em; background: var(--m-bg-2); min-height: 2.9em; }
.demo-field-l { font-size: .85em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.demo-field-v { font-size: 1.1em; font-weight: 600; min-height: 1.2em; }
.demo-go { justify-self: start; padding: .7em 1.3em; border-radius: 999px; background: var(--m-ink); color: var(--m-bg); font-weight: 800; font-size: 1.05em; transition: transform .12s ease; }
.demo-go.is-pressed { transform: scale(.94); }
.demo-done { position: absolute; left: 1em; right: 1em; bottom: 1em; display: flex; align-items: center; gap: .8em; padding: 1em 1.2em; border-radius: 1em; background: var(--m-ink); color: var(--m-bg); font-weight: 700; font-size: 1.1em; transform: translateY(130%); opacity: 0; transition: transform .4s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.demo-done.is-in { transform: none; opacity: 1; }
.demo-check { width: 2em; height: 2em; border-radius: 50%; background: var(--m-accent); color: var(--m-accent-ink); display: grid; place-items: center; font-weight: 900; }
.demo-toast { position: absolute; left: 1em; right: 1em; top: .8em; display: grid; gap: .1em; padding: .9em 1.1em; border-radius: 1em; background: var(--m-ink); color: var(--m-bg); font-size: 1.05em; line-height: 1.25; box-shadow: 0 1.2em 2.4em rgba(0, 0, 0, .3); transform: translateY(-140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease; }
.demo-toast.is-in { transform: none; opacity: 1; }
.demo-toast span { opacity: .7; font-size: .95em; }
.mock.demo-static .demo-cursor, .mock.demo-static .demo-sheet, .mock.demo-static .demo-done { display: none; }

/* ---------- the private portal ---------- */
.pt { font-family: var(--sl-font); color: var(--sl-ink); max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; }
.pt h1 { font-family: var(--sl-font-display); font-size: 34px; margin: 0 0 20px; }
.pt-login { max-width: 460px; background: var(--sl-bg); border: 1px solid var(--sl-line); border-radius: 16px; padding: 20px; display: grid; gap: 8px; }
.pt-login label { font-weight: 600; }
.pt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pt-row input { height: 50px; border: 2px solid var(--sl-ink); border-radius: 10px; padding: 0 12px; font: inherit; background: var(--sl-bg); color: inherit; }
.pt-err { margin: 0; color: #c0392b; font-weight: 600; }
.pt-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; }
.pt-bar p { margin: 0; font-weight: 600; }
.pt-filters, .pt-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-list { display: grid; gap: 14px; }
.pt-item { background: var(--sl-bg); border: 1px solid var(--sl-line); border-radius: 16px; padding: 16px 18px; }
.pt-item.has-contact { border-left: 6px solid var(--sl-accent); }
.pt-head { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; margin-bottom: 8px; }
.pt-when { font-weight: 700; }
.pt-k { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 5px; background: var(--sl-bg-2); }
.pt-k-sample, .pt-k-quote { background: color-mix(in srgb, var(--sl-accent) 30%, var(--sl-bg)); }
.pt-k-callback, .pt-k-copy, .pt-k-contact, .pt-k-call { background: #e4f4e8; color: #1d6b35; }
.pt-k-message { background: #fbe4e1; color: #a32d1d; }
.pt-meta { font-size: 14px; color: var(--sl-muted); }
.pt-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 6px 0 10px; font-weight: 700; }
.pt-contact a { color: inherit; }
.pt-msgs { display: grid; gap: 6px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--sl-line); }
.pt-msgs p { margin: 0; font-size: 15px; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
.pt-empty { color: var(--sl-muted); }
