/* =====================================================================
   7purple site styles
   ---------------------------------------------------------------------
   1. Colours and fonts   <- change the look of the whole site here
   2. Basics
   3. Shared pieces       (labels, buttons, link lists, proof box)
   4. Header and menu
   5. Homepage sections   (hero, audiences, stages, phone lines, tools, questions)
   5b. Inner pages        (page opening, closing band, and each page's own pieces)
   6. Footer
   7. Wider screens
   8. Reduced motion
   9. Forms, Friction Finder, calculators, newsletter and chat (with their own wide-screen and reduced-motion rules)
   ===================================================================== */

/* ---------- 1. Colours and fonts ---------- */
/* Figtree is served from this site (assets/fonts). One file covers every weight. Licence: SIL Open Font Licence. */
@font-face {
  font-family: 'Figtree';
  src: url('../fonts/figtree-latin.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
:root {
  --paper: #f6f0e4;   /* page background */
  --card: #fffaf0;    /* panels on the page background */
  --ink: #1b1420;     /* text and outlines */
  --muted: #5d5463;   /* secondary text */
  --deep: #600060;    /* darkest brand purple */
  --plum: #6b00b3;    /* main brand purple: buttons, ticks */
  --purple: #800080;  /* building sign and door */
  --violet: #8020e0;  /* building sign and door */
  --lilac: #e080e0;   /* light brand purple: lit windows, highlights */
  --mist: #f1dcf9;    /* palest purple: soft fills */
  --ok: #1f8a4c;      /* "answering now" dot */
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --outline: 2.5px solid var(--ink);
}

/* ---------- 2. Basics ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }
.ring :focus-visible, .door.trade :focus-visible, .ffbox :focus-visible { outline-color: #fff; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--card); padding: 8px 14px; border: var(--outline); border-radius: 10px; }
.plain { padding-block: 72px 96px; }
.plain h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 18px; }
.plain p { color: var(--muted); margin: 0 0 26px; max-width: 34em; }

/* ---------- 3. Shared pieces ---------- */
.label { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: 6px; }

.btn { display: inline-block; font: 800 17px var(--sans); text-decoration: none; color: #fff; background: var(--plum); border: var(--outline); border-radius: 10px; padding: 12px 20px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn.alt { background: var(--card); color: var(--ink); }

.list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: var(--outline); text-decoration: none; font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.list a:first-child { border-top: var(--outline); }
.list a:hover { color: var(--plum); }
.arrow { width: 30px; height: 30px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.list a:hover .arrow { transform: translateX(6px); }

.proof { border: 2.5px dashed var(--muted); border-radius: 16px; padding: 44px 20px; text-align: center; color: var(--muted); margin-bottom: 72px; }
.proof.quote { margin-inline: 0; }
.proof blockquote { margin: 0 auto; max-width: 30em; }
.proof blockquote p { margin: 0; text-wrap: balance; color: var(--ink); font-size: clamp(1.2rem, 2.4vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.35; }
.proof blockquote p::before { content: '\201C'; }
.proof blockquote p::after { content: '\201D'; }
.proof figcaption { margin-top: 14px; font-weight: 800; }
.proof figcaption::before { content: '\2014\00A0'; }

/* ---------- 4. Header and menu ---------- */
.nav { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 18px; }
.nav-logo img { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }
.nav-toggle { font: 800 16px var(--sans); color: var(--ink); background: var(--card); border: var(--outline); border-radius: 10px; padding: 10px 16px; cursor: pointer; }
.nav nav { display: none; width: 100%; }
.nav nav.open { display: block; }
.nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav ul a { display: block; padding: 12px 4px; border-bottom: 2px solid var(--mist); text-decoration: none; font-weight: 600; }
.nav ul a:hover, .nav ul a[aria-current] { text-decoration: underline wavy var(--lilac); text-underline-offset: 6px; }

/* ---------- 5. Homepage sections ---------- */

/* Hero */
.hero { padding-top: 28px; overflow: hidden; }
.hero-top { display: grid; gap: 30px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); margin: 14px 0 20px; }
.hero p { max-width: 33em; font-size: 20px; color: var(--muted); margin: 0 0 26px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Hero: the day's tick list */
.board { background: var(--card); border: var(--outline); border-radius: 16px; min-width: 0; }
.board header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: var(--outline); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.board header span:last-child { color: var(--muted); }
.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 11px 16px; border-bottom: 2px solid var(--mist); opacity: .3; transition: opacity .4s; }
.feed li:last-child { border-bottom: 0; }
.feed li.on { opacity: 1; }
.feed i { width: 26px; height: 26px; border: var(--outline); border-radius: 7px; display: grid; place-items: center; margin-top: 2px; transition: background .3s; }
.feed svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 16; transition: stroke-dashoffset .35s .1s; }
.feed li.done i { background: var(--plum); }
.feed li.done svg { stroke-dashoffset: 0; }
.feed b { font-weight: 800; font-size: 16px; line-height: 1.3; }
.feed time { font-size: 13px; color: var(--muted); margin-left: 8px; }
.feed span { display: block; font-size: 15px; line-height: 1.35; color: var(--muted); }
.feed li.done span { color: var(--plum); font-weight: 600; }

/* Hero: the street. On phones it is wider than the screen and slides to each building. */
.street { position: relative; margin-top: 30px; overflow: hidden; }
.street svg { display: block; width: 230%; height: auto; transition: transform .6s; }
.street text { font: 800 19px var(--sans); fill: var(--paper); text-anchor: middle; }
.street .ground { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.shop .body { stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; transition: transform .25s; }
.shop .roof { fill: var(--ink); }
.shop .wall, .shop .knob { fill: var(--card); }
.shop .knob { stroke: none; }
.shop .fan { fill: var(--mist); }
.shop .bars { stroke-width: 3; }
.shop .tone { fill: var(--tone); }
.shop.tone-1 { --tone: var(--plum); }
.shop.tone-2 { --tone: var(--purple); }
.shop.tone-3 { --tone: var(--deep); }
.shop.tone-4 { --tone: var(--violet); }
.shop .win { fill: var(--card); transition: fill .4s; }
.shop.fixed .win { fill: var(--lilac); }
.shop.live .body { transform: translateY(-6px); }
.hero .tiny { font-size: 13px; max-width: none; text-align: center; margin: 4px 0 0; }
.replay { font: 600 13px var(--sans); color: var(--ink); background: none; border: 0; padding: 0 0 0 8px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Two audiences */
.doors { padding-top: 72px; display: grid; gap: 26px; }
.door { border: var(--outline); border-radius: 16px; padding: 28px; background: var(--card); }
.door h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.door p { margin: 0 0 18px; color: var(--muted); }
.door .list a { font-size: clamp(1.15rem, 2vw, 1.4rem); padding: 14px 4px; }
.doors-other { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.doors-other a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--plum); white-space: nowrap; }
.doors-other a:hover { color: var(--plum); }
.door.trade { background: var(--deep); color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.door.trade .label { background: var(--lilac); color: var(--ink); }
.door.trade p { color: #fff; opacity: .9; }
.price { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: auto 0 18px; }
.price small { font-size: 17px; font-weight: 600; letter-spacing: 0; }

/* Capture, Generate, Retain */
.stops { position: relative; padding-top: 80px; padding-bottom: 30px; }
.stops h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 14em; margin: 0 0 50px; }
.route { position: absolute; left: 2px; top: 210px; width: 40px; height: calc(100% - 270px); }
.route path { fill: none; stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route.bg path { stroke: var(--mist); }
.route.fg path { stroke: var(--plum); }
.stop { position: relative; margin: 0 0 56px 44px; background: var(--card); border: var(--outline); border-radius: 16px; padding: 24px; display: grid; gap: 14px; }
.stop svg { width: 72px; height: 72px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.stop svg .p { fill: var(--lilac); }
.stop h3 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.stop p { margin: 0; color: var(--muted); }
.stop dl { margin: 0; display: grid; gap: 8px; font-size: 16px; }
.stop dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.stop dd { margin: 0 0 4px; padding: 8px 12px; text-wrap: balance; border-radius: 8px; border: 2px dashed var(--muted); }
.stop dd.x { border: 0; background: var(--mist); }

/* Phone lines */
.ring { background: var(--deep); color: #fff; padding-block: 70px; }
.ring .label { background: var(--lilac); color: var(--ink); }
.ring h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 18em; text-wrap: balance; margin: 14px 0 34px; }
.signs { display: grid; gap: 26px; }
.sign { background: var(--card); color: var(--ink); border: var(--outline); border-radius: 16px; padding: 24px; text-decoration: none; display: block; box-shadow: 6px 6px 0 var(--lilac); transition: transform .12s, box-shadow .12s; }
.sign:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--lilac); }
.sign em { font-style: normal; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.sign em::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); animation: blink 1.6s 6; }
@keyframes blink { 50% { opacity: .25; } }
.sign strong { display: block; font-size: clamp(2.3rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 6px 0; }
.sign span { color: var(--muted); font-size: 16px; }

/* Tools */
.tools { padding-block: 80px; display: grid; gap: 26px; }
.ffbox { background: var(--plum); color: #fff; border: var(--outline); border-radius: 16px; padding: 28px; }
.ffbox .label { background: #fff; color: var(--ink); }
.ffbox h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 14px 0 12px; }
.ffbox p { margin: 0 0 22px; opacity: .92; }

/* Questions */
.faq { display: grid; gap: 26px; padding-bottom: 88px; }
.faq h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); margin-top: 14px; }
.faq details { border-bottom: var(--outline); }
.faq details:first-child { border-top: var(--outline); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--plum); }
.faq details p { margin: 0 4px 22px; color: var(--muted); max-width: 40em; }

/* ---------- 5b. Inner pages ---------- */

/* Opening block of an inner page */
.page-hero { padding-block: 44px 56px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); max-width: 13em; margin: 14px 0 20px; }
.page-hero p { max-width: 34em; font-size: 20px; color: var(--muted); margin: 0; }
.page-hero .actions { margin-top: 28px; }

/* Two columns side by side on wide screens */
.two-col { display: grid; gap: 40px; padding-bottom: 80px; }
.two-col h2, .does h2, .cycle h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 20px; }
.two-col p { color: var(--muted); margin: 0 0 20px; }
.small { font-size: 14px; }

/* List with a tick in front of each line */
.ticks { list-style: none; margin: 0 0 20px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 34px; border-bottom: 2px solid var(--mist); font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 14px; height: 8px; border: solid var(--plum); border-width: 0 0 3px 3px; transform: rotate(-45deg); }

/* Label and detail pairs: Worktap terms, contact details */
.terms { margin: 0; }
.terms dt { font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; padding-top: 16px; border-top: var(--outline); }
.terms dd { margin: 4px 0 18px; color: var(--muted); }

/* Closing band */
.cta { background: var(--plum); color: #fff; padding-block: 56px; }
.cta .wrap { display: grid; gap: 24px; align-items: center; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 10px; }
.cta p { margin: 0; opacity: .92; max-width: 34em; }
.cta :focus-visible { outline-color: #fff; }

/* How we work: four numbered steps joined by a line */
.method { list-style: none; counter-reset: step; margin: 0; padding: 0 0 40px; }
.method li { counter-increment: step; position: relative; padding: 0 0 44px 76px; }
.method li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 52px; height: 52px; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 800; font-size: 1.5rem; border: var(--outline); border-radius: 12px; }
.method li::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px; border-left: var(--outline); }
.method li:last-child::after { display: none; }
.method h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); padding-top: 6px; margin-bottom: 12px; }
.method p { color: var(--muted); margin: 0 0 12px; max-width: 40em; }
.method .outcome { display: inline-block; background: var(--mist); color: var(--ink); padding: 8px 12px; border-radius: 8px; font-size: 16px; margin: 0; }
.cycle { padding-bottom: 80px; }
.cycle-row { display: grid; gap: 24px; }
.cycle-row > div { border-top: var(--outline); padding-top: 14px; }
.cycle-row h3 { font-size: 1.8rem; margin-bottom: 8px; }
.cycle-row p { color: var(--muted); margin: 0; }

