/* Altair v3 (Nov 29), round 5 (Nov 30: dashboard + mini site removed, agents live on ai.html): AI receptionist orb, "what you're losing" calculator,
   motion everywhere + living stars. Loaded after the inline styles in index.html; uses the same tokens. */

/* faint starfield behind every section */
.field-sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition: none !important; animation: none !important; }
html.rx-lock, html.menu-open { overflow: hidden; }

/* hairlines that draw across (injected by altair.js over the host's own border) */
.hl-host { position: relative; }
.hl-t { border-top-color: transparent !important; }
.hl-b { border-bottom-color: transparent !important; }
.hl { position: absolute; left: 0; right: 0; height: 1px; background: var(--line-2); transform-origin: left center; pointer-events: none; }
.hl.t { top: -1px; } .hl.b { bottom: -1px; background: var(--line); }

/* shared inputs */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field { display: grid; gap: 10px; }
.field > span:not(.err), .field > legend { font: 500 13px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); padding: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.input { width: 100%; min-height: 52px; padding: 0 16px; background: #07080B; color: var(--ink); border: 1px solid var(--line-2); border-radius: 0; font: 400 18px var(--body); caret-color: #fff; }
.input::placeholder { color: #80848E; }
.input:hover { border-color: rgba(255,255,255,.5); }
.input:focus-visible { outline: 2px solid #fff; outline-offset: 0; border-color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; background: transparent; color: var(--ink); border: 1px solid var(--line-2); font: 500 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.chip:hover { border-color: #fff; }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.chip.sw i { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(255,255,255,.45); }
.note { color: var(--muted); font-size: 16px; margin: 0; max-width: 46ch; }
.tlink { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--line-2); transition: text-decoration-color .25s; }
.tlink:hover { text-decoration-color: #fff; }
.tlink i { width: 0; height: 0; border-left: 6px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; transition: transform .25s; }
.tlink:hover i { transform: translateX(4px); }

/* ===== AI agents feature block (round 4, Nov 30): animated agent cards, pictures drawn by altair.js ===== */
.agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.agent { display: flex; flex-direction: column; padding: 0 0 22px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid rgba(220,228,242,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 70px -50px #000; transition: border-color .3s, transform .3s; }
.agent:hover { border-color: rgba(235,240,250,.55); transform: translateY(-2px); }
/* round 7 (Nov 30): each card holds a small product-style UI scene. One system: the same window, radius, type steps
   and 4 s timing for all eight; type is sized from the card's width (em), so the scenes scale as one. */
.ag-pic { --acc: #A9C1FF; position: relative; aspect-ratio: 16 / 9; margin-bottom: 18px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 18px, linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 18px 100%, #05060A; container-type: inline-size; }
.ag-pic::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, #05060A); pointer-events: none; }
.ui { position: absolute; inset: 9% 7% -1px; display: flex; flex-direction: column; font: 400 min(4cqw, 13px)/1.3 var(--body); color: var(--ink); background: #0B0C10; border: 1px solid rgba(255,255,255,.14); border-bottom: 0; border-radius: 6px 6px 0 0; box-shadow: 0 18px 40px -24px #000, inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.ui-h { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .6em .9em; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .74em; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.ui-h b { font-weight: 500; color: #C9CCD3; }
.ui-h span { display: inline-flex; align-items: center; gap: .6em; }
.ui-h .live { width: .55em; height: .55em; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 .25em rgba(169,193,255,.14); }
.ui-b { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; gap: .55em; padding: .75em .9em; }
.ui .i { width: 1em; height: 1em; flex: none; }
.ui .r { display: flex; align-items: center; gap: .6em; min-width: 0; white-space: nowrap; }
.ui .t { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ui .m { display: flex; align-items: center; gap: .45em; color: var(--muted); font-size: .86em; white-space: nowrap; }
.ui .m .i { color: var(--acc); }
.ui .tm { margin-left: auto; font-variant-numeric: tabular-nums; }
.ui .av { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; flex: none; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: .8em; letter-spacing: .04em; color: #C9CCD3; }
.ui .av .i { width: 1.15em; height: 1.15em; }
.ui .miss .av { color: #fff; }
.ui .typed { display: inline-block; white-space: nowrap; }
.ui .lbl { display: block; margin-bottom: .2em; font-size: .72em; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.ui .ln { display: flex; gap: .7em; white-space: nowrap; }
.ui .who { flex: none; width: 3.6em; color: var(--faint); font-size: .86em; line-height: 1.5; }
.ui .note { display: inline-flex; align-self: flex-start; align-items: center; gap: .5em; padding: .4em .7em; border: 1px solid rgba(169,193,255,.4); border-radius: 4px; background: rgba(169,193,255,.08); color: #C4D3FF; font-size: .86em; }
.ui .bub { max-width: 84%; padding: .5em .75em; border: 1px solid rgba(255,255,255,.16); border-radius: 6px 6px 6px 2px; background: #111217; white-space: nowrap; overflow: hidden; }
.ui .bub.me { align-self: flex-end; border-radius: 6px 6px 2px 6px; background: #F2F2F2; border-color: #F2F2F2; color: #0A0A0C; white-space: normal; }
.ui .bub.me u { text-underline-offset: 2px; }
.ui .dots { display: flex; gap: .3em; align-self: flex-start; padding: .65em .8em; border: 1px solid rgba(255,255,255,.16); border-radius: 6px 6px 6px 2px; margin-bottom: -2.6em; }
.ui .dots i { width: .4em; height: .4em; border-radius: 50%; background: #fff; }
.ui .stars { display: inline-flex; gap: .15em; color: #fff; }
.ui .stars .i { width: .9em; height: .9em; }
.ui .q { font-style: italic; color: #C9CCD3; }
.ui .draft { padding: .5em .7em; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: #111217; white-space: nowrap; overflow: hidden; }
.ui .acts { display: flex; justify-content: flex-end; gap: .5em; }
.ui .ub { display: inline-flex; align-items: center; justify-content: center; height: 2.1em; padding: 0 .9em; border: 1px solid rgba(255,255,255,.22); border-radius: 4px; font-size: .84em; font-weight: 500; letter-spacing: .04em; color: #C9CCD3; }
.ui .ub.pri { display: inline-grid; background: rgba(169,193,255,.1); color: #C4D3FF; border-color: rgba(169,193,255,.45); }
.ui .ap > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: .4em; }
.ui .ap .a1 { opacity: 0; }
.ui .mail { display: grid; grid-template-columns: 6.2em 1fr auto; align-items: center; gap: .7em; padding: .15em 0; white-space: nowrap; }
.ui .mail b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.ui .mail span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.ui .tag { font-style: normal; font-size: .7em; letter-spacing: .1em; text-transform: uppercase; padding: .2em .55em; border: 1px solid rgba(255,255,255,.24); border-radius: 3px; color: #C9CCD3; }
.ui .t1, .ui .t3 { border-color: rgba(169,193,255,.45); color: #C4D3FF; }
.ui .dpanel { position: absolute; left: .9em; right: .9em; bottom: 1.6em; z-index: 2; padding: .55em .75em .6em; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: #15161C; box-shadow: 0 -12px 24px -8px rgba(0,0,0,.7); white-space: nowrap; overflow: hidden; }
.ui .track { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: .7em; font-size: .78em; letter-spacing: .1em; text-transform: uppercase; color: #F2F2F2; }
.ui .stg:nth-child(2) { text-align: center; } .ui .stg:nth-child(3) { text-align: right; }
.ui .track .tbar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; }
.ui .track .fill { position: absolute; inset: 0; background: var(--acc); transform-origin: 0 50%; }
.ui .chart { height: 3.6em; flex: none; }
.ui .chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ui .chart path { vector-effect: non-scaling-stroke; }
.ui .chart .gl { stroke: rgba(255,255,255,.08); stroke-width: 1; fill: none; }
.ui .chart .area { fill: rgba(169,193,255,.1); }
.ui .chart .line { stroke: var(--acc); stroke-width: 1.5; fill: none; stroke-linejoin: round; }
.ui .pts { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; font-size: .9em; }
.ui .pts li { display: flex; align-items: center; gap: .6em; white-space: nowrap; }
.ui .pts li::before { content: ""; flex: none; width: .38em; height: .38em; background: #fff; transform: rotate(45deg); }
.ui .adc { display: flex; gap: .8em; padding: .6em; border: 1px solid rgba(255,255,255,.12); border-radius: 4px; background: #111217; min-width: 0; }
.ui .adimg { flex: none; width: 3.6em; height: 3.6em; border-radius: 3px; background: radial-gradient(60% 60% at 35% 30%, #5A5E68, transparent 70%), linear-gradient(135deg, #2A2C33, #15161B); }
.ui .adt { display: grid; align-content: center; gap: .35em; min-width: 0; }
.ui .adt .m { font-size: .8em; }
.ui .adh { font-weight: 600; white-space: nowrap; overflow: hidden; }
.agent h3 { padding: 0 20px; font: 600 20px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.agent p { margin: 8px 0 0; padding: 0 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 1100px) { .agents { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .agents { grid-template-columns: 1fr; } }

/* ===== 1. AI receptionist orb + chat ===== */
.orb { position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); width: 68px; height: 68px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity .25s; }
.orb canvas { position: absolute; left: -16px; top: -16px; width: 100px; height: 100px; pointer-events: none; }
.orb:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.orb-tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); padding: 9px 12px; background: rgba(0,0,0,.82); border: 1px solid var(--line-2); color: var(--ink); font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.orb:hover .orb-tip, .orb:focus-visible .orb-tip { opacity: 1; }
.orb[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.rx { position: fixed; z-index: 45; right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom)); width: min(400px, calc(100vw - 40px)); height: min(620px, calc(100svh - 110px)); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; background: rgba(7,8,11,.96); border: 1px solid var(--line-2); box-shadow: 0 30px 90px -20px rgba(0,0,0,.95), 0 0 70px -24px rgba(200,215,255,.3); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transform-origin: 100% 100%; }
.rx-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 8px 10px 16px; border-bottom: 1px solid var(--line); }
.rx-dot { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, #dfe4ee 30%, #8a93a6 70%, #2b3140 100%); box-shadow: 0 0 16px rgba(215,226,255,.45); }
.rx-title { margin: 0; font: 600 16px/1.1 var(--disp); letter-spacing: .14em; text-transform: uppercase; }
.rx-note { margin: 4px 0 0; color: var(--faint); font-size: 13px; line-height: 1.3; }
.rx-x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid transparent; color: var(--ink); cursor: pointer; transition: border-color .2s; }
.rx-x:hover { border-color: var(--line-2); }
.rx-x svg { width: 14px; height: 14px; }
.rx-log { display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
.msg { max-width: 88%; margin: 0; padding: 11px 14px; font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.ai { align-self: flex-start; background: #121318; border: 1px solid var(--line); }
.msg.me { align-self: flex-end; background: #fff; color: #000; }
/* Dec 4: typing dots, then a cursor while the answer types out */
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 15px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .5; }
.msg.out::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: currentColor; opacity: .7; }
.msg.sys { align-self: center; max-width: 100%; padding: 2px 0; color: var(--muted); font-size: 14px; text-align: center; }
.rx-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; }
.rx-quick .chip { min-height: 44px; padding: 8px 14px; font: 400 15px/1.25 var(--body); letter-spacing: 0; text-transform: none; text-align: left; }
.rx-form { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--line); }
.rx-form .input { border: 0; background: transparent; min-height: 56px; font-size: 16px; }
.rx-form .btn { min-height: 56px; border-width: 0 0 0 1px; }
.rx-form .btn:disabled { opacity: .5; cursor: wait; }

/* ===== layout breakpoints ===== */
@media (max-width: 560px) {
  .orb { width: 60px; height: 60px; right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); }
  .orb canvas { left: -14px; top: -14px; width: 88px; height: 88px; }
  .orb-tip { display: none; }
  .rx { left: 0; right: 0; bottom: 0; width: 100%; height: min(86svh, 680px); border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); transform-origin: 50% 100%; }
  .msg { max-width: 92%; }
}

/* ===== v3 addendum: intro, horizon, scrubbed star, wordmark, glass + grain ===== */
html:not(.js) .intro-fx, html:not(.js) .intro-skip { display: none; }
.intro-fx { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; background: transparent; cursor: pointer; }
.intro-skip { position: fixed; z-index: 71; right: calc(20px + env(safe-area-inset-right)); top: calc(20px + env(safe-area-inset-top)); min-height: 44px; padding: 0 16px; background: rgba(0,0,0,.5); border: 1px solid var(--line-2); color: var(--muted); font: 500 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.intro-skip:hover { color: var(--ink); border-color: #fff; }

/* round 4: the black hole (.scrub) styles were removed with its section */

.wordmark { position: relative; height: clamp(110px, 20vw, 300px); margin-top: 8px; overflow: hidden; }
.wordmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* glass panels with a thin silver edge (no backdrop blur: it would repaint over the live starfield every frame) */
.plan, .panel { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border-color: rgba(220,228,242,.24); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 40px 70px -50px rgba(0,0,0,.95); }
.plan.mid { background: linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.02)); border-color: rgba(235,240,250,.5); }
.plan:hover { border-color: rgba(235,240,250,.55); }
.plan .price { background: linear-gradient(180deg, #fff 30%, #9EA4B0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* subtle grain over everything */
body::after { content: ""; position: fixed; inset: 0; z-index: 80; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.plan .price-note { margin: 16px 0 24px; color: var(--muted); font-size: 16px; max-width: 26ch; }
.legal { align-items: center; }

/* Astra (Nov 29): keep the hero meta line clear of the orb */
@media (min-width: 561px) { .hero-meta { padding-right: 96px; } }

/* ===== Process upgrade (Nov 29): a star path through the steps + a small looping picture per step (drawn by altair.js) ===== */
.steps { position: relative; }
.steps .n { margin-bottom: 22px; }
.spath { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; filter: drop-shadow(0 0 3px rgba(255,255,255,.6)); }
.spath path { fill: none; stroke: #fff; stroke-width: 1.2; }
.sstar, .shead { position: absolute; left: 0; top: 0; pointer-events: none; }
.sstar { width: 36px; height: 36px; margin: -18px 0 0 -18px; opacity: .2; background: radial-gradient(circle, #fff 0 1.6px, rgba(236,241,255,.55) 2.6px, rgba(200,215,255,0) 10px); }
.sstar::before, .sstar::after { content: ""; position: absolute; left: 50%; top: 50%; }
.sstar::before { width: 36px; height: 1px; margin: -.5px 0 0 -18px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); }
.sstar::after { width: 1px; height: 36px; margin: -18px 0 0 -.5px; background: linear-gradient(transparent, rgba(255,255,255,.95), transparent); }
.shead { width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, #fff 0 1.5px, rgba(255,255,255,.35) 3px, transparent 7px); }
.smini { width: 100%; max-width: 280px; aspect-ratio: 16 / 10; margin: 0 0 24px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.smini svg { display: block; width: 100%; height: 100%; }
.smini svg > * { fill: none; stroke: rgba(255,255,255,.5); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.smini .tick, .smini .tk { stroke: #fff; stroke-width: 1.6; }
.smini .pill { stroke: rgba(255,255,255,.35); }
.smini .base { stroke: rgba(255,255,255,.14); }
.smini .beat { stroke: #fff; stroke-width: 1.4; }
.smini text { fill: rgba(255,255,255,.8); stroke: none; font: 600 7px var(--disp); letter-spacing: .12em; }
@media (max-width: 560px) { .steps li, .steps li + li { padding-left: 32px; } .smini { max-width: none; } }

/* ===== round 5 (Nov 30) ===== */
.svc-more { margin-top: 18px; }
.nav a[aria-current="page"] { background-size: calc(100% - 28px) 1px; }
.menu-panel a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
/* calm pass: the AI agents panel is a short summary now (the full list lives on ai.html), so it packs tighter
   and Services stays one screen; Process pictures share one width so the four step titles line up */
.panel { min-height: 0; }
.panel p { margin: 10px 0 16px; }
.panel .svc-ul li { padding: 7px 0; font-size: 16px; line-height: 1.4; }
.panel .svc-ul small { font-size: 13px; }
.smini { max-width: 240px; }
@media (max-width: 560px) { .smini { max-width: none; } }
@media (min-width: 1001px) {
  #services { padding: 64px 0; }
  #services .head-row { margin-bottom: 36px; }
  .panel { padding: 28px 32px; }
  .panel .svc-ul li { padding: 6px 0; }
  .panel .svc-more { margin-top: 10px; }
}
/* phones: keep the hero's last lines and buttons clear of the orb; one hairline above Process, not two */
@media (max-width: 560px) {
  .hero-meta { padding-right: 72px; }
  .ai-hero { padding-bottom: 96px; }
  #how .steps { border-top: 0; }
  #how .head-row { margin-bottom: 24px; }
}

/* ===== round 5 UPDATE (Nov 30): agents star map, What we do ===== */
a.node { text-decoration: none; }
.node.on { color: var(--ink); }
.node.on .st { transform: scale(1.35); }
.node.on .st polygon { fill: #fff; }
.node:focus-visible { outline-offset: 2px; }

.wk-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px 24px; }
.wk h3 { margin-top: 22px; font: 600 24px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.wk > p { margin: 8px 0 0; color: var(--muted); font-size: 16px; max-width: 56ch; }
.wk-frame { height: clamp(320px, 28vw, 400px); overflow: hidden; border: 1px solid rgba(220,228,242,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 40px 70px -50px #000; transition: transform .3s, border-color .3s; }
.wk:hover .wk-frame { transform: translateY(-2px); border-color: rgba(235,240,250,.5); }
.wk-ads { grid-column: 1 / -1; --ease: cubic-bezier(.16,1,.3,1); }

/* website mock: a made-up taqueria, light and warm so it reads as a client's site, not ours */
.br { display: flex; flex-direction: column; background: #F6EFE6; }
.br-bar { display: flex; align-items: center; gap: 6px; height: 34px; flex: none; padding: 0 12px; background: #17181C; }
.br-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3C42; }
.br-bar span { margin-left: 10px; width: min(220px, 50%); height: 20px; padding: 0 10px; border-radius: 10px; background: #26282D; color: #A3A6AE; font: 500 11px/20px var(--body); }
.br-page { flex: 1; min-height: 0; display: grid; grid-template-rows: auto 1fr auto; color: #2A1A12; }
.br-nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; font-size: 12px; font-weight: 500; }
.br-nav b { margin-right: auto; font: 400 22px/1 "Bebas Neue", var(--disp); letter-spacing: .04em; }
.br em { padding: 6px 12px; border-radius: 999px; background: #D4461B; color: #fff; font: 600 12px/1 var(--body); font-style: normal; }
.br-hero { display: grid; align-content: end; justify-items: start; gap: 8px; margin: 0 12px; padding: 18px 20px; border-radius: 10px; color: #fff; background: linear-gradient(transparent 20%, rgba(0,0,0,.45)), radial-gradient(40% 50% at 30% 40%, #F2B33D 0, transparent 70%), radial-gradient(45% 45% at 74% 60%, #2F7D4A 0, transparent 70%), linear-gradient(140deg, #E0531F, #7A1F0C); }
.br-hero small { font: 600 10px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.br-hero p { margin: 0; font: 400 clamp(30px, 2.9vw, 44px)/.92 "Bebas Neue", var(--disp); letter-spacing: .01em; }
.br-hero div { display: flex; gap: 8px; }
.br-hero em { background: #fff; color: #2A1A12; }
.br-hero span { padding: 5px 12px; border: 1px solid rgba(255,255,255,.75); border-radius: 999px; font: 600 12px/1 var(--body); }
.br-menu { padding: 10px 18px 14px; font-size: 13px; }
.br-menu small { display: block; margin-bottom: 2px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; }
.br-menu div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid rgba(42,26,18,.12); }
.br-menu b { font-weight: 600; }

/* dashboard mock: static, sample numbers */
.db2 { display: grid; grid-template-rows: auto auto 1fr auto; gap: 14px; padding: 20px; background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)), #05060A; }
.db2-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.db2-top b { font: 600 18px/1 var(--disp); letter-spacing: .06em; text-transform: uppercase; }
.db2-top span { color: var(--faint); font: 500 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.db2-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.db2-stats div { padding: 10px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.025); }
.db2-stats small { display: block; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.db2-stats b { display: block; margin-top: 4px; font: 300 30px/1 var(--body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.db2-chart { display: flex; align-items: flex-end; gap: 8px; min-height: 0; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.db2-chart i { flex: 1; height: var(--h); background: rgba(255,255,255,.18); }
.db2-chart i.hi { background: #fff; }
.db2-feed div { display: grid; padding: 8px 0; border-top: 1px solid var(--line); }
.db2-feed b { font-size: 14px; font-weight: 500; line-height: 1.3; }
.db2-feed span { color: var(--muted); font-size: 13px; line-height: 1.3; }

/* phone ad reel (from moments.html example 6) */
.rl-stage { position: relative; height: min(540px, 62svh); perspective: 1800px; }
.rl-glow { position: absolute; left: 50%; top: 50%; width: 70%; height: 80%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(215,226,255,.14), rgba(215,226,255,0)); pointer-events: none; }
.rl-ph { position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 9 / 19.2; border-radius: 13% / 6.2%; background: linear-gradient(140deg, #B9BEC8, #4A4E57 22%, #16171B 50%, #545862 78%, #C8CCD4); box-shadow: 0 50px 90px -40px #000, 0 0 0 1px rgba(255,255,255,.08); transition: transform 1s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); cursor: pointer; }
.rl-ph.on { cursor: default; box-shadow: 0 60px 110px -40px #000, 0 0 90px -30px rgba(215,226,255,.45), 0 0 0 1px rgba(255,255,255,.14); }
.rl-ph:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.rl-scr { position: absolute; inset: 1.7% 3.6%; overflow: hidden; border-radius: 10.5% / 5%; background: var(--art); color: #fff; container-type: inline-size; }
.rl-scr::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.35), transparent 26%, transparent 55%, rgba(0,0,0,.65)); pointer-events: none; }
.rl-scr > * { position: absolute; z-index: 1; left: 7%; right: 7%; }
.rl-isl { left: 35%; right: 35%; top: 2.2%; height: 3.4%; background: #000; border-radius: 99px; z-index: 3; }
.rl-prog { top: 7.2%; height: 3px; background: rgba(255,255,255,.28); border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .4s; }
.rl-ph.on .rl-prog { opacity: 1; }
.rl-prog i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.rl-top { top: 10%; display: flex; align-items: center; gap: 2.4cqw; font-size: 4.6cqw; }
.rl-top i { width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--art); box-shadow: 0 0 0 .6cqw #fff; }
.rl-top b { font-weight: 600; } .rl-top span { opacity: .75; }
.rl-kick { top: 20%; margin: 0; font: 600 4.4cqw/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--ac); text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.rl-head { top: 25%; margin: 0; font: 400 15cqw/.92 "Bebas Neue", var(--disp); letter-spacing: .01em; text-shadow: 0 3px 24px rgba(0,0,0,.45); }
.rl-head span { display: inline-block; }
.rl-prod { top: 47%; left: 22%; right: 22%; aspect-ratio: 1; display: grid; place-items: center; }
.rl-prod svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
.rl-pole { width: 34%; height: 100%; border-radius: 99px; border: 1.4cqw solid #fff; background: repeating-linear-gradient(135deg, #C8102E 0 6cqw, #fff 6cqw 12cqw, #1E3A8A 12cqw 18cqw, #fff 18cqw 24cqw); background-size: 100% 34cqw; box-shadow: 0 10px 18px rgba(0,0,0,.45); }
.rl-sub { bottom: 19%; margin: 0; font-size: 5.4cqw; line-height: 1.3; }
.rl-sub small { display: block; font-size: 3.6cqw; opacity: .75; margin-top: 1cqw; letter-spacing: .1em; text-transform: uppercase; }
.rl-cta { bottom: 7%; display: grid; place-items: center; height: 12cqw; border-radius: 2cqw; background: #fff; color: #111; font: 600 4.8cqw/1 var(--body); letter-spacing: .04em; }
.rl-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 24px; }
.rl-bar .btn { min-height: 44px; min-width: 44px; padding: 0 16px; }
.rl-now { min-width: 15ch; margin: 0; text-align: center; font: 600 16px/1 var(--disp); letter-spacing: .14em; text-transform: uppercase; }

@media (max-width: 1000px) {
  .wk-grid { grid-template-columns: 1fr; gap: 48px; }
  .wk-frame { height: 340px; }
}
@media (max-width: 560px) {
  .wk-frame { height: 320px; }
  .br-nav span { display: none; }
  .br-nav { gap: 10px; padding: 10px 14px; }
  .rl-stage { height: min(500px, 66svh); }
  .rl-now { order: -1; width: 100%; }
}

/* footer motion switch (kept from v3) */
.motion-tog { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; color: var(--faint); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.motion-tog i { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }
.motion-tog[aria-pressed="true"] { color: var(--muted); }
.motion-tog[aria-pressed="true"] i { background: #fff; border-color: #fff; }
.motion-tog:hover { color: var(--ink); }

/* What we do: the reel's words sit under it, centred */
.wk-ads h3, .wk-ads > p { text-align: center; margin-inline: auto; }

/* the reel's side phones sit past the screen edge: clip them so phones never scroll sideways */
.work { overflow: hidden; }
@media (max-width: 560px) { .legal { padding-bottom: 92px; } }

/* ===== round 6 (Nov 30) ===== */
/* email: the address keeps its own case and can break on a phone */
.ct-act[href^="mailto"] b { font-weight: inherit; text-transform: none; letter-spacing: .01em; overflow-wrap: anywhere; }
.foot-links a.foot-mail { text-transform: none; letter-spacing: .04em; font-size: 14px; }

/* ad phones: a real clip fills the screen, our overlay sits on top (Reels/TikTok style) */
.rl-scr > .rl-vid { left: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .4s; background: #000; }
.rl-ph.vid .rl-vid { opacity: 1; }
.rl-ph.vid .rl-kick, .rl-ph.vid .rl-prod, .rl-ph.vid .rl-subt { display: none; }
.rl-ph.vid .rl-head { top: auto; bottom: 30%; font-size: 11cqw; }
.rl-ph.vid .rl-sub { bottom: 21%; }
.rl-ph.vid .rl-sub small { margin-top: 0; }

/* demo.html (round 7, Nov 30): sharper. One 12-column grid (5 + 7), the copy column sticks on desktop, the form in four
   numbered groups, 1px fields with a 2px focus ring, chips with a real selected mark, one confident send button. */
.demo { min-height: auto; align-content: start; padding-top: clamp(120px, 16vh, 168px); border-top: 0; }
.demo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.demo-copy { position: sticky; top: 120px; }
.demo h1 { font: 600 clamp(52px, 6.8vw, 108px)/.9 var(--disp); text-transform: uppercase; letter-spacing: -.005em; }
.demo .lede { color: #D0D2D8; max-width: 36ch; margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); }
.next-box { margin-top: clamp(40px, 7vh, 72px); }
.next-h { margin: 0 0 18px; font: 500 13px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.next { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line-2); }
.next li { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 20px; padding: 0 0 26px; counter-increment: n; }
.next li:last-child { padding-bottom: 0; }
.next li::before { content: counter(n); grid-row: 1 / 3; display: grid; place-items: center; width: 32px; height: 32px; background: #000; border: 1px solid var(--line-2); font: 500 13px/1 var(--body); color: var(--ink); font-variant-numeric: tabular-nums; }
.next li:first-child::before { background: #fff; color: #000; border-color: #fff; }
.next b { align-self: center; font: 600 21px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.next p { grid-column: 2; margin: 6px 0 0; color: var(--muted); font-size: 16px; max-width: 40ch; }

.dform { position: relative; display: grid; border: 1px solid var(--line-2); background: #07080B; }
.dgroup { display: grid; gap: 22px; padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.dg-h { display: flex; align-items: baseline; gap: 14px; margin: 0; font: 600 22px/1 var(--disp); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); }
.dg-h span { font: 500 12px/1 var(--body); letter-spacing: .18em; color: var(--faint); font-variant-numeric: tabular-nums; }
.dg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.dform .field { gap: 10px; }
.dform .field > span:not(.err), .dform .field > legend { font: 500 12px/1.2 var(--body); letter-spacing: .2em; color: #B4B7BE; margin-bottom: 0; }
.dform .input { min-height: 56px; padding: 0 16px; background: #000; border: 1px solid rgba(255,255,255,.24); font-size: 18px; transition: border-color .15s, box-shadow .15s, background-color .15s; }
.dform .input:hover { border-color: rgba(255,255,255,.5); }
.dform .input:focus, .dform .input:focus-visible { outline: none; border-color: #fff; box-shadow: 0 0 0 1px #fff; background: #0B0C10; }
.dform textarea.input { min-height: 112px; padding: 15px 16px; resize: vertical; font-size: 17px; line-height: 1.5; }
.dform .opt { color: var(--faint); letter-spacing: .08em; text-transform: none; font-weight: 400; }
/* chips: the hidden input covers the whole chip (a full 44px target); checked = white chip plus a mark, not only a colour */
.dform .chips { gap: 8px; }
.dform .chip { position: relative; min-height: 48px; padding: 0 18px 0 14px; gap: 12px; border-color: rgba(255,255,255,.24); background: #000; font-size: 13px; letter-spacing: .14em; }
.dform .chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dform .chip::before { content: ""; flex: none; width: 14px; height: 14px; border: 1px solid rgba(255,255,255,.5); background: transparent center / 10px no-repeat; transition: background-color .15s, border-color .15s; }
.dform .chip:has(input[type="radio"])::before { border-radius: 50%; }
.dform .chip:hover { border-color: #fff; }
.dform .chip:has(input:checked) { background: #fff; color: #000; border-color: #fff; }
.dform .chip:has(input[type="checkbox"]:checked)::before { background-color: #000; border-color: #000; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.dform .chip:has(input[type="radio"]:checked)::before { border-color: #000; background: #000; box-shadow: inset 0 0 0 3px #fff; }
.dform .chip:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
/* reach-by: one joined segmented control */
.dform .chips.seg { gap: 0; flex-wrap: nowrap; }
.dform .seg .chip { flex: 1; justify-content: center; padding: 0 10px; }
.dform .seg .chip + .chip { margin-left: -1px; }
.dform .seg .chip:has(input:checked) { position: relative; z-index: 1; }
.dform .err { display: flex; align-items: center; gap: 8px; margin-top: -2px; font-size: 15px; line-height: 1.3; }
.dform fieldset.field > legend { margin-bottom: 10px; }
.dform .err::before { content: ""; flex: none; width: 6px; height: 6px; background: #FF9B8A; transform: rotate(45deg); }
.dform .err:empty { display: none; }
.dform .input[aria-invalid="true"] { border-color: #FF9B8A; box-shadow: 0 0 0 1px #FF9B8A; }
.dform fieldset[aria-invalid="true"] .chip { border-color: #FF9B8A; }
.dsend { display: grid; gap: 14px; padding: clamp(24px, 3vw, 40px); }
.dform .btn { width: 100%; min-height: 64px; font-size: 15px; letter-spacing: .2em; gap: 16px; }
.dform .btn:disabled { opacity: .6; cursor: progress; }
.dform .fine { margin: 0; color: var(--muted); font-size: 15px; }
.demo-end { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(56px, 9vh, 104px); }
@media (max-width: 1000px) { .demo-grid { grid-template-columns: 1fr; } .demo-copy { position: static; } }
@media (max-width: 560px) {
  .dgroup, .dsend { padding: 22px 16px; }
  .dg-row { grid-template-columns: 1fr; }
  .dform .chip { padding: 0 14px 0 12px; letter-spacing: .1em; }
}

/* What we do, round 8 (Nov 30): the rotating sample sites. Slides stack in one cell; altair.js fades/slides between them. */
.br-stage { position: relative; flex: 1; min-height: 0; display: grid; overflow: hidden; background: #0B0C10; }
.br-slide { position: relative; grid-area: 1 / 1; min-width: 0; min-height: 0; overflow: hidden; visibility: hidden; container-type: inline-size; }
.br-slide.on, .br-slide.out { visibility: visible; }
.br-slide.on { z-index: 1; }
.no-js .br-slide:first-child, html:not(.js) .br-slide:first-child { visibility: visible; }
.site-dots { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; margin-top: 10px; }
.site-dot { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 0; border: 0; background: none; color: var(--faint); font: 500 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .25s; }
.site-dot i { position: relative; width: 22px; height: 2px; background: var(--line-2); overflow: hidden; }
.site-dot i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.site-dot span { display: none; }
.site-dot[aria-pressed="true"] { color: var(--ink); }
.site-dot[aria-pressed="true"] span { display: inline; }
.site-dot[aria-pressed="true"] i::after { transform: scaleX(1); }
.site-dot:hover { color: var(--ink); }
.site-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-tag { margin-left: auto; color: var(--faint); font: 500 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }

@media (min-width: 1001px) and (max-width: 1280px) { .nav a { padding: 0 9px; letter-spacing: .12em; } .nav { gap: 0; } }
.wk-link { color: inherit; text-decoration: none; background: linear-gradient(#fff,#fff) no-repeat 0 100% / 0 1px; transition: background-size .3s; }
.wk-link:hover { background-size: 100% 1px; }
.wk-more { margin-top: 10px; }
.wk-ads .wk-more { display: flex; justify-content: center; width: max-content; margin-inline: auto; }

/* ads.html (round 8): the phone arc, then what you get + platforms */
.ads-show { overflow: hidden; }
.ads-reel .rl-stage.rl-arc { height: min(620px, 70svh); perspective: 1400px; perspective-origin: 50% 40%; }
.rl-arc .rl-glow { width: 110%; height: 90%; background: radial-gradient(closest-side, rgba(215,226,255,.16), rgba(215,226,255,0)); }
.rl-floor { position: absolute; left: 50%; bottom: -6%; width: 120%; height: 30%; transform: translateX(-50%); background: radial-gradient(50% 50% at 50% 0, rgba(215,226,255,.14), transparent 70%); pointer-events: none; }
.ads-get { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.ads-get li { padding: 26px 24px 0 0; }
.ads-get li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.ads-get b { display: block; font: 600 24px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.ads-get p { margin: 10px 0 0; color: var(--muted); font-size: 16px; max-width: 28ch; }
.ads-plat { margin-top: clamp(56px, 10vh, 112px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.ads-plat ul { display: flex; flex-wrap: wrap; gap: 0 clamp(28px, 5vw, 80px); margin: 14px 0 18px; padding: 0; list-style: none; }
.ads-plat li { font: 600 clamp(56px, 9vw, 140px)/.95 var(--disp); letter-spacing: -.005em; text-transform: uppercase; }
@media (max-width: 1000px) {
  .ads-get { grid-template-columns: 1fr 1fr; }
  .ads-get li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ads-get li:nth-child(n+3) { margin-top: 26px; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .ads-reel .rl-stage.rl-arc { height: min(520px, 64svh); }
  .ads-get { grid-template-columns: 1fr; }
  .ads-get li, .ads-get li + li { padding: 20px 0 0; border-left: 0; }
  .ads-get li + li { margin-top: 20px; border-top: 1px solid var(--line); }
}

/* demo questionnaire (round 8, Nov 30): one step per screen, a thin progress line, back/next. Without JS every step shows. */
.dq-top, .dq-nav .btn-ghost { display: none; }
.dq.stepped .dq-top { display: grid; gap: 12px; padding: clamp(20px, 2.4vw, 28px) clamp(24px, 3vw, 40px) 0; }
.dq-count { margin: 0; font: 500 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); font-variant-numeric: tabular-nums; }
.dq-bar { height: 2px; background: var(--line); overflow: hidden; }
.dq-bar i { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(.16); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.dq-view { overflow: hidden; }
.dstep { display: grid; gap: 24px; align-content: start; padding: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.dq.stepped .dstep { display: none; border-bottom: 0; min-height: 440px; }
.dq.stepped .dstep.on { display: grid; }
.dq-h { margin: 0; font: 600 clamp(28px, 2.8vw, 40px)/1 var(--disp); letter-spacing: .02em; text-transform: uppercase; }
.dq-h:focus { outline: none; }
.dq.stepped .dq-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.dq.stepped .dq-nav .btn-ghost:not([hidden]) { display: inline-flex; }
.dq-nav .btn[hidden] { display: none !important; }
.dq.stepped .dq-nav .btn-main:only-child, .dq.stepped .dq-nav .btn-ghost[hidden] + .btn-main { grid-column: 1 / -1; }
.dform .dq-nav .btn-ghost { width: auto; padding: 0 28px; }
.dsend { border-top: 1px solid var(--line); }
/* step 1: six big kind cards */
.kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kind { position: relative; display: grid; gap: 6px; align-content: start; min-height: 96px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.24); background: #000; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s, transform .2s; }
.kind input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.kind b { font: 600 20px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.kind small { color: var(--muted); font-size: 15px; line-height: 1.3; }
.kind::after { content: ""; position: absolute; right: 16px; top: 18px; width: 14px; height: 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; }
.kind:hover { border-color: #fff; transform: translateY(-2px); }
.kind:has(input:checked) { background: #fff; color: #000; border-color: #fff; }
.kind:has(input:checked) small { color: #3A3D44; }
.kind:has(input:checked)::after { border-color: #000; background: #000; box-shadow: inset 0 0 0 3px #fff; }
.kind:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
fieldset[aria-invalid="true"] .kind { border-color: #FF9B8A; }
/* review */
.dq-sum { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.dq-g { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 20px; padding: 14px 0 12px; border-bottom: 1px solid var(--line); }
.dq-gh { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.dq-gh h3 { font: 600 17px/1.1 var(--disp); letter-spacing: .08em; text-transform: uppercase; }
.dq-gh .tlink { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.dq-g dt { color: var(--faint); font-size: 15px; padding: 3px 0; }
.dq-g dd { margin: 0; font-size: 16px; padding: 3px 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .dq.stepped .dq-top { padding: 18px 16px 0; }
  .dstep { padding: 22px 16px; gap: 20px; }
  .dq.stepped .dstep { min-height: 0; }
  .kinds { grid-template-columns: 1fr; }
  .kind { min-height: 76px; padding: 14px 16px; }
  .dq-g { grid-template-columns: 1fr; }
  .dq-g dt { padding-bottom: 0; } .dq-g dd { padding-top: 0; padding-bottom: 6px; }
  .dform .chips.seg { flex-wrap: wrap; }
  .dq.stepped .dq-nav { grid-template-columns: auto minmax(0, 1fr); }
  .dform .dq-nav .btn { white-space: normal; text-align: center; letter-spacing: .12em; padding: 0 16px; line-height: 1.2; }
}

/* ---------- go-live prep (Nov 30) ---------- */
/* quiet "Coming soon" tag on agents that are not set up yet (star map panel, mobile list, ai.html cards) */
.soon { display: inline-block; margin-left: 10px; padding: 4px 7px; border: 1px solid var(--line-2); color: var(--faint); font: 500 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.agent h3 .soon { margin-left: 6px; position: relative; top: -2px; }
/* orb Quick answers: free demo / call / text under the questions */
.rx-acts { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.rx-acts .btn { min-height: 48px; padding: 0 16px; justify-content: center; }
/* demo form: honeypot (off screen, never shown) and the sent state */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent { padding: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 40px); border: 1px solid var(--line-2); background: #07080B; }
.sent:focus { outline: none; }
.sent-mark { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; background: #fff; color: #000; }
.sent-mark svg { width: 22px; height: 22px; }
.sent h2 { margin: 0; font: 600 clamp(36px, 4vw, 56px)/1 var(--disp); text-transform: uppercase; letter-spacing: .02em; }
.sent p { margin: 14px 0 0; color: #D0D2D8; font-size: 18px; }
.dform .fine a { color: var(--ink); text-underline-offset: 3px; }
.rx { grid-template-rows: auto minmax(0, 1fr) auto auto auto; }
/* privacy.html */
.pv { max-width: 760px; }
.pv h1 { font: 600 clamp(48px, 6.6vw, 100px)/.92 var(--disp); text-transform: uppercase; }
.pv h2 { margin: 44px 0 0; font: 600 22px/1.2 var(--disp); letter-spacing: .06em; text-transform: uppercase; }
.pv p { margin: 10px 0 0; color: #D0D2D8; max-width: 62ch; }
.pv a:not(.btn) { color: var(--ink); text-underline-offset: 3px; }
.pv .pv-date { margin-top: 44px; color: var(--faint); font-size: 15px; }
.privacy { padding-bottom: clamp(56px, 9vh, 104px); }
.svc-list summary:has(.soon) { grid-template-columns: auto 1fr auto auto; }
.svc-list summary .soon { margin-left: 0; }

/* About (round 7, Nov 30): copy and three promises on the left, Altair drawn in code on the right (altair.js) */
.about { overflow: hidden; }
.ab-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 112px); align-items: center; }
.ab-copy h2 { font: 600 clamp(48px, 6.4vw, 104px)/.9 var(--disp); letter-spacing: -.005em; text-transform: uppercase; max-width: 9ch; }
.ab-lede { margin: 28px 0 0; max-width: 40ch; color: #D0D2D8; font: 300 clamp(20px, 1.8vw, 26px)/1.4 var(--body); letter-spacing: -.01em; }
.ab-sub { margin: clamp(40px, 6vh, 64px) 0 0; padding-bottom: 16px; font: 500 13px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.ab-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ab-list li { display: grid; grid-template-columns: 18px 1fr; column-gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ab-list svg { width: 14px; height: 14px; margin-top: 4px; fill: #fff; }
.ab-list b { display: block; font: 600 22px/1.15 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.ab-list p { margin: 6px 0 0; color: var(--muted); font-size: 16px; max-width: 46ch; }
.ab-star { margin: 0; }
/* round 8: no box. A feathered round mask melts the star's sky and glow into the page sky at every width. */
.ab-frame { position: relative; aspect-ratio: 1; overflow: hidden; margin: -8%; -webkit-mask-image: radial-gradient(closest-side, #000 42%, rgba(0,0,0,.6) 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 42%, rgba(0,0,0,.6) 66%, transparent 100%); pointer-events: none; }
.ab-star figcaption { position: relative; text-align: center; }
.ab-frame canvas { position: absolute; left: 0; top: -4%; width: 100%; height: 108%; display: block; will-change: transform; }
.ab-star figcaption { margin-top: 14px; color: var(--faint); font: 500 12px/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 1000px) {
  .ab-grid { grid-template-columns: 1fr; }
  .ab-star { max-width: 560px; }
}

/* ads.html FAQ (Nov 30) */
.ads-faq { border-top: 1px solid var(--line-2); }
.ads-faq details { border-bottom: 1px solid var(--line); }
.ads-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font: 600 clamp(20px, 2vw, 26px)/1.2 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.ads-faq summary::-webkit-details-marker { display: none; }
.ads-faq summary::after { content: "+"; font: 300 28px/1 var(--body); color: var(--muted); }
.ads-faq details[open] summary::after { content: "\2212"; }
.ads-faq summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.ads-faq p { margin: 0 0 22px; color: var(--muted); font-size: 17px; max-width: 62ch; }
/* ---------- demo extras (Nov 30) ---------- */
/* "Other" text box under its pick, and the quiet hint under the sales chips */
.dform .dq-hint { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
/* walkthrough: the line + small button (demo.html top, hero of index/ai/ads), the quiet link under the demo form, the dialog */
.walk { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 22px; }
.walk p { margin: 0; color: var(--muted); font-size: 16px; max-width: 40ch; }
.btn-walk { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); color: var(--ink); font: 500 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-walk:hover { background: #fff; color: #000; border-color: #fff; }
.btn-walk:active { transform: scale(.98); }
.walk-q { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--muted); font-size: 15px; text-underline-offset: 4px; text-decoration-color: var(--line-2); transition: color .2s, text-decoration-color .2s; }
.walk-q:hover { color: var(--ink); text-decoration-color: #fff; }
.wt { width: min(480px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 1px solid var(--line-2); background: #07080B; color: var(--ink); overflow: auto; }
.wt::backdrop { background: rgba(0,0,0,.72); }
.wt-head { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 10px 0 24px; }
.wt-head h2 { align-self: center; margin: 0; font: 600 28px/1 var(--disp); letter-spacing: .02em; text-transform: uppercase; }
.wt-head p { grid-column: 1 / -1; margin: 0; padding-right: 14px; color: var(--muted); font-size: 16px; }
.wt .dform { gap: 20px; padding: 22px 24px 24px; border: 0; background: none; }
.wt .dform .btn { min-height: 56px; }
.wt .sent { border: 0; padding: 28px 24px 32px; }
/* Dec 4: the new-client offer popup's two checkboxes and fine print */
.wt-checks { display: grid; gap: 12px; }
.wt-check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink); cursor: pointer; }
.wt-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #fff; cursor: pointer; }
.wt-check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wt-checks .err:empty { display: none; }
.wt-offer .fine { margin: -6px 0 0; font-size: 13px; }
@media (max-width: 560px) {
  .wt { width: 100%; max-width: 100%; max-height: 92svh; margin: auto 0 0; border-width: 1px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .wt-head { padding-left: 16px; } .wt .dform { padding: 20px 16px 20px; } .wt .sent { padding: 24px 16px 28px; }
}

/* Dec 4 (Ralph: "make it look better and add something"): the offer as a split card. Visual side (stars, the Altair star, a Sample site + owner dashboard mock)
   + the form side with what you get and the 3 steps. Everything is scoped to .wt-offer so the walkthrough dialog stays as it was. */
.wt.wt-offer { width: min(880px, calc(100vw - 32px)); overflow-x: hidden; box-shadow: 0 40px 120px -30px rgba(0,0,0,.95), 0 0 90px -30px rgba(var(--star-rgb), .28); }
.wt-offer .of-grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); min-height: 100%; }
.wt-offer .of-vis { position: relative; overflow: hidden; display: grid; place-items: center; padding: 48px 26px; border-right: 1px solid var(--line); background: radial-gradient(90% 55% at 78% 10%, rgba(var(--star-rgb), .2), transparent 62%), radial-gradient(80% 50% at 0% 100%, rgba(120,150,210,.14), transparent 70%), #030406; }
.wt-offer .of-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.wt-offer .of-sky .tw { transform-box: fill-box; }
.wt-offer .of-star { position: absolute; right: 44px; top: 40px; width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 0 10px rgba(var(--star-rgb), .95)) drop-shadow(0 0 26px rgba(var(--star-rgb), .55)); }
.wt-offer .of-star svg { display: block; width: 100%; height: 100%; }
.wt-offer .of-mock { position: relative; width: 100%; max-width: 300px; }
.wt-offer .of-site, .wt-offer .of-dash { background: #0B0D12; border: 1px solid var(--line-2); box-shadow: 0 28px 60px -24px rgba(0,0,0,.95); }
.wt-offer .of-bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-bottom: 1px solid var(--line); }
.wt-offer .of-bar i { width: 6px; height: 6px; background: rgba(255,255,255,.28); }
.wt-offer .of-bar span, .wt-offer .of-dh span { margin-left: auto; padding: 3px 6px; border: 1px solid var(--line-2); color: var(--muted); font: 500 9px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.wt-offer .of-nav { display: flex; align-items: center; gap: 8px; padding: 0 0 14px; } .wt-offer .of-nav b { margin-right: auto; font: 600 11px/1 var(--disp); letter-spacing: .14em; } .wt-offer .of-nav i { width: 18px; height: 3px; background: rgba(255,255,255,.5); }
.wt-offer .of-hero { display: grid; justify-items: start; gap: 8px; padding: 14px 16px 22px; background: linear-gradient(165deg, rgba(7,8,11,.2), rgba(7,8,11,.85)), linear-gradient(200deg, #3B4766 0%, #6A5048 55%, #C08A5A 100%); }
.wt-offer .of-hero > b { font: 600 26px/.95 var(--disp); letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.wt-offer .of-hero em { display: block; width: 78%; height: 5px; background: rgba(255,255,255,.55); }
.wt-offer .of-hero em.s { width: 52%; background: rgba(255,255,255,.35); }
.wt-offer .of-hero span { margin-top: 6px; padding: 6px 9px; background: #fff; color: #000; font: 600 9px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.wt-offer .of-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 9px; }
.wt-offer .of-cols i { height: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.wt-offer .of-dash { position: relative; width: 78%; margin: -40px -6px 0 auto; padding: 12px 13px 14px; display: grid; gap: 9px; }
.wt-offer .of-dh { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.wt-offer .of-dh b { font: 600 12px/1 var(--disp); letter-spacing: .12em; text-transform: uppercase; }
.wt-offer .of-dash p { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 8px; margin: 0; color: var(--muted); font: 500 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.wt-offer .of-cht { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); }
.wt-offer .of-cht u { flex: 1; height: calc(var(--h) * 100%); background: rgba(255,255,255,.16); transform-origin: bottom center; }
.wt-offer .of-cht u:last-child { background: rgba(var(--star-rgb), .85); box-shadow: 0 0 14px rgba(var(--star-rgb), .5); }
.wt-offer .of-dash i { display: block; height: 6px; background: linear-gradient(90deg, rgba(255,255,255,.95), rgba(var(--star-rgb), .8)); transform-origin: left center; width: calc(var(--w) * 100%); box-shadow: 0 0 12px rgba(var(--star-rgb), .35); }
.wt-offer .of-main { display: flex; flex-direction: column; min-width: 0; }
.wt-offer .wt-head { padding: 22px 12px 0 36px; gap: 14px 12px; }
.wt-offer .wt-head h2 { align-self: start; padding-top: 14px; font: 600 clamp(44px, 5.4vw, 64px)/.88 var(--disp); letter-spacing: .005em; }
.wt-offer .of-eye { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font: 500 12px/1 var(--body); letter-spacing: .26em; }
.wt-offer .of-eye svg { width: 12px; height: 12px; color: #fff; filter: drop-shadow(0 0 6px rgba(var(--star-rgb), .9)); }
.wt-offer .wt-head p { padding-right: 24px; max-width: 44ch; }
.wt-offer .of-body { display: grid; gap: 22px; padding: 24px 36px 0; }
.wt-offer .of-get { padding: 18px 0; border-block: 1px solid var(--line); }
.wt-offer .of-get h3, .wt-offer .of-steps::before { margin: 0 0 12px; color: #B4B7BE; font: 500 12px/1.2 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.wt-offer .of-get ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.wt-offer .of-get li { display: flex; align-items: center; gap: 14px; font: 600 19px/1.15 var(--disp); letter-spacing: .03em; text-transform: uppercase; }
.wt-offer .of-get li svg { flex: none; width: 20px; height: 20px; color: rgb(var(--star-rgb)); }
.wt-offer .of-get p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.wt-offer .of-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.wt-offer .of-steps::before { content: "How it works"; grid-column: 1 / -1; margin: 0; }
.wt-offer .of-steps::after { content: ""; position: absolute; left: 14px; right: 14px; top: 42px; height: 1px; background: var(--line); } /* the line the numbers sit on */
.wt-offer .of-steps li { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; color: var(--muted); font-size: 14px; line-height: 1.3; }
.wt-offer .of-num { display: grid; place-items: center; width: 28px; height: 28px; background: #07080B; border: 1px solid var(--line-2); color: var(--ink); font: 500 13px/1 var(--body); font-variant-numeric: tabular-nums; }
.wt-offer .of-steps li.done { color: var(--ink); }
.wt-offer .of-steps li.done .of-num { background: #fff; border-color: #fff; color: #000; }
.wt-offer .of-num svg { width: 14px; height: 14px; }
.wt-offer .of-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wt-offer .dform { gap: 16px; padding: 0 0 30px; }
.wt-offer .dform .btn { min-height: 60px; }
.wt-offer .fine { margin: -4px 0 0; font-size: 13px; }
.wt-offer .sent { display: grid; gap: 14px; align-content: start; padding: 30px 36px 40px; }
.wt-offer .sent h2 { margin: 0; font: 600 clamp(48px, 5vw, 64px)/.9 var(--disp); letter-spacing: .01em; text-transform: uppercase; }
.wt-offer .sent > p { margin: 0 0 14px; color: var(--muted); font-size: 17px; }
.wt-offer .sent-mark { width: 76px; height: 76px; margin: 0 0 10px; box-shadow: 0 0 60px -10px rgba(var(--star-rgb), .7); }
.wt-offer .sent-mark svg { width: 38px; height: 38px; }
.wt-offer .sent-mark path { stroke-dasharray: 1; }
.wt-offer .sent .of-steps { padding-top: 22px; border-top: 1px solid var(--line); }
.wt-offer .sent .of-steps::after { top: 64px; }
/* the "1 month free" pill after they close without sending (this visit only). Bottom-left, clear of the chat orb; no room on phones (the action bar), so desktop only */
.of-pill { position: fixed; z-index: 34; left: calc(20px + env(safe-area-inset-left)); bottom: calc(20px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; background: rgba(7,8,11,.86); border: 1px solid var(--line-2); color: var(--ink); font: 500 13px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; box-shadow: 0 16px 40px -16px rgba(0,0,0,.9), 0 0 36px -14px rgba(var(--star-rgb), .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.of-pill svg { width: 13px; height: 13px; filter: drop-shadow(0 0 6px rgba(var(--star-rgb), .9)); }
.of-pill:hover { background: #fff; color: #000; border-color: #fff; }
.of-pill:active { transform: scale(.97); }
.of-pill:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.of-pill[hidden] { display: none; }
@media (max-width: 760px) { .wt-offer .of-grid { grid-template-columns: minmax(0, 1fr); } .wt-offer .of-vis { height: 150px; padding: 0; border-right: 0; border-bottom: 1px solid var(--line); } .wt-offer .of-mock { display: none; } }
@media (max-width: 600px) { .of-pill { display: none; } }
/* shorter laptop screens: tighter so the button stays in view */
@media (min-width: 761px) and (max-height: 860px) {
  .wt-offer .wt-head { padding-top: 14px; } .wt-offer .wt-head h2 { font-size: 52px; } .wt-offer .of-eye { margin-bottom: 10px; }
  .wt-offer .of-body { gap: 16px; padding-top: 16px; } .wt-offer .of-get { padding: 14px 0; } .wt-offer .of-get h3 { margin-bottom: 10px; } .wt-offer .of-get ul { gap: 8px; } .wt-offer .of-get p { margin-top: 8px; }
  .wt-offer .dform { gap: 12px; padding-bottom: 22px; } .wt-offer .dform .btn { min-height: 56px; }
}
@media (min-width: 761px) and (max-height: 780px) { .wt-offer .of-steps::before, .wt-offer .of-get h3 { display: none; } .wt-offer .of-steps::after { top: 14px; } .wt-offer .sent .of-steps::after { top: 36px; } .wt-offer .wt-head p { font-size: 15px; } }
@media (max-width: 560px) {
  .wt.wt-offer { width: 100%; }
  .wt-offer .of-vis { height: 88px; place-items: start center; padding-top: 12px; }
  .wt-offer .of-mock { display: block; max-width: 250px; margin-right: 44px; transform: scale(.82); transform-origin: top center; }
  .wt-offer .of-star { right: 22px; top: 22px; width: 26px; height: 26px; }
  .wt-offer .wt-head { padding: 6px 4px 0 16px; gap: 10px 8px; }
  .wt-offer .wt-head h2 { padding-top: 12px; font-size: 40px; }
  .wt-offer .of-eye { margin-bottom: 10px; font-size: 11px; }
  .wt-offer .wt-head p { padding-right: 12px; font-size: 15px; }
  .wt-offer .of-body { gap: 16px; padding: 16px 16px 0; }
  .wt-offer .of-get { padding: 14px 0; }
  .wt-offer .of-get h3 { display: none; }
  .wt-offer .of-get ul { gap: 8px; }
  .wt-offer .of-get li { font-size: 16px; gap: 12px; }
  .wt-offer .of-get p { margin-top: 8px; font-size: 14px; }
  .wt-offer .of-steps { gap: 10px; }
  .wt-offer .of-steps::before { display: none; }
  .wt-offer .of-steps::after { top: 14px; }
  .wt-offer .of-steps li { gap: 8px; font-size: 13px; }
  .wt-offer .dform { gap: 14px; padding: 0 0 18px; }
  .wt-offer .sent { padding: 22px 16px 28px; }
  .wt-offer .sent .of-steps::after { top: 36px; }
}

/* ===================== PHONE VERSION (Nov 30, Astra brief "now make a phone version") =====================
   Everything below is phone only (max-width 600px) or hidden above it, so desktop is unchanged.
   altair.js adds the bottom action bar (.pbar), the menu sheet actions (.menu-acts) and the swipe dots (.snap-dots). */
.pbar, .menu-acts, .snap-dots { display: none; }
@media (max-width: 600px) {
  :root { --pbh: calc(64px + env(safe-area-inset-bottom)); }
  :root.kb, :root.menu-open, :root:has(.dstep[data-step="review"].on) { --pbh: 0px; }
  body { padding-bottom: var(--pbh); font-size: 17px; }

  /* 1. bottom action bar: Free demo · Call · Text, the orb rides on its right end so it never sits on the page */
  .pbar { position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.35fr 1fr 1fr 56px; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.86); border-top: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  .pbar.two { grid-template-columns: 1fr 1fr 56px; }
  .pbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 6px; border: 1px solid var(--line-2); color: var(--ink); font: 500 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; -webkit-tap-highlight-color: transparent; transition: transform .15s, background-color .2s; }
  .pbar a.main { background: #fff; color: #000; border-color: #fff; }
  .pbar a:active { transform: scale(.97); }
  .pbar svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  :root.kb .pbar, :root.menu-open .pbar, :root:has(.dstep[data-step="review"].on) .pbar { display: none; }
  .orb { width: 48px; height: 48px; right: calc(12px + env(safe-area-inset-right)); bottom: calc(8px + env(safe-area-inset-bottom)); }
  .orb canvas { left: -12px; top: -12px; width: 72px; height: 72px; }
  :root.kb .orb, :root.menu-open .orb, :root:has(.dstep[data-step="review"].on) .orb { opacity: 0; visibility: hidden; pointer-events: none; }
  .legal { padding-bottom: 24px; }
  .bar > .btn { display: none; } /* the bottom bar carries Free demo on phones */

  /* 6. menu: a full-screen sheet, 56px rows, Call / Text / Free demo at the bottom */
  .bar { position: relative; z-index: 2; }
  .top.open .menu-panel { position: fixed; z-index: 1; inset: 0; display: flex; flex-direction: column; max-width: none; margin: 0; padding: calc(96px + env(safe-area-inset-top)) var(--pad) calc(16px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.97); border: 0; overflow-y: auto; overscroll-behavior: contain; }
  .top.open .menu-panel > a { min-height: 56px; padding: 0 4px; font: 600 22px/1 var(--disp); letter-spacing: .08em; border-bottom: 1px solid var(--line); }
  .top.open .menu-panel > a:last-of-type { border-bottom: 1px solid var(--line); }
  .top.open .menu-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 24px; }
  .menu-acts .btn { min-height: 56px; padding: 0 12px; }
  .menu-acts .btn-main { grid-column: 1 / -1; }

  /* 2. hero: a bigger headline, the galaxy open, the buttons low in thumb reach and clear of the bar */
  .hero { min-height: 100svh; padding-bottom: calc(var(--pbh) + 20px); }
  .hero::before { background: linear-gradient(transparent 30%, rgba(0,0,0,.55) 62%, #000); }
  .hero .wrap { display: flex; flex-direction: column; }
  .hero h1 { font-size: clamp(60px, 19vw, 96px); line-height: .86; max-width: none; }
  .hero .lede { margin-top: 16px; font-size: 17px; }
  .hero .hero-meta { order: -1; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 16px; padding: 0 0 12px; border-top: 0; border-bottom: 1px solid var(--line-2); }
  .hero .hero-meta .label { font-size: 12px; letter-spacing: .18em; }
  .hero .btn-row { margin-top: 22px; gap: 10px; }
  .hero .walk { margin-top: 14px; gap: 8px 14px; }
  .hero .walk p { font-size: 15px; }

  /* 5. tighter stacks: sections size to what they hold (about 30% shorter), nothing removed */
  section { min-height: 0; padding: 64px 0; grid-template-columns: minmax(0, 1fr); }
  .head-row { padding-bottom: 18px; margin-bottom: 28px; }
  .facts { margin-top: 32px; }
  .facts div + div { margin-top: 16px; }
  .facts div { padding-top: 16px; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; align-items: start; padding: 22px 0 22px 32px; }
  .steps .n { grid-column: 1; grid-row: 1; font-size: 44px; margin: 0 0 10px; }
  .steps .smini { grid-column: 1; grid-row: 2 / span 2; margin: 0; max-width: none; }
  .steps h3 { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 4px; font-size: 21px; }
  .steps p { grid-column: 2; grid-row: 2; margin-top: 6px; }
  .ab-grid { gap: 24px; }
  .ab-sub { margin-top: 32px; }
  .ab-list li { padding: 16px 0; }
  .ab-star { max-width: 320px; margin: 0 auto; width: 100%; }
  .contact { min-height: 0; padding-top: 64px; }
  .contact h2 { font-size: clamp(52px, 15vw, 72px); }
  .ct-act { min-height: 76px; padding: 14px 16px; }
  .foot { margin-top: 48px; }
  .wordmark { height: 96px; }
  .wk-grid { gap: 40px; }
  .work .wk h3 { margin-top: 16px; }

  /* swipe rows: scroll-snap, the next card peeking, dots under */
  .snap-dots { display: flex; justify-content: center; gap: 0; margin-top: 10px; }
  .snap-dots button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .snap-dots button i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: background-color .25s, transform .25s; }
  .snap-dots button[aria-current="true"] i { background: #fff; transform: scale(1.25); }
  .snap-dots button:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }

  /* 4. packages: a horizontal swipe row instead of three long cards */
  .plans { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin: 0 calc(-1 * var(--pad)); padding: 4px var(--pad) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: start; padding: 24px 20px; }
  .plan .price-note { margin: 10px 0 16px; }
  .plans-foot { margin-top: 16px; }

  /* 3. sample sites: each one in a phone frame, swipeable, still rotating */
  .wk-frame.br { width: min(280px, 74vw); height: auto; aspect-ratio: 9 / 18.6; margin: 0 auto; padding: 9px; border: 1px solid rgba(220,228,242,.3); border-radius: 42px; background: linear-gradient(140deg, #8E939C, #2A2C31 22%, #0E0F12 50%, #34373D 78%, #9AA0A8); box-shadow: 0 40px 80px -40px #000, 0 0 60px -30px rgba(215,226,255,.35); }
  .wk:hover .wk-frame.br { transform: none; }
  .wk-frame.br .br-bar { display: none; }
  .wk-frame.br .br-stage { display: flex; border-radius: 33px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: #000; }
  .wk-frame.br .br-stage::-webkit-scrollbar { display: none; }
  .wk-frame.br .br-stage::before { content: ""; position: sticky; z-index: 5; left: 50%; top: 10px; flex: none; order: -1; width: 74px; height: 20px; margin-right: -74px; transform: translateX(-50%); border-radius: 99px; background: #000; pointer-events: none; }
  .wk-frame.br .br-slide { flex: 0 0 100%; visibility: visible; scroll-snap-align: center; scroll-snap-stop: always; }
  .wk-site .site-dots { justify-content: center; }
  .wk-site .site-tag { width: 100%; margin: 4px 0 0; text-align: center; }
  .wk-site h3, .wk-site > p { text-align: center; margin-inline: auto; }

  /* 7. ads: one phone at a time, swipe sideways */
  .rl-stage { touch-action: pan-y; }
  .ads-reel .rl-stage.rl-arc { height: min(540px, 66svh); }
  .rl-bar { margin-top: 16px; }

  /* 8. demo.html: each step is an app screen, Back / Next stick to the bottom above the bar */
  .demo { padding-top: 104px; }
  .dq.stepped { border-left: 0; border-right: 0; margin: 0 calc(-1 * var(--pad)); }
  .dq.stepped .dstep { min-height: 52svh; }
  .dq.stepped .dsend { display: contents; }
  .dq.stepped .dq-nav { position: sticky; z-index: 3; bottom: var(--pbh); padding: 10px 16px; background: rgba(7,8,11,.96); border-top: 1px solid var(--line-2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  :root:has(.dstep[data-step="review"].on) .dq.stepped .dq-nav { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .dq.stepped .dq-nav .btn { min-height: 56px; }
  .dq.stepped .fine, .dq.stepped .walk-q { margin: 0; padding: 0 16px; }
  .dq.stepped .fine { padding-top: 14px; }
  .dq.stepped .walk-q { padding-bottom: 18px; }
  .dform .input { scroll-margin-block: 120px 160px; }
}
/* phone version: inside the phone frame each sample site switches to a phone layout of itself (one column, bigger type).
   The selectors carry .wk-frame.br so they win over each sample's own <style> in index.html. */
@media (max-width: 600px) {
  @container (orientation: portrait) {
    .wk-frame.br .s1-in, .wk-frame.br .s2-in, .wk-frame.br .s3-in, .wk-frame.br .s4-in, .wk-frame.br .s5-in { font-size: 4.9cqw; }
    .wk-frame.br .s1-nav, .wk-frame.br .s3-nav, .wk-frame.br .s4-nav, .wk-frame.br .s5-nav { padding-top: 2.6em; }
    .wk-frame.br .s2-nav { padding-top: 2.6em; }
    .wk-frame.br .s1-main { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); gap: .8em; }
    .wk-frame.br .s1-h { font-size: 1.75em; }
    .wk-frame.br .s1-grid { grid-template-columns: 1fr 1fr; }
  }
}
/* phone version: second tightening pass (home page about 30% shorter than before, nothing removed) */
@media (max-width: 600px) {
  section { padding: 52px 0; }
  .contact { padding-top: 52px; }
  .head-row { margin-bottom: 22px; }
  .svc-list summary { min-height: 56px; }
  .wk-frame.br { width: min(256px, 70vw); }
  .rl-stage { height: min(440px, 58svh); }
  .wk-frame.db3 { min-height: 0; }
  .ab-star { max-width: 240px; }
  .ab-lede { margin-top: 18px; font-size: 19px; }
  .ab-sub { margin-top: 24px; padding-bottom: 10px; }
  .ab-list li { padding: 12px 0; }
  .ct-act { min-height: 66px; padding: 12px 16px; }
  .ct-act small { margin-top: 3px; }
  .foot { margin-top: 32px; }
  .wordmark { height: 80px; }
  .foot-links { padding-top: 4px; }
  .facts { margin-top: 26px; }
  .steps li, .steps li + li { padding-top: 16px; padding-bottom: 16px; }
  .plan ul { margin-bottom: 16px; }
  .plan .svc-ul li { padding: 8px 0; font-size: 16px; }
}
@media (max-width: 600px) {
  section, .contact { padding-top: 44px; }
  section { padding-bottom: 44px; }
  .wk-grid { gap: 32px; }
  /* About: Altair sits beside the heading instead of under the list */
  .about .ab-grid { position: relative; }
  .about .ab-star { position: absolute; top: -12px; right: 0; width: 150px; max-width: none; margin: 0; }
  .about .ab-star figcaption { margin-top: 4px; font-size: 11px; letter-spacing: .16em; }
  .about .ab-copy h2 { position: relative; z-index: 1; }
  .about .ab-lede { margin-top: 64px; }
}
@media (max-width: 600px) {
  .steps li:nth-child(n) { padding-left: 32px; border-left: 0; }
  #how .head-row { border-bottom: 0; padding-bottom: 0; }
}
@media (max-width: 600px) {
  .top.open .menu-panel { background: #000; }
  .menu-panel .menu-acts a { display: inline-flex; justify-content: center; min-height: 56px; border: 1px solid #fff; font: 500 14px/1 var(--body); letter-spacing: .18em; }
  .menu-panel .menu-acts a.btn-main { background: #fff; color: #000; }
}
@media (max-width: 370px) {
  .pbar { grid-template-columns: 1.3fr 1fr 1fr 50px; gap: 5px; padding-left: 6px; padding-right: 6px; }
  .pbar.two { grid-template-columns: 1fr 1fr 50px; }
  .pbar a { min-width: 0; letter-spacing: .08em; padding: 0 4px; }
  .pbar svg { display: none; }
  .orb { right: calc(6px + env(safe-area-inset-right)); }
}

/* Nov 30, Ralph: no "the star we're named after" caption under the About star on phones */
@media (max-width: 600px) { .ab-star figcaption { display: none; } }

/* Nov 30: the ALTIR wordmark was removed from the footer (Ralph); keep the links below the horizon arc */
.foot > .wrap { padding-top: clamp(100px, 13vw, 200px); }
@media (max-width: 600px) { .about .ab-lede + .ab-lede { margin-top: 18px; } }

/* Nov 30, Ralph: two big statement lines (home above Packages, ads page above How it works) */
.say { padding: clamp(64px, 9vw, 150px) 0 clamp(16px, 3vw, 40px); }
.say-line { margin: 0; max-width: 18ch; font: 300 clamp(34px, 5.2vw, 78px)/1.06 var(--body); letter-spacing: -.025em; color: var(--ink); }
.say-line em { font-style: normal; color: var(--faint); }

/* ===== Polish pass (Nov 30, Astra brief "polish up both pc and phone version") ===== */
/* header: a clean dark glass. Darken what sits behind before blurring it, so bright cards and white buttons no longer smear into a white blob */
.bar { background: rgba(4,5,8,.7); -webkit-backdrop-filter: blur(16px) brightness(.45) saturate(1.15); backdrop-filter: blur(16px) brightness(.45) saturate(1.15); }
/* the work section's text links reach 44px like every other target */
.wk-link { display: inline-flex; align-items: center; min-height: 44px; }
/* statement lines size to their words instead of a full screen each (no one-line-per-screen voids) */
.say { min-height: 0; padding: clamp(96px, 10vw, 152px) 0 clamp(64px, 7vw, 112px); }
.manifest { min-height: 0; padding: clamp(104px, 11vw, 168px) 0; }
/* footer bottom line clears the orb at every desktop width (the gap grows only where the orb would reach the text) */
@media (min-width: 601px) { .legal { padding-right: max(0px, calc(112px - (100vw - min(100vw, var(--wrap))) / 2 - var(--pad))); } }
@media (max-width: 600px) {
  /* hero place lines sit on the bright galaxy core: lift them off it */
  .hero .hero-meta .label { color: #E2E4EA; text-shadow: 0 0 12px rgba(0,0,0,.95), 0 0 3px rgba(0,0,0,.9), 0 1px 2px #000; }
  /* About: title, star and two paragraphs on one even rhythm */
  .about .ab-lede { margin-top: 48px; }
  .about .ab-lede + .ab-lede { margin-top: 16px; }
}
/* polish Nov 30: metric-matched fallbacks for the display face, so headlines keep their line count while Barlow Semi Condensed loads (no hero jump) */
@font-face { font-family: "Altir Narrow FB"; src: local("Arial Narrow"); size-adjust: 104%; }
@font-face { font-family: "Altir Sans FB"; src: local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 86%; }
:root { --disp: "Barlow Semi Condensed", "Altir Narrow FB", "Altir Sans FB", "Barlow", "Segoe UI", sans-serif; }
:root { --body: "Barlow", "Altir Body FB", system-ui, sans-serif; }
/* polish Nov 30: sample sites that aren't showing skip layout and paint entirely (they were only hidden) */
@media (min-width: 601px) { .br-slide:not(.on):not(.out) { content-visibility: hidden; } }
/* the index hero line breaks after "We make" in the markup, so it holds two lines in any font while the web font loads */
.hero h1:has(br) { max-width: none; }
.site-dot { min-width: 44px; }
@media (max-width: 600px) { .ads-hero h1 { font-size: clamp(48px, 16vw, 80px); } }
@font-face { font-family: "Altir Body FB"; src: local("Segoe UI"), local("Arial"), local("Helvetica"), local("Roboto"); size-adjust: 90%; }

/* Dec 1, Ralph: "add a little talk to the ai next to the orb so they know what it is". The label now always shows on computers.
   Phones have no room beside the bottom bar, so there it sits above the orb and shows for a few seconds after load (altair.js). */
.orb-tip { opacity: .92; }
.orb:hover .orb-tip, .orb:focus-visible .orb-tip { opacity: 1; }
.orb.tip-off:not(:hover):not(:focus-visible) .orb-tip { opacity: 0; }
@media (max-width: 600px) {
  .orb-tip { display: block; right: 0; top: auto; bottom: calc(100% + 12px); transform: none; padding: 7px 9px; font-size: 10px; opacity: 0; }
}

/* home (Dec 2): four cards that open the other pages */
.go-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.go { display: flex; flex-direction: column; gap: 12px; height: 100%; min-height: 240px; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); text-decoration: none; transition: border-color .3s, background-color .3s, transform .2s; }
.go b { font: 600 clamp(24px, 2vw, 30px)/1.05 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.go span { color: var(--muted); font-size: 16px; max-width: 30ch; }
.go i { margin-top: auto; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.go:hover { border-color: rgba(255,255,255,.55); background: #0E0F13; }
.go:hover i { transform: translateX(6px); }
.go:active { transform: scale(.99); }
@media (max-width: 1000px) { .go-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .go-grid { grid-template-columns: 1fr; } .go { min-height: 0; } .go i { margin-top: 8px; } }

/* Dec 2: AI agents is "coming soon" and not a link (no href, no hover) */
a.soon-link { cursor: default; pointer-events: none; color: var(--faint) !important; }
a.soon-link small { font-size: .72em; margin-left: .7em; padding: 3px 7px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; letter-spacing: .14em; line-height: 1; }
.go-soon { pointer-events: none; opacity: .55; }
/* Dec 2: small print under the ads deal */
.deal-note { margin: 28px 0 0; color: var(--faint); font-size: 14px; }
.deal-faq { margin-top: 40px; max-width: 760px; }
.deal-match { margin: 24px 0 0; max-width: 760px; padding: 18px 22px; border: 1px solid rgba(255,255,255,.22); color: var(--muted); font-size: 16px; line-height: 1.5; }
.deal-match b { color: #fff; font-weight: 600; }
.deal-match b { display: block; margin-bottom: 6px; font: 600 clamp(20px, 2vw, 26px)/1.15 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.deal-match small { display: block; margin-top: 8px; color: var(--faint); font-size: 13px; }
/* Dec 2: after the first question the chips are one swipe row, so the chat stays in view */
.rx.talked .rx-quick { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-top: 10px; border-top: 1px solid var(--line); }
.rx.talked .rx-quick::-webkit-scrollbar { display: none; }
.rx.talked .rx-quick .chip { flex: none; white-space: nowrap; }

/* ======================================================================================================
   websites.html, bigger (Dec 2, Python): Live demos, Before / after, Owner dashboards.
   Layout rhythm from Ralph's print-shop pick: eyebrow label, big heading, one plain line, a small ↗ link;
   numbered cards; one full-bleed contrast band; a 3-step row with big numerals and thin top rules.
   ====================================================================================================== */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--faint); font: 500 13px/1.2 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.sec-head { padding-bottom: 28px; margin-bottom: clamp(32px, 4.5vw, 56px); border-bottom: 1px solid var(--line); }
.sec-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.sec-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font: 500 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(100% - 10px) / 0 1px; transition: background-size .3s; }
.sec-link span { display: inline-block; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.sec-link:hover { background-size: 100% 1px; }
.sec-link:hover span { transform: translate(2px, -2px); }
.sec-sub { margin: 16px 0 0; color: var(--muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 62ch; }

/* 1. Live demos: the rotating sample sites get the full width and labelled tabs */
@media (min-width: 601px) { .wk-big .wk-frame { height: clamp(440px, 44vw, 640px); } }
.wk-big .site-dots { gap: 0 22px; margin-top: 14px; }
.wk-big .site-dot { color: var(--muted); }
.wk-big .site-dot span { display: inline; }
.wk-big .site-dot[aria-pressed="true"] { color: var(--ink); }
.br-slide .s-ann { flex: none; display: flex; justify-content: center; padding: .5em 1em; background: var(--ann-bg); color: var(--ann-ink); font: 500 .5em/1.2 "Barlow", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.br-slide .s-ann span + span { margin-left: 2.6em; }
.br-slide .s-ann span + span::before { content: ""; display: inline-block; width: .32em; height: .32em; margin: 0 2.6em 0 0; border-radius: 50%; background: currentColor; opacity: .55; vertical-align: middle; transform: translateY(-.12em); }
@container (max-width: 480px) { .br-slide .s-ann span + span { display: none; } }

/* 2. Before / after (round 2, Dec 2): on black, three numbered pairs, a drag slider each, how-you-get-it steps on the right */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.ba-band { background: #000; }
.ba-list { display: grid; gap: clamp(56px, 7vw, 104px); margin: 0; padding: 0; list-style: none; }
.ba { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: clamp(24px, 3.2vw, 48px); align-items: start; }
.ba-view { --pos: 50%; position: relative; aspect-ratio: 16 / 10; margin-top: 30px; background: #fff; border: 1px solid rgba(220,228,242,.22); box-shadow: 0 50px 90px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5); cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ba-pane { position: absolute; inset: 0; overflow: hidden; container-type: size; }
.ba-after { clip-path: inset(0 0 0 var(--pos)); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.35); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: clamp(24px, var(--pos), calc(100% - 24px)); display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: #0B0C0F; border: 1px solid rgba(0,0,0,.25); box-shadow: 0 8px 24px -8px rgba(0,0,0,.7); cursor: ew-resize; touch-action: none; }
.ba-handle svg { width: 22px; height: 22px; }
.ba-handle:focus-visible { outline: 0; box-shadow: 0 0 0 3px #000, 0 0 0 5px #fff; }
.ba-tag { position: absolute; top: -30px; color: var(--muted); font: 500 12px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: 0; } .ba-tag-a { right: 0; }
.ba-copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.ba-num { display: block; margin: 0; font: 300 clamp(48px, 5vw, 80px)/1 var(--body); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ba-kind { margin: 18px 0 10px; color: var(--muted); font: 500 12px/1.3 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.ba-copy h3 { font: 600 clamp(24px, 2.2vw, 32px)/1.05 var(--disp); letter-spacing: .03em; text-transform: uppercase; }
.ba-story { display: grid; margin: 24px 0 0; }
.ba-story > div { padding: 14px 0; border-top: 1px solid var(--line); }
.ba-story dt { color: var(--faint); font: 500 12px/1.3 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.ba-story div:nth-child(2) dt { color: #fff; }
.ba-story dd { margin: 6px 0 0; color: #C6C8CE; font-size: 16px; line-height: 1.5; }

/* the site mocks: drawn in HTML/CSS, sized in container units so each one scales with its frame */
.mk { position: absolute; inset: 0; overflow: hidden; text-align: left; }
.mk p { margin: 0; }
.mk em, .mk i { font-style: normal; }
.mk small { display: block; }
/* before (round 5, Dec 3): an ordinary template site from a few years ago. Clean but generic: a plain white header,
   grey links, a stock photo with a dark overlay and a default blue button, three short columns, a grey footer.
   No prices, no ordering or booking, small text. Believable, and clearly weaker than the after. */
.mk-b { --b-acc: #8B2E22; background: #fff; color: #555; font: 1.1cqw/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.b-barber { --b-acc: #2B3F66; }
.b-auto { --b-acc: #33475B; }
.b-page { display: flex; flex-direction: column; min-height: 100%; }
.b-head { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 1.7cqw 5cqw; border-bottom: .1cqw solid #E5E5E5; }
.b-logo { color: #333; font: 700 1.75cqw/1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.01em; }
.b-nav { display: flex; gap: 2.2cqw; color: #777; font-size: 1.1cqw; }
.b-nav .on { color: var(--b-acc); }
.b-ban { position: relative; height: 25cqw; overflow: hidden; background: #222; }
.b-ban img { width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .55; filter: saturate(.7); }
.b-ban-t { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .8cqw; text-align: center; color: #fff; }
.b-bt { font: 300 3.3cqw/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif; }
.b-bs { color: rgba(255,255,255,.85); font-size: 1.25cqw; }
.b-btn { margin-top: .9cqw; padding: .8cqw 2cqw; border-radius: .3cqw; background: #337AB7; color: #fff; font-size: 1.1cqw; }
.b-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.4cqw; padding: 3cqw 5cqw 2.6cqw; }
.b-cols b { display: block; margin-bottom: .6cqw; padding-bottom: .5cqw; border-bottom: .2cqw solid var(--b-acc); color: #333; font-size: 1.35cqw; font-weight: 700; }
.b-band { margin: auto 0 0 !important; padding: 2cqw 5cqw; background: #F4F4F4; border-top: .1cqw solid #E5E5E5; color: #666; font-size: 1.1cqw; text-align: center; }
.b-band span { color: #337AB7; }
.b-foot { display: flex; justify-content: space-between; gap: 2cqw; padding: 1.4cqw 5cqw; background: #2F2F2F; color: #9A9A9A; font-size: .95cqw; }

/* the system each business gets, shown inside the after site */
.a-sys { position: absolute; right: 1.2cqw; bottom: 1.2cqw; display: grid; gap: .6cqw; width: 21cqw; padding: 1.2cqw 1.3cqw 1.3cqw; border-radius: 1cqw; background: rgba(255,255,255,.97); color: #141414; box-shadow: 0 1.6cqw 3.2cqw -1cqw rgba(0,0,0,.6); font-size: 1cqw; line-height: 1.3; }
.a-sys-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; padding-bottom: .5cqw; font-size: 1.3cqw; font-weight: 700; }
.a-sys-h small { color: var(--acc); font-size: .78cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.a-auto .a-sys-h small { color: #8A5A00; }
.a-sys-l { display: flex; justify-content: space-between; gap: 1cqw; padding-bottom: .5cqw; border-bottom: .1cqw solid #E6E2DA; }
.a-sys-l i { color: #55554F; font-variant-numeric: tabular-nums; }
.a-sys-k { margin-top: .1cqw !important; color: #6A6A66; font-size: .78cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.a-sys-b { display: flex; align-items: center; gap: .8cqw; color: #55554F; }
.a-sys .a-av i { width: 2.2cqw; height: 2.2cqw; font-size: .9cqw; }
.a-sys .a-av i.on { background: var(--acc); color: #fff; z-index: 1; }
.a-chips { display: flex; gap: .5cqw; }
.a-chips i { flex: 1; padding: .45cqw 0; border: .1cqw solid #DAD6CC; border-radius: .5cqw; font-size: .95cqw; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-chips i.on { border-color: var(--acc); background: var(--acc); color: #fff; font-weight: 600; }
.a-auto .a-chips i.on, .a-auto .a-sys .a-av i.on { color: #111; }
.a-go { margin-top: .3cqw !important; padding: .8cqw; border-radius: .6cqw; background: #141414; color: #fff; font-size: 1.05cqw; font-weight: 600; text-align: center; }
@container (max-width: 520px) {
  .mk-a .a-badge { display: none; }
  .a-sys { left: 3cqw; right: 3cqw; bottom: 3cqw; width: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2cqw; padding: 2.4cqw 2.4cqw 2.4cqw 3.4cqw; border-radius: 2.6cqw; font-size: 2.8cqw; }
  .a-sys > :not(.a-sys-h):not(.a-go) { display: none; }
  .a-sys-h { display: grid; padding: 0; font-size: 3.4cqw; } .a-sys-h small { margin-top: .6cqw; font-size: 2.2cqw; }
  .a-go { margin: 0 !important; padding: 2.2cqw 3.6cqw; border-radius: 1.8cqw; font-size: 3cqw; }
}

/* right side: the system we build, as its own block above the story */
.ba-sys { margin: 30px 0 8px; }
.ba-sys p { margin: 0; }
.ba-sys-k { display: flex; align-items: center; gap: 14px; color: #C4D3FF; font: 500 12px/1.3 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.ba-sys-k::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(196,211,255,.55), rgba(196,211,255,0)); transform-origin: 0 50%; }
.ba-sys-n { margin-top: 14px !important; color: #fff; font: 300 clamp(30px, 2.6vw, 42px)/1.04 var(--body); letter-spacing: -.025em; }
.ba-sys-c { display: grid; gap: 4px; margin-top: 16px !important; color: #B4B7BF; font-size: 16px; line-height: 1.6; }
.ba-sys-c span { display: flex; align-items: center; gap: 12px; }
.ba-sys-c span::before { content: ""; flex: none; width: 14px; height: 1px; background: #6E7280; }

/* live demos: a small, honest notice right above the viewer */
.wk-heads { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 9px 16px 9px 12px; border: 1px solid rgba(243,210,122,.38); border-radius: 99px; background: rgba(243,210,122,.07); color: #E9E3D3; font-size: 15px; line-height: 1.35; }
.wk-heads i { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #F3D27A; }
.wk-heads i::before { content: "!"; color: #000; font: 700 13px/1 var(--body); }
.wk-heads b { color: #fff; font-weight: 600; }
@media (max-width: 560px) { .wk-heads { border-radius: 14px; align-items: flex-start; font-size: 14px; } }
/* after: the Altir redo. A big real photo, a strong headline, one primary button and a call button, a menu or
   services preview, an hours / location / reviews strip. Each business gets its own palette and type. */
.mk-a { --bg: #FAF7F2; --ink: #1A1714; --mut: #5E574E; --acc: #9A3B1B; --soft: #F1EBE1; --line: rgba(26,23,20,.12); --hf: 600 4.2cqw/1.02 "Fraunces", Georgia, serif;
  display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; background: var(--bg); color: var(--ink); font: 1.2cqw/1.45 "Barlow", system-ui, sans-serif; }
.a-barber { --bg: #F3F2EE; --ink: #121212; --mut: #55554F; --acc: #1F4D3A; --soft: #E9E7E0; --line: rgba(18,18,18,.12); --hf: 800 4.1cqw/1 "Bricolage Grotesque", "Barlow", sans-serif; }
.a-auto { --bg: #0F1216; --ink: #F4F5F7; --mut: #A8AEB8; --acc: #FFB020; --soft: #171B21; --line: rgba(255,255,255,.12); --hf: 600 4.6cqw/.98 "Barlow Semi Condensed", "Barlow", sans-serif; }
.a-nav { display: flex; align-items: center; gap: 2.4cqw; padding: 1.5cqw 3cqw; border-bottom: .1cqw solid var(--line); }
.a-logo { margin-right: auto; font: var(--hf); font-size: 1.8cqw; letter-spacing: -.01em; }
.a-auto .a-logo { text-transform: uppercase; letter-spacing: .05em; }
.a-nav span { color: var(--mut); font-size: 1.15cqw; }
.a-nav em { padding: .75cqw 1.5cqw; border-radius: 99px; background: var(--ink); color: var(--bg); font-size: 1.1cqw; font-weight: 600; }
.a-hero { display: grid; grid-template-columns: 1.12fr 1fr; grid-template-rows: minmax(0, 1fr); gap: 3.4cqw; align-items: center; min-height: 0; padding: 2cqw 3cqw; }
.a-photo { position: relative; height: 100%; min-height: 0; overflow: hidden; border-radius: 1.2cqw; box-shadow: 0 2cqw 4cqw -2.4cqw rgba(0,0,0,.55); }
.a-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.a-badge { position: absolute; left: 1.2cqw; bottom: 1.2cqw; display: inline-flex; align-items: center; gap: .7cqw; padding: .6cqw 1.1cqw; border-radius: 99px; background: rgba(255,255,255,.92); color: #141414; font-size: 1.05cqw; font-weight: 600; box-shadow: 0 .6cqw 1.6cqw -.6cqw rgba(0,0,0,.4); }
.a-badge i { width: .8cqw; height: .8cqw; border-radius: 50%; background: #23A55A; box-shadow: 0 0 0 .3cqw rgba(35,165,90,.2); }
.a-copy small { color: var(--acc); font-size: 1cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.a-h { margin: .9cqw 0 1.1cqw !important; font: var(--hf); letter-spacing: -.02em; }
.a-auto .a-h { text-transform: uppercase; letter-spacing: 0; }
.a-sub { max-width: 32ch; color: var(--mut); font-size: 1.4cqw; }
.a-btns { display: flex; flex-wrap: wrap; gap: 1cqw; margin-top: 2.2cqw; }
.a-btns em, .a-btns span { display: inline-flex; align-items: center; gap: .7cqw; padding: 1.25cqw 2.4cqw; border-radius: .7cqw; font-size: 1.4cqw; font-weight: 600; }
.a-btns em { background: var(--acc); color: #fff; box-shadow: 0 1cqw 2cqw -1.2cqw var(--acc), inset 0 .1cqw 0 rgba(255,255,255,.25); }
.a-auto .a-btns em { color: #111; }
.a-btns span { border: .12cqw solid var(--line); background: var(--soft); }
.a-btns svg { width: 1.4cqw; height: 1.4cqw; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.a-row { display: grid; grid-template-columns: 13cqw 1fr; gap: 2cqw; align-items: center; padding: 1.3cqw 3cqw; border-top: .1cqw solid var(--line); }
.a-row-h { font: var(--hf); font-size: 1.55cqw; }
.a-row-h small { margin-top: .3cqw; color: var(--mut); font: 500 .95cqw/1.2 "Barlow", sans-serif; letter-spacing: .06em; }
.a-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1cqw; }
.a-items span { display: flex; justify-content: space-between; gap: .8cqw; padding: .9cqw 1.1cqw; border: .1cqw solid var(--line); border-radius: .7cqw; background: var(--soft); font-size: 1.15cqw; white-space: nowrap; }
.a-items b { overflow: hidden; font-weight: 600; text-overflow: ellipsis; }
.a-items i { color: var(--mut); font-variant-numeric: tabular-nums; }
.a-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqw; padding: 1.3cqw 3cqw; background: var(--soft); border-top: .1cqw solid var(--line); }
.a-strip small { color: var(--mut); font-size: .95cqw; letter-spacing: .14em; text-transform: uppercase; }
.a-strip b { display: block; margin-top: .2cqw; font-size: 1.3cqw; font-weight: 600; }
.a-strip .a-note { color: var(--mut); font-weight: 400; }
.a-ann { display: flex; justify-content: center; padding: .6cqw 3cqw; background: var(--ink); color: var(--bg); font-size: .95cqw; font-weight: 500; letter-spacing: .05em; white-space: nowrap; }
.a-ann span + span::before { content: ""; display: inline-block; width: .35cqw; height: .35cqw; margin: 0 3cqw 0 0; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; transform: translateY(-.1cqw); }
.a-ann span + span { margin-left: 3cqw; }
.a-logo { display: inline-flex; align-items: center; gap: .8cqw; }
.a-mark { width: 1.6cqw; height: 1.6cqw; border-radius: 50% 50% 50% .3cqw; background: var(--acc); }
.a-auto .a-mark { border-radius: .3cqw; transform: rotate(45deg) scale(.8); }
.a-float { position: absolute; top: 1.2cqw; right: 1.2cqw; display: grid; gap: .25cqw; max-width: 19cqw; padding: 1cqw 1.2cqw; border-radius: .9cqw; background: rgba(255,255,255,.94); color: #141414; box-shadow: 0 1.2cqw 2.4cqw -1cqw rgba(0,0,0,.5); font-size: 1cqw; line-height: 1.3; }
.a-float small { color: #6A6A66; font-size: .85cqw; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.a-float b { font-size: 1.25cqw; }
.a-float span { color: #55554F; }
.a-av { display: flex; } .a-av i { display: grid; place-items: center; width: 2.4cqw; height: 2.4cqw; margin-left: -.6cqw; border: .15cqw solid #fff; border-radius: 50%; background: #D7D3CA; color: #141414; font-size: 1cqw; font-weight: 600; } .a-av i:first-child { margin-left: 0; }
.a-trust { display: flex; flex-wrap: wrap; gap: .6cqw 1.8cqw; margin-top: 1.8cqw !important; color: var(--mut); font-size: 1.05cqw; }
.a-trust span { display: inline-flex; align-items: center; gap: .6cqw; }
.a-trust span::before { content: ""; width: .9cqw; height: .5cqw; border: solid var(--acc); border-width: 0 0 .18cqw .18cqw; transform: rotate(-45deg) translateY(-.15cqw); }
/* phone-size frames: the old template stays a desktop page shrunk down (that is the problem); the redo reflows for a phone */
@container (max-width: 520px) {
  .a-nav span, .a-ann span + span, .a-float, .a-trust span:nth-child(n+3) { display: none; }
  .a-ann { font-size: 2.6cqw; padding: 1.4cqw 5cqw; } .a-mark { width: 3.6cqw; height: 3.6cqw; } .a-logo { gap: 2cqw; } .a-trust { gap: 2cqw 4cqw; margin-top: 3.4cqw !important; font-size: 2.8cqw; } .a-trust span::before { width: 2cqw; height: 1.1cqw; border-width: 0 0 .4cqw .4cqw; }
  .a-nav { padding: 4cqw 5cqw; } .a-logo { font-size: 4.6cqw; } .a-nav em { padding: 2cqw 3.6cqw; font-size: 3.2cqw; }
  .mk-a { display: block; } /* stacked like a phone page; the frame crops the bottom */
  .a-hero { grid-template-columns: 1fr; grid-template-rows: auto; gap: 4cqw; padding: 4cqw 5cqw; }
  .a-photo { height: 44cqw; border-radius: 3cqw; }
  .a-badge { left: 3cqw; bottom: 3cqw; gap: 1.6cqw; padding: 1.4cqw 2.6cqw; font-size: 2.8cqw; } .a-badge i { width: 2cqw; height: 2cqw; }
  .a-copy small { font-size: 2.7cqw; }
  .a-h { font-size: 9.4cqw; margin: 2cqw 0 2.4cqw !important; }
  .a-sub { font-size: 3.7cqw; }
  .a-btns { gap: 2cqw; margin-top: 4cqw; }
  .a-btns em, .a-btns span { gap: 1.6cqw; padding: 3.2cqw 5cqw; border-radius: 1.8cqw; font-size: 3.7cqw; }
  .a-btns svg { width: 3.6cqw; height: 3.6cqw; }
  .a-row { grid-template-columns: 1fr; gap: 2.4cqw; padding: 4cqw 5cqw; } .a-row-h { font-size: 4.2cqw; } .a-row-h small { font-size: 2.6cqw; }
  .a-items { grid-template-columns: 1fr 1fr; gap: 2cqw; } .a-items span { padding: 2.4cqw 3cqw; border-radius: 1.8cqw; font-size: 3.2cqw; }
  .a-strip { gap: 3cqw; padding: 4cqw 5cqw; } .a-strip small { font-size: 2.5cqw; } .a-strip b { font-size: 3.2cqw; }
}

/* 3. Owner dashboards: numbered tab cards, then one app frame drawn like a real SaaS admin */
.dv-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 24px; border-top: 1px solid var(--line-2); }
.dv-tab { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: baseline; min-height: 92px; margin-top: -1px; padding: 18px 20px 18px 0; border: 0; border-top: 2px solid transparent; background: none; color: var(--muted); font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, color .25s; }
.dv-tab + .dv-tab { padding-left: 20px; box-shadow: inset 1px 0 0 var(--line); }
.dv-n { grid-row: 1 / 3; color: var(--faint); font: 300 34px/1 var(--body); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .25s; }
.dv-tab b { color: var(--ink); font: 600 20px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; }
.dv-tab small { grid-column: 2; margin-top: 6px; color: var(--faint); font-size: 14px; line-height: 1.35; }
.dv-tab:hover { border-top-color: var(--line-2); }
.dv-tab[aria-selected="true"] { border-top-color: #fff; }
.dv-tab[aria-selected="true"] .dv-n { color: #fff; }
.dv-tab:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.dv-panel:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.dv-note { margin: 16px 0 0; color: var(--faint); font-size: 14px; }

.app { --a-bg: #0B0C0F; --a-side: #08090B; --a-card: #111216; --a-line: rgba(255,255,255,.08); --a-ink: #ECEDEF; --a-mut: #9AA0AB; --a-faint: #7C828D; --a-acc: #C9D6FF;
  display: grid; grid-template-columns: 216px minmax(0, 1fr); height: clamp(640px, 52vw, 748px); overflow: hidden; border: 1px solid rgba(220,228,242,.2); border-radius: 12px; background: var(--a-bg); color: var(--a-ink); font: 400 13px/1.4 var(--body); font-variant-numeric: tabular-nums; text-align: left; box-shadow: 0 60px 120px -60px #000, inset 0 1px 0 rgba(255,255,255,.06); }
.app p, .app ul, .app ol { margin: 0; }
.app em, .app i { font-style: normal; }
.app-nav svg, .app-foot svg, .app-search svg, .app .ic svg, .app .past-n svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.app-side { display: flex; flex-direction: column; gap: 16px; padding: 16px 12px; border-right: 1px solid var(--a-line); background: var(--a-side); }
.app-ws { display: flex; align-items: center; gap: 10px; padding: 4px 8px 14px; border-bottom: 1px solid var(--a-line); }
.app-ws i, .app-av { display: grid; place-items: center; flex: none; font: 600 11px/1 var(--body); font-style: normal; letter-spacing: .04em; }
.app-ws i { width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 7px; background: linear-gradient(135deg, #2A2D35, #16181D); }
.app-ws span { display: grid; gap: 2px; }
.app-ws b { font-size: 13px; font-weight: 600; }
.app-ws small { color: var(--a-faint); font-size: 11px; }
.app-nav, .app-foot { display: grid; gap: 2px; }
.app-nav span, .app-foot span { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 7px; color: var(--a-mut); }
.app-nav span.on { background: rgba(255,255,255,.06); color: var(--a-ink); box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.app-nav em { display: grid; place-items: center; min-width: 20px; height: 18px; margin-left: auto; padding: 0 6px; border-radius: 99px; background: rgba(201,214,255,.14); color: #DCE4FF; font-size: 11px; }
.app-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--a-line); }
.app-main { display: grid; grid-template-rows: 52px minmax(0, 1fr); min-width: 0; min-height: 0; }
.app-top { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--a-line); }
.app-crumb { margin-right: auto; overflow: hidden; color: var(--a-mut); white-space: nowrap; text-overflow: ellipsis; }
.app-crumb i { margin: 0 4px; color: var(--a-faint); font-style: normal; }
.app-crumb b { color: var(--a-ink); font-weight: 600; }
.app-search, .app-date { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid var(--a-line); border-radius: 7px; white-space: nowrap; }
.app-search { width: 210px; background: rgba(255,255,255,.02); color: var(--a-faint); }
.app-date { color: var(--a-mut); }
.app-sample { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid rgba(243,201,139,.4); border-radius: 99px; color: #F3C98B; font: 600 10px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.app-av { width: 28px; height: 28px; border-radius: 50%; background: #23262D; font-size: 10px; }
.app-body { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 20px; overflow: hidden; }
.app-body > :last-child { flex: 1; min-height: 0; }
.app .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; flex: none !important; }
.app .kpi { display: grid; grid-template-columns: minmax(0, 1fr) 72px; column-gap: 8px; padding: 14px 16px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); }
.app .kpi small { grid-column: 1 / -1; color: var(--a-mut); font-size: 12px; }
.app .kpi b { margin-top: 6px; font: 500 26px/1.1 var(--body); letter-spacing: -.02em; }
.app .kpi .d { grid-column: 1; margin-top: 4px; overflow: hidden; color: var(--a-faint); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.app .kpi .up { color: #6FD3A0; }
.app .kpi svg { grid-column: 2; grid-row: 2 / 4; align-self: end; width: 72px; height: 28px; overflow: visible; }
.app .kpi path { fill: none; stroke: var(--a-acc); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.app .card { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 14px 16px; overflow: hidden; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); }
.app .card-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.app .card-h b { font-size: 13px; font-weight: 600; }
.app .card-h span { color: var(--a-faint); font-size: 12px; }
.app .card-h .live { display: inline-flex; align-items: center; gap: 6px; color: #9FE3BF; }
.app .live i { width: 6px; height: 6px; border-radius: 50%; background: #5ED39A; box-shadow: 0 0 0 3px rgba(94,211,154,.18); }
.app-row { display: grid; gap: 16px; min-height: 0; }
.app-row:not(:last-child) { flex: none; }
.app .r-food { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.app .r-barber { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); }
.app .r-auto { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.app .pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.app .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app .p-new { background: rgba(120,150,255,.13); color: #B3C6FF; }
.app .p-prep { background: rgba(242,180,90,.13); color: #F2C27A; }
.app .p-ok { background: rgba(94,211,154,.12); color: #7FDDAE; }
.app .p-done { background: rgba(255,255,255,.06); color: #A9AEB8; }
/* restaurant */
.app .hours { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; height: 150px; }
.app .hours-y { display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 20px; color: var(--a-faint); font-size: 11px; line-height: 0; text-align: right; }
.app .hours-bars { position: relative; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 8px; align-items: end; padding-bottom: 20px; background: linear-gradient(var(--a-line) 0 0) 0 0 / 100% 1px, linear-gradient(var(--a-line) 0 0) 0 calc((100% - 20px) / 3) / 100% 1px, linear-gradient(var(--a-line) 0 0) 0 calc((100% - 20px) * 2 / 3) / 100% 1px, linear-gradient(rgba(255,255,255,.16) 0 0) 0 calc(100% - 20px) / 100% 1px; background-repeat: no-repeat; }
.app .hours-bars i { position: relative; height: calc(var(--v) / 24 * 100%); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, rgba(201,214,255,.5), rgba(201,214,255,.16)); }
.app .hours-bars i.pk { background: linear-gradient(180deg, #E4EAFF, rgba(201,214,255,.45)); }
.app .hours-bars span { position: absolute; top: 100%; left: 50%; margin-top: 6px; transform: translateX(-50%); color: var(--a-faint); font-size: 11px; line-height: 1; }
.app .hours-bars em { position: absolute; bottom: 100%; left: 50%; margin-bottom: 6px; padding: 4px 6px; transform: translateX(-50%); border-radius: 5px; background: #ECEDEF; color: #0B0C0F; font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; }
.app .meter { display: grid; gap: 11px; padding: 0; list-style: none; }
.app .meter li { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
.app .meter li b { font-weight: 500; }
.app .meter li::after { content: ""; grid-column: 1 / -1; height: 4px; border-radius: 99px; background: linear-gradient(90deg, var(--a-acc) var(--v), rgba(255,255,255,.07) var(--v)); }
.app .tbl { display: grid; align-content: start; min-height: 0; overflow: hidden; }
.app .tr { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.5fr) 104px 72px 112px; gap: 12px; align-items: center; height: 38px; border-top: 1px solid var(--a-line); }
.app .tr.th { height: 28px; border-top: 0; color: var(--a-faint); font-size: 12px; }
.app .tr > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app .tr .num { text-align: right; }
.app .tr .mono { color: var(--a-mut); }
/* barbershop */
.app .cal { --lab: 92px; position: relative; display: grid; gap: 8px; }
.app .cal-h, .app .cal-r { display: grid; grid-template-columns: var(--lab) minmax(0, 1fr); align-items: center; }
.app .cal-h div { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); color: var(--a-faint); font-size: 11px; }
.app .cal-h i { padding-left: 6px; border-left: 1px solid var(--a-line); font-style: normal; }
.app .cal-r > span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.app .cal-r > span i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #23262D; font-size: 11px; font-style: normal; font-weight: 600; }
.app .cal-r > div { position: relative; height: 40px; border-radius: 8px; background: repeating-linear-gradient(90deg, var(--a-line) 0 1px, transparent 1px 10%), rgba(255,255,255,.015); }
.app .cal-r b { position: absolute; top: 4px; bottom: 4px; left: calc(var(--x) * 1%); width: calc(var(--w) * 1% - 3px); display: flex; align-items: center; padding: 0 8px; overflow: hidden; border-left: 2px solid #C9D6FF; border-radius: 6px; background: rgba(201,214,255,.16); color: #E6EBFF; font-size: 11.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.app .cal-r b.past { border-left-color: rgba(255,255,255,.25); background: rgba(255,255,255,.05); color: var(--a-mut); }
.app .cal-r b.miss { border-left-color: #F2786E; background: repeating-linear-gradient(135deg, rgba(242,120,110,.16) 0 6px, rgba(242,120,110,.06) 6px 12px); color: #F6A59D; }
.app .cal-now { position: absolute; top: 22px; bottom: 0; left: calc(var(--lab) + (100% - var(--lab)) * var(--now)); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.app .cal-now em { position: absolute; top: -18px; left: 50%; padding: 2px 5px; transform: translateX(-50%); border-radius: 4px; background: #fff; color: #0B0C0F; font-size: 10px; font-weight: 600; line-height: 1.2; }
.app .lst { display: grid; align-content: start; padding: 0; list-style: none; }
.app .lst li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 46px; border-top: 1px solid var(--a-line); }
.app .lst li:first-child { border-top: 0; }
.app .lst time { color: var(--a-mut); font-size: 12px; }
.app .lst li > span { display: grid; min-width: 0; }
.app .lst li > span b { overflow: hidden; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.app .lst li > span small { color: var(--a-faint); font-size: 12px; }
.app .ring { position: relative; width: 104px; height: 104px; margin: 4px auto 0; }
.app .ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.app .ring circle { fill: none; stroke: rgba(255,255,255,.08); stroke-width: 7; }
.app .ring .ring-v { stroke: var(--a-acc); stroke-linecap: round; stroke-dasharray: var(--p) 100; }
.app .ring b { position: absolute; inset: 0; display: grid; place-items: center; font: 500 24px/1 var(--body); }
.app .ring-n { margin-top: 10px !important; color: var(--a-faint); font-size: 12px; text-align: center; }
/* auto shop */
.app .board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; min-height: 0; }
.app .col { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 10px; border: 1px solid var(--a-line); border-radius: 8px; background: rgba(255,255,255,.02); }
.app .col-h { display: flex; align-items: center; gap: 8px; margin: 0 0 2px !important; color: var(--a-mut); font-size: 12px; font-weight: 600; }
.app .col-h span { margin-left: auto; color: var(--a-faint); font-weight: 500; }
.app .dot { width: 8px; height: 8px; border-radius: 50%; }
.app .d-new { background: #B3C6FF; } .app .d-prep { background: #F2C27A; } .app .d-ok { background: #7FDDAE; }
.app .job { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 8px; background: #16181D; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
.app .job b { font-size: 13px; font-weight: 600; }
.app .job span { overflow: hidden; color: var(--a-mut); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.app .job p { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px !important; }
.app .job small { color: var(--a-faint); font-size: 11px; white-space: nowrap; }
.app .tag { padding: 2px 7px; border-radius: 5px; background: rgba(255,255,255,.07); color: #C9CDD5; font-size: 11px; white-space: nowrap; }
.app .tag.t-warn { background: rgba(242,180,90,.14); color: #F2C27A; }
.app .tag.t-ok { background: rgba(94,211,154,.12); color: #7FDDAE; }
.app .lst-calls li { grid-template-columns: 30px minmax(0, 1fr) auto auto; min-height: 52px; }
.app .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.05); color: var(--a-mut); }
.app .ic-miss { background: rgba(242,120,110,.1); color: #F6A59D; }
.app .lst-calls time { color: var(--a-faint); }
/* weekly report */
.app-body.rep { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }
.app .rep-doc { padding: 24px 28px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-card); }
.app .rep-k { color: var(--a-faint); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.app .rep-h { max-width: 24ch; margin-top: 10px !important; font: 500 26px/1.15 var(--body); letter-spacing: -.01em; }
.app .rep-p { max-width: 60ch; margin-top: 10px !important; color: #BAC0CA; font-size: 14px; line-height: 1.55; }
.app .rep-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--a-line); border-bottom: 1px solid var(--a-line); }
.app .rep-stats div { padding: 12px 0; }
.app .rep-stats div + div { padding-left: 16px; border-left: 1px solid var(--a-line); }
.app .rep-stats small { display: block; color: var(--a-faint); font-size: 12px; }
.app .rep-stats b { font: 500 24px/1.2 var(--body); }
.app .rep-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 112px; margin-top: 18px; padding-bottom: 20px; }
.app .rep-days i { position: relative; height: calc(var(--v) * 1%); border-radius: 4px 4px 0 0; background: rgba(201,214,255,.22); }
.app .rep-days i.pk { background: linear-gradient(180deg, #E4EAFF, rgba(201,214,255,.45)); }
.app .rep-days span { position: absolute; top: 100%; left: 50%; margin-top: 6px; transform: translateX(-50%); color: var(--a-faint); font-size: 11px; line-height: 1; }
.app .rep-sh { margin: 18px 0 8px !important; font-size: 13px; font-weight: 600; }
.app .rep-ul { display: grid; gap: 6px; padding: 0; list-style: none; color: #C6CAD2; }
.app .rep-ul li { display: flex; gap: 10px; }
.app .rep-ul li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: #7FDDAE; }
.app .rep-side { display: flex; flex-direction: column; gap: 16px; }
.app .fix { padding: 18px 20px; border: 1px solid rgba(242,194,122,.32); border-radius: 10px; background: linear-gradient(180deg, rgba(242,194,122,.1), rgba(242,194,122,.03)); }
.app .fix-k { display: flex; align-items: center; gap: 8px; color: #F2C27A; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.app .fix-k i { width: 6px; height: 6px; border-radius: 50%; background: #F2C27A; }
.app .fix-h { margin-top: 10px !important; font: 500 18px/1.25 var(--body); }
.app .fix-p { margin-top: 8px !important; color: #C6CAD2; }
.app .fix-b { display: inline-flex; align-items: center; height: 34px; margin-top: 14px; padding: 0 14px; border-radius: 7px; background: #ECEDEF; color: #0B0C0F; font-weight: 600; }
.app .past { padding: 0; list-style: none; }
.app .past li { display: grid; padding: 10px 0; border-top: 1px solid var(--a-line); }
.app .past li:first-child { border-top: 0; padding-top: 0; }
.app .past span { font-weight: 500; }
.app .past small { color: var(--a-faint); font-size: 12px; }
.app .past-n { display: flex; align-items: center; gap: 8px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--a-line); color: var(--a-mut); font-size: 12px; }

@media (max-width: 1100px) {
  .app { grid-template-columns: minmax(0, 1fr); height: auto; }
  .app-side, .app-search { display: none; }
  .app-body { overflow: visible; }
  .app-body > :last-child { flex: none; }
}
@media (max-width: 1000px) {
  .ba { grid-template-columns: minmax(0, 1fr); }
  .dv-tabs { grid-template-columns: 1fr 1fr; }
  .dv-tab:nth-child(3) { padding-left: 0; box-shadow: none; }
  .dv-tab:nth-child(n+3) { box-shadow: inset 0 1px 0 var(--line); }
  .dv-tab:nth-child(4) { box-shadow: inset 0 1px 0 var(--line), inset 1px 0 0 var(--line); }
}
@media (max-width: 760px) {
  .ba-view { aspect-ratio: 4 / 5; }
  .dv-tab { min-height: 84px; padding: 14px 12px 14px 0; column-gap: 10px; }
  .dv-tab + .dv-tab { padding-left: 12px; }
  .dv-tab:nth-child(3) { padding-left: 0; }
  .dv-n { font-size: 26px; }
  .dv-tab b { font-size: 17px; }
  .dv-tab small { font-size: 13px; }
  .app-date { display: none; }
  .app-top { gap: 8px; padding: 0 14px; }
  .app-body { gap: 12px; padding: 12px; }
  .app .kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app .kpi { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .app .kpi svg { display: none; }
  .app .kpi b { font-size: 21px; }
  .app-row, .app .r-food, .app .r-barber, .app .r-auto, .app-body.rep { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .app .tbl-food .tr { grid-template-columns: 62px minmax(0, 1fr) 62px 96px; gap: 8px; }
  .app .tbl-food .tr > :nth-child(3), .app .tbl-food .tr > :nth-child(4) { display: none; }
  .app .cal { --lab: 64px; }
  .app .cal-r > span { font-size: 12px; } .app .cal-r > span i { display: none; }
  .app .cal-r b { padding: 0; font-size: 0; }
  .app .cal-h i:nth-child(even) { color: transparent; }
  .app .board { grid-template-columns: repeat(3, 82%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .app .board::-webkit-scrollbar { display: none; }
  .app .col { scroll-snap-align: start; }
  .app .rep-doc { padding: 18px; }
  .app .rep-h { font-size: 21px; }
}

/* ===== Round 4 notes (Python, Dec 3): home "What we do" as four cards with a picture of the work ===== */
.wd { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.wd > li { min-width: 0; }
.wd-card { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; border: 1px solid rgba(220,228,242,.2); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.008)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 50px 80px -60px #000; transition: border-color .35s, background-color .35s, transform .5s cubic-bezier(.16,1,.3,1); }
.wd-card:hover, .wd-card:focus-visible { border-color: rgba(235,240,250,.6); transform: translateY(-4px); }
.wd-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wd-vis { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; border-bottom: 1px solid var(--line); container-type: inline-size;
  background: radial-gradient(90% 70% at 50% 0%, rgba(169,193,255,.13), transparent 70%), linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 22px 100%, #05060A; }
.wd-vis > * { transition: transform .6s cubic-bezier(.16,1,.3,1); }
.wd-card:hover .wd-vis > :first-child, .wd-card:focus-visible .wd-vis > :first-child { transform: translateY(-2.4cqw); }
.wd-vis p, .wd-vis ol { margin: 0; }
.wd-vis em, .wd-vis i { font-style: normal; }
.wd-txt { flex: 1; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; padding: 22px 22px 24px; }
.wd-txt > em { font: 500 13px/1 var(--body); font-style: normal; letter-spacing: .2em; color: var(--faint); }
.wd-txt h3 { margin: 0; font: 600 clamp(24px, 2vw, 30px)/1.02 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.wd-txt p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.5; }
.wd-more { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); font: 500 13px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; }
.wd-more::after { content: ""; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.wd-card:hover .wd-more::after, .wd-card:focus-visible .wd-more::after { transform: translateX(6px); }

/* 01 a sample site in a browser */
.wd-br { position: absolute; inset: 9cqw 7cqw -2cqw; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 2.4cqw 2.4cqw 0 0; background: #FAF7F2; box-shadow: 0 6cqw 12cqw -6cqw #000; font: 3.3cqw/1.35 "Barlow", system-ui, sans-serif; color: #1A1714; }
.wd-bar { display: flex; align-items: center; gap: 1.2cqw; padding: 2cqw 2.6cqw; background: #16171C; }
.wd-bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #3A3C44; }
.wd-bar span { flex: 1; margin-left: 2cqw; padding: .6cqw 2.4cqw; border-radius: 99px; background: #23252C; color: #A3A6AE; font-size: 2.5cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wd-site { display: flex; flex-direction: column; padding: 0 4.4cqw; }
.wd-nav { display: flex; align-items: center; justify-content: space-between; padding: 3cqw 0; }
.wd-nav b { display: inline-flex; align-items: center; gap: 1.4cqw; font: 600 3.8cqw/1 "Fraunces", Georgia, serif; }
.wd-nav b i { width: 2.6cqw; height: 2.6cqw; border-radius: 50% 50% 50% .5cqw; background: #9A3B1B; }
.wd-nav em { padding: 1.3cqw 2.6cqw; border-radius: 99px; background: #1A1714; color: #FAF7F2; font-size: 2.5cqw; font-weight: 600; }
.wd-photo { position: relative; height: 34cqw; overflow: hidden; border-radius: 2cqw; }
.wd-photo img { width: 100%; height: 100%; object-fit: cover; }
.wd-open { position: absolute; left: 2cqw; bottom: 2cqw; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2cqw; border-radius: 99px; background: rgba(255,255,255,.93); font-size: 2.4cqw; font-weight: 600; }
.wd-open i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #23A55A; }
.wd-site small { display: block; margin-top: 3.4cqw; color: #9A3B1B; font-size: 2.2cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.wd-h { margin-top: 1.4cqw !important; font: 600 6.6cqw/1.02 "Fraunces", Georgia, serif; letter-spacing: -.02em; }
.wd-btns { display: flex; gap: 1.6cqw; margin-top: 3cqw; }
.wd-btns em, .wd-btns span { padding: 1.8cqw 3.2cqw; border-radius: 1.4cqw; font-size: 2.8cqw; font-weight: 600; }
.wd-btns em { background: #9A3B1B; color: #fff; }
.wd-btns span { border: 1px solid rgba(26,23,20,.14); background: #F1EBE1; }
.wd-pop { position: absolute; right: 3cqw; bottom: 5cqw; display: flex; align-items: center; gap: 2.4cqw; padding: 2.6cqw 3.2cqw; border: 1px solid rgba(255,255,255,.2); border-radius: 2.4cqw; background: rgba(12,13,17,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 4cqw 8cqw -3cqw #000; color: #C9CCD3; font: 2.6cqw/1.3 var(--body); }
.wd-pop > i { width: 2.2cqw; height: 2.2cqw; flex: none; border-radius: 50%; background: #23A55A; box-shadow: 0 0 0 1cqw rgba(35,165,90,.2); }
.wd-pop b { display: block; color: #fff; font-size: 3cqw; font-weight: 600; }
.wd-pop small { align-self: flex-start; padding: .4cqw 1.4cqw; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; font-size: 2cqw; letter-spacing: .12em; text-transform: uppercase; }

/* 02 the AI chat */
.wd-chat { position: absolute; inset: 9cqw 7cqw 7cqw; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 3cqw; background: #0B0C10; box-shadow: 0 6cqw 12cqw -6cqw #000, inset 0 1px 0 rgba(255,255,255,.07); font: 3.4cqw/1.4 var(--body); }
.wd-chat-h { display: flex; align-items: center; gap: 2cqw; padding: 3cqw 3.6cqw; border-bottom: 1px solid rgba(255,255,255,.08); }
.wd-chat-h i { width: 2cqw; height: 2cqw; border-radius: 50%; background: #A9C1FF; box-shadow: 0 0 0 1cqw rgba(169,193,255,.16); }
.wd-chat-h b { font-weight: 500; }
.wd-chat-h span { margin-left: auto; color: var(--faint); font-size: 2.4cqw; letter-spacing: .14em; text-transform: uppercase; }
.wd-log { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2cqw; padding: 3.6cqw; }
.wd-b { max-width: 82%; padding: 2cqw 3cqw; border: 1px solid rgba(255,255,255,.14); border-radius: 2.6cqw 2.6cqw 2.6cqw .8cqw; background: #15161C; color: #E4E6EB; }
.wd-b.me { align-self: flex-end; border-color: #F2F2F2; border-radius: 2.6cqw 2.6cqw .8cqw 2.6cqw; background: #F2F2F2; color: #0A0A0C; }
.wd-dots { display: flex; gap: 1.2cqw; align-self: flex-start; padding: 2.6cqw 3cqw; border: 1px solid rgba(255,255,255,.14); border-radius: 2.6cqw 2.6cqw 2.6cqw .8cqw; }
.wd-dots i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #fff; opacity: .5; }
.wd-in { display: flex; align-items: center; justify-content: space-between; margin: 0 3.6cqw 3.6cqw; padding: 2.4cqw 3cqw; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; color: #6E727C; font-size: 2.8cqw; }
.wd-in i { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #F2F2F2; }
.wd-last { display: grid; } .wd-last > * { grid-area: 1 / 1; justify-self: start; } .wd-last .wd-dots { opacity: 0; }

/* 03 a sample ad on a phone */
.wd-phone { position: absolute; left: 50%; top: 9cqw; width: 50cqw; aspect-ratio: 9 / 16; margin-left: -25cqw; overflow: hidden; border: 1.6cqw solid #17181D; border-radius: 7cqw; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 8cqw 16cqw -6cqw #000; font: 2.8cqw/1.3 var(--body); color: #fff; }
.wd-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 45%; }
.wd-ad-top { position: absolute; left: 3.4cqw; right: 3.4cqw; top: 4.4cqw; display: flex; align-items: center; gap: 2cqw; }
.wd-ad-top i { width: 6cqw; height: 6cqw; border: .5cqw solid #fff; border-radius: 50%; background: linear-gradient(135deg, #F2F2F2, #8A8E98); }
.wd-ad-top span { color: rgba(255,255,255,.8); font-size: 2.3cqw; }
.wd-ad-top b { display: block; color: #fff; font-size: 2.8cqw; }
.wd-ad-bot { position: absolute; left: 0; right: 0; bottom: 0; padding: 10cqw 3.4cqw 3.4cqw; background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.wd-ad-bot p { margin: 0 0 2.4cqw !important; font-size: 3.2cqw; font-weight: 600; }
.wd-ad-bot em { display: block; padding: 2.2cqw 0; border-radius: 1.6cqw; background: #fff; color: #000; font-size: 2.8cqw; font-weight: 600; text-align: center; }
.wd-tag { position: absolute; top: 4cqw; left: 4cqw; padding: 1cqw 2.4cqw; border: 1px solid rgba(255,255,255,.24); border-radius: 99px; background: rgba(0,0,0,.5); color: #C9CCD3; font: 500 2.4cqw/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; }

/* 04 how we work: three steps on a rail */
.wd-how { display: grid; align-content: center; }
.wd-steps { position: relative; display: grid; gap: 4cqw; margin: 0 8cqw !important; padding: 0; list-style: none; }
.wd-steps li { position: relative; display: grid; grid-template-columns: 9cqw 1fr; align-items: center; gap: 3cqw; padding: 3.6cqw 4cqw 3.6cqw 0; border: 1px solid rgba(169,193,255,.4); border-radius: 2.6cqw; background: rgba(11,12,16,.9); font: 3cqw/1.35 var(--body); color: var(--muted); }
.wd-steps li > i { justify-self: center; width: 3.2cqw; height: 3.2cqw; border: .5cqw solid #A9C1FF; border-radius: 50%; background: #A9C1FF; box-shadow: 0 0 0 1.2cqw rgba(169,193,255,.18); }
.wd-steps small { display: block; color: var(--faint); font-size: 2.2cqw; letter-spacing: .16em; text-transform: uppercase; }
.wd-steps b { display: block; margin: .4cqw 0 .2cqw; color: #fff; font: 600 4.6cqw/1.05 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.wd-rail { position: absolute; left: 12.5cqw; top: 22%; bottom: 22%; width: 1px; margin-left: -.5px; background: rgba(255,255,255,.14); }
.wd-rail i { position: absolute; inset: 0; background: #A9C1FF; transform-origin: 50% 0; }

@media (max-width: 1100px) { .wd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wd { grid-template-columns: minmax(0, 1fr); gap: 14px; } .wd-vis { aspect-ratio: 1 / .92; } .wd-txt { padding: 20px 18px 22px; } }

/* ===== Round 4 notes (Python, Dec 3): ai.html agents. The star map is back over three bigger, longer scenes ===== */
.ag-map { margin-bottom: clamp(48px, 7vw, 96px); }
.ag-map .smap .sig { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(169,193,255,.22), 0 0 18px 4px rgba(169,193,255,.55); pointer-events: none; opacity: 0; }
.ag-map .node.core .st polygon { fill: #fff; }
.ag-map .node.core .st { filter: drop-shadow(0 0 14px rgba(190,210,255,.8)); }
.ag-map .panel h3 { margin: 0; }
/* round 5 (Dec 3): the three agents as wide alternating rows. The scene is a large stage on one side, the words on the other. */
#agents .ag-big { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
.ag-big .agent { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; column-gap: clamp(40px, 6vw, 104px); padding: clamp(44px, 5.5vw, 80px) 0; background: none; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.ag-big .agent:hover { transform: none; }
.ag-big .agent:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.ag-big .agent:nth-child(even) .ag-pic { order: 2; }
.ag-big .ag-pic { aspect-ratio: 16 / 10.4; margin: 0; border: 1px solid rgba(220,228,242,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 60px 90px -60px #000; background: radial-gradient(70% 70% at 50% 0%, rgba(169,193,255,.14), transparent 70%), linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 100% 22px, linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 22px 100%, #05060A; }
.ag-big .ui { inset: 8% 0 8% 50%; width: min(86%, 560px); margin-left: calc(min(86%, 560px) / -2); border-radius: 12px; font-size: clamp(12px, 2.3cqw, 16px); }
.ag-txt { max-width: 44ch; }
.ag-big [data-ag="report"] .ui .bars { height: 7.4em; }
.ag-big [data-ag="report"] .ui-b { gap: .8em; }
.ag-txt .ag-n { display: flex; align-items: center; gap: 14px; margin: 0 0 20px !important; padding: 0 !important; color: #C4D3FF !important; font: 500 12px/1.3 var(--body) !important; letter-spacing: .2em; text-transform: uppercase; }
.ag-txt .ag-n::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ag-big .ag-txt h3 { margin: 0; padding: 0; font: 600 clamp(32px, 3.3vw, 52px)/.98 var(--disp); letter-spacing: .01em; text-transform: uppercase; }
.ag-big .ag-txt > p:last-child { margin: 20px 0 0; padding: 0; color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; }
.ag-note { margin: 18px 0 0; color: var(--faint); font-size: 14px; }
@media (max-width: 900px) {
  .ag-big .agent, .ag-big .agent:nth-child(even) { grid-template-columns: minmax(0, 1fr); row-gap: 26px; padding: 40px 0; }
  .ag-big .agent:nth-child(even) .ag-pic { order: 0; }
  .ag-big .ag-pic { aspect-ratio: 4 / 3.8; }
  .ag-big .ui { inset: 6% 0 6% 50%; width: 90%; margin-left: -45%; }
}
/* chat: the newest message sits at the bottom, older ones scroll up and out */
[data-ag="chat"] .ui-b { justify-content: flex-end; }
.ui .slot { display: grid; }
.ui .slot > * { grid-area: 1 / 1; }
.ui .slot .dots { align-self: start; justify-self: start; margin: 0; opacity: 0; }
.ui .slot .bub { justify-self: start; }
[data-ag="chat"] .note { border-color: rgba(110,231,160,.45); background: rgba(110,231,160,.1); color: #9BEFC0; }
/* reviews */
.ui .rv { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .7em; }
.ui .rv b { display: block; font-weight: 500; }
.ui .rv .stars { color: #F5C451; }
.ui .rv .av { width: 2.3em; height: 2.3em; }
.ui .draft { display: grid; gap: .15em; white-space: normal; }
.ui .draft .lbl { display: flex; align-items: center; gap: .5em; }
.ui .draft .live { width: .5em; height: .5em; border-radius: 50%; background: #A9C1FF; }
.ui .dl { display: block; white-space: nowrap; overflow: hidden; }
.ui .toast { position: absolute; left: 0; right: 0; bottom: .9em; display: flex; align-items: center; gap: .5em; width: max-content; margin: 0 auto; white-space: nowrap; padding: .45em .8em; border-radius: 99px; background: #F2F2F2; color: #0A0A0C; font-size: .86em; font-weight: 500; box-shadow: 0 10px 24px -10px #000; }
[data-ag="reviews"] .ap { background: rgba(110,231,160,.12); color: #9BEFC0; border-color: rgba(110,231,160,.5); }
[data-ag="reviews"] .acts { margin-bottom: 2.2em; }
/* weekly report */
.ui .kp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5em; }
.ui .kp > div { padding: .45em .6em; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; background: #111217; }
.ui .kp small { display: block; color: var(--faint); font-size: .72em; letter-spacing: .12em; text-transform: uppercase; }
.ui .kp b { font-weight: 500; font-size: 1.25em; font-variant-numeric: tabular-nums; }
.ui .bars { display: flex; align-items: flex-end; gap: .45em; height: 4.4em; flex: none; padding-top: .3em; border-bottom: 1px solid rgba(255,255,255,.12); }
.ui .bars i { flex: 1; border-radius: 3px 3px 0 0; background: rgba(169,193,255,.32); transform-origin: 50% 100%; }
.ui .bars i.hi { background: #A9C1FF; box-shadow: 0 0 16px rgba(169,193,255,.45); }
.ui .days { display: flex; gap: .45em; margin-top: -.3em; color: var(--faint); font-size: .72em; }
.ui .days span { flex: 1; text-align: center; }
.ui .pts .fix { align-self: start; padding: .3em .6em; border: 1px solid rgba(245,196,81,.45); border-radius: 4px; background: rgba(245,196,81,.08); color: #F5D58A; }
.ui .pts .fix::before { background: #F5C451; }

/* round 5 (Dec 3): on computers "Our services" is an index, not a card grid. Four big service rows on the left, one large
   stage on the right that shows the live sample for the row in focus (altair.js picks it on hover/focus and moves on by itself). */
@media (min-width: 1001px) {
  .wd { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 48%; column-gap: clamp(48px, 5vw, 88px); }
  .wd::after { content: ""; grid-column: 2; grid-row: 1 / span 4; aspect-ratio: 1 / 1.04; } /* gives the stage its height */
  .wd > li { grid-column: 1; display: grid; border-top: 1px solid var(--line-2); }
  .wd > li:last-child { border-bottom: 1px solid var(--line-2); }
  .wd-card, .wd-card:hover, .wd-card:focus-visible { display: grid; height: auto; border: 0; background: none; box-shadow: none; transform: none; }
  .wd-card:focus-visible { outline-offset: -2px; }
  .wd-vis { position: absolute; top: 0; right: 0; width: 48%; aspect-ratio: 1 / 1.04; border: 1px solid rgba(220,228,242,.22); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 60px 100px -60px #000; opacity: 0; visibility: hidden; }
  .wd > li.on .wd-vis { opacity: 1; visibility: visible; z-index: 1; }
  .wd-txt { position: relative; align-self: center; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 32px; row-gap: 10px; padding: 26px 0; }
  .wd-txt h3 { grid-column: 1; color: rgba(242,242,242,.36); font-size: clamp(36px, 3.6vw, 58px); line-height: .95; letter-spacing: .01em; transition: color .35s; }
  .wd-txt p { grid-column: 1; max-width: 46ch; color: var(--faint); transition: color .35s; }
  .wd-more { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; padding: 0; border: 0; color: rgba(242,242,242,.45); transition: color .35s; }
  .wd > li.on .wd-txt h3 { color: #fff; }
  .wd > li.on .wd-txt p { color: var(--muted); }
  .wd > li.on .wd-more { color: #fff; }
  .wd-prog { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
  .wd > li:not(.on) .wd-prog { visibility: hidden; }
}
/* phones and tablets: each service is a full-width block, the picture first, no card boxes */
@media (max-width: 1000px) {
  .wd { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .wd-card { border: 0; border-top: 1px solid var(--line-2); background: none; box-shadow: none; padding: 28px 0 32px; }
  .wd-card:hover, .wd-card:focus-visible { transform: none; }
  .wd-vis { border: 1px solid rgba(220,228,242,.2); }
  .wd-txt { padding: 22px 0 0; }
  .wd-txt h3 { font-size: clamp(32px, 8vw, 44px); }
  .wd-prog { display: none; }
  .wd-pop { top: 20cqw; bottom: auto; }
}

/* ===== Dec 3 notes round (Astra) ===== */
/* AI page: three agents */
.agents-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .agents-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .agents-3 { grid-template-columns: 1fr; } }
/* ads: the $500 credit, made to pop (Ralph: "make this pop more like way more") */
.credit { position: relative; margin: 48px 0 0; padding: clamp(32px, 5vw, 64px); border: 1px solid transparent; border-radius: 4px; background: radial-gradient(120% 140% at 100% 0%, rgba(120,160,255,.28), transparent 55%), radial-gradient(90% 120% at 0% 100%, rgba(255,214,140,.16), transparent 60%), linear-gradient(#07080B, #07080B) padding-box, linear-gradient(120deg, rgba(255,255,255,.9), rgba(140,175,255,.55) 35%, rgba(255,255,255,.12) 60%, rgba(255,214,140,.7)) border-box; box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 40px 120px -40px rgba(120,160,255,.55); overflow: hidden; }
.credit::after { content: ""; position: absolute; right: -6%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.22), rgba(140,175,255,.08) 40%, transparent 70%); pointer-events: none; }
.credit-eye { margin: 0; font: 500 14px/1 var(--body); letter-spacing: .28em; text-transform: uppercase; color: #CFE0FF; }
.credit-big { margin: 14px 0 0; font: 600 clamp(28px, 3.4vw, 48px)/.95 var(--disp); letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.credit-big span { display: block; font-size: clamp(110px, 17vw, 240px); line-height: .82; letter-spacing: 0; background: linear-gradient(180deg, #fff 30%, #9DB8FF 75%, #FFD68C); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(140,175,255,.35)); }
.credit-big em { font-style: normal; }
.credit-copy { position: relative; margin: 20px 0 0; max-width: 54ch; color: #D0D2D8; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.credit-row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.credit-row small { color: var(--faint); font-size: 13px; }
@media (max-width: 560px) { .credit-row .btn { width: 100%; } }
/* ads: who it's for (Dec 3 round 2) */
.q-fit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.q-fit li { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--line-2); background: var(--bg-2); }
.q-fit b { font: 600 clamp(22px, 2vw, 28px)/1.05 var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.q-fit p { margin: 0; color: var(--muted); }
.q-fit .yes { border-top: 3px solid #3DDC84; } .q-fit .maybe { border-top: 3px solid #FFC857; }
.q-fit .cta { border-color: rgba(255,255,255,.6); background: linear-gradient(160deg, rgba(140,175,255,.16), rgba(255,255,255,.02)); }
.q-fit .cta .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .q-fit { grid-template-columns: 1fr; } }
/* qualify.html: the Google credit note under "What happens next" */
.q-credit { margin-top: 28px; padding: 20px 22px; border: 1px solid rgba(140,175,255,.45); background: linear-gradient(160deg, rgba(140,175,255,.14), transparent); }
.q-credit b { display: block; font: 600 20px/1.1 var(--disp); letter-spacing: .05em; text-transform: uppercase; color: #CFE0FF; }
.q-credit p { margin: 8px 0 0; color: #D0D2D8; font-size: 15px; line-height: 1.5; }
.q-credit small { display: block; margin-top: 6px; color: var(--faint); font-size: 13px; }
