/*
 * AuditNavi public website. One stylesheet for every page.
 * The page background is the app's own background colour, so screenshots of
 * the app sit on the page without a visible edge.
 */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/jakarta-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-weight: 100 800;
  font-display: swap;
  src: url("/fonts/jetbrains-latin.woff2") format("woff2");
}

:root {
  --ink: #0f172a;
  --ink-raised: #18233f;
  --ink-line: rgb(255 255 255 / 0.13);
  --on-ink: #f3f6fc;
  --on-ink-soft: #b3bfdb;
  --blue: #1757ef;
  --blue-deep: #0f43c8;
  --blue-light: #7ea2ff;
  --blue-wash: #e9efff;
  --paper: oklch(0.975 0.004 250);
  --card: #fff;
  --text: oklch(0.2 0.02 255);
  --text-soft: oklch(0.42 0.025 255);
  --line: oklch(0.89 0.008 250);
  --line-strong: oklch(0.8 0.012 250);
  --stage-planning: oklch(0.62 0.15 240);
  --stage-fieldwork: oklch(0.7 0.15 145);
  --stage-completion: oklch(0.76 0.14 75);
  --away: oklch(0.72 0.06 200);
  --timer: oklch(0.52 0.085 205);
  --over: oklch(0.52 0.2 27);
  --ok: oklch(0.45 0.13 150);

  --display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --gutter: clamp(20px, 4vw, 44px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 8px;
  --shadow-shot: 0 1px 2px rgb(15 23 42 / 0.06), 0 18px 40px -18px rgb(15 23 42 / 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--line-strong) var(--paper);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.0625rem/1.62 var(--body);
  font-feature-settings: "cv11", "ss03";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection {
  background: var(--blue);
  color: #fff;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--blue-deep);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-ink :focus-visible {
  outline-color: var(--blue-light);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.028em;
  line-height: 1.08;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}
.num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 46px;
  padding: 0 1.15em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease-out,
    border-color 160ms ease-out,
    transform 120ms ease-out;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 220ms var(--ease-out);
}
.btn:hover svg.go {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-deep);
}
.btn-quiet {
  border-color: var(--ink-line);
  color: var(--on-ink);
  background: rgb(255 255 255 / 0.04);
}
.btn-quiet:hover {
  border-color: rgb(255 255 255 / 0.4);
  background: rgb(255 255 255 / 0.09);
}
.btn-line {
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--card);
}
.btn-line:hover {
  border-color: var(--text);
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: none;
  padding-block: 0.6em;
  border-bottom: 1px solid color-mix(in oklch, var(--blue-deep) 35%, transparent);
  transition: border-color 160ms ease-out;
}
.more:hover {
  border-bottom-color: var(--blue-deep);
}
.more svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 220ms var(--ease-out);
}
.more:hover svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------------------- header */
.on-ink {
  background: var(--ink);
  color: var(--on-ink);
}
.top {
  position: relative;
  z-index: 5;
}
.top .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 1.3rem/1 var(--display);
  letter-spacing: -0.035em;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
}
.brand b {
  font-weight: inherit;
}
.brand span {
  color: var(--blue-light);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--on-ink-soft);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 140ms ease-out, background-color 140ms ease-out;
}
.nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}
.nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -2px 0 var(--blue-light);
  border-radius: 6px 6px 0 0;
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-actions .signin {
  color: var(--on-ink);
  font-weight: 500;
  font-size: 0.97rem;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 6px;
}
.top-actions .signin:hover {
  background: rgb(255 255 255 / 0.07);
}
.top-actions .btn {
  min-height: 42px;
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.97rem;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu[open] summary {
  background: rgb(255 255 255 / 0.09);
}
.menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(280px, 82vw);
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 24px 50px -20px rgb(0 0 0 / 0.6);
  display: grid;
}
.menu nav a {
  padding: 13px 12px;
  border-radius: 8px;
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 500;
}
.menu nav a:hover,
.menu nav a[aria-current="page"] {
  background: rgb(255 255 255 / 0.08);
}
@media (max-width: 900px) {
  .nav,
  .top-actions .signin {
    display: none;
  }
  .menu {
    display: block;
  }
}
@media (max-width: 460px) {
  .top-actions .btn {
    display: none;
  }
}

