/* ===== tokens: colours, type, spacing, radii and shadows. Components use these variables ===== */
:root {
  --white: #fff;
  --mist: #f5f9ff;
  --sky-100: #e8f2ff;
  --sky-200: #d2e5ff;
  --sky-300: #aed2fe;
  --sky-400: #81bafe;
  --sky-500: #5da0f2;
  --sky-600: #3680dd;
  --sky-700: #2160b6;
  --hero-top: #4087e5;
  --hero-bottom: #76b2f5;
  --on-sky: var(--white);
  --bloom-1: #81bafe;
  --bloom-2: #5da0f2;
  --hill-back: var(--sky-300);
  --hill-front: var(--white);
  --navy-950: #0a1f38;
  --navy-900: #0f2a4a;
  --navy-800: #1b3b62;
  --ink: var(--navy-900);
  --emph: #2f72e0;
  --ink-muted: #4f647c;
  --ink-subtle: #5d7189;
  --on-navy: var(--white);
  --line: #dbe6f2;
  --line-control: #7890b0;
  --focus: var(--navy-900);
  --focus-halo: #5da0f259;
  --warm-100: #fdf3ea;
  --warm-300: #f5cfab;
  --warm-500: #e8a46c;
  --warm-700: #8a4a1b;
  --success: #1f7a5a;
  --success-soft: #e3f3ec;
  --danger: #b3343f;
  --danger-soft: #fbe8ea;
  --glass-fill: #ffffff8c;
  --glass-fill-strong: #ffffffe6;
  --glass-tint: #d2e5ff8c;
  --glass-border: #ffffffbf;
  --glass-solid: #fffffff0;
  --shine-high: #ffffffd9;
  --shine-mid: #ffffff4d;
  --shine-low: #ffffff0f;
  --btn-light: #ffffffb8;
  --btn-light-glass: #3680dd5c;
  --shadow-glass: 0 8px 32px 0 #0f172a12, 0 0 0 1px #0f172a0f, inset 0 1px 0 0 #ffffffe6;
  --shadow-lift: 0 24px 64px -24px #0f172a38;
  --shadow-button: 0 6px 16px -6px #0f2a4a73;
  --shadow-field: inset 0 1px 2px 0 #0f2a4a0f, 0 1px 2px 0 #0f2a4a0a;
  --blur-sm: 12px;
  --blur-md: 12px;
  --blur-lg: 64px;
  --saturate-glass: 100%;
  --font: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;
  --text-headline: clamp(2.5rem, 1.2rem + 3.5vw, 3.625rem);
  --text-h2: clamp(2rem, 1.6rem + 1.6vw, 2.5rem);
  --text-h3: clamp(1.5rem, 1.35rem + .6vw, 1.75rem);
  --text-title: 1.25rem;
  --text-lede: 1.25rem;
  --text-body: 1rem;
  --text-small: .875rem;
  --text-label: .8125rem;
  --text-compact: .9375rem;
  --text-caption: .75rem;
  --text-figure: 2rem;
  --leading-headline: 1;
  --text-subtitle: 1rem;
  --leading-subtitle: 1.3;
  --tracking-subtitle: 0;
  --leading-h2: 1.2;
  --leading-h3: 1.286;
  --leading-title: 1.4;
  --leading-lede: 1.6;
  --leading-body: 1.625;
  --leading-small: 1.571;
  --tracking-headline: -.02em;
  --tracking-h2: -.025em;
  --tracking-h3: -.015em;
  --tracking-title: -.01em;
  --tracking-label: .01em;
  --tracking-wordmark: -.02em;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;
  --space-40: 10rem;
  --section: var(--space-24);
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 999px;
  --container: 70rem;
  --measure: 40rem;
  --gutter: 1rem;
  --tap: 2.75rem;
  --topbar-logo: 1.75rem;
  --icon-size: 1.5rem;
  --icon-stroke: 1.5;
  --ease: .2s ease;
}

/* palettes: Sky, Dawn and Clear. A section, card or drawing with data-palette takes that palette's --sky-*, --warm-* and --bloom-* colours */
[data-palette=sky] {
  --sky-100: #e8f2ff;
  --sky-200: #d2e5ff;
  --sky-300: #aed2fe;
  --sky-400: #81bafe;
  --sky-500: #5da0f2;
  --sky-600: #3680dd;
  --sky-700: #2160b6;
  --bloom-1: #81bafe;
  --bloom-2: #5da0f2;
  --warm-100: #fdf3ea;
  --warm-300: #f5cfab;
  --warm-500: #e8a46c;
  --warm-700: #8a4a1b;
  --line: #dbe6f2;
  --glass-tint: #d2e5ff8c;
  --focus-halo: #5da0f259;
}

[data-palette=dawn] {
  --sky-100: #f9f0dd;
  --sky-200: #f5e1ba;
  --sky-300: #f1c87c;
  --sky-400: #f3a23c;
  --sky-500: #ed791d;
  --sky-600: #c35a27;
  --sky-700: #944723;
  --bloom-1: #f3a23c;
  --bloom-2: #ed791d;
  --warm-100: #e8f6fc;
  --warm-300: #b4dbed;
  --warm-500: #498eb9;
  --warm-700: #295a7b;
  --line: #eee3cf;
  --glass-tint: #f5e1ba8c;
  --focus-halo: #ed791d59;
}

[data-palette=clear] {
  --sky-100: #f4f1e2;
  --sky-200: #dee7f1;
  --sky-300: #abd6ee;
  --sky-400: #78c1e6;
  --sky-500: #71a4cc;
  --sky-600: #6481a3;
  --sky-700: #456286;
  --bloom-1: #f7f180;
  --bloom-2: #c5e4a0;
  --warm-100: #fbfad3;
  --warm-300: #eadb64;
  --warm-500: #e6ce57;
  --warm-700: #64581e;
  --line: #dde6ed;
  --glass-tint: #dee7f18c;
  --focus-halo: #71a4cc59;
}

/* the gutter and the space between sections grow with the window */
@media (width>=640px) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (width>=768px) {
  :root {
    --section: var(--space-32);
  }
}

@media (width>=1024px) {
  :root {
    --gutter: 2rem;
  }
}

/* more tokens: the glow colours, the soft shadows and the display size */
:root {
  --glow-base: #3f86e6;
  --glow-deep: #2a63d2;
  --glow-mid: #5b9cf0;
  --glow-light: #8fc1fa;
  --glow-lamp: #ffffff80;
  --glow-ray: #ffffff42;
  --glow-grid: #ffffff24;
  --glow-wash: #fff3;
  --glow-wash-edge: #ffffff73;
  --glow-halo: #8fc1fa42;
  --glow-line: #3680dd14;
  --glow-glass-blue: #3f86e629;
  --glow-glass-blue-edge: #3f86e657;
  --shadow-soft: 0 1px 2px #1f46780f, 0 16px 36px -14px #3680dd4d, 0 44px 80px -28px #3680dd57;
  --shadow-soft-blue: 0 24px 48px -18px #2a63d28c;
  --text-display: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
}

/* ===== font: DM Sans, hosted here (assets/fonts, SIL Open Font License in OFL.txt) so no page asks Google for it. One variable file per subset covers the three weights the site uses (400, 500, 700); the latin-ext file only loads for a character outside latin ===== */
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-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: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== base: box sizing, the page, headings, lists, images, links, focus, selection, the skip link ===== */
*,:before,:after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-24);
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,:before,:after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-weight: var(--weight-regular);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1,h2,h3,p,ul,ol,figure {
  margin: 0;
}

ul[role=list],ol[role=list] {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--sky-200);
  color: var(--ink);
}

html {
  scrollbar-color: var(--sky-300) transparent;
}

input,textarea {
  caret-color: var(--navy-900);
}

.visually-hidden {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  position: absolute !important;
}

.skip-link {
  left: var(--space-4);
  z-index: 20;
  background: var(--navy-900);
  color: var(--on-navy);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-decoration: none;
  position: absolute;
  top: -4rem;
}

.skip-link:focus {
  top: var(--space-4);
  outline-color: var(--white);
}

/* ===== layout and type: the container, icons, the headline, section titles, the emphasised phrase, the subtitle and the lede ===== */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.icon {
  width: var(--icon-size);
  height: var(--icon-size);
  stroke-width: var(--icon-stroke);
  flex: none;
}

.headline {
  font-size: var(--text-headline);
  font-weight: var(--weight-medium);
  line-height: var(--leading-headline);
  letter-spacing: var(--tracking-headline);
  text-align: left;
  text-wrap: balance;
}

.section-title {
  font-size: var(--text-h2);
  font-weight: var(--weight-medium);
  line-height: var(--leading-h2);
  letter-spacing: var(--tracking-h2);
  text-wrap: balance;
  max-width: 22ch;
}

.emph {
  color: var(--emph);
}

.sky--deep .emph {
  color: var(--sky-100);
}

.subtitle {
  font-size: var(--text-subtitle);
  font-weight: var(--weight-regular);
  line-height: var(--leading-subtitle);
  letter-spacing: var(--tracking-subtitle);
  font-variation-settings: "opsz" 9;
}

.lede {
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
  max-width: 32rem;
}

/* ===== glass: the one surface, a fill, a 1px edge, a soft lift and a blur ===== */
.glass {
  color: var(--ink);
  background: var(--glass-fill-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glass);
  backdrop-filter: blur(var(--blur-md)) saturate(var(--saturate-glass));
}

.glass--lift {
  box-shadow: var(--shadow-lift), var(--shadow-glass);
}

/* ===== sky: the soft backdrop that gives glass something to blur. Deep Sky (.sky--deep) is the hero band ===== */
.sky {
  isolation: isolate;
  background: linear-gradient(180deg, var(--sky-200) 0%, var(--sky-100) 100%);
  position: relative;
  overflow: hidden;
}

.sky:before,.sky:after {
  content: "";
  z-index: -2;
  filter: blur(var(--blur-lg));
  border-radius: 50%;
  position: absolute;
}

.sky:before {
  aspect-ratio: 1;
  background: var(--sky-300);
  opacity: .75;
  width: 62%;
  top: -30%;
  left: -14%;
}

