/* =====================================================================
   Time Savers: shared stylesheet
   Colours, type and motion are taken from the live holding page at
   timesavers.gg. Mobile first. No framework, no build step.
   ===================================================================== */

/* ---------- Fonts: Geist and Geist Mono (SIL Open Font Licence) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Michroma"; /* closest match to the logo's lettering (SIL Open Font Licence) */
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/michroma-latin.woff2") format("woff2");
}
@font-face { font-family: "Geist Fallback"; src: local("Arial"); ascent-override: 95.94%; descent-override: 28.16%; line-gap-override: 0%; size-adjust: 104.76%; }
@font-face { font-family: "Geist Mono Fallback"; src: local("Arial"); ascent-override: 74.67%; descent-override: 21.92%; line-gap-override: 0%; size-adjust: 134.59%; }

/* ---------- Tokens: exactly the live holding page's palette ---------- */
:root {
  --ts-bg: #0a0c28;
  --ts-glow: #141845;           /* centre of the live page's radial gradient */
  --ts-deep: #07091e;           /* edge of the live page's radial gradient */
  --ts-purple: #6b35c8;
  --ts-purple-light: #a78bfa;
  --ts-white: #f4f3f8;
  --ts-mid: #c8c9d8;
  --ts-muted: #8e8fa8;
  --ts-border: #ffffff14;
  --ts-border-strong: #a78bfa40;
  --ts-chip: #a78bfa0a;         /* .ts-chip background on the live page */
  --ts-chip-hover: #a78bfa1a;   /* .ts-chip:hover background */
  --ts-chip-hover-border: #a78bfa80;
  --ts-field: rgba(255, 255, 255, 0.04);
  --ts-bar: rgba(10, 12, 40, 0.6);
  --ts-bar-border: rgba(255, 255, 255, 0.06);

  --font-sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 64px;
  --gutter: 20px;
  --maxw: 1180px;
  --radius: 14px;
  --section-y: clamp(64px, 8vw, 120px);

  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 900px) { :root { --header-h: 76px; --gutter: 48px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ts-bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ts-bg);
  color: var(--ts-mid);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, picture, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 { color: var(--ts-white); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 500; color: var(--ts-white); }
::selection { background: rgba(167, 139, 250, 0.35); color: #fff; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 2px solid var(--ts-purple-light); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ts-white); color: var(--ts-bg); font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* ---------- The live page's backdrop, fixed behind every page ---------- */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 30%, var(--ts-glow) 0%, var(--ts-bg) 60%, var(--ts-deep) 100%);
}
.backdrop__grid-mask {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 40%, transparent 100%);
}
.backdrop__grid {
  position: absolute; inset: -48px;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}
.backdrop__dot { position: absolute; border-radius: 50%; background: var(--ts-purple-light); opacity: 0.36; }
.backdrop__lines { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ts-purple-light);
}
.eyebrow__dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.h1 { font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.25rem); line-height: 1.05; }
.h2 { font-size: clamp(1.875rem, 1.35rem + 2.1vw, 3rem); line-height: 1.08; }
.h1 .alt, .h2 .alt { display: block; }
.alt { color: var(--ts-purple-light); font-style: italic; font-weight: 400; }
.h2 .alt--inline, .alt--inline { display: inline; }
.hl { color: var(--ts-purple-light); }
.white { color: var(--ts-white); }

.lede { max-width: 600px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); font-weight: 300; line-height: 1.7; color: var(--ts-mid); }
.lede + .lede { margin-top: 14px; }

/* "// comment" lines, as under the live page's form */
.comment { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; line-height: 1.6; letter-spacing: 0.02em; color: var(--ts-muted); }
.comment a { color: var(--ts-purple-light); text-underline-offset: 3px; }
.label { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.token {
  display: inline-block;
  padding: 0 6px;
  border: 1px solid var(--ts-border-strong);
  border-radius: 4px;
  background: var(--ts-chip);
  font-family: var(--font-mono);
  font-size: 0.85em;
  line-height: 1.5;
  color: var(--ts-purple-light);
}

/* ---------- Section breakers: "// WHAT WE DO" ---------- */
.breaker { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3vw, 36px); }
.breaker__label {
  flex: 0 1 auto;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ts-purple-light);
}
.breaker__rule { flex: 1 1 24px; height: 1px; background: linear-gradient(90deg, var(--ts-border-strong), transparent); transform-origin: left; }
.breaker__end { flex: none; display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ts-muted); }

/* ---------- Buttons, chips, badges ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: 500 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s, background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn .i-arrow { width: 14px; height: 14px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }
/* Every button is the live page's "Book a chat" button: solid purple, white mono text */
.btn--primary, .btn--ghost { background: var(--ts-purple); color: var(--ts-white); }
.btn--primary:hover, .btn--ghost:hover { opacity: 0.9; }
.chip { border: 1px solid var(--ts-border-strong); background: var(--ts-chip); color: var(--ts-mid); }
.chip:hover { background: var(--ts-chip-hover); border-color: var(--ts-chip-hover-border); color: var(--ts-purple-light); }
.btn--sm { min-height: 40px; padding: 9px 16px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 6px;
  font: 400 0.75rem/1.2 var(--font-mono);
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip svg { width: 14px; height: 14px; flex: none; }
.chip__num { color: var(--ts-purple-light); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.6875rem/1.4 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ts-purple-light);
  text-decoration: none;
}
.text-link .i-arrow { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.text-link:hover .i-arrow { transform: translateX(4px); }

.badge, .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--ts-border-strong);
  border-radius: 999px;
  background: var(--ts-chip);
  font: 400 0.6875rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ts-purple-light);
  white-space: nowrap;
}
.badge::before, .status::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status { padding: 9px 14px; border-radius: 8px; font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1.45; text-transform: none; white-space: normal; color: var(--ts-white); }
.status::before { background: var(--ts-purple-light); }

/* Corner brackets, like a viewfinder: marks a slot for a photo, logo or video */
.frame { position: relative; }
.frame::after {
  --c: rgba(167, 139, 250, 0.55);
  --l: 14px;
  --t: 1.5px;
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) left top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right top / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / var(--t) var(--l) no-repeat;
}
.frame--tight::after { inset: 6px; --l: 10px; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: var(--ts-bar); border-bottom: 1px solid var(--ts-bar-border); }
.js .site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background-color 0.35s, border-color 0.35s;
  view-transition-name: site-header;
}
.js .site-header.is-scrolled, .js.menu-open .site-header {
  background: var(--ts-bg); /* solid, so the page never shows through the header */
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.9);
  border-bottom-color: var(--ts-bar-border);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: var(--ts-white); text-decoration: none; }
.brand__mark { width: 42px; }
.brand__text { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__word { width: 150px; height: auto; }
.brand__place { margin-top: 6px; padding-left: 0.6em; font-family: "Michroma", var(--font-mono); font-size: 0.4375rem; letter-spacing: 0.6em; text-transform: uppercase; color: var(--ts-purple-light); }
@media (min-width: 900px) { .brand__word { width: 172px; } .brand__place { font-size: 0.5rem; } }


.site-nav__list a { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ts-mid); }
.site-nav__list a[aria-current="page"] { color: var(--ts-purple-light); }
.nav-num { display: none; }

@media (max-width: 1039.98px) {
  .site-nav { display: flex; width: 100%; padding-bottom: 10px; }
  .site-nav__list { display: flex; flex-wrap: wrap; gap: 0 18px; }
  .site-nav__list a { display: inline-block; padding: 8px 0; }
  .site-nav__cta { display: none; }

  .js .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 20px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: radial-gradient(ellipse at 50% 0%, var(--ts-glow) 0%, var(--ts-bg) 70%);
    border-top: 1px solid var(--ts-bar-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .js.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s; }
  .js .site-nav__list { flex-direction: column; }
  .js .site-nav__list a { display: flex; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ts-border); font-size: 1.125rem; letter-spacing: 0.18em; color: var(--ts-white); }
  .js .site-nav__list a[aria-current="page"] { color: var(--ts-purple-light); }
  .js .nav-num { display: inline; font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--ts-muted); }
  .js .site-nav__cta { display: inline-flex; width: 100%; }
  .js .menu-toggle { display: inline-flex; }
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--ts-border-strong);
  border-radius: 6px;
  background: var(--ts-chip);
  color: var(--ts-mid);
  font: 400 0.6875rem/1 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-toggle__icon { position: relative; width: 16px; height: 10px; }
