/* Public site (Razor Pages on _MarketingLayout). The signed-in app has its own
   styles; nothing here is used there.

   The look: a white page, black type, grey "screens", and one accent, the red of
   the agent's pen. Red is only ever a mark someone made: strokes, never text or
   buttons. Atkinson Hyperlegible Next throughout. */

:root {
    --paper: #ffffff;
    --ink: #000000;
    --text: #2b2f35;
    --muted: #5c636d;
    --screen: #eef0f3;
    --line: #d5d9df;
    --pen: #e3211b;
    --bottle: #2c4a3e;
    --sienna: #9a5233;
    --sienna-light: #d9926e;
    --guide-pen: #2c4a3e;
    --wrap: 1180px;
    --gutter: 16px;
    --font: 'Atkinson Hyperlegible Next', 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (min-width: 700px) {
    :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font: 400 1.0625rem/1.6 var(--font);
    overflow-x: hidden;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration-color: var(--sienna); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
::selection { background: rgba(154, 82, 51, 0.28); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { color: var(--ink); font-weight: 800; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* Narrow sections keep the page's left edge; only their content is limited. */
.wrap.narrow > * { max-width: 780px; }

.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 2000; background: var(--ink); color: var(--paper); padding: 8px 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 1000; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { width: 32px; height: 28px; }
.logo span { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 1px solid var(--ink); border-radius: 6px; color: var(--ink); font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
    position: absolute; right: 0; top: calc(100% + 8px);
    width: min(280px, calc(100vw - 2 * var(--gutter)));
    background: var(--paper); border: 1px solid var(--ink); border-radius: 8px; padding: 8px;
}
.menu-panel a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; }
.menu-panel a:hover { background: var(--screen); }
.menu-panel .btn { margin-top: 6px; width: 100%; justify-content: center; }

@media (min-width: 900px) {
    .nav-links { display: flex; }
    .menu { display: none; }
}

/* Buttons: black, square-ish, no glow */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 22px; border-radius: 6px; border: 2px solid var(--ink);
    font: 700 1rem/1 var(--font); text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--paper) !important; }
.btn-primary:hover { background: #2b2f35; border-color: #2b2f35; }
.btn-ghost { background: var(--paper); color: var(--ink) !important; }
.btn-ghost:hover { background: var(--screen); }
.btn-small { padding: 9px 16px; font-size: 0.95rem; }

/* Page heads */
.hero { padding: 56px 0 24px; }
.hero h1 { max-width: 14ch; }
.lede { font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.5; color: var(--text); max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.small-print { color: var(--muted); font-size: 0.95rem; margin-top: 14px; }
@media (min-width: 900px) { .hero { padding: 88px 0 32px; } }

.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* Sections: whitespace does the separating */
.section { padding: 48px 0; }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
@media (min-width: 900px) { .section { padding: 80px 0; } }

.grid { display: grid; gap: 32px 40px; }
@media (min-width: 700px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* A "card" is just a heading and a paragraph; no box. */
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--muted); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
    content: ""; position: absolute; left: 2px; top: 0.42em; width: 14px; height: 8px;
    border-left: 2.5px solid var(--sienna); border-bottom: 2.5px solid var(--sienna); transform: rotate(-45deg);
}
.crosses li::before { border: 0; width: 14px; height: 2.5px; background: var(--muted); transform: none; top: 0.75em; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--ink); margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }


/* Screens: product images and the demo sit in plain grey frames */
.shot { margin: 0; }
.shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.shot figcaption { padding-top: 10px; color: var(--muted); font-size: 0.95rem; }

kbd {
    display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; padding: 0 0.4em;
    border: 1.5px solid var(--ink); border-bottom-width: 3px; border-radius: 6px;
    font: 700 0.95rem/1 var(--font); color: var(--ink); background: var(--paper);
}

code, pre { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: 0.9em; }
code { background: var(--screen); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
pre { background: var(--screen); border-radius: 8px; padding: 16px 18px; overflow-x: auto; line-height: 1.5; margin: 0 0 1.2em; }
pre code { background: none; padding: 0; overflow-wrap: normal; }

/* Prose: docs, legal */
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--ink); }
.prose .meta { color: var(--muted); font-size: 0.95rem; }

.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
th, td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--ink); font-weight: 700; }