.sky:after {
  aspect-ratio: 1;
  background: var(--bloom-1);
  opacity: .45;
  width: 48%;
  bottom: -26%;
  right: -10%;
}

.sky--deep {
  background: linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  color: var(--on-sky);
}

.sky--deep:before,.sky--deep:after {
  display: none;
}

/* fade: an element melts into whatever is behind it */
.fade {
  --fade-from: 58%;
  -webkit-mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 var(--fade-from), transparent 100%);
}

/* ===== buttons: .btn, its sizes (.btn-lg, .btn-sm), .btn-primary with its shine and the light that rises on hover, and .btn-glass. The website's site.css and the landing page's have the same button rules: change both ===== */
.btn {
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  padding: 0 var(--space-6);
  border-radius: var(--radius-md);
  font: inherit;
  font-size: var(--text-compact);
  font-weight: var(--weight-medium);
  letter-spacing: -.005em;
  cursor: pointer;
  transition: background-color var(--ease), box-shadow var(--ease), border-color var(--ease), color var(--ease);
  border: 1px solid #0000;
  line-height: 1.25;
  text-decoration: none;
  display: inline-flex;
  position: relative;
}

.btn-lg {
  min-height: 3.25rem;
  padding-inline: var(--space-8);
  font-size: var(--text-body);
}

.btn-sm {
  min-height: 2.5rem;
  padding-inline: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
}

.btn-primary {
  background: var(--navy-900);
  color: var(--on-navy);
  box-shadow: var(--shadow-button);
}

.btn-primary:before {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(160deg, var(--shine-high) 0%, var(--shine-low) 42%, var(--shine-mid) 100%);
  -webkit-mask-composite: xor;
  padding: 1px;
  position: absolute;
  inset: -1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor,source-over;
  mask: linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
}

.btn>* {
  z-index: 1;
  position: relative;
}

.btn-primary:after {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(90% 120% at 50% 132%, var(--btn-light) 0%, transparent 66%);
  opacity: 0;
  transition: opacity .24s;
  position: absolute;
  inset: -1px;
}

.btn-primary:hover:after,.btn-primary:focus-visible:after {
  opacity: 1;
}

.btn-primary:hover {
  background: var(--navy-800);
  box-shadow: var(--shadow-button), inset 0 -1px 0 0 var(--btn-light);
}

.btn-primary:active {
  background: var(--navy-950);
  box-shadow: none;
  transform: translateY(1px);
}

.btn-primary:active:after {
  opacity: 1;
  background: radial-gradient(95% 125% at 50% 142%, var(--white) 0%, transparent 70%);
}

.btn-glass {
  background: var(--glass-fill-strong);
  color: var(--ink);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--blur-sm)) saturate(var(--saturate-glass));
}

.btn-glass:hover {
  background: var(--glass-solid);
}

.btn-glass:after {
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(90% 120% at 50% 132%, var(--btn-light-glass) 0%, transparent 66%);
  opacity: 0;
  transition: opacity .24s;
  position: absolute;
  inset: -1px;
}

.btn-glass:hover:after,.btn-glass:focus-visible:after,.btn-glass:active:after {
  opacity: 1;
}

.btn-glass:active {
  transform: translateY(1px);
}

.sky--deep .btn-glass:not(.demo-pill) {
  --btn-light-glass: var(--btn-light);
}

.btn:disabled {
  background: var(--sky-100);
  color: var(--ink-subtle);
  box-shadow: none;
  cursor: not-allowed;
}

.btn:disabled:before,.btn:disabled:after {
  display: none;
}

/* text links */
.text-link {
  color: var(--sky-700);
  font-weight: var(--weight-medium);
  text-underline-offset: .2em;
  text-decoration-thickness: .08em;
}

.text-link:hover {
  color: var(--navy-900);
  text-decoration-thickness: .14em;
}

/* ===== logo: the supplied artwork, drawn inline ===== */
.logo {
  align-items: center;
  line-height: 0;
  text-decoration: none;
  display: inline-flex;
}

.logo svg {
  width: auto;
  height: 2rem;
  display: block;
}

.site-footer .logo svg {
  height: 1.5rem;
}

.logo svg[data-art] {
  display: none;
}

:root[data-logo=a] .logo svg[data-art=a] {
  display: block;
}

/* ===== top bar: logo and one button. Hidden while the hero is on screen; it slides in once the hero is out of sight ===== */
.site-header {
  z-index: 50;
  padding-block: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s cubic-bezier(.16,1,.3,1),opacity .25s,visibility 0s linear .4s;
  position: fixed;
  inset: 0 0 auto;
  transform: translateY(-100%);
}

.site-header[data-visible=true] {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
  transform: none;
}