.menu-toggle__icon span { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s; }
.menu-toggle__icon span:nth-child(1) { top: 0; }
.menu-toggle__icon span:nth-child(2) { top: 4.25px; }
.menu-toggle__icon span:nth-child(3) { top: 8.5px; }
.menu-open .menu-toggle__icon span:nth-child(1) { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle__icon span:nth-child(3) { top: 4.25px; transform: rotate(-45deg); }

@media (min-width: 1040px) {
  .site-nav { display: flex; align-items: center; gap: 20px; }
  .site-nav__list { display: flex; gap: 2px; }
  .site-nav__list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; transition: color 0.15s, background-color 0.15s; }
  .site-nav__list a:hover { color: var(--ts-purple-light); background: var(--ts-chip); }
  .site-nav__list a[aria-current="page"]::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .menu-toggle { display: none !important; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: clamp(36px, 7vw, 72px); }
.js .hero { padding-top: calc(var(--header-h) + clamp(36px, 7vw, 72px)); }
.hero__grid { display: grid; gap: 40px; align-items: center; padding-bottom: clamp(44px, 6vw, 80px); }
.hero__text { position: relative; z-index: 1; }
.hero__title { margin-top: 22px; font-size: clamp(2.125rem, 1.35rem + 2.6vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.hero__sub { margin-top: 24px; max-width: 560px; }
.hero__sub p + p { margin-top: 12px; }
.hero .btn-row { margin-top: 32px; }
@media (max-width: 479.98px) { .hero .btn-row .btn { flex: 1 1 100%; } }

.hero__visual { position: absolute; z-index: 0; top: -12px; right: -120px; width: 300px; opacity: 0.3; pointer-events: none; }
.js .hero__visual { top: calc(var(--header-h) - 12px); }
@media (min-width: 600px) { .hero__visual { width: 400px; right: -140px; } }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; }
  .hero__visual, .js .hero__visual { position: relative; top: auto; right: auto; width: 100%; max-width: 460px; justify-self: end; opacity: 1; }
}

/* The dial: the logo's own clock, set to the time in Guernsey */
.dial { position: relative; width: 100%; aspect-ratio: 1; }
.dial__glow { position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(107, 53, 200, 0.5), transparent 70%); filter: blur(36px); }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring .tick { stroke: rgba(167, 139, 250, 0.3); stroke-width: 1.5; stroke-linecap: round; }
.ring .tick--major { stroke: rgba(167, 139, 250, 0.7); stroke-width: 2.2; }
.dial__orbit { transform-box: view-box; transform-origin: 200px 200px; }
.dial__mark { position: absolute; left: 50%; top: 50%; width: 60%; aspect-ratio: 439 / 377; transform: translate(-50%, -50%); }
.dial__mark img { width: 100%; }
.dial__hands { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hand { transform-box: view-box; transform-origin: 279px 270px; }
.dial__readout { position: relative; z-index: 1; margin-top: 4px; text-align: center; }
@media (max-width: 959.98px) { .hero__visual .dial__readout { display: none; } }

/* Trust strip: styled as the live page's bottom bar */
.trust { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--ts-bar-border); background: var(--ts-bar); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.trust__track { display: flex; }
.trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  width: 100%;
  padding: 16px var(--gutter);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
  color: var(--ts-mid);
}
.trust__list li { display: flex; gap: 8px; }
.trust__list li::before { content: "\00b7"; color: var(--ts-purple-light); }
.trust__list.trust__clone { display: none; }
@media (min-width: 900px) {
  .trust__list { display: flex; justify-content: space-between; gap: 24px; width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; padding: 18px 0; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--line { border-top: 1px solid var(--ts-bar-border); }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head .lede { margin-top: 18px; }

/* Intro statement, set like lines in an editor */
.editor { max-width: 1040px; }
.editor__line {
  display: block;
  padding: 12px 0;
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ts-white);
}
.editor__line + .editor__line { border-top: 1px dashed var(--ts-border); }
/* Words light up as you scroll (the script wraps each word once it runs) */
.editor .w { transition: color 0.45s var(--ease), text-shadow 0.7s var(--ease); }
.editor.is-scrubbing .w:not(.is-lit) { color: rgba(200, 201, 216, 0.5); }
.editor .w.is-edge { text-shadow: 0 0 22px rgba(167, 139, 250, 0.8), 0 0 2px rgba(167, 139, 250, 0.6); }
.editor__line:last-child .s { color: var(--ts-purple-light); font-style: italic; }

/* Service cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.cards > li { display: flex; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: clamp(22px, 3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--ts-border);
  border-radius: var(--radius);
  background: var(--ts-chip);
  transition: transform 0.4s var(--ease), border-color 0.3s, background-color 0.3s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover, .card:focus-within { transform: translateY(-4px); border-color: var(--ts-chip-hover-border); background: var(--ts-chip-hover); }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.card__index { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; color: var(--ts-muted); }
.icon-box { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--ts-border-strong); border-radius: 10px; background: var(--ts-chip); color: var(--ts-purple-light); transition: background-color 0.3s, box-shadow 0.3s; }
.icon-box svg { width: 20px; height: 20px; }
.card:hover .icon-box, .value:hover .icon-box { background: var(--ts-chip-hover); box-shadow: 0 0 24px -6px var(--ts-purple-light); }
.card__title { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; }
.card__title .for { display: block; color: var(--ts-purple-light); font-style: italic; font-weight: 400; }
.card p { font-size: 1rem; }
.card__link { margin-top: auto; padding-top: 8px; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card__link .i-arrow { transform: translateX(4px); }

/* Steps, with a small clock filling at each stage */
.steps { position: relative; display: grid; }
.steps::before {
  content: "";
  position: absolute;
  left: 18px; top: 36px; bottom: 48px;
  width: 1px;
  background: linear-gradient(var(--ts-purple-light), var(--ts-border-strong));
  transform-origin: top;
}
.step { position: relative; padding: 0 0 44px 60px; }
.step:last-child { padding-bottom: 0; }
.step__dial { position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--ts-bg); color: var(--ts-purple-light); }
.step__dial .sweep { transform-box: view-box; transform-origin: 18px 18px; }
.step__title { display: flex; align-items: baseline; gap: 6px; min-height: 36px; padding-top: 7px; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.step__num { color: var(--ts-white); }
.step__text { margin-top: 12px; max-width: 420px; }
.step__text strong { display: block; margin-bottom: 10px; font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.5625rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; color: var(--ts-white); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .steps::before { left: 36px; right: calc((100% - 96px) / 3 + 12px); top: 18px; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--ts-purple-light), var(--ts-border-strong)); transform-origin: left; }
  .step { padding: 52px 0 0 0; }
}

/* Logo slots and case studies */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: clamp(24px, 3vw, 36px); }
.logo-slot {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 16px 22px;
  border: 1px solid var(--ts-border);
  border-radius: 12px;
  background: var(--ts-chip);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ts-muted);
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.logo-slot:hover { border-color: var(--ts-border-strong); background: var(--ts-chip-hover); color: var(--ts-mid); }
@media (max-width: 599.98px) {
  /* Three logos sit in one row on phones; four make a 2 x 2 grid */
  .logos:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .logos:has(> li:nth-child(3):last-child) .logo-slot { min-height: 96px; padding: 12px 8px; font-size: 0.5625rem; letter-spacing: 0.12em; }
  .logos:has(> li:nth-child(3):last-child) .logo-slot img.logo--tall { max-height: 64px; }
}
.logo-slot picture { display: contents; }
.logo-slot img.logo--tall { max-height: 80px; }
.logo-slot img { width: auto; height: auto; max-height: 64px; max-width: min(100%, 170px); opacity: 0.85; transition: opacity 0.3s; }
.logo-slot:hover img { opacity: 1; }

.work { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.work > li { display: flex; }
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: clamp(22px, 3vw, 28px);
  border: 1px solid var(--ts-border);
  border-radius: var(--radius);
  background: var(--ts-chip);
  transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.work-card:hover { border-color: var(--ts-chip-hover-border); background: var(--ts-chip-hover); transform: translateY(-3px); }
.work-card__name { font-size: 1.25rem; letter-spacing: -0.02em; }
.work-card p { font-size: 1rem; }
.work-card .comment { margin-top: auto; padding-top: 4px; font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }

.quote { margin-top: clamp(28px, 4vw, 48px); padding: clamp(26px, 4vw, 48px); border: 1px solid var(--ts-border-strong); border-radius: 16px; background: var(--ts-chip); }
.quote__mark { width: 32px; height: 32px; margin-bottom: 16px; color: var(--ts-purple-light); }
.quote blockquote p { max-width: 880px; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 300; font-style: italic; line-height: 1.4; color: var(--ts-white); }
.quote figcaption { margin-top: 20px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }

/* Closing call to action, centred like the live page */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 12vw, 168px); text-align: center; border-top: 1px solid var(--ts-bar-border); }
.cta .breaker { justify-content: center; }
.cta .h2 { max-width: 900px; margin-inline: auto; }
.cta__text { max-width: 560px; margin: 20px auto 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem); }
.cta .btn { margin-top: 34px; }
.cta__ring { position: absolute; z-index: -1; left: 50%; top: 50%; width: min(880px, 160vw); aspect-ratio: 1; translate: -50% -50%; opacity: 0.4; pointer-events: none; }
.cta__ring .tick { stroke: rgba(167, 139, 250, 0.3); stroke-width: 1; }
.cta__ring .tick--major { stroke: rgba(167, 139, 250, 0.55); stroke-width: 1.6; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; padding: clamp(40px, 7vw, 84px) 0 clamp(48px, 7vw, 88px); }
.js .page-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 84px)); }
.page-hero .h1 { max-width: 920px; margin-top: 22px; }
.page-hero .lede { margin-top: 24px; }
.page-hero .lede + .lede { margin-top: 14px; }

/* ---------- What we do ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }

.svc { position: relative; padding-block: var(--section-y); border-top: 1px solid var(--ts-bar-border); }
.svc__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) {
  .svc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 64px; }
  .svc--flip .svc__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
  .svc--flip .svc__media { order: -1; }
  .svc__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.svc--wide .svc__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .svc--wide .svc__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; } }
.svc--wide .svc__body { margin-top: 0; }
.svc--wide .svc__side .svc__body { margin-top: 28px; }
@media (max-width: 959.98px) {
  /* On narrow screens the text comes first, then the note and button */
  .svc--wide .svc__grid { display: flex; flex-direction: column; gap: 24px; }
  .svc--wide .svc__side { display: contents; }
  .svc--wide .svc__side .svc__lede { order: 1; }
  .svc--wide .svc__grid > .svc__body { order: 2; }
  .svc--wide .svc__side .svc__body { order: 3; margin-top: 0; }
}
.svc__demo { margin-top: clamp(32px, 4vw, 52px); }
.svc__lede { font-size: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; color: var(--ts-white); text-wrap: balance; }
.svc__lede .alt { display: block; }
.svc__body { display: grid; gap: 20px; max-width: 600px; margin-top: 24px; }
.svc__body .lead { font-size: 1.1875rem; color: var(--ts-white); }
.svc__body .btn-row { margin-top: 6px; }

.tiles { display: grid; gap: 8px; margin-top: 12px; }
@media (min-width: 560px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tiles li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border: 1px solid var(--ts-border);
  border-radius: 8px;
  background: var(--ts-field);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ts-mid);
  transition: border-color 0.2s, background-color 0.2s;
}
.tiles li:hover { border-color: var(--ts-border-strong); background: var(--ts-chip-hover); }
.tiles__n { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--ts-purple-light); }

.note { padding: 18px 20px; border: 1px solid var(--ts-border); border-left: 2px solid var(--ts-purple-light); border-radius: 4px 10px 10px 4px; background: var(--ts-field); }
.note--icon { display: flex; gap: 14px; align-items: flex-start; }
.note--icon svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--ts-purple-light); }
.note .label { margin-right: 6px; }

/* Demo video slots */
.media { overflow: hidden; border: 1px solid var(--ts-border); border-radius: var(--radius); background: var(--ts-field); }
.media__bar, .window__bar { display: flex; align-items: center; gap: 14px; min-height: 40px; padding: 0 14px; border-bottom: 1px solid var(--ts-bar-border); background: var(--ts-bar); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-muted); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ts-border-strong); }
.dots i:first-child { background: var(--ts-purple-light); }
.media__screen {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 35%, var(--ts-glow) 0%, var(--ts-bg) 70%, var(--ts-deep) 100%);
}
.media__screen::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.07;
  background-image: linear-gradient(rgba(167, 139, 250, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, 0.5) 1px, transparent 1px);
  background-size: 24px 24px;
}
.media__screen video, .media__screen iframe, .media__screen > img { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; object-fit: cover; border: 0; }
.media--portrait { max-width: 360px; margin-inline: auto; }
.media--portrait .media__screen { aspect-ratio: 9 / 16; }
.media__placeholder { position: relative; z-index: 1; display: grid; justify-items: center; gap: 16px; text-align: center; }
.media__icon { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid var(--ts-border-strong); border-radius: 50%; background: var(--ts-chip); color: var(--ts-purple-light); }
.media__icon svg { width: 30px; height: 30px; }
.media__icon::before, .media__icon::after { content: ""; position: absolute; inset: -1px; border: 1px solid var(--ts-border-strong); border-radius: 50%; opacity: 0; }
.media__name { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ts-purple-light); }
.media__progress { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 18px; height: 2px; overflow: hidden; border-radius: 2px; background: var(--ts-border); }
.media__progress::after { content: ""; position: absolute; inset: 0; width: 38%; background: var(--ts-purple-light); }

