/* Jackdaw landing. Look: apps/pr-landing/DESIGN.md ("Night plumage", one motif: the folder tab).
   Every colour, size and shape below comes from the tokens in :root. */

/* ---------- fonts (self-hosted) ---------- */
@font-face {
  font-family: "Stack Sans Headline";
  src: url("/fonts/stack-sans-headline-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* One variable file carries both text weights. */
@font-face {
  font-family: "Stack Sans Text";
  src: url("/fonts/stack-sans-text-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* Night plumage */
  --soot: #15171a;
  --wing: #2c3238;
  --slate: #4b545d;
  --nape: #8b949d;
  --silver: #c5ccd3;
  --eye: #e8eef2;
  --hl: #d6ff3d;

  --font-display: "Stack Sans Headline", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Stack Sans Text", "Helvetica Neue", Arial, sans-serif;

  /* Five sizes, no more. Captions never under 14px; body 17-19px. */
  --step-small: clamp(0.875rem, 0.84rem + 0.08vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5625rem);
  --step-head: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  --step-display: clamp(2rem, 1rem + 3.9vw, 4.75rem);

  /* Optical tracking and leading, set per size: the larger the type, the tighter its letters and
     lines; small type opens a little. */
  --track-display: -0.032em;
  --track-head: -0.024em;
  --track-lead: -0.006em;
  --track-small: 0.01em;
  --leading-display: 1;
  --leading-head: 1.06;
  --leading-lead: 1.32;
  --leading-body: 1.55;
  --leading-small: 1.45;
  /* The measure for running text: about 65 characters of Stack Sans Text. */
  --measure: 31em;

  /* The motif: the folder tab, a trapezoid. Its slant is in em, so it scales with each use. */
  --tab: polygon(0 100%, 0.7em 0, calc(100% - 0.7em) 0, 100% 100%);
  --tab-sm: polygon(0 100%, 0.5rem 0, calc(100% - 0.5rem) 0, 100% 100%);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  /* One spacing scale. Every section has the same padding at its top and its foot (--section), so
     sections sit 2 x --section apart; inside a section, a heading block stands --block above what it
     introduces, notes stand --item apart, and a heading stands --s-4 above its lead. */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1.25rem;
  --s-5: 2rem;
  --item: clamp(1.5rem, 1.25rem + 0.6vw, 2rem);
  --block: clamp(2.5rem, 1.75rem + 1.5vw, 3.5rem);
  --section: clamp(5rem, 3rem + 4vw, 7rem);

  /* The page grid's column lines, for parts that sit inside a full-width field (a folder panel, a
     half field): one column of the 12, and the step from one column line to the next. Used inside
     an element with container-type: inline-size that spans the page, so 100cqw is the page width. */
  --grid-col: calc((100cqw - 2 * var(--margin) - 11 * var(--gutter)) / 12);
  --line: calc(var(--grid-col) + var(--gutter));
  /* Column 8's left edge, the page's second anchor line. */
  --line8: calc(var(--margin) + 7 * var(--line));
}

/* ---------- reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--soot);
}
body {
  margin: 0;
  background: var(--soot);
  color: var(--eye);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: var(--leading-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
a {
  color: inherit;
}
:target {
  scroll-margin-top: 2rem;
}
::selection {
  background: var(--eye);
  color: var(--soot);
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* ---------- type ---------- */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: var(--track-head);
  line-height: var(--leading-head);
  text-wrap: balance;
  hyphens: none;
  font-optical-sizing: auto;
}
.head {
  font-size: var(--step-head);
}
p {
  text-wrap: pretty;
}
.num {
  font-variant-numeric: tabular-nums;
}
.nowrap {
  white-space: nowrap;
}
.link-plain {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.07em;
}
/* Hover thickens a link's underline; press dims it (see Motion). */
.link-plain:hover,
.signin:hover,
.foot-nav a:hover,
.credits a:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 0.14em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- the primary button: the tab's top corners ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.6em;
  background: var(--hl);
  color: var(--soot);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  clip-path: var(--tab);
  -webkit-tap-highlight-color: transparent;
}
/* Hover lifts the highlighter a step towards pale eye; press takes it a step towards soot. */
.button:hover {
  background: color-mix(in srgb, var(--hl) 78%, var(--eye));
}
.button:active {
  background: color-mix(in srgb, var(--hl) 84%, var(--soot));
}
/* The clip would cut an outside ring, so the focus ring sits inside the shape. */
.button:focus-visible {
  outline: 3px solid var(--soot);
  outline-offset: -7px;
}

/* =========================================================================================
   Hero: the claim on the left; on the right one folder that plays the whole job, story spotted,
   pitch ready, sent, in time with the three steps under it.
   ========================================================================================= */
.hero {
  position: relative;
  padding: 0 var(--margin) var(--section);
  overflow: clip;
  background: var(--soot);
  color: var(--eye);
}
.toprow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: 1;
  text-decoration: none;
}
.wordmark .logo {
  width: auto;
  height: 1.75em;
}
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2rem);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  text-underline-offset: 0.18em;
}
.topnav a:hover {
  text-decoration-line: underline;
  text-decoration-thickness: 0.14em;
}
.topnav .signin {
  text-decoration-line: underline;
  text-decoration-thickness: 0.07em;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
  margin-top: clamp(2.5rem, 1rem + 4vw, 5.5rem);
}
.hero-words {
  grid-column: 1 / 8;
}
.hero-title {
  font-size: var(--step-display);
  letter-spacing: var(--track-display);
  line-height: var(--leading-display);
  max-width: 13em;
}
.hero-line {
  max-width: 30em;
  margin-top: var(--s-5);
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.hero-action {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-5);
}

/* The reel: three states of one folder in one grid cell. The jackdaw perches on its top edge. */
.hero-reel {
  grid-column: 8 / 13;
  position: relative;
  /* Room over the folder for the jackdaw: --bird wide, its feet (86.7% down its drawing) on the
     folder's top edge, which is the tab's height (3rem) under the reel's top. */
  --bird: 7rem;
  padding-top: 4rem;
}
.hero-reel .reel-bird {
  position: absolute;
  top: calc(4rem + 3rem - var(--bird) * 105 / 95 * 0.867);
  right: 2rem;
  width: var(--bird);
  height: auto;
}
.reel {
  display: grid;
  row-gap: var(--s-4);
  color: var(--soot);
}
.reel-state {
  display: flex;
  flex-direction: column;
}
.reel-tab {
  align-self: flex-start;
  display: flex;
  align-items: center;
  height: 3rem;
  padding: 0 1.6em;
  background: var(--eye);
  clip-path: var(--tab);
  font-weight: 500;
}
.reel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 0.75rem + 1.5vw, 2rem);
  background: var(--eye);
}
.reel-big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.reel-to {
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--slate);
  margin-bottom: var(--s-1);
}

/* Small facts in the product's own pills: soot on a pale card, the highlighter for what's urgent
   or the one action. */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.75em;
  background: var(--soot);
  color: var(--eye);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  white-space: nowrap;
}
.pill--hl {
  background: var(--hl);
  color: var(--soot);
  font-weight: 500;
}
.pill--act {
  min-height: 2.75rem;
  padding: 0 1.25em;
  font-size: var(--step-body);
}