/* Services: one block per service */
.services { padding-bottom: 40px; }
.service { display: grid; gap: 18px; padding-block: 36px; border-top: var(--outline); scroll-margin-top: 20px; }
.service h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-top: 14px; }
.service p { color: var(--muted); margin: 0 0 16px; }
.service .list a { font-size: clamp(1.15rem, 2vw, 1.4rem); padding: 14px 4px; }
.stage-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Seminars: the running order (numbered like How we work), each part's friction and fix, and the register form */
.agenda h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 32px; }
.method h3 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); padding-top: 6px; margin-bottom: 12px; }
.pair { margin: 0; display: grid; gap: 10px; max-width: 40em; font-size: 16px; }
.pair dt { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pair dd { margin: 4px 0 0; padding: 8px 12px; text-wrap: balance; border-radius: 8px; border: 2px dashed var(--muted); }
.pair dd.x { border: 0; background: var(--mist); }
/* Seminars: next sessions card, a solid card like the homepage stages */
.dates-card { background: var(--card); border: var(--outline); border-radius: 16px; padding: 24px; margin-bottom: 20px; }
.two-col .dates-card h2 { margin: 14px 0 12px; }
.dates-card p { color: var(--muted); margin: 0 0 16px; }
.dates-card .btn { margin-top: 4px; }
.steps { list-style: none; counter-reset: step; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 2px 0 0 44px; min-height: 32px; font-weight: 600; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 800; font-size: 16px; border: var(--outline); border-radius: 8px; box-sizing: border-box; }
.session-list { list-style: none; margin: 0 0 22px; padding: 0; }
.session-list li { display: grid; gap: 2px; padding: 12px 0; border-bottom: 2px solid var(--mist); }
.session-list li:first-child { border-top: 2px solid var(--mist); }
.session-list span { color: var(--muted); }
.dates-note { font-size: 16px; }
.register { padding-bottom: 80px; scroll-margin-top: 20px; }
.register h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 12px; }
.register .door { max-width: 860px; }
.form-grid { display: grid; gap: 0 20px; margin-top: 8px; }
.choice { border: 0; margin: 4px 0 14px; padding: 0; min-width: 0; }
.choice legend { font-weight: 600; font-size: 16px; padding: 0; margin-bottom: 6px; }

