/* Colour worlds. --bg page, --fg text, --pop the visitor's name and main action, --alt second accent.
   Midnight and apricot is the Kerno Labs theme; the others are the calm alternatives. */
body { --bg:#16233f; --fg:#f3eee3; --pop:#f2b880; --on-pop:#16233f; --alt:#7fa7a0; }
body[data-world="pine"] { --bg:#173c35; --fg:#f1eddf; --pop:#e9b9a6; --on-pop:#173c35; --alt:#b9c98a; }
body[data-world="porcelain"] { --bg:#f5f1e8; --fg:#1d2340; --pop:#3544a8; --on-pop:#f5f1e8; --alt:#e0a458; }
body[data-world="plum"] { --bg:#33203b; --fg:#f4ecdf; --pop:#e5b567; --on-pop:#33203b; --alt:#b794b0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--fg); font: 16px/1.55 Geist, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--fg); outline-offset: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4vw; }
.logo { font: 400 25px/1 "IBM Plex Sans", sans-serif; letter-spacing: -1.4px; white-space: nowrap; }
.logo i { font-style: normal; margin-right: 8px; } .logo b { font-weight: 600; }
.top nav { display: flex; align-items: center; gap: 30px; font-weight: 500; font-size: 15px; }
.top nav a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.top nav a:not(.cta):hover { text-decoration: underline; text-underline-offset: 6px; }
.cta { padding: 0 18px; border: 1.5px solid currentColor; border-radius: 999px; }
.cta:hover { background: var(--fg); color: var(--bg); }

.hero { min-height: calc(100svh - 84px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 3vw; padding: 0 4vw 28px;
  /* A soft glow in the accent colour behind the picture. */
  background: radial-gradient(ellipse 60% 55% at 75% 48%, color-mix(in srgb, var(--pop) 11%, transparent), transparent 70%); }
h1 { font: 400 clamp(48px, min(7.6vw, 12.5svh), 136px)/1 "Libre Caslon Display", Georgia, serif; letter-spacing: -.028em; }
h1 > span { display: block; }
h1 > span:first-child { font-size: .62em; margin-bottom: .22em; }
.name { font-size: 1.45em; line-height: 1; display: flex; align-items: baseline; color: var(--pop); font-style: italic; cursor: text; min-height: 1.15em; margin-top: -.12em; }
.name input { font: inherit; font-style: italic; letter-spacing: inherit; line-height: 1.12; color: inherit; background: transparent; border: 0; border-bottom: .045em solid currentColor; border-radius: 0; padding: 0; text-align: center; margin-left: 0; max-width: calc(100% - .35em); outline: 0; caret-color: var(--fg); }
.name input::placeholder { color: inherit; opacity: 1; }
.name:focus-within input { border-bottom-width: .09em; }
.measure { font-size: 1.45em; position: fixed; visibility: hidden; white-space: pre; font-style: italic; left: 0; top: 0; }
/* Beside "you.", a small note with an arrow invites the visitor to type, and a blinking cursor
   shows the word can be changed. Both go once a name is typed. */
.name-hint { align-self: center; display: flex; align-items: flex-end; gap: 8px; margin-left: .35em; color: var(--fg); font: 500 16px/1.25 Geist, system-ui, sans-serif; letter-spacing: 0; white-space: nowrap; rotate: -4deg; transition: opacity .3s; }
.name-hint b, .hint-text::before { color: var(--pop); font-weight: 650; }
/* The note's words are drawn by CSS, so search engines don't read them as part of the headline. */
.hint-text::before { content: attr(data-a); display: block; }
.hint-text::after { content: attr(data-b); display: block; }
.name-hint svg { width: 44px; height: 28px; flex-shrink: 0; color: var(--pop); margin-bottom: .6em; animation: point 1.6s ease-in-out infinite; }
@keyframes point { 0%, 100% { translate: 0 0; } 50% { translate: -5px 2px; } }
.caret { align-self: center; width: 3px; height: .72em; margin-right: -3px; translate: 2px .04em; background: var(--fg); visibility: hidden; }
.name.waiting:not(:focus-within) .caret { visibility: visible; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.name:not(.waiting) .name-hint { display: none; }
html:not(.js) :is(.name-hint, .caret) { display: none; }
.lede { margin-top: 22px; max-width: 44ch; font-size: clamp(16px, 1.3vw, 19px); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 34px; margin-top: 30px; }
.start { display: inline-flex; align-items: center; min-height: 58px; padding: 0 30px; border-radius: 999px; background: var(--pop); color: var(--on-pop); font-weight: 600; font-size: 18px; transition: translate .2s; }
.start:hover { translate: 0 -3px; }
.worlds { border: 0; display: flex; align-items: center; gap: 4px; }
/* The swatches sit level with "Start a project". Their label hangs below them, written like the note
   beside "you": tilted, in the accent colour, with an arrow pointing up at the swatches. */
.row { margin-bottom: 84px; }
.worlds { position: relative; margin-left: -7px; }
.worlds legend { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; padding: 0; color: var(--pop); font: 650 16px/1.25 Geist, system-ui, sans-serif; white-space: nowrap; }
.worlds-arrow { width: 22px; height: 26px; flex-shrink: 0; animation: point-up 1.6s ease-in-out infinite; }
@keyframes point-up { 0%, 100% { translate: 0 0; } 50% { translate: 0 -4px; } }
.worlds.picked .worlds-arrow { animation: none; }
/* The label rotates through a few invitations; each fades up and out before the next arrives. */
.mood { display: inline-block; margin-top: 4px; rotate: -3deg; transition: opacity .3s, translate .3s var(--ease, ease); }
.mood.out { opacity: 0; translate: 0 -6px; }
.mood.in { opacity: 0; translate: 0 6px; transition: none; }
/* Until a look is picked, the swatches hop and spin in a wave every few seconds, to invite a click.
   Hovering stops the wave; each swatch spins on its own when pointed at. */
.worlds:not(.picked, :hover) label span { animation: hop 3.4s ease-in-out infinite; }
.worlds label:nth-of-type(2) span { animation-delay: .12s; }
.worlds label:nth-of-type(3) span { animation-delay: .24s; }
.worlds label:nth-of-type(4) span { animation-delay: .36s; }
@keyframes hop { 0%, 55% { translate: 0 0; rotate: 0deg; } 64% { translate: 0 -8px; rotate: 180deg; } 74%, 100% { translate: 0 0; rotate: 360deg; } }
.worlds label { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; position: relative; }
.worlds input { position: absolute; opacity: 0; }
.worlds label span { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50%); box-shadow: 0 0 0 1.5px var(--fg); transition: scale .2s, rotate .45s ease; }
.worlds label:hover span { scale: 1.12; rotate: 180deg; }
.worlds input:checked + span { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--fg); }
.worlds input:focus-visible + span { outline: 3px solid var(--fg); outline-offset: 8px; }

/* The picture: a browser window holding the business's website, inbox, dashboard and IT, and the owner's
   mobile app. Everything inside is sized in em from each one's font size, so it scales as one picture. */
.stage { width: 100%; justify-self: center; container-type: inline-size; }
/* On wider screens the window is large: it fills its column, reaches into the margin, and takes its height
   from the screen, so it reads as a real website without touching the headline's column. */
@media (min-width: 961px) {
  .hero { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
  /* Both columns sit inside the same side margins as the header, so the window ends where
     "Start a project" ends. The text is nudged down so its centre lines up with the window's
     centre, not with the window plus its switch above and caption below. */
  .stage { width: 100%; justify-self: end; }
  .intro { margin-top: 24px; }
  .stage :is(.browser, .mobile) { font-size: clamp(12px, 2.5cqw, 18px); }
  /* Sized from the visible height, so the window fits short laptop screens (Windows leaves ~650px). */
  .browser .viewport { --h: clamp(15em, calc(100svh - 340px), 40em); }
}
.pieces { position: relative; }
.piece { position: relative; translate: calc(var(--px, 0) * var(--z, 1) * 1px) calc(var(--py, 0) * var(--z, 1) * 1px); transition: scale 1s cubic-bezier(.2,.9,.2,1), opacity .5s, transform 1.1s cubic-bezier(.2,.9,.2,1); }
.pieces.gathered .piece { opacity: 0; scale: .92; transform: translateY(4%); }
.browser { --z: .5; font-size: clamp(11px, 2.3cqw, 15.5px); line-height: 1.4; background: #fffaf0; color: #17151f; border-radius: 1em; overflow: hidden; box-shadow: 0 2em 4em -1.4em rgb(8 6 30 / .6), 0 0 0 1px rgb(255 250 240 / .12); }
:is(.browser, .mobile) :focus-visible { outline: 2px solid #17151f; outline-offset: 2px; }
:is(.browser, .mobile) small { display: block; font-size: .82em; color: #5b5766; }
:is(.browser, .mobile) :is(strong, b) { font-weight: 600; overflow-wrap: anywhere; }
.chrome { padding: .6em .7em 0; background: #ebe3d4; }
.tabbar { display: flex; align-items: center; gap: .9em; }
.tabs { flex: 1; min-width: 0; display: flex; gap: .2em; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { display: flex; align-items: center; gap: .45em; padding: .5em .85em; border: 0; border-radius: .7em .7em 0 0; background: transparent; color: #5b5766; font-size: .85em; font-weight: 500; white-space: nowrap; transition: background-color .2s, color .2s; }
.tabs button:hover { background: rgb(255 250 240 / .55); }
.tabs button[aria-selected="true"] { background: #fffaf0; color: #17151f; }
.tabs i { width: .75em; height: .75em; border-radius: .22em; background: var(--alt); }
.tabs button:nth-child(2) i { background: #e58a72; }
.tabs button:nth-child(3) i { background: var(--bg); } .tabs button:nth-child(4) i { background: #9aa6b8; }
.address { display: flex; align-items: center; gap: .7em; padding: .5em .8em; background: #fffaf0; border-bottom: 1px solid #e4ddd0; }
.nav-arrows { flex: none; display: flex; gap: .1em; } .nav-arrows svg { width: 1.1em; height: 1.1em; }
.nav-arrows button { display: grid; place-items: center; width: 1.7em; height: 1.9em; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #55505f; }
.nav-arrows button:hover { background: #f0e9dc; }
.nav-arrows button[aria-disabled="true"] { opacity: .35; background: transparent; cursor: default; }
.url { flex: 1; min-width: 0; padding: .35em .9em; border-radius: 99px; background: #f0e9dc; font-size: .85em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.url svg { width: .95em; height: .95em; margin-right: .4em; vertical-align: -.12em; opacity: .55; }
.url b { overflow-wrap: normal; }
/* On the website tab the demo types the address out, then the page loads. */
.url-typed { display: none; }
.url.typing .url-real { display: none; }
.url.typing .url-typed { display: inline; }
.url-typed::after { content: ""; display: inline-block; width: 1px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: currentColor; animation: blink 1s steps(1) infinite; }
/* Play and pause for the demo that runs by itself. */
.autoplay { flex: none; display: grid; place-items: center; width: 2.1em; height: 2.1em; border: 0; border-radius: 50%; background: #f0e9dc; color: #17151f; font-size: .9em; }
.autoplay::before { content: "▶"; font-size: .8em; translate: .08em 0; }
.autoplay[aria-pressed="true"]::before { content: "❚❚"; font-size: .7em; letter-spacing: -.1em; translate: 0 0; }
.viewport { --h: 24em; position: relative; height: var(--h); overflow: hidden; background: #e6dece; transition: background-color .4s; }
/* The screen inside the window. Desktop, Tablet and Phone narrow it inside a device frame,
   and everything in it responds to its own width through container queries. */
.screen { container: screen / inline-size; position: relative; width: 100%; height: 100%; margin-inline: auto; background: #fffaf0; overflow: hidden; transition: width .55s cubic-bezier(.3,.8,.2,1), height .55s cubic-bezier(.3,.8,.2,1), margin .55s cubic-bezier(.3,.8,.2,1), border-radius .55s, box-shadow .55s; }
/* Devices keep real proportions, sized from the window's height: an iPad is 3:4, an iPhone about 9:19.5. */
.browser[data-device="tablet"] .screen { width: min(calc((var(--h) - 1.6em) * .75), 100% - 2em); height: calc(100% - 1.6em); margin-block: .8em; border-radius: 1em; box-shadow: 0 0 0 .55em #17151f, 0 1em 2em -1em rgb(0 0 0 / .4); }
.browser[data-device="phone"] .screen { width: min(calc((var(--h) - 1.6em) * .462), 100% - 2em); height: calc(100% - 1.6em); margin-block: .8em; border-radius: 1.6em; box-shadow: 0 0 0 .45em #17151f, 0 1em 2em -1em rgb(0 0 0 / .4); }
/* iPhone: Dynamic Island, the time, and the home bar. iPad: the front camera at the top edge. */
.screen::before, .screen::after { content: ""; position: absolute; z-index: 6; left: 50%; translate: -50% 0; pointer-events: none; opacity: 0; transition: opacity .3s .25s; }
.browser[data-device="phone"] .screen::before { top: .5em; width: 27%; height: 1.1em; border-radius: 99px; background: #0b0a10; opacity: 1; }
.browser[data-device="phone"] .screen::after { bottom: .4em; width: 36%; height: .22em; border-radius: 99px; background: currentColor; opacity: .55; }
.browser[data-device="tablet"] .screen::before { top: .4em; width: .42em; height: .42em; border-radius: 50%; background: #3a3846; box-shadow: inset 0 0 0 .08em #55536a; opacity: 1; }
.screen .status { position: absolute; z-index: 6; top: .55em; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 1.1em 0 1.5em; height: 1.45em; font-size: .72em; font-weight: 600; letter-spacing: .01em; opacity: 0; pointer-events: none; transition: opacity .3s .25s; }
/* Time on the left, icons on the right, each kept in its own lane beside the island, so they never
   slide under it, however narrow the phone gets. */
.screen .status > * { flex: 0 1 auto; max-width: 31%; overflow: hidden; }
.status-icons { display: flex; align-items: center; justify-content: flex-end; gap: .22em; }
.status-icons svg { flex: none; height: .72em; width: auto; fill: currentColor; }
/* Light status bar and home bar over the dark dashboard. */
.browser[data-device="phone"]:has(#p-dash:not([hidden])) .screen { color: #fffaf0; }
.browser[data-device="phone"] .screen .status { opacity: 1; }
/* Content starts below the island and stops above the home bar. */
.browser[data-device="phone"] .screen .panel { padding-top: 2.4em; padding-bottom: 1.3em; }
.browser[data-device="phone"] .screen .toasts { bottom: 1.1em; }
/* A phone screen is small: everything inside scales down, as it would on a real phone. */
.browser[data-device="phone"] .screen .panel { font-size: .74em; gap: .6em; }
.browser[data-device="tablet"] .screen .panel { font-size: .9em; }
.devices { flex: none; display: flex; gap: .15em; padding: .15em; border-radius: 99px; background: #f0e9dc; }
.devices button { display: grid; place-items: center; width: 1.9em; height: 1.9em; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #8b8596; transition: background-color .2s, color .2s; }
.devices button:hover { color: #17151f; }
.devices button[aria-pressed="true"] { background: #fffaf0; color: #17151f; box-shadow: 0 1px 3px rgb(0 0 0 / .12); }
.devices svg { width: 1.15em; height: 1.15em; }
/* Tablet width */
@container screen (max-width: 32em) {
  .screen .panel { padding: 1.2em 1.2em; gap: .7em; }
  .screen .site-hero strong { font-size: 2.2em; }
  .screen .highlights { font-size: .78em; gap: .3em 1em; }
}
/* Phone width */
@container screen (max-width: 20em) {
  .screen .panel { padding: 1em .9em; gap: .55em; }
  .screen .site-hero strong { font-size: 1.75em; }
  .screen .site-hero p { font-size: .9em; }
  .screen .slots { gap: .3em; } .screen .slots button { padding: .35em .55em; font-size: .8em; }
  .screen .act { width: 100%; text-align: center; padding: .55em 1em; }
  .screen .highlights { flex-direction: column; gap: .15em; font-size: .72em; }
  .screen .panel-head strong { font-size: .95em; }
  .screen .bookings li { gap: .5em; padding: .5em .6em; font-size: .9em; }
  .screen .bookings li b { min-width: 2.6em; }
  /* Figures stack as rows: label on the left, number on the right. */
  .screen .kpis { grid-template-columns: 1fr; gap: .3em; }
  .screen .kpis > div { display: flex; align-items: center; justify-content: space-between; gap: .5em; padding: .45em .7em; }
  .screen .kpis b { margin-top: 0; font-size: 1.1em; white-space: nowrap; }
  .screen .chart { gap: .3em; }
  .screen .checks button { padding: .5em .6em; }
  .screen .toasts { right: .5em; left: .5em; bottom: .5em; justify-items: stretch; }
  /* Services become rows: name on the left, length and price on the right. */
  .screen .svc-pick { grid-template-columns: 1fr; gap: .3em; }
  .screen .svc-pick button { display: flex; justify-content: space-between; align-items: baseline; padding: .45em .7em; }
  .screen .svc-pick button small { font-size: .78em; }
  .screen .review { padding: .6em .8em; }
  .screen .chart-days span { font-size: .6em; }
}
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .85em; padding: 1.6em 1.8em; overflow-y: auto; scrollbar-width: none; animation: panel-in .35s ease; }
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; translate: 0 .6em; } }
.act { position: relative; align-self: flex-start; border: 0; background: var(--pop); color: var(--on-pop); border-radius: 99px; padding: .6em 1.4em; font-weight: 600; transition: scale .15s, filter .15s; }
.act:hover { filter: brightness(1.07); }
.act:active, .pieces .pressed { scale: .93; }
/* Website */
.site-hero strong { display: block; font: 400 2.7em/1.05 "Libre Caslon Display", Georgia, serif; letter-spacing: -.01em; }
.site-hero p { margin-top: .35em; }
.label { margin-bottom: .45em; font-size: .82em; color: #5b5766; }
.panel::-webkit-scrollbar { display: none; }
.panel > * { flex-shrink: 0; }
.svc-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45em; }
.svc-pick button { display: grid; gap: .1em; padding: .5em .7em; border: 1px solid #d8cfbf; border-radius: .7em; background: #fff; text-align: left; transition: background-color .2s, border-color .2s, scale .15s; }
.svc-pick button b { font-size: .9em; } .svc-pick button small { font-size: .75em; }
.svc-pick button[aria-pressed="true"] { border-color: var(--bg); box-shadow: inset 0 0 0 1px var(--bg); background: color-mix(in srgb, var(--pop) 18%, #fff); }
.slots { display: flex; flex-wrap: wrap; gap: .45em; }
.slots button { padding: .45em .9em; border: 1px solid #d8cfbf; border-radius: .6em; background: #fff; font-size: .9em; transition: background-color .2s, color .2s, scale .15s; }
.slots button[aria-pressed="true"] { background: var(--bg); color: var(--fg); border-color: var(--bg); }
.slots button[aria-disabled="true"] { background: #ece6da; border-color: #ece6da; color: #8b8596; text-decoration: line-through; cursor: default; }
/* While the demo types the address, the page waits underneath, faded. */
.panel.site { transition: opacity .35s; }
.panel.loading { opacity: .45; }
.highlights { display: flex; flex-wrap: wrap; gap: .5em 1.4em; margin-top: .3em; font-size: .85em; color: #5b5766; }
.highlights b { color: #17151f; }
/* A client review fills the rest of the page. */
.review { margin: 0; padding: .8em 1em; border: 1px solid #d8cfbf; border-radius: .7em; background: #fff; font-size: .85em; line-height: 1.45; }
.review .stars { color: #c98a1b; letter-spacing: .12em; font-size: .9em; }
.review blockquote { margin: .3em 0 .4em; color: #17151f; }
.review figcaption { text-align: left; color: #5b5766; font-size: .9em; } .review figcaption b { color: #17151f; }
/* Bookings app */
.panel-head { display: flex; align-items: center; gap: .8em; }
.badge { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .8em; background: var(--bg); color: var(--fg); font-weight: 600; }
.bookings { display: grid; gap: .45em; }
.bookings li { display: flex; align-items: center; gap: .8em; padding: .55em .8em; border-radius: .7em; background: #f0e9dc; }
.bookings li b { min-width: 3em; } .bookings li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bookings li button { flex: none; padding: .25em .85em; border: 1px solid #cfc7b8; border-radius: 99px; background: #fff; font-size: .82em; transition: background-color .2s, scale .15s; }
.bookings li button[aria-pressed="true"] { background: var(--alt); border-color: var(--alt); }
.summary { padding-top: .6em; border-top: 1px solid #e4ddd0; font-size: .82em; color: #5b5766; }
.summary b { color: #17151f; }
.bookings li.new { animation: arrive .5s cubic-bezier(.2,.9,.2,1); background: color-mix(in srgb, var(--pop) 38%, #f0e9dc); }
@keyframes arrive { from { opacity: 0; scale: .8; } }
/* Inbox */
.mail, .draft { padding: .9em 1em; border-radius: .8em; background: #f0e9dc; }
.draft { background: #fff; border: 1px solid #e4ddd0; }
.mail p, .draft p { margin-top: .3em; }
.draft p { margin-bottom: .8em; }
.draft.fresh p { animation: type .9s steps(24); }
@keyframes type { from { clip-path: inset(0 100% 0 0); } }
.earlier { margin-top: .3em; }
.earlier ul { display: grid; margin-top: .35em; }
.earlier li { display: flex; align-items: baseline; gap: .7em; padding: .45em 0; border-top: 1px solid #ece5d8; font-size: .85em; }
.earlier li span { flex: 1; min-width: 0; color: #5b5766; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.earlier li i { font-style: normal; font-size: .85em; color: #6f8f88; white-space: nowrap; }
.draft.sent { border-color: var(--alt); box-shadow: 0 0 0 .2em color-mix(in srgb, var(--alt) 40%, transparent); }
/* Dashboard */
.panel.dash { background: #0c1428; color: #fffaf0; }
.panel.dash small { color: #cdc8da; }
.panel.dash :focus-visible { outline-color: #fffaf0; }
.kpis { display: grid; grid-template-columns: repeat(3, auto); gap: .6em; } /* columns widen for long amounts */
.kpis > div { padding: .6em .75em; border-radius: .7em; background: rgb(255 250 240 / .07); }
.kpis b { display: block; margin-top: .15em; font-size: 1.5em; white-space: nowrap; }
.bump { display: inline-block; animation: beat .4s ease; }
@keyframes beat { 50% { scale: 1.12; } }
.readout { min-height: 1.4em; font-weight: 600; font-size: .9em; }
.chart-wrap { flex: 1 0 8em; display: flex; flex-direction: column; gap: .35em; }
.chart { flex: 1; display: flex; align-items: flex-end; gap: .6em; min-height: 6em; }
/* Most booked services: a label, a bar and a share. */
.top-svc ul { display: grid; gap: .35em; margin-top: .4em; }
.top-svc li { display: grid; grid-template-columns: 6.5em 1fr 2.6em; align-items: center; gap: .6em; font-size: .82em; }
.top-svc li i { height: .5em; border-radius: 99px; background: linear-gradient(var(--pop), var(--pop)) 0 0 / var(--w) 100% no-repeat, rgb(255 250 240 / .1); }
.top-svc li b { text-align: right; }
.chart-days { display: flex; gap: .6em; } .chart-days span { flex: 1; text-align: center; font-size: .7em; color: #cdc8da; white-space: nowrap; overflow: hidden; }
.chart button { flex: 1; height: var(--h); padding: 0; border: 0; border-radius: .4em .4em 0 0; background: var(--alt); transition: height .5s cubic-bezier(.2,.9,.2,1), filter .15s; }
.chart button:last-child { background: var(--pop); }
.chart button:hover { filter: brightness(1.15); } .chart button[aria-pressed="true"] { background: #fffaf0; }
/* IT */
.it-mail { margin-top: .2em; font-weight: 600; }
.checks { display: grid; gap: .45em; }
.checks button { display: flex; align-items: center; gap: .7em; width: 100%; padding: .6em .85em; border: 0; border-radius: .7em; background: #f0e9dc; text-align: left; transition: background-color .2s; }
.checks button::before { content: ""; flex: none; display: grid; place-items: center; width: 1.2em; height: 1.2em; border: 1.5px solid #8b8596; border-radius: 50%; font-size: .85em; }
/* Selected: a filled radio button. Done: a tick and the word "Done". */
.checks button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--bg); background: #fff; }
.checks button[aria-pressed="true"]::before { border-color: var(--bg); background: radial-gradient(circle, var(--bg) 0 45%, transparent 52%); }
.checks button[data-done] { background: color-mix(in srgb, var(--alt) 35%, #f0e9dc); }
.checks button[data-done]::before { content: "✓"; background: var(--alt); border-color: var(--alt); color: #17151f; }
.checks button[data-done]::after { content: "Done"; margin-left: auto; font-size: .8em; color: #3f3b49; }
.health { display: grid; margin-top: .4em; }
.health li { display: flex; justify-content: space-between; gap: 1em; padding: .5em 0; border-top: 1px solid #ece5d8; font-size: .85em; }
.health li span { color: #5b5766; } .health li b { text-align: right; }
/* Notifications pop up in the corner; tapping one opens where it came from. */
.toasts { position: absolute; right: .8em; bottom: .8em; left: auto; z-index: 4; display: grid; justify-items: end; gap: .4em; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: .6em; padding: .55em .95em; border: 0; border-radius: .8em; background: #17151f; color: #fffaf0; font-size: .82em; box-shadow: 0 .6em 1.4em -.4em rgb(0 0 0 / .45); animation: toast-in .35s cubic-bezier(.2,.9,.2,1); transition: opacity .3s, translate .3s; }
.toast i { flex: none; width: .6em; height: .6em; border-radius: 50%; background: var(--pop); }
.toast.out { opacity: 0; translate: 0 .5em; }
@keyframes toast-in { from { opacity: 0; translate: 0 .8em; scale: .95; } }
/* The demo's pointer. */
.cursor { position: absolute; left: 0; top: 0; z-index: 8; width: 26px; height: 26px; pointer-events: none; opacity: 0; filter: drop-shadow(0 .15em .25em rgb(0 0 0 / .35)); transition: transform .65s cubic-bezier(.45,0,.25,1), opacity .3s; }
.cursor.on { opacity: 1; }
/* Looping hints pause while the opening screen is scrolled away. */
.hero.asleep :is(*, ::before, ::after) { animation-play-state: paused !important; }
/* Website or Mobile app: a switch above the picture, with play and pause for the demo beside it,
   and a note, written like the one beside "you", pointing at it until it is used. */
.switcher { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 0 0 12px; }
.switcher .autoplay { justify-self: end; width: 36px; height: 36px; font-size: 14px; background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fg) 45%, transparent); cursor: pointer; }
.switch { display: flex; gap: 3px; padding: 4px; border: 1.5px solid color-mix(in srgb, var(--fg) 40%, transparent); border-radius: 99px; }
.switch button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; color: var(--fg); font: 500 14px/1 Geist, system-ui, sans-serif; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s, scale .15s; }
.switch .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.switch button:hover { background: color-mix(in srgb, var(--fg) 12%, transparent); }
.switch button[aria-pressed="true"] { background: var(--pop); color: var(--on-pop); font-weight: 600; }
.count { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: #fffaf0; color: #17151f; font-size: 11.5px; font-weight: 600; box-shadow: 0 0 0 1px rgb(23 21 31 / .2); }
.count[hidden] { display: none; }
.count.pulse { animation: pulse .7s ease 2; }
@keyframes pulse { 50% { scale: 1.3; } }
.switch-wrap { position: relative; grid-column: 2; grid-row: 1; justify-self: center; }
/* The note sits to the right of the switch, its arrow pointing back at it, so it takes no height above the window. */
.switch-hint { position: absolute; left: 100%; top: 50%; translate: 0 -50%; display: flex; align-items: center; gap: 8px; margin-left: 12px; color: var(--pop); font: 650 15px/1.2 Geist, system-ui, sans-serif; white-space: nowrap; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
/* Arrow and words share one centre line with the switch; the words tilt a touch, like handwriting. */
/* The arrow ends level with the middle of the switch and points straight at the app button. */
.switch-hint svg { width: 34px; height: 19px; flex-shrink: 0; animation: nudge-left 1.4s ease-in-out infinite; }
@keyframes nudge-left { 0%, 100% { translate: 0 0; } 50% { translate: -4px 0; } }
.app-mood { display: inline-block; rotate: -3deg; transition: opacity .3s, translate .3s; }
.app-mood.out { opacity: 0; translate: 0 -6px; }
.app-mood.in { opacity: 0; translate: 0 6px; transition: none; }
@keyframes point-down { 0%, 100% { translate: 0 0; } 50% { translate: 0 3px; } }
.switch-hint.done { opacity: 0; visibility: hidden; }
/* The note invites a visit to the app, so it hides while the app is showing (by tap or by the demo). */
.pieces:has(.views[data-showing="app"]) .switch-hint { opacity: 0; visibility: hidden; }
html:not(.js) .switcher { display: none; }
/* Both views share one cell, so the phone is as tall as the window and nothing below moves on switching. */
.views { display: grid; grid-template-columns: minmax(0, 1fr); }
.views > .piece { grid-area: 1 / 1; min-width: 0; transition: scale 1s cubic-bezier(.2,.9,.2,1), opacity .35s, visibility 0s, transform 1.1s cubic-bezier(.2,.9,.2,1); }
.views[data-showing="web"] > .mobile-slot, .views[data-showing="app"] > .browser { visibility: hidden; opacity: 0; transition: opacity .35s, visibility 0s .35s; }
/* The owner's app, on a phone. */
.mobile-slot { --z: .5; }
.mobile { position: absolute; top: 0; bottom: 0; left: 50%; translate: -50% 0; height: 100%; aspect-ratio: 9 / 18; max-width: 100%; padding: .5em; border-radius: 2.8em; background: #0b0a10; color: #17151f; font-size: clamp(11px, 2.3cqw, 15.5px); line-height: 1.4; box-shadow: 0 2em 4em -1.4em rgb(8 6 30 / .6), 0 0 0 1.5px rgb(255 250 240 / .3); }
.mobile-screen { display: flex; flex-direction: column; height: 100%; border-radius: 2.35em; overflow: hidden; background: #fffaf0; }
.mobile-status { flex: none; display: grid; grid-template-columns: 1fr 36% 1fr; align-items: center; padding: .6em .4em 0; text-align: center; font-size: .72em; font-weight: 600; }
.mobile-status i { height: 1.7em; border-radius: 99px; background: #0b0a10; }
.mobile .panel-head { flex: none; gap: .65em; padding: .8em .9em .5em; font-size: .92em; }
.app-body { flex: 1; min-height: 0; position: relative; }
.app-page { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .65em; padding: .3em .8em .8em; overflow-y: auto; scrollbar-width: none; font-size: .88em; animation: panel-in .35s ease; }
.app-page::-webkit-scrollbar { display: none; }
.app-page[hidden] { display: none; }
.app-page > * { flex-shrink: 0; }
/* Taps respond at once, without the phone's double-tap delay. */
.pieces button, .switcher button { cursor: pointer; touch-action: manipulation; }
.pieces :is(.slots, .nav-arrows) button[aria-disabled="true"] { cursor: default; }
.app-card { display: block; width: 100%; padding: .7em .9em; border: 0; border-radius: .9em; background: var(--bg); color: var(--fg); text-align: left; }
div.app-card { cursor: default; }
.app-page button:active, .app-nav button:active { scale: .96; }
.mobile .app-card small { color: inherit; }
.app-card b { display: block; font-size: 1.7em; }
.mobile .bookings li { gap: .5em; padding: .5em .6em; }
.mobile .bookings li b { min-width: 2.8em; }
.mobile .bookings li span { white-space: normal; line-height: 1.25; } /* long service names wrap rather than being cut off */
.app-figures { display: grid; }
.app-figures li { border-top: 1px solid #ece5d8; }
.app-figures button { display: flex; align-items: center; gap: .6em; width: 100%; min-height: 44px; padding: .5em .1em; border: 0; background: transparent; text-align: left; }
.app-figures span { flex: 1; color: #5b5766; }
.app-figures i { font-style: normal; color: #8b8596; }
.mobile .act { align-self: stretch; text-align: center; }
.mobile .toasts { left: .6em; right: .6em; bottom: .5em; justify-items: stretch; }
.app-nav { flex: none; display: flex; padding: .3em .5em .9em; border-top: 1px solid #e4ddd0; }
.app-nav button { flex: 1; padding: .55em 0; border: 0; border-radius: .7em; background: transparent; color: #5b5766; font-size: .82em; font-weight: 500; cursor: pointer; }
.app-nav button[aria-pressed="true"] { background: #f0e9dc; color: #17151f; font-weight: 600; }
.stage figcaption { margin-top: 14px; text-align: center; font-size: 13px; }

@container (max-width: 560px) {
  .switcher { grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .switch button { padding: 0 14px; }
}

/* A new colour world spreads out from the swatch that was picked. */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: spread .7s cubic-bezier(.6,0,.2,1); }
@keyframes spread { from { clip-path: circle(0 at var(--x) var(--y)); } to { clip-path: circle(150% at var(--x) var(--y)); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); align-content: start; padding-top: 12px; min-height: 0; padding-bottom: 56px; }
  h1 { font-size: clamp(46px, 13vw, 104px); }
  .stage { max-width: 640px; }
  /* The examples sit directly under the name, so typing visibly changes them. */
  .intro { display: contents; }
  .hero { gap: 0; }
  h1, .lede, .row { width: 100%; max-width: 640px; justify-self: center; }
  .stage { order: 1; margin-top: 18px; }
  .lede { order: 2; margin-top: 22px; } .row { order: 3; margin-top: 22px; }
}
/* Phones: the button and swatches don't fit on one line, so they stack and centre:
   a full-width button, then the swatches with their label beneath. */
@media (max-width: 640px) {
  .row { flex-direction: column; align-items: center; gap: 24px; margin-bottom: 80px; }
  .browser .viewport { --h: 34em; }
  /* Fingers need larger targets: bigger text and taller buttons in the app. */
  .stage .mobile { font-size: 13.5px; }
  .mobile .bookings li button { min-width: 6.4em; min-height: 36px; padding-inline: .6em; }
  .app-nav button { min-height: 44px; }
  .stage .tabs button { min-height: 40px; }
  .stage .nav-arrows button { width: 34px; height: 40px; }
  .stage :is(.slots button, .act, .checks button) { min-height: 42px; }
  .switcher .autoplay { width: 44px; height: 44px; }
  .switcher { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .switch button { min-height: 44px; }
  .start { width: 100%; justify-content: center; }
  .worlds { margin-left: 0; }
}
@media (max-width: 480px) {
  .top { padding-inline: 6vw; } .hero { padding-inline: 6vw; }
  .logo { font-size: 22px; }
  .name-hint { font-size: 13px; gap: 4px; } .name-hint svg { width: 32px; height: 20px; }
  .worlds legend { font-size: 14px; }
  /* Little room beside the switch on phones: a shorter arrow, and the words on two lines. */
  .switch-hint { gap: 4px; margin-left: 6px; font-size: 13px; white-space: normal; width: 6.4em; } .switch-hint svg { width: 20px; height: 14px; }
  .devices { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after, ::view-transition-new(root) { animation: none !important; transition: none !important; }
}

/* ---------- Whole-page layout ---------- */
/* Dark sections follow the colour world. Reading areas stay on warm off-white. */
body { --paper:#f5f1e8; --ink:var(--deep); --deep:#16233f; }
body[data-world="pine"] { --deep:#173c35; } body[data-world="porcelain"] { --deep:#1d2340; } body[data-world="plum"] { --deep:#33203b; }
html { scroll-behavior: smooth; }
section[id], .service { scroll-margin-top: 90px; }
/* "#top" (the logo and "Back to top") lands at the very top of the page, not under the header. */
#top { scroll-margin-top: 100px; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 40; padding: 10px 16px; background: var(--fg); color: var(--bg); }
.skip:focus { top: 12px; }
.top { position: sticky; top: 0; z-index: 30; height: 84px; background: var(--bg); transition: box-shadow .3s, background-color .3s, translate .35s cubic-bezier(.3,.8,.2,1); }
/* Hidden while scrolling down, back on the way up (set in main.js). */
.top.tucked { translate: 0 -100%; box-shadow: none; }
/* Once the page scrolls, the header turns see-through and frosted, so the page shows softly behind it. */
.top.scrolled { background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 color-mix(in srgb, var(--fg) 16%, transparent), 0 14px 34px -18px rgb(6 10 20 / .45); }
.menu-button { display: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
h2 { font: 400 clamp(44px, 6.4vw, 92px)/1.02 "Libre Caslon Display", Georgia, serif; letter-spacing: -.028em; text-wrap: balance; }
.head p { margin-top: 16px; font-size: 18px; }
.you { font-style: italic; overflow-wrap: anywhere; }
.services, .process, .contact { padding: clamp(76px, 9vw, 136px) 4vw; }

/* ---------- Services: heading and background; the rest is in services.css ---------- */
.services { background: var(--paper); color: var(--ink); }
.services :focus-visible, .contact :focus-visible { outline-color: var(--ink); }
.services .you { background: linear-gradient(transparent 66%, color-mix(in srgb, var(--pop) 75%, transparent) 66% 88%, transparent 88%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
body[data-world="porcelain"] .services .you { color: var(--pop); background: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.flash { animation: flash .6s ease; }
@keyframes flash { 30% { scale: 1.03; filter: brightness(.95); } }

/* ---------- How we work: ideas, then a build in layers, then live and looked after ---------- */
.process { background: var(--bg); color: var(--fg); border-bottom: 1px solid color-mix(in srgb, var(--fg) 14%, transparent); }
.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; }
.steps li { min-height: 46vh; padding: 28px 0; border-top: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); transition: opacity .3s; }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 600; transition: background-color .3s, color .3s; }
.steps li.active .num { background: var(--pop); border-color: var(--pop); color: var(--on-pop); }
.steps h3 { margin: 20px 0 10px; font: 400 clamp(34px, 4vw, 58px)/1.05 "Libre Caslon Display", serif; }
.steps p { margin-top: 8px; font-size: 18px; max-width: 42ch; }
.plan-wrap { position: sticky; top: 130px; align-self: start; text-align: center; }
/* The picture beside the steps. One set of pieces moves through three scenes as the steps are read:
   1 Understand: the requirements, on sticky notes, add up to one agreed goal.
   2 Build: each note flies into its layer of a dashboard that is stacked up layer by layer (data, logic, screens).
   3 Launch and support: the layers open out into a website, an app and a server, kept running.
   Positions are in cqw (hundredths of the picture's width), so it scales as one picture. */
.plan { position: relative; width: min(100%, 520px, 62svh); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; --ease: cubic-bezier(.65, 0, .25, 1); }
.plan > * { position: absolute; transition: left .9s var(--ease), top .9s var(--ease), width .9s var(--ease), height .9s var(--ease), transform .9s var(--ease), opacity .6s ease, border-radius .9s var(--ease), box-shadow .9s var(--ease), background-color .6s; transition-delay: var(--delay, 0s); }
/* Requirements on sticky notes, pinned to a board */
.board { left: 3cqw; top: 2cqw; width: 94cqw; height: 66cqw; border-radius: 3cqw; background: color-mix(in srgb, var(--fg) 7%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 18%, transparent); }
.note { left: calc(var(--x) * 1cqw); top: calc(var(--y) * 1cqw); width: 25cqw; height: 24cqw; padding: 3.4cqw 2.4cqw 2cqw; border-radius: .6cqw .6cqw 1.6cqw .6cqw; background: #f6dd8a; color: #2a2414; font: 500 3.2cqw/1.25 Geist, system-ui, sans-serif; text-align: left; box-shadow: 0 1.4cqw 2.4cqw -1cqw rgb(0 0 0 / .45); transform: rotate(var(--r)); --delay: calc(var(--i) * .06s); }
.note.p { background: #f4b9a6; } .note.g { background: #b9d7c4; }
/* A strip of tape on each note */
.note::before { content: ""; position: absolute; left: 50%; top: -1.2cqw; width: 9cqw; height: 2.6cqw; margin-left: -4.5cqw; background: rgb(255 255 255 / .45); rotate: calc(var(--r) * -1.5); }
.plan[data-stage="1"] .note { animation: sway 6s ease-in-out calc(var(--i) * -1s) infinite; }
@keyframes sway { 50% { translate: 0 -.8cqw; rotate: 1deg; } }
/* Project tracker: the project's name, and its state at each stage */
.goal { left: 12cqw; top: 76cqw; width: 76cqw; display: flex; align-items: center; justify-content: space-between; gap: 2cqw; padding: 2cqw 2.4cqw 2cqw 3.2cqw; border-radius: 99px; background: color-mix(in srgb, var(--fg) 9%, var(--bg)); border: 1px solid color-mix(in srgb, var(--fg) 26%, transparent); color: var(--fg); box-shadow: 0 2.4cqw 5cqw -2.6cqw rgb(0 0 0 / .55); --delay: .15s; }
.goal b { min-width: 0; font: 400 3.8cqw/1.15 "Libre Caslon Display", serif; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state { flex: none; display: grid; justify-items: end; font-size: 2.7cqw; font-weight: 600; }
.state > span { grid-area: 1 / 1; display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 2.2cqw; border-radius: 99px; white-space: nowrap; transition: opacity .4s, translate .4s; }
.s1 { background: var(--pop); color: var(--on-pop); }
.s2 { background: color-mix(in srgb, var(--fg) 12%, var(--bg)); }
.prog { position: relative; width: 9cqw; height: 1.3cqw; border-radius: 99px; background: color-mix(in srgb, var(--fg) 22%, transparent); overflow: hidden; }
.prog::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; border-radius: inherit; background: var(--pop); }
.plan[data-stage="2"] .prog::after { animation: build 3.2s ease-in-out infinite; }
@keyframes build { 0% { width: 18%; } 80%, 100% { width: 92%; } }
.s3 { background: color-mix(in srgb, #3fb27f 22%, var(--bg)); color: color-mix(in srgb, #3fb27f 55%, var(--fg)); }
.live { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 0 rgb(63 178 127 / .6); }
.plan[data-stage="3"] .live { animation: live 1.8s ease-out infinite; }
@keyframes live { to { box-shadow: 0 0 0 1.6cqw rgb(63 178 127 / 0); } }
.plan:not([data-stage="1"]) .s1, .plan:not([data-stage="2"]) .s2, .plan:not([data-stage="3"]) .s3 { opacity: 0; translate: 0 1cqw; }
/* Layers: the pieces that become the dashboard, then the website, app and server. */
.layer { left: 18cqw; width: 64cqw; height: 40cqw; padding: 3cqw; display: flex; flex-direction: column; gap: 2cqw; border-radius: 3cqw; background: #fffaf0; transform-origin: 50% 50%; --delay: calc(.25s + var(--l) * .14s); }
.layer i { display: block; height: 3.4cqw; border-radius: 1cqw; background: color-mix(in srgb, var(--alt) 45%, #fff); }
.layer i:nth-of-type(2) { width: 72%; } .layer i:nth-of-type(3) { width: 48%; }
.l1 i::before { content: ""; float: right; width: 2cqw; height: 2cqw; margin: .7cqw; border-radius: 50%; background: #3fb27f; }
.l2 i { background: color-mix(in srgb, var(--pop) 45%, #fff); }
.l3 { flex-direction: row; align-items: flex-end; flex-wrap: wrap; align-content: flex-end; }
.l3 .bar { flex: 0 0 100%; height: 3cqw; margin-bottom: auto; background: color-mix(in srgb, var(--bg) 85%, #fff); }
.l3 s { flex: 1; height: var(--h); max-height: 62%; border-radius: 1cqw 1cqw 0 0; background: var(--alt); }
.l3 s:last-child { background: var(--pop); }
.tag { left: 84cqw; top: calc(var(--y) * 1cqw); padding: .6cqw 1.8cqw; border-radius: 99px; background: color-mix(in srgb, var(--fg) 12%, var(--bg)); color: var(--fg); font-size: 2.6cqw; font-weight: 600; white-space: nowrap; --delay: calc(.6s + var(--l) * .14s); }
/* Wires and support pills */
.wires { inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; stroke: var(--pop); stroke-width: .5; stroke-dasharray: 1.2 1.8; stroke-linecap: round; }
.plan[data-stage="3"] .wires { animation: plan-flow 2.4s linear infinite; }
@keyframes plan-flow { to { stroke-dashoffset: -3; } }
.pill { padding: 1cqw 2.2cqw; border-radius: 99px; background: color-mix(in srgb, var(--alt) 30%, var(--bg)); border: 1px solid color-mix(in srgb, var(--alt) 70%, transparent); color: var(--fg); font-size: 2.6cqw; font-weight: 600; white-space: nowrap; }
.p1 { left: 67cqw; top: 64cqw; } .p2 { left: 67cqw; top: 73cqw; } .p3 { left: 67cqw; top: 82cqw; }
.pulse { display: inline-block; width: 1.5cqw; height: 1.5cqw; margin-right: 1.2cqw; border-radius: 50%; background: #3fb27f; vertical-align: .1em; }
.plan[data-stage="3"] .pulse { animation: live 1.8s ease-out infinite; }

/* ---- 1 Understand ---- */
.plan[data-stage="1"] .layer { transform: translate(0, 30cqw) scale(.2); opacity: 0; --delay: 0s; }
.plan[data-stage="1"] .layer { top: 30cqw; }
.plan[data-stage="1"] :is(.tag, .wires, .pill) { opacity: 0; }
.plan[data-stage="1"] .pill { transform: translateY(3cqw); }

/* ---- 2 Build: an isometric stack, bottom layer first ---- */
/* Each note flies into the layer it belongs to, then the layers take shape around them. */
.plan:not([data-stage="1"]) .board { opacity: 0; transform: scale(.92); }
.plan:not([data-stage="1"]) .note { left: 37.5cqw; top: calc(var(--to) * 1cqw - 12cqw); opacity: 0; transform: scale(.35) rotate(0deg); }
.plan[data-stage="2"] .goal { top: 1cqw; }
.plan[data-stage="2"] .layer { transform: rotateX(58deg) rotateZ(-42deg); }
.plan[data-stage="2"] .l1 { top: 44cqw; box-shadow: -1.4cqw 1.4cqw 0 color-mix(in srgb, var(--alt) 80%, #000); }
.plan[data-stage="2"] .l2 { top: 30cqw; box-shadow: -1.4cqw 1.4cqw 0 color-mix(in srgb, var(--pop) 80%, #000); }
.plan[data-stage="2"] .l3 { top: 16cqw; box-shadow: -1.4cqw 1.4cqw 0 color-mix(in srgb, var(--fg) 55%, #000); }
.plan:not([data-stage="2"]) .tag { opacity: 0; transform: translateX(-3cqw); --delay: 0s; }
.plan[data-stage="2"] :is(.wires, .pill) { opacity: 0; }

/* ---- 3 Launch and support: website, app and server ---- */
.plan[data-stage="3"] .goal { top: 1cqw; }
.plan[data-stage="3"] .l3 { left: 4cqw; top: 17cqw; width: 54cqw; height: 38cqw; border-radius: 2cqw; box-shadow: 0 3cqw 6cqw -3cqw rgb(0 0 0 / .5); --delay: .1s; }
.plan[data-stage="3"] .l2 { left: 66cqw; top: 14cqw; width: 28cqw; height: 47cqw; padding-top: 6cqw; border-radius: 5cqw; box-shadow: 0 0 0 1.2cqw #0b0a10, 0 3cqw 6cqw -3cqw rgb(0 0 0 / .5); --delay: .2s; }
.plan[data-stage="3"] .l1 { left: 22cqw; top: 64cqw; width: 42cqw; height: 22cqw; padding: 2.4cqw 3cqw; gap: 1.6cqw; border-radius: 1.6cqw; background: color-mix(in srgb, var(--fg) 14%, var(--bg)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 30%, transparent); --delay: .3s; }
.plan[data-stage="3"] .l1 i { width: 100%; height: 4cqw; background: color-mix(in srgb, var(--fg) 10%, var(--bg)); }
.plan[data-stage="3"] .l1 i::before { animation: led 1.6s steps(1) calc(var(--l) * .3s) infinite; }
@keyframes led { 50% { opacity: .3; } }
.plan[data-stage="3"] .pill { --delay: calc(.8s + var(--p, 0) * .15s); }
.p2 { --p: 1; } .p3 { --p: 2; }
.plan[data-stage="3"] .wires { --delay: .7s; }

@media (max-width: 960px) { .tag { font-size: 3cqw; } }
@media (prefers-reduced-motion: reduce) { .plan > * { transition: none !important; } .wires { animation: none !important; } }

/* ---------- Contact ---------- */
.contact { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 6vw; align-items: start; }
.email { display: inline-flex; align-items: center; min-height: 48px; margin-top: 18px; font-size: 20px; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
form { display: grid; gap: 24px; min-width: 0; }
.form-column { display: grid; gap: 22px; min-width: 0; align-content: start; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
label, legend { font-size: 14px; font-weight: 600; }
fieldset { border: 0; min-width: 0; }
.contact input:not([type="checkbox"]), .contact textarea { display: block; width: 100%; margin-top: 7px; padding: 13px 14px; background: #fffdf8; border: 1px solid color-mix(in srgb, var(--deep) 45%, transparent); border-radius: 10px; font: 400 16px/1.5 Geist, system-ui, sans-serif; color: #17151f; }
.contact input:focus-visible, .contact textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 1px; }
.contact textarea { resize: vertical; min-height: 150px; }
.contact [aria-invalid="true"] { border: 2px solid #a3301c !important; }
.field-error { display: block; margin-top: 7px; font-size: 14px; font-weight: 600; color: #8f2716; }
.field-error[hidden] { display: none; }
legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; font-weight: 500; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--deep) 45%, transparent); border-radius: 99px; transition: background-color .2s, color .2s; }
.chips input:checked + span { background: var(--deep); border-color: var(--deep); color: #fffaf0; }
.chips input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
form .button { justify-self: start; display: inline-flex; align-items: center; min-height: 56px; padding: 0 32px; border: 0; border-radius: 99px; background: var(--deep); color: #fffaf0; font-weight: 600; font-size: 17px; }
form .button svg { display: none; }
form .button:disabled, form .button[aria-disabled="true"] { cursor: wait; opacity: .7; }
.form-note { font-size: 13px; } .form-note a, .form-status a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { padding: 13px 16px; border: 1.5px solid currentColor; border-radius: 10px; font-size: 15px; }
.form-status:empty { position: absolute; padding: 0; border: 0; }
.form-status.is-success { background: var(--deep); color: #fffaf0; }
.form-status.is-error { border-width: 3px; }

/* ---------- Footer ---------- */
footer { padding: clamp(64px, 8vw, 110px) 4vw 30px; }
.signoff { font: 400 clamp(52px, 10vw, 160px)/1 "Libre Caslon Display", serif; letter-spacing: -.03em; overflow-wrap: anywhere; text-wrap: balance; }
.signoff span { font-style: italic; color: var(--pop); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 48px; }
.foot-row nav, .foot-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.foot-row a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-note { margin-top: 14px; font-size: 12px; opacity: .7; }
.foot-row.small { margin-top: 18px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--fg) 24%, transparent); font-size: 13px; }
.badge-link img { display: block; }

/* ---------- Privacy notice ---------- */
.modal { margin: auto; width: min(640px, calc(100vw - 32px)); max-height: min(80svh, 720px); overflow: hidden; display: none; flex-direction: column; background: #f5f1e8; color: #16233f; border: 0; border-radius: 16px; }
.modal[open] { display: flex; }
.modal::backdrop { background: rgb(8 12 24 / .62); }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: 1px solid rgb(22 35 63 / .2); }
.modal-title { font-size: 22px; line-height: 1.2; font-weight: 600; }
.modal-close { min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 99px; background: none; font-size: 14px; }
.modal :focus-visible { outline-color: #16233f; }
.modal-body { overflow-y: auto; padding: 4px 24px 24px; overscroll-behavior: contain; }
.legal-body h2 { font: 600 18px/1.3 Geist, system-ui, sans-serif; letter-spacing: 0; margin: 22px 0 6px; }
.legal-body p { margin-bottom: 10px; } .legal-body a { text-decoration: underline; }
html:has(.modal[open]) { overflow: hidden; }

@media (max-width: 960px) {
  .journey, .contact { grid-template-columns: minmax(0, 1fr); }
  .contact { gap: 0; }
  .journey { gap: 0; }
  /* The plan stays in view above the steps as they scroll past it. */
  .plan-wrap { order: -1; top: var(--head, 78px); transition: top .3s; z-index: 2; background: var(--bg); padding: 6px 0 10px; }
  html:has(.top.tucked) { --head: 0px; }
  .plan { width: min(100%, 38svh); }
  .steps li { min-height: 40vh; }
  .top { height: 78px; }
  /* Hamburger: three lines that turn into a cross when the menu opens. */
  .js .menu-button { position: relative; display: block; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
  .menu-button i { position: absolute; right: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: top .3s cubic-bezier(.3,.8,.2,1), rotate .3s cubic-bezier(.3,.8,.2,1), opacity .2s; }
  .menu-button i:nth-child(1) { top: 15px; } .menu-button i:nth-child(2) { top: 21px; } .menu-button i:nth-child(3) { top: 27px; }
  .menu-button[aria-expanded="true"] i:nth-child(1) { top: 21px; rotate: 45deg; }
  .menu-button[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] i:nth-child(3) { top: 21px; rotate: -45deg; }
  .js .top nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 78px); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 6vw 30px; background: var(--bg); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .js .top nav.open { visibility: visible; opacity: 1; transition: opacity .25s; }
  .js .top nav a { font-size: 30px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 22%, transparent); }
  .js .top nav .cta { margin-top: auto; justify-content: center; border: 1.5px solid currentColor; border-radius: 99px; font-size: 18px; }
  html:not(.js) .top nav a:not(.cta) { display: none; }
}
@media (max-width: 600px) {
  .services, .process, .contact { padding-inline: 6vw; } footer { padding-inline: 6vw; }
  .field-pair { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.foot-row a.logo { display: block; line-height: 44px; }
.process { overflow-x: clip; }
.float-cta { display: none; }
@media (max-width: 960px) {
  .float-cta { display: flex; align-items: center; position: fixed; z-index: 25; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); min-height: 48px; padding: 0 22px; border-radius: 99px; background: var(--pop); color: var(--on-pop); font-weight: 600; box-shadow: 0 0 0 3px #fffaf0, 0 10px 24px rgb(8 12 24 / .35); visibility: hidden; opacity: 0; transition: opacity .25s, visibility 0s .25s; }
  .float-cta.visible { visibility: visible; opacity: 1; transition: opacity .25s; }
  .top.menu-open ~ .float-cta { display: none; }
}
.name input::selection { background: color-mix(in srgb, var(--pop) 32%, transparent); }

/* ---------- privacy.html ---------- */
body.legal-page { background: #f5f1e8; color: #16233f; }
.legal { max-width: 680px; margin: 0 auto; padding: 40px 6% 80px; }
.legal-page :focus-visible { outline-color: #16233f; }
.legal .wordmark { display: inline-block; min-height: 44px; font: 400 25px/44px "IBM Plex Sans", sans-serif; letter-spacing: -1.4px; }
.legal .wordmark span:first-child { margin-left: .25em; }
.legal .legal-title { margin: 48px 0 28px; font: 400 clamp(38px, 7vw, 60px)/1.08 "Libre Caslon Display", Georgia, serif; }
.legal h2 { margin: 30px 0 6px; font: 600 19px/1.3 Geist, system-ui, sans-serif; letter-spacing: 0; }
.legal p { margin-bottom: 12px; }
.legal p a { text-decoration: underline; text-underline-offset: 3px; }
.legal .wordmark { font-weight: 600; } .legal .wordmark span { font-weight: 400; }

/* The big tick shown when an enquiry is sent: a circle and a check draw themselves over a soft blur. */
.sent-tick { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 55%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; animation: tick-fade .3s ease; transition: opacity .35s; }
.sent-tick.out { opacity: 0; }
.sent-tick svg { width: min(42vw, 220px); height: auto; fill: none; stroke: var(--pop); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 12px 30px rgb(0 0 0 / .35)); animation: tick-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
.sent-tick circle { stroke-dasharray: 327; animation: tick-draw .55s ease-out both; }
.sent-tick path { stroke-width: 9; stroke-dasharray: 70; animation: tick-draw .35s ease-out .45s both; }
@keyframes tick-draw { from { stroke-dashoffset: var(--len, 327); } }
.sent-tick path { --len: 70; }
@keyframes tick-fade { from { opacity: 0; } }
@keyframes tick-pop { from { scale: .6; } }

/* ---------- The owner's phone app: iOS metrics. Every size is in "pt" of a calc(390 * var(--pt))-wide iPhone, scaled to the phone. ---------- */
.mobile-screen { container-type: inline-size; --pt: calc(100cqw / 390); --tint: color-mix(in srgb, var(--pop) 58%, #000); --sec: rgb(60 60 67 / .6); --sep: rgb(60 60 67 / .18); --green: #248a3d;
  background: #f2f2f7; color: #000; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif; }
.mobile-screen > * { font-size: calc(17 * var(--pt)); line-height: 1.29; }
.mobile-screen button { font-family: inherit; letter-spacing: inherit; }

/* Status bar */
.mobile-status { grid-template-columns: 1fr 32% 1fr; height: calc(52 * var(--pt)); padding: calc(10 * var(--pt)) 0 0; font-size: calc(16 * var(--pt)); font-weight: 600; letter-spacing: 0; }
.mobile-status i { height: calc(34 * var(--pt)); background: #000; }
.mobile-status .sb-r { display: flex; justify-content: center; align-items: center; gap: calc(5 * var(--pt)); }
.mobile-status svg { height: calc(12 * var(--pt)); width: auto; fill: currentColor; }

/* Large-title header */
.mobile .panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: calc(12 * var(--pt)); padding: calc(8 * var(--pt)) calc(20 * var(--pt)) calc(6 * var(--pt)); font-size: calc(17 * var(--pt)); }
.mobile .panel-head > div { order: 1; min-width: 0; }
.mobile .panel-head .badge { order: 2; flex: none; width: calc(34 * var(--pt)); height: calc(34 * var(--pt)); margin-bottom: calc(4 * var(--pt)); border-radius: 50%; background: var(--tint); color: #fff; font-size: calc(15 * var(--pt)); font-weight: 600; box-shadow: none; }
.mobile .panel-head strong { display: block; font-size: calc(13 * var(--pt)); font-weight: 600; color: var(--sec); letter-spacing: 0; text-transform: uppercase; }
.mobile .panel-head small { display: block; margin-top: calc(1 * var(--pt)); font-size: calc(32 * var(--pt)); font-weight: 700; line-height: 1.1; letter-spacing: -.022em; color: #000; white-space: nowrap; }

.mobile .app-page { gap: calc(20 * var(--pt)); padding: calc(6 * var(--pt)) calc(16 * var(--pt)) calc(24 * var(--pt)); font-size: calc(17 * var(--pt)); }

/* Summary card */
.mobile .hero-card { position: relative; overflow: hidden; padding: calc(14 * var(--pt)) calc(16 * var(--pt)) calc(15 * var(--pt)); border-radius: calc(12 * var(--pt)); background: #fff; color: #000; box-shadow: none; text-align: left; }
.mobile .hero-card small { display: block; font-size: calc(13 * var(--pt)); font-weight: 500; color: var(--sec); opacity: 1; }
.mobile .hero-card b { margin-top: calc(2 * var(--pt)); font-size: calc(30 * var(--pt)); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.mobile .hero-card .trend { display: block; margin-top: calc(4 * var(--pt)); padding: 0; background: none; font-size: calc(13 * var(--pt)); font-weight: 600; color: var(--green); }
.mobile .hero-card .spark { right: calc(16 * var(--pt)); top: calc(22 * var(--pt)); width: calc(76 * var(--pt)); height: calc(34 * var(--pt)); }
.mobile .hero-card .spark path { stroke: var(--green); stroke-width: 2.4; }

/* Booking list: an inset grouped list */
.mobile .bookings { display: block; background: #fff; border-radius: calc(12 * var(--pt)); overflow: hidden; }
.mobile .bookings li { position: relative; display: flex; align-items: center; gap: calc(12 * var(--pt)); min-height: calc(52 * var(--pt)); padding: calc(8 * var(--pt)) calc(14 * var(--pt)) calc(8 * var(--pt)) calc(16 * var(--pt)); border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.mobile .bookings li:not(:last-child)::after { content: ""; position: absolute; left: calc(16 * var(--pt)); right: 0; bottom: 0; height: .5px; background: var(--sep); }
.mobile .bookings li.new { background: color-mix(in srgb, var(--tint) 10%, #fff); }
.mobile .bookings li b { min-width: calc(46 * var(--pt)); font-size: calc(15 * var(--pt)); font-weight: 500; color: var(--sec); font-variant-numeric: tabular-nums; }
.mobile .bookings li span { flex: 1; min-width: 0; font-size: calc(17 * var(--pt)); font-weight: 400; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile .bookings li button { flex: none; min-width: 0; min-height: 0; padding: calc(6 * var(--pt)) calc(12 * var(--pt)); border: 0; border-radius: 99px; background: color-mix(in srgb, var(--tint) 13%, #fff); color: var(--tint); font-size: calc(13 * var(--pt)); font-weight: 600; line-height: 1.2; white-space: nowrap; }
.mobile .bookings li button[aria-pressed="true"] { padding-right: 0; background: transparent; color: var(--green); }
.mobile .bookings li button[aria-pressed="true"]::before { content: "✓ "; font-weight: 700; }
.mobile .summary { margin-top: calc(-10 * var(--pt)); padding: 0 calc(16 * var(--pt)); border: 0; font-size: calc(13 * var(--pt)); color: var(--sec); }
.mobile .summary b { color: #000; font-weight: 600; }

/* Inbox */
.mobile .mail, .mobile .draft { border: 0; border-radius: calc(12 * var(--pt)); background: #fff; box-shadow: none; }
.mobile .mail { position: relative; padding: calc(12 * var(--pt)) calc(16 * var(--pt)) calc(14 * var(--pt)) calc(66 * var(--pt)); min-height: calc(60 * var(--pt)); }
.mobile .mail::before { content: ""; position: absolute; left: calc(16 * var(--pt)); top: calc(12 * var(--pt)); width: calc(38 * var(--pt)); height: calc(38 * var(--pt)); border-radius: 50%; background: radial-gradient(circle at 50% 36%, #fff 0 16%, transparent 17%), radial-gradient(ellipse 36% 30% at 50% 94%, #fff 0 99%, transparent 100%), linear-gradient(#c7c7cc, #a0a0a6); }
.mobile .mail small, .mobile .draft small { display: block; font-size: calc(13 * var(--pt)); font-weight: 500; color: var(--sec); }
.mobile .mail p { margin-top: calc(3 * var(--pt)); font-size: calc(17 * var(--pt)); }
.mobile .draft { padding: calc(14 * var(--pt)) calc(16 * var(--pt)) calc(16 * var(--pt)); }
.mobile .draft small { color: var(--tint); font-weight: 600; }
.mobile .draft small::before { content: "✦ "; }
.mobile .draft p { margin: calc(6 * var(--pt)) 0 calc(16 * var(--pt)); font-size: calc(17 * var(--pt)); }
.mobile .act { align-self: stretch; width: 100%; padding: calc(14 * var(--pt)) calc(16 * var(--pt)); border: 0; border-radius: calc(12 * var(--pt)); background: var(--tint); color: #fff; font-size: calc(17 * var(--pt)); font-weight: 600; text-align: center; box-shadow: none; }
.mobile .draft.sent { box-shadow: 0 0 0 2px var(--green) inset; }

/* Takings detail rows */
.mobile .app-figures { display: block; background: #fff; border-radius: calc(12 * var(--pt)); overflow: hidden; }
.mobile .app-figures li { position: relative; border: 0; }
.mobile .app-figures li:not(:last-child)::after { content: ""; position: absolute; left: calc(16 * var(--pt)); right: 0; bottom: 0; height: .5px; background: var(--sep); }
.mobile .app-figures button { min-height: calc(48 * var(--pt)); padding: 0 calc(16 * var(--pt)); border-radius: 0; background: transparent; box-shadow: none; font-size: calc(17 * var(--pt)); }
.mobile .app-figures span { color: #000; }
.mobile .app-figures b { font-size: calc(17 * var(--pt)); font-weight: 400; color: var(--sec); }
.mobile .app-figures i { font-size: calc(22 * var(--pt)); line-height: 1; color: rgb(60 60 67 / .3); }
.mobile .app-page button:active { scale: 1; background-color: rgb(60 60 67 / .1); }

/* Tab bar and home indicator */
.mobile .app-nav { position: relative; gap: 0; padding: calc(7 * var(--pt)) calc(6 * var(--pt)) calc(30 * var(--pt)); border-top: .5px solid rgb(60 60 67 / .3); background: rgb(249 249 249 / .94); backdrop-filter: blur(20px); }
.mobile .app-nav button { display: flex; flex-direction: column; align-items: center; gap: calc(3 * var(--pt)); padding: 0; border-radius: 0; background: transparent; color: #8e8e93; font-size: calc(10 * var(--pt)); font-weight: 500; letter-spacing: .01em; line-height: 1.2; }
.mobile .app-nav svg { width: calc(26 * var(--pt)); height: calc(26 * var(--pt)); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mobile .app-nav button[aria-pressed="true"] { background: transparent; color: var(--tint); font-weight: 500; }
.mobile .app-nav button[aria-pressed="true"] svg { stroke: currentColor; fill: color-mix(in srgb, currentColor 22%, transparent); }
.mobile .app-nav::after { content: ""; position: absolute; left: 50%; bottom: calc(8 * var(--pt)); width: calc(134 * var(--pt)); height: calc(5 * var(--pt)); margin-left: calc(-67 * var(--pt)); border-radius: calc(3 * var(--pt)); background: #000; }

/* Notification banners drop in from the top, as on iOS */
.mobile .toasts { top: calc(58 * var(--pt)); bottom: auto; z-index: 9; left: calc(12 * var(--pt)); right: calc(12 * var(--pt)); justify-items: stretch; }
/* Each banner comes out of the Dynamic Island: it starts small and dark at the island, then drops and
   opens into the banner just below the status bar. Leaving, it goes back up the same way. */
.mobile .toast { transform-origin: 50% 0; animation: island-out .55s cubic-bezier(.2, .9, .25, 1.15); transition: translate .35s cubic-bezier(.5, 0, .75, 0), scale .35s cubic-bezier(.5, 0, .75, 0), opacity .3s .05s; }
.mobile .toast.out { translate: 0 calc(-40 * var(--pt)); scale: .3 .28; opacity: 0; }
@keyframes island-out { 0% { translate: 0 calc(-40 * var(--pt)); scale: .3 .28; opacity: 0; background: #000; color: transparent; } 35% { opacity: 1; background: #000; color: transparent; } 100% { translate: 0 0; scale: 1; } }
/* The island swells briefly as a notification leaves it. */
.mobile-status i.ping { animation: island-ping .5s cubic-bezier(.2, .9, .25, 1.2); }
@keyframes island-ping { 40% { scale: 1.12 1.15; } }
.mobile .toast { padding: calc(12 * var(--pt)) calc(14 * var(--pt)); border-radius: calc(20 * var(--pt)); background: rgb(250 250 252 / .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: #000; font-size: calc(15 * var(--pt)); box-shadow: 0 8px 28px rgb(0 0 0 / .18); }

/* ---------- Salon owner's app: appointment rows, inbox threads, weekly takings ---------- */
.mobile .sec { margin: 0 0 calc(-12 * var(--pt)); padding: 0 calc(16 * var(--pt)); font-size: calc(13 * var(--pt)); font-weight: 600; line-height: 1.3; letter-spacing: .02em; text-transform: uppercase; color: var(--sec); }
.mobile .av { flex: none; display: grid; place-items: center; width: calc(38 * var(--pt)); height: calc(38 * var(--pt)); border-radius: 50%; font-style: normal; font-size: calc(16 * var(--pt)); font-weight: 600; letter-spacing: 0; background: hsl(var(--h, 30) 62% 87%); color: hsl(var(--h, 30) 48% 28%); }
.mobile .av.person { background: radial-gradient(circle at 50% 36%, #fff 0 16%, transparent 17%), radial-gradient(ellipse 36% 30% at 50% 94%, #fff 0 99%, transparent 100%), linear-gradient(#c7c7cc, #a0a0a6); }

.mobile .bookings li { min-height: calc(66 * var(--pt)); gap: calc(10 * var(--pt)); }
.mobile .bookings li b { min-width: calc(40 * var(--pt)); font-size: calc(15 * var(--pt)); }
.mobile .bookings li span { display: grid; grid-template-columns: calc(38 * var(--pt)) minmax(0, 1fr); column-gap: calc(12 * var(--pt)); align-items: center; white-space: normal; overflow: visible; }
.mobile .bookings li span .av { grid-row: 1 / span 2; }
.mobile .bookings li span em { align-self: end; font-style: normal; font-size: calc(17 * var(--pt)); font-weight: 600; line-height: 1.2; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile .bookings li span small { align-self: start; font-size: calc(13 * var(--pt)); line-height: 1.3; color: var(--sec); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Inbox */
.mobile .mail { display: flex; align-items: flex-start; gap: calc(12 * var(--pt)); padding: calc(14 * var(--pt)) calc(16 * var(--pt)); min-height: 0; }
.mobile .mail::before { display: none; }
.mobile .mail > div { min-width: 0; }
.mobile .mail p { font-size: calc(17 * var(--pt)); line-height: 1.3; }
.mobile .draft p { margin: calc(8 * var(--pt)) 0 calc(12 * var(--pt)); padding: calc(12 * var(--pt)) calc(14 * var(--pt)); border-radius: calc(12 * var(--pt)); background: #f2f2f7; font-size: calc(15 * var(--pt)); line-height: 1.35; }
.mobile .inbox-list { display: block; background: #fff; border-radius: calc(12 * var(--pt)); overflow: hidden; }
.mobile .inbox-list li { position: relative; display: flex; gap: calc(12 * var(--pt)); padding: calc(12 * var(--pt)) calc(16 * var(--pt)); }
.mobile .inbox-list li:not(:last-child)::after { content: ""; position: absolute; left: calc(66 * var(--pt)); right: 0; bottom: 0; height: .5px; background: var(--sep); }
.mobile .inbox-list li > div { flex: 1; min-width: 0; }
.mobile .inbox-list .who { display: flex; justify-content: space-between; align-items: baseline; gap: calc(8 * var(--pt)); }
.mobile .inbox-list b { font-size: calc(17 * var(--pt)); font-weight: 600; }
.mobile .inbox-list time { font-size: calc(13 * var(--pt)); color: var(--sec); }
.mobile .inbox-list p { margin: calc(1 * var(--pt)) 0 calc(2 * var(--pt)); font-size: calc(15 * var(--pt)); line-height: 1.3; color: rgb(60 60 67 / .85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile .inbox-list em { font-style: normal; font-size: calc(12 * var(--pt)); font-weight: 600; color: var(--green); }
.mobile .inbox-list em::before { content: "✓ "; }

/* Weekly takings chart */
.mobile .wk-card { padding: calc(14 * var(--pt)) calc(16 * var(--pt)) calc(12 * var(--pt)); border-radius: calc(12 * var(--pt)); background: #fff; }
.mobile .wk-card .sec { margin: 0 0 calc(12 * var(--pt)); padding: 0; }
.mobile .wk { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(8 * var(--pt)); align-items: end; height: calc(96 * var(--pt)); }
.mobile .wk i { display: block; height: var(--h); border-radius: calc(6 * var(--pt)); background: color-mix(in srgb, var(--tint) 26%, #fff); transform-origin: bottom; }
.mobile .wk i.today { background: var(--tint); }
.mobile [data-page="takings"]:not([hidden]) .wk i { animation: wk-grow .7s cubic-bezier(.2, .9, .2, 1) both; }
@keyframes wk-grow { from { transform: scaleY(.1); } }
.mobile .wk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: calc(8 * var(--pt)); margin-top: calc(8 * var(--pt)); text-align: center; font-size: calc(11 * var(--pt)); font-weight: 500; color: var(--sec); }
.mobile .wk-days .today { color: #000; font-weight: 700; }

/* ---------- Tappable: press feedback, detail sheet, conversations, chart ---------- */
.mobile-screen { position: relative; }
.mobile .bookings li, .mobile .inbox-list li { cursor: pointer; transition: background-color .18s; -webkit-tap-highlight-color: transparent; outline-offset: -2px; }
.mobile .bookings li:active, .mobile .inbox-list li:active { background-color: rgb(60 60 67 / .09); }
.mobile .bookings li:focus-visible, .mobile .inbox-list li:focus-visible { outline: 2px solid var(--tint); }
.mobile .bookings li button, .mobile .act, .mobile .sheet-alt, .mobile .hero-card, .mobile .app-figures button { transition: transform .15s cubic-bezier(.2, .9, .2, 1), background-color .15s, opacity .15s; }
.mobile .bookings li button:active, .mobile .act:active, .mobile .sheet-alt:active { transform: scale(.96); }
.mobile .hero-card[data-open]:active { transform: scale(.985); }
.mobile .bookings li::before { content: none; }
.mobile .bookings li > b::after { content: none; }

/* Inbox: an open conversation shows both sides as message bubbles */
.mobile .inbox-list li .more { display: none; }
.mobile .inbox-list li.open .more { display: grid; gap: calc(6 * var(--pt)); margin: calc(10 * var(--pt)) 0 calc(4 * var(--pt)); animation: bubble-in .3s cubic-bezier(.2, .9, .2, 1); }
.mobile .inbox-list li.open > div > p { white-space: normal; }
.mobile .inbox-list .more p { max-width: 86%; margin: 0; padding: calc(8 * var(--pt)) calc(12 * var(--pt)); border-radius: calc(18 * var(--pt)); font-size: calc(15 * var(--pt)); line-height: 1.3; white-space: normal; }
.mobile .inbox-list .more .in { justify-self: start; border-bottom-left-radius: calc(5 * var(--pt)); background: #e9e9ee; color: #000; }
.mobile .inbox-list .more .out { justify-self: end; border-bottom-right-radius: calc(5 * var(--pt)); background: var(--tint); color: #fff; }
.mobile .inbox-list li > div > p:not(.in):not(.out) { display: block; }
.mobile .inbox-list li.open > div > .who + p { display: none; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(calc(-4 * var(--pt))); } }

/* Takings chart: tap a day */
.mobile .wk-read { margin: calc(-4 * var(--pt)) 0 calc(10 * var(--pt)); font-size: calc(17 * var(--pt)); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.mobile .wk button { display: block; width: 100%; height: var(--h); min-height: calc(8 * var(--pt)); padding: 0; border: 0; border-radius: calc(6 * var(--pt)); background: color-mix(in srgb, var(--tint) 24%, #fff); transform-origin: bottom; transition: height .5s cubic-bezier(.2, .9, .2, 1), background-color .2s; cursor: pointer; }
.mobile .wk button[aria-pressed="true"] { background: var(--tint); }
.mobile .app-page .wk button:active { background-color: var(--tint); }
.mobile [data-page="takings"]:not([hidden]) .wk button { animation: wk-grow .7s cubic-bezier(.2, .9, .2, 1) both; }
.mobile .wk-days .today { color: #000; font-weight: 700; }

/* Detail sheet */
.mobile .sheet-wrap { position: absolute; inset: 0; z-index: 9; overflow: hidden; border-radius: inherit; }
.mobile .sheet-wrap[hidden] { display: none; }
.mobile .sheet-bg { position: absolute; inset: 0; background: rgb(0 0 0 / .4); opacity: 0; transition: opacity .35s; }
.mobile .sheet { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: calc(10 * var(--pt)); padding: calc(8 * var(--pt)) calc(16 * var(--pt)) calc(34 * var(--pt)); border-radius: calc(22 * var(--pt)) calc(22 * var(--pt)) 0 0; background: #f2f2f7; box-shadow: 0 -10px 40px rgb(0 0 0 / .18); transform: translateY(105%); transition: transform .45s cubic-bezier(.2, .9, .2, 1); }
.mobile .sheet-wrap.open .sheet-bg { opacity: 1; }
.mobile .sheet-wrap.open .sheet { transform: none; }
.mobile .grab { justify-self: center; width: calc(36 * var(--pt)); height: calc(5 * var(--pt)); margin-bottom: calc(4 * var(--pt)); border-radius: calc(3 * var(--pt)); background: rgb(60 60 67 / .3); }
.mobile .sheet-head { display: flex; align-items: center; gap: calc(12 * var(--pt)); padding: calc(4 * var(--pt)) calc(2 * var(--pt)) calc(6 * var(--pt)); }
.mobile .sheet-head .av { width: calc(48 * var(--pt)); height: calc(48 * var(--pt)); font-size: calc(20 * var(--pt)); }
.mobile .sheet-head > div { flex: 1; min-width: 0; }
.mobile .sheet-head strong { display: block; font-size: calc(22 * var(--pt)); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.mobile .sheet-head small { display: block; font-size: calc(15 * var(--pt)); color: var(--sec); }
.mobile .sheet .status { flex: none; padding: calc(4 * var(--pt)) calc(10 * var(--pt)); border-radius: 99px; background: color-mix(in srgb, var(--tint) 14%, #fff); color: var(--tint); font-size: calc(12 * var(--pt)); font-weight: 600; }
.mobile .sheet .status[data-paid="true"] { background: rgb(36 138 61 / .12); color: var(--green); }
.mobile .sheet-list { background: #fff; border-radius: calc(12 * var(--pt)); overflow: hidden; }
.mobile .sheet-list li { display: flex; justify-content: space-between; gap: calc(12 * var(--pt)); padding: calc(13 * var(--pt)) calc(16 * var(--pt)); font-size: calc(17 * var(--pt)); }
.mobile .sheet-list li + li { border-top: .5px solid var(--sep); }
.mobile .sheet-list span { color: var(--sec); }
.mobile .sheet-list b { font-weight: 500; }
.mobile .sheet .act:disabled { background: rgb(36 138 61 / .14); color: var(--green); opacity: 1; cursor: default; }
.mobile .sheet-alt { padding: calc(14 * var(--pt)) calc(16 * var(--pt)); border: 0; border-radius: calc(12 * var(--pt)); background: #fff; color: var(--tint); font-size: calc(17 * var(--pt)); font-weight: 600; cursor: pointer; }
.mobile .sheet-alt.quiet { background: transparent; color: var(--sec); font-weight: 500; }

/* ---------- The app follows the chosen palette ---------- */
/* --brand is the palette's strong colour (buttons, tab bar, summary card). --accent is its lively one. */
.mobile-screen { --brand: var(--bg); --accent: var(--pop); --tint: var(--brand);
  background: color-mix(in srgb, var(--brand) 7%, #f6f6f8); transition: background-color .5s; }
body[data-world="porcelain"] .mobile-screen { --brand: var(--pop); --accent: var(--alt); }
.mobile .panel-head .badge { background: var(--accent); color: #1b1b22; }
.mobile .hero-card { background: radial-gradient(130% 160% at 100% 0, color-mix(in srgb, var(--alt) 34%, var(--brand)), var(--brand) 64%); color: #fff; }
.mobile .hero-card small { color: rgb(255 255 255 / .72); }
.mobile .hero-card .trend { color: color-mix(in srgb, var(--accent) 60%, #fff); }
.mobile .hero-card .spark path { stroke: var(--accent); }
.mobile .av { background: color-mix(in srgb, var(--accent) 34%, #fff); color: color-mix(in srgb, var(--brand) 88%, #000); }
.mobile li:nth-child(even) > .av, .mobile li:nth-child(even) > span > .av { background: color-mix(in srgb, var(--brand) 13%, #fff); }
.mobile .av.person { background: radial-gradient(circle at 50% 36%, #fff 0 16%, transparent 17%), radial-gradient(ellipse 36% 30% at 50% 94%, #fff 0 99%, transparent 100%), linear-gradient(color-mix(in srgb, var(--brand) 30%, #d0d0d6), color-mix(in srgb, var(--brand) 45%, #a8a8b0)); }
.mobile .wk button { background: color-mix(in srgb, var(--brand) 18%, #fff); }
.mobile .wk button[aria-pressed="true"] { background: var(--brand); }
.mobile .bookings li button { background: color-mix(in srgb, var(--brand) 10%, #fff); }
.mobile .bookings li button[aria-pressed="true"] { background: transparent; }
.mobile .app-nav { background: color-mix(in srgb, var(--brand) 5%, rgb(250 250 252 / .94)); }
.mobile .mail small, .mobile .draft small { color: color-mix(in srgb, var(--brand) 55%, rgb(60 60 67 / .6)); }
.mobile .draft small { color: var(--brand); }

/* ---------- Richer summary card ---------- */
.mobile .hero-card { isolation: isolate; padding: calc(16 * var(--pt)) calc(18 * var(--pt)) calc(17 * var(--pt));
  background:
    radial-gradient(90% 120% at 108% -10%, color-mix(in srgb, var(--accent) 62%, transparent), transparent 62%),
    radial-gradient(80% 110% at -10% 120%, color-mix(in srgb, var(--alt) 48%, transparent), transparent 60%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 82%, #fff) 0%, var(--brand) 55%, color-mix(in srgb, var(--brand) 78%, #000) 100%);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .22), 0 14px 28px -14px color-mix(in srgb, var(--brand) 85%, #000); }
.mobile .hero-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgb(255 255 255 / .16), transparent 42%); }
.mobile .hero-card::after { content: ""; position: absolute; right: calc(-34 * var(--pt)); bottom: calc(-52 * var(--pt)); z-index: -1; width: calc(150 * var(--pt)); height: calc(150 * var(--pt)); border-radius: 50%; border: 1px solid rgb(255 255 255 / .16); box-shadow: 0 0 0 calc(22 * var(--pt)) rgb(255 255 255 / .04), 0 0 0 calc(44 * var(--pt)) rgb(255 255 255 / .03); }
.mobile .hero-card small { font-weight: 600; letter-spacing: .02em; color: rgb(255 255 255 / .78); }
.mobile .hero-card b { margin-top: calc(3 * var(--pt)); font-size: calc(34 * var(--pt)); color: #fff; text-shadow: 0 1px 14px rgb(0 0 0 / .18); }
.mobile .hero-card .trend { display: inline-block; margin-top: calc(8 * var(--pt)); padding: calc(3 * var(--pt)) calc(9 * var(--pt)); border-radius: 99px; background: rgb(255 255 255 / .16); color: #fff; font-size: calc(12 * var(--pt)); backdrop-filter: blur(6px); }
.mobile .hero-card .spark { right: calc(18 * var(--pt)); top: calc(24 * var(--pt)); width: calc(86 * var(--pt)); height: calc(40 * var(--pt)); filter: drop-shadow(0 2px 8px color-mix(in srgb, var(--accent) 70%, transparent)); }
.mobile .hero-card .spark path { stroke: #fff; stroke-width: 2.8; }

/* Dark palettes: stronger glows, so the card reads as vivid as on Porcelain */
body:not([data-world="porcelain"]) .mobile .hero-card {
  background:
    radial-gradient(75% 105% at 105% -8%, color-mix(in srgb, var(--accent) 92%, transparent), transparent 66%),
    radial-gradient(70% 100% at -8% 118%, color-mix(in srgb, var(--alt) 78%, transparent), transparent 64%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 62%, var(--accent)) 0%, color-mix(in srgb, var(--brand) 88%, var(--accent)) 55%, color-mix(in srgb, var(--brand) 80%, #000) 100%);
  box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .3), 0 16px 30px -14px color-mix(in srgb, var(--accent) 55%, #000); }
body:not([data-world="porcelain"]) .mobile .hero-card b { text-shadow: 0 2px 16px rgb(0 0 0 / .3); }

/* Pine: a dark green hides colour, so its glows run hotter */
body[data-world="pine"] .mobile .hero-card {
  background:
    radial-gradient(80% 115% at 106% -10%, color-mix(in srgb, var(--accent) 100%, transparent), transparent 64%),
    radial-gradient(72% 105% at -8% 120%, color-mix(in srgb, var(--alt) 92%, transparent), transparent 62%),
    linear-gradient(150deg, color-mix(in srgb, var(--brand) 52%, var(--alt)) 0%, color-mix(in srgb, var(--brand) 84%, var(--alt)) 58%, color-mix(in srgb, var(--brand) 82%, #000) 100%); }

/* ---------- Palette shade across the app, and true iPhone proportions ---------- */
/* An iPhone 15 screen is 393 x 852 pt, with a ~55pt corner radius. */
.mobile { aspect-ratio: 393 / 852; border-radius: 15.6% / 7.3%; }
.mobile-screen { --pt: calc(100cqw / 393); border-radius: 14% / 6.45%; }

/* --shade is the card's colour: the palette's strong colour blended with its second accent. */
.mobile-screen {
  --shade: color-mix(in srgb, var(--brand) 52%, var(--alt));
  --wash: color-mix(in srgb, var(--shade) 11%, #f8f8fa);
  --grad: linear-gradient(150deg, var(--shade), var(--brand) 82%);
  --sep: color-mix(in srgb, var(--shade) 20%, rgb(60 60 67 / .12));
  background: linear-gradient(color-mix(in srgb, var(--shade) 26%, #fff) 0, var(--wash) 36%); }
body[data-world="porcelain"] .mobile-screen { --shade: color-mix(in srgb, var(--brand) 80%, #fff); }

.mobile .act, .mobile .inbox-list .more .out { background: var(--grad); color: #fff; }
.mobile .sheet .act:disabled { background: rgb(36 138 61 / .14); color: var(--green); }
.mobile .wk button { background: color-mix(in srgb, var(--shade) 26%, #fff); }
.mobile .wk button[aria-pressed="true"] { background: linear-gradient(180deg, var(--shade), var(--brand)); }
.mobile li:nth-child(even) > .av, .mobile li:nth-child(even) > span > .av { background: color-mix(in srgb, var(--shade) 20%, #fff); }
.mobile .bookings li button { background: color-mix(in srgb, var(--shade) 17%, #fff); color: var(--brand); }
.mobile .bookings li button[aria-pressed="true"] { background: transparent; color: var(--green); }
.mobile .app-nav { background: color-mix(in srgb, var(--shade) 9%, rgb(255 255 255 / .82)); }
.mobile .sheet { background: var(--wash); }
.mobile .sheet .status { background: color-mix(in srgb, var(--shade) 18%, #fff); color: var(--brand); }
.mobile .sheet .status[data-paid="true"] { background: rgb(36 138 61 / .12); color: var(--green); }
.mobile .sec { color: color-mix(in srgb, var(--shade) 45%, rgb(60 60 67 / .6)); }
.mobile .app-nav button { font-size: calc(11 * var(--pt)); }

/* ---------- A larger phone ---------- */
/* The phone fills the shared cell, so a taller cell gives a bigger phone (its width follows the iPhone ratio). */
.views { transition: min-height .45s cubic-bezier(.2, .9, .2, 1); }
@media (min-width: 961px) { .views { min-height: clamp(340px, calc(100svh - 255px), 880px); } }
/* On a phone or tablet the app is the content, so it gets the room it needs while it is showing. */
@media (max-width: 960px) { .views[data-showing="app"] { min-height: min(118vw, 800px); } }

/* Phone and tablet previews: when a screen has room to spare, its content sits in the middle rather
   than leaving the bottom empty. Auto margins keep the top reachable when the content is taller. */
.browser:is([data-device="phone"], [data-device="tablet"]) .screen .panel > :first-child { margin-top: auto; }
.browser:is([data-device="phone"], [data-device="tablet"]) .screen .panel > :last-child { margin-bottom: auto; }