/* The three steps: a bar over each fills in time with the reel. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: var(--block);
}
.step {
  position: relative;
  padding-top: var(--s-5);
}
.step::before,
.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--wing);
}
.step::after {
  background: var(--hl);
  transform-origin: 0 50%;
}
.step-name {
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
/* The time the step happens on the morning: small, over its name. */
.step-time {
  display: block;
  margin-bottom: var(--s-1);
  color: var(--nape);
  font-family: var(--font-text);
  font-size: var(--step-small);
  font-weight: 500;
  letter-spacing: var(--track-small);
  line-height: var(--leading-small);
  font-variant-numeric: tabular-nums;
}
.step-label {
  display: block;
}
/* With script, a step is a button: an invisible sheet over the whole cell. Its words are for
   screen readers; the ring is for the keyboard. */
.step-pick {
  position: absolute;
  inset: 0;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.step-pick:focus-visible {
  outline: 2px solid var(--hl);
  outline-offset: 4px;
}
/* A step chosen: the others step back. */
.hero:has(.reel[data-pick])
  .step:has(.step-pick[aria-pressed="false"])
  :is(.step-name, .step-time, p) {
  color: var(--nape);
}
/* The Pause / Play control, at the end of the step row. */
.reel-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 3.5rem;
  min-height: 2.75rem;
  margin: var(--s-4) 0 0 auto;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--eye);
  font: inherit;
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  text-decoration: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.reel-toggle[hidden] {
  display: none;
}
.reel-toggle:hover {
  text-decoration-thickness: 0.14em;
}
.reel-toggle:focus-visible {
  outline: 2px solid var(--hl);
  outline-offset: 4px;
}
/* All three states already show when motion is reduced, so there is nothing to choose or stop. */
@media (prefers-reduced-motion: reduce) {
  .step-pick,
  .reel-toggle {
    display: none;
  }
}
.step p {
  margin-top: var(--s-2);
  max-width: 28ch;
}

@media (max-width: 63.99em) {
  .hero-words {
    grid-column: 1 / -1;
  }
  .hero-reel {
    grid-column: 2 / 12;
    margin-top: var(--block);
  }
}
@media (max-width: 47.99em) {
  .topnav a:not(.signin) {
    display: none;
  }
  .hero-reel {
    grid-column: 1 / -1;
    margin-top: calc(var(--block) - 40px);
    --bird: 5rem;
  }
  .hero-action .button {
    width: 100%;
    min-height: 3.25rem;
  }
  .steps {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--item);
  }
}

/* =========================================================================================
   Shared: headings, leads, the folder sections and their tabs.
   ========================================================================================= */
h3 {
  font-size: inherit;
  font-weight: 500;
}
table {
  border-collapse: collapse;
}
th {
  text-align: left;
}
mark {
  background: var(--hl);
  color: var(--soot);
}
.lead,
.try-lead,
.agen-lead,
.price-lead {
  margin-top: var(--s-4);
  max-width: 34ch;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}

/* Each folder section takes its folder's colour, with the folder's tab on its top edge. */
.folder-sec {
  --tab-h: 40px;
  position: relative;
  padding: var(--section) var(--margin);
  background: var(--field);
  color: var(--field-ink);
}
.sec-tab {
  position: absolute;
  bottom: 100%;
  left: var(--tab-x);
  height: var(--tab-h);
  display: flex;
  align-items: center;
  padding: 0 1.6em;
  background: var(--field);
  color: var(--field-ink);
  clip-path: var(--tab);
  white-space: nowrap;
}
.start {
  --field: var(--wing);
  --field-ink: var(--eye);
  --tab-x: var(--margin);
}
.try {
  --field: var(--slate);
  --field-ink: var(--eye);
  --tab-x: var(--margin);
}
.get {
  --field: var(--wing);
  --field-ink: var(--eye);
  --tab-x: 22%;
}
.expert {
  --field: var(--nape);
  --field-ink: var(--soot);
  --tab-x: 58%;
}
.shiny {
  --field: var(--slate);
  --field-ink: var(--eye);
  --tab-x: 14%;
}
.agen {
  --field: var(--eye);
  --field-ink: var(--soot);
  --tab-x: 44%;
}
.price {
  --field: var(--slate);
  --field-ink: var(--eye);
  --tab-x: 66%;
}

@media (max-width: 47.99em) {
  .folder-sec {
    --tab-h: 32px;
  }
  .sec-tab {
    padding: 0 1.25em;
  }
  .try,
  .start,
  .get,
  .expert,
  .shiny,
  .agen,
  .price {
    --tab-x: var(--margin);
  }
  .get,
  .price {
    --tab-x: calc(100% - var(--margin) - 9.5em);
  }
}

/* =========================================================================================
   Try it: pick your field, see the day's stories. The field takes a folder colour per choice.
   ========================================================================================= */
.try {
  --card: var(--eye);
  --card-ink: var(--soot);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  overflow: clip;
}
.try:has(input[value="money"]:checked) {
  --field: var(--wing);
}
.try:has(input[value="property"]:checked) {
  --field: var(--nape);
  --field-ink: var(--soot);
}
.try:has(input[value="travel"]:checked) {
  --field: var(--silver);
  --field-ink: var(--soot);
}
.try:has(input[value="health"]:checked) {
  --field: var(--eye);
  --field-ink: var(--soot);
  --card: var(--silver);
}
.try-head {
  grid-column: 1 / 7;
  grid-row: 1;
}
.try-stories {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: var(--block);
}

/* The field picker: a segmented control level with the intro. The chosen field is a highlighter
   thumb that slides to the choice (site.js adds it; without script the chosen segment fills). */
.fieldswitch {
  grid-column: 7 / -1;
  grid-row: 1;
  align-self: end;
  justify-self: end;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  line-height: 1.2;
  background: color-mix(in srgb, var(--field-ink) 12%, var(--field));
}
.fieldswitch .seg {
  position: relative;
  z-index: 1;
  display: block;
  flex: 1 0 auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.fieldswitch .seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.3em 0.9em;
  white-space: nowrap;
}
.fieldswitch input:checked + span {
  background: var(--hl);
  color: var(--soot);
}
.fieldswitch .seg:hover input:not(:checked) + span {
  background: color-mix(in srgb, var(--field-ink) 10%, transparent);
}
.fieldswitch input:focus-visible + span {
  outline: 3px solid currentColor;
  outline-offset: -5px;
}
.fieldswitch input:checked:focus-visible + span {
  outline-color: var(--soot);
}
.seg-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  transform-origin: 0 0;
  pointer-events: none;
}
.fieldswitch .seg-thumb {
  background: var(--hl);
}
.billing .seg-thumb {
  background: var(--eye);
}
.has-thumb .seg span {
  transition:
    color var(--t-ui) ease,
    background-color var(--t-hover) ease;
}
.has-thumb input:checked + span {
  transition:
    color var(--t-ui) ease,
    background-color 0s linear var(--t-thumb, 0s);
}

/* The day's stories: one folder each, its tab the kind of story; the headline, then two facts. */
.stories {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}
.try:has(input[value="cyber"]:checked) .stories[data-set="cyber"],
.try:has(input[value="money"]:checked) .stories[data-set="money"],
.try:has(input[value="property"]:checked) .stories[data-set="property"],
.try:has(input[value="travel"]:checked) .stories[data-set="travel"],
.try:has(input[value="health"]:checked) .stories[data-set="health"] {
  display: grid;
}

/* Above the stories, one line on whether they are live ("Open right now · updated 6 minutes ago")
   or examples. It follows the field switch like the list does, and works without script. */