.docs { display: grid; gap: 32px; }
.docs > * { min-width: 0; }
.docs nav ul { list-style: none; padding: 0; margin: 0; }
.docs nav a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; }
.docs nav a:hover { color: var(--ink); text-decoration: underline; }
@media (min-width: 1000px) {
    .docs { grid-template-columns: 220px 1fr; }
    .docs nav { position: sticky; top: 92px; align-self: start; }
}

/* Pricing */
.plans { display: grid; gap: 20px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); }
.plan h2 { font-size: 1.35rem; margin-bottom: 0.2em; }
.plan .price { font-weight: 800; font-size: 2.8rem; line-height: 1.1; color: var(--ink); margin: 10px 0 2px; letter-spacing: -0.02em; }
.plan .price small { font-size: 1rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan .per { color: var(--muted); margin-bottom: 18px; }
.plan .ticks { flex: 1; }
.plan .btn { justify-content: center; }

/* Questions: open by default on a page this short; details only where long */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq details p { margin: 10px 0 0; }

.qa { display: grid; gap: 28px 48px; }
@media (min-width: 800px) { .qa { grid-template-columns: 1fr 1fr; } }
.qa h3 { margin-bottom: 0.3em; }
.qa p { color: var(--muted); margin: 0; }

.callout { background: var(--screen); border-radius: 8px; padding: 20px 22px; }
.callout strong { color: var(--ink); }

.cta-band { padding: 64px 0 80px; }
.cta-band h2 { max-width: 20ch; }

/* Footer */
.site-footer { background: var(--screen); padding: 48px 0 28px; margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.site-footer h2 { font-size: 1rem; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-legal { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 0.875rem; }
.footer-legal p { margin: 0 0 6px; }

/* A browser window drawn plainly: grey bar, three dots, the page. */
.window { border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--paper); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--screen); border-bottom: 1.5px solid var(--ink); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink); }
.window-bar b { margin-left: 10px; font-weight: 700; font-size: 0.8rem; color: var(--ink); }
.you .window-bar { background: var(--ink); }
.you .window-bar i { border-color: var(--paper); }
.you .window-bar b { color: var(--paper); }

/* Use cases: a plain list of short paragraphs */
.uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 48px; }
@media (min-width: 800px) { .uses { grid-template-columns: repeat(3, 1fr); } }
.uses h3 { margin-bottom: 0.3em; }
.uses p { color: var(--muted); margin: 0 0 0.6em; }

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; }
}

.snippet { margin: 0; font-size: 0.95rem; }

/* ---------- Home: try it with your phone (site-phone-demo.js, demo-viewer bundle) ---------- */