/* ------------------------------------------------------------------- hero */
.hero {
  --overlap: clamp(124px, 17vw, 250px);
  position: relative;
  color: var(--on-ink);
  background: linear-gradient(to bottom, var(--ink) calc(100% - var(--overlap)), var(--paper) 0);
  overflow: clip;
}
/* The planner's own rhythm, faintly: five working days, then a week line. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 var(--overlap) 0;
  background:
    repeating-linear-gradient(to right, rgb(255 255 255 / 0.1) 0 1px, transparent 1px 240px),
    repeating-linear-gradient(to right, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 48px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 38%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 38%, #000 70%, transparent 100%);
  pointer-events: none;
}
.hero > * {
  position: relative;
}
.hero-copy {
  padding-top: clamp(40px, 7vw, 92px);
  padding-bottom: clamp(36px, 5vw, 64px);
}
.hero h1 {
  max-width: 17ch;
}
.hero h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.02;
  color: #fff;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-light);
}
.hero .lead {
  margin-top: clamp(18px, 2.4vw, 28px);
  max-width: 60ch;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--on-ink-soft);
}
.hero .actions {
  margin-top: clamp(24px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-shot {
  padding-bottom: clamp(40px, 7vw, 96px);
}
.window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  box-shadow:
    0 2px 4px rgb(2 6 20 / 0.3),
    0 50px 90px -40px rgb(2 6 20 / 0.75);
  background: var(--ink);
}
.hero-shot .window {
  animation: rise 1100ms var(--ease-out) both;
}
@keyframes rise {
  from {
    clip-path: inset(0 0 100% 0 round 14px);
    transform: translateY(28px);
  }
  to {
    clip-path: inset(0 0 0 0 round 14px);
    transform: none;
  }
}
.hero-note {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--text-soft);
}

/* The running timer under the hero buttons: the product's whole idea, live. */
.live {
  margin-top: clamp(26px, 3.4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px 0 16px;
  border-radius: 999px;
  background: var(--timer);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  max-width: 100%;
  transition: background-color 260ms ease-out;
}
.pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.8s ease-in-out infinite;
  flex: none;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.pill .job {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pill .clock {
  font-variant-numeric: tabular-nums;
  padding-left: 4px;
}
.pill button {
  flex: none;
  width: 34px;
  height: 34px;
  margin-left: 2px;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.18);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 140ms ease-out;
}
.pill button:hover {
  background: rgb(255 255 255 / 0.32);
}
.pill button svg {
  width: 14px;
  height: 14px;
}
.pill[data-running="false"] {
  background: #fff;
  color: var(--ink);
}
.pill[data-running="false"] .dot {
  animation: none;
  background: var(--line-strong);
}
.pill[data-running="false"] button {
  background: var(--ink);
}
.live p {
  font-size: 0.95rem;
  color: var(--on-ink-soft);
}

/* --------------------------------------------------------------- sections */
.section {
  padding-block: clamp(64px, 9vw, 128px);
}
.section + .section {
  padding-top: 0;
}
.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  max-width: 20ch;
}
.section .intro {
  margin-top: 16px;
  max-width: 58ch;
  color: var(--text-soft);
  font-size: 1.12rem;
}

/* Why we built it */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}
.why h2 {
  position: sticky;
  top: 32px;
}
.why .prose p + p {
  margin-top: 1.1em;
}
.why .prose {
  font-size: 1.14rem;
  line-height: 1.66;
  max-width: 62ch;
}
.why .prose strong {
  font-weight: 600;
}
.signed {
  margin-top: 1.6em;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.versus-title {
  margin-top: clamp(40px, 6vw, 80px);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.versus {
  margin-top: 22px;
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}
.versus th,
.versus td {
  text-align: left;
  vertical-align: top;
  padding: 18px 24px 18px 0;
  border-top: 1px solid var(--line);
  width: 50%;
}
.versus thead th {
  border-top: 0;
  padding-block: 0 12px;
  font: 600 0.82rem/1 var(--body);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.versus thead th:last-child {
  color: var(--blue-deep);
}
.versus td:first-child {
  color: var(--text-soft);
}
.versus td:last-child {
  font-weight: 500;
}
.versus tr:last-child td {
  border-bottom: 1px solid var(--line);
}

/* Tools: screenshot one side, words the other, alternating */
.tools-head {
  padding-bottom: clamp(36px, 5vw, 64px);
}
.tool {
  /* Screenshots reach out past the text column towards the edge of the window, as far as there is room. */
  --bleed: clamp(0px, calc((100vw - 1180px) / 2 - 24px), 120px);
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(36px, 5.5vw, 76px);
  border-top: 1px solid var(--line);
}
.tool.flip .tool-shot {
  order: 2;
}
.tool.flip {
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
}
.tool .tool-shot {
  margin-left: calc(-1 * var(--bleed));
}
.tool.flip .tool-shot {
  margin-left: 0;
  margin-right: calc(-1 * var(--bleed));
}
.tool h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
}
.tool p {
  margin-top: 16px;
  color: var(--text-soft);
  max-width: 48ch;
}
.tool p strong {
  color: var(--text);
  font-weight: 600;
}
.tool .more {
  margin-top: 22px;
}
.facts {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 48ch;
}
.facts li strong {
  font-weight: 600;
}
h3 + .facts {
  margin-top: 20px;
}
.facts li {
  position: relative;
  padding-left: 26px;
  font-size: 0.99rem;
}
.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.shot {
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-shot);
  background: var(--card);
  overflow: hidden;
}
/* A crop that carries the app's own background: it needs no frame. */
.shot.bare {
  border: 0;
  box-shadow: none;
  background: none;
  border-radius: 0;
}
.pair {
  position: relative;
  padding-bottom: 6%;
  padding-right: 4%;
}
.pair .over {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 27%;
  border-radius: 14px;
  box-shadow:
    0 2px 4px rgb(15 23 42 / 0.1),
    0 30px 50px -22px rgb(15 23 42 / 0.5);
}
figure {
  margin: 0;
}
figcaption {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* Smaller things, as a ruled list */
.also {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: clamp(28px, 4vw, 48px) 0 0;
}
.also div {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.also dt {
  font: 700 1.06rem/1.3 var(--display);
  letter-spacing: -0.015em;
}
.also dd {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Questions */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 6vw, 88px);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font: 600 1.12rem/1.35 var(--display);
  letter-spacing: -0.012em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--text), var(--text)) center / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 100% no-repeat;
  transition: transform 260ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(135deg);
}
.faq summary:hover {
  color: var(--blue-deep);
}
.faq details p {
  padding: 0 40px 22px 0;
  color: var(--text-soft);
  max-width: 68ch;
}