.stories-status {
  display: none;
  align-items: center;
  gap: 0.7em;
  margin-bottom: var(--s-4);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.try:has(input[value="cyber"]:checked) .stories-status[data-set="cyber"],
.try:has(input[value="money"]:checked) .stories-status[data-set="money"],
.try:has(input[value="property"]:checked) .stories-status[data-set="property"],
.try:has(input[value="travel"]:checked) .stories-status[data-set="travel"],
.try:has(input[value="health"]:checked) .stories-status[data-set="health"] {
  display: flex;
}
/* With the flight on, the travelling jackdaw perches on the first story's top edge with its head
   level with this line, so the line keeps out of its way. In one column it faces left from 66 of
   its 150 units in from the folder's right-hand end, and its head (with the rings it can carry)
   reaches about 114 units in: the line stops 120 units (0.8 of the bird's width) short. Side by
   side it faces right on the first folder, its head within half its width of that folder's end:
   the line stops 0.55 of the bird's width short of the first column's end. */
html.flight .stories-status {
  padding-right: calc(var(--traveller) * 0.8);
}
@media (min-width: 64em) {
  html.flight .stories-status {
    max-width: calc((100% - 2 * var(--gutter)) / 3 - var(--traveller) * 0.55);
    padding-right: 0;
  }
}
/* The live mark: a small highlighter square. Its pulse is in opacity only, and only when motion
   is welcome (the page shows no animation at all under reduced motion). */
.live-dot {
  flex: none;
  width: 0.6em;
  height: 0.6em;
  background: var(--hl);
  outline: 1px solid color-mix(in srgb, var(--soot) 55%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot {
    animation: live-pulse 2.4s ease-in-out infinite;
  }
  @keyframes live-pulse {
    50% {
      opacity: 0.3;
    }
  }
}
.story {
  display: flex;
  flex-direction: column;
  color: var(--card-ink);
}
.story-tab {
  align-self: flex-start;
  padding: 0.5em 1.4em 0.4em;
  background: var(--card);
  clip-path: var(--tab);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.story-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 1.4rem 1.4rem;
  background: var(--card);
}
.story-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
  /* A live title is the feed's text: a long unbroken run wraps inside its folder. */
  overflow-wrap: anywhere;
}

/* Side by side, the three folders keep one height. */
@media (min-width: 64em) {
  .story-body {
    min-height: 11rem;
  }
}
@media (max-width: 77.99em) {
  .fieldswitch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    margin-top: var(--s-5);
  }
  .try-stories {
    grid-row: 3;
  }
}
@media (max-width: 63.99em) {
  .try-head {
    grid-column: 1 / -1;
  }
  .stories {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--s-4);
  }
}

/* =========================================================================================
   What you get: four jobs, each a small piece of the product with its name and one line.
   ========================================================================================= */