/* AI Voice Agent preview: a short spoken "coming 2027" from the visitor's own device voice */
.voice { position: relative; display: grid; justify-items: center; align-content: center; gap: 20px; min-height: 380px; padding: clamp(32px, 5vw, 52px) 20px; overflow: hidden; text-align: center; background: radial-gradient(ellipse at 50% 35%, var(--ts-glow) 0%, var(--ts-bg) 70%, var(--ts-deep) 100%); }
.voice::before { content: ""; position: absolute; inset: 0; opacity: 0.07; background-image: linear-gradient(rgba(167, 139, 250, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, 0.5) 1px, transparent 1px); background-size: 24px 24px; }
.voice > * { position: relative; }
.voice__avatar { display: grid; place-items: center; width: 136px; height: 136px; }
.voice__face { position: relative; z-index: 1; display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid var(--ts-border-strong); border-radius: 50%; background: radial-gradient(circle at 35% 25%, #1d2160, var(--ts-bg) 75%); box-shadow: 0 0 44px -10px var(--ts-purple); transition: box-shadow 0.4s; }
.voice__face img { width: 58px; height: auto; }
.voice__ring { position: absolute; inset: 16px; border: 1px solid var(--ts-border-strong); border-radius: 50%; opacity: 0; }
.voice__wave { display: flex; align-items: center; gap: 4px; height: 38px; }
.voice__wave i { width: 4px; height: 100%; border-radius: 2px; background: var(--ts-purple-light); opacity: 0.55; transform: scaleY(0.16); transition: transform 0.3s, opacity 0.3s; }
.voice__caption { max-width: 380px; font-size: 1.0625rem; line-height: 1.55; color: var(--ts-white); }
.voice__caption .w { transition: color 0.25s, text-shadow 0.4s; }
.voice__caption.is-scrubbing .w { color: rgba(200, 201, 216, 0.5); }
.voice__caption.is-scrubbing .w.is-said { color: var(--ts-white); }
.voice__caption.is-scrubbing .w.is-now { color: var(--ts-purple-light); text-shadow: 0 0 18px rgba(167, 139, 250, 0.7); }
.voice__play svg { width: 15px; height: 15px; }
.voice.is-speaking .voice__face { box-shadow: 0 0 60px -6px var(--ts-purple-light); }
.voice.is-speaking .voice__wave i { opacity: 1; transform: scaleY(0.55); }
@keyframes voice-bar { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
@keyframes voice-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: no-preference) {
  .voice__face { animation: voice-breathe 5s ease-in-out infinite; }
  .voice.is-speaking .voice__ring { animation: ring-out 2.4s ease-out infinite; }
  .voice.is-speaking .voice__ring:nth-child(2) { animation-delay: 0.8s; }
  .voice.is-speaking .voice__ring:nth-child(3) { animation-delay: 1.6s; }
  .voice.is-speaking .voice__wave i { animation: voice-bar 0.9s ease-in-out infinite; animation-delay: calc(var(--k) * -0.13s); }
}

/* ---------- About ---------- */
.values { display: grid; gap: 16px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.values > li { display: flex; }
.value { width: 100%; padding: clamp(22px, 3vw, 30px); border: 1px solid var(--ts-border); border-radius: var(--radius); background: var(--ts-chip); transition: transform 0.4s var(--ease), border-color 0.3s, background-color 0.3s; }
.value:hover { transform: translateY(-4px); border-color: var(--ts-chip-hover-border); background: var(--ts-chip-hover); }
.value__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.value h3 { font-size: 1.375rem; letter-spacing: -0.02em; }
.value p { margin-top: 10px; font-size: 1rem; }

.team { display: grid; gap: 16px; }
@media (min-width: 1000px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.team > li { display: flex; }
.person { display: grid; gap: 22px; width: 100%; padding: 18px; border: 1px solid var(--ts-border); border-radius: 18px; background: var(--ts-chip); }
@media (min-width: 560px) { .person { grid-template-columns: 196px minmax(0, 1fr); gap: 28px; padding: 22px; } }
.person__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--ts-border);
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 30%, var(--ts-glow) 0%, var(--ts-bg) 70%, var(--ts-deep) 100%);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  color: var(--ts-purple-light);
}
@media (min-width: 560px) { .person__photo { aspect-ratio: 4 / 5; } }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.person__name { font-size: 1.5rem; letter-spacing: -0.025em; }
.person__role { margin-top: 6px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.person__bio { margin-top: 14px; font-size: 1rem; }
.person__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.person .clock-line { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--ts-border); }

.clock-line { display: flex; align-items: center; gap: 10px; }
.mini-dial { flex: none; width: 22px; height: 22px; color: var(--ts-purple-light); }
.mini-dial .dh { transform-box: view-box; transform-origin: 12px 12px; }

/* Credentials: a slim strip */
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.credentials { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--ts-border); border-radius: 12px; background: var(--ts-chip); }
.credentials .icon-box { width: 34px; height: 34px; border-radius: 8px; }
.credentials .icon-box svg { width: 16px; height: 16px; }
.credentials__text { max-width: 760px; font-size: 0.875rem; line-height: 1.65; color: var(--ts-mid); }
.credentials .token { font-size: 0.8125rem; padding: 0 5px; }
.credentials .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 900px) {
  .credentials { grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; padding: 14px 16px 14px 18px; }
  .credentials .btn { grid-column: auto; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 48px; margin-top: clamp(24px, 3vw, 36px); }
.contact-grid .lede { margin-top: 0; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 64px; align-items: start; } }
.contact-details { margin-top: 34px; border-top: 1px solid var(--ts-border); }
.contact-details > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ts-border); }
.contact-details dt { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-muted); }
.contact-details dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.875rem; font-weight: 400; color: var(--ts-white); overflow-wrap: anywhere; }
.contact-details a { color: var(--ts-white); text-decoration: underline; text-decoration-color: var(--ts-border-strong); text-underline-offset: 4px; transition: color 0.15s, text-decoration-color 0.15s; }
.contact-details a:hover { color: var(--ts-purple-light); text-decoration-color: currentColor; }
.chip--copy { min-height: 30px; padding: 4px 10px; font-size: 0.6875rem; }

.window { overflow: hidden; border: 1px solid var(--ts-border-strong); border-radius: 16px; background: var(--ts-field); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.window__body { padding: clamp(20px, 4vw, 36px); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-mid); }
.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--ts-border-strong);
  border-radius: 8px;
  background: var(--ts-field);
  color: var(--ts-white);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--ts-chip-hover-border); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ts-purple-light); background: var(--ts-chip-hover); box-shadow: 0 0 0 3px var(--ts-border-strong); }
.field [aria-invalid="true"] { border-color: var(--ts-purple-light); border-style: dashed; }
.field__error { display: flex; align-items: flex-start; gap: 8px; font-size: 0.9375rem; font-weight: 400; line-height: 1.45; color: var(--ts-white); }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: var(--ts-purple-light); color: var(--ts-bg); font: 700 0.75rem/1 var(--font-sans); }
.form__summary { padding: 14px 16px; border: 1px dashed var(--ts-purple-light); border-radius: 8px; background: var(--ts-chip-hover); font-size: 0.9375rem; font-weight: 400; color: var(--ts-white); }
.form__summary a { color: var(--ts-purple-light); }
.form__foot { display: grid; gap: 14px; margin-top: 4px; }
.form .btn { width: 100%; }
@media (min-width: 600px) { .form__foot { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; } .form .btn { width: auto; padding-inline: 26px; } }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-success { display: grid; justify-items: start; gap: 14px; padding: 8px 0; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--ts-border-strong); border-radius: 50%; background: var(--ts-chip-hover); color: var(--ts-purple-light); }
.form-success__icon svg { width: 24px; height: 24px; }
.form-success h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }

.faq { display: grid; gap: 16px; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.faq > div { display: flex; }
.faq__item { width: 100%; padding: clamp(22px, 3vw, 28px); border: 1px solid var(--ts-border); border-radius: var(--radius); background: var(--ts-chip); }
.faq__item .card__index { display: block; margin-bottom: 12px; color: var(--ts-purple-light); }
.faq__q { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.015em; }
.faq__a { margin-top: 10px; font-size: 1rem; }

/* ---------- Privacy policy ---------- */
.policy { display: grid; gap: 40px; }
@media (min-width: 960px) { .policy { grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; } }
.policy__toc { display: none; }
@media (min-width: 960px) {
  .policy__toc { display: block; position: sticky; top: calc(var(--header-h) + 32px); }
  .policy__toc ol { display: grid; gap: 2px; margin: 14px 0 0; padding: 0; list-style: none; }
  .policy__toc a { display: block; padding: 6px 10px; border-left: 1px solid var(--ts-border); font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.5; color: var(--ts-muted); text-decoration: none; transition: color 0.15s, border-color 0.15s; }
  .policy__toc a:hover { color: var(--ts-purple-light); border-color: var(--ts-purple-light); }
}
.prose { max-width: 720px; font-size: 1rem; }
.prose > * + *, .prose section > * + * { margin-top: 1em; }
.prose section + section { margin-top: 0; padding-top: 34px; margin-top: 34px; border-top: 1px dashed var(--ts-border); }
.prose h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); }
.prose h2 .n { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 400; letter-spacing: 0.14em; color: var(--ts-purple-light); }
.prose h2 + * { margin-top: 16px; }
.prose ul { display: grid; gap: 8px; padding-left: 1.2em; }
.prose li::marker { color: var(--ts-purple-light); }
.prose a { color: var(--ts-purple-light); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--ts-bar-border); font-size: 0.9375rem; }
.footer-top { display: grid; gap: 40px; padding-block: clamp(52px, 7vw, 84px); }
@media (min-width: 900px) { .footer-top { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: end; gap: 56px; } }
.footer-logo { display: inline-block; }
.footer-logo img { width: 164px; }
.footer-legal { margin-top: 22px; line-height: 1.8; color: var(--ts-muted); }
.footer-legal strong { color: var(--ts-white); }
.footer-links { display: grid; gap: 14px; }
.footer-row { display: grid; gap: 4px; align-items: baseline; }
@media (min-width: 480px) { .footer-row { grid-template-columns: 136px minmax(0, 1fr); gap: 16px; } }
.footer-row__label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.footer-row ul { display: flex; flex-wrap: wrap; align-items: center; row-gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-row li { display: inline-flex; align-items: center; color: var(--ts-mid); }
.footer-row li + li::before { content: ""; width: 3px; height: 3px; margin: 0 0.75em; border-radius: 50%; background: var(--ts-muted); }
@media (max-width: 479.98px) { .footer-row ul { column-gap: 18px; } .footer-row li + li::before { display: none; } }
.footer-row a { padding: 4px 0; color: var(--ts-mid); text-decoration: none; transition: color 0.15s; }
.footer-row a:hover { color: var(--ts-purple-light); }
.footer-bar { border-top: 1px solid var(--ts-bar-border); background: var(--ts-bar); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.footer-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-block: 16px calc(16px + env(safe-area-inset-bottom)); }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ts-muted); }
.footer-base a { color: var(--ts-mid); text-underline-offset: 4px; }
.footer-base a:hover { color: var(--ts-purple-light); }
.footer-sep { width: 3px; height: 3px; margin: 0 0.9em; border-radius: 50%; background: var(--ts-muted); }

/* ---------- Product demos (What we do): the real apps, inside the site's frames ---------- */
.demo { overflow: hidden; border: 1px solid var(--ts-border); border-radius: var(--radius); background: var(--ts-field); }
.demo__tools { display: inline-flex; gap: 6px; margin-left: auto; }
.demo__btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 28px; padding: 4px 9px;
  border: 1px solid var(--ts-border-strong); border-radius: 6px;
  background: var(--ts-chip); color: var(--ts-mid);
  font: 400 0.625rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}