/* Closing band and footer share the ink */
.close {
  padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px);
}
.close h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 18ch;
}
.close p {
  margin-top: 18px;
  max-width: 54ch;
  color: var(--on-ink-soft);
  font-size: 1.12rem;
}
.close .actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}
.close .actions a.mail {
  color: var(--on-ink);
  font-family: var(--mono);
  font-size: 0.98rem;
}
.foot {
  border-top: 1px solid var(--ink-line);
  padding-block: 30px 40px;
  font-size: 0.92rem;
  color: var(--on-ink-soft);
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.foot .strap {
  font: 500 0.78rem/1 var(--body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.foot nav {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.foot nav a {
  color: var(--on-ink-soft);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
}
.foot nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.07);
}
.foot .small {
  width: 100%;
  font-size: 0.85rem;
}

/* ----------------------------------------------------------- inner pages */
.hero.inner .hero-copy {
  padding-top: clamp(32px, 5vw, 64px);
}
.hero.inner h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  max-width: 17ch;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--on-ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
  padding-block: 8px;
}
.crumb:hover {
  color: #fff;
}
.crumb svg {
  width: 1em;
  height: 1em;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 84px);
  border-top: 1px solid var(--line);
}
.detail:first-child {
  border-top: 0;
  padding-top: 0;
}
.detail.flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.detail.flip .detail-text {
  order: 2;
}
.detail.wide {
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 36px);
}
.detail.wide .detail-text {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 clamp(20px, 5vw, 72px);
  align-items: start;
}
.detail.wide .detail-text h2 {
  grid-row: 1 / span 4;
}
.detail.wide .detail-text > :not(h2) {
  grid-column: 2;
}
.detail.wide .detail-text > p:first-of-type {
  margin-top: 0;
}
.detail h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.3rem);
  max-width: 18ch;
}
.detail p {
  margin-top: 16px;
  color: var(--text-soft);
  max-width: 56ch;
}
.detail p strong {
  color: var(--text);
  font-weight: 600;
}
.textonly {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 84px);
}
.textonly article {
  padding-bottom: clamp(28px, 4vw, 48px);
}
.textonly h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.textonly p {
  margin-top: 12px;
  color: var(--text-soft);
  max-width: 54ch;
}
.next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-block: 32px;
}
.next span {
  color: var(--text-soft);
}
.next a {
  font: 700 clamp(1.3rem, 2.4vw, 1.9rem) / 1.1 var(--display);
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 8px;
}
.next a:hover {
  color: var(--blue-deep);
}
.next a svg {
  width: 0.9em;
  height: 0.9em;
  transition: transform 240ms var(--ease-out);
}
.next a:hover svg {
  transform: translateX(6px);
}

/* Stage key, used wherever the planner's colours are explained */
.key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  font-size: 0.95rem;
}
.key span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.key i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--c);
}