.get-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: end;
}
.get-head .head {
  grid-column: 1 / 8;
  max-width: 14em;
}
.get-ill {
  grid-column: 9 / 13;
  /* The folder edge under the flock runs into the section's ground. */
  margin-bottom: calc(var(--block) * -0.5);
}
.gets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--block);
  margin-top: var(--block);
}
.mini {
  position: relative;
  min-height: 9.5rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.2rem 1.2rem;
  background: var(--eye);
  color: var(--soot);
}
.mini::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 6.5rem;
  height: 1.4rem;
  background: var(--eye);
  clip-path: polygon(0 100%, 0.7rem 0, calc(100% - 0.7rem) 0, 100% 100%);
}
.mini-big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.mini .pills {
  margin-top: var(--s-3);
}
.get-name {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.get-item > p:last-child {
  margin-top: var(--s-2);
  max-width: 26ch;
}
.get-also {
  margin-top: var(--block);
  max-width: var(--measure);
}

@media (max-width: 63.99em) {
  .gets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .get-head .head {
    grid-column: 1 / 9;
  }
  .get-ill {
    grid-column: 9 / 13;
  }
}
@media (max-width: 47.99em) {
  .get-head {
    display: block;
  }
  .get-ill {
    width: min(18rem, 80%);
    margin: var(--s-5) 0 0 auto;
  }
  .gets {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================================================
   Your expert: how a quote from the business's own expert gets into a pitch, in five plain steps,
   beside the two screens it passes through: the expert's no-login page, then the pitch carrying
   the words they approved.
   ========================================================================================= */
.expert {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.expert-words {
  grid-column: 1 / 7;
}
.expert-words .head {
  max-width: 13em;
}
.expert-lead {
  margin-top: var(--s-4);
  max-width: 32ch;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
/* The five steps: one line each, marked with the tab at text size, as the plan lists are. */
.flow {
  margin-top: var(--block);
  max-width: var(--measure);
}
.flow-step {
  position: relative;
  padding-left: 1.6em;
  line-height: var(--leading-body);
}
.flow-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 1em;
  height: 0.5em;
  background: currentColor;
  clip-path: polygon(0 100%, 0.25em 0, calc(100% - 0.25em) 0, 100% 100%);
}
.flow-step + .flow-step {
  margin-top: var(--s-3);
}
/* The two screens: the expert's page, and under it, filed a step to the right, the pitch. */
.expert-ui {
  grid-column: 8 / 13;
  margin: 0;
  display: grid;
  row-gap: var(--item);
  color: var(--soot);
}
.ask,
.qcard {
  max-width: 28rem;
}
.qcard {
  margin-left: clamp(0rem, 3vw, 2.5rem);
}
.ask-tab,
.qcard-tab {
  display: inline-block;
  padding: 0.55em 1.6em 0.45em;
  background: var(--eye);
  clip-path: var(--tab);
  font-weight: 500;
}
.ask-tab {
  background: var(--silver);
}
.ask-body {
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--silver);
}
.ask-q {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.qcard-body {
  padding: 1.25rem 1.5rem 1.4rem;
  background: var(--eye);
}
.said {
  margin: var(--s-3) 0 0;
}
.said p:first-child {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
/* The approved words: the highlighter band on quoted text, as on the open pitch's claims. */
.said-words {
  padding: 0 0.1em;
  box-shadow: inset 0 -0.4em var(--hl); /* taste-skill-ignore: a flat pen band, no blur */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.said-by {
  margin-top: var(--s-2);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--slate);
}
.pill--ok {
  gap: 0.4em;
}
.ok-tick {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--eye);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Under both screens, a grid row of its own: pulled up to sit as close as the other labels do. */
.qcard-ex {
  margin-top: calc(var(--s-3) - var(--item));
  margin-left: clamp(0rem, 3vw, 2.5rem);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--soot);
}

@media (max-width: 63.99em) {
  .expert-words,
  .expert-ui {
    grid-column: 1 / -1;
  }
  .expert-ui {
    margin-top: var(--block);
  }
}
@media (max-width: 47.99em) {
  .qcard,
  .qcard-ex {
    margin-left: 0;
  }
}

/* =========================================================================================
   The shiny bit: the coverage folder, with the link rings resting on its top edge.
   ========================================================================================= */
.shiny {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.shiny-words {
  grid-column: 1 / 6;
}
.shiny-lead {
  margin-top: var(--s-4);
  max-width: 32ch;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.cov {
  grid-column: 7 / 13;
  max-width: 30rem;
  color: var(--soot);
}
.cov-tab {
  display: inline-block;
  padding: 0.55em 1.6em 0.45em;
  background: var(--eye);
  clip-path: var(--tab);
  font-weight: 500;
}
.cov-body {
  position: relative;
  padding: 1.5rem 1.6rem;
  background: var(--eye);
}
.cov-big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.cov-sub {
  margin-top: var(--s-2);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--slate);
}
.cov-ex {
  margin-top: var(--s-3);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--silver);
}
/* The link rings, at the scale of the ring the travelling jackdaw carries, on the folder's top edge.
   They rest just in front of its beak: the bird stands 66 units (of its 150-unit drawing,
   --traveller wide) in from the folder's right-hand end (PERCH_INSET in flight.js), its beak reaches
   30.1 units further, and the rings rest 4 units beyond that. On a 320px screen that is still clear
   of the folder's tab. Their place is the default; the flight takes them away until it has delivered
   them. */
.cov-ring {
  position: absolute;
  right: calc(var(--traveller) / 150 * (66 + 30.1 + 4));
  bottom: 100%;
  width: calc(var(--traveller) / 150 * 28 * 0.9);
  height: calc(var(--traveller) / 150 * 14 * 0.9);
  fill: var(--hl);
  overflow: visible;
  pointer-events: none;
}
/* With the flight on, the rings and the lit pill wait for the bird (#cov.landed is the delivery).
   On screen only: a printed page has both, as drawn. */
@media screen {
  html.flight #cov:not(.landed) .cov-ring {
    opacity: 0;
  }
  html.flight #cov:not(.landed) .pill--hl.cov-link {
    background: var(--soot);
    color: var(--eye);
    font-weight: 400;
  }
}

@media (max-width: 63.99em) {
  .shiny-words,
  .cov {
    grid-column: 1 / -1;
  }
  .cov {
    margin-top: var(--block);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cov-link {
    transition:
      background-color 500ms ease,
      color 500ms ease;
  }
}

/* =========================================================================================
   Agency or Jackdaw: the price gap is the section. Who does what folds away under it.
   ========================================================================================= */
.agen {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.agen-words {
  grid-column: 1 / 7;
  grid-row: 1 / span 2;
}
.agen-figs {
  grid-column: 8 / 13;
  grid-row: 1;
}
.figs {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 clamp(1rem, 0.5rem + 2vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: var(--track-display);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fig--was {
  position: relative;
  font-size: var(--step-head);
  color: var(--slate);
}
/* Struck through with a highlighter stroke. */
.fig--was::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  top: 50%;
  height: 0.14em;
  background: var(--hl);
  transform: rotate(-5deg);
}
.fig--now {
  font-size: var(--step-display);
}
.figs-note {
  margin-top: var(--s-4);
  max-width: 36ch;
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  line-height: var(--leading-small);
}
.agen-more {
  margin-top: var(--s-5);
}
/* The month slider: under the figures, in the right-hand column. Without script the sentence
   stands in for it (the slider carries the hidden attribute until script unhides it). */
.months-static,
.months {
  grid-column: 8 / 13;
  grid-row: 2;
  align-self: start;
}
.months-static {
  margin-top: var(--item);
  max-width: 36ch;
  font-size: var(--step-body);
  line-height: var(--leading-body);
}
.months[hidden],
.months-static[hidden] {
  display: none;
}
.months {
  margin-top: var(--item);
  max-width: 26rem;
}
.months-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: var(--s-4);
}
.months-top label {
  font-weight: 500;
  font-size: var(--step-body);
  white-space: nowrap;
}
/* A range input whose hit area is 44px tall; the track and the folder-tab thumb are drawn inside. */
.months input[type="range"] {
  flex: 1 1 10rem;
  min-width: 0;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  color: var(--soot);
  cursor: pointer;
  touch-action: pan-y;
  /* A 1px soot edge round the highlighter thumb (WCAG 1.4.11: the thumb is pale against this
     folder, and clip-path cuts off any border). Four unblurred copies, so an outline, not a drop:
     the lint reads it as a shadow, hence the ignore marks. */
  filter: drop-shadow(1px 0 0 var(--soot)) /* taste-skill-ignore */
    drop-shadow(-1px 0 0 var(--soot)) /* taste-skill-ignore */
    drop-shadow(0 1px 0 var(--soot)) /* taste-skill-ignore */ drop-shadow(0 -1px 0 var(--soot)); /* taste-skill-ignore */
}
.months input[type="range"]:focus-visible {
  outline: 3px solid var(--soot);
  outline-offset: 2px;
}
.months input[type="range"]::-webkit-slider-runnable-track {
  height: 0.5rem;
  background: var(--slate);
}
.months input[type="range"]::-moz-range-track {
  height: 0.5rem;
  background: var(--slate);
}
.months input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 2rem;
  height: 1.75rem;
  margin-top: -0.625rem;
  border: 0;
  border-radius: 0;
  background: var(--hl);
  clip-path: var(--tab-sm);
}
.months input[type="range"]::-moz-range-thumb {
  width: 2rem;
  height: 1.75rem;
  border: 0;
  border-radius: 0;
  background: var(--hl);
  clip-path: var(--tab-sm);
}
.stacks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  margin-top: var(--item);
  align-items: end;
}
.stack-folders {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.25rem;
  min-height: 13.5rem;
}
.stack-f {
  height: 0.85rem;
  flex: none;
  background: var(--wing);
  clip-path: var(--tab-sm);
}
.stack--jd .stack-f {
  background: var(--hl);
}
.stack-total {
  margin-top: var(--s-3);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: var(--step-body);
  line-height: var(--leading-small);
}
.agen .compare-all summary:focus-visible {
  outline-color: var(--soot);
}
.compare {
  width: 100%;
  margin-top: var(--s-4);
  background: color-mix(in srgb, var(--soot) 6%, var(--eye));
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.compare th,
.compare td {
  padding: 0.55rem 1rem;
  vertical-align: top;
}
.compare thead th {
  padding-top: 1rem;
  font-weight: 500;
}
.compare tbody th {
  font-weight: 400;
}
.compare tbody tr:last-child > * {
  padding-bottom: 1rem;
}

@media (max-width: 63.99em) {
  /* The figures first, then the words, then the slider that works the figures out. */
  .agen-words,
  .agen-figs,
  .months-static,
  .months {
    grid-column: 1 / -1;
  }
  .agen-figs {
    grid-row: 1;
    margin-bottom: var(--block);
  }
  .agen-words {
    grid-row: 2;
    margin-bottom: var(--block);
  }
  .months-static,
  .months {
    grid-row: 3;
    margin-top: 0;
  }
}
@media (max-width: 47.99em) {
  .compare,
  .compare tbody,
  .compare tr,
  .compare th,
  .compare td {
    display: block;
    width: auto;
  }
  .compare thead {
    display: none;
  }
  .compare {
    padding: 0.5rem 1rem 1rem;
  }
  .compare tbody tr {
    padding: 0.6rem 0;
  }
  .compare tbody th {
    padding: 0 0 0.2rem;
    font-weight: 500;
  }
  .compare td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.1rem 0;
  }
  .compare td::before {
    content: attr(data-col);
  }
  .compare tbody tr:last-child > * {
    padding-bottom: 0.1rem;
  }
}

/* =========================================================================================
   Promises: an open pitch on the left (its claims marked, its sources listed under it, always),
   then two lead promises and four compact ones on the right.
   ========================================================================================= */
.prom {
  padding: var(--section) var(--margin);
  background: var(--soot);
  color: var(--eye);
}
.prom {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
}
.prom-side {
  grid-column: 1 / 7;
}
.prom-sub {
  margin-top: var(--s-4);
  max-width: 34ch;
  text-wrap: balance;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
/* The pitch as the product shows it: a pale folder, its tab above the body. The body is the folder's
   top edge the jackdaw perches on. */
.pitch {
  max-width: 34rem;
  margin-top: var(--block);
  color: var(--soot);
}
.pitch-tab {
  display: inline-block;
  padding: 0.55em 1.6em 0.45em;
  background: var(--eye);
  clip-path: var(--tab);
  font-weight: 500;
}
.pitch-body {
  padding: 1.5rem 1.6rem 1.7rem;
  background: var(--eye);
}
.pitch-to {
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--slate);
}
.pitch-subject {
  margin-top: var(--s-1);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.pitch-text {
  margin-top: var(--s-4);
  line-height: 1.65;
}
/* A claim: a highlighter band behind the lower part of the words. Hard-edged, one flat colour. */
.claim {
  padding: 0 0.1em;
  background: transparent;
  box-shadow: inset 0 -0.45em var(--hl); /* taste-skill-ignore: a flat pen band, no blur */
  font-weight: 500;
  cursor: help;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.claim:focus-visible {
  outline-offset: 2px;
}
.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  margin-top: var(--s-4);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.ticks li {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.tick {
  flex: none;
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--soot);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* The sources, always on show; the one for the claim under the pointer or focus is marked. */
.sources {
  margin-top: var(--s-4);
  padding-top: var(--s-3);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  line-height: var(--leading-small);
  color: var(--slate);
  counter-reset: src;
}
.sources li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  counter-increment: src;
}
.sources li + li {
  margin-top: 0.3rem;
}
.sources li::before {
  content: counter(src);
  flex: none;
  min-width: 1.4em;
  padding: 0 0.3em;
  background: var(--silver);
  color: var(--soot);
  text-align: center;
  font-weight: 500;
}
.sources li[aria-current="true"] {
  color: var(--soot);
  font-weight: 500;
}
.sources li[aria-current="true"]::before {
  background: var(--hl);
}
/* A picture of the product's button: highlighter, the tab's corners, and nothing to press. */
.pitch-send {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  margin-top: var(--s-4);
  padding: 0 1.6em;
  background: var(--hl);
  clip-path: var(--tab);
  font-weight: 500;
  user-select: none;
}
.pitch-example {
  margin-top: var(--s-3);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
  color: var(--silver);
}
.prom-main {
  grid-column: 7 / 13;
  padding-top: 0.4rem;
}
.lead-promises {
  display: grid;
  row-gap: var(--block);
}
.promise-line {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-head);
  letter-spacing: var(--track-head);
  line-height: var(--leading-head);
}
.promise-fact {
  display: block;
  margin-top: var(--s-2);
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.promises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--item) var(--gutter);
  margin-top: var(--block);
  padding-top: var(--item);
  line-height: var(--leading-body);
}
.promises strong {
  display: block;
  font-weight: 500;
}

@media (max-width: 63.99em) {
  .prom-side,
  .prom-main {
    grid-column: 1 / -1;
  }
  .prom-main {
    margin-top: var(--block);
  }
}
@media (max-width: 39.99em) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================================================
   Pricing: three plans side by side, the switch driving their prices; Growth filed in front with
   its tab. Every fact, plan by plan, in the comparison beneath.
   ========================================================================================= */
.price-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.billing {
  position: relative;
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  background: var(--wing);
}
.billing .seg {
  position: relative;
  z-index: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.billing .seg span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
}
.billing input:checked + span {
  background: var(--eye);
  color: var(--soot);
}
.billing .seg:hover input:not(:checked) + span {
  background: color-mix(in srgb, var(--eye) 10%, transparent);
}
.billing input:focus-visible + span {
  outline: 3px solid var(--eye);
  outline-offset: 2px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gutter);
  /* Room over the plans for Growth's tab. */
  margin-top: calc(var(--block) + 2rem);
}
/* Starter and Multi-brand stand on the section's ground; Growth is filed in front, a pale folder
   with its tab. All three share one inset, so their names, prices and lists line up. */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.plan--growth {
  background: var(--eye);
  color: var(--soot);
}
.plan--growth::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 9rem;
  height: 2rem;
  background: var(--eye);
  clip-path: var(--tab);
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-lead);
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.price-fig {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.6rem;
  margin-top: 1rem;
}
.price-fig > .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-head);
  letter-spacing: -0.022em;
  line-height: 1;
}
.price .y {
  display: none;
}
.price:has(input[value="yearly"]:checked) .y {
  display: inline;
}
.price:has(input[value="yearly"]:checked) .m {
  display: none;
}
.plan-for {
  margin-top: var(--s-3);
  max-width: 34ch;
}
/* Growth's quiet line, over its action. */
.plan-pick {
  margin-top: auto;
  padding-top: 2rem;
  font-weight: 500;
}
.plan-pick + .plan-act {
  margin-top: 0;
  padding-top: 0.75rem;
}
.plan-keys {
  margin: 1.5rem 0 0;
}
.plan-keys li {
  position: relative;
  padding-left: 1.6em;
}
/* The tab at text size marks each feature. */
.plan-keys li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 1em;
  height: 0.5em;
  background: currentColor;
  clip-path: polygon(0 100%, 0.25em 0, calc(100% - 0.25em) 0, 100% 100%);
}
.plan-keys li + li {
  margin-top: 0.6rem;
}
.plan-act {
  margin-top: auto;
  padding-top: 2rem;
}
.plan-act .button {
  width: 100%;
}
/* The other plans' action: the same tab, pale; the highlighter stays on Growth's. */
.button--quiet {
  background: var(--eye);
}
/* The full comparison, folded away under its summary; a tone step, no stripes. */
.compare-all {
  margin-top: var(--s-5);
}
.compare-all summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 2.75rem;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.compare-all summary span {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.07em;
}
.compare-all summary:hover span {
  text-decoration-thickness: 0.14em;
}
.compare-all summary::-webkit-details-marker {
  display: none;
}
.compare-all summary::after {
  content: "+";
  font-size: var(--step-lead);
  line-height: 1;
}
.compare-all[open] summary::after {
  content: "\2013";
}
.compare-all summary:focus-visible {
  outline: 3px solid var(--eye);
  outline-offset: 3px;
}
.compare-all:not([open]) table {
  display: none;
}
.plan-table {
  width: 100%;
  margin-top: 1.25rem;
  table-layout: fixed;
  background: color-mix(in srgb, var(--wing) 55%, var(--slate));
}
.plan-table th,
.plan-table td {
  padding: 0.6rem 1rem;
  vertical-align: top;
}
.plan-table thead th {
  padding-top: 1.25rem;
  font-weight: 500;
}
.plan-table tbody tr:last-child > * {
  padding-bottom: 1.25rem;
}
.plan-table tbody th {
  font-weight: 400;
  width: 25%;
  padding-left: 1.5rem;
}