.site-header:before {
  content: "";
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(20px)saturate(150%);
  background: linear-gradient(#ffffffe0 0%,#ffffff9e 55%,#fff0 100%);
  position: absolute;
  inset: 0 0 -1.75rem;
  -webkit-mask-image: linear-gradient(#000 0 50%,#0000 100%);
  mask-image: linear-gradient(#000 0 50%,#0000 100%);
}

.site-header-row {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  min-height: 2.5rem;
  display: flex;
}

.header-logo {
  display: inline-flex;
}

.site-header .logo svg {
  height: var(--topbar-logo);
}

.site-header:not(.is-ready) .btn {
  transition: none;
}

.site-header .btn-glass {
  border-color: var(--line);
  box-shadow: var(--shadow-field);
}

@media (width<=639px) {
  .site-header .logo svg {
    height: 1.5rem;
  }
}

/* ===== hero: the deep Sky as a rounded panel inside a thin white frame; the screenshot fades out at the panel's bottom edge ===== */
:root {
  --frame: clamp(.5rem, .8vw, .75rem);
  --frame-radius: clamp(1.5rem, 3vw, 2.75rem);
}

.hero {
  margin: var(--frame);
  border-radius: var(--frame-radius);
  padding-top: var(--space-16);
  padding-bottom: 0;
}

.hero-inner {
  gap: var(--space-8);
  display: grid;
}

.hero-logo-ink {
  display: none;
}

.hero-logo {
  margin-bottom: var(--space-4);
  grid-column: 1/-1;
  justify-self: center;
  line-height: 0;
}

.hero-action {
  gap: var(--space-6);
  align-content: start;
  justify-items: start;
  display: grid;
}

.hero-lede {
  max-width: 26rem;
}

/* the concept line: one line where it fits; on a narrow phone it wraps into two balanced lines inside the pill rather than pushing the hero wider than the screen */
.hero-concept {
  width: fit-content;
  max-width: 100%;
  min-height: 1.75rem;
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-wrap: balance;
  color: var(--ink-muted);
  background: radial-gradient(circle at .9375rem 50%, var(--emph) 0 .1875rem, transparent .25rem), color-mix(in srgb, var(--emph) 8%, transparent);
  border-radius: var(--radius-sm);
  align-items: center;
  margin: 0;
  padding: var(--space-1) .75rem var(--space-1) 1.5rem;
  line-height: 1.4;
  display: flex;
}

/* on a phone the line breaks after "Fablane," so the pill is as wide as its longer line, and the dot sits level with the first line; wider screens keep it on one line */
@media (width>520px) {
  .hero-concept-break {
    display: none;
  }
}

@media (width<=520px) {
  .hero-concept {
    background: radial-gradient(circle at .9375rem calc(var(--space-1) + .5lh), var(--emph) 0 .1875rem, transparent .25rem), color-mix(in srgb, var(--emph) 8%, transparent);
  }
}

@media (width>=900px) {
  .hero-inner {
    gap: var(--space-12) var(--space-16);
    grid-template-columns: minmax(0,7fr) minmax(0,3fr);
    align-items: start;
  }
  .hero-shot {
    grid-column: 1/-1;
  }
  .hero-action {
    padding-top: var(--space-3);
  }
  .hero[data-variant=a]:not(.hero--site) .hero-title {
    grid-area: 2/1;
  }
  .hero[data-variant=a]:not(.hero--site) .hero-concept {
    grid-area: 3/1;
    align-self: end;
  }
  .hero[data-variant=a]:not(.hero--site) .hero-action {
    grid-area: 2/2/span 2;
  }
}

/* the hero's screenshot of the demo: the whole screenshot is the link, and the pill is its label */
.hero-shot {
  margin-top: var(--space-6);
  position: relative;
}

.shot-frame {
  padding: var(--space-2);
  border-radius: var(--radius-xl);
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lift), var(--shadow-glass);
  backdrop-filter: blur(var(--blur-md)) saturate(var(--saturate-glass));
}

.shot-frame img {
  border-radius: var(--radius-lg);
  background: var(--mist);
  aspect-ratio: 1.9;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.demo-pill {
  white-space: nowrap;
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translate(-50%);
}

.hero-shot-link {
  color: inherit;
  border-radius: var(--radius-xl);
  text-decoration: none;
  display: block;
  position: relative;
}

.hero-shot[data-demo] .shot-frame {
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.hero-shot[data-demo] .hero-shot-link:hover .shot-frame {
  transform: translateY(-4px);
}

.hero-shot[data-demo] .hero-shot-link:hover .demo-pill,.hero-shot[data-demo] .hero-shot-link:focus-visible .demo-pill {
  background: var(--glass-solid);
}

/* phones: the hero panel and its screenshot */
@media (width<=639px) {
  .hero {
    padding-top: var(--space-12);
  }
  .shot-frame {
    padding: var(--space-1);
    border-radius: var(--radius-lg);
  }
  .shot-frame img {
    border-radius: var(--radius-md);
  }
  .demo-pill {
    bottom: 1.5rem;
  }
}

/* ===== sections: the shared section band, then each section's base layout ===== */
.section {
  padding-block: var(--section);
}

.section--mist {
  background: var(--mist);
}

/* what it does: one job open at a time. Its description and its bar show; its screen sits on a small sky beside the list */
.tiles {
  margin: var(--space-12) 0 0;
  list-style: none;
}

.tile {
  position: relative;
}

.tile-body {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.tile:last-child .tile-body {
  border-bottom: 1px solid var(--line);
}

.tile-title {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: 0;
}

.tile-toggle {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  min-height: var(--tap);
  padding: var(--space-2) 0;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color var(--ease);
  background: 0 0;
  border: 0;
  display: flex;
}

.tile-toggle:hover,.tile[data-active] .tile-toggle {
  color: var(--ink);
}

.tile-toggle .icon {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform .3s;
}

.tile[data-active] .tile-toggle .icon {
  transform: rotate(180deg);
}

.tile-more {
  visibility: hidden;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s cubic-bezier(.16,1,.3,1),visibility 0s linear .4s;
  display: grid;
}

.tile[data-active] .tile-more {
  visibility: visible;
  grid-template-rows: 1fr;
  transition-delay: 0s;
}

.tile-more-inner {
  opacity: 0;
  min-height: 0;
  transition: opacity .25s;
  overflow: hidden;
}

.tile[data-active] .tile-more-inner {
  opacity: 1;
  transition: opacity .6s .2s;
}

.tile-line {
  padding-top: var(--space-1);
  color: var(--ink-muted);
  max-width: 34rem;
}

.tile-progress {
  border-radius: var(--radius-full);
  background: var(--sky-600);
  transform-origin: 0;
  pointer-events: none;
  height: 3px;
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  transform: scaleX(0);
}

.tile[data-active] .tile-progress {
  animation: tile-fill var(--tile-dur,6s) linear forwards;
}

@keyframes tile-fill {
  to {
    transform: scaleX(1);
  }
}

.tiles:hover .tile-progress,.tiles:focus-within .tile-progress,.tiles[data-offscreen=true] .tile-progress {
  animation-play-state: paused;
}

.tiles[data-autoplay=off] .tile[data-active] .tile-progress {
  animation: none;
  transform: none;
}

.tile-stage {
  height: 14rem;
  margin: var(--space-2) 0 var(--space-4);
  padding: var(--space-4) 0 0 var(--space-4);
  border-radius: var(--radius-xl);
  background: radial-gradient(70% 90% at 100% 0%, var(--sky-300) 0%, transparent 70%), radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--bloom-1) 55%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
  display: none;
  position: relative;
  overflow: hidden;
}

.tile[data-active] .tile-stage {
  display: block;
}

@media (width<=899px) {
  .tile[data-active] .tile-stage {
    animation: .6s both tile-fade-in;
  }
}

@keyframes tile-fade-in {
  0% {
    opacity: 0;
  }
}

.tile-stage img {
  border-radius: var(--radius-md) 0 0 0;
  width: 36rem;
  max-width: none;
  height: auto;
  box-shadow: 0 0 0 5px var(--glass-fill), var(--shadow-lift);
  display: block;
}

@media (width>=900px) {
  .tiles {
    gap: 0 var(--space-16);
    grid-template-columns: minmax(0,5fr) minmax(0,7fr);
    align-items: start;
    display: grid;
  }
  .tile {
    display: contents;
  }
  .tile-body {
    grid-column: 1;
  }
  .tile-stage {
    top: var(--space-24);
    width: 100%;
    height: 34rem;
    padding: var(--space-8) 0 0 var(--space-8);
    border-radius: var(--radius-2xl);
    opacity: 0;
    visibility: hidden;
    grid-area: 1/2/span 4;
    align-self: start;
    margin: 0;
    transition: opacity .5s,visibility 0s linear .5s;
    display: block;
    position: sticky;
  }
  .tile[data-active] .tile-stage {
    opacity: 1;
    visibility: visible;
    transition: opacity .7s .15s,visibility;
  }
  .tile-stage img {
    width: 58rem;
  }
  .tiles[data-flip] {
    grid-template-columns: minmax(0,7fr) minmax(0,5fr);
  }
  .tiles[data-flip] .tile-body,.tiles[data-flip] .what-subhead {
    grid-column: 2;
  }
  .what-subhead,.tiles[data-flip] .tile-stage {
    grid-column: 1;
  }
}

/* the note under a section */
.section-note {
  gap: var(--space-3);
  max-width: 44rem;
  margin-top: var(--space-12);
  color: var(--ink-muted);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  align-items: flex-start;
  display: flex;
}

.section-note .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .1rem;
}

/* problem: the pain cards, each a drawing on its own sky with the words under it */
.problem-intro,.squad-copy {
  gap: var(--space-6);
  display: grid;
}

.problem-intro .section-title {
  max-width: 34ch;
}

.problem-intro .lede,.squad-copy .lede {
  color: var(--ink-muted);
  max-width: 38rem;
}

.pains {
  gap: var(--space-6);
  margin: var(--space-12) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.pain {
  border-radius: var(--radius-2xl);
}

.pain-card {
  isolation: isolate;
  border-radius: inherit;
  height: 100%;
  box-shadow: var(--shadow-lift);
  background: radial-gradient(70% 55% at 100% 0%, var(--sky-300) 0%, transparent 70%), radial-gradient(60% 55% at 0% 100%, color-mix(in srgb, var(--bloom-1) 40%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
  grid-template-rows: auto 1fr;
  display: grid;
  position: relative;
  overflow: hidden;
}

.pain-art {
  aspect-ratio: 256/168;
  padding: var(--space-3) var(--space-3) 0;
  grid-row: 1;
}

.pain-art :is(svg,img) {
  width: 100%;
  height: 100%;
  display: block;
}

.pain-body {
  z-index: 1;
  gap: var(--space-3);
  margin: calc(var(--space-12) * -1) var(--space-3) var(--space-3);
  padding: var(--space-6);
  flex-direction: column;
  grid-row: 2;
  display: flex;
  position: relative;
}

.pain-title {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  text-wrap: balance;
}

.pain-line {
  color: var(--ink-muted);
}

.pain-stat {
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  margin-top: auto;
  display: grid;
}

.pain-stat-fig {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
}

.pain-source {
  font-size: var(--text-small);
  line-height: var(--leading-small);
  color: var(--ink-muted);
}

@media (width>=900px) {
  .pains {
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    display: flex;
  }
  .pains>.pain {
    flex: 0 1 calc((100% - 2 * var(--space-8)) / 3);
  }
  .pain-body {
    padding: var(--space-6) var(--space-6) var(--space-8);
  }
}

/* problem: the cards rise into place once, as the section arrives (script sets data-motion; without it everything is simply there) */
.pains[data-motion] .pain {
  transition: opacity .7s cubic-bezier(.16,1,.3,1),translate .8s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i) * .12s);
}

.pains[data-motion=armed] .pain {
  opacity: 0;
  translate: 0 var(--space-6);
}

.pains[data-motion=in] .pain {
  opacity: 1;
  translate: 0;
}

@media print {
  .pains[data-motion] .pain {
    opacity: 1;
    translate: none;
  }
}

/* why a Squad: the intro and its drawing, then the points on hairlines */
.squad-intro {
  gap: var(--space-8);
  align-items: center;
  display: grid;
}

@media (width>=900px) {
  .squad-intro {
    gap: var(--space-16);
    grid-template-columns: minmax(0,6fr) minmax(0,5fr);
  }
}

.squad-points {
  gap: var(--space-8);
  margin: var(--space-12) 0 0;
  display: grid;
}

.squad-point {
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
  position: relative;
}

.squad-point:before {
  content: "";
  border-radius: var(--radius-full);
  background: var(--sky-600);
  width: 3rem;
  height: 3px;
  position: absolute;
  top: -2px;
  left: 0;
}

.squad-point-icon {
  margin: var(--space-4) 0;
}

.squad-point-title {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
}

.squad-point-line {
  margin-top: var(--space-2);
  color: var(--ink-muted);
  max-width: 22rem;
}

@media (width>=900px) {
  .squad-points {
    grid-template-columns: repeat(var(--n,3), minmax(0, 1fr));
    gap: var(--space-12);
  }
}

/* problem, layout B: the cards pile up as you scroll, each sticking a little lower than the one before */
[data-section=problem][data-variant=b] {
  --stack-top: 5rem;
  --stack-step: 3.75rem;
}

[data-section=problem][data-variant=b] .pains {
  margin-top: var(--space-8);
  display: block;
}

[data-section=problem][data-variant=b] .pain {
  top: calc(var(--stack-top) + var(--i) * var(--stack-step));
  margin-bottom: var(--space-24);
  transform-origin: 50% 0;
  scale: calc(1 - var(--cover,0) * .04);
  position: sticky;
}

[data-section=problem][data-variant=b] .pain-card {
  box-shadow: var(--shadow-lift), var(--shadow-glass);
  grid-template-rows: auto auto;
}

[data-section=problem][data-variant=b] .pain:last-child {
  margin-bottom: var(--space-16);
}

[data-section=problem][data-variant=b] .pain:after {
  content: "";
  border-radius: inherit;
  background: var(--ink);
  opacity: calc(var(--cover,0) * .06);
  pointer-events: none;
  position: absolute;
  inset: 0;
}

[data-section=problem][data-variant=b] .pains[data-motion] .pain {
  opacity: 1;
  transition: none;
  translate: none;
}

[data-section=problem][data-variant=b] .pain-body {
  margin: var(--space-3) var(--space-3) calc(var(--space-12) * -1);
  grid-row: 1;
}

[data-section=problem][data-variant=b] .pain-art {
  padding: var(--space-3) var(--space-3) 0;
  grid-row: 2;
}

@media (width>=900px) {
  [data-section=problem][data-variant=b] {
    --stack-top: 6rem;
    --stack-step: 4.5rem;
  }
  [data-section=problem][data-variant=b]>.container {
    column-gap: var(--space-16);
    grid-template-columns: minmax(0,4fr) minmax(0,7fr);
    align-items: start;
    display: grid;
  }
  [data-section=problem][data-variant=b] .problem-intro {
    top: var(--stack-top);
    position: sticky;
  }
  [data-section=problem][data-variant=b] .pains {
    margin-top: 0;
  }
  [data-section=problem][data-variant=b] .pain-card {
    grid-template-rows: auto;
    grid-template-columns: minmax(0,6fr) minmax(0,6fr);
    align-items: center;
  }
  [data-section=problem][data-variant=b] .pain-body {
    margin: var(--space-3) calc(var(--space-12) * -1) var(--space-3) var(--space-3);
    padding: var(--space-6) var(--space-6) var(--space-6) var(--space-8);
    grid-area: 1/1;
  }
  [data-section=problem][data-variant=b] .pain-art {
    margin: 0 -2.5rem 0 calc(var(--space-12) * -1);
    grid-area: 1/2;
    padding: 0;
  }
  [data-section=problem][data-variant=b] .pain-title {
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    letter-spacing: var(--tracking-h3);
  }
}

@media print {
  [data-section=problem][data-variant=b] .pain {
    position: static;
    scale: none;
  }
}

/* how we work: the steps on one rail, each with what you hold when you get there, then the two notes under them */
.how-layout {
  flex-direction: column;
  display: flex;
}

.how-aside {
  display: contents;
}

.how-aside .section-title {
  text-align: center;
  --tag-x: auto;
  order: 0;
  align-self: center;
}

.steps-stage {
  order: 1;
}

.steps-foot {
  order: 2;
}

.steps {
  --node: 3rem;
  --rise: calc(var(--space-8) + var(--space-2));
  --rail: 3px;
  --steps-gap: var(--space-8);
  gap: var(--space-8);
  margin: var(--space-16) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.step {
  padding-left: calc(var(--node) + var(--space-4));
  position: relative;
}

.step-head {
  width: var(--node);
  position: absolute;
  inset: 0 auto 0 0;
}

.step-node {
  z-index: 1;
  width: var(--node);
  height: var(--node);
  border-radius: var(--radius-full);
  background: var(--sky-700);
  color: var(--white);
  box-shadow: 0 0 0 var(--space-2) var(--ring,var(--mist));
  place-items: center;
  display: grid;
  position: relative;
}

.step:last-child .step-node {
  background: var(--white);
  color: var(--sky-700);
  border: 2px dashed var(--sky-600);
}

.step-head:before {
  content: "";
  left: calc(var(--node) / 2 - var(--rail) / 2);
  top: calc(var(--node) / 2);
  bottom: calc(var(--steps-gap) * -1);
  border-left: var(--rail) solid var(--sky-400);
  position: absolute;
}

.step:last-child .step-head:before {
  border-left-style: dashed;
  bottom: 0;
  -webkit-mask-image: linear-gradient(#000 40%,#0000);
  mask-image: linear-gradient(#000 40%,#0000);
}

.step-card {
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.step:last-child .step-card {
  background: var(--glass-fill);
  border-style: dashed;
  border-color: var(--line-control);
  box-shadow: none;
}

.step-body {
  padding: var(--space-6);
  flex-direction: column;
  flex: 1;
  display: flex;
}

.step-name {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-h3);
}

.step-gets {
  margin-top: var(--space-3);
  color: var(--ink-muted);
}

.steps-foot {
  gap: var(--space-3) var(--space-8);
  margin-top: var(--space-16);
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}

.steps-stop {
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
}

.how-notes {
  gap: var(--space-4);
  flex-basis: 100%;
  display: grid;
}

.how-note {
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.how-note-title {
  margin: 0 0 var(--space-2);
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
  font-weight: var(--weight-medium);
}

.how-note p {
  color: var(--ink-muted);
  margin: 0;
}

@media (width>=900px) {
  .how-notes {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* how we work, layouts A and D on a wide screen: a staircase, each step one rise higher, the rail climbing with it */
@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .steps {
    gap: var(--space-4) var(--steps-gap);
    margin-top: calc(var(--space-12) + var(--up) * var(--rise));
    grid-template-rows: auto 1fr;
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .step {
    grid-row: span 2;
    grid-template-rows: subgrid;
    transform: translateY(calc(var(--i) * var(--rise) * -1));
    padding-left: 0;
    display: grid;
  }
}

@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .step-head {
    width: auto;
    height: var(--node);
    position: relative;
    inset: auto;
  }
}

@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .step-head:before,[data-section=how]:is([data-variant=a],[data-variant=d]) .step:last-child .step-head:before {
    left: calc(var(--steps-gap) / -2 - var(--rail) / 2);
    right: calc(var(--steps-gap) / -2);
    top: calc(var(--node) / 2 - var(--rail) / 2);
    height: var(--rise);
    border-left: var(--rail) solid var(--sky-400);
    border-top: var(--rail) solid var(--sky-400);
    border-top-left-radius: var(--radius-md);
    bottom: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .step:first-child .step-head:before {
    left: calc(var(--node) / 2);
    border-left: 0;
    border-top-left-radius: 0;
  }
}

@media (width>=900px) {
  [data-section=how]:is([data-variant=a],[data-variant=d]) .step:last-child .step-head:before {
    border-top-style: dashed;
    border-left-style: dashed;
    right: 0;
    -webkit-mask-image: linear-gradient(90deg,#000 0%,#0000 100%);
    mask-image: linear-gradient(90deg,#000 0%,#0000 100%);
  }
}

/* how we work: the steps rise into place once, as the section arrives */
[data-section=how] {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.steps-stage {
  --gap: var(--space-8);
  position: relative;
  container-type: inline-size;
}

.steps-stage>.steps {
  z-index: 1;
  position: relative;
}

.steps[data-motion] .step {
  transition: opacity .7s cubic-bezier(.16,1,.3,1),translate .8s cubic-bezier(.16,1,.3,1);
  transition-delay: calc(var(--i) * .12s);
}

.steps[data-motion=armed] .step {
  opacity: 0;
  translate: 0 var(--space-8);
}

.steps[data-motion=in] .step {
  opacity: 1;
  translate: 0;
}

.steps[data-motion] .step-body {
  transition: opacity .7s;
  transition-delay: calc(var(--i) * .12s + .35s);
}

.steps[data-motion=armed] .step-body {
  opacity: 0;
}

.steps[data-motion=in] .step-body {
  opacity: 1;
}

@media print {
  .steps[data-motion] .step {
    opacity: 1;
    translate: none;
  }
}

/* ===== call facts: what to expect from the call, three lines with an icon each ===== */
.call-facts ul {
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.call-facts li {
  align-items: center;
  gap: var(--space-3);
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.4;
  display: flex;
}

.call-facts .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sky-700);
}

.call-facts--onsky ul {
  gap: var(--space-2);
}

.call-facts--onsky li {
  gap: var(--space-2);
  color: var(--on-sky);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.call-facts--onsky .icon {
  width: 1rem;
  height: 1rem;
  color: var(--on-sky);
  opacity: .85;
}

/* ===== the demo button: the button, and what to expect under it ===== */
.demo-cta {
  justify-items: start;
  display: grid;
}

.demo-cta-wide {
  gap: var(--space-4);
  justify-items: start;
  display: grid;
}

.demo-cta-hint {
  display: none;
}

@media (width<=1099px) and (pointer:fine) {
  .demo-cta-hint {
    display: block;
  }
}

.demo-cta-note {
  max-width: 24rem;
  color: var(--ink-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.demo-cta[data-tone=onsky] .demo-cta-note {
  color: var(--on-sky);
}

/* ===== try the demo: the closing action on the second Sky ===== */
.try {
  --try-inset: var(--space-2);
  --bleed: max(var(--gutter), calc((100cqw - var(--container)) / 2));
  isolation: isolate;
  margin: var(--space-16) var(--try-inset) var(--space-6);
  padding: var(--space-24) 0 0;
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: clip;
  container-type: inline-size;
}

@media (width>=768px) {
  .try {
    --try-inset: var(--space-4);
  }
}

.try-sky {
  z-index: -1;
  border-radius: inherit;
  position: absolute;
  inset: 0;
}

.try-lede {
  max-width: 32rem;
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
}

.try-shot {
  margin: var(--space-6) 0 0;
}

.try-shot-link {
  border-radius: var(--radius-xl);
  display: block;
}

.try-shot .shot-frame {
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}

.try-shot-link:hover .shot-frame {
  transform: translateY(-4px);
}

.try-shot .shot-frame {
  position: relative;
}

.try-shot .shot-frame img {
  aspect-ratio: var(--shot-ar,1.7);
}

@media (width>=1000px) {
  .try {
    padding-bottom: var(--space-32);
  }
  .try-shot {
    min-width: 0;
  }
  .try-shot {
    grid-area: shot;
    margin-top: 0;
  }
}

.try[data-motion] :is(.try-head,.try-text,.try-cta) {
  transition: opacity .9s,translate 1s cubic-bezier(.16,1,.3,1),filter .9s;
  transition-delay: calc(var(--n) * .11s);
}

.try[data-motion=armed] :is(.try-head,.try-text,.try-cta) {
  opacity: 0;
  translate: 0 var(--space-6);
  filter: blur(8px);
}

.try[data-motion] .try-shot-link {
  transition: opacity 1.1s .22s,translate 1.4s cubic-bezier(.16,1,.3,1) .22s,scale 1.4s cubic-bezier(.16,1,.3,1) .22s,filter 1.1s .22s;
}

.try[data-motion=armed] .try-shot-link {
  opacity: 0;
  translate: 0 var(--space-12);
  filter: blur(10px);
  scale: .97;
}

@media print {
  .try[data-motion] :is(.try-head,.try-text,.try-cta,.try-shot-link) {
    opacity: 1;
    filter: none;
    translate: none;
    scale: none;
  }
}

/* ===== form fields: a soft blue-tinted edge, an inner shade and a clear focus ===== */
.field {
  gap: var(--space-2);
  display: grid;
}

.field label {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: 1.43;
}

.field input,.field textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0 var(--space-4);
  font: inherit;
  color: var(--ink);
  background: var(--glass-fill-strong);
  border: 1px solid var(--line-control);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-field);
  transition: border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
  line-height: 1.5;
}

.field textarea {
  min-height: 6rem;
  padding: var(--space-3) var(--space-4);
  resize: vertical;
}

.field input:hover,.field textarea:hover {
  border-color: var(--sky-700);
}

.field input:focus-visible,.field textarea:focus-visible {
  border-color: var(--focus);
  background: var(--white);
  box-shadow: 0 0 0 2px var(--focus), 0 0 0 7px var(--focus-halo);
  outline: none;
}

.form-privacy {
  font-size: var(--text-small);
}

/* ===== footer: white, quiet, a hairline above ===== */
.site-footer {
  padding-bottom: var(--space-8);
}

.footer-row {
  gap: var(--space-3);
  padding-top: var(--space-8);
  border-top: 1px solid var(--line);
  display: grid;
}

.footer-brand {
  gap: var(--space-2);
  max-width: 30rem;
  display: grid;
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
  margin: 0;
}

.footer-nav {
  gap: 0 var(--space-6);
  flex-wrap: wrap;
  display: flex;
}

.footer-nav .text-link {
  min-height: var(--tap);
  font-size: var(--text-small);
  align-items: center;
  display: inline-flex;
}

.site-footer .text-link {
  font-weight: var(--weight-regular);
}

@media (width>=900px) {
  .footer-row {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* the index page of the drafts */
.index {
  gap: var(--space-6);
  padding-block: var(--space-16);
  justify-items: start;
  display: grid;
}

/* ===== booking card: the days, the times, the chosen time and the done state ===== */
.booking {
  display: grid;
}

.booking-step {
  gap: var(--space-4);
  align-content: start;
  display: grid;
}

.booking-step[hidden] {
  display: none;
}

.booking-title {
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-h3);
}

.booking-title:focus {
  outline: none;
}

.booking-note {
  color: var(--ink-muted);
}

.booking-days {
  gap: var(--space-2);
  margin-top: var(--space-2);
  grid-template-columns: repeat(5,minmax(0,1fr));
  display: grid;
}

.booking-times {
  gap: var(--space-2);
  grid-template-columns: repeat(3,minmax(0,1fr));
  display: grid;
}

.pick {
  min-height: var(--tap);
  padding: var(--space-2);
  font: inherit;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--ink);
  cursor: pointer;
  background: var(--glass-fill-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-field);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

.pick:hover {
  background: var(--white);
  border-color: var(--sky-700);
}

.pick[aria-pressed=true] {
  background: var(--navy-900);
  color: var(--on-navy);
  border-color: var(--navy-900);
}

.pick-day {
  padding-block: var(--space-2);
  line-height: 1.25;
  font-weight: var(--weight-regular);
  justify-items: center;
  gap: 0;
  display: grid;
}

.pick-day strong {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
}

.pick-time {
  min-height: 3rem;
}

.booking-status {
  min-height: 1.5rem;
  font-size: var(--text-small);
  color: var(--ink-muted);
}

/* the days, the times, the status line and the email fallback sit in .booking-slots, which always keeps the room three rows of days (the most the 15-day horizon gives: 11 or 12 weekdays from Monday to Thursday, 10 from Friday to Sunday) and six rows of times take (18 half hours, a full day; a day button is three lines at line-height 1.25, padding and a 1px border; a time button 3rem), plus the status line, the days' top margin and the two gaps. So the card is as tall while the times load, once they arrive, whichever day is picked, and if they could not load: nothing below it moves. What is shown sits at the top, any spare room at the bottom of the card */
.booking {
  --times-room: calc(3 * (1.25 * (2 * var(--text-small) + var(--text-title)) + 2 * var(--space-2) + 2px) + 2 * var(--space-2) + 6 * 3rem + 5 * var(--space-2) + 1.5rem);
}

.booking-slots {
  min-height: calc(var(--times-room) + var(--space-2) + 2 * var(--space-4));
  gap: var(--space-4);
  align-content: start;
  display: grid;
}

.booking-back {
  align-items: center;
  gap: var(--space-2);
  min-height: var(--tap);
  font: inherit;
  font-weight: var(--weight-medium);
  color: var(--sky-700);
  cursor: pointer;
  background: 0 0;
  border: 0;
  justify-self: start;
  padding: 0;
  display: inline-flex;
}

.booking-back .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.booking-chosen {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--glass-tint);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-weight: var(--weight-medium);
  display: flex;
}

.booking-chosen .icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
}

.booking-step .btn {
  justify-self: start;
}

.booking-done {
  padding-block: var(--space-6);
  justify-items: start;
}

.booking-done-mark {
  border-radius: var(--radius-full);
  background: var(--success-soft);
  width: 3.5rem;
  height: 3.5rem;
  color: var(--success);
  place-items: center;
  display: grid;
}

.booking-done-mark .icon {
  stroke-width: 2px;
  width: 1.75rem;
  height: 1.75rem;
}

.booking-when {
  font-size: var(--text-lede);
  line-height: var(--leading-lede);
  font-weight: var(--weight-medium);
}

/* footer: the copyright line at the foot of the brand column */
.footer-brand .footer-end {
  align-self: end;
  justify-items: start;
  gap: var(--space-3);
  margin-top: var(--space-8);
  display: grid;
}

.footer-end p {
  margin: 0;
}

.footer-end .footer-copy {
  color: var(--ink-muted);
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

/* no backdrop-filter, or the visitor asked for less transparency: glass turns near-solid */
@supports not (backdrop-filter:blur(1px)) {
  .glass,.btn-glass,.shot-frame {
    background: var(--glass-solid);
  }
}

@media (prefers-reduced-transparency:reduce) {
  .glass,.btn-glass,.shot-frame {
    background: var(--glass-solid);
    backdrop-filter: none;
  }
}

/* reduced motion: the job tiles do not move on hover */
@media (prefers-reduced-motion:reduce) {
  .tile:hover {
    transform: none;
  }
}

/* how we work, the two notes: an icon each on a card that lifts */
.how-note {
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  transition: translate var(--ease), box-shadow var(--ease);
  grid-template-columns: auto minmax(0,1fr);
  align-items: start;
  display: grid;
  position: relative;
}

.how-note:before {
  content: "";
  top: -1px;
  left: var(--space-6);
  border-radius: var(--radius-full);
  background: var(--sky-600);
  width: 3rem;
  height: 3px;
  position: absolute;
}

.how-note:hover {
  box-shadow: var(--shadow-lift), var(--shadow-glass);
  translate: 0 -2px;
}

.how-note-icon {
  border-radius: var(--radius-lg);
  width: 3rem;
  height: 3rem;
  color: var(--sky-700);
  background: linear-gradient(180deg, var(--sky-200), var(--sky-100));
  place-items: center;
  display: grid;
}

.how-note-icon .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.how-note-title {
  font-size: var(--text-title);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
}

/* the footer's links: no underline; the list fades back around the one under the pointer */
.site-footer .text-link {
  text-decoration: none;
  transition: opacity .25s,color .25s;
}

/* ===== the tag: a small label above a heading, drawn from the heading's data-tag ===== */
[data-tag]:not([data-tag=""]):before {
  content: attr(data-tag) / "";
  width: fit-content;
  min-height: 1.75rem;
  margin: 0 var(--tag-x,0) var(--space-4);
  font-size: var(--text-label);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-wrap: nowrap;
  color: var(--ink-muted);
  background: linear-gradient(var(--sky-500), var(--sky-500)) left center / 1.125rem 2px no-repeat;
  align-items: center;
  padding: 0 0 0 1.75rem;
  line-height: 1.4;
  display: flex;
}

:is(.sky--deep,.section--talk,.try) [data-tag]:not([data-tag=""]):before {
  color: color-mix(in srgb, var(--on-sky) 92%, transparent);
}

.sky--deep [data-tag]:not([data-tag=""]):before {
  background-image: linear-gradient(var(--white), var(--white));
}

/* the track record strip under the hero's call facts */
.track {
  gap: var(--space-3);
  display: grid;
}

/* ===== v1, the copy the site uses (main[data-default]): later than the rules above, so it wins ===== */
main[data-default] [data-tag]:before {
  display: none !important;
}

main[data-default] .how-note:before {
  display: none !important;
}

main[data-default] .hero .call-facts li {
  font-size: var(--text-caption);
  line-height: 1.5;
}

/* readability (the landing page): nothing under 14px, more room between lines */
body:has(main[data-readable]) {
  --text-label: .875rem;
  --leading-subtitle: 1.5;
}

main[data-readable] .hero .call-facts li {
  font-size: var(--text-small);
  line-height: 1.5;
}

/* v1: the pain cards are one white card, a faded colour surface behind the drawing only */
main[data-default] [data-section=problem] .pain-card {
  background: var(--white);
}

main[data-default] [data-section=problem] .pain-body {
  backdrop-filter: none;
  box-shadow: none;
  padding: var(--space-6) var(--space-6) var(--space-2);
  background: 0 0;
  border: 0;
  margin: 0;
}

main[data-default] [data-section=problem] .pain-body:before,main[data-default] [data-section=problem] .pain-body:after {
  display: none;
}

main[data-default] [data-section=problem] .pain-art {
  padding: var(--space-3) var(--space-3) 0;
  margin: 0;
  position: relative;
}

main[data-default] [data-section=problem] .pain-art:before {
  content: "";
  z-index: 0;
  background: radial-gradient(70% 90% at 100% 0%, var(--sky-300) 0%, transparent 70%), radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--bloom-1) 45%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(#0000 0%,#000 60%);
  mask-image: linear-gradient(#0000 0%,#000 60%);
}

main[data-default] [data-section=problem] .pain-art :is(svg,img) {
  z-index: 1;
  position: relative;
}

/* only the rules picture: its figure runs off the bottom of the canvas, so it melts into the card instead of ending on the picture's edge. The other pain pictures end inside their canvas and need no fade */
main[data-default] [data-section=problem] .pain-art img[src*="/rules."] {
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
}

@media (width>=900px) {
  main[data-default] [data-section=problem][data-variant=b] .pain-body {
    padding: var(--space-8) var(--space-4) var(--space-8) var(--space-8);
    margin: 0;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-art {
    padding: var(--space-3) var(--space-3) var(--space-3) 0;
    aspect-ratio: auto;
    align-self: stretch;
    align-items: center;
    min-width: 0;
    margin: 0;
    display: grid;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-art :is(svg,img) {
    height: auto;
  }
  main[data-default] [data-section=problem] .pain-art:before {
    -webkit-mask-image: linear-gradient(270deg,#000 40%,#0000 100%);
    mask-image: linear-gradient(270deg,#000 40%,#0000 100%);
  }
}

/* v1: the icon beside each of the Squad's points has a faded colour surface and a gradient line */
main[data-default] [data-section=squad] .squad-point-icon {
  background: linear-gradient(135deg, var(--white) 0%, var(--sky-200) 100%);
  border: 0;
}

main[data-default] [data-section=squad] .squad-point-icon .icon {
  stroke: url(#sq-grad-sky);
}

main[data-default] [data-section=squad] .squad-point-icon[data-palette=dawn] .icon {
  stroke: url(#sq-grad-dawn);
}

main[data-default] [data-section=squad] .squad-point-icon[data-palette=clear] .icon {
  stroke: url(#sq-grad-clear);
}

/* ===== why a Squad, layout C: floating cards. A centred heading, then the points as glass cards in a row, like a cover-flow ===== */
[data-section=squad][data-variant=c] {
  background: radial-gradient(60% 55% at 50% 100%, color-mix(in srgb, var(--warm-300) 45%, transparent) 0%, transparent 70%), radial-gradient(70% 60% at 50% 0%, var(--sky-300) 0%, transparent 72%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
  position: relative;
  overflow: hidden;
}

[data-section=squad][data-variant=c] .squad-intro {
  text-align: center;
  justify-items: center;
  gap: var(--space-8);
  grid-template-columns: minmax(0,1fr);
  display: grid;
}

[data-section=squad][data-variant=c] .squad-copy {
  justify-items: center;
  width: 100%;
  max-width: 40rem;
  margin-inline: auto;
  display: grid;
}

[data-section=squad][data-variant=c] .squad-points {
  height: 21rem;
  margin: var(--space-12) 0 0;
  perspective: 1400px;
  outline-offset: 6px;
  border: 0;
  grid-template-columns: none;
  padding: 0;
  list-style: none;
  display: block;
  position: relative;
}

[data-section=squad][data-variant=c] .squad-point {
  width: min(25rem,78vw);
  min-height: 17rem;
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  gap: var(--space-3);
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(var(--blur-md));
  box-shadow: var(--shadow-lift), var(--shadow-glass);
  transform: translateX(-50%) translateX(calc(var(--o,0) * 74%)) translateZ(calc(var(--a,0) * -140px)) rotateY(calc(var(--o,0) * -38deg)) scale(calc(1 - var(--a,0) * .06));
  opacity: calc(1 - var(--a,0) * .32);
  z-index: calc(10 - var(--a,0));
  background: linear-gradient(135deg,#fffffff5,#ffffffd6);
  border: 1px solid var(--shine-high);
  flex-direction: column;
  margin: 0;
  transition: transform .6s cubic-bezier(.22,.9,.32,1),opacity .6s;
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
}

[data-section=squad][data-variant=c] .squad-point[aria-current=false] {
  pointer-events: auto;
}

[data-section=squad][data-variant=c] .squad-point[aria-current=false]:hover {
  opacity: calc(1 - var(--a,0) * .3 + .12);
}

[data-section=squad][data-variant=c] .squad-point:before,[data-section=squad][data-variant=c] .squad-point:after {
  display: none !important;
}

[data-section=squad][data-variant=c] .squad-point-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 0 var(--space-2);
  border-radius: var(--radius-lg);
  align-self: flex-start;
  place-items: center;
  display: grid;
}

[data-section=squad][data-variant=c] .squad-point-title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-h3);
}

.squad-nav {
  display: none;
}

[data-section=squad][data-variant=c] .squad-nav {
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  display: flex;
}

.squad-nav-btn {
  border-radius: var(--radius-full);
  width: 2.75rem;
  height: 2.75rem;
  color: var(--sky-700);
  cursor: pointer;
  box-shadow: var(--shadow-lift);
  background: #ffffffb3;
  border: 1px solid var(--shine-high);
  place-items: center;
  transition: background .2s;
  display: grid;
}

.squad-nav-btn:hover {
  background: var(--white);
}

@media (prefers-reduced-motion:reduce) {
  [data-section=squad][data-variant=c] .squad-point {
    transition: none;
  }
}

@media (width<=640px) {
  [data-section=squad][data-variant=c] .squad-point {
    transform: translateX(-50%) translateX(calc(var(--o,0) * 58%)) translateZ(calc(var(--a,0) * -120px)) rotateY(calc(var(--o,0) * -32deg)) scale(calc(1 - var(--a,0) * .08));
  }
}

/* ===== how we work, layout D: the staircase of blocks. Each step's circle is a 3D glass block, and the light is handed from block to block, one step at a time ===== */
.step-block,.step-crew,.step-lit {
  display: none;
}

[data-section=how][data-variant=d] .step-node,[data-section=how][data-variant=d] .step:last-child .step-node {
  box-shadow: none;
  color: #0000;
  background: 0 0;
  border: 0;
  overflow: visible;
}

[data-section=how][data-variant=d] .step-node>.icon {
  display: none;
}

[data-section=how][data-variant=d] .step-block {
  z-index: 3;
  width: 5rem;
  height: calc(5rem / var(--r));
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: visible;
  translate: -50% -50%;
}

[data-section=how][data-variant=d] .step-crew {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  width: 12.5rem;
  height: 8.75rem;
  animation: 12s ease-in-out infinite how-crew;
  animation-delay: calc(var(--i) * 3s);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: visible;
  translate: -50% -52%;
}


@media (prefers-reduced-motion:reduce) {
  [data-section=how][data-variant=d] .step-crew {
    opacity: 0;
    animation: none;
  }
}

[data-section=how][data-variant=d] .step-head:before {
  opacity: .28;
}

@media (prefers-reduced-motion:reduce) {
  [data-section=how][data-variant=d] .step-head:before {
    opacity: .7;
  }
}

@keyframes how-crew {
  0%,26%,to {
    opacity: 0;
    transform: translateY(6px)scale(.96);
  }
  7%,19% {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

/* v1: the tinted sections run into each other without a hard edge */
main[data-default] :is(.section--mist,#faq) {
  background-color: #0000;
  background-image: linear-gradient(to bottom, var(--white) 0, var(--mist) 8rem, var(--mist) calc(100% - 8rem), var(--white) 100%);
}

main[data-default] [data-section=squad][data-variant=c] {
  background-image: linear-gradient(to bottom, var(--white) 0, transparent 7rem, transparent calc(100% - 7rem), var(--white) 100%), radial-gradient(60% 55% at 50% 100%, color-mix(in srgb, var(--warm-300) 45%, transparent) 0%, transparent 70%), radial-gradient(70% 60% at 50% 0%, var(--sky-300) 0%, transparent 72%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
}

/* v1: the two notes under How we work are plain white cards; layout D's last card has a solid edge like the others */
main[data-default] #how-it-starts .how-note {
  backdrop-filter: none;
  background: var(--white);
  border: 0;
  box-shadow: 0 1px 3px #0f2a4a12;
}

[data-section=how][data-variant=d] .step:last-child .step-card {
  background: var(--white);
  border-style: solid;
  border-color: #0000;
  box-shadow: 0 0 0 1px #0f172a0b,0 1px 2px #0f172a0a,0 22px 44px -30px #0f172a29;
}

/* v1: the icons on the two notes under How we work, made like the icons over the hero's points */
main[data-default] #how-it-starts .how-note-icon {
  width: 2.5rem;
  height: 2.5rem;
  box-shadow: none;
  background: linear-gradient(135deg,var(--white) 0%,#d2e5ff 100%);
  border: 0;
}

main[data-default] #how-it-starts .how-note-icon .icon,main[data-default] #how-it-starts .how-note:nth-child(2) .how-note-icon .icon {
  stroke: url(#sq-grad-sky);
  width: 1.25rem;
  height: 1.25rem;
}

/* v1: the How we work heading is left aligned, like the other section headings */
main[data-default] .how-aside .section-title {
  text-align: left;
  align-self: flex-start;
}

/* ===== landing page: the concept note under the problem, and the closing section in two columns (the demo and the call on the left, the screenshot or the booking card on the right) ===== */
.concept-note {
  justify-items: start;
  gap: var(--space-3);
  margin-top: var(--space-10,2.5rem);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  display: grid;
}

.concept-title {
  font-size: var(--text-h3);
  line-height: var(--leading-h3);
  letter-spacing: var(--tracking-h3);
  font-weight: var(--weight-medium);
  margin: 0;
}

.concept-text {
  max-width: 40rem;
  color: var(--ink-muted);
  margin: 0;
}

.try--split {
  padding-bottom: var(--space-16);
}

.try-split {
  gap: var(--space-8);
  align-items: start;
  display: grid;
}

.try-left {
  gap: var(--space-6);
  min-width: 0;
  display: grid;
}

.try-group {
  gap: var(--space-3);
  justify-items: start;
  display: grid;
}

.try-right {
  min-width: 0;
  display: grid;
}

.try-right .try-shot {
  width: 100%;
  margin: 0;
}

.try-pane--book {
  padding: var(--space-6);
  border-radius: var(--radius-2xl);
}

.try[data-js=on][data-pane=demo] .try-pane--book,.try[data-js=on][data-pane=book] .try-pane--demo {
  display: none;
}

.try-right>.try-pane--book {
  margin-top: var(--space-6);
}

.try[data-js=on] .try-right>.try-pane--book {
  margin-top: 0;
}

@media (width>=1000px) {
  .try-split {
    column-gap: var(--space-12);
    grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
  }
}

/* the concept note is a quiet aside, so the problem stays the lead */
.concept-note {
  box-shadow: none;
  backdrop-filter: none;
  padding: var(--space-4) 0 0;
  margin-top: var(--space-4);
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  gap: var(--space-2);
  background: 0 0;
  border-radius: 0;
}

.concept-title {
  font-size: var(--text-body);
  line-height: var(--leading-body);
  letter-spacing: 0;
}

.concept-text {
  font-size: var(--text-small);
  line-height: var(--leading-small);
}

.concept-note .btn {
  margin-top: var(--space-1);
}

.hero .demo-cta[data-tone=onsky] .demo-cta-note {
  color: var(--ink-muted);
}

@media (width>=1000px) {
  .try-right .try-shot-link {
    width: 150%;
  }
  .try-right {
    margin-right: calc(var(--bleed,0px) * -1);
  }
  .try-right .try-pane--book {
    margin-right: var(--bleed,0px);
  }
}

/* the closing section's Back button, from the booking card to the demo */
.try-back {
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  color: var(--ink-muted);
  font: inherit;
  font-size: var(--text-small);
  cursor: pointer;
  background: 0 0;
  border: 0;
  padding: 0;
  display: inline-flex;
}

.try-back:hover {
  color: var(--ink);
}

.try-back .icon {
  width: 1.125rem;
  height: 1.125rem;
}

/* ===== the booking details, as in the demo's own dialog: two columns of fields, topic chips, a note and the button on one line ===== */
.field-row {
  gap: var(--space-3) var(--space-4);
  grid-template-columns: repeat(2,minmax(0,1fr));
  display: grid;
}

.field-row .field {
  min-width: 0;
}

@media (width<=520px) {
  .field-row {
    grid-template-columns: minmax(0,1fr);
  }
}

.topics {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.topics legend {
  margin-bottom: var(--space-2);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  padding: 0;
  line-height: 1.43;
}

.topic-list {
  gap: var(--space-2);
  flex-wrap: wrap;
  display: flex;
}

.topic {
  min-height: 2.25rem;
  padding: 0 var(--space-4);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-small);
  cursor: pointer;
  border-radius: 999px;
}

.topic:hover {
  border-color: var(--sky-700);
}

.topic[aria-pressed=true] {
  border-color: var(--navy-900);
  background: color-mix(in srgb, var(--navy-900) 7%, var(--white));
}

.booking-submit {
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  display: flex;
}

.booking-submit .form-privacy {
  color: var(--ink-muted);
  margin: 0;
}

.booking-submit .btn {
  justify-self: auto;
}

/* the Back button is for the first booking step only; on the details step "Change time" is the one way back */
.try-right>* {
  grid-area: auto/1;
}

.try-pane--book:has([data-step=details]:not([hidden])) .try-back,.try-pane--book:has([data-step=done]:not([hidden])) .try-back {
  display: none;
}

/* what it does: the line under its heading, the subheadings over its tiles, the button in a tile */
.what-lede {
  color: var(--ink-muted);
  max-width: 38rem;
  margin-top: var(--space-3);
}

.tiles--headed {
  margin-top: var(--space-16);
}

.what-subhead {
  padding: 0 0 var(--space-4);
}

.what-subhead h3 {
  font-size: var(--text-title);
  font-weight: var(--weight-medium);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-title);
  margin: 0;
}

.tile-btn {
  margin-top: var(--space-3);
  border-color: var(--line);
  box-shadow: var(--shadow-field);
}

/* the demo button and the text link beside it; the link and the merged booking line show only in the closing section's [data-variant=one] */
.demo-cta-actions {
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  display: flex;
}

.try-alt,.booking-merge {
  display: none;
}

.try[data-variant=one] .try-alt {
  display: inline-flex;
}

.try[data-variant=one] .booking-merge {
  display: inline;
}

.demo-cta-actions>.btn-primary {
  flex: none;
}

.try-alt {
  min-height: 2.75rem;
  font: inherit;
  font-weight: var(--weight-medium);
  text-align: left;
  cursor: pointer;
  background: 0 0;
  border: 0;
  flex: 10rem;
  padding: 0;
  line-height: 1.35;
  text-decoration: none;
}

.try-alt:hover {
  text-decoration: none;
}

.try-alt:focus-visible {
  outline: 2px solid var(--sky-500);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

/* the Squad's supporting line, and the line under the How we work heading */
.squad-support {
  margin: var(--space-4) 0 0;
  max-width: 38rem;
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ink-muted);
}

.how-lede {
  color: var(--ink-muted);
  margin: var(--space-4) 0 0;
}

/* the Squad points ring: the cards move by transform, opacity and shadow only */
[data-section=squad][data-variant=c] .squad-point {
  transition-property: transform,opacity,filter,box-shadow;
}

/* the problem cards: the figure and its source are a row of their own under the whole card */
.pain-stat {
  margin: 0 var(--space-6);
  padding: var(--space-4) 0 var(--space-6);
  grid-column: 1/-1;
}

@media (width>=900px) {
  main[data-default] [data-section=problem][data-variant=b] .pain-card {
    grid-template-rows: auto auto;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: stretch;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-body {
    grid-area: 1/1;
    align-self: center;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-art {
    grid-area: 1/2/-1;
    grid-template-rows: subgrid;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-art :is(svg,img) {
    grid-row: 1;
    align-self: center;
  }
  main[data-default] [data-section=problem][data-variant=b] .pain-stat {
    z-index: 2;
    max-width: calc(100% - var(--space-8));
    margin: 0 var(--space-4) var(--space-4);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-xl,1.5rem);
    backdrop-filter: blur(20px)saturate(1.6);
    background: linear-gradient(135deg,#ffffff6b,#ffffff1f);
    border: 1px solid #ffffffb3;
    grid-area: 2/1/auto/-1;
    justify-self: start;
    position: relative;
    box-shadow: 0 8px 28px #0f172a1a,0 0 0 1px #0f172a0a,inset 0 1px #ffffffe6,inset 0 0 18px #ffffff40;
  }
}

/* phones and tablets: the Squad cards centred; the cards behind the centred one no longer show through it */
@media (width<=899px) {
  [data-section=squad][data-variant=c] .squad-point {
    text-align: center;
    align-items: center;
  }
}

@media (width<=899px) {
  [data-section=squad][data-variant=c] .squad-point-icon {
    align-self: center;
  }
}

@media (width<=899px) {
  [data-section=squad][data-variant=c] .squad-point-line {
    margin-inline: auto;
  }
}

[data-section=squad][data-variant=c] {
  background-image: linear-gradient(to bottom, var(--white) 0, transparent 7rem, transparent calc(100% - 7rem), var(--white) 100%), radial-gradient(60% 55% at 50% 100%, color-mix(in srgb, var(--warm-300) 45%, transparent) 0%, transparent 70%), radial-gradient(70% 60% at 50% 0%, var(--sky-300) 0%, transparent 72%), linear-gradient(180deg, var(--sky-200), var(--sky-100));
}

@media (width<=899px) {
  [data-section=squad][data-variant=c] .squad-point {
    background: linear-gradient(135deg,#fffffffc,#fffffff2);
  }
}

/* emphasis inside text is medium (500), not bold */
strong,b {
  font-weight: var(--weight-medium);
}

/* ===== the Calm look ([data-look=calm] on <html>): matte white surfaces with a hairline and a small grey shadow, quieter buttons ===== */
:root[data-look=calm] {
  --glass-fill: var(--white);
  --glass-fill-strong: var(--white);
  --glass-border: transparent;
  --glass-solid: var(--white);
  --blur-sm: 0px;
  --blur-md: 0px;
  --saturate-glass: 100%;
  --ease: .4s ease;
}

[data-look=calm] :is(.glass,.btn-glass,.chip,.shot-frame) {
  backdrop-filter: none;
}

:root[data-look=calm] {
  --calm-card: 0 0 0 1px #0f172a0b, 0 1px 2px #0f172a0a, 0 22px 44px -30px #0f172a29;
  --calm-card-hover: 0 0 0 1px #0f172a0d, 0 2px 4px #0f172a0a, 0 30px 56px -30px #0f172a3d;
}

[data-look=calm] :is(.glass,.proof-card,.compare-wrap,.case-shot) {
  box-shadow: var(--calm-card);
  border-color: #0000;
}

[data-look=calm] .glass--lift {
  box-shadow: var(--calm-card-hover);
}

[data-look=calm] .pain-body.glass {
  box-shadow: 0 0 0 1px #0f172a0a,0 10px 24px -16px #0f172a33;
}

[data-look=calm] .btn {
  transition: background-color .4s,border-color .4s,color .4s,opacity .4s,box-shadow .4s;
}

[data-look=calm] .btn-glass {
  border-color: color-mix(in srgb, var(--navy-900) 14%, var(--white));
  box-shadow: none;
}

[data-look=calm] .btn-glass:hover,[data-look=calm] .btn-glass:focus-visible {
  background: var(--sky-100);
  border-color: color-mix(in srgb, var(--navy-900) 22%, var(--white));
}

/* Calm: hover on a surface does not move it; its edge and its shadow fade in */
[data-look=calm] :is(.pain-card,.proof-card,.how-note,.step-card,.build,.person--lead,.compare-wrap,.case-shot) {
  transition: box-shadow .6s;
}

[data-look=calm] :is(.proof-card,.how-note,.step-card,.build):hover,[data-look=calm] .pain:hover .pain-card {
  box-shadow: var(--calm-card-hover);
}

[data-look=calm] :is(.how-note:hover,.shot-link:hover .shot-frame,.try-shot-link:hover .shot-frame,.hero-shot[data-demo] .hero-shot-link:hover .shot-frame) {
  transform: none;
}

[data-look=calm] .text-link {
  transition: color .4s,text-decoration-color .4s;
}

/* Calm: no framed sections. The hero and the closing sections run edge to edge on a soft mesh of the palette that fades into the white */
:root[data-look=calm] {
  --frame: 0px;
  --frame-radius: 0px;
  --cm-mesh: radial-gradient(60% 70% at 8% 4%, color-mix(in srgb, var(--sky-400) 72%, transparent) 0%, transparent 72%), radial-gradient(52% 64% at 94% 10%, color-mix(in srgb, var(--warm-300) 95%, transparent) 0%, transparent 74%), radial-gradient(64% 66% at 70% 96%, color-mix(in srgb, var(--sky-300) 90%, transparent) 0%, transparent 76%), radial-gradient(48% 56% at 14% 92%, color-mix(in srgb, var(--bloom-1) 55%, transparent) 0%, transparent 74%), var(--white);
  --cm-melt: linear-gradient(180deg, var(--white) 0%, transparent 16%, transparent 78%, var(--white) 100%);
}

[data-look=calm] .hero.sky--deep {
  background: var(--cm-mesh);
  color: var(--ink);
  padding-bottom: var(--space-16);
  border-radius: 0;
  margin: 0;
}

[data-look=calm] .hero.sky--deep:after {
  content: "";
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--white));
  height: 9rem;
  display: block;
  position: absolute;
  inset: auto 0 0;
}

[data-look=calm] .sky--deep .emph {
  color: var(--emph);
}

[data-look=calm] .sky--deep .call-facts--onsky li {
  color: var(--ink);
}

[data-look=calm] .sky--deep .call-facts--onsky .icon {
  color: var(--sky-700);
  opacity: 1;
}

[data-look=calm] .sky--deep .btn-glass {
  background: color-mix(in srgb, var(--white) 80%, transparent);
  border-color: color-mix(in srgb, var(--navy-900) 14%, var(--white));
}

[data-look=calm] .sky--deep .btn-glass:hover {
  background: var(--sky-100);
}

[data-look=calm] .sky--deep .btn-glass {
  --btn-light-glass: #3680dd5c;
}

[data-look=calm] .sky--deep [data-tag]:not([data-tag=""]):before {
  color: var(--ink-muted);
  background-image: linear-gradient(var(--sky-500), var(--sky-500));
}

[data-look=calm] .try {
  border-radius: 0;
  margin-inline: 0;
}

[data-look=calm] .try-sky {
  background: var(--cm-melt), var(--cm-mesh);
}

[data-look=calm] .try-sky:before,[data-look=calm] .try-sky:after {
  display: none;
}

[data-look=calm] .hero-logo-ink {
  display: inline;
}

[data-look=calm] .pain-card {
  box-shadow: var(--calm-card);
  background: radial-gradient(70% 55% at 100% 0%, color-mix(in srgb, var(--sky-300) 55%, transparent) 0%, transparent 70%), radial-gradient(60% 55% at 0% 100%, color-mix(in srgb, var(--bloom-1) 22%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--sky-100), var(--white));
}

[data-look=calm] :is(.build-art,.step-art):before {
  background: radial-gradient(70% 90% at 100% 0%, color-mix(in srgb, var(--sky-300) 55%, transparent) 0%, transparent 70%), radial-gradient(60% 70% at 0% 100%, color-mix(in srgb, var(--bloom-1) 22%, transparent) 0%, transparent 70%), linear-gradient(180deg, var(--sky-100), var(--white));
}

[data-look=calm] :is(.squad-point,.how-note):before {
  background: linear-gradient(90deg, var(--sky-500) 0%, color-mix(in srgb, var(--warm-300) 85%, transparent) 55%, transparent 100%);
  width: 100%;
  height: 2px;
  box-shadow: 0 0 16px 2px color-mix(in srgb, var(--sky-400) 38%, transparent);
  left: 0;
}

[data-look=calm] .how-note:before {
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  top: 0;
  left: 0;
}

/* ===== the isometric pictures, and which set shows ([data-visual]): the isometric drawings unless the page asks for the original ones ===== */
.iso-scene {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.iso-person {
  animation: 3.4s ease-in-out infinite alternate iso-bob;
}

@keyframes iso-bob {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion:reduce) {
  .iso-person {
    animation: none;
  }
}

:root:not([data-visual=original]) :is(.pain-art,.build-art)[data-iso]>svg:not(.iso-scene),:root:not([data-visual=original]) [data-section=how][data-iso] .step-node>:is(.step-block,.step-crew):not(.step-iso) {
  display: none;
}

/* how we work, layout D, with the isometric pictures: a bigger block, its crew standing behind it, a clearer glow on the active step. The three are images */
/* a global img { max-width: 100% } would hold them to the circle they stand on */
.step-block.step-iso,.step-crew.step-iso {
  max-width: none;
}

:root:not([data-visual=original]) [data-section=how][data-variant=d] .step-block.step-iso {
  width: var(--bw,6.4rem);
  height: auto;
  animation: none;
}

/* the glow is a picture of its own, faded in over the block at rest on the page's clock: opacity is all that moves */
:root:not([data-visual=original]) [data-section=how][data-variant=d] .step-lit.step-iso {
  z-index: 3;
  width: calc(var(--bw,6.4rem) * var(--k));
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: 12s ease-in-out infinite iso-how-glow;
  animation-delay: calc(var(--i) * 3s);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

/* the people stand behind their block (it is drawn over them), their feet about 1rem below its top edge */
:root:not([data-visual=original]) [data-section=how][data-variant=d] .step-crew.step-iso {
  width: 10.5rem;
  height: 7.35rem;
  top: 50%;
  translate: -50% calc(-100% - var(--bw,6.4rem) / 2 / var(--r) + 3rem);
}

:root:not([data-visual=original]) [data-section=how][data-variant=d] .step:first-child .step-crew.step-iso,:root:not([data-visual=original]) [data-section=how][data-variant=d] .step:last-child .step-crew.step-iso {
  translate: -50% calc(-100% - var(--bw,6.4rem) / 2 / var(--r) + 3rem);
}

@media (prefers-reduced-motion:reduce) {
  :root:not([data-visual=original]) [data-section=how][data-variant=d] :is(.step-block.step-iso,.step-lit.step-iso) {
    animation: none;
  }
}

@media (width<900px) {
  :root:not([data-visual=original]) [data-section=how][data-variant=d] .step-crew.step-iso {
    display: none;
  }
}

@media (width>=900px) {
  :root:not([data-visual=original]) [data-section=how][data-variant=d] .step-head .step-node {
    margin-inline: auto;
  }
}

@keyframes iso-how-glow {
  0%,26%,to {
    opacity: 0;
  }
  6%,19% {
    opacity: 1;
  }
}

/* Mobile and tablet fixes */

/* phones: the cards sit side by side in a row, one centred and the next ones just peeking in from the edges, so none is stacked on another */

@media (max-width: 640px) {
  [data-section="squad"][data-variant="c"] .squad-point {
    transform: translateX(-50%) translateX(calc(var(--o, 0) * 108%)) scale(calc(1 - var(--a, 0) * 0.04));
    opacity: calc(1 - var(--a, 0) * 0.45);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  [data-section="squad"][data-variant="c"] .squad-point[aria-current="false"] {
    opacity: calc(1 - var(--a, 0) * 0.45);
  }
  [data-section="squad"][data-variant="c"] .squad-points {
    height: 25rem;
  }
  [data-section="squad"][data-variant="c"] .squad-nav {
    position: relative;
    z-index: 20;
  }
}

/* phones and tablets, the problem cards: a tighter card. The title and line lead, the drawing is a shorter band under them, and the figure is its own soft panel with the source under it */

@media (max-width: 899px) {
  main[data-default] [data-section="problem"] .pain-body {
    padding: var(--space-6) var(--space-6) var(--space-3);
    gap: var(--space-2);
  }
  main[data-default] [data-section="problem"] .pain-title {
    font-size: var(--text-h3);
    line-height: var(--leading-h3);
    letter-spacing: var(--tracking-h3);
  }
  main[data-default] [data-section="problem"] .pain-line {
    font-size: var(--text-small);
    line-height: var(--leading-small);
  }
  [data-section="problem"] .pain-art {
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
  }
  [data-section="problem"] .pain-art :is(svg,img) {
    transform: scale(1.12);
  }
  [data-section="problem"] .pain-stat {
    margin: 0 var(--space-3) var(--space-3);
    padding: var(--space-4);
    gap: var(--space-1);
    border: 0;
    border-radius: var(--radius-lg);
    background: var(--sky-100);
  }
  [data-section="problem"] .pain-stat-fig {
    font-size: var(--text-body);
    line-height: 1.35;
    color: var(--ink);
  }
  [data-section="problem"] .pain-source {
    font-size: var(--text-label);
    line-height: 1.4;
  }
}

/* phones and tablets, the problem cards: the drawing is the top of the card, then the words, then the figure; it no longer sits between the words and the figure */

@media (max-width: 899px) {
  main [data-section="problem"] .pains .pain-card {
    grid-template-rows: auto auto auto;
    grid-template-columns: minmax(0, 1fr);
  }
  main [data-section="problem"] .pains .pain-card > .pain-art {
    grid-row: 1;
    grid-column: 1;
    margin: 0;
  }
  main [data-section="problem"] .pains .pain-card > .pain-body {
    grid-row: 2;
    grid-column: 1;
    margin: 0;
  }
  main [data-section="problem"] .pains .pain-card > .pain-stat {
    grid-row: 3;
    grid-column: 1;
  }
}

/* phones and tablets, the problem cards: the drawing is now at the top, so its faded sky fades out downwards into the white under it, not upwards */

@media (max-width: 899px) {
  main[data-default] [data-section="problem"] .pain-art::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
  }
}

/* phones and tablets, the problem cards: the drawing keeps its own proportions, so nothing in it is cropped */

@media (max-width: 899px) {
  [data-section="problem"] .pain-art {
    aspect-ratio: 256 / 168;
    overflow: visible;
  }
  [data-section="problem"] .pain-art :is(svg,img) {
    transform: none;
  }
}

/* phones and tablets, the problem cards: the drawing's blurred figures stay inside its own band and no longer spill over the title */

@media (max-width: 899px) {
  [data-section="problem"] .pain-art {
    overflow: hidden;
  }
  [data-section="problem"] .pain-art :is(svg,img) {
    overflow: hidden;
  }
}

/* phones and tablets, the problem cards: some drawings run past the foot of their frame (the text used to cover it), so the band is taller than the frame and the drawing may use it; the band still clips, so nothing reaches the title */

@media (max-width: 899px) {
  [data-section="problem"] .pain-art {
    aspect-ratio: 256 / 212;
  }
  [data-section="problem"] .pain-art :is(svg,img) {
    height: auto;
    aspect-ratio: 256 / 168;
    overflow: visible;
  }
}

/* tablets: the problem cards and the "what it does" section are a narrower column; the rest of the page keeps its width */

@media (min-width: 560px) and (max-width: 899px) {
  [data-section="problem"] .pains > .pain {
    max-width: 28rem;
    margin-inline: auto;
  }
  #what-it-does > .container, #how-it-starts > .container {
    max-width: 32rem;
    margin-inline: auto;
  }
}

/* phones and tablets, the problem cards: a smaller drawing, centred in a shorter band, so it does not take over the card */

@media (max-width: 899px) {
  [data-section="problem"] .pain-art {
    aspect-ratio: auto;
    height: clamp(14rem, 50vw, 18.5rem);
  }
  [data-section="problem"] .pain-art :is(svg,img) {
    height: 80%;
    width: auto;
    aspect-ratio: 256 / 168;
    margin-inline: auto;
  }
}