/* ------------------------------------------------- the try-it planner demo */
.demo {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow-shot);
  overflow: hidden;
}
.demo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.demo-head strong {
  font: 700 1.05rem/1.2 var(--display);
  letter-spacing: -0.015em;
}
.demo-head span {
  font-size: 0.9rem;
  color: var(--text-soft);
}
.demo-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
}
.demo-grid {
  --cols: 15;
  --row: 56px;
  --name: 150px;
  position: relative;
  border-right: 1px solid var(--line);
  user-select: none;
  -webkit-user-select: none;
  min-width: 0;
}
.demo-weeks,
.demo-row {
  display: grid;
  grid-template-columns: var(--name) minmax(0, 1fr);
}
.demo-weeks {
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--text-soft);
}
.demo-weeks > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.demo-weeks b {
  font-weight: 600;
  color: var(--text);
}
.demo-weeks span {
  padding: 9px 10px;
  border-left: 1px solid var(--line);
}
.demo-row {
  height: var(--row);
  border-bottom: 1px solid var(--line);
}
.demo-row:last-child {
  border-bottom: 0;
}
.demo-person {
  padding: 9px 12px;
  line-height: 1.25;
  font-size: 0.92rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.demo-person i {
  font-style: normal;
}
.demo-person small {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-soft);
}
.demo-track {
  position: relative;
  background:
    repeating-linear-gradient(to right, var(--line) 0 1px, transparent 1px calc(100% / 3)),
    repeating-linear-gradient(to right, color-mix(in oklch, var(--line) 45%, transparent) 0 1px, transparent 1px calc(100% / 15));
}
.demo-rows {
  position: relative;
}
.demo-bars {
  position: absolute;
  left: var(--name);
  right: 0;
  top: 0;
  bottom: 0;
}
.bar {
  position: absolute;
  top: calc(var(--r) * var(--row) + 7px);
  height: calc(var(--row) - 15px);
  left: calc(var(--s) / 15 * 100% + 2px);
  width: calc(var(--l) / 15 * 100% - 4px);
  border-radius: 5px;
  background: color-mix(in oklch, var(--c) 26%, white);
  border-left: 3px solid var(--c);
  color: oklch(0.25 0.03 255);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0 14px 0 8px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  transition: box-shadow 160ms ease-out;
}
.bar span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bar:hover,
.bar:focus-visible {
  box-shadow: 0 0 0 2px color-mix(in oklch, var(--c) 60%, transparent);
  outline: none;
}
.bar.dragging {
  cursor: grabbing;
  z-index: 3;
  box-shadow:
    0 0 0 2px var(--c),
    0 12px 22px -10px rgb(15 23 42 / 0.5);
}
.bar.bad {
  box-shadow: 0 0 0 2px var(--over);
}
.bar .edge {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 12px;
  cursor: ew-resize;
}
.bar .edge::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 30%;
  bottom: 30%;
  width: 2px;
  border-radius: 2px;
  background: color-mix(in oklch, var(--c) 70%, black);
  opacity: 0.55;
}
.bar[data-fixed] {
  cursor: default;
  --c: var(--away);
}
.demo-check {
  padding: 16px 18px 18px;
  font-size: 0.9rem;
}
.demo-check h3 {
  font: 600 0.92rem/1.2 var(--body);
  letter-spacing: 0;
}
.demo-check > p {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-soft);
}
.demo-check table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.demo-check th,
.demo-check td {
  padding: 8px 0 8px 10px;
  border-top: 1px solid var(--line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.demo-check th {
  font-weight: 500;
  font-size: 0.76rem;
  color: var(--text-soft);
  border-top: 0;
  padding-top: 0;
}
.demo-check th:first-child,
.demo-check td:first-child {
  white-space: nowrap;
  padding-left: 0;
  text-align: left;
}
.demo-check td.left {
  font-weight: 600;
  color: var(--ok);
}
.demo-check td.left.owed {
  color: oklch(0.5 0.13 70);
}
.demo-check td.left.over {
  color: var(--over);
}
.demo-status {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 0.86rem;
  line-height: 1.4;
}
.demo-status.done {
  background: color-mix(in oklch, var(--stage-fieldwork) 16%, white);
  color: oklch(0.32 0.09 150);
  font-weight: 500;
}
.demo-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 20px;
  padding: 12px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-soft);
}
.demo-foot button {
  font: 500 0.86rem/1 var(--body);
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.demo-foot button:hover {
  border-color: var(--text);
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 860px) {
  .why,
  .faq,
  .tool,
  .tool.flip,
  .detail,
  .detail.flip,
  .detail.wide .detail-text,
  .textonly {
    grid-template-columns: 1fr;
  }
  .why h2 {
    position: static;
  }
  .detail.flip .detail-text {
    order: 0;
  }
  .tool .tool-shot,
  .tool.flip .tool-shot {
    order: 2;
    margin-inline: 0;
  }
  .detail.wide .detail-text > :not(h2) {
    grid-column: 1;
  }
  .detail.wide .detail-text > p:first-of-type {
    margin-top: 16px;
  }
  .also {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .demo-body {
    grid-template-columns: 1fr;
  }
  .demo-grid {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .foot nav {
    margin-left: 0;
    width: 100%;
  }
}
@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }
  .also {
    grid-template-columns: 1fr;
  }
  .versus,
  .versus tbody,
  .versus tr,
  .versus td {
    display: block;
    width: 100%;
  }
  .versus thead {
    display: none;
  }
  .versus td {
    padding: 0;
    border: 0;
  }
  .versus tr {
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .versus td::before {
    content: attr(data-label);
    display: block;
    font: 600 0.74rem/1 var(--body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
  }
  .versus td:last-child {
    margin-top: 14px;
  }
  .versus td:last-child::before {
    color: var(--blue-deep);
  }
  .versus tr:last-child td {
    border-bottom: 0;
  }
  .demo-grid {
    --name: 84px;
    --row: 52px;
  }
  .demo-person small,
  .demo-person i {
    display: none;
  }
  .bar {
    font-size: 0.74rem;
    padding-left: 5px;
  }
  .faq details p {
    padding-right: 0;
  }
  .pill {
    font-size: 0.86rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Brand navy, a shade bluer than the text colour so it reads as navy beside it. */
.navy,
.detail p strong.navy {
  color: #1b3a8a;
}
strong.navy {
  font-weight: 700;
}

/* A note under a screenshot with an arrow up to the thing it describes. */
.callout {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin: 6px 0 0 7%;
  max-width: 34rem;
  color: #1b3a8a;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 500;
}
.callout svg {
  flex: none;
  width: 52px;
  height: 58px;
}
.callout strong {
  font-weight: 700;
}
.callout span {
  padding-bottom: 2px;
}
@media (max-width: 560px) {
  .callout {
    margin-left: 4%;
    font-size: 0.95rem;
  }
  .callout svg {
    width: 38px;
    height: 43px;
  }
}

/* How it compares: our column is the one that stands forward. */
.compare {
  margin-top: clamp(28px, 4vw, 48px);
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  line-height: 1.45;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}
.compare thead td {
  width: 19%;
}
.compare thead th,
.compare thead td {
  border-top: 0;
  padding-block: 14px;
  font: 700 1.05rem/1.2 var(--display);
  letter-spacing: -0.015em;
}
.compare tbody th {
  width: 19%;
  padding-left: 0;
  font-weight: 600;
}
.compare td {
  width: 27%;
  color: var(--text-soft);
}
.compare thead th:nth-child(2),
.compare tbody td:nth-child(2) {
  background: var(--card);
  color: var(--text);
  border-inline: 1px solid var(--line);
}
.compare tbody td:nth-child(2) {
  font-weight: 500;
}
.compare thead th:nth-child(2) {
  color: var(--blue-deep);
  border-top: 1px solid var(--line);
  border-radius: 12px 12px 0 0;
}
.compare tbody tr:last-child td:nth-child(2) {
  border-bottom: 1px solid var(--line);
  border-radius: 0 0 12px 12px;
}
.compare tbody tr:last-child th,
.compare tbody tr:last-child td:not(:nth-child(2)) {
  border-bottom: 1px solid var(--line);
}
.compare-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-soft);
}
@media (max-width: 760px) {
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: 100%;
  }
  .compare thead {
    display: none;
  }
  .compare tbody tr {
    padding: 20px 0 6px;
    border-top: 1px solid var(--line);
  }
  .compare tbody th {
    border: 0;
    padding: 0 0 10px;
    font: 700 1.1rem/1.2 var(--display);
  }
  .compare tbody td,
  .compare tbody td:nth-child(2),
  .compare tbody tr:last-child td:nth-child(2),
  .compare tbody tr:last-child td:not(:nth-child(2)),
  .compare tbody tr:last-child th {
    border: 0;
    border-radius: 0;
    background: none;
    padding: 0 0 12px;
  }
  .compare td::before {
    content: attr(data-label);
    display: block;
    font: 600 0.74rem/1 var(--body);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--text-soft);
  }
  .compare td:nth-child(2)::before {
    color: var(--blue-deep);
  }
}

.why .prose .facts {
  margin-top: 1.1em;
  max-width: none;
}
.why .prose .facts li {
  font-size: inherit;
}