@media (max-width: 63.99em) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
    row-gap: calc(var(--gutter) + 2rem);
  }
}
@media (min-width: 48em) and (max-width: 63.99em) {
  .plan {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    column-gap: var(--gutter);
    align-content: start;
  }
  .plan > * {
    grid-column: 1;
  }
  .plan > .plan-keys {
    grid-column: 2;
    grid-row: 1 / 4;
    margin-top: 0;
  }
  .plan > .plan-act {
    grid-column: 2;
    padding-top: var(--s-4);
  }
  .plan > .plan-pick {
    padding-top: var(--s-4);
  }
}
@media (max-width: 47.99em) {
  .plan-act .button {
    min-height: 3.25rem;
  }
  /* The comparison as one block per fact, each plan's value on its own line. */
  .plan-table,
  .plan-table tbody,
  .plan-table tr,
  .plan-table th,
  .plan-table td {
    display: block;
    width: auto;
  }
  .plan-table thead {
    display: none;
  }
  .plan-table {
    padding: 0.5rem 1rem 1rem;
  }
  .plan-table tbody tr {
    padding: 0.75rem 0;
  }
  .plan-table tbody th {
    padding: 0 0 0.25rem;
    font-weight: 500;
  }
  .plan-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.15rem 0;
  }
  .plan-table td::before {
    content: attr(data-col);
  }
  .plan-table tbody tr:last-child > * {
    padding-bottom: 0.15rem;
  }
}