/* Worktap */
.worktap-hero { background: var(--deep); color: #fff; padding-block: 56px 64px; }
.worktap-hero .wrap { display: grid; gap: 28px; align-items: end; }
.worktap-hero .label { background: var(--lilac); color: var(--ink); }
.worktap-hero h1 { font-size: clamp(3rem, 8vw, 6rem); margin: 14px 0 16px; }
.worktap-hero p { margin: 0; max-width: 32em; font-size: 20px; opacity: .92; }
.worktap-hero .price { margin: 0 0 18px; }
.worktap-hero :focus-visible { outline-color: #fff; }
.does { padding-block: 72px; }
.does-grid { display: grid; gap: 0 40px; }
.does-grid > div { border-top: var(--outline); padding-block: 16px 22px; }
.does-grid h3 { font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.does-grid p { color: var(--muted); margin: 0; }
aside.door { align-self: start; }

/* About: the desk drawing. One loop of 8 seconds: the phone rings, three bookings fill the diary, a message goes out. */
.desk { display: block; width: 100%; max-width: 420px; height: auto; }
.desk path, .desk rect, .desk circle { fill: none; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.desk .card, .desk .slot { fill: var(--card); }
.desk .lit { fill: var(--lilac); }
.desk .lilac { fill: var(--lilac); }
.desk .plum { fill: var(--plum); }
.desk .thin { stroke-width: 3; }
.desk .tick { stroke: var(--plum); stroke-width: 6; }
.desk .arcs { animation: desk-ring 8s infinite; }
.desk .s1 { animation: desk-s1 8s infinite; }
.desk .s2 { animation: desk-s2 8s infinite; }
.desk .s3 { animation: desk-s3 8s infinite; }
.desk .note { animation: desk-note 8s infinite; }
@keyframes desk-ring { 0%, 4%, 8%, 12% { opacity: 1; } 2%, 6%, 10%, 14%, 100% { opacity: 0; } }
@keyframes desk-s1 { 0%, 18% { fill: var(--card); } 22%, 94% { fill: var(--lilac); } 98%, 100% { fill: var(--card); } }
@keyframes desk-s2 { 0%, 32% { fill: var(--card); } 36%, 94% { fill: var(--lilac); } 98%, 100% { fill: var(--card); } }
@keyframes desk-s3 { 0%, 46% { fill: var(--card); } 50%, 94% { fill: var(--lilac); } 98%, 100% { fill: var(--card); } }
@keyframes desk-note { 0%, 54% { opacity: 0; transform: translate(-30px, 40px); } 62%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translate(40px, -50px); } }

/* Privacy policy and Terms */
.legal { max-width: 780px; padding-block: 56px 88px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin: 0 0 14px; }

/* ---------- 6. Footer ---------- */
.footer { border-top: var(--outline); padding-block: 32px 104px; font-size: 16px; } /* extra space at the bottom so the chat button never covers the last line */
.footer .wrap { display: grid; gap: 18px; }

/* Cookie banner along the bottom of the screen (content/cookies.json). The chat button moves up while it shows. */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 14px 16px; background: var(--card); border-top: var(--outline); font-size: 15px; }
.cookie-banner p { margin: 0; max-width: 72ch; }
.cookie-buttons { display: flex; gap: 12px; }
.cookie-buttons .btn { font-size: 15px; padding: 8px 18px; }
.footer-cookies { font-weight: 400; }

/* ---------- 7. Wider screens ---------- */
@media (min-width: 980px) {
  .nav { flex-wrap: nowrap; }
  .nav-toggle { display: none; }
  .nav nav { display: flex; align-items: center; justify-content: space-between; flex: 1; margin-left: 40px; }
  .nav ul { display: flex; gap: 26px; margin: 0 auto; font-size: 16px; }
  .nav ul a { padding: 0; border: 0; }
}
@media (min-width: 860px) {
  .hero-top { grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; }
  .street { overflow: visible; }
  .street svg { width: 100%; }
  .doors { grid-template-columns: 7fr 5fr; }
  .route { left: 50%; margin-left: -20px; }
  .stops .stop { width: 44%; margin-left: 0; grid-template-columns: 72px 1fr; }
  .stops .stop h3, .stops .stop p, .stops .stop dl { grid-column: 2; }
  .stops .stop:nth-of-type(even) { margin-left: 56%; }
  .stops .stop + .stop { margin-top: -150px; }
  .signs { grid-template-columns: 1fr 1fr; }
  .tools { grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
  .faq { grid-template-columns: 4fr 7fr; gap: 56px; }
  .footer .wrap { grid-template-columns: 2fr 1fr 1fr; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 64px; }
  .two-col.about { grid-template-columns: 4fr 7fr; }
  .cta .wrap { grid-template-columns: 1fr auto; gap: 48px; }
  .cycle-row { grid-template-columns: repeat(3, 1fr); }
  .pair { grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .choices { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: 5fr 7fr; gap: 56px; }
  .worktap-hero .wrap { grid-template-columns: 1fr auto; gap: 64px; }
  .does-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 8. Reduced motion: for visitors who ask their device for less movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .sign em::before { animation: none; }
  .desk .arcs, .desk .slot, .desk .note { animation: none; }
  .desk .slot { fill: var(--lilac); }
  .street svg { width: 100%; }
  .shop .body, .street svg, .feed li, .feed i, .feed svg, .btn, .sign, .arrow { transition: none; }
}

/* ---------- 9. Forms, Friction Finder, calculators, newsletter and chat ---------- */

/* Form fields, used by every form on the site */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trap { position: absolute; left: -9999px; }
label { display: block; font-weight: 600; font-size: 16px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], textarea, select {
  width: 100%; font: 400 17px var(--sans); color: var(--ink); background: var(--card); border: var(--outline); border-radius: 10px; padding: 10px 12px; margin: 4px 0 14px;
}
input:focus-visible, textarea:focus-visible, select:focus-visible { outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 8px 0; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--plum); flex: none; }
.form-status { min-height: 1.6em; margin: 10px 0 0; font-weight: 600; color: var(--plum); }
.guard { margin: 12px 0; }
.guard:empty { margin: 0; }
.link-button { font: 600 16px var(--sans); color: var(--ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-button:hover { color: var(--plum); }
.door .fields { margin-top: 10px; }

/* Friction Finder */
.finder { padding-block: 44px 88px; max-width: 900px; }
.finder h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 14px 0 18px; }
.finder-intro p { color: var(--muted); max-width: 34em; margin: 0 0 24px; }
.finder-intro .small { margin-top: 14px; }
.finder-quiz { background: var(--card); border: var(--outline); border-radius: 16px; padding: 24px; }
.finder-progress { margin-bottom: 18px; }
.bar { display: block; height: 10px; background: var(--mist); border-radius: 5px; overflow: hidden; margin-top: 6px; }
.bar i { display: block; height: 100%; width: 0; background: var(--plum); border-radius: 5px; transition: width .6s cubic-bezier(.22, .61, .36, 1); }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 18px; padding: 0; }
.finder-options, .choices { display: grid; gap: 10px; }
.finder-options label, .choices label { display: flex; gap: 12px; align-items: center; font-weight: 600; border: 2px solid var(--mist); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: var(--paper); }
.finder-options label:hover, .choices label:hover { border-color: var(--lilac); }
.finder-options label:has(input:checked), .choices label:has(input:checked) { border-color: var(--plum); background: var(--mist); }
.finder-options input, .choices input { width: 20px; height: 20px; accent-color: var(--plum); flex: none; margin: 0; }
.finder-hint { min-height: 1.6em; color: var(--plum); font-weight: 600; }
.finder-report:focus { outline: none; }
.report-top { display: grid; gap: 26px; margin-bottom: 40px; }
.score-card { background: var(--card); border: var(--outline); border-radius: 16px; padding: 24px; }
.score-card h2 { font-size: 1.6rem; margin: 18px 0 8px; }
.score-card p { margin: 0; color: var(--muted); }
.score-card .score-label, .score-card .score { color: var(--ink); }
.score-label { font-weight: 800; }
.score { font-size: clamp(4rem, 12vw, 6.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.meter { height: 14px; background: var(--mist); border-radius: 7px; overflow: hidden; margin: 10px 0 6px; }
.meter i { display: block; height: 100%; width: 0; background: var(--plum); transition: width .9s cubic-bezier(.22, .61, .36, 1); }
.report-top h2, .finder-report > h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
.stage-bars { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; }
.stage-bars dt { font-weight: 800; font-size: 1.2rem; }
.stage-bars dd { margin: 0; display: grid; grid-template-columns: 1fr 3ch; gap: 12px; align-items: center; }
.stage-bars .bar { height: 22px; border: var(--outline); border-radius: 8px; margin: 0; background: var(--card); }
.stage-bars .bar i { border-radius: 0; }
.stage-bars b { font-variant-numeric: tabular-nums; text-align: right; }
.leaks { list-style: none; counter-reset: leak; padding: 0; margin: 0 0 40px; display: grid; gap: 14px; }
.leaks li { counter-increment: leak; position: relative; padding: 18px 18px 18px 70px; border: var(--outline); border-radius: 16px; background: var(--card); }
.leaks li::before { content: counter(leak); position: absolute; left: 18px; top: 18px; width: 36px; height: 36px; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 800; border-radius: 10px; }
.leaks h3 { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.2; margin-bottom: 6px; }
.leaks p { margin: 0; color: var(--muted); }
.leaks b { color: var(--ink); }
.finder-form { margin-bottom: 24px; }
.finder-form h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin-bottom: 8px; }
.finder-form > p { color: var(--muted); margin: 0 0 8px; }

/* Calculators */
.calc { display: grid; gap: 28px; padding-bottom: 56px; }
.calc-inputs { background: var(--card); border: var(--outline); border-radius: 16px; padding: 24px; }
.example { margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.calc-input { margin-bottom: 20px; }
.calc-input .number { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 1.2rem; }
.calc-input .number input { max-width: 160px; margin: 6px 0; font-weight: 800; font-size: 1.2rem; }
.calc-input input[type="range"] { width: 100%; accent-color: var(--plum); height: 28px; margin: 0; }
.calc-results { min-width: 0; }
.small-heading { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.result-label { margin: 0; font-weight: 800; }
.result-main { font-size: clamp(3.4rem, 9vw, 5.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin: 6px 0 20px; font-variant-numeric: tabular-nums; color: var(--plum); }
.result-list { margin: 0 0 20px; }
.result-list dt { color: var(--muted); padding-top: 10px; border-top: 2px solid var(--mist); }
.result-list dd { margin: 0 0 10px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.calc-summary { background: var(--mist); border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; }
.calc-email { margin-top: 20px; border-top: var(--outline); padding-top: 14px; }
.calc-email summary { cursor: pointer; font-weight: 800; font-size: 1.2rem; }
.calc-email form { margin-top: 12px; }
.calc-email p { color: var(--muted); margin: 0 0 12px; }
.calc-next { padding-bottom: 88px; }
.calc-next h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 0 0 18px; }
.calc-next .actions { margin-bottom: 48px; }

/* Newsletter, in the footer */
.newsletter { border-top: 2px solid var(--mist); padding-top: 22px; }
.newsletter h2 { font-size: 1.5rem; margin-bottom: 6px; }
.newsletter > p { color: var(--muted); margin: 0 0 12px; }
.newsletter-fields { display: grid; gap: 0 16px; align-items: end; }
.newsletter-fields .btn { margin-bottom: 14px; justify-self: start; }

/* Chat widget: full screen on phones, a floating panel on wider screens */
.chat-launch { position: fixed; right: 16px; bottom: calc(16px + var(--cookie-banner, 0px)); z-index: 20; display: inline-flex; align-items: center; gap: 8px; }
.chat-launch svg, .chat-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chat-panel { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; background: var(--paper); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: var(--outline); background: var(--card); }
.chat-head h2 { font-size: 1.3rem; }
.chat-close { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }
.chat-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: var(--outline); }
.chat-tabs button { font: 800 15px var(--sans); color: var(--ink); background: var(--card); border: 0; padding: 12px 8px; cursor: pointer; }
.chat-tabs button + button { border-left: var(--outline); }
.chat-tabs button[aria-pressed="true"] { background: var(--plum); color: #fff; }
.chat-notice { margin: 0; padding: 8px 16px; font-size: 14px; background: var(--mist); }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; }
.chat-pick p { margin: 0 0 12px; }
.chat-pick h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin: 16px 0 8px; }
.chat-business { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 2px solid var(--mist); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; cursor: pointer; }
.chat-business:hover { border-color: var(--plum); }
.chat-business b { display: block; line-height: 1.25; }
.chat-business small { color: var(--muted); }
.avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; object-fit: cover; display: grid; place-items: center; background: var(--plum); color: #fff; font-weight: 800; font-size: 15px; }
.chat-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.assistant { background: var(--card); border: 2px solid var(--mist); justify-self: start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--plum); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.msg.note { max-width: none; padding: 0; justify-self: start; }
.msg p { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 10px 0 0; white-space: normal; }
.msg a { font-weight: 800; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(3) { animation-delay: .15s; }
.typing i:nth-child(4) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
.chat-actions { margin-top: 18px; display: grid; gap: 8px; justify-items: start; }
.chat-actions p { margin: 0; }
.chat-actions .btn { font-size: 15px; padding: 8px 14px; }
.chat-form { border-top: var(--outline); padding: 10px 16px 14px; background: var(--card); }
.chat-hint { margin: 0; color: var(--plum); font-weight: 600; }
.chat-hint:empty { display: none; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; }
.chat-input textarea { margin: 0; resize: none; }
.chat-input .btn { flex: none; }
.chat-input textarea:disabled, .chat-input textarea:read-only, .chat-input .btn:disabled { opacity: .5; cursor: not-allowed; }

@media (min-width: 860px) {
  .report-top { grid-template-columns: 5fr 7fr; align-items: start; }
  .calc { grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; }
  .newsletter { grid-column: 1 / -1; }
  .newsletter-fields { grid-template-columns: 1fr 1.4fr auto; }
  .chat-panel { inset: auto 24px 88px auto; width: 400px; height: min(640px, calc(100vh - 120px)); border: var(--outline); border-radius: 16px; overflow: hidden; box-shadow: 6px 6px 0 var(--ink); }
  .chat-launch { right: 24px; bottom: calc(24px + var(--cookie-banner, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .bar i, .meter i { transition: none; }
  .typing i { animation: none; opacity: .6; }
}