.demo__btn:hover { color: var(--ts-purple-light); background: var(--ts-chip-hover); border-color: var(--ts-chip-hover-border); }
.demo__btn svg { width: 13px; height: 13px; }
.demo__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--ts-bar-border); }
.demo__steps li {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 4px; border-right: 1px solid var(--ts-bar-border);
  font: 400 0.625rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
  color: var(--ts-muted); transition: color 0.3s, background-color 0.3s;
}
.demo__steps li:last-child { border-right: 0; }
.demo__steps li span { color: inherit; opacity: 0.6; }
.demo__steps li.is-active { color: var(--ts-white); background: var(--ts-chip-hover); }
.demo__steps li.is-done { color: var(--ts-purple-light); }
.demo__stage { display: grid; place-items: center; padding: 26px 14px 30px; background: radial-gradient(ellipse at 50% 30%, var(--ts-glow) 0%, var(--ts-bg) 70%, var(--ts-deep) 100%); }
.phone { position: relative; width: min(100%, 356px); padding: 9px; border: 1px solid var(--ts-border-strong); border-radius: 44px; background: #04050f; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(167, 139, 250, 0.05); }
.phone__screen { position: relative; min-height: 620px; overflow: hidden; border-radius: 35px; background: #fff; }
.phone__notch { position: absolute; z-index: 8; top: 10px; left: 50%; width: 92px; height: 24px; margin-left: -46px; border-radius: 14px; background: #04050f; }

/* App screens use their own (light) styling, as in the real products */
.app { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: normal; color: #1c1b1a; text-align: left; text-transform: none; }
.app :focus-visible { outline: 2px solid #6b35c8; outline-offset: 2px; }
.app strong { color: inherit; }
.app input, .app textarea, .app select { font: inherit; color: inherit; }
.app svg { flex: none; }

/* Segmented Pass / Fail / N/A control (ChefCheck) */
.seg { position: relative; display: inline-flex; flex: none; overflow: hidden; border: 1px solid #dddcd8; border-radius: 10px; background: #fff; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg label { display: inline-flex; align-items: center; gap: 4px; padding: 7px 10px; border-left: 1px solid #e6e5e1; font-size: 12px; font-weight: 600; color: #57564f; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.seg label:first-of-type { border-left: 0; }
.seg label svg { width: 12px; height: 12px; }
.seg label:hover { background: #f4f4f2; }
.seg input:focus-visible + label { outline: 2px solid #6b35c8; outline-offset: -2px; }
.seg input[value="pass"]:checked + label { background: #e7f4ec; color: #1e6b45; }
.seg input[value="fail"]:checked + label { background: #1c1b1a; color: #fff; }
.seg input[value="na"]:checked + label { background: #e8e7e3; color: #1c1b1a; }
.seg input:disabled + label { cursor: default; }

/* ChefCheck: tablet, laid out like the desktop diary */
.demo__stage--wide { padding: clamp(18px, 3vw, 36px) clamp(12px, 3vw, 36px); }
.tablet { position: relative; width: 100%; padding: 12px; border: 1px solid var(--ts-border-strong); border-radius: 30px; background: #04050f; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(167, 139, 250, 0.05); }
.tablet::before { content: ""; position: absolute; top: 50%; left: 4px; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #1b1e3d; }
.tablet__screen { display: flex; flex-direction: column; height: 600px; overflow: hidden; border-radius: 18px; background: #f7f7f6; }
@media (min-width: 900px) { .tablet__screen { height: clamp(560px, 46vw, 640px); } }
.cc { color: #1c1b1a; }
.cc__top { display: flex; flex: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #1e2533; color: #fff; }
.cc__brand { display: inline-flex; align-items: center; gap: 10px; }
.cc__logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #fff; color: #1e2533; font-weight: 700; }
.cc__name { display: block; font-size: 15px; font-weight: 700; }
.cc__sub { display: block; font-size: 11.5px; opacity: 0.75; }
.cc__clock { display: grid; justify-items: end; line-height: 1.1; }
.cc__time { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.cc__date { font-size: 11.5px; opacity: 0.8; }
.cc__crumb { display: flex; flex: none; align-items: center; gap: 8px; padding: 9px 18px; border-bottom: 1px solid #e6e5e1; background: #f1f1ef; font-size: 13px; font-weight: 500; color: #1c1b1a; }
.cc__crumb svg { width: 16px; height: 16px; }
.cc__body { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.cc__side { padding: 16px 18px; border-bottom: 1px solid #e6e5e1; background: #fff; }
.cc__eyebrow { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f6e69; }
.cc__eyebrow svg { width: 13px; height: 13px; }
.cc__day { margin-top: 4px; font-size: 22px; font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
.cc__tabs { display: flex; gap: 8px; margin-top: 12px; }
.cc__tabs span { padding: 7px 12px; border: 1px solid #e3e2de; border-radius: 10px; background: #fff; font-size: 12.5px; color: #6f6e69; }
.cc__tabs span.is-on { background: #f1f1ef; color: #1c1b1a; font-weight: 500; }
.cc__tabs--phase span { flex: 1; text-align: center; }
.cc__status { margin-top: 12px; border: 1px solid #e3e2de; border-radius: 12px; background: #f7f7f6; }
.cc__status > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; font-size: 12.5px; color: #6f6e69; }
.cc__status > div + div { border-top: 1px solid #e8e7e3; }
.cc__pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #e8e7e3; color: #1c1b1a; font-size: 11.5px; font-weight: 600; }
.cc__pill.is-signed { background: #e7f4ec; color: #1e6b45; }
.cc__pill svg { width: 11px; height: 11px; }
.cc__hint { display: none; }
.cc__main { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cc__list { flex: 1; padding: 16px 18px; }
.cc__list:focus-visible { outline-offset: -3px; }
.cc__listhead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cc__h { font-size: 18px; font-weight: 700; }
.cc__count { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #6f6e69; }
.cc__progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 10px 0 14px; }
.cc__progress i { height: 5px; border-radius: 3px; background: #e3e2de; transition: background-color 0.3s; }
.cc__progress i.is-on { background: #1c1b1a; }
.cc__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; align-items: start; margin-bottom: 10px; padding: 12px; border: 1px solid #e6e5e1; border-radius: 14px; background: #fff; }
.cc__card .seg { grid-column: 2; justify-self: start; }
.cc__dot { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid #d6d5d0; border-radius: 50%; color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.cc__dot > span { display: none; }
.cc__dot svg { width: 14px; height: 14px; }
.cc__card.is-pass .cc__dot, .cc__card.is-fail .cc__dot, .cc__card.is-na .cc__dot { border-color: #1c1b1a; background: #1c1b1a; }
.cc__card.is-pass .d-pass, .cc__card.is-fail .d-fail, .cc__card.is-na .d-na { display: grid; }
.cc__title { font-size: 14px; font-weight: 600; }
.cc__desc { margin-top: 2px; font-size: 12px; line-height: 1.4; color: #6f6e69; }
.cc__fix { display: none; grid-column: 2 / -1; gap: 6px; }
.cc__card.is-fail .cc__fix, .cc__card:has(input[value="fail"]:checked) .cc__fix { display: grid; }
.cc__fix label, .cc__notelabel, .cc__sign label { font-size: 12px; color: #6f6e69; }
.cc textarea, .cc input[type="text"] { width: 100%; padding: 9px 11px; border: 1px solid #dcdbd7; border-radius: 10px; background: #fff; font-size: 13px; resize: none; }
.cc textarea::placeholder, .cc input::placeholder { color: #8f8e88; }
.cc textarea:focus, .cc input[type="text"]:focus { outline: none; border-color: #1c1b1a; }
.cc__card--notes { display: grid; grid-template-columns: 1fr; gap: 6px; }
.cc__foot { flex: none; padding: 12px 18px; border-top: 1px solid #e6e5e1; background: #fff; }
.cc__sign { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: center; }
.cc__sign input[type="text"] { padding: 8px 10px; }
.cc__confirm { display: inline-flex; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 10px; background: #1c1b1a; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.cc__confirm svg { width: 15px; height: 15px; }
.cc__confirm[disabled] { background: #8e9097; cursor: not-allowed; }
.cc__signed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.cc__summary { font-size: 12.5px; color: #6f6e69; }
.cc__summary:focus { outline: none; }
.cc__summary strong { color: #1c1b1a; font-weight: 600; }
.cc__signedpill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: #e7f4ec; color: #1e6b45; font-size: 12.5px; font-weight: 600; }
.cc__signedpill svg { width: 14px; height: 14px; }

@media (max-width: 759.98px) {
  .cc__foot { position: sticky; z-index: 2; bottom: 0; }
  .cc__date { display: none; }
  .cc__time { font-size: 18px; }
  .cc__name { font-size: 14px; }
}
/* Tablet width and up: the two-panel diary, with only the checks list scrolling */
@media (min-width: 760px) {
  .cc__body { flex-direction: row; overflow: hidden; }
  .cc__side { display: flex; flex-direction: column; flex: none; width: 260px; padding: 20px; border-right: 1px solid #e6e5e1; border-bottom: 0; overflow-y: auto; }
  .cc__day { font-size: 26px; }
  .cc__hint { display: flex; gap: 8px; margin-top: auto; padding: 10px 12px; border: 1px solid #e3e2de; border-radius: 12px; font-size: 11.5px; line-height: 1.45; color: #6f6e69; }
  .cc__hint svg { width: 14px; height: 14px; margin-top: 1px; }
  .cc__list { overflow-y: auto; overscroll-behavior: contain; padding: 20px 22px; }
  .cc__card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; padding: 14px 16px; }
  .cc__card .seg { grid-column: auto; }
  .cc__fix { grid-column: 2 / -1; }
  .cc__foot { padding: 12px 22px; }
  .cc__sign { grid-template-columns: auto minmax(0, 220px) auto; justify-content: start; }
  .cc__confirm { grid-column: auto; margin-left: auto; }
}

/* ChefCheck: kitchen view and manager view, switched by the tabs above the tablet */
.demo__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid var(--ts-bar-border); }
.demo__tabs button {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 6px; border: 0; border-right: 1px solid var(--ts-bar-border); background: transparent;
  font: 400 0.625rem/1.2 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ts-muted); cursor: pointer; transition: color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.demo__tabs button:last-child { border-right: 0; }
.demo__tabs button span { opacity: 0.6; }
.demo__tabs button:hover { color: var(--ts-white); }
.demo__tabs button[aria-selected="true"] { color: var(--ts-white); background: var(--ts-chip-hover); box-shadow: inset 0 -2px 0 var(--ts-purple); }
.demo__tabs button:focus-visible { outline: 2px solid var(--ts-purple-light); outline-offset: -2px; }
.cc__view { display: flex; flex: 1; flex-direction: column; min-height: 0; }
/* Without JavaScript both screens show, one under the other */
html:not(.js) .tablet__screen { height: auto; }
html:not(.js) .cc__view { height: 600px; }
html:not(.js) .cc__view + .cc__view { border-top: 12px solid #04050f; }
.cc__tomgr { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 10px; background: #1c1b1a; color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cc__tomgr svg { width: 14px; height: 14px; transform: rotate(180deg); }

/* ChefCheck manager dashboard (sample data) */
.mg-top { gap: 14px; }
.mg-sites, .mg-search, .mg-export { display: none; }
.mg-sites { gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); }
.mg-sites span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; font-size: 12px; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.mg-sites span.is-on { background: #fff; color: #1e2533; font-weight: 600; }
.mg-sites svg { width: 13px; height: 13px; }
.mg-search { align-items: center; gap: 8px; flex: 1; max-width: 250px; padding: 7px 11px; border-radius: 9px; background: rgba(255, 255, 255, 0.08); font-size: 12px; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; }
.mg-export { align-items: center; gap: 6px; padding: 7px 11px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 9px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.mg-search svg, .mg-export svg { width: 14px; height: 14px; }
.mg-body { display: flex; flex: 1; min-height: 0; background: #f7f7f6; }
.mg-nav { display: none; }
.mg-main { flex: 1; min-width: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 22px; container: mg / inline-size; }
.mg-main:focus-visible { outline-offset: -3px; }
.mg-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f6e69; }
.mg-titlerow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 2px; }
.mg-h { font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.mg-log { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; background: #1c1b1a; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.mg-log svg { width: 14px; height: 14px; }
.mg-sub { margin-top: 4px; font-size: 13px; color: #6f6e69; }
.mg-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mg-stat { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid #e6e5e1; border-radius: 14px; background: #fff; }
.mg-stat:first-child { grid-column: 1 / -1; }
.mg-stat__k { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #6f6e69; }
.mg-stat__v { margin-top: auto; padding-top: 6px; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.mg-stat__v small { font-size: 17px; font-weight: 600; color: #6f6e69; }
.mg-stat__d { margin-top: 6px; font-size: 11.5px; color: #1e6b45; }
.mg-card { margin-top: 12px; overflow: hidden; border: 1px solid #e6e5e1; border-radius: 14px; background: #fff; }
.mg-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding: 12px 14px; border-bottom: 1px solid #eeede9; }
.mg-card__h { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.mg-card__note { font-size: 11.5px; color: #6f6e69; }
.mg-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e8e7e3; font-size: 11px; font-weight: 600; }
/* The table scrolls sideways when the tablet is narrow: the site column stays put and a soft edge shows there is more */
.mg-table-wrap {
  overflow-x: auto; overscroll-behavior-x: contain;
  background: linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)) right / 36px 100% no-repeat local,
    radial-gradient(farthest-side at 100% 50%, rgba(28, 27, 26, 0.14), rgba(28, 27, 26, 0)) right / 14px 100% no-repeat scroll;
}
.mg-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.mg-table th, .mg-table td { padding: 8px 5px; border-bottom: 1px solid #eeede9; text-align: left; vertical-align: middle; white-space: nowrap; }
.mg-table thead th { background: #fafaf9; font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6f6e69; }
.mg-table tr > :first-child { position: sticky; z-index: 1; left: 0; padding-left: 14px; padding-right: 10px; background: #fff; box-shadow: 1px 0 0 #eeede9; }
.mg-table thead tr > :first-child { background: #fafaf9; }
.mg-table tbody tr:last-child > * { border-bottom: 0; }
.mg-table tbody th { font-weight: 600; }
.mg-site { display: block; font-size: 13px; font-weight: 700; }
.mg-site__sub { display: block; font-size: 11px; font-weight: 500; color: #1e6b45; }
.mg-chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.mg-chip--ok { background: #e7f4ec; color: #1e6b45; }
.mg-chip svg { width: 10px; height: 10px; }
.mg-on { display: grid; gap: 4px; min-width: 56px; }
.mg-on__n { font-size: 12px; font-weight: 700; }
.mg-on__bar { height: 5px; overflow: hidden; border-radius: 3px; background: #e3e2de; }
.mg-on__bar i { display: block; height: 100%; border-radius: inherit; background: #1e6b45; }
.mg-split { display: grid; gap: 0 12px; }
.mg-empty { display: flex; align-items: center; gap: 8px; padding: 18px 14px 6px; font-size: 13px; font-weight: 600; color: #1e6b45; }
.mg-empty svg { width: 16px; height: 16px; }
.mg-review { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 14px 14px; padding: 10px 12px; border: 1px solid #e3e2de; border-radius: 12px; background: #f7f7f6; font-size: 12px; color: #6f6e69; }
.mg-review svg { width: 14px; height: 14px; }
.mg-review strong { font-weight: 600; color: #1c1b1a; }
ul.mg-act { margin: 0; padding: 4px 16px 8px; list-style: none; }
.mg-act li { display: grid; grid-template-columns: 40px auto minmax(0, 1fr); align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0efeb; font-size: 12.5px; }
.mg-act li:last-child { border-bottom: 0; }
.mg-act__t { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: #6f6e69; }
.mg-act__ic { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e7f4ec; color: #1e6b45; }
.mg-act__ic svg { width: 11px; height: 11px; }
.mg-act__w { display: block; font-weight: 600; }
.mg-act__s { display: block; font-size: 11px; color: #6f6e69; }
@container mg (min-width: 520px) {
  .mg-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mg-stat:first-child { grid-column: auto; }
}
@container mg (min-width: 640px) {
  .mg-h { font-size: 30px; }
  .mg-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (min-width: 760px) {
  .mg-sites { display: inline-flex; }
  .mg-main { padding: 22px 18px 26px; }
}
@media (min-width: 1024px) {
  .mg-nav { display: flex; flex: none; flex-direction: column; width: 164px; padding: 12px 8px; overflow-y: auto; border-right: 1px solid #e6e5e1; background: #fff; }
  .mg-nav__h { margin: 12px 8px 4px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #8f8e88; }
  .mg-nav__h:first-child { margin-top: 2px; }
  .mg-nav__item { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font-size: 12.5px; color: #3d3c38; }
  .mg-nav__item.is-on { background: #f1f1ef; font-weight: 600; color: #1c1b1a; }
  .mg-nav__item svg { width: 15px; height: 15px; }
  .mg-export { display: inline-flex; }
}
@media (min-width: 1200px) {
  .mg-search { display: inline-flex; }
}

/* Job Scheduler */
.sch { color: #0f172a; }
.jobs-step { min-height: 620px; }
.js .jobs-step:not(.is-active) { display: none; }
.sch__top { display: flex; align-items: center; justify-content: space-between; padding: 48px 18px 12px; border-bottom: 1px solid #e4e9f0; }
.sch__h { font-size: 18px; font-weight: 700; }
.sch__h:focus, .sch__kicker:focus, .wa__name:focus { outline: none; }
.sch__form { display: grid; gap: 4px; padding: 14px 18px 20px; }
.sch__label { display: block; margin: 8px 0 4px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.sch input, .sch select, .sch textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #e4e9f0; border-radius: 8px; background: #fff; font-size: 13.5px; color: #0f172a; resize: none; }
.sch input:focus, .sch select:focus, .sch textarea:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.sch__row, .sch__grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.sch__grid2 { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.sch__btn { margin-top: 14px; padding: 12px 16px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.sch__btn:hover { background: #1d4ed8; }
.sch__btn[disabled] { background: #94a3b8; cursor: not-allowed; }
.sch__btn--ghost { width: 100%; border: 1px solid #e4e9f0; background: #fff; color: #0f172a; }
.sch__btn--ghost:hover { background: #f2f5f9; }

.lock { position: relative; min-height: 620px; padding: 150px 14px 24px; text-align: center; color: #fff; background: radial-gradient(ellipse at 30% 15%, #3b2a7a 0%, #141845 45%, #07091e 100%); }
.lock__date { font-size: 15px; font-weight: 500; opacity: 0.85; }
.lock__time { margin-top: 2px; font-size: 66px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }
.notif {
  position: absolute; z-index: 7; top: 44px; left: 10px; right: 10px;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border: 0; border-radius: 20px;
  background: rgba(245, 245, 247, 0.86);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.55);
  color: #111; text-align: left; cursor: pointer;
}
.notif__avatar { position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0a0c28; }
.notif__avatar img { width: 28px; height: auto; }
.notif__badge { position: absolute; right: -3px; bottom: -3px; display: grid; place-items: center; width: 17px; height: 17px; border: 2px solid #f5f5f7; border-radius: 50%; background: #25d366; color: #fff; }
.notif__badge svg { width: 9px; height: 9px; }
.notif__body { display: grid; gap: 1px; flex: 1; min-width: 0; }
.notif__top { display: flex; justify-content: space-between; gap: 8px; }
.notif__title { font-size: 13.5px; font-weight: 600; }
.notif__when { font-size: 12px; color: rgba(60, 60, 67, 0.6); }
.notif__text { font-size: 13px; line-height: 1.35; }
.js .notif:not(.is-in) { visibility: hidden; opacity: 0; }

.wa { display: flex; flex-direction: column; min-height: 620px; background: #efeae2; }
.wa__head { display: flex; align-items: center; gap: 10px; padding: 46px 12px 10px; border-bottom: 1px solid #ddd; background: #f6f6f6; color: #111; }
.wa__head > svg { width: 20px; height: 20px; color: #007aff; }
.wa__avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #0a0c28; }
.wa__avatar img { width: 24px; height: auto; }
.wa__name { display: block; font-size: 14.5px; font-weight: 600; }
.wa__sub { display: block; font-size: 11.5px; color: #667781; }
.wa__chat { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; }
.wa__day { align-self: center; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.85); font-size: 11.5px; color: #54656f; }
.wa__bubble { position: relative; max-width: 86%; padding: 7px 10px 20px; border-radius: 0 10px 10px 10px; background: #fff; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); font-size: 13.5px; line-height: 1.4; color: #111; }
.wa__link { display: inline; margin-top: 4px; padding: 0; border: 0; background: none; color: #027eb5; font: inherit; text-decoration: underline; cursor: pointer; }
.wa__time { position: absolute; right: 8px; bottom: 4px; font-size: 10.5px; color: #8696a0; }

.sch__job { display: grid; gap: 8px; padding: 48px 18px 20px; }
.sch__kicker { font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #64748b; }
.sch__title { font-size: 18px; font-weight: 700; color: #0f172a; }
.sch__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12.5px; color: #475569; }
.sch__pill { padding: 3px 9px; border-radius: 999px; background: rgba(37, 99, 235, 0.1); color: #1d4ed8; font-size: 11.5px; font-weight: 600; }
.sch__when { display: inline-flex; align-items: center; gap: 5px; }
.sch__when svg, .sch__sub svg { width: 13px; height: 13px; }
.sch__map { height: 104px; overflow: hidden; border-radius: 12px; }
.sch__map svg { width: 100%; height: 100%; }
.sch__addr { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; }
.sch__addr svg { width: 15px; height: 15px; color: #ef4444; }
.sch__notes { padding: 9px 12px; border-radius: 10px; background: #f2f5f9; font-size: 12.5px; color: #475569; }
.sch__photos { display: flex; flex-wrap: wrap; gap: 8px; }
.sch__thumb { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 8px; background: linear-gradient(135deg, #cbd5e1, #94a3b8); color: #fff; }
.sch__thumb svg { width: 18px; height: 18px; }
.sch__addphoto { display: inline-flex; align-items: center; gap: 6px; height: 50px; padding: 0 12px; border: 1px dashed #cbd5e1; border-radius: 8px; background: #f7f9fc; color: #475569; font-size: 12.5px; cursor: pointer; }
.sch__addphoto svg { width: 16px; height: 16px; }
.sch__live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: #059669; }
.sch__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #10b981; }
.sch__card { margin: 14px 18px 0; padding: 14px; border: 1px solid #e4e9f0; border-left: 3px solid #10b981; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06); }
.sch__cardtop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sch__status { padding: 3px 9px; border-radius: 999px; background: rgba(16, 185, 129, 0.12); color: #059669; font-size: 11.5px; font-weight: 600; }
.sch__ago { font-size: 11.5px; color: #94a3b8; }
.sch__sub { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 12.5px; color: #475569; }
.sch__log { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.6fr) minmax(0, 0.7fr); gap: 8px; margin: 12px 0 0; }
.sch__log div { padding: 8px; border-radius: 8px; background: #f7f9fc; }
.sch__log dt { font-size: 10px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #64748b; }
.sch__log dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; line-height: 1.3; color: #0f172a; overflow-wrap: break-word; }
.sch__again { padding: 4px 18px 20px; }

@media (prefers-reduced-motion: no-preference) {
  .js .notif { transform: translateY(-150%); transition: transform 0.75s cubic-bezier(0.2, 1.3, 0.35, 1), opacity 0.3s, visibility 0s; }
  .js .notif.is-in { transform: none; }
  .js .jobs-step.is-active, .js .cc__signed:not([hidden]) { animation: fade-in 0.35s ease-out both; }
}

/* ---------- Clock cursor (mouse and trackpad only) ----------
   Set with !important so it stays consistent everywhere, demos included. */
@media (hover: hover) and (pointer: fine) {
  html, html * {
    cursor: url("../img/cursor-clock.png") 16 16, auto !important;
    cursor: -webkit-image-set(url("../img/cursor-clock.png") 1x, url("../img/cursor-clock@2x.png") 2x) 16 16, auto !important;
  }
  html a, html button:not([disabled]), html label[for], html summary, html select, html input[type="radio"], html input[type="checkbox"], html input[type="date"],
  .seg label, .notif, .wa__link, .js .trust.is-marquee {
    cursor: url("../img/cursor-clock-hover.png") 16 16, pointer !important;
    cursor: -webkit-image-set(url("../img/cursor-clock-hover.png") 1x, url("../img/cursor-clock-hover@2x.png") 2x) 16 16, pointer !important;
  }
  html input[type="text"], html input[type="email"], html input[type="number"], html input:not([type]), html textarea { cursor: text !important; }
}

/* ---------- Placeholder review mode: add ?placeholders to any URL ---------- */
.show-placeholders [data-placeholder] { position: relative; outline: 2px dashed #f5c542; outline-offset: 4px; }
.show-placeholders [data-placeholder]::before {
  content: "PLACEHOLDER: " attr(data-placeholder);
  position: absolute;
  z-index: 10;
  left: 0; top: -14px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f5c542;
  color: #111;
  font: 600 10px/1.4 var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: none;
  white-space: nowrap;
}
/* The [FORM SERVICE] line in the privacy policy stays visibly marked until it's filled */
.prose [data-placeholder] { padding: 0 4px; border-radius: 4px; background: rgba(167, 139, 250, 0.18); color: var(--ts-white); }

/* =====================================================================
   Motion. Everything above renders complete without it, and all of it
   is skipped for visitors who ask for reduced motion.
   ===================================================================== */
@keyframes ts-drift { to { transform: translate(48px, 48px); } }
@keyframes ts-pulse { 0%, 100% { opacity: 0.18; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.6); } }
@keyframes ts-pulse-line { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes ts-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes ts-marquee { to { transform: translateX(var(--marquee-distance, -50%)); } }
@keyframes rise-soft { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glow { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes ring-out { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes progress { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
@keyframes sweep-in { from { transform: rotate(0deg); } }

/* Phones: everything centred, with more room around it (decided 8 Oct). App screens, forms, tiles and the policy text stay left aligned. */
@media (max-width: 719.98px) {
  :root { --gutter: 24px; --section-y: 96px; }
  body { line-height: 1.75; }

  /* Page openings and section heads */
  .hero__text, .page-hero > .wrap:first-child, .section-head, .editor, .svc__lede { text-align: center; }
  .eyebrow, .btn-row, .subnav { justify-content: center; }
  .hero .eyebrow { display: block; }
  .hero .eyebrow__dot { display: inline-block; margin: 0 10px 1px 0; vertical-align: middle; }
  .hero__sub, .lede, .section-head { margin-inline: auto; }
  .hero__sub p + p, .lede + .lede, .page-hero .lede + .lede { margin-top: 18px; }
  .hero .btn-row { margin-top: 36px; }
  .hero__visual, .js .hero__visual { left: 50%; right: auto; width: 360px; translate: -50% 0; opacity: 0.18; }
  .section-head { margin-bottom: 52px; }
  .editor__line { padding: 20px 0; }

  /* Section breakers: the label in the middle, a rule fading out either side */
  .breaker { display: grid; grid-template-columns: minmax(16px, 1fr) auto minmax(16px, 1fr); align-items: center; gap: 12px 14px; margin-bottom: 32px; }
  .breaker::before, .breaker::after { content: ""; grid-row: 1; height: 1px; }
  .breaker::before { grid-column: 1; background: linear-gradient(270deg, var(--ts-border-strong), transparent); }
  .breaker::after { grid-column: 3; background: linear-gradient(90deg, var(--ts-border-strong), transparent); }
  .breaker__label { grid-column: 2; grid-row: 1; text-align: center; }
  .breaker__rule, .breaker__end[aria-hidden="true"] { display: none; }
  .breaker__end { grid-column: 1 / -1; grid-row: 2; justify-content: center; }

  /* Cards */
  .cards, .work, .values, .team { gap: 20px; }
  .card, .work-card { align-items: center; padding: 32px 24px; text-align: center; }
  .card { gap: 16px; }
  .value { padding: 32px 24px; text-align: center; }
  .card__top, .value__top { position: relative; justify-content: center; width: 100%; }
  .card__top .card__index, .value__top .card__index { position: absolute; top: 50%; right: 0; translate: 0 -50%; }
  .card__top:has(.badge) { flex-direction: column; gap: 14px; }

  /* How it works: one step under another, joined by a short line */
  .steps::before { display: none; }
  .step { display: flex; flex-direction: column; align-items: center; padding: 0; text-align: center; }
  .step + .step::before { content: ""; width: 1px; height: 40px; margin: 22px 0; background: linear-gradient(rgba(167, 139, 250, 0), var(--ts-purple-light)); }
  .step__dial { position: static; }
  .step__title { justify-content: center; }
  .step__text { margin-inline: auto; }

  /* What we do */
  .media__bar { gap: 10px; letter-spacing: 0.08em; }
  .media__bar .dots { display: none; }
  .svc__body { justify-items: center; gap: 24px; margin-inline: auto; text-align: center; }
  .svc__body > div, .svc__body .tiles, .svc__body .note { width: 100%; }
  .tiles li, .note { text-align: left; }

  /* About */
  .person { justify-items: center; padding: 26px 22px 28px; text-align: center; }
  .person > div:not(.person__photo) { width: 100%; }
  .person__photo { width: min(100%, 220px); }
  .person__links, .person .clock-line { justify-content: center; }
  .credentials { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 26px 22px; text-align: center; }
  .credentials .btn { justify-self: center; }

  /* Contact */
  .contact-grid > div:first-child { text-align: center; }
  .contact-details > div { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 6px; padding: 18px 0; text-align: center; }
  .contact-details dd { justify-content: center; }
  .window { text-align: left; }
  .faq { gap: 20px; }
  .faq__item { padding: 30px 24px; text-align: center; }

  /* Footer */
  .footer-top { justify-items: center; text-align: center; }
  .footer-links { justify-items: center; gap: 20px; }
  .footer-row { justify-items: center; }
  .footer-row ul { justify-content: center; }
  .footer-bar__inner { flex-direction: column; justify-content: center; text-align: center; }
  .footer-base, .footer-bar .clock-line { justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vt-out 0.2s var(--ease) both; }
  ::view-transition-new(root) { animation: vt-in 0.45s var(--ease) both; }

  /* The live page's background life */
  .backdrop__grid { animation: ts-drift 22s linear infinite; }
  .backdrop__dot { animation: ts-pulse 4.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .backdrop__lines line { animation: ts-pulse-line 5s ease-in-out infinite; }
  .backdrop__lines line:nth-child(2) { animation-duration: 6s; animation-delay: 1.5s; }
  .backdrop__lines line:nth-child(3) { animation-duration: 7s; animation-delay: 3s; }
  .eyebrow__dot, .badge::before, .status::before { animation: ts-blink 2s ease-in-out infinite; }

  /* Page entrance: CSS only, done within a second and a half */
  .enter { animation: rise-soft 0.9s var(--ease) both; animation-delay: calc(var(--e, 0) * 110ms + 80ms); }

  /* Hero dial and the small clocks */
  .dial .tick { animation: fade-in 0.5s ease-out both; animation-delay: calc(var(--t) * 14ms + 250ms); }
  html:not(.js) .dial__orbit { animation: spin 60s linear infinite; }
  .dial__glow { animation: glow 8s ease-in-out infinite; }
  .hand, .dial__orbit, .mini-dial .dh { transition: transform 1s linear; }
  .dial.is-setting .hand, .dial.is-setting .dial__orbit { transition: transform 2.2s var(--ease-in-out); }
  .cta__ring svg { animation: spin 240s linear infinite; }

  /* Trust strip moves like the live page's bottom bar */
  .js .trust.is-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); cursor: pointer; }
  .js .trust.is-marquee .trust__track { width: max-content; animation: ts-marquee var(--marquee-duration, 40s) linear infinite; }
  .js .trust.is-marquee .trust__list, .js .trust.is-marquee .trust__clone { display: flex; justify-content: flex-start; gap: 48px; width: auto; max-width: none; margin: 0; padding: 17px 48px 17px 0; white-space: nowrap; }
  .js .trust.is-marquee:hover .trust__track, .js .trust.is-paused .trust__track { animation-play-state: paused; }

  /* Scroll reveals: only hidden once the script runs, with a failsafe */
  .js [data-reveal] { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js:not(.reveal-ready) [data-reveal] { animation: reveal-failsafe 0s linear 2.5s forwards; }
  .js .breaker__rule { transition: transform 1.2s var(--ease-in-out) 0.2s; }
  .js.reveal-ready .breaker:not(.is-in) .breaker__rule { transform: scaleX(0); }


  .js .steps::before { transition: transform 1.6s var(--ease-in-out) 0.25s; }
  .js.reveal-ready .steps:not(.is-in)::before { transform: scaleY(0); }
  @media (min-width: 860px) { .js.reveal-ready .steps:not(.is-in)::before { transform: scaleX(0); } }
  .js .step.is-in .step__dial .sweep { animation: sweep-in 1.4s var(--ease-in-out) both; animation-delay: calc(var(--i, 0) * 200ms + 300ms); }

  /* Video slots only animate while on screen */
  .is-playing .media__icon::before { animation: ring-out 3s ease-out infinite; }
  .is-playing .media__icon::after { animation: ring-out 3s ease-out 1.5s infinite; }
  .is-playing .media__progress::after { animation: progress 6s var(--ease-in-out) infinite; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* Home, 23 Oct copy: "Is this your business?", the maths, before you hire, after the admin, why us */
.pain .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
.checklist { display: grid; gap: 10px; max-width: 860px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.checklist li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--ts-border); border-radius: 12px; background: var(--ts-chip); font-size: 1rem; line-height: 1.5; color: var(--ts-white); }
.checklist__box { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border: 1.5px solid var(--ts-border-strong); border-radius: 7px; color: #fff; transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease); }
.checklist__box svg { width: 16px; height: 16px; }
.checklist__box path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .checklist li .checklist__box path { stroke-dashoffset: 1; transition: stroke-dashoffset 0.5s var(--ease) 0.45s; }
.js .checklist li.is-in .checklist__box path { stroke-dashoffset: 0; }
.js .checklist li.is-in .checklist__box { border-color: var(--ts-purple); background: var(--ts-purple); transition-delay: 0.35s; }
.verdict { margin-top: clamp(40px, 6vw, 72px); }
.verdict .alt { display: block; }

.maths { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .maths { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.maths__text { display: grid; gap: 18px; max-width: 620px; }
.maths__lead { font-size: clamp(1.375rem, 1.1rem + 1.1vw, 2rem); font-weight: 300; line-height: 1.35; letter-spacing: -0.02em; color: var(--ts-white); }
.maths__rows { display: grid; padding: 10px 22px 18px; font-family: var(--font-mono); }
.maths__rows p { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--ts-border); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ts-muted); }
.maths__rows label { cursor: pointer; }
.calc__field { display: inline-flex; align-items: center; gap: 6px; color: var(--ts-white); }
.calc__field input {
  width: 4.6em; padding: 7px 10px; border: 1px solid var(--ts-border-strong); border-radius: 8px;
  background: var(--ts-field); font: 400 1rem/1 var(--font-mono); letter-spacing: 0.02em; color: var(--ts-white); text-align: right;
  -moz-appearance: textfield; appearance: textfield; transition: border-color 0.2s, box-shadow 0.2s;
}
.calc__field input::-webkit-outer-spin-button, .calc__field input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.calc__field input:hover { border-color: var(--ts-purple-light); }
.calc__field input:focus { outline: none; border-color: var(--ts-purple-light); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2); }
.maths__rows p { align-items: center; }
.maths__total output { font-family: var(--font-sans); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--ts-white); text-shadow: 0 0 30px rgba(167, 139, 250, 0.45); }
.maths__rows b { font-size: 1rem; font-weight: 400; letter-spacing: 0.02em; color: var(--ts-white); }
.maths__rows .maths__total { margin-top: 6px; border-bottom: 0; color: var(--ts-purple-light); }
.maths__total b { font-family: var(--font-sans); font-size: clamp(2.25rem, 1.8rem + 2vw, 3.25rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--ts-white); text-shadow: 0 0 30px rgba(167, 139, 250, 0.45); }

.cards--after > li:nth-child(1) .card { background: linear-gradient(160deg, #2a1c62 0%, #17123f 100%); }
.cards--after > li:nth-child(2) .card { background: linear-gradient(160deg, #3a2283 0%, #1d1652 100%); }
.cards--after > li:nth-child(3) .card { background: linear-gradient(160deg, #4b28a2 0%, #261863 100%); }
.cards--after .card { border-color: rgba(167, 139, 250, 0.28); }
@media (min-width: 960px) { .cards--after { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.after-card__top { position: relative; display: flex; justify-content: center; width: 100%; margin: 4px 0 10px; }
.after-card__top .card__index { position: absolute; top: 0; right: 0; }
.face { width: 132px; height: 132px; overflow: visible; }
.face__ring { fill: none; stroke: rgba(167, 139, 250, 0.22); stroke-width: 1; }
.face__inner { fill: rgba(10, 12, 40, 0.35); stroke: rgba(255, 255, 255, 0.06); stroke-width: 1; }
.face .tk { stroke: rgba(167, 139, 250, 0.28); stroke-width: 1.2; stroke-linecap: round; }
.face .tk--major { stroke: rgba(167, 139, 250, 0.75); stroke-width: 2.2; }
.face__orbit { transform-origin: 100px 100px; }
.face__orbit circle { fill: var(--ts-purple-light); }
.face__hand { stroke-linecap: round; }
.face__hand--h { stroke: #fff; stroke-width: 5; }
.face__hand--m { stroke: var(--ts-purple-light); stroke-width: 3; }
.face__pin { fill: #7735cf; }
.face__pin-dot { fill: var(--ts-purple-light); }
.after-card .card__title { font-size: 1.25rem; line-height: 1.3; }

.why { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why__item { display: grid; align-content: start; gap: 16px; padding: 24px; border: 1px solid var(--ts-border); border-radius: var(--radius); background: var(--ts-chip); transition: border-color 0.3s, background-color 0.3s; }
.why__item:hover { border-color: var(--ts-chip-hover-border); background: var(--ts-chip-hover); }
.why__item p { font-size: 1rem; line-height: 1.6; }
@media (prefers-reduced-motion: no-preference) {
  .face__orbit { animation: spin 60s linear infinite; }
  .after-card:hover .face__hand--m { transition: transform 0.8s var(--ease); }
}
@media (max-width: 719.98px) {
  .checklist li { text-align: left; }
  .verdict { text-align: center; }
  .maths__text { margin-inline: auto; text-align: center; }
  .maths__sum { width: 100%; }
  .why__item { justify-items: center; padding: 28px 22px; text-align: center; }
  .cards--after > li { flex-basis: 86%; }
}

.scroll-clock, .swipe-dots { display: none; }
/* Phones, round two (23 Oct): clock first on the home page, swipeable service cards,
   demos above the words on What we do, a smaller footer, and a scroll clock in the corner. */
@media (max-width: 719.98px) {
  /* Home: the clock fills the first screen, then the words follow as you scroll */
  .js .hero { padding-top: calc(var(--header-h) + 4px); }
  .hero__grid { display: flex; flex-direction: column; gap: 0; }
  .hero__visual, .js .hero__visual {
    position: relative; order: -1; top: auto; right: auto; left: auto; translate: none;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 100%; min-height: calc(100svh - var(--header-h) - 70px); padding-bottom: 64px; opacity: 1;
  }
  .hero__visual .dial { width: min(80vw, 330px); }
  .hero__visual .dial__readout { display: block; margin-top: 14px; }
  .hero__visual::before, .hero__visual::after { content: ""; position: absolute; left: 50%; translate: -50% 0; }
  .hero__visual::before { bottom: 30px; content: "// scroll"; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ts-muted); }
  .hero__visual::after { bottom: 0; width: 1px; height: 22px; background: linear-gradient(var(--ts-purple-light), transparent); transform-origin: top; }
  .hero__text { padding-top: 12px; }

  /* Home: the four service cards swipe sideways, each a slightly different purple */
  .cards {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cards::-webkit-scrollbar { display: none; }
  .cards > li { flex: 0 0 84%; scroll-snap-align: center; }
  .cards .card { border-color: rgba(167, 139, 250, 0.28); }
  .cards > li:nth-child(1) .card { background: linear-gradient(160deg, #2a1c62 0%, #17123f 100%); }
  .cards > li:nth-child(2) .card { background: linear-gradient(160deg, #35207a 0%, #1c1550 100%); }
  .cards > li:nth-child(3) .card { background: linear-gradient(160deg, #42258f 0%, #23185f 100%); }
  .cards > li:nth-child(4) .card { background: linear-gradient(160deg, #5029a8 0%, #2b1a6e 100%); }
  .cards .icon-box { border-color: rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.07); }
  .swipe-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
  .swipe-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--ts-border-strong); cursor: pointer; transition: width 0.3s var(--ease), background-color 0.3s; }
  .swipe-dots button[aria-current="true"] { width: 24px; background: var(--ts-purple-light); }

  /* What we do: the demo comes straight after the headline, the words after that */
  .svc__grid { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }
  .svc__text { display: contents; }
  .svc__lede { order: 1; }
  .svc__media { order: 2; }
  .svc__text > .svc__body { order: 3; margin-top: 0; }
  .svc--wide > .wrap { display: flex; flex-direction: column; }
  .svc--wide .svc__grid { display: contents; }
  .svc--wide .svc__side .svc__lede { order: 1; }
  .svc--wide .svc__demo { order: 2; margin-top: 32px; }
  .svc--wide .svc__grid > .svc__body { order: 3; margin-top: 36px; }
  .svc--wide .svc__side .svc__body { order: 4; margin-top: 24px; }

  /* A smaller footer */
  .footer-top { gap: 22px; padding-block: 40px 30px; }
  .footer-logo img { width: 108px; }
  .footer-legal { margin-top: 12px; font-size: 0.8125rem; line-height: 1.6; }
  .footer-links { gap: 12px; }
  .footer-row { gap: 0; }
  .footer-row__label { font-size: 0.5625rem; }
  .footer-row ul { column-gap: 14px; font-size: 0.875rem; }
  .footer-row a { padding: 2px 0; }
  .footer-bar__inner { gap: 4px; padding-block: 12px calc(12px + env(safe-area-inset-bottom)); }

  /* The scroll clock: the hand goes round and the ring fills as you scroll; tap for the top */
  .scroll-clock {
    position: fixed; z-index: 40; right: 14px; bottom: calc(16px + env(safe-area-inset-bottom));
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
    border: 1px solid var(--ts-border-strong); border-radius: 50%;
    background: rgba(10, 12, 40, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8), 0 0 18px -6px rgba(167, 139, 250, 0.5);
    opacity: 0; pointer-events: none; transform: translateY(8px) scale(0.9);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }
  .scroll-clock.is-on { opacity: 1; pointer-events: auto; transform: none; }
  .menu-open .scroll-clock { opacity: 0; pointer-events: none; }
  .scroll-clock svg { width: 40px; height: 40px; overflow: visible; }
  .scroll-clock__tick { stroke: rgba(167, 139, 250, 0.45); stroke-width: 1.4; stroke-linecap: round; }
  .scroll-clock__track { fill: none; stroke: var(--ts-purple-light); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 100; transform: rotate(-90deg); transform-origin: 24px 24px; }
  .scroll-clock__hand { transform-origin: 24px 24px; }
  .scroll-clock__hand line { stroke: #fff; stroke-width: 2; stroke-linecap: round; }
  .scroll-clock__pin { fill: #7735cf; stroke: var(--ts-purple-light); stroke-width: 1.2; }
}
@media (max-width: 719.98px) and (prefers-reduced-motion: no-preference) {
  .hero__visual::after { animation: scroll-cue 2.2s var(--ease) infinite; }
}
@keyframes scroll-cue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

@media print {
  .site-header, .backdrop, .hero__visual, .menu-toggle, .cta__ring, .skip-link, .policy__toc { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, strong { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  .maths__total output.is-bump { animation: calc-bump 0.35s var(--ease); }
}
@keyframes calc-bump { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }
.maths__total output { display: inline-block; transform-origin: right center; }
/* The maths: one short line at a time, landing on the yearly cost */
.maths__line { display: block; }
.maths__line + .maths__line { margin-top: 2px; }
.maths__line--total { margin-top: 10px !important; font-size: 1.6em; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--ts-purple-light); text-shadow: 0 0 30px rgba(167, 139, 250, 0.35); }
@media (prefers-reduced-motion: no-preference) {
  .js .maths__text .maths__line { opacity: 0; transform: translateY(10px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--l) * 160ms + 200ms); }
  .js .maths__text.is-in .maths__line { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .js:not(.reveal-ready) .maths__text .maths__line { animation: reveal-failsafe 0s linear 2.5s forwards; }
}
@media (max-width: 719.98px) {
  .maths__sum .window__bar { gap: 10px; letter-spacing: 0.06em; }
  .maths__sum .window__bar .dots { display: none; }
}
/* The maths on desktop: calculator on the left, words on the right */
@media (min-width: 900px) {
  .maths { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .maths__sum { order: -1; }
}
/* About: what drives us, with the Gallup chart */
.page-hero .lede--big, .lede--big { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); }
.drives { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .drives { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.drives__text { display: grid; gap: 20px; max-width: 600px; }
.drives__lead { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); font-weight: 300; line-height: 1.45; letter-spacing: -0.015em; color: var(--ts-white); }
.study { margin: 0; }
.study__body { display: grid; gap: 22px; padding: 22px 22px 18px; }
.study__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ts-muted); }
.study__key { display: inline-flex; align-items: center; gap: 8px; }
.study__key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }
.study__key--yes::before { background: var(--ts-purple-light); }
.study__key--no::before { background: rgba(200, 201, 216, 0.35); }
.study__group { display: grid; gap: 8px; }
.study__label { font-size: 1rem; font-weight: 500; color: var(--ts-white); }
.study__row { display: grid; grid-template-columns: minmax(0, 1fr) 3.2em; align-items: center; gap: 12px; }
.study__who { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.study__track { height: 14px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.05); }
.study__bar { display: block; width: var(--w); height: 100%; border-radius: inherit; }
.study__row--yes .study__bar { background: linear-gradient(90deg, #6b35c8, var(--ts-purple-light)); box-shadow: 0 0 16px -2px rgba(167, 139, 250, 0.6); }
.study__row--no .study__bar { background: rgba(200, 201, 216, 0.35); }
.study__row b { font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 400; color: var(--ts-white); text-align: right; }
.study__row--no b { color: var(--ts-mid); }
.study__note { padding-top: 14px; border-top: 1px dashed var(--ts-border); font-size: 0.9375rem; line-height: 1.6; }
.study__source { padding: 12px 22px 16px; border-top: 1px solid var(--ts-bar-border); font-family: var(--font-mono); font-size: 0.6875rem; line-height: 1.7; letter-spacing: 0.02em; color: var(--ts-muted); }
.study__source a { color: var(--ts-purple-light); text-underline-offset: 3px; }
/* With the chart's widths in the page, bars still show at full length if nothing animates */
@media (prefers-reduced-motion: no-preference) {
  .js.reveal-ready .study:not(.is-in) .study__bar { width: 0; }
  .js .study .study__bar { transition: width 1.2s var(--ease) 0.4s; }
  .js .study .study__row--no .study__bar { transition-delay: 0.6s; }
}
@media (max-width: 719.98px) {
  .drives__text { margin-inline: auto; text-align: center; }
  .study__legend { justify-content: center; }
  .study__body, .study__source { text-align: left; }
  .study .window__bar { gap: 10px; letter-spacing: 0.06em; }
  .study .window__bar .dots { display: none; }
}
/* Home hero: the sign-off on its own line */
.hero__sub .crow { margin-top: 14px; font-size: 1.15em; font-style: italic; font-weight: 400; color: var(--ts-purple-light); }
/* Home CTA: a note from Jack */
.cta__note { max-width: 640px; margin: 26px auto 0; padding: 22px 26px; border: 1px solid var(--ts-border); border-left: 2px solid var(--ts-purple-light); border-radius: 4px 12px 12px 4px; background: rgba(10, 12, 40, 0.55); text-align: left; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cta__note-label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.cta__note blockquote { margin: 12px 0 0; }
.cta__note blockquote p { font-size: 1rem; line-height: 1.7; }
.cta__note figcaption { margin-top: 14px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ts-muted); }
@media (max-width: 719.98px) { .cta__note { padding: 20px; } }
/* About: how it started, as a timeline */
ol.story { position: relative; display: grid; gap: 34px; max-width: 760px; margin: 0; padding: 0 0 0 34px; list-style: none; }
.story::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 6px; width: 1px; background: linear-gradient(var(--ts-purple-light), var(--ts-border-strong)); }
.story__step { position: relative; }
.story__dot { position: absolute; top: 5px; left: -34px; width: 13px; height: 13px; border: 2px solid var(--ts-purple-light); border-radius: 50%; background: var(--ts-bg); box-shadow: 0 0 12px -2px rgba(167, 139, 250, 0.7); }
.story__tag { margin-bottom: 8px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ts-purple-light); }
.story__step p:not(.story__tag) { font-size: 1.0625rem; line-height: 1.75; }
.story__step:last-child .story__dot { background: var(--ts-purple-light); }
@media (max-width: 719.98px) {
  ol.story { gap: 0; padding: 0; text-align: center; }
  .story::before { display: none; }
  .story__dot { position: static; display: block; margin: 0 auto 12px; }
  .story__step + .story__step::before { content: ""; display: block; width: 1px; height: 36px; margin: 22px auto; background: linear-gradient(rgba(167, 139, 250, 0), var(--ts-purple-light)); }
}
/* In the community: run club */
.runclub { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .runclub { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; } }
.runclub__poster { margin: 0; overflow: hidden; border: 1px solid var(--ts-border-strong); border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(167, 139, 250, 0.05); }
.runclub__poster img { display: block; width: 100%; height: auto; }
.runclub__text { display: grid; gap: 18px; max-width: 560px; }
.runclub__text .lede { color: var(--ts-white); }
.runclub__motto { font-size: 1.25rem; font-style: italic; color: var(--ts-purple-light); }
.gallery__item figure { margin: 0; overflow: hidden; border: 1px solid var(--ts-border); border-radius: 14px; background: var(--ts-chip); }
.gallery__item img { display: block; width: 100%; transition: transform 0.8s var(--ease), filter 0.4s; filter: saturate(0.92); }
.gallery__item figure:hover img { transform: scale(1.04); filter: saturate(1.05); }
@media (max-width: 719.98px) {
  .runclub__poster { max-width: 340px; margin-inline: auto; }
  .runclub__text { margin-inline: auto; text-align: center; }
}

/* Run club photo slider: every photo the same size */
.slider-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(48px, 6vw, 80px) 0 16px; }
.slider-btns { display: flex; gap: 8px; }
.slider-btn { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid var(--ts-border-strong); border-radius: 50%; background: var(--ts-chip); color: var(--ts-white); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, opacity 0.2s; }
.slider-btn:hover { border-color: var(--ts-purple-light); background: var(--ts-chip-hover); }
.slider-btn[disabled] { opacity: 0.35; cursor: default; }
.slider-btn svg { width: 18px; height: 18px; }
ul.gallery {
  display: flex; gap: 16px; margin: 0; padding: 4px 0 8px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
ul.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
@media (max-width: 899.98px) { .gallery__item { flex-basis: 78%; } }
.gallery__item figure { aspect-ratio: 2 / 1; }
.gallery__item img { height: 100%; object-fit: cover; object-position: 50% 50%; }
.gallery + .swipe-dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.gallery + .swipe-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--ts-border-strong); cursor: pointer; transition: width 0.3s var(--ease), background-color 0.3s; }
.gallery + .swipe-dots button[aria-current="true"] { width: 24px; background: var(--ts-purple-light); }
@media (max-width: 719.98px) {
  .slider-head { justify-content: center; }
  .slider-btns { display: none; }
  ul.gallery { gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .gallery__item { flex-basis: 90%; scroll-snap-align: center; }
}
/* Calculator: a clear title so people know they can type in it */
.calc__title { display: flex; align-items: center; gap: 12px; margin: 0; padding: 18px 22px 4px; font-size: clamp(1.375rem, 1.15rem + 0.8vw, 1.75rem); font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; color: var(--ts-white); }
.calc__title svg { flex: none; width: 26px; height: 26px; color: var(--ts-purple-light); }
@media (prefers-reduced-motion: no-preference) {
  .calc-wrap.is-in .calc__field input { animation: calc-nudge 1.6s var(--ease) 1.2s 2; }
}
@keyframes calc-nudge { 0%, 100% { box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); } 40% { box-shadow: 0 0 0 4px rgba(167, 139, 250, 0.35); border-color: var(--ts-purple-light); } }
@media (max-width: 719.98px) { .calc__title { justify-content: center; text-align: center; } }

/* Email addresses look like the links they are */
a[href^="mailto:"]:not(.chip):not(.btn) { color: var(--ts-white); text-decoration: underline; text-decoration-color: var(--ts-purple-light); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color 0.15s, text-decoration-color 0.15s; }
a[href^="mailto:"]:not(.chip):not(.btn):hover { color: var(--ts-purple-light); text-decoration-color: currentColor; }
.person__links a[href^="mailto:"] { border-color: var(--ts-purple-light); color: var(--ts-white); }
/* Calculator: make it the eye-catcher of the page */
@property --calc-spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.calc-wrap { position: relative; padding: 2px; border-radius: 18px; padding: 3px; background: conic-gradient(from var(--calc-spin), rgba(107, 53, 200, 0.45) 0deg, rgba(107, 53, 200, 0.45) 230deg, #6b35c8 280deg, #a78bfa 320deg, #ffffff 350deg, rgba(107, 53, 200, 0.45) 360deg); box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.2), 0 30px 80px -30px rgba(107, 53, 200, 0.75), 0 0 60px -10px rgba(167, 139, 250, 0.45); }
@media (min-width: 900px) { .calc-wrap { order: -1; } }
.calc-wrap .maths__sum { order: 0; border: 0; border-radius: 16px; background: linear-gradient(170deg, #1a1650 0%, #0e1033 55%, #0a0c28 100%); }
.calc-badge { position: absolute; z-index: 2; top: -14px; right: 22px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #6b35c8; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; box-shadow: 0 6px 20px -4px rgba(107, 53, 200, 0.9); }
.calc-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.calc-wrap .calc__field input { width: 5.2em; padding: 10px 12px; border-color: rgba(167, 139, 250, 0.55); background: rgba(107, 53, 200, 0.18); font-size: 1.125rem; }
.calc-wrap .calc__field input:hover, .calc-wrap .calc__field input:focus { background: rgba(107, 53, 200, 0.3); }
.calc-wrap .maths__total { margin: 10px -22px -18px; padding: 18px 22px 20px; border-top: 1px solid rgba(167, 139, 250, 0.3); background: linear-gradient(90deg, rgba(107, 53, 200, 0.28), rgba(167, 139, 250, 0.12)); border-radius: 0 0 16px 16px; }
.calc-wrap .maths__total output { font-size: clamp(2.5rem, 2rem + 2.4vw, 3.75rem); }
@media (prefers-reduced-motion: no-preference) {
  .calc-wrap { animation: calc-spin 4s linear infinite; }
  .calc-badge::before { animation: ts-blink 1.4s ease-in-out infinite; }
}
@keyframes calc-spin { to { --calc-spin: 360deg; } }
@media (max-width: 719.98px) { .calc-wrap { margin-top: 10px; } .calc-badge { right: 50%; translate: 50% 0; } }