/* =========================================================================================
   Questions: a quiet list. The question at reading size, its answer beneath; the open one on a
   tone step. The section's own tab is the folder motif's one appearance here.
   ========================================================================================= */
.faq {
  --field: var(--soot);
  --field-ink: var(--eye);
  --tab-h: 40px;
  --tab-x: 7%;
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: start;
  padding: var(--section) var(--margin);
  background: var(--soot);
  color: var(--eye);
}
.faq-title {
  grid-column: 1 / 5;
  position: sticky;
  top: 2rem;
}
.qs {
  grid-column: 5 / 13;
}
.q summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  column-gap: 1.5rem;
  align-items: baseline;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  list-style: none;
}
.q summary::-webkit-details-marker {
  display: none;
}
.q summary::after {
  content: "+";
  font-size: var(--step-lead);
  line-height: 1;
  text-align: center;
}
.q[open] summary::after {
  content: "\2013";
}
.q summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -6px;
}
.q summary:hover .q-q {
  text-decoration: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.18em;
}
.q:not([open]) summary:hover {
  background: color-mix(in srgb, var(--wing) 45%, var(--soot));
}
.q-q {
  font-size: var(--step-lead);
  font-weight: 400;
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.q-a {
  max-width: calc(var(--measure) + 3rem);
  padding: 0 1.5rem 1.75rem;
}
.q[open] {
  background: var(--wing);
}

@media (max-width: 63.99em) {
  .faq-title {
    grid-column: 1 / -1;
    position: static;
  }
  .qs {
    grid-column: 1 / -1;
    margin-top: var(--block);
  }
}
@media (max-width: 47.99em) {
  .faq {
    --tab-h: 32px;
    --tab-x: 0%;
  }
  .q summary {
    padding: 1rem 1rem;
    column-gap: 1rem;
  }
  .q-a {
    padding: 0 1rem 1.5rem;
  }
}

/* =========================================================================================
   Start: the first folder, already open.
   ========================================================================================= */
.start {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  align-items: center;
}
.start-words {
  grid-column: 1 / 7;
}
.start-words p {
  margin-top: var(--s-4);
  max-width: 34ch;
}
.start-words p:first-of-type {
  font-size: var(--step-lead);
  letter-spacing: var(--track-lead);
  line-height: var(--leading-lead);
}
.start-words .button {
  margin-top: var(--s-2);
}
/* The first screen of setup, as the product draws it: one field, one choice, Next. */
.start-dialog {
  margin-top: var(--block);
}
.start-example {
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.dialog {
  max-width: 27.5rem;
  margin-top: var(--s-3);
  color: var(--soot);
  font-size: var(--step-small);
}
.dialog-tab {
  display: inline-block;
  padding: 0.55em 1.6em 0.45em;
  background: var(--eye);
  clip-path: var(--tab);
  font-size: var(--step-body);
  font-weight: 500;
}
.dialog-body {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--eye);
}
[data-ui] .field-label {
  font-weight: 500;
}
[data-ui] .field {
  margin-top: 0.4rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--soot) 30%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--soot) 3%, var(--eye));
  font-size: var(--step-body);
}
[data-ui] .pair {
  display: flex;
  margin-top: 1rem;
  padding: 3px;
  gap: 3px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--soot) 10%, var(--eye));
}
[data-ui] .pair span {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
  border-radius: 3px;
}
[data-ui] .pair .pair-on {
  background: var(--eye);
  font-weight: 500;
}
[data-ui] .dialog-next {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 1rem;
  border-radius: 4px;
  background: var(--soot);
  color: var(--eye);
  font-weight: 500;
}
.start-ill {
  grid-column: 8 / 12;
  align-self: end;
  margin-bottom: calc(var(--section) * -1);
}

@media (max-width: 63.99em) {
  .start-ill .ill-label {
    font-size: 20px;
  }
  .start-ill .ill-small {
    font-size: 21px;
  }
  .start-words {
    grid-column: 1 / 8;
  }
  .start-ill {
    grid-column: 8 / 13;
  }
}
@media (max-width: 47.99em) {
  .start {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .start-ill {
    width: min(20rem, 80%);
    margin-top: var(--block);
    align-self: flex-end;
  }
  .start-words .button {
    width: 100%;
    min-height: 3.25rem;
  }
}

/* =========================================================================================
   Footer: the name built from folder-tab blocks.
   ========================================================================================= */
.foot {
  padding: var(--section) var(--margin) var(--s-5);
  background: var(--soot);
  color: var(--eye);
}
/* The jackdaw perched on its own name, in the dip of the k. */
.mark-row {
  position: relative;
}
.foot-bird {
  display: none;
  position: absolute;
  z-index: 1;
  height: 7rem;
  width: auto;
  /* The k's block: the fourth of seven, 4px apart; its top at 62% of the name's height. The feet
     sit 16.5% of the drawing's height above its foot. */
  left: calc((100% - 24px) / 7 * 3.5 + 12px - 4.2rem);
  bottom: calc(62% - 7rem * 0.165);
}
.js .foot-bird {
  display: block;
}
.mark {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34svh;
  min-height: 15rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-display);
  letter-spacing: var(--track-display);
  line-height: 0.8;
}
/* Without script the name sits in one block; site.js splits it into one block per letter. */
.mark-word,
.mark-letter {
  display: flex;
  align-items: flex-end;
  padding: 0 0.12em 0.1em;
  height: 100%;
  background: var(--wing);
  color: var(--eye);
  clip-path: polygon(0 100%, 0.14em 0, calc(100% - 0.14em) 0, 100% 100%);
}
.mark-letter {
  flex: 1;
  justify-content: center;
  height: calc(var(--f) * 100%);
}
.mark-letter:nth-child(5n + 1) {
  --f: 1;
  background: var(--wing);
  color: var(--eye);
}
.mark-letter:nth-child(5n + 2) {
  --f: 0.72;
  background: var(--slate);
  color: var(--eye);
}
.mark-letter:nth-child(5n + 3) {
  --f: 0.88;
  background: var(--nape);
  color: var(--soot);
}
.mark-letter:nth-child(5n + 4) {
  --f: 0.62;
  background: var(--silver);
  color: var(--soot);
}
.mark-letter:nth-child(5n) {
  --f: 0.94;
  background: var(--eye);
  color: var(--soot);
}
.mark-letter:nth-child(7) {
  --f: 0.78;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  margin-top: var(--block);
  font-size: var(--step-small);
  letter-spacing: var(--track-small);
}
.foot-nav:nth-of-type(1) {
  grid-column: 1 / 3;
}
.foot-nav:nth-of-type(2) {
  grid-column: 3 / 5;
}
/* Each link a full 44px tall to the touch, the list still reading as one column. */
.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
  text-underline-offset: 0.18em;
}
.credits {
  grid-column: 6 / 13;
}
.credits p {
  line-height: 1.45;
}
.credits a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.07em;
}
.foot-last {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--block);
}