.phone-demo [hidden] { display: none !important; }
.phone-demo .split { align-items: center; }
.phone-demo .on-computer { display: none; font-weight: 700; color: var(--ink); }
@media (max-width: 899px) {
    .phone-demo .actions, .phone-demo .small-print, .phone-demo .phone-side { display: none; }
    .phone-demo .on-computer { display: block; }
}
.phone-side {
    min-height: 480px; display: grid; justify-items: center; align-content: center; gap: 16px;
    background: var(--screen); border-radius: 10px; padding: 28px 16px;
}
.phone-outline {
    display: grid; justify-items: center; align-content: center; gap: 14px;
    width: 210px; height: 380px; padding: 20px; box-sizing: border-box; text-align: center;
    border: 10px solid var(--ink); border-radius: 32px; background: var(--paper);
}
.phone-outline p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.phone-outline .btn { white-space: nowrap; }
.phone-qr { display: grid; justify-items: center; gap: 14px; }
.phone-qr-code { padding: 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 10px; }
.phone-qr svg { display: block; width: 200px; height: 200px; }
.phone-qr-actions { display: flex; gap: 8px; }
.phone-qr-actions button { font: 700 0.9rem var(--font); padding: 7px 14px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); cursor: pointer; }
.phone-qr-actions button:disabled { opacity: 0.5; cursor: default; }
.phone-qr:not([hidden]) + .phone-frame + .phone-tools + .phone-status { display: flex; gap: 8px; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); }
.phone-qr:not([hidden]) + .phone-frame + .phone-tools + .phone-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sienna); animation: phone-wait 1.4s ease-in-out infinite; }
@keyframes phone-wait { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .phone-status::before { animation: none !important; } }
.phone-frame { display: grid; justify-items: center; width: 100%; max-width: 340px; }
.phone-screen { position: relative; overflow: hidden; border: 10px solid var(--ink); border-radius: 28px; background: #fff; box-sizing: content-box; }
.phone-scale { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.phone-mount { position: absolute; inset: 0; pointer-events: none; overflow: hidden; background: #fff; }
.phone-mount .replayer-wrapper { position: relative; float: none; }
.phone-mount iframe { display: block; border: 0; background: #fff; }
.phone-ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 15; overflow: visible; }
.phone-ink .cosurf-drawing-path { vector-effect: non-scaling-stroke; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.phone-ink .cosurf-drawing-fade { animation: phone-ink-fade 6s ease-in forwards; }
@keyframes phone-ink-fade { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
.phone-overlay { position: absolute; inset: 0; z-index: 20; cursor: crosshair; touch-action: none; }
.phone-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.phone-tools button { font: 700 0.95rem var(--font); padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); color: var(--ink); cursor: pointer; }
.phone-tools button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.phone-status { margin: 0; min-height: 1.6em; color: var(--muted); text-align: center; max-width: 34ch; }

/* ---------- Colour: bottle green for the closing band and the guide; burnt sienna for the logo, highlighter and accents ---------- */

.cta-band { background: var(--bottle); color: #fff; padding: 72px 0 88px; }
.cta-band h2 { color: #fff; }
.cta-band .btn-primary { background: var(--sienna); color: #fff !important; border-color: var(--sienna); }
.cta-band .btn-primary:hover { background: #84432a; border-color: #84432a; }
.cta-band .btn-ghost { background: transparent; color: #fff !important; border-color: #fff; }
main:has(> .cta-band:last-child) + .site-footer { margin-top: 0; }

/* ---------- Home: Alex shows the visitor round (site-guide.js) ---------- */

.home-hero { padding-bottom: 56px; }
.home-hero h1 { max-width: none; font-size: clamp(2.8rem, 8.4vw, 7rem); line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 0.45em; }
.home-hero h1 span { white-space: nowrap; }
.hero-foot { display: grid; gap: 8px 64px; align-items: start; }
.hero-foot .actions { margin-top: 4px; }
@media (min-width: 900px) { .hero-foot { grid-template-columns: 1.1fr 1fr; } .home-hero { padding: 104px 0 96px; } }

.home-row { border-top: 1px solid var(--line); }
.home-row .split { align-items: center; }

/* The mirror: this page, replayed into a plain window. */
.mirror { margin: 0; }
.mirror-screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--screen); }
.mirror-scale { position: absolute; top: 0; left: 0; transform-origin: 0 0; }
.mirror-mount iframe { border: 0; display: block; }
.mirror .replayer-wrapper { position: relative; }

/* Tools: one row each, so the guide can use every tool on its own row. */
.toolrows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.toolrows li { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.toolrows kbd { grid-row: span 2; font-size: 1.15rem; min-width: 2.2em; height: 2.2em; transition: background 0.2s, color 0.2s; }
.toolrows b { color: var(--ink); font-size: 1.2rem; justify-self: start; }
.toolrows span { color: var(--muted); justify-self: start; }
.toolrows li.on kbd { background: var(--sienna); border-color: var(--sienna); color: #fff; }
.toolrows .toy { grid-column: 2; display: flex; gap: 10px; align-items: center; margin-top: 8px; }
@media (min-width: 900px) {
    .toolrows li { grid-template-columns: auto 14rem 1fr auto; gap: 24px; }
    .toolrows kbd { grid-row: auto; }
    .toolrows .toy { grid-column: auto; margin-top: 0; }
}
.toy-field { display: inline-block; min-width: 12em; height: 2.4em; line-height: 2.2em; padding: 0 0.7em; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink) !important; background: var(--paper); }
.toy-field.typing { border-color: var(--ink); }
.toy-field.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1.1em; margin-left: 1px; vertical-align: -0.15em; background: var(--ink); animation: guide-caret 0.8s steps(1) infinite; }
.toy-btn { display: inline-block; padding: 0.55em 1em; border-radius: 6px; background: var(--ink); color: var(--paper) !important; font-weight: 700; font-size: 0.95rem; transition: transform 0.12s; }
.pressed { transform: scale(0.95); }
@keyframes guide-caret { 50% { opacity: 0; } }

.toy-form { display: grid; gap: 12px; max-width: 360px; margin: 8px 0 24px; padding: 18px; border: 1.5px solid var(--ink); border-radius: 10px; }
.toy-form label { display: grid; gap: 4px; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.toy-form input { font: 400 1rem var(--font); padding: 9px 11px; border: 1.5px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper); }
.toy-form input.typing { border-color: var(--ink); }

/* Online tutoring: a student's working, with one step wrong. */
.toy-work { padding: 28px; border: 1.5px solid var(--ink); border-radius: 10px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.toy-work p { margin: 0 0 0.5em; }
.toy-work p:last-child { margin: 0; }
.toy-work .toy-q { font-size: 1rem; font-weight: 400; color: var(--muted); }
.toy-ans { display: inline-block; min-width: 3ch; transition: color 0.3s; }
.toy-ans.fixed { color: var(--bottle); }

/* Use cases: one row each, the job on the left and what you do on the right. */
.caserows { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.caserows li { display: grid; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .caserows li { grid-template-columns: 17rem 1fr; } }
.caserows h2 { font-size: 1.35rem; margin: 0; }
.caserows p { margin: 0 0 0.5em; max-width: 62ch; }
.caserows .eg { color: var(--muted); margin: 0; }

/* The guide: drawn in page coordinates so marks stay on what they mark. */
.guide-layer { position: absolute; top: 0; left: 0; width: 100%; height: 0; overflow-x: clip; overflow-y: visible; z-index: 1100; pointer-events: none; transition: opacity 0.8s; }
.guide-layer.leaving { opacity: 0; }
.guide-cursor { position: absolute; top: 0; left: 0; will-change: transform; }
.guide-cursor svg { display: block; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25)); transition: transform 0.12s; transform-origin: 2px 2px; }
.guide-cursor.press svg { transform: scale(0.85); }
.guide-cursor b { position: absolute; left: 18px; top: 20px; background: var(--guide-pen); color: #fff; font: 700 0.8rem/1 var(--font); padding: 5px 9px; border-radius: 99px; white-space: nowrap; box-shadow: 0 0 0 2px #fff; }
.guide-ink { position: absolute; overflow: visible; transition: opacity 0.8s; }
.guide-ink path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.guide-ink.gone, .guide-hl.gone { opacity: 0; }
.guide-hl { position: absolute; background: var(--sienna); opacity: 0.35; mix-blend-mode: multiply; border-radius: 3px; transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.5s ease-out, opacity 0.8s; }
.guide-hl.on { transform: scaleX(1); }
.guide-spot { position: absolute; border-radius: 10px; box-shadow: 0 0 0 300vmax rgba(16, 24, 20, 0.6); opacity: 0; transition: opacity 0.5s; }
.guide-spot.on { opacity: 1; }
.guide-ring { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2.5px solid var(--guide-pen); border-radius: 50%; animation: guide-ring 0.6s ease-out forwards; }
@keyframes guide-ring { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* The demo version of the bar a visitor sees while an agent is with them. */
.guide-bar {
    position: fixed; left: 50%; bottom: 16px; z-index: 1200; transform: translate(-50%, 150%);
    display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 2 * var(--gutter));
    background: var(--guide-pen); color: #fff; border-radius: 99px; padding: 8px 8px 8px 18px;
    font-size: 0.95rem; font-weight: 700; line-height: 1.3; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.45s cubic-bezier(.2, .8, .2, 1);
}
.guide-bar.on { transform: translate(-50%, 0); }
.guide-bar::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--sienna-light); }
.guide-bar button { flex: none; font: 700 0.95rem var(--font); background: #fff; color: var(--ink); border: 0; border-radius: 99px; padding: 8px 16px; cursor: pointer; }
.guide-bar button:focus-visible { outline: 3px solid var(--sienna-light); }
@media (max-width: 599px) { .guide-bar { border-radius: 14px; font-size: 0.85rem; } }

/* Co-browsing becomes CoSurf: the guide's pen marks inside the headline. */
.hand-swap { position: relative; }
.hand { position: absolute; overflow: visible; pointer-events: none; }
.hand path { fill: none; stroke-width: 5px; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.hand-strike { left: -1%; width: 102%; top: 34%; height: 44%; }
.hand-word { left: 22%; bottom: 76%; width: 36%; height: auto; aspect-ratio: 90 / 58; transform: rotate(-5deg); }
.guide-write path { stroke-width: 3px; }
.guide-write path.halo { stroke: var(--paper); stroke-width: 9px; }