@media (max-width: 63.99em) {
  .foot-nav:nth-of-type(1) {
    grid-column: 1 / 7;
  }
  .foot-nav:nth-of-type(2) {
    grid-column: 7 / 13;
  }
  .credits {
    grid-column: 1 / 13;
    margin-top: var(--s-5);
  }
}
@media (max-width: 47.99em) {
  .mark {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
    font-size: var(--step-display);
  }
  .mark-word {
    height: 22svh;
  }
  .mark-letter {
    flex: 0 0 calc(25% - 3px);
    height: calc(var(--f) * 7.5rem);
  }
  /* Four letters to a row: the k ends the first. */
  .foot-bird {
    height: 4.5rem;
    left: calc((100% - 12px) / 4 * 3.5 + 12px - 2.7rem);
    bottom: auto;
    top: calc(7.5rem * 0.38 - 4.5rem * 0.835);
  }
}

.button--small {
  min-height: 2.75rem;
  padding: 0 1.2em;
}

/* =========================================================================================
   The jackdaw: one drawing (the sprite at the top of the page), in the palette's flat colours. Its
   cap, wing and tail take --jd-dark, its body --jd-body, the hood at the back of its head --jd-nape;
   the eye is always pale eye with a soot pupil. Each drawing names the ground it sits on.
   ========================================================================================= */
.jd-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.ill,
.logo,
.foot-bird {
  --jd-dark: var(--soot);
  --jd-body: var(--slate);
  --jd-nape: var(--nape);
}
.ill {
  display: block;
  width: 100%;
  height: auto;
}
.ill.on-soot,
.logo,
.foot-bird {
  --jd-dark: var(--wing);
  --jd-nape: var(--silver);
}
.ill.on-slate {
  --jd-body: var(--wing);
  --jd-nape: var(--silver);
}
.ill.on-nape,
.ill.on-wing {
  --jd-nape: var(--silver);
}
.jd-dark {
  fill: var(--jd-dark);
}
.jd-body {
  fill: var(--jd-body);
}
.jd-nape {
  fill: var(--jd-nape);
}
.jd-iris {
  fill: var(--eye);
}
.jd-pupil {
  fill: var(--soot);
}
/* The eye catching the light: the one bright note on the bird. */
.jd-glint {
  fill: var(--hl);
  opacity: 0;
}
.k-soot {
  fill: var(--soot);
}
.k-slate {
  fill: var(--slate);
}
.k-nape {
  fill: var(--nape);
}
.k-silver {
  fill: var(--silver);
}
.k-eye {
  fill: var(--eye);
}
.k-hl {
  fill: var(--hl);
}
.ill text {
  font-family: var(--font-text);
  fill: var(--soot);
}
.ill-label {
  font-size: 15px;
}
.ill-label--k-slate {
  fill: var(--eye);
}
.ill-head {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  letter-spacing: -0.02em;
}
.ill-small {
  font-size: 18px;
}

/* =========================================================================================
   The travelling jackdaw: one bird, the hero's, that flies down the page from folder to folder
   (flight.js). It is shown only once the flight has started (html.flight); then it stands in for the
   hero's and the footer's drawn birds, which stay in the page, out of sight. flight.js moves it with
   transforms and opacity only, and names the ground under it (on-soot, on-wing, on-slate; none on a
   light ground), so it takes the colours every drawn jackdaw takes there.
   ========================================================================================= */
/* The traveller's width: its drawing is 150 units wide. */
:root {
  --traveller: 9.5rem;
}
@media (max-width: 47.99em) {
  :root {
    --traveller: 7.1rem;
  }
}
/* It is placed in the page, not on the screen (the top left of the initial containing block: no
   ancestor is positioned), so a perched bird scrolls with its folder however the scroll is run.
   flight.js keeps its box inside the page's width, so it never widens the page. */
.traveller {
  --jd-dark: var(--soot);
  --jd-body: var(--slate);
  --jd-nape: var(--nape);
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 60;
  width: var(--traveller);
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform-origin: 0 0;
  will-change: transform;
}
html.flight .traveller {
  display: block;
}
html.flight .reel-bird,
html.flight .foot-bird {
  visibility: hidden;
}
.traveller.on-soot {
  --jd-dark: var(--wing);
  --jd-nape: var(--silver);
}
.traveller.on-wing {
  --jd-nape: var(--silver);
}
.traveller.on-slate {
  --jd-body: var(--wing);
  --jd-nape: var(--silver);
}
/* The link rings in its beak, shown only while it carries them. */
#t-ring {
  fill: var(--hl);
  opacity: 0;
}
/* The flock bird that turns its head as the traveller passes (flight.js sets the turn). */
.flock-head {
  transform-box: fill-box;
  transform-origin: 30% 80%;
}
@media (prefers-reduced-motion: no-preference) {
  .flock-head {
    transition: transform 350ms cubic-bezier(0.3, 0.7, 0.4, 1);
  }
}
@media print {
  html.flight .traveller {
    display: none;
  }
  html.flight .reel-bird,
  html.flight .foot-bird {
    visibility: visible;
  }
  /* The rings and the lit pill print as drawn: they are held back on screen only (The shiny bit). */
}

/* =========================================================================================
   Motion. Transform and opacity only (the hero reel also flips visibility, so a state it has
   faded out cannot cover the one playing). Every hidden state sits inside
   prefers-reduced-motion: no-preference and behind html.motion, which site.js adds only once its
   observers exist (and takes away on any error), so the reduced, scriptless and failed pages are
   the finished page.
   ========================================================================================= */
:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  /* A critically damped spring (no overshoot), the house curve for anything that moves into place.
     Browsers without linear() take the nearest cubic. */
  --ease-spring: cubic-bezier(0.2, 0.9, 0.3, 1);
  --t-press: 120ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  /* The spring settles in its own time: 0.4s response for parts, 0.3s for controls. */
  --t-spring: 600ms;
  --t-spring-ui: 440ms;
}
@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-spring: linear(
      0,
      0.079,
      0.236,
      0.403,
      0.551,
      0.671,
      0.764,
      0.833,
      0.883,
      0.919,
      0.944,
      0.962,
      0.974,
      0.983,
      0.988,
      0.992,
      0.995,
      0.997,
      0.998,
      0.999,
      1
    );
  }
}

/* ---------- feedback under the hand: on hover and on press, under every motion preference ---------- */
.button,
.seg span,
.compare-all summary {
  transition:
    transform var(--t-press) var(--ease-out),
    background-color var(--t-hover) ease,
    color var(--t-hover) ease;
}
.q summary {
  transition: background-color var(--t-hover) ease;
}
.link-plain,
.topnav a,
.wordmark,
.foot-nav a,
.credits a,
.compare-all summary span {
  transition:
    opacity var(--t-press) ease,
    text-decoration-thickness var(--t-hover) ease;
}
.link-plain:active,
.topnav a:active,
.wordmark:active,
.foot-nav a:active,
.credits a:active,
.compare-all summary:active span {
  opacity: 0.7;
}
.seg:active span {
  background-color: color-mix(in srgb, currentColor 16%, transparent);
}
.q summary:active {
  background: var(--wing);
}

@media (prefers-reduced-motion: no-preference) {
  /* Pressed things give a little under the finger, at once. */
  .button:active,
  .seg:active span {
    transform: scale(0.97);
  }

  /* The thumb of a segmented control springs to the choice, from wherever it is. */
  .has-thumb .seg-thumb {
    transition: transform var(--t-spring-ui) var(--ease-spring);
  }
  .has-thumb {
    --t-thumb: 300ms;
  }

  /* ---------- the reel: one folder plays story spotted, pitch ready, sent, 3s each, and the bar
     over each step fills in time with it. Both start with the page, so they stay in step. ---------- */
  /* With motion the three states share one cell, and only the playing one is visible. */
  .reel-state {
    grid-area: 1 / 1;
    animation: reel-show 9s var(--ease-out) infinite both;
  }
  .reel-body {
    min-height: 12.5rem;
  }
  /* Before the bars play, they rest empty. */
  .step::after {
    transform: scaleX(0);
  }
  @keyframes reel-show {
    0% {
      opacity: 0;
      visibility: hidden;
      transform: translateY(12px);
    }
    5%,
    30% {
      opacity: 1;
      visibility: visible;
      transform: none;
    }
    33.3% {
      opacity: 0;
      visibility: visible;
      transform: translateY(-8px);
    }
    33.4%,
    100% {
      opacity: 0;
      visibility: hidden;
      transform: translateY(-8px);
    }
  }
  .step::after {
    animation: step-fill 9s linear infinite both;
  }
  .reel-state--2,
  .step--2::after {
    animation-delay: 3s;
  }
  .reel-state--3,
  .step--3::after {
    animation-delay: 6s;
  }
  @keyframes step-fill {
    0% {
      opacity: 1;
      transform: scaleX(0);
    }
    32% {
      opacity: 1;
      transform: scaleX(1);
    }
    34%,
    100% {
      opacity: 0;
      transform: scaleX(1);
    }
  }
  /* Pointing at the reel holds it where it is. */
  .hero-reel:hover .reel-state,
  .hero:has(.hero-reel:hover) .step::after {
    animation-play-state: paused;
  }
  /* Pause (script) holds it the same way. */
  .reel[data-paused] .reel-state,
  .hero:has(.reel[data-paused]) .step::after {
    animation-play-state: paused;
  }
  /* A step chosen (script): its state stands and its bar rests full, the others out. The animations
     are off, not just paused, so it is that state and no other. */
  .reel[data-pick] .reel-state,
  .hero:has(.reel[data-pick]) .step::after {
    animation: none;
    animation-play-state: paused;
  }
  .reel[data-pick] .reel-state {
    opacity: 0;
    visibility: hidden;
    transform: none;
  }
  .hero:has(.reel[data-pick]) .step::after {
    opacity: 0;
    transform: scaleX(0);
  }
  .reel[data-pick="1"] .reel-state--1,
  .reel[data-pick="2"] .reel-state--2,
  .reel[data-pick="3"] .reel-state--3 {
    opacity: 1;
    visibility: visible;
  }
  .hero:has(.reel[data-pick="1"]) .step--1::after,
  .hero:has(.reel[data-pick="2"]) .step--2::after,
  .hero:has(.reel[data-pick="3"]) .step--3::after {
    opacity: 1;
    transform: scaleX(1);
  }
  /* Play restarts the cycle: the animations are off for one frame, then start again from state 1. */
  .hero.is-restarting .reel-state,
  .hero.is-restarting .step::after {
    animation: none;
  }

  /* ---------- the live things: what a control changes arrives, quickly ---------- */
  .stories,
  .q[open] .q-a,
  .compare-all[open] .plan-table {
    animation: swap-in 320ms var(--ease-spring);
  }
  @keyframes swap-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
  }
  /* An answer being folded away fades up a touch first (site.js closes it after), so the list
     never jumps under the reader's pointer. */
  .q.is-closing .q-a {
    opacity: 0;
    transform: translateY(-4px);
    transition:
      opacity 160ms ease,
      transform 160ms ease;
  }

  /* ---------- entrances: the parts of each section, in reading order, once ---------- */
  .motion [data-enter] {
    transition:
      opacity 480ms var(--ease-out),
      transform var(--t-spring) var(--ease-spring);
  }
  .motion [data-enter]:not(.is-in) {
    opacity: 0;
    transform: translateY(16px);
  }
  .motion [data-enter="row"]:not(.is-in) {
    transform: translateY(10px);
  }
  /* A picture opens in place, its drawing rising a little inside its frame. */
  .motion [data-enter="picture"]:not(.is-in) {
    transform: none;
  }
  .motion [data-enter="picture"] > svg {
    transition: transform 800ms var(--ease-spring);
  }
  .motion [data-enter="picture"]:not(.is-in) > svg {
    transform: translateY(16px);
  }
  .motion [data-enter="letter"]:not(.is-in) {
    transform: translateY(24%);
  }
  .motion [data-step="1"] {
    transition-delay: 70ms;
  }
  .motion [data-step="2"] {
    transition-delay: 140ms;
  }
  .motion [data-step="3"] {
    transition-delay: 210ms;
  }
  /* The footer's name rises letter by letter, 40ms apart. */
  .motion [data-enter="letter"][data-step="1"] {
    transition-delay: 40ms;
  }
  .motion [data-enter="letter"][data-step="2"] {
    transition-delay: 80ms;
  }
  .motion [data-enter="letter"][data-step="3"] {
    transition-delay: 120ms;
  }
  .motion [data-enter="letter"][data-step="4"] {
    transition-delay: 160ms;
  }
  .motion [data-enter="letter"][data-step="5"] {
    transition-delay: 200ms;
  }
  .motion [data-enter="letter"][data-step="6"] {
    transition-delay: 240ms;
  }

  /* ---------- the jackdaws: a look round, a blink, the eye catching the light ---------- */
  .jd-head {
    transform-box: fill-box;
    transform-origin: 46% 58%;
    animation: jd-look 11s var(--ease-soft) var(--jd-at, 0s) infinite;
  }
  .jd-eye {
    transform-box: fill-box;
    transform-origin: center;
    animation: jd-blink 7s linear var(--jd-at, 0s) infinite;
  }
  .jd-glint {
    animation: jd-glint 7s ease-in-out var(--jd-at, 0s) infinite;
  }
  .jd--2 {
    --jd-at: -3.5s;
  }
  .jd--3 {
    --jd-at: -6.2s;
  }
  .jd--4 {
    --jd-at: -8.4s;
  }
  @keyframes jd-look {
    0%,
    58%,
    100% {
      transform: none;
    }
    64%,
    80% {
      transform: rotate(-6deg);
    }
    86% {
      transform: rotate(2deg);
    }
  }
  @keyframes jd-blink {
    0%,
    95%,
    100% {
      transform: none;
    }
    97% {
      transform: scaleY(0.1);
    }
  }
  @keyframes jd-glint {
    0%,
    30%,
    46%,
    100% {
      opacity: 0;
    }
    36%,
    40% {
      opacity: 1;
    }
  }
}
