/* Wuvr landing page, first iteration. Desktop only (designed at 1440). */
:root {
  --ink: #1c1917;
  --body: #57534d;
  --muted: #87827d;
  --line: #e3e0da;
  --tile: #f7f7f7;
  --tint: #faf8f6;
  --chip: #ebe9e4;
  --card-line: rgba(233, 230, 224, 0.5);
  --card-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 14px 34px rgba(0, 0, 0, 0.07);
  --display: "Newsreader", "Georgia", serif;
  --text: "Geist", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-width: 1280px;
  background: #ffffff;
  color: var(--body);
  font-family: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

img {
  display: block;
}

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

.icon {
  flex: none;
  fill: currentColor;
}

/* ---------- shared ---------- */

.rails {
  width: 1120px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* A hairline closes each section, half way between it and the next. */
.s02 .rails,
.s03 .rails,
.s04 .rails,
.s05 .rails,
.s06 .rails {
  border-bottom: 1px solid var(--line);
}

.h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.64px;
  color: var(--ink);
}

.h2 .soft {
  color: var(--muted);
  display: block;
}

.h2 .strong {
  color: var(--ink);
  display: block;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-sub {
  padding-bottom: 6px;
  text-align: right;
  font-size: 14px;
  line-height: 1.45;
  color: var(--body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

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

.btn-primary {
  background: #111111;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2a2826;
}

.btn-secondary {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid #dcd8d1;
}

.btn-secondary:hover {
  border-color: #bdb8af;
  background: #f7f7f6;
}

.tile {
  position: relative;
  border-radius: 16px;
  background: var(--tile);
  overflow: hidden;
}

.tile-dark {
  background: #1b1a18 url("assets/art/tile-dark-dots.webp") center / cover no-repeat;
  color: #ffffff;
}

.card {
  background: #ffffff;
  border: 1px solid var(--card-line);
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.tile-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--ink);
}

.tile-line {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--body);
}

.tile-dark .tile-title {
  color: #fafafa;
}

.tile-dark .tile-line {
  color: rgba(255, 255, 255, 0.75);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

/* ---------- 01 hero ---------- */

.site-header {
  height: 73px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header .inner {
  width: 1284px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--body);
}

.nav > a:not(.btn):hover {
  color: var(--ink);
}

/* Header buttons keep their own text colour on hover and sit a little lower than page buttons. */
.nav .btn {
  height: 36px;
  padding: 0 16px;
}

.nav .btn-primary:hover {
  color: #ffffff;
}

.nav .btn-secondary:hover {
  color: var(--ink);
  background: #f7f7f6;
}

/* Header menus: Product and Resources open a panel under the header. */

.site-header {
  position: relative;
  z-index: 20;
  background: #ffffff;
}

.site-header .inner {
  position: relative;
}

.menu {
  align-self: stretch;
  display: flex;
  align-items: center;
}

.menu-trigger {
  position: relative;
  height: 72px;
  padding: 0;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-trigger:hover,
.menu-trigger[aria-expanded="true"] {
  color: var(--ink);
}

/* No line under an open menu's word (Chris, 3 Dec): the soft pill behind it is the only mark. */

/* Menus after Linear's: no icons. A white panel holds a grey card with ruled columns, and a strip under it.
   No outlines (Chris, 5 Dec, Pen "F · Nav · Product menu open · five product pages" and "… Resources menu open"):
   the panel lifts on its shadow alone, and the card is a flat #f7f7f7. */
.menu-panel {
  position: absolute;
  top: 80px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 18px 44px rgba(0, 0, 0, 0.12);
}

.menu-panel[hidden] {
  display: none;
}

.menu-col {
  display: flex;
  flex-direction: column;
}

.menu-label {
  margin: 0;
}

.mi {
  display: flex;
}

.mi .soon {
  padding: 1px 8px;
  border-radius: 6px;
  background: #f4f2ee;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--body);
}

a.mi:hover,
a.mi:focus-visible {
  text-decoration: none;
}

.menu-panel {
  padding: 8px;
  border: 0;
  border-radius: 16px;
  background: #ffffff;
}

/* Five product pages in two columns (3 Dec): the panel keeps its left edge and is 620 wide (it was 920). */
.menu-product {
  right: 302px;
  width: 620px;
  display: block;
}

.menu-product .menu-card {
  grid-template-columns: 316px 1fr;
}

.menu-strip .strip-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu-resources {
  width: 336px;
  margin-left: -36px;
  display: block;
}

.menu-card {
  display: grid;
  grid-template-columns: 316px 300px 1fr;
  border-radius: 12px;
  background: #f7f7f7;
}

.menu-resources .menu-card {
  grid-template-columns: 1fr;
}

.menu-card .menu-col {
  padding: 18px 16px;
  gap: 2px;
}

.menu-card .menu-col + .menu-col {
  border-left: 1px solid #ebe8e3;
}

.menu-card .menu-label {
  padding: 0 12px 4px;
  font-size: 12px;
  line-height: 1.3;
  color: #a8a39c;
}

.menu-card .mi ~ .menu-label {
  padding-top: 14px;
}

.menu-card .mi {
  flex-direction: column;
  align-items: stretch;
  gap: 3px;
  padding: 9px 12px;
  border-radius: 8px;
}

.menu-card .mi b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}

.menu-card .mi small {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

.menu-card .mi .soon {
  margin-left: 0;
}

.menu-card a.mi:hover,
.menu-card a.mi:focus-visible {
  background: #f2f2f2;  /* Pen: Item (hover) */
}

.menu-strip {
  padding: 16px 28px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.3;
  color: var(--muted);
}

.menu-strip p {
  margin: 0;
}

.menu-strip b {
  margin-right: 8px;
  font-weight: 500;
  color: var(--ink);
}

.menu-strip a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
  transition: color var(--speed-quick) var(--ease-out-quad);
}

.menu-strip a:hover {
  color: var(--ink);
}

.nav .divider {
  width: 1px;
  height: 16px;
  background: rgba(0, 0, 0, 0.12);
}

.nav .btn-primary {
  color: #ffffff;
}

.nav .btn-secondary {
  color: var(--ink);
}

.nav .btn + .btn {
  margin-left: -8px;
}

.hero-copy {
  width: 1284px;
  margin: 0 auto;
  padding: 83px 0 88px;
}

.hero-copy h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -1.12px;
  color: var(--ink);
}

.hero-copy h1 span {
  display: block;
  color: var(--ink); /* both lines in the same ink (Chris, 3 Dec); the product pages keep the softer second line */
}

.hero-copy .sub {
  margin-top: 26px;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
}

.site-field {
  width: 452px;
  height: 52px;
  margin-top: 31px;
  padding: 0 6px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dcd8d1;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-field:focus-within {
  border-color: #8f8a83;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.site-field > .icon {
  color: #a8a39c;
}

.site-field input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}

.site-field input::placeholder {
  color: #a8a39c;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reassure {
  margin: 16px 0 0 2px;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 13px;
  line-height: 18px;
  color: var(--body);
}

.reassure li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.reassure .icon {
  color: var(--ink);
}

.stage {
  position: relative;
  height: 720px;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.stage .app {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1320px;
  height: 720px;
  margin-left: -660px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #ffffff;
  overflow: hidden;
}

.stage .app img {
  width: 100%;
  height: auto;
}

/* The hero's window is the live product (app-window.css): it fades out at its foot, so there is
   no floor line or contact shadow, and its chapters sit under it. */
.stage.is-live {
  display: flex;
  justify-content: center;
  height: auto;
  overflow: visible;
}

.stage.is-live::after {
  display: none;
}

.hero .aw-chapters {
  margin: 20px auto 0;
}

.models-grid {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.models-grid .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}

.models-grid .cell {
  position: relative;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--body);
}

.models-grid .cell + .cell {
  border-left: 1px solid var(--line);
}

.models-grid .cell::before,
.models-grid .cell::after {
  content: "";
  position: absolute;
  bottom: 10px;
  width: 2px;
  height: 2px;
  background: #cfcac3;
}

.models-grid .cell::before {
  left: 8px;
}

.models-grid .cell::after {
  right: 10px;
}

.models-grid .cell.label {
  justify-content: flex-start;
  padding: 0 32px;
  font-weight: 400;
}

.models-grid .cell img {
  width: 16px;
  height: 16px;
}

.models-grid .spacer {
  height: 96px;
}

/* ---------- 02 what AI tells buyers ---------- */

.s02 .rails {
  border-top: 1px solid var(--line);
  padding: 120px 40px 80px;
}

.s02 .cols {
  display: flex;
  justify-content: space-between;
}

.s02 .left {
  width: 480px;
}

.accordion {
  margin-top: 72px;
  border-bottom: 1px solid var(--line);
}

.accordion .item {
  border-top: 1px solid var(--line);
}

.accordion .trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.1px;
  color: var(--ink);
}

.accordion .trigger .icon {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.accordion .item.open .trigger {
  padding-top: 20px;
  padding-bottom: 0;
}

.accordion .item.open .trigger .icon {
  transform: rotate(180deg);
}

.accordion .panel {
  display: none;
  padding: 12px 0 22px;
}

.accordion .item.open .panel {
  display: block;
}

.accordion .panel p {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 440px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 7px 0 6px;
  border-radius: 4px;
  background: var(--chip);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
}

.chip img {
  width: 13px;
  height: 13px;
}

.s02 .left > .btn {
  margin-top: 32px;
}

/* Accordion rows answer the pointer, and open and close by height (main.js). A highlight arrives
   at once and leaves in 150 ms; nothing lifts. */
.accordion .item.moving .panel,
.faq .item.moving .panel {
  display: block;
}

.accordion .item {
  position: relative;
  z-index: 0;
}

.accordion .trigger {
  position: relative;
  transition: padding 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion .trigger::before {
  content: "";
  position: absolute;
  inset: 4px -12px;
  border-radius: 10px;
  background: rgba(28, 25, 23, 0.04);
  opacity: 0;
  transition: opacity 0.15s;
  z-index: -1;
}

.accordion .item:not(.open) .trigger:hover::before {
  opacity: 1;
  transition-duration: 0s;
}

.accordion .item:not(.open) .trigger:active::before {
  background: rgba(28, 25, 23, 0.07);
}

.accordion .trigger .icon {
  transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.15s;
}

.accordion .trigger:hover .icon {
  color: var(--ink);
  transform: translateY(2px);
  transition-duration: 0.25s, 0s;
}

.accordion .item.open .trigger:hover .icon {
  transform: rotate(180deg) translateY(2px);
}

/* Section 2 (3 Dec): the chips are pills, and each item has its own picture: an AI answer and the
   measure taken from it. Sizes and colours are the Pen frames' (E · 02 · state 1 to 3). */
.s02 .chip {
  padding: 0 9px 0 7px;
  border-radius: 100px;
  background: #f5f4f2;
}

.s02 .chip:not(:has(img)) {
  padding: 0 9px;
}

.s02 .chips .break {
  flex-basis: 100%;
  height: 0;
}

/* as the Pen frames have them: pills in a row sit side by side, rows are 6 px apart
   (the break is a row of its own, so the 6 px is made of two 3 px gaps) */
.s02 .chips {
  gap: 3px 0;
}

.s02 .chip.more {
  color: #21201e;
}

.s02 .dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}

.s2-state {
  position: absolute;
  inset: 0;
}

.s2-answer,
.s2-measure {
  position: absolute;
  padding: 18px 20px;
}

.s2-answer {
  left: 28px;
  width: 352px;
}

.s2-measure {
  left: 172px;
  width: 280px;
}

.s2-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 16px;
}

.s2-head img {
  width: 16px;
  height: 16px;
}

.s2-head b {
  font-weight: 500;
  color: var(--ink);
}

.s2-head span {
  margin-left: auto;
  font-size: 12px;
  color: #a8a29e;
}

.s2-prompt {
  margin-top: 10px;
  font-size: 12px;
  line-height: 17px;
  color: var(--muted);
}

.s2-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 24px;
  color: #44403c;
}

.s2-line {
  display: block;
  white-space: nowrap;
}

.s2-text mark {
  padding: 1px 4px;
  border-radius: 4px;
  background: #fdf0c4;
  color: var(--ink);
  font-weight: 500;
  transition: box-shadow 0.15s, background-color 0.15s;
}

.s2-text mark.you {
  background: #e9e3f5;
  color: #6b3fa0;
  font-weight: 600;
}

.s2-text mark.wrong {
  background: #fde7e7;
  color: #7f1d1d;
}

.s2-cites,
.s2-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.s2-cites i {
  padding: 2px 8px;
  border-radius: 100px;
  background: #f5f4f2;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  color: var(--body);
}

.s2-status b {
  font-weight: 500;
  color: var(--ink);
}

.s2-kicker {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.s2-figure {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.s2-figure b {
  font-size: 40px;
  line-height: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.s2-figure span {
  padding-bottom: 5px;
  font-size: 13px;
  line-height: 16px;
  color: var(--body);
}

.s2-change {
  margin-top: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: #1a7f4b;
}

.s2-models {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

.s2-models span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.s2-models img {
  width: 15px;
  height: 15px;
}

.s2-models em {
  font-size: 11px;
  line-height: 13px;
  font-style: normal;
  font-weight: 500;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  transition: color 0.15s;
}

/* a model's name on hover: at once in, 150 ms out */
.s2-models span::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.s2-models span:hover::after {
  opacity: 1;
  transition-duration: 0s;
}

.s2-models span:hover em {
  color: var(--ink);
  transition-duration: 0s;
}

.s2-rank {
  display: flex;
  flex-direction: column;
  margin: 8px -8px -6px;
}

.s2-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 30px;
  padding: 0 8px;
  border-radius: 7px;
  transition: background-color 0.15s, opacity 0.15s;
}

.s2-row .n {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 98px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.s2-row u {
  padding: 0 5px;
  border-radius: 4px;
  background: #e9e3f5;
  color: #6b3fa0;
  font-size: 10px;
  line-height: 16px;
  font-weight: 600;
  text-decoration: none;
}

.s2-row .track {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #efede9;
}

.s2-row .track i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: #ffc8a3;
  transition: background-color 0.15s;
}

.s2-row.you .track i {
  background: #ad46ff;
}

.s2-row .p {
  width: 30px;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}

/* a name in the answer and its row in the ranking light each other */
.s2-row:hover,
.s2-row.hot {
  background: #faf8f6;
  transition-duration: 0s;
}

.s2-row:hover .track i,
.s2-row.hot .track i {
  background: #ff9a52;
  transition-duration: 0s;
}

.s2-row.you:hover .track i {
  background: #9333ea;
}

.s2-rank.dim .s2-row:not(.hot):not(:hover) {
  opacity: 0.45;
}

.s2-text mark.hot,
.s2-text mark[data-brand]:hover {
  box-shadow: 0 0 0 1.5px #f0b429;
  transition-duration: 0s;
}

.s2-fact-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
}

.s2-fact-head b {
  font-weight: 500;
  color: var(--ink);
}

.s2-fact-head span {
  margin-left: auto;
  color: var(--muted);
}

.s2-fact-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
}

.s2-checked {
  display: flex;
  gap: 2px;
  margin-top: 16px;
}

.s2-checked i {
  height: 6px;
  border-radius: 3px;
  background: var(--c);
  transition: opacity 0.15s;
}

.s2-legend {
  white-space: nowrap;
  margin-top: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.s2-legend span {
  transition: color 0.15s;
}

.s2-fact {
  transition: box-shadow 0.15s;
}

/* the wrong sentence points at its correction; a part of the bar points at its count */
.s2-fact.hot {
  box-shadow: 0 0 0 1.5px #1a7f4b, var(--card-shadow);
  transition-duration: 0s;
}

.s2-text mark.wrong:hover,
.s2-text.hot-wrong mark.wrong {
  background: #fbd0d0;
  transition-duration: 0s;
}

.s2-checked.dim i:not(.hot) {
  opacity: 0.3;
}

.s2-legend span.hot {
  color: var(--ink);
  transition-duration: 0s;
}

/* A picture arriving: the answer is read in line by line, its names are marked, then the measure
   comes up and counts. Every step only holds its starting state (fill: backwards): once it ends
   the element is back on its own styles, so nothing can be left hidden. */
.s2-state.play .s2-answer {
  animation: s2-in 0.35s ease-out backwards;
}

.s2-state.play .s2-line {
  animation: s2-line 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(120ms + var(--i) * 130ms);
}

.s2-state.play .s2-text mark {
  animation: s2-mark 0.35s ease-out backwards;
  animation-delay: calc(420ms + var(--i) * 130ms);
}

.s2-state.play .s2-cites,
.s2-state.play .s2-status {
  animation: s2-in 0.3s ease-out 0.7s backwards;
}

.s2-state.play .s2-measure {
  animation: s2-up 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.6s backwards;
}

.s2-state.play .s2-row .track i,
.s2-state.play .s2-checked i {
  animation: s2-grow 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(820ms + var(--i) * 70ms);
  transform-origin: 0 50%;
}

.s2-state.play .s2-models span {
  animation: s2-up 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(900ms + var(--i) * 45ms);
}

@keyframes s2-in {
  from { opacity: 0; }
}

@keyframes s2-line {
  from { opacity: 0; transform: translateX(-6px); }
}

@keyframes s2-mark {
  from { background-color: transparent; color: #44403c; }
}

@keyframes s2-up {
  from { opacity: 0; transform: translateY(10px); }
}

@keyframes s2-grow {
  from { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .s2-state.play * {
    animation: none !important;
  }
}

.s02 .tile {
  width: 480px;
  height: 480px;
}

.workspace {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.workspace img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.range {
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 100px;
  background: rgba(235, 233, 228, 0.45);
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
}

.figure {
  margin-top: 6px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.figure .n {
  font-size: 46px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -1.15px;
  color: var(--ink);
}

.figure .of {
  padding-bottom: 7px;
  font-size: 14px;
  color: var(--body);
}

.change {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1a7f4b;
}

.bars {
  margin-top: 20px;
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: #dcd8d1;
}

.bars i.on {
  background: var(--ink);
}

/* ---------- 03 tracker vs Wuvr ---------- */

.s03 .rails {
  padding: 80px 40px;
}

.s03 .tiles {
  margin-top: 56px;
  display: flex;
  gap: 20px;
}

.s03 .tile {
  width: 510px;
  height: 487px;
}

.s03 .caption {
  position: absolute;
  left: 20px;
  top: 392px;
  width: 470px;
}

.s03 .caption .tile-line {
  margin-top: 8px;
}

.sov {
  position: absolute;
  left: 95px;
  top: 36px;
  width: 320px;
  padding: 18px 20px 16px;
}

.sov .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.sov .head span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.sov .row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 36px;
  border-top: 1px solid #eeebe6;
  font-size: 13px;
}

.sov .rank {
  width: 10px;
  font-size: 12px;
  color: var(--muted);
}

.sov .name {
  width: 126px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}

.sov .name img {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.sov .track {
  flex: 1;
  height: 4px;
}

.sov .track i {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #cfcbc4;
}

.sov .val {
  width: 34px;
  text-align: right;
  color: var(--body);
}

.sov .foot {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Section 3 (3 Dec, Chris's edited iteration A): the tracker's table marks your own row and ends
   on "Next step: up to you"; Wuvr's card is this week's ranked plan. Both heading lines in ink. */
.s03 .h2 .soft {
  color: var(--ink);
}

.s03 .sov {
  /* Pen, 3 Dec (later): the card is 372 wide, the same as the plan card beside it, and every
     row, the header and the footer are 332 wide with 10 px of padding, so the rules run 10 px
     past the text on both sides */
  left: 69px;
  top: 30px;
  width: 372px;
  padding: 18px 20px;
  border: 0;
  box-shadow: 0 0 0 1px rgba(233, 230, 224, 0.5), 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.063);
}

.s03 .sov .head {
  padding: 0 10px;
  line-height: 19px;
}

.s03 .sov .row,
.s03 .sov .foot {
  padding: 0 10px;
}

.sov .row.you {
  border-radius: 4px;
  background: #f7f6f3;
}

.sov .row.you .track i {
  background: var(--ink);
}

.sov .row.you .val {
  font-weight: 500;
  color: var(--ink);
}

.sov .name u {
  padding: 0 5px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  font-weight: 600;
  text-decoration: none;
}

.sov .dead-end {
  font-size: 12px;
  color: #a8a29e;
}

.plan {
  position: absolute;
  left: 69px;
  top: 24px;
  width: 372px;
  padding: 18px 20px;
}

.plan .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  color: #fff;
}

.plan .head b {
  font-weight: 600;
}

.plan .head .count {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 500;
}

.plan .action {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  margin: 0 -8px;
  padding: 12px 8px;
  border-radius: 8px;
  transition: background-color 0.15s;
}

.plan .action::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.plan .action:hover {
  background: rgba(255, 255, 255, 0.07);
  transition-duration: 0s;
}

.plan .action > i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.plan .action > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.plan .action b {
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  color: #fff;
}

.plan .action div span {
  font-size: 12px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.65);
}

.plan .action .mini-btn {
  transition: opacity 0.15s, transform 0.1s;
}

.plan .action:hover .mini-btn {
  opacity: 0.9;
}

.plan .moved {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.15);
  font-size: 12px;
  line-height: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.plan .moved i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd38d;
}

/* Section 3 in motion. Arriving (once, when the section is reached): the tracker's rows come in
   and its bars grow, then "Next step: up to you" turns up last; the plan's actions come in one by
   one and the result line's dot rings once. Steps hold only their start (fill: backwards). */
.s03 .tile.play .sov .row,
.s03 .tile.play .plan .action {
  animation: s3-row 0.45s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--i) * 70ms);
}

.s03 .tile.play .plan .action {
  animation-delay: calc(120ms + var(--i) * 120ms);
}

.s03 .tile.play .sov .track i {
  transform-origin: 0 50%;
  animation: s2-grow 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(180ms + var(--i) * 70ms);
}

.s03 .tile.play .sov .foot {
  animation: s2-in 0.5s ease-out 0.95s backwards;
}

.s03 .tile.play .plan .moved {
  animation: s2-in 0.45s ease-out 0.75s backwards;
}

.s03 .tile.play .plan .moved i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #5fd38d;
  animation: s3-ring 1.1s ease-out 1.1s backwards;
  opacity: 0;
}

@keyframes s3-row {
  from { opacity: 0; transform: translateY(6px); }
}

@keyframes s3-ring {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 0; transform: scale(3.4); }
}

/* Under the pointer: a row of the report darkens its bar; a plan button answers a click by doing
   the job (working, then done). */
.sov .track i,
.sov .val {
  transition: background-color 0.15s, color 0.15s;
}

.sov .row:not(.you):hover .track i {
  background: #a8a29e;
  transition-duration: 0s;
}

.sov .row:hover .val {
  color: var(--ink);
  transition-duration: 0s;
}

.plan .mini-btn {
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s, transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.plan .mini-btn:hover {
  background: #ffffff;
  transition-duration: 0s, 0s, 0.1s;
}

.plan .mini-btn:active {
  transform: scale(0.97);
}

.plan .mini-btn.busy {
  opacity: 0.72;
  cursor: default;
}

.plan .mini-btn.done {
  cursor: default;
}

/* Pen puts a button's label half a pixel above where a browser will lay text (it snaps lines to
   whole pixels). On screens with two or more device pixels per CSS pixel that half pixel is a
   whole device pixel, so the label can sit exactly where Pen has it and stay sharp. */
@media (min-resolution: 2dppx) {
  .plan .mini-btn > span {
    transform: translateY(-0.5px);
  }
}

.plan .mini-btn svg {
  flex: none;
  animation: s3-tick 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.plan .action.is-done b {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

@keyframes s3-tick {
  from { transform: scale(0); }
}

@media (prefers-reduced-motion: reduce) {
  .s03 .tile.play * {
    animation: none !important;
  }
}

.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  /* 1 px on top drops the label half a pixel, to where Pen draws it (measured: ink 9.5 px from
     the top, 10 from the bottom; the browser alone gives 9 and 10.5) */
  padding: 1px 10px 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
}

.mini-btn.outline {
  background: #ffffff;
  border: 1px solid #dcd8d1;
  color: var(--ink);
}

.mini-btn.outline .icon {
  color: var(--body);
}

.mini-btn.light {
  background: #fafafa;
  color: #111111;
}

.glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.fix {
  position: absolute;
  left: 79px;
  top: 84px;
  width: 352px;
  padding: 18px 20px;
}

.fix .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.fix .count {
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 500;
  color: #ffffff;
}

.fix .statement {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
}

.fix .statement i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b63;
}

.fix hr {
  margin: 14px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.fix h3 {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.fix p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- 04 four tracks ---------- */

.s04 .rails {
  padding: 80px 0;
}

.s04 .section-head {
  padding: 0 40px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tab {
  position: relative;
  height: 72px;
  padding: 2px 20px 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #f7f7f6;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: background-color 0.2s ease;
}

.tab + .tab {
  border-left: 1px solid var(--line);
}

.tab:hover {
  background: #fbfbfa;
}

.tab .progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: transparent;
}

.tab .progress i {
  display: block;
  width: 0;
  height: 2px;
  background: var(--ink);
}

.tab .copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tab .track {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--body);
}

.tab .title {
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tab[aria-selected="true"] {
  background: #ffffff;
  border-bottom-color: transparent;
}

.tab[aria-selected="true"] .progress {
  background: var(--line);
}

.tab[aria-selected="true"] .track {
  color: var(--ink);
}

.tab[aria-selected="true"] .title {
  color: var(--body);
}

.tab[aria-selected="true"] .progress i {
  animation: tab-progress var(--tab-time, 7s) linear forwards;
}

.tabs.paused .tab[aria-selected="true"] .progress i {
  animation-play-state: paused;
}

@keyframes tab-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.tool-window {
  margin: 48px 40px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.07);
}

.tool-window .screen {
  position: relative;
  aspect-ratio: 1440 / 915;
  overflow: hidden;
}

.tool-window .screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tool-window .screen img.on {
  opacity: 1;
}

/* ---------- 05 one plan ---------- */

.s05 .rails,
.s06 .rails {
  padding: 80px 40px;
}

.s05 .tiles {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.s05 .tile {
  height: 344px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tools {
  display: grid;
  gap: 8px;
}

.tool {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #e9e6e0;
  border-radius: 10px;
  background: #ffffff;
  font-size: 14px;
  color: var(--ink);
}

.tool img {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.s05 .tile .tile-line {
  color: var(--muted);
}

.plan .logo {
  color: #ffffff;
}

.plan h3 {
  margin-top: 28px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.64px;
  color: #fafafa;
}

.plan p,
.plan .count {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

.plan .btn {
  width: 100%;
  margin-top: 14px;
}

/* ---------- 06 bento ---------- */

.stack-wrap {
  margin-top: 56px;
}

/* Visuals exported from Pen carry their own inline styles. */
.pen h3 {
  font-weight: 400;
}

.pen a.pen-cta {
  text-decoration: none;
  transition: background-color 0.15s ease;
}

/* Buttons that come from Pen exports carry their colours inline, so hover is keyed to the colour they start with:
   a dark button lightens, a light button brightens. The text colour never changes. */

.pen a.pen-cta[style*="background-color: #111111"]:hover,
.pen [data-opens-plan][style*="background-color: #111111"]:hover {
  background-color: #2a2826 !important;
}

.pen [data-opens-plan][style*="background-color: #ffffff"]:hover {
  background-color: #f7f7f6 !important;
}

.pen [data-opens-plan] {
  transition: background-color 0.15s ease;
}

.bento {
  margin-top: 56px;
  display: grid;
  gap: 20px;
}

.update {
  position: absolute;
  width: 500px;
  height: 64px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.update .m {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--tint);
  display: grid;
  place-items: center;
}

.update .m img {
  width: 18px;
  height: 18px;
}

.update .t {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.update .t small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.ring {
  position: absolute;
  border: 1px solid #d9d4ca;
  border-radius: 50%;
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.country {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: #ffffff;
  border: 1px solid #e9e6e0;
  color: var(--body);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.country i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcbc4;
}

.country.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.country.on .tick {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
}

.invite {
  position: absolute;
  left: 99px;
  top: 163px;
  width: 88px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #e9e6e0;
  border-radius: 8px;
  background: #ffffff;
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.team,
.setup {
  position: absolute;
  left: 0;
  top: 18px;
  width: 100%;
  padding: 18px;
}

.team .members {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.team .stack {
  display: flex;
}

.role {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--tint);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.role .icon {
  color: var(--body);
}

.role.on {
  background: var(--ink);
  color: #ffffff;
}

.role.on .icon {
  color: #ffffff;
}

.setup .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.setup .head span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.setup .progress {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.setup .progress i {
  height: 6px;
  border-radius: 3px;
  background: #1a7f4b;
}

.step {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--tint);
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.step .state {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #1a7f4b;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.integrations {
  width: 596px;
  display: grid;
  gap: 10px;
}

.integrations .group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.integrations .label {
  width: 136px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.integration {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 44px;
  padding: 0 14px 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  white-space: nowrap;
}

.integration span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.integration img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.integrations .more {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 07 price ---------- */

.s07 .rails {
  padding: 80px 0 120px;
}

.s07 .section-head {
  padding: 0 40px;
}

.price {
  width: 100%;
  margin-top: 56px;
  border-collapse: collapse;
  table-layout: fixed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price col.label {
  width: 280px;
}

.price th,
.price td {
  height: 60px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  font-weight: 400;
  color: var(--body);
}

.price th:first-child,
.price td:first-child {
  border-left: 0;
  padding: 0 40px;
  font-size: 14px;
}

.price thead th {
  height: 64px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.price thead th > span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.price thead th img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.price .wuvr {
  background: var(--tile);
  color: var(--ink);
  font-weight: 500;
}

.price thead .wuvr {
  box-shadow: inset 0 2px 0 var(--ink);
}

.price tr.cost td {
  height: 132px;
  border-bottom: 0;
}

.price tr.cost td:first-child {
  font-weight: 500;
  color: var(--ink);
}

.price tr.cost small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.price .amount {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.72px;
}

.price .bar {
  display: block;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: #cfcbc4;
}

.price .wuvr .bar {
  background: var(--ink);
}

.support {
  margin-top: 24px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.support .who {
  display: flex;
  align-items: center;
  gap: 18px;
}

.support .photo {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  transform: scaleX(-1);
  box-shadow: 0 0 0 2px #ffffff;
  position: relative;
}

.support .photo img {
  position: absolute;
  width: 77.24px;
  height: 77.24px;
  left: -7.72px;
  top: -4.83px;
  max-width: none;
}

.support h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.support p {
  width: 560px;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}

/* ---------- 08 proof ---------- */

.s08 {
  padding: 112px 0;
  background: #0b0b0a;
}

.s08 .inner {
  width: 1040px;
  margin: 0 auto;
}

.s08 .h2 {
  color: #fafafa;
}

.s08 .h2 .soft {
  color: #fafafa;  /* both lines at full contrast, as every other section heading (Chris, 3 Dec) */
}

.proof {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 692px 336px;
  gap: 12px;
}

.quote-card {
  height: 440px;
  padding: 28px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-card.light {
  background: #efece8 url("assets/art/tile-light-dots.webp") center / cover no-repeat;
  color: var(--ink);
}

.quote-card.dark {
  padding: 27px;  /* 28 from the outer edge, as in Pen, with the 1px border */
  background: #1b1a18 url("assets/art/tile-dark-dots.webp") center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fafafa;
}

.quote-card blockquote {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.2;
}

.quote-card.light blockquote {
  width: 520px;
  font-size: 32px;
  letter-spacing: -0.64px;
}

.quote-card.dark blockquote {
  font-size: 28px;
  letter-spacing: -0.56px;
}

.quote-card .bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 18px;
}

.attribution .rule {
  width: 1px;
  height: 36px;
  background: #d6d1c8;
}

.quote-card.dark .attribution .rule {
  background: rgba(255, 255, 255, 0.2);
}

.attribution b {
  display: block;
  font-weight: 500;
}

.attribution span {
  display: block;
  margin-top: 3px;
  color: var(--body);
}

.quote-card.dark .attribution span {
  color: rgba(255, 255, 255, 0.65);
}

.result {
  text-align: right;
}

.result .n {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.6px;
}

.result .l {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.3;
  color: var(--body);
}

/* The dark card: its result sits above the name, on the left (Pen: 28px apart, label 260 wide). */
.quote-card .stack {
  display: grid;
  gap: 28px;
}

.quote-card.dark .result {
  text-align: left;
}

.quote-card.dark .result .l {
  width: 260px;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- 09 FAQ ---------- */

.s09 .rails {
  padding: 120px 40px 80px;
}

.s09 .cols {
  display: flex;
  justify-content: space-between;
}

.faq {
  width: 620px;
}

.faq .list {
  border-bottom: 1px solid var(--line);
}

.faq .item {
  border-top: 1px solid var(--line);
}

.faq .trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 0 20px;  /* with the 1px rule above, the question sits 20px under the line, as in Pen */
  font-size: 16px;
  line-height: 21px;
  font-weight: 500;
  color: var(--ink);
}

.faq .trigger .icon {
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq .item.open .trigger {
  padding-bottom: 10px;
}

.faq .item.open .trigger .icon {
  transform: rotate(180deg);
}

.faq .panel {
  display: none;
  width: 560px;
  padding-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
}

.faq .item.open .panel {
  display: block;
}

.faq .more {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.faq .more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}

/* FAQ in groups (3 Dec, Pen "E · 09 · iteration 2"): a small label above each group, a rule under each
   group's last question, and "More questions?" under the heading on the left. */
.s09 .h2 .soft {
  color: var(--ink);
}

.faq-side .more {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.faq-side .more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}

.faq-group {
  margin: 0;
  padding: 36px 0 10px;
  font-size: 13px;
  line-height: 17px;
  color: #a8a39c;
}

.faq-group:first-child {
  padding-top: 0;
}

.faq .item:has(+ .faq-group) {
  border-bottom: 1px solid var(--line);
}

/* ---------- 10 close ---------- */

.s10 .rails {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ticks {
  position: relative;
}

.ticks::before,
.ticks::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background: #cfcac3;
}

.ticks::before {
  left: 8px;
}

.ticks::after {
  right: 8px;
}

.s10 .message {
  padding: 80px 0 84px;
  text-align: center;
}

.s10 .message p {
  width: 460px;
  margin: 14px auto 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
}

.s10 .buttons {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.s10 .buttons .btn {
  width: 180px;
}

.s10 .buttons .btn-secondary {
  background: rgba(0, 0, 0, 0.03);
}

.s10 .lines {
  height: 170px;
  border-top: 1px solid var(--line);
  background: url("assets/art/rising-lines-white.png") left top / 1118px 170px no-repeat;
}

.s10 .lines::before,
.s10 .lines::after {
  top: 8px;
}

/* Closing (3 Dec, Pen "E · 10 · iteration 2"): the hero's website field in place of the two buttons, "Prefer to
   talk first?" under it, then the prompts Wuvr starts with; the rising lines follow straight after, as in Pen. */
.s10 .message {
  padding-bottom: 0;
}

/* the sub keeps the site's 14px but Pen's 22px line, so everything below sits where Pen puts it */
.s10 .message > p:first-of-type {
  width: 560px;
  line-height: 22px;
}

/* no rule above the rising lines (Chris, 3 Dec): they follow the prompts directly */
.s10 .lines {
  border-top: 0;
}

.s10 .site-field {
  margin: 28px auto 0;
}

.s10 .message .talk {
  width: auto;
  margin: 16px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 18px;
  color: var(--muted);
}

.s10 .message .talk a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
}

.s10 .starts {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.s10 .message .starts-label {
  width: auto;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.s10 .starts-label .discs {
  display: flex;
  gap: 3px;
}

.s10 .starts-label .discs span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
}

.s10 .starts-label .discs img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.s10 .starts-prompts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}

.s10 .starts-prompts li {
  height: 34px;
  padding: 0 14px 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 100px;
  background: #f5f4f2;
  font-size: 13px;
  color: #3d3a36;
}

.s10 .starts-prompts .icon {
  color: var(--muted);
}

/* ---------- 11 footer ---------- */
/* Pen "F · 11 · footer iteration 2" (3 Dec): a brand row on top, a rule, then four columns spread across. */

.site-footer {
  padding-top: 80px;
}

.site-footer .brand-row {
  width: 1120px;
  margin: 0 auto;
  padding-bottom: 39px;  /* 40 in Pen, whose rule is drawn inside the frame */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.site-footer .brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-footer .brand .logo {
  height: 23px;
}

.site-footer .brand .rule {
  width: 1px;
  height: 18px;
  background: var(--line);
}

.site-footer .brand p {
  margin: 0;
  font-size: 14px;
  line-height: 18px;
  color: var(--body);
}

.site-footer .tracks {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.site-footer .discs {
  display: flex;
  gap: 3px;
}

.site-footer .discs span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
}

.site-footer .discs img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.site-footer .cols {
  width: 1120px;
  margin: 0 auto;
  padding-top: 48px;
  display: flex;
  justify-content: space-between;
}

.site-footer h3 {
  margin-bottom: 26px;  /* Pen: 46 from the column title's top to the first link */
  font-family: var(--display);
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--ink);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 14px;
  line-height: 18px;
}

.site-footer li a:hover {
  color: var(--ink);
}

.site-footer li a.all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink);
}

.scene {
  height: 312px;
  margin-top: 72px;
  background: #0b0a09 url("assets/art/footer-scene-v3.webp") center top / auto 312px no-repeat;
  display: flex;
  align-items: flex-end;
}

.scene .legal {
  width: 100%;
  max-width: 1440px;
  height: 44px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.scene .legal nav {
  display: flex;
  gap: 24px;
}

.scene .legal a:hover {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }

  .tab[aria-selected="true"] .progress i {
    animation: none;
    width: 100%;
  }
}

/* The rails are 1118px inside their borders; let each Pen tile take its column's width. */
.pen > div {
  width: 100% !important;
}

/* ---------- Pricing page ---------- */

.p-hero .rails {
  padding: 80px 40px;
  border-bottom: 1px solid var(--line);
}

.p-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 60px;
  letter-spacing: -1.12px;
  color: var(--ink);
}

.p-hero h1 span {
  display: block;
  color: var(--muted);
}

.p-hero .sub {
  margin: 26px 0 0;
  color: var(--body);
}

.p-breakdown .rails {
  padding: 80px 40px;
  border-bottom: 1px solid var(--line);
}

.p-breakdown .section-head {
  padding: 0;
}

.pen [data-opens-plan] {
  cursor: pointer;
}

.fx-note {
  margin: 14px 40px 0;
  font-size: 12px;
  color: var(--muted);
}

/* Custom plan request: a dialog opened from "Talk to us". */

.plan-dialog {
  width: 940px;
  max-width: calc(100vw - 48px);
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16), 0 32px 80px rgba(0, 0, 0, 0.28);
}

.plan-dialog[open] {
  display: flex;
}

.plan-dialog::backdrop {
  /* the page stays in view behind the form, blurred (Chris, 3 Dec: "make the background blur when the form is opened") */
  background: rgba(20, 17, 15, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.plan-dialog .pitch {
  flex: none;
  width: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  background: #171614 url("assets/art/tile-dark-grid.webp") center / cover;
  color: #fafafa;
}

.choice {
  height: 44px;
  margin-top: 6px;
  padding: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: 10px;
  background: #f4f2ee;
}

.choice label {
  position: relative;
  font-weight: 400;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
}

.choice span {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  font-size: 14px;
  color: var(--body);
}

.choice input:checked + span {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  color: var(--ink);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--ink);
}

/* ---------- Product pages ---------- */

.subnav {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.subnav .inner {
  width: 1284px;
  height: 43px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.subnav a:hover {
  color: var(--ink);
}

.subnav .current {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: var(--ink);
}

.subnav .current::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page, #3b82f6);
}

.product .rails {
  border-bottom: 1px solid var(--line);
}

.pp-copy {
  width: 548px;
}

.pp-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 42px;
  line-height: 46px;
  letter-spacing: -0.84px;
  color: var(--ink);
}

.pp-copy h1 span {
  display: block;
  color: var(--muted);
}

.pp-copy .sub {
  width: 520px;
  margin: 22px 0 0;
  line-height: 21px;
  color: var(--body);
}

.pp-copy .site-field {
  margin-top: 28px;
}

.pp-tile {
  width: 480px;
}

/* The home hero leaves room under the grid for its floor; a product page closes straight after it. */

@keyframes fopt-progress {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

/* ---------- Motion, measured from linear.app (docs/design/linear-motion-study.md) ----------
   Their rules: hover changes fill or brightness and never lifts; pressed is scale(.97);
   highlights arrive at once and leave in 150ms; nothing reveals on scroll. */

:root {
  --speed-quick: 0.1s;
  --speed-regular: 0.25s;
  --speed-highlight-out: 0.15s;
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-cubic: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

html {
  scroll-padding-top: 89px;
}

/* Buttons: one 160ms transition on everything that can change, and a 3% press. */
.btn,
.pen a.pen-cta,
.pen [data-opens-plan] {
  transition: border-color 0.16s var(--ease-out-quad), background-color 0.16s var(--ease-out-quad),
    color 0.16s var(--ease-out-quad), box-shadow 0.16s var(--ease-out-quad), opacity 0.16s var(--ease-out-quad),
    filter 0.16s var(--ease-out-quad), transform 0.16s var(--ease-out-quad);
}

.btn:active,
.pen a.pen-cta:active,
.pen [data-opens-plan]:active {
  transform: scale(0.97);
}

/* Focus: a 1px ring, 2px out, for keyboard focus only, with no transition. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.site-field {
  transition: none;
}

.site-field:focus-within {
  border-color: #dcd8d1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.06);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

/* Header: fixed, with the page blurred behind it. It does not change on scroll. */
body {
  padding-top: 73px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

/* Nav links: the colour changes and a soft pill appears behind the word, in 100ms. */
.nav {
  gap: 4px;
}

.nav > a:not(.btn),
.menu-trigger {
  position: relative;
  isolation: isolate;
  padding: 0 10px;
  transition: color var(--speed-quick) var(--ease-out-quad);
}

.nav > a:not(.btn) {
  height: 32px;
  display: inline-flex;
  align-items: center;
}

.nav > a:not(.btn)::before,
.menu-trigger::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: -1;
  height: 32px;
  margin-top: -16px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0);
  transition: background-color var(--speed-quick) var(--ease-out-quad);
}

.nav > a:not(.btn):hover::before,
.menu-trigger:hover::before,
.menu-trigger[aria-expanded="true"]::before {
  background: rgba(0, 0, 0, 0.05);
}

.nav .divider {
  margin: 0 10px;
}

.nav .btn {
  margin-left: 10px;
}

.nav .btn + .btn {
  margin-left: 12px;
}

/* Menus: fade and grow from 98% in 180ms, from the top edge. Moving from one menu to the other
   slides the new content in 48px from that side instead. */
.menu-panel {
  opacity: 0;
  transform: scale(0.98);
  transform-origin: top;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.menu-panel.is-open {
  opacity: 1;
  transform: none;
}

.menu-panel.slide-in {
  transform: none;
}

.menu-panel.slide-in > * {
  animation: menu-slide 0.18s var(--ease-in-out-quad) both;
}

@keyframes menu-slide {
  from {
    opacity: 0;
    transform: translateX(var(--slide, 0));
  }
}

/* A highlight arrives at once and leaves in 120 to 150ms. */
.mi {
  transition: background-color 0.12s var(--ease-out-quad);
}

a.mi:hover {
  transition-duration: 0s;
}

.s07 tbody td:not(.wuvr) {
  transition: background-color var(--speed-highlight-out) var(--ease-out-cubic);
}

.s07 tbody tr:hover td:not(.wuvr) {
  background-color: rgba(0, 0, 0, 0.02);
  transition-duration: 0s;
}

/* Links with an arrow brighten in 100ms and settle back in 200ms. The arrow stays put. */

.site-footer li a,
.subnav a {
  transition: color var(--speed-quick) ease;
}

/* Tabs and the feature list: 100ms colour changes and a 100ms cross-fade of the picture. */
.tab,
.tab .track,
.tab .title {
  transition: background-color var(--speed-quick) var(--ease-out-cubic), color var(--speed-quick) var(--ease-out-cubic);
}

.tool-window .screen img {
  transition: opacity var(--speed-quick) var(--ease-out-cubic);
}

.faq .trigger .icon,
.accordion .trigger .icon {
  transition: transform var(--speed-regular) var(--ease-out-quad);
}

/* Dialog: opens from 96% in 175ms. */
.plan-dialog[open] {
  animation: dialog-in 0.175s var(--ease-out-quad);
}

.plan-dialog[open]::backdrop {
  animation: fade-in 0.175s var(--ease-out-quad);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* Hero on load: each line clears from a 10px blur while rising a fifth of its height, over one second.
   Headline lines start at 400 and 500ms, the sub-headline at 600ms; the picture's frame fades first,
   its contents later. */
.hero-copy h1 .l1,
.pp-copy h1 .l1 {
  color: var(--ink);
}

.hero-copy h1 span,
.hero-copy .sub,
.hero-copy .site-field,
.hero-copy .reassure,
.pp-copy h1 span,
.pp-copy .sub,
.pp-copy .site-field,
.pp-copy .reassure {
  animation: line-in 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s both;
}

.hero-copy h1 span + span,
.pp-copy h1 span + span {
  animation-delay: 0.5s;
}

.hero-copy .sub,
.pp-copy .sub {
  animation-delay: 0.6s;
}

.hero-copy .site-field,
.pp-copy .site-field {
  animation-delay: 0.7s;
}

.hero-copy .reassure,
.pp-copy .reassure {
  animation-delay: 0.8s;
}

@keyframes line-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20%);
  }
}

.hero .stage,
.pp-tile {
  animation: fade-in 0.5s ease-out 0.2s both;
}

.hero .stage .app img {
  animation: fade-in 1.5s var(--ease-in-out-quad) 1.3s both;
}

/* the live window: frame first, then its contents, then the chapters; "backwards" so the window's
   own fade between loops still works afterwards */
.hero .stage .aw-scale {
  animation: fade-in 1.5s var(--ease-in-out-quad) 1.3s backwards;
}

.hero .aw-chapters {
  animation: fade-in 0.6s ease-out 2.4s backwards;
}

/* Reduced motion: as Linear does, the load reveal and the menu animation go; hover and press stay. */
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1 span,
  .hero-copy .sub,
  .hero-copy .site-field,
  .hero-copy .reassure,
  .pp-copy h1 span,
  .pp-copy .sub,
  .pp-copy .site-field,
  .pp-copy .reassure,
  .hero .stage,
  .hero .stage .app img,
  .hero .stage .aw-scale,
  .hero .aw-chapters,
  .pp-tile,
  .menu-panel.slide-in > *,
  .plan-dialog[open],
  .plan-dialog[open]::backdrop {
    animation: none;
  }

  .menu-panel {
    transition: none;
  }
}

/* ---------- Product pages, chapter structure (Pen "PP4") ---------- */

/* The hero card fades out towards the bottom. */

.ch .rails {
  padding: 96px 40px 88px;
}

.ch-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.ch-head .h2 {
  width: 440px;
}

.ch-lead {
  width: 500px;
  padding-top: 6px;
}

.ch-lead p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
  color: #3d3935;
}

.ch-stage {
  margin-top: 56px;
}

.ch-metrics {
  margin-top: 56px;
}

.ch-metrics h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.ch-metrics dl {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.ch-metrics dl div {
  padding: 24px 22px 26px;
}

.ch-metrics dl div + div {
  border-left: 1px solid var(--line);
}

.ch-metrics dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.ch-metrics dt::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--page);
}

.ch-metrics dd {
  margin: 8px 0 0;
  line-height: 21px;
  color: var(--body);
}

/* Related pages: four tiles. A hovered tile turns white and its icon takes that page's colour. */
.rel .rails {
  padding: 88px 40px;
}

.rel-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rel-card {
  height: 228px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 16px;
  background: url("assets/art/tile-grid-dots-soft.png") center / cover, linear-gradient(#fafaf9, #f3f3f2);
  transition: border-color var(--speed-highlight-out) var(--ease-out-quad), box-shadow var(--speed-highlight-out) var(--ease-out-quad),
    transform 0.16s var(--ease-out-quad);
}

.rel-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: #a8a39c;
}

.rel-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.5px solid #ebe8e3;
  border-radius: 9px;
  background: #ffffff;
  color: var(--ink);
}

.rel-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rel-copy b {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.rel-copy span {
  font-family: var(--display);
  font-size: 21px;
  line-height: 26px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.rel-card:hover {
  background: #ffffff;
  border-color: #e6e3dd;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.07);
  transition-duration: 0s;
}

.rel-card:hover .rel-top {
  color: var(--ink);
}

.rel-card:hover .rel-icon {
  color: var(--c);
}

.rel-card:hover .rel-copy b {
  color: var(--ink);
}

.rel-card:active {
  transform: scale(0.99);
}

/* Exported tables can run a few pixels wider than their window; keep them inside its rounded edge. */
.ch-stage .pen > div > div[style*="flex-direction: column"] {
  overflow: hidden;
}

/* ...and size each row of an exported table to its window, padding included. */
.ch-stage .pen > div > div[style*="flex-direction: column"] > div {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* A pair of small tiles is one wide and one narrow dark tile, as drawn. */

.ch-figs .pen:has(> div[style*="tile-dark-grid"]) {
  flex: 404 1 0;
}

/* ---------- Learn, Help centre and Changelog (Pen "R · ...") ---------- */

.resource .rails {
  border-bottom: 1px solid var(--line);
}

.resource [hidden] {
  display: none !important;
}

.r-top {
  padding: 77px 40px 72px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.r-hero .pp-copy {
  width: 640px;
}

.r-hero .pp-copy .sub {
  width: 540px;
  font-size: 16px;
  line-height: 24px;
  text-wrap: balance;
}

.r-hero.with-tile .r-top {
  padding: 67px 40px 58px;
}

.r-hero.with-tile .pp-copy {
  width: 548px;
  margin-top: 10px;
}

.r-hero .popular {
  margin-top: 14px;
  display: flex;
  gap: 16px;
  font-size: 13px;
  line-height: 20px;
  animation: line-in 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.8s both;
}

.r-hero .popular span {
  color: #a8a39c;
}

.r-hero .popular a,
.r-rss,
.r-tabs button {
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.r-hero .popular a:hover,
.r-rss:hover,
.r-tabs button:hover {
  color: var(--ink);
  transition-duration: 0s;
}

/* The row under the hero: filters on the left, search or the feed on the right. */
.r-filters {
  height: 52px;
  padding: 0 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
}

.r-tabs {
  height: 100%;
  display: flex;
  gap: 26px;
}

.r-tabs button {
  height: 100%;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  color: var(--body);
}

.r-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--ink);
  font-weight: 500;
  color: var(--ink);
}

.r-search {
  width: 260px;
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #dcd8d1;
  border-radius: 10px;
  background: #ffffff;
  color: #a8a39c;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.r-search:focus-within {
  border-color: #8f8a83;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.r-search input,
.resource .site-field input {
  -webkit-appearance: none;
  appearance: none;
}

.r-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
}

.r-search input::placeholder {
  color: #a8a39c;
}

.r-rss {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--body);
}

.r-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.r-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink);
  transition: filter 0.2s var(--ease-out-quart);
}

.r-more:hover {
  filter: brightness(1.3);
  transition-duration: var(--speed-quick);
}

.r-empty .rails,
.h-none {
  padding: 64px 40px;
  color: var(--body);
}

.h-none {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.r-empty b,
.h-none b {
  font-weight: 500;
  color: var(--ink);
}

.r-empty button,
.h-none button {
  margin-left: 8px;
  font-weight: 500;
  color: var(--ink);
}

/* Learn: guides. The featured guide spans two columns; the picture sits in an inset frame. */
.r-guides .rails {
  padding: 48px 40px 96px;
}

.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 24px;
}

.g-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.g-card b {
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 21px;
  line-height: 1.22;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.g-line {
  margin-top: 6px;
  line-height: 21px;
  color: var(--body);
}

.g-meta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  line-height: 16px;
  color: var(--muted);
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.g-meta i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c);
}

.g-pic {
  transition: filter var(--speed-highlight-out) var(--ease-out-quad);
}

.g-card:hover .g-meta {
  color: var(--ink);
  transition-duration: 0s;
}

.g-card:hover .g-pic {
  filter: brightness(0.97);
  transition-duration: 0s;
}

.g-featured {
  grid-column: span 2;
  flex-direction: row;
  gap: 8px;
  height: 330px;
  padding: 7px;
  border: 1px solid #e6e3dd;
  border-radius: 16px;
  transition: border-color var(--speed-highlight-out) var(--ease-out-quad);
}

.g-featured:hover {
  border-color: #cfcac3;
  transition-duration: 0s;
}

.g-featured:hover .g-pic {
  filter: none;
}

.g-copy {
  flex: 1;
  min-width: 0;
  padding: 26px 24px 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.g-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.g-featured b {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.g-featured .g-line {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
}

.g-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g-bottom .g-meta {
  margin: 0;
}

.g-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--ink);
}

.g-featured .g-pic {
  flex: none;
  width: 340px;
  height: 100%;
}

.g-featured .g-pic .pen {
  height: 100%;
}

/* Learn: glossary, six ruled cells. */
.r-glossary .rails,
.r-tools .rails {
  padding: 96px 40px;
}

.terms {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.term {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.term:nth-child(3n + 1) {
  padding-left: 0;
  border-left: 0;
}

.term .word {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.term b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.term small {
  font-size: 13px;
  color: var(--muted);
}

.term .def {
  line-height: 21px;
  color: var(--body);
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.term:hover .def {
  color: var(--ink);
  transition-duration: 0s;
}

.r-tools .rel-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Help centre. */
.h-start .rails {
  padding: 88px 40px 96px;
}

.h-cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.h-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #ebe8e3;
  border-radius: 12px;
  background: #fafaf9;
  transition: background-color var(--speed-highlight-out) var(--ease-out-quad), border-color var(--speed-highlight-out) var(--ease-out-quad),
    transform 0.16s var(--ease-out-quad);
}

.h-card:hover {
  border-color: #dcd8d1;
  background: #ffffff;
  transition-duration: 0s;
}

.h-card:active {
  transform: scale(0.99);
}

.h-card-top {
  height: 83px;
  padding: 19px 19px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #ebe8e3;
  color: var(--ink);
}

.h-card-top .icon + .icon {
  color: #a8a39c;
}

.h-card-copy {
  min-height: 111px;
  padding: 16px 19px 19px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.h-card-copy b,
.h-list b {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--ink);
}

.h-card-copy span {
  line-height: 1.45;
  color: var(--body);
}

.h-all {
  scroll-margin-top: 73px;
}

.h-all .rails {
  padding: 96px 40px 56px;
}

.h-groups {
  margin-top: 32px;
}

.h-group {
  padding: 40px 0;
  display: flex;
  align-items: flex-start;
  border-top: 1px solid var(--line);
}

.h-track {
  flex: none;
  width: 340px;
}

.h-track h3 {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.h-track p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.h-list {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.h-list li + li {
  border-top: 1px solid #eeece8;
}

.h-list a {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.h-list li:first-child a {
  padding-top: 0;
}

.h-list li:last-child a {
  padding-bottom: 0;
}

.h-list a > span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.h-list a > span > span {
  color: var(--body);
}

.h-list .icon {
  color: #a8a39c;
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.h-list a:hover .icon {
  color: var(--ink);
  transition-duration: 0s;
}

/* Changelog: the date stays in view beside its release. */
.releases .rails {
  padding: 0 40px;
}

.release {
  padding: 64px 0;
  display: flex;
  align-items: flex-start;
}

.release + .release {
  border-top: 1px solid var(--line);
}

.r-date {
  position: sticky;
  top: 97px;
  flex: none;
  width: 300px;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--body);
}

.r-date i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcbc4;
}

.release.latest .r-date {
  font-weight: 500;
  color: var(--ink);
}

.release.latest .r-date i {
  background: var(--ink);
}

.r-entry {
  flex: 1;
  min-width: 0;
}

.r-entry h2 {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.r-pic {
  margin-top: 24px;
}

.changes {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.r-entry h2 + .changes {
  margin-top: 16px;
}

.changes li {
  padding: 13px 0;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eeece8;
  font-size: 15px;
  line-height: 1.45;
  color: #3d3935;
}

.changes li:last-child {
  border-bottom: 0;
}

.changes .kind {
  flex: none;
  width: 104px;
  display: flex;
}

.changes .kind i {
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

.tag-new {
  background: #e9f6ee;
  color: #1a7f4b;
}

.tag-improved {
  background: #eaf1fe;
  color: #1d4ed8;
}

.tag-fixed {
  background: #f4f2ee;
  color: #57534d;
}

/* ---------- Prices by country ---------- */

/* A UK visitor's prices are swapped to pounds as the page finishes loading; until then they are held back,
   so dollars never show first. Visitors elsewhere are not affected. */
.currency-pending .money,
.currency-pending .s07 table.price tbody {
  visibility: hidden;
}

/* ---------- A guide and a help article (Pen "R · Guide · ...", "R · Help article · ...") ---------- */

/* Guide hero: the title at the top of the left side, the meta line level with the foot of the picture. */
.a-hero.with-tile .r-top {
  padding-bottom: 64px;
  align-items: stretch;
}

.a-hero .pp-copy {
  display: flex;
  flex-direction: column;
}

.a-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.a-meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin-right: 10px;
  border-radius: 50%;
  background: #c9c5be;
  vertical-align: middle;
}

.a-hero .a-meta {
  margin-top: auto;
  animation: line-in 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.7s both;
}

.a-short {
  height: 404px;
  padding: 44px 40px;
  border-radius: 16px;
  background: url("assets/art/tile-grid-dots-soft.png") center / cover, linear-gradient(#fafaf9, #f3f3f2);
}

.a-card {
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 0.5px #ebe8e3, 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px rgba(0, 0, 0, 0.08);
}

.a-card p {
  height: 46px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a-card p b {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.a-card p i {
  height: 22px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  background: #f4f2ee;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--body);
}

.a-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-card a {
  height: 45px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f0ede8;
  color: var(--ink);
  transition: background-color var(--speed-highlight-out) var(--ease-out-quad);
}

.a-card a span {
  width: 10px;
  font-size: 13px;
  color: #a8a39c;
}

.a-card a .icon {
  margin-left: auto;
  color: #c9c5be;
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.a-card a:hover {
  background: #fafaf9;
  transition-duration: 0s;
}

.a-card a:hover .icon {
  color: var(--ink);
  transition-duration: 0s;
}

/* The body: a side column that stays in view, and the article. */
.a-body .rails {
  display: flex;
  align-items: stretch;
}

.a-side {
  flex: none;
  width: 300px;
  padding: 56px 24px 56px 40px;
}

.a-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  line-height: 18px;
  color: var(--ink);
  transition: filter 0.2s var(--ease-out-quart);
}

.a-back:hover {
  filter: brightness(1.3);
  transition-duration: var(--speed-quick);
}

.a-stick {
  position: sticky;
  top: 105px;
}

.a-side .a-stick {
  margin-top: 40px;
}

.a-label {
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.a-toc {
  display: flex;
  flex-direction: column;
}

.a-toc a {
  padding: 7px 0 7px 14px;
  border-left: 2px solid #e9e6e0;
  line-height: 20px;
  color: var(--body);
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.a-toc a:hover {
  color: var(--ink);
  transition-duration: 0s;
}

.a-toc a[aria-current] {
  border-left-color: var(--ink);
  font-weight: 500;
  color: var(--ink);
}

.a-article {
  flex: 1;
  min-width: 0;
  padding: 56px 60px 96px;
  border-left: 1px solid var(--line);
}

.a-article > p {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: #3d3935;
}

.a-article > p + p {
  margin-top: 18px;
}

.a-article > .lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
}

.a-article h2 {
  margin: 64px 0 18px;
  display: flex;
  gap: 14px;
  scroll-margin-top: 16px; /* on top of the page's scroll-padding: level with the side column */
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.a-article .lead + h2 {
  margin-top: 56px;
}

.a-article h2 span {
  color: #a8a39c;
}

.a-terms {
  margin: 24px 0 0;
  border-top: 1px solid #f0ede8;
  font-size: 15px;
  line-height: 1.5;
}

.a-terms div {
  padding: 13px 0;
  display: flex;
  gap: 16px;
  border-bottom: 1px solid #f0ede8;
}

.a-terms dt {
  flex: none;
  width: 140px;
  font-weight: 500;
  color: var(--ink);
}

.a-terms dd {
  margin: 0;
  color: var(--body);
}

.a-note {
  margin-top: 28px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid #ebe8e3;
  border-radius: 12px;
  background: #fafaf9;
}

.a-note b {
  font-size: 13px;
  line-height: 17px;
  font-weight: 500;
  color: var(--ink);
}

.a-note p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
}

.a-note .r-more {
  margin-top: 4px;
  line-height: 18px;
}

.a-figure {
  margin: 32px 0;
}

.a-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.a-table {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid #ebe8e3;
  border-radius: 12px;
}

.a-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.5;
}

.a-table th,
.a-table td {
  padding: 14px 18px 14px 0;
  vertical-align: top;
  font-weight: 400;
  color: var(--body);
}

.a-table th:first-child {
  width: 186px;
  padding-left: 18px;
}

.a-table td:nth-child(2) {
  width: 228px;
}

.a-table thead th {
  height: 40px;
  padding-top: 0;
  padding-bottom: 0;
  vertical-align: middle;
  background: #fafaf9;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.a-table tbody tr {
  border-top: 1px solid #f0eeea;
}

.a-table tbody tr:first-child {
  border-top-color: #eeece8;
}

.a-table tbody th {
  font-weight: 500;
  color: var(--ink);
}

.a-checks {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  font-size: 16px;
  line-height: 1.6;
  color: #3d3935;
}

.a-checks li {
  display: flex;
  gap: 12px;
}

.a-checks .icon {
  flex: none;
  margin-top: 4px;
  color: #1a7f4b;
}

.a-quote {
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.a-next {
  margin-top: 72px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.a-next b {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--ink);
}

.a-next .line {
  font-size: 15px;
  line-height: 20px;
  color: var(--body);
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.a-next:hover .line {
  color: var(--ink);
  transition-duration: 0s;
}

.a-more .rails {
  padding: 88px 40px 96px;
}

.a-more .g-grid {
  margin-top: 44px;
}

/* Help article: a bar under the header, then the article list, the article and its contents. */
.ha-bar .rails {
  height: 56px;
  padding: 0 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.crumbs i {
  font-style: normal;
  color: #c9c5be;
}

.crumbs a {
  transition: color var(--speed-highlight-out) var(--ease-out-quad);
}

.crumbs a:hover {
  color: var(--ink);
  transition-duration: 0s;
}

.crumbs b {
  font-weight: 500;
  color: var(--ink);
}

.ha-nav {
  flex: none;
  width: 278px;
  padding: 40px 20px 56px 28px;
}

.ha-nav .a-stick {
  top: 97px;
  max-height: calc(100vh - 113px);
  overflow-y: auto;
}

.ha-nav p {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}

.ha-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ha-nav ul + p {
  margin-top: 22px;
}

.ha-nav a {
  height: 34px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  color: var(--body);
  transition: background-color var(--speed-highlight-out) var(--ease-out-quad), color var(--speed-highlight-out) var(--ease-out-quad);
}

.ha-nav a:hover {
  background: #f6f4f1;
  color: var(--ink);
  transition-duration: 0s;
}

.ha-nav a[aria-current] {
  background: #f1efeb;
  font-weight: 500;
  color: var(--ink);
}

.ha-pane {
  flex: 1;
  min-width: 0;
  padding: 48px 40px 96px 56px;
  display: flex;
  align-items: stretch;
  gap: 48px;
  border-left: 1px solid var(--line);
}

.ha .a-article {
  flex: none;
  width: 536px;
  padding: 0;
  border: 0;
}

.ha-toc {
  flex: 1;
  min-width: 0;
  padding-top: 14px;
}

.ha .a-article h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.ha .a-article h1 span {
  display: block;
  color: var(--muted);
}

.ha .a-article h1 .l1 {
  color: var(--ink);
}

.ha .a-article > p {
  font-size: 16px;
}

.ha .a-article > .summary {
  margin-top: 18px;
  font-size: 17px;
  color: var(--body);
}

.ha .a-article > .a-meta {
  margin-top: 16px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.ha .a-article h2 {
  margin: 48px 0 14px;
  font-size: 24px;
}

.ha .a-meta + h2 {
  margin-top: 44px;
}

.ha .a-terms {
  margin-top: 0;
}

.ha .a-terms dt {
  width: 96px;
}

.a-steps {
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  counter-reset: step;
  font-size: 16px;
  line-height: 22px;
  color: #3d3935;
}

.a-steps li {
  display: flex;
  gap: 12px;
  counter-increment: step;
}

.a-steps li::before {
  content: counter(step);
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1efeb;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}

.ha .a-figure {
  margin: 28px 0 0;
}

.ha .a-note {
  margin-top: 24px;
}

.a-feedback {
  margin-top: 56px;
  min-height: 76px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink);
}

.a-feedback div {
  display: flex;
  gap: 8px;
}

.a-feedback button {
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dcd8d1;
  border-radius: 14px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background-color var(--speed-highlight-out) var(--ease-out-quad), transform 0.16s var(--ease-out-quad);
}

.a-feedback button .icon {
  color: var(--body);
}

.a-feedback button:hover {
  background: #f6f4f1;
  transition-duration: 0s;
}

.a-feedback button:active {
  transform: scale(0.97);
}

.a-prevnext {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.a-prevnext a {
  flex: 1;
  min-width: 0;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid #ebe8e3;
  border-radius: 12px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
  transition: border-color var(--speed-highlight-out) var(--ease-out-quad), background-color var(--speed-highlight-out) var(--ease-out-quad),
    transform 0.16s var(--ease-out-quad);
}

.a-prevnext a.next {
  align-items: flex-end;
  text-align: right;
}

.a-prevnext b {
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
}

.a-prevnext a:hover {
  border-color: #dcd8d1;
  background: #fafaf9;
  transition-duration: 0s;
}

.a-prevnext a:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .a-hero .a-meta {
    animation: none;
  }
}

/* Pictures arrive when scrolled to (main.js). Until then their moving parts are held back; each
   part then comes in a step after the one before and ends on its own styles (fill: backwards).
   "translate" is its own property, so a part that is rotated or placed by a transform keeps it. */
.pending .arr,
.s2-state.pending .card,
.s03 .tile.pending .sov .row,
.s03 .tile.pending .sov .foot,
.s03 .tile.pending .plan .action,
.s03 .tile.pending .plan .moved {
  opacity: 0;
}

.arrive .arr {
  animation: arr-in 0.55s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--i) * 70ms);
}

@keyframes arr-in {
  from { opacity: 0; translate: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .pending .arr,
  .s2-state.pending .card,
  .s03 .tile.pending * {
    opacity: 1 !important;
  }

  .arrive .arr {
    animation: none;
  }
}

/* Section 5 (3 Dec): both heading lines in ink, as in Pen. */
.s05 .h2 .soft {
  color: var(--ink);
}

/* The stack arriving: cards fall onto the deck (they speed up on the way down, land, and settle
   with a small bounce), then each gets its pin. "translate", "rotate" and "scale" are their own
   properties, so the tilt each card has in the design is kept. */
.s05 .pending .fall,
.s05 .pending .pin,
.s05 .pending .pile-arrow,
.s05 .pending .pile-plan {
  opacity: 0;
}

.s05 .falling .fall {
  animation: card-fall 0.66s linear backwards;
  animation-delay: calc(var(--i) * 110ms);
}

.s05 .falling .pin {
  animation: pin-in 0.44s linear backwards;
  animation-delay: calc(var(--i) * 110ms + 560ms);
}

.s05 .falling .pile-arrow {
  animation: pile-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--n) * 110ms + 620ms);
}

.s05 .falling .pile-plan {
  animation: pile-rise 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--n) * 110ms + 760ms);
}

.s05 .falling .plan-pin {
  animation-delay: calc(var(--n) * 110ms + 1300ms);
}

@keyframes card-fall {
  0% { opacity: 0; translate: 0 -96px; rotate: var(--tilt); scale: 1.08; animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  20% { opacity: 1; }
  60% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; animation-timing-function: cubic-bezier(0.2, 0.6, 0.35, 1); }
  78% { translate: 0 -5px; rotate: calc(var(--tilt) * -0.12); animation-timing-function: cubic-bezier(0.5, 0, 0.8, 0.5); }
  100% { translate: 0 0; rotate: 0deg; scale: 1; }
}

@keyframes pin-in {
  0% { opacity: 0; translate: 5px -24px; scale: 1.5; animation-timing-function: cubic-bezier(0.6, 0, 1, 0.5); }
  25% { opacity: 1; }
  62% { translate: 0 0; scale: 0.84; animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  100% { translate: 0 0; scale: 1; }
}

@keyframes pile-pop {
  from { opacity: 0; scale: 0.6; }
}

@keyframes pile-rise {
  from { opacity: 0; translate: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .s05 .pending * {
    opacity: 1 !important;
  }

  .s05 .falling * {
    animation: none !important;
  }
}

/* Section 6 (3 Dec, Pen iteration 2 `IkqVh`): a tall Slack thread leads on the left, four tiles
   sit two by two beside it, the integrations tile runs underneath. Both heading lines in ink. */
.s06 .h2 .soft {
  color: var(--ink);
}

.bento .lead-row,
.bento .pair {
  display: flex;
  gap: 20px;
}

.bento .four {
  display: grid;
  gap: 20px;
  flex: 1;
  min-width: 0;
}

/* a Pen tile takes its wrapper's width (.pen > div), so the wrappers carry the columns */
.bento .lead-row > .pen {
  flex: 0 0 333px;
}

.bento .pair > .pen {
  flex: 1;
  min-width: 0;
}

/* the purple rule beside a summary follows the summary's height, whatever the text measures */
.bento [data-pencil-name="Bar"] {
  height: auto !important;
  align-self: stretch;
}

/* The thread posts message by message when the tile is scrolled to (main.js): each post rises in,
   the lines of a summary follow it, and a reaction pops once its message is there. */
[data-pen="bento-thread"].pending .post,
[data-pen="bento-thread"].pending .react,
[data-pen="bento-thread"].pending .line {
  opacity: 0;
}

[data-pen="bento-thread"].posting .post {
  animation: post-in 0.42s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--i) * 260ms);
}

[data-pen="bento-thread"].posting .line {
  animation: thread-line-in 0.36s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--i) * 260ms + 220ms + var(--j) * 90ms);
}

[data-pen="bento-thread"].posting .react {
  animation: react-pop 0.34s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--i) * 260ms + 560ms + var(--j) * 110ms);
}

@keyframes post-in {
  from { opacity: 0; translate: 0 8px; }
}

@keyframes thread-line-in {
  from { opacity: 0; translate: -4px 0; }
}

@keyframes react-pop {
  from { opacity: 0; scale: 0.6; }
}

@media (prefers-reduced-motion: reduce) {
  [data-pen="bento-thread"].pending * {
    opacity: 1 !important;
  }

  [data-pen="bento-thread"].posting * {
    animation: none !important;
  }
}

/* Section 6, the four tiles: what answers the pointer (main.js, "Section 6, the four tiles").
   A highlight comes in at once and leaves in 150 ms; arrivals end on the element's own styles. */
.bento .s6-btn {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.bento .s6-btn:focus-visible {
  outline: 2px solid var(--ink) !important;
  outline-offset: 2px !important;
}

/* Pen draws overlapping avatars with a negative gap, which a browser ignores */
.bento [data-pencil-name="Avatars"] > * + * {
  margin-left: -7px;
  transition: margin-left 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.bento [data-pencil-name="Members"] > * + * {
  margin-left: -5px;
}

.bento [data-pencil-name="Invited people"]:hover [data-pencil-name="Avatars"] > * + * {
  margin-left: -3px;
}

/* rows inside a card follow their card in */
.bento .pending [data-pencil-name^="Brand · "],
.bento .pending [data-pencil-name^="Member · "] {
  opacity: 0;
}

.bento .arrive [data-pencil-name^="Brand · "],
.bento .arrive [data-pencil-name^="Member · "] {
  animation: s6-row 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(240ms + var(--r) * 70ms);
}

@keyframes s6-row {
  from { opacity: 0; translate: 0 6px; }
}

@keyframes s6-pop {
  from { opacity: 0; scale: 0.4; }
}

/* market: the two countries at the back can be brought forward */
[data-pen="bento-market"] .s6-btn {
  transition: background-color 0.15s ease;
}

[data-pen="bento-market"] .s6-btn:hover {
  background-color: #ffffff !important;
  transition-duration: 0s;
}

[data-pen="bento-market"] .s6-out > *,
[data-pen="bento-market"] .s6-out [data-pencil-name="Header"] > :nth-child(-n + 2),
[data-pen="bento-market"] .s6-out [data-pencil-name^="Brand · "] {
  opacity: 0;
  transition: opacity 0.12s ease;
}

[data-pen="bento-market"] [data-pencil-name="Answer · United Kingdom"].s6-out > * {
  opacity: 1;
}

[data-pen="bento-market"] .s6-btn.s6-in > *,
[data-pen="bento-market"] .s6-in [data-pencil-name="Header"] > :nth-child(-n + 2) {
  animation: s6-fade 0.3s ease backwards;
}

[data-pen="bento-market"] .s6-in [data-pencil-name^="Brand · "] {
  animation: s6-row 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--r) * 60ms);
}

@keyframes s6-fade {
  from { opacity: 0; }
}

/* onboarding: a live call */
.bento .s6-control {
  position: relative;
  transition: background-color 0.15s ease, scale 0.15s ease;
}

.bento .s6-control:hover {
  background-color: #ffffff3d !important;
  transition-duration: 0s;
}

.bento .s6-control:active {
  scale: 0.92;
}

.bento .s6-control.is-on {
  background-color: #ffffff !important;
}

.bento .s6-control.is-on svg path {
  fill: #1c1917;
}

.bento .s6-control.slashes.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 1.5px;
  margin: -0.75px 0 0 -7.5px;
  border-radius: 1px;
  background: #1c1917;
  box-shadow: 0 0 0 1px #ffffff;
  rotate: -45deg;
}

.bento .s6-wait .s6-check {
  opacity: 0;
}

.bento .s6-go .s6-check {
  animation: s6-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(420ms + var(--r) * 170ms);
}

.bento .s6-check.s6-spin {
  outline-color: transparent !important;
  border: 1.5px solid #e3dfd8;
  border-top-color: #1a7f4b;
  animation: s6-spin 0.8s linear infinite;
}

.bento .s6-go .s6-check.s6-spin {
  animation: s6-spin 0.8s linear infinite;
}

.bento .s6-check.s6-done {
  animation: s6-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes s6-spin {
  to { rotate: 360deg; }
}

@keyframes s6-live {
  50% { opacity: 0.35; }
}

/* private workspace: locks close after the count, and the door stays shut */
.bento .s6-wait .s6-lock,
.bento .s6-wait .s6-tick {
  opacity: 0;
}

.bento .s6-go .s6-lock {
  animation: s6-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(1000ms + var(--r) * 90ms);
}

.bento .s6-go .s6-tick {
  animation: s6-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: 1350ms;
}

.bento .s6-knock > :nth-last-child(-n + 2) {
  animation: s6-shake 0.42s ease;
}

@keyframes s6-shake {
  20% { translate: -3px 0; }
  40% { translate: 3px 0; }
  60% { translate: -2px 0; }
  80% { translate: 1px 0; }
}

/* roles: the select opens and shuts the menu; an option becomes the role */
[data-pen="bento-roles"] [data-pencil-name="Menu · Role"] {
  transform-origin: top right;
  transition: opacity 0.15s ease, scale 0.15s ease, visibility 0.15s;
}

[data-pen="bento-roles"] [data-pencil-name="Menu · Role"].is-shut {
  opacity: 0;
  scale: 0.96;
  visibility: hidden;
}

[data-pen="bento-roles"].arrive [data-pencil-name="Menu · Role"].arr {
  animation: s6-menu 0.26s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: 0.62s;
}

@keyframes s6-menu {
  from { opacity: 0; scale: 0.94; translate: 0 -4px; }
}

[data-pen="bento-roles"] [data-pencil-name^="Option · "] {
  transition: background-color 0.15s ease, scale 0.15s ease;
}

[data-pen="bento-roles"] [data-pencil-name^="Option · "]:hover {
  background-color: #f5f4f2 !important;
  transition-duration: 0s;
}

[data-pen="bento-roles"] [data-pencil-name^="Option · "]:active {
  scale: 0.98;
}

[data-pen="bento-roles"] [data-pencil-name="Role select"].s6-btn {
  transition: outline-color 0.15s ease;
}

[data-pen="bento-roles"] [data-pencil-name="Role select"].s6-btn:hover {
  outline-color: #cfcac3 !important;
  transition-duration: 0s;
}

[data-pen="bento-roles"] [data-pencil-name="Role select"] svg {
  transition: rotate 0.15s ease;
}

[data-pen="bento-roles"] .s6-set > :first-child {
  animation: s6-row 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
}

@media (prefers-reduced-motion: no-preference) {
  .bento [data-pencil-name="Live dot"] {
    animation: s6-live 1.6s ease-in-out infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bento .s6-wait *,
  .bento .pending [data-pencil-name^="Brand · "],
  .bento .pending [data-pencil-name^="Member · "] {
    opacity: 1 !important;
  }

  .bento .s6-check.s6-spin {
    animation: none;
  }
}

/* Connects to your stack, in a loop (4.8s a row, the four rows 1.2s apart): the row's tools light
   up one by one, its signal fires, a pulse runs down the wire, the hub answers each arrival. */
.bento .s6-pulse {
  fill: none;
  stroke: #8fd3a8;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 6 200;
  stroke-dashoffset: var(--from);
  opacity: 0;
  filter: drop-shadow(0 0 3px #8fd3a8);
}

.bento .is-live .s6-pulse {
  animation: s6-flow 4.8s linear infinite;
  animation-delay: calc(var(--row) * 1.2s);
}

.bento .is-live .s6-tool {
  animation: s6-send 4.8s ease-in-out infinite;
  animation-delay: calc(var(--row) * 1.2s + var(--k) * 0.14s);
}

.bento .is-live .s6-signal {
  animation: s6-signal 4.8s ease-out infinite;
  animation-delay: calc(var(--row) * 1.2s);
}

.bento .is-live .s6-ring,
.bento .is-live .s6-hub {
  animation: s6-ring 1.2s ease-out infinite;
  animation-delay: calc(2.72s + var(--k, 0) * 0.07s);
}

.bento .is-live .s6-hub {
  animation-name: s6-hub;
  animation-delay: 2.7s;
}

@keyframes s6-send {
  0%, 9%, 100% { scale: 1; }
  4% { scale: 1.08; }
}

@keyframes s6-signal {
  0%, 21%, 36%, 100% { scale: 1; box-shadow: 0 0 8px #8fd3a899; }
  26% { scale: 1.9; box-shadow: 0 0 14px #8fd3a8; }
}

@keyframes s6-flow {
  0%, 26% { stroke-dashoffset: var(--from); opacity: 0; }
  28% { stroke-dashoffset: var(--from); opacity: 1; animation-timing-function: cubic-bezier(0.45, 0, 0.3, 1); }
  57% { stroke-dashoffset: -100; opacity: 1; }
  58%, 100% { stroke-dashoffset: -100; opacity: 0; }
}

@keyframes s6-ring {
  0%, 60%, 100% { scale: 1; outline-color: #ffffff1f; }
  18% { scale: 1.07; outline-color: #8fd3a866; }
}

@keyframes s6-hub {
  0%, 60%, 100% { scale: 1; }
  16% { scale: 1.045; }
}

/* Section 7 on the home page (3 Dec, Pen iteration 2 `bQKtU`): the plan card leads, and the cost of
   1,000 answers is four bars beside it. Other pages keep the table (.price). */
.s07-plan .h2 .soft {
  color: var(--ink);
}

.plan-row {
  margin-top: 56px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-card {
  width: 400px;
  flex: none;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b2826 0%, #161413 100%);
  color: #ffffff;
}

.plan-card .brand {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 20px;
  font-size: 15px;
  font-weight: 500;
}

.plan-card .pc-figure {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1.1px;
}

.plan-card .pc-figure small {
  padding-bottom: 8px;
  font-family: var(--text);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
}

.plan-card .lede {
  margin-top: 6px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

/* the seven models, as white discs under the line that names them (Pen: 30px discs, 17px logos, touching) */
.plan-card .pc-models {
  margin-top: 6px;
  display: flex;
  height: 30px;
}

.plan-card .pc-models span {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
}

.plan-card .pc-models img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.plan-card.pending .pc-models span {
  opacity: 0;
}

.plan-card.arrive .pc-models span {
  animation: s6-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--i) * 60ms);
}

.plan-card ul {
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.plan-card li .icon {
  flex: none;
  color: #8fd3a8;
}

.plan-card .start {
  display: grid;
  gap: 12px;
}

.plan-btn {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fafafa;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, scale 0.15s ease;
}

.plan-btn:hover {
  background: #ffffff;
  text-decoration: none;
  transition-duration: 0s;
}

.plan-btn:active {
  scale: 0.98;
}

.plan-card .pc-terms {
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.cost {
  flex: 1;
  min-width: 0;
}

.cost-head {
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cost-head h3 {
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  letter-spacing: 0;
  color: var(--ink);
}

.cost-head span {
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.cost-row {
  height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.cost-row .line {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cost-row .name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  color: var(--ink);
}

.cost-row .name img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

/* an unnamed tracker gets a neutral mark where a logo would be */
.cost-row .cr-mark {
  width: 18px;
  height: 18px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #ebe9e4;
  color: var(--muted);
}

.cost-row .amount {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.cost-row .amount small {
  padding-bottom: 4px;
  font-family: var(--text);
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0;
  color: var(--muted);
}

.cost-row .meta {
  margin-top: 5px;
  font-size: 13px;
  line-height: 17px;
  color: var(--muted);
}

.cost-row.is-wuvr .meta {
  color: var(--body);
}

.cost-row .amount {
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.64px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  transition: color 0.15s ease;
}

.cost-row.is-wuvr .amount {
  color: var(--ink);
}

.cost-row .track {
  height: 4px;
  border-radius: 2px;
  background: #f4f2ee;
}

.cost-row .bar {
  display: block;
  width: var(--usd);
  height: 4px;
  border-radius: 2px;
  background: #cfcbc4;
  transform-origin: left center;
  transition: background-color 0.15s ease;
}

html[data-currency="gbp"] .cost-row .bar {
  width: var(--gbp);
}

.cost-row.is-wuvr .bar {
  background: var(--ink);
}

/* a row under the pointer reads darker: in at once, out in 150 ms */
.cost-row:not(.is-wuvr):hover .amount {
  color: var(--ink);
  transition-duration: 0s;
}

.cost-row:not(.is-wuvr):hover .bar {
  background: #a8a39c;
  transition-duration: 0s;
}

/* Arrival, once, when the section is scrolled to (main.js): the ticks pop, the bars grow from the
   left and each figure counts up beside its bar. */
.plan-card.pending li .icon,
.cost.pending .amount {
  opacity: 0;
}

.cost.pending .bar {
  scale: 0 1;
}

.plan-card.arrive li .icon {
  animation: s6-pop 0.36s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(200ms + var(--i) * 90ms);
}

.cost.arrive .bar {
  animation: cost-grow 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) backwards;
  animation-delay: calc(var(--i) * 110ms);
}

.cost.arrive .amount {
  animation: s6-fade 0.3s ease backwards;
  animation-delay: calc(var(--i) * 110ms);
}

@keyframes cost-grow {
  from { scale: 0 1; }
}

@media (prefers-reduced-motion: reduce) {
  .plan-card.pending li .icon,
  .plan-card.pending .pc-models span,
  .cost.pending .amount {
    opacity: 1;
  }

  .cost.pending .bar {
    scale: 1;
  }
}

/* Menu items share one highlight that glides from item to item (main.js, "Menu highlight"), across both
   columns. It appears at once on the first item, slides between items, and fades in 150ms when the pointer
   leaves the menu. The items' own hover fill is switched off while the glide is running. */
.menu-card {
  position: relative;
}

.mi-glow {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  border-radius: 8px;
  background: #f2f2f2;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    translate 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-glow.on {
  opacity: 1;
  transition:
    opacity 0s,
    translate 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.24s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.mi-glow.jump {
  transition: none;
}

.menu-card.glides a.mi {
  position: relative;
  z-index: 1;
}

.menu-card.glides a.mi:hover,
.menu-card.glides a.mi:focus-visible {
  background: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .mi-glow,
  .mi-glow.on {
    transition: opacity 0.15s ease;
  }
}

/* Pricing page (3 Dec): Pen "PB · Pricing" with PA's hero. */
.pa-hero .rails {
  padding: 80px 40px 96px;
  text-align: center;
}

.pa-hero h1 span {
  color: var(--ink);
}

.pa-hero .sub {
  margin-top: 22px;
}

.pa-card {
  width: 880px;
  margin: 48px auto 0;
  padding: 36px;
  display: flex;
  gap: 40px;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b2826 0%, #161413 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 24px 56px rgba(0, 0, 0, 0.14);
  color: #ffffff;
  text-align: left;
}

.pa-price {
  width: 340px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pa-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 20px;
  font-size: 15px;
  font-weight: 500;
}

.pa-figure {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  font-family: var(--display);
  font-size: 64px;
  line-height: 1;
  letter-spacing: -1.3px;
}

.pa-figure small {
  padding-bottom: 9px;
  font-family: var(--text);
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.7);
}

.pa-lede {
  margin-top: 8px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.pa-models {
  display: flex;
  height: 30px;
}

.pa-models span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
}

.pa-models img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.pa-start {
  display: grid;
  gap: 12px;
}

.pa-start p {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.pa-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.pa-included {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 14px;
}

.pa-included > p {
  font-size: 12px;
  line-height: 16px;
  color: rgba(255, 255, 255, 0.55);
}

.pa-included ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.pa-included li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.9);
}

.pa-included .icon {
  flex: none;
  color: #8fd3a8;
}

.pa-custom {
  width: 880px;
  margin: 16px auto 0;
  padding: 18px 20px 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e9e6e0;
  border-radius: 14px;
  background: #fafaf9;
  text-align: left;
}

.pa-custom b {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 19px;
  color: var(--ink);
}

.pa-custom span {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 18px;
  color: var(--body);
}

.pb-breakdown .rails,
.p-cost .rails {
  padding: 112px 40px;
  border-bottom: 1px solid var(--line);
}

.pb-breakdown .h2 .soft,
.p-cost .h2 .soft,
.p-faq .h2 .soft {
  color: var(--ink);
}

.pb-table {
  margin-top: 48px;
  border-bottom: 1px solid var(--line);
}

.pb-head {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.pb-head .icon {
  flex: none;
  color: var(--muted);
  rotate: -90deg;
  transition: rotate 0.2s ease;
}

.pb-group.open:not(.closing) .pb-head .icon {
  rotate: 0deg;
}

.pb-title {
  flex: 1;
  font-family: var(--display);
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.2px;
  color: var(--ink);
}

.pb-summary {
  font-size: 14px;
  color: var(--muted);
}

.pb-group.open .pb-summary {
  display: none;
}

.pb-rows {
  overflow: hidden;
}

.pb-row {
  height: 47px;
  display: grid;
  grid-template-columns: 520px 1fr;
  border-top: 1px solid #f0ede8;
  font-size: 14px;
}

/* plain text layout, centred by line height: a flex cell drops the space after a price ("£199a month") */
.pb-row > span {
  display: block;
  line-height: 46px;
}

.pb-row > span:first-child {
  padding-left: 26px;
  color: var(--body);
}

.pb-row > span:last-child {
  padding: 0 24px;
  border-left: 1px solid var(--line);
  color: var(--ink);
}

/* the seven models beside "All 7", as the 22px discs used in the closing and footer */
.pb-models {
  margin-left: 12px;
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
}

.pb-models span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
}

.pb-models img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.pb-row .soon {
  padding: 1px 8px;
  border-radius: 6px;
  background: #f4f2ee;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  color: var(--body);
}

.p-cost .cost {
  margin-top: 48px;
}

/* The footer stage answers the pointer (Chris, 3 Dec, after Peec's footer): the first glow, restored at his
   word. A brighter copy of the scene picture shows through a round mask centred on the pointer; it fades in
   on entering and out on leaving. The copy carries the picture only, not the page colour around it, so
   nothing lights up beyond the picture's edges. */
.scene {
  position: relative;
  --x: 50%;
  --y: 50%;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/art/footer-scene-v3.webp") center top / auto 312px no-repeat;
  filter: brightness(1.9) saturate(1.15);
  -webkit-mask-image: radial-gradient(240px circle at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 70%);
  mask-image: radial-gradient(240px circle at var(--x) var(--y), #000 0%, rgba(0, 0, 0, 0.55) 35%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scene.lit::after {
  opacity: 1;
}

.scene .legal {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .scene::after {
    display: none;
  }
}

/* Section 3's plan card, to Pen "E · 03 · iteration A" exactly (3 Dec): a 323px card whose parts are
   spread with equal space between them, as Pen lays them out (space between), with each rule its own
   line between the rows. Earlier rules for an old pricing card (.plan p, .plan .count) are cancelled. */
.s03 .plan {
  top: 30px;
  height: 323px;
  padding: 17px 19px;  /* Pen's 18/20 includes its 1px edge; here the border sits outside the padding */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.s03 .plan .head {
  height: 20px;
  margin-bottom: 0;
}

.s03 .plan .head .count {
  margin-top: 0;
  line-height: 14px;
  color: #ffffff;
}

.s03 .plan .sp {
  display: block;
  flex: none;
}

.s03 .plan .rule {
  display: block;
  flex: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.s03 .plan .action::before {
  content: none;
}

.s03 .plan .action b {
  line-height: 17px;
}

.s03 .plan .action div span {
  line-height: 16px;
}

.s03 .plan .moved {
  padding-top: 0;
  box-shadow: none;
  line-height: 16px;
}

/* Section 4 (3 Dec, Pen "G · 04 · iteration 1"): under the tabs, a panel per track, its words beside its
   picture on a flat neutral stage (Chris did not want the dots, nor a warm tint). */
.s04 .rails {
  padding: 96px 0 112px;
}

.s04 .h2 .soft {
  color: var(--ink);
}

.s04 .tool-window {
  margin-top: 56px;
}

.tool-window .s4-screen {  /* beats the old screenshot's 1440/915 shape, which narrowed the panel */
  position: relative;
  height: 520px;
  aspect-ratio: auto;
  border-top: 1px solid var(--line);
}

.s4-panel {
  position: absolute;
  inset: 0;
  padding-left: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.s4-panel.on {
  opacity: 1;
  visibility: visible;
}

/* clickable buttons inside a picture */
.s4-btn {
  cursor: pointer;
  transition: opacity 0.15s ease, scale 0.1s ease;
}

.s4-btn:hover {
  opacity: 0.85;
  transition-duration: 0s;
}

.s4-btn:active {
  scale: 0.97;
}

/* Observe: each model's result arrives in turn */
.s4-armed [data-pen="s4-observe"] [data-pencil-name^="Model · "] > :last-child,
.s4-run [data-pencil-name^="Model · "]:not(.s4-in) > :last-child {
  opacity: 0;
}

.s4-run [data-pencil-name^="Model · "].s4-in > :last-child {
  animation: s4-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

@keyframes s4-pop {
  from { opacity: 0; scale: 0.7; }
}

/* Optimise: struck, then written in; accepted */
[data-pen="s4-optimise"] [data-pencil-name="Removed"] [data-pencil-name="Text"] {
  text-decoration: line-through;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.4s ease, opacity 0.4s ease;
}

.s4-struck [data-pen="s4-optimise"] [data-pencil-name="Removed"] [data-pencil-name="Text"],
.s4-still [data-pen="s4-optimise"] [data-pencil-name="Removed"] [data-pencil-name="Text"] {
  text-decoration-color: #b42318;
}

.s4-armed [data-pen="s4-optimise"] [data-pencil-name="Added"],
.s4-panel[data-shot="optimise"]:not(.s4-written) [data-pen="s4-optimise"] [data-pencil-name="Added"] {
  clip-path: inset(0 100% 0 0);
}

[data-pen="s4-optimise"] [data-pencil-name="Added"] {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.s4-still [data-pen="s4-optimise"] [data-pencil-name="Added"] {
  clip-path: none;
}

.s4-accepted [data-pen="s4-optimise"] [data-pencil-name="Removed"] {
  opacity: 0.45;
  transition: opacity 0.3s ease;
}

.s4-accepted [data-pen="s4-optimise"] [data-pencil-name="Button · Accept change"] {
  background-color: #1a7f4b !important;
  cursor: default;
}

/* Deliver: the pitch is written line by line, then its facts attach; sent; a reply arrives */
.s4-writing [data-pen="s4-deliver"] [data-pencil-name="Body"] > :nth-child(3) {
  animation: s4-lines 1.1s steps(3, end) backwards;
  animation-delay: 0.2s;
}

@keyframes s4-lines {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

.s4-writing [data-pen="s4-deliver"] [data-pencil-name="Fact"] {
  animation: s4-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.s4-writing [data-pen="s4-deliver"] [data-pencil-name="Fact"]:nth-child(1) { animation-delay: 1.4s; }
.s4-writing [data-pen="s4-deliver"] [data-pencil-name="Fact"]:nth-child(2) { animation-delay: 1.5s; }
.s4-writing [data-pen="s4-deliver"] [data-pencil-name="Fact"]:nth-child(3) { animation-delay: 1.6s; }

.s4-armed [data-pen="s4-deliver"] [data-pencil-name="Body"] > :nth-child(3),
.s4-armed [data-pen="s4-deliver"] [data-pencil-name="Fact"] {
  opacity: 0;
}

.s4-sent [data-pen="s4-deliver"] [data-pencil-name="Button · Send from Gmail"] {
  background-color: #1a7f4b !important;
  cursor: default;
}

.s4-replied {
  margin-left: 10px;
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #e9e3f5;
  font-size: 11px;
  font-weight: 500;
  color: #6b3fa0;
  animation: s4-pop 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Measure: the line draws, the marker drops in where the page went live, the end and the gain arrive */

@keyframes s4-line {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

@keyframes s4-fade {
  from { opacity: 0; }
}

@keyframes s4-drop {
  from { scale: 1 0; }
}

/* Section 4, iteration 7 (3 Dec, Pen "G · 04 · iteration 7" and its four states): one journey on one weekly line.
   The open step draws the purple line to its mark (the rest stays grey), lights and labels the mark and floats its
   picture beside it; step 4 has no picture: the flat line of the prompts left alone, and the gain under the chart.
   All positions are the Pen tile's (1040 x 500). Spacing as section 3: 80px rails, 56px under the heading. */
.s04 .rails {
  padding: 80px 40px;
}

.s04 .section-head {
  padding: 0;
}

.s4-journey {
  margin-top: 56px;
}

.s4-chart {
  position: relative;
  height: 500px;
  border-radius: 16px;
  background: #f7f7f7;
  overflow: hidden;
}

.s4-title {
  position: absolute;
  left: 40px;
  top: 32px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  line-height: 16px;
  color: var(--ink);
}

.s4-title img {
  display: block;
  width: 16px;
  height: 16px;
}

.s4-plot {
  position: absolute;
  left: 0;
  top: 0;
  width: 1040px;
  height: 500px;
  overflow: visible;
  pointer-events: none;
}

.s4-grid {
  fill: none;
  stroke: #ebe9e4;
  stroke-width: 1;
}

.s4-ahead path {
  fill: none;
  stroke: #d9d5ce;
  stroke-width: 2;
  stroke-linejoin: round;
}

.s4-area {
  fill: #ad46ff;
  fill-opacity: 0.059;
}

.s4-done {
  fill: none;
  stroke: #ad46ff;
  stroke-width: 2;
  stroke-linejoin: round;
}

/* the purple line reaches the open step's mark; the grey line runs on from there */
.s4-reach,
.s4-ahead {
  transition: clip-path 0.9s cubic-bezier(0.45, 0, 0.25, 1);
}

.s4-chart[data-step="1"] .s4-reach { clip-path: inset(0 893.3px 0 0); }
.s4-chart[data-step="2"] .s4-reach { clip-path: inset(0 573.3px 0 0); }
.s4-chart[data-step="3"] .s4-reach { clip-path: inset(0 360px 0 0); }
.s4-chart[data-step="4"] .s4-reach { clip-path: inset(0 40px 0 0); }
.s4-chart[data-step="1"] .s4-ahead { clip-path: inset(0 0 0 146.7px); }
.s4-chart[data-step="2"] .s4-ahead { clip-path: inset(0 0 0 466.7px); }
.s4-chart[data-step="3"] .s4-ahead { clip-path: inset(0 0 0 680px); }
.s4-chart[data-step="4"] .s4-ahead { clip-path: inset(0 0 0 1000px); }

.s4-alone {
  fill: none;
  stroke: #bdb8b0;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.2s ease;
}

.s4-chart[data-step="4"] .s4-alone {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.45, 0, 0.25, 1) 0.35s;
}

.s4-axis {
  position: absolute;
  top: 330px;
  font-size: 11px;
  line-height: normal;
  color: #a8a39c;
}

/* marks: hollow until the line reaches them, then their step's colour */
.s4-mark {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  outline: 1.5px solid #cfcac3;
  outline-offset: -0.75px;
  transition: background-color 0.15s ease, outline-color 0.15s ease;
}

.s4-mark.m1,
.s4-chart:not([data-step="1"]) .m2,
.s4-chart:is([data-step="3"], [data-step="4"]) .m3,
.s4-chart[data-step="4"] .m4 {
  background: var(--c);
  outline: 2px solid #ffffff;
  outline-offset: -1px;
  transition: background-color 0.2s ease 0.75s, outline-color 0.2s ease 0.75s;
}

.s4-label {
  position: absolute;
  z-index: 2;
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 1px #0000000a, 0 8px 22px #00000012;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
  color: var(--ink);
  white-space: nowrap;
  opacity: 0;
  translate: 0 4px;
  scale: 0.96;
  transition: opacity 0.12s ease, translate 0.12s ease, scale 0.12s ease;
}

.s4-label .icon {
  flex: none;
  color: var(--c);
}

.s4-label.l1,
.s4-chart:not([data-step="1"]) .l2,
.s4-chart:is([data-step="3"], [data-step="4"]) .l3,
.s4-chart[data-step="4"] .s4-alone-label {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition: opacity 0.25s ease 0.8s, translate 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s,
    scale 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s;
}

.s4-chart[data-step="4"] .s4-alone-label {
  transition-delay: 1.3s;
}

.s4-alone-label {
  height: 28px;
  color: var(--body);
}

.s4-alone-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdb8b0;
}

/* the open step's picture floats in beside its mark once the line has moved */
.s4-chart .s4-panel {
  position: absolute;
  inset: auto;
  z-index: 3;
  width: 400px;
  padding: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  translate: 0 8px;
  transition: opacity 0.15s ease, translate 0.15s ease, visibility 0s linear 0.15s;
}

.s4-chart .s4-panel.on {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
  transition: opacity 0.35s ease 0.3s, translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s, visibility 0s linear 0.3s;
}

.s4-gain {
  position: absolute;
  left: 40px;
  top: 400px;
  margin: 0;
  display: grid;
  gap: 4px;
  font-size: 13px;
  line-height: normal;
  color: var(--body);
  opacity: 0;
  translate: 0 8px;
  transition: opacity 0.15s ease, translate 0.15s ease;
}

.s4-gain-n {
  font-family: var(--display);
  font-size: 32px;
  line-height: 32px;
  letter-spacing: -0.6px;
  color: var(--ink);
}

.s4-chart[data-step="4"] .s4-gain {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.35s ease 0.9s, translate 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) 0.9s;
}

/* step 4 is the milestone (Chris, 3 Dec: "more prominent like reaching a goal or milestone"): once the line reaches
   the end, the mark is ringed in green (two ripples go out from it), a pole rises and a dark flag is raised on it */
.s4-halo {
  position: absolute;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #30a46c14;
  opacity: 0;
  scale: 0.4;
  transition: opacity 0.12s ease, scale 0.12s ease;
}

.s4-halo::before,
.s4-halo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.s4-halo::before {
  inset: 9px;
  background: #30a46c2e;
}

.s4-halo::after {
  inset: 16px;
  border: 1.5px solid #30a46c;
  opacity: 0;
}

.s4-chart[data-step="4"] .s4-halo {
  opacity: 1;
  scale: 1;
  transition: opacity 0.3s ease 0.85s, scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s;
}

.s4-chart[data-step="4"] .s4-halo::after {
  animation: s4-ripple 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s 2 backwards;
}

@keyframes s4-ripple {
  from {
    opacity: 0.7;
    scale: 1;
  }
  to {
    opacity: 0;
    scale: 4;
  }
}

.s4-pole {
  position: absolute;
  z-index: 2;
  width: 1.5px;
  background: #30a46c;
  transform-origin: bottom;
  scale: 1 0;
  transition: scale 0.12s ease;
}

.s4-chart[data-step="4"] .s4-pole {
  scale: 1 1;
  transition: scale 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.95s;
}

.s4-goal {
  position: absolute;
  z-index: 4;
  height: 40px;
  padding: 0 10px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: 0 1px 1px #0000000f, 0 10px 24px #1c191733;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  translate: 0 12px;
  scale: 0.92;
  transform-origin: 94% 100%;
  transition: opacity 0.12s ease, translate 0.12s ease, scale 0.12s ease;
}

.s4-seal {
  flex: none;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #30a46c;
}

.s4-seal .icon {
  color: #ffffff;
}

.s4-up {
  height: 20px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #30a46c;
  font-size: 12px;
  font-weight: 600;
}

.s4-chart[data-step="4"] .s4-goal {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  transition: opacity 0.3s ease 1.1s, translate 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s,
    scale 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s;
}

.s4-chart[data-step="4"] .s4-up {
  animation: s4-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 1.45s backwards;
}

/* before the section is reached: the line not yet drawn and nothing lit, so it plays when it comes into view */
.s4-chart.s4-armed[data-step] .s4-reach { clip-path: inset(0 1000px 0 0); }
.s4-chart.s4-armed[data-step] .s4-ahead { clip-path: inset(0 0 0 40px); }

.s4-chart.s4-armed[data-step] .s4-mark {
  background: #ffffff;
  outline: 1.5px solid #cfcac3;
  outline-offset: -0.75px;
}

.s4-chart.s4-armed[data-step] .s4-label,
.s4-chart.s4-armed[data-step] .s4-panel {
  opacity: 0;
  visibility: hidden;
}

/* the four steps under the chart: the open one in ink with its colour rule, line and link */
.s4-steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.s4-track {
  position: relative;
  border-top: 1px solid #e3e0da;
}

/* the open step's rule fills in its colour over the 7 seconds before the next step opens (paused with the clock) */
.s4-tab .progress {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 2px;
  background: color-mix(in srgb, var(--track) 22%, transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.s4-track.on .progress {
  opacity: 1;
}

.s4-tab .progress i {
  display: block;
  height: 100%;
  background: var(--track);
  transform-origin: left;
  scale: 0 1;
}

.s4-track.on .progress i {
  animation: s4-fill var(--tab-time, 7s) linear forwards;
}

.s4-steps.paused .s4-track.on .progress i {
  animation-play-state: paused;
}

@keyframes s4-fill {
  from {
    scale: 0 1;
  }
  to {
    scale: 1 1;
  }
}

.s4-tab {
  width: 100%;
  padding: 16px 0 0;
  display: grid;
  gap: 8px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.s4-track.on .s4-tab {
  cursor: default;
}

.s4-tab:focus-visible {
  outline: 2px solid var(--track);
  outline-offset: 4px;
  border-radius: 4px;
}

.s4-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.36px;
  color: #a8a39c;
  transition: color 0.15s ease;
}

.s4-top i {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d5ce;
  transition: background-color 0.2s ease;
}

/* the open step and the ones done before it keep their colour dot */
.s4-track.on .s4-top i,
.s4-track:has(~ .s4-track.on) .s4-top i {
  background: var(--track);
}

.s4-track.on .s4-top {
  color: var(--ink);
}

.s4-track:not(.on) .s4-tab:hover .s4-top {
  color: var(--body);
  transition-duration: 0s;
}

.s4-line {
  font-size: 14px;
  line-height: 20px;
  color: #a8a39c;
  transition: color 0.15s ease;
}

.s4-track.on .s4-line {
  color: var(--body);
}

.s4-link {
  margin-top: 18px;
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: var(--track-ink);
}

.s4-track.on .s4-link {
  display: inline-flex;
}

.s4-link:hover {
  text-decoration: none;
}

.s4-link .icon {
  transition: translate 0.15s ease;
}

.s4-link:hover .icon {
  translate: 2px 0;
  transition-duration: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  .s4-journey *,
  .s4-journey *::before {
    transition: none !important;
  }

  .s4-track.on .progress i {
    animation: none;
    scale: 1 1;
  }

  .s4-chart[data-step="4"] .s4-halo::after,
  .s4-chart[data-step="4"] .s4-up {
    animation: none;
  }
}

/* "Talk to us" form (3 Dec, Pen "P · Pricing · Talk to us form · iteration B (chosen)" and its states): two panels,
   880 wide. Left, the heading, three points and Chris; right, filled fields (#F7F7F7, no border), "You are", the
   clients chips, the optional note and Send. Errors turn a field pale red with a red line and a short message. */
.plan-dialog.talk {
  width: 880px;
}

.talk-pitch {
  flex: none;
  width: 320px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f7f7f7;
}

.talk-title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.52px;
  color: var(--ink);
}

.talk-title span {
  display: block;
}

.talk-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.talk-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #3d3a36;
}

.talk-points .icon {
  flex: none;
  margin-top: 3px;
  color: #1a7f4b;
}

.talk-chris {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--body);
}

.talk-chris img {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.talk-main {
  flex: 1;
  min-width: 0;
  padding: 20px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.talk-head {
  display: flex;
  justify-content: flex-end;
}

.talk-close {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f4f3f1;
  color: #111111;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.talk-close:hover {
  background: #ebe9e5;
  transition-duration: 0s;
}

.talk-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.talk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.talk-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

fieldset.talk-field {
  display: block;
}

.talk-field > label,
.talk-field > legend {
  padding: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  color: var(--ink);
}

.talk-field > legend {
  margin-bottom: 6px;
}

.talk-field > label i,
.talk-field > legend i {
  margin-left: 6px;
  font-style: normal;
  font-weight: 400;
  color: #a8a39c;
}

.talk-field input[type="text"],
.talk-field input[type="email"],
.talk-field textarea {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: #f7f7f7;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.talk-field textarea {
  height: 88px;
  padding: 10px 12px;
  line-height: 1.45;
  resize: none;
  display: block;
}

.talk-field ::placeholder {
  color: #a8a39c;
}

.talk-field input:hover,
.talk-field textarea:hover {
  background: #f2f2f2;
}

.talk-field input:focus,
.talk-field textarea:focus {
  background: #ffffff;
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.talk-field.err input {
  background: #fef2f2;
  box-shadow: inset 0 0 0 1px #dc2626;
}

.talk-field.err input:focus {
  box-shadow: inset 0 0 0 1.5px #dc2626;
}

.talk-error {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 16px;
  color: #b91c1c;
}

fieldset.talk-field .talk-error {
  margin-top: 6px;
}

.talk-error .icon {
  flex: none;
}

/* "You are": two options on a filled track; the chosen one a white tab */
.talk-choice {
  height: 40px;
  padding: 3px;
  display: flex;
  gap: 3px;
  border-radius: 10px;
  background: #f7f7f7;
}

.talk-choice label,
.talk-chips label {
  position: relative;
}

.talk-choice label {
  flex: 1;
}

.talk-choice input,
.talk-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.talk-choice span {
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 14px;
  color: var(--body);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.talk-choice input:not(:checked) + span:hover {
  color: var(--ink);
}

.talk-choice input:checked + span {
  background: #ffffff;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 1px 2px #0000001a;
}

.talk-chips {
  display: flex;
  gap: 8px;
}

.talk-chips span {
  height: 32px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4f3f1;
  font-size: 13px;
  color: #3d3a36;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.talk-chips input:not(:checked) + span:hover {
  background: #ecebe8;
}

.talk-chips input:checked + span {
  background: var(--ink);
  font-weight: 500;
  color: #ffffff;
}

.talk-field.err .talk-chips span {
  box-shadow: inset 0 0 0 1px #dc2626;
}

.talk-choice input:focus-visible + span,
.talk-chips input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.talk-foot {
  padding-top: 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.talk-send {
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #111111;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, scale 0.1s ease;
}

.talk-send:hover:not(:disabled) {
  background: #2a2826;
  transition-duration: 0s;
}

.talk-send:active:not(:disabled) {
  scale: 0.98;
}

/* Send waits until name, a full email and a website are in (Chris, 3 Dec) */
.talk-send:disabled {
  background: #edecea;
  color: #a8a39c;
  cursor: not-allowed;
}

.talk-note {
  margin: 0;
  font-size: 12px;
  color: #87827d;
}

.talk-note.warn {
  color: #b45309;
}

/* sent: the right panel keeps its height and says so */
.talk-sent {
  flex: 1;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

.talk-sent[hidden],
.talk-form[hidden] {
  display: none;
}

.talk-tick {
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f5ec;
  color: #1a7f4b;
  animation: s4-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.talk-sent-title {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: normal;
  letter-spacing: -0.52px;
  color: var(--ink);
}

.talk-sent-line {
  max-width: 320px;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--body);
}

.talk-done {
  height: 40px;
  margin-top: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: #f7f7f7;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}

.talk-done:hover {
  background: #f0efed;
}

/* ===================== Phone, home page (3 Dec) =====================
   Chris's merged column in Pen (x -20375): header and hero after Linear (A), the seven models three across (B),
   sections 02, 03, 05, 07 to the footer from the first phone column, 04 as four cards and 06 as tiles that swipe.
   Phones get width=device-width from the script in the head; everything here sits under .has-phone (the home and
   Pricing pages) and under 1024px, so desktop and the other pages are untouched. Tablets (700 to 1023px) start from these
   rules too; the "Tablet" block at the end of this file lays them out two across. */
.m-only,
.m-show,
.m-menu-btn,
.m-menu {
  display: none;
}

.hero-field .btn .icon {
  display: none;
}

@media (max-width: 1023px) {
  .has-phone {
    min-width: 0;  /* the desktop page keeps its body at least 1280px wide */
    overflow-x: hidden;
  }

  .has-phone .rails {
    width: auto;
    margin: 0 20px;
    padding: 56px 0;
    border-left: 0;
    border-right: 0;
  }

  .has-phone .h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -0.56px;
  }

  .has-phone .section-head,
  .has-phone .s07 .section-head {
    display: block;
    padding: 0;
  }

  .has-phone .section-sub {
    margin-top: 14px;
    font-size: 15px;
    line-height: 22px;
    color: var(--body);
    text-align: left;
  }

  .has-phone .section-sub br,
  .has-phone .models-grid .label br,
  .has-phone .result .l br {
    display: none;
  }

  /* header: logo, Log in, Start free trial and the menu (A, after Linear) */
  .has-phone .site-header .inner {
    width: auto;
    height: 59px;
    padding: 0 20px;
  }

  .has-phone .site-header .nav {
    gap: 14px;
  }

  .has-phone .site-header .nav > .menu,
  .has-phone .site-header .nav > a[href="/pricing"],
  .has-phone .site-header .nav > .divider,
  .has-phone .site-header .nav > .btn-secondary,
  .has-phone .m-hide {
    display: none;
  }

  .has-phone .site-header .nav > a[href$="/login"] {
    font-size: 14px;
    color: var(--body);
  }

  .has-phone .site-header .nav > .btn-primary {
    height: 34px;
    padding: 0 12px;
    font-size: 14px;
  }

  .has-phone .m-show {
    display: inline;
  }

  .has-phone .m-menu-btn {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
  }

  .has-phone .m-menu:not([hidden]) {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    overflow-y: auto;
    padding: 8px 20px 24px;
    background: #ffffff;
  }

  /* hero: left-aligned, the field with an arrow button, the window bleeding off the right edge */
  .has-phone .hero-copy {
    width: auto;
    padding: 36px 20px 0;
  }

  .has-phone .hero-copy h1 {
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -0.76px;
  }

  .has-phone .hero-copy .sub {
    max-width: none;
    margin-top: 14px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .hero-field {
    width: 100%;
    height: 48px;
    margin-top: 22px;
    padding: 0 6px 0 14px;
    border-radius: 12px;
  }

  .has-phone .hero-field input {
    font-size: 15px;
  }

  .has-phone .hero-field .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 9px;
    justify-content: center;
  }

  .has-phone .hero-field .btn .label,
  .has-phone .hero .reassure,
  .has-phone .hero .stage,
  .has-phone .aw-chapters {
    display: none;
  }

  .has-phone .hero-field .btn .icon {
    display: block;
  }

  .has-phone .m-note {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--muted);
  }

  .has-phone .m-hero-pic {
    position: relative;
    display: block;
    width: calc(100% + 20px);
    height: 250px;
    margin-top: 32px;
    overflow: hidden;
  }

  .has-phone .m-hero-pic img {
    display: block;
    width: 420px;
    height: 287px;
    max-width: none;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .has-phone .m-hero-pic::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  }

  /* the seven models: three across, logo above name (B, after Peec) */
  .has-phone .models-grid {
    display: grid;
    grid-template-columns: repeat(3, 110px);
    justify-content: center;
    gap: 22px 10px;
    padding: 8px 0 48px;
    border-bottom: 1px solid var(--line);
  }

  .has-phone .models-grid .row {
    display: contents;
  }

  .has-phone .models-grid .spacer {
    display: none;
  }

  .has-phone .models-grid .cell {
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 0;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    color: var(--ink);
  }

  .has-phone .models-grid .cell img {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .has-phone .models-grid .cell.label {
    grid-column: 1 / -1;
    order: 0;
    margin-bottom: 2px;
    color: var(--muted);
  }

  .has-phone .models-grid .row:nth-child(1) .cell:nth-child(2) { order: 1; }
  .has-phone .models-grid .row:nth-child(1) .cell:nth-child(3) { order: 2; }
  .has-phone .models-grid .row:nth-child(2) .cell:nth-child(4) { order: 3; }
  .has-phone .models-grid .row:nth-child(2) .cell:nth-child(3) { order: 4; }
  .has-phone .models-grid .row:nth-child(2) .cell:nth-child(2) { order: 5; }
  .has-phone .models-grid .row:nth-child(2) .cell:nth-child(1) { order: 6; }
  .has-phone .models-grid .row:nth-child(1) .cell:nth-child(4) { order: 7; grid-column: 2; }

  /* 02: the heading, the live tile, the accordion, then the trial */
  .has-phone .s02 .rails,
  .has-phone .s03 .rails,
  .has-phone .s04 .rails,
  .has-phone .s05 .rails,
  .has-phone .s06 .rails,
  .has-phone .s07 .rails,
  .has-phone .s09 .rails {
    border-bottom: 1px solid var(--line);
  }

  .has-phone .s02 .cols {
    display: flex;
    flex-direction: column;
  }

  .has-phone .s02 .left {
    display: contents;
  }

  .has-phone .s02 .h2 { order: 0; }

  .has-phone .s2-tile {
    order: 1;
    width: 480px;
    height: 480px;
    margin-top: 33px;
    zoom: 0.7292;
    border-radius: 22px;
  }

  .has-phone .s02 .accordion {
    order: 2;
    width: auto;
    margin-top: 16px;
    border-bottom: 1px solid var(--line);
  }

  .has-phone .s02 .accordion .item {
    border-top: 1px solid var(--line);
  }

  .has-phone .s02 .accordion .trigger {
    height: 56px;
    padding: 0;
    font-family: var(--display);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.3px;
  }

  .has-phone .s02 .accordion .panel p {
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .s02 .accordion .item.open .panel {
    padding-bottom: 20px;
  }

  .has-phone .s02 .chips {
    width: auto;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
  }

  .has-phone .s02 .chip {
    height: 26px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 12px;
  }

  .has-phone .s02 .left > .btn {
    order: 3;
    width: 100%;
    margin-top: 24px;
    justify-content: center;
  }

  /* 03: the two tiles stacked */
  .has-phone .s03 .tiles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .has-phone .s03 .tile {
    width: auto;
    height: auto;
    padding: 16px 16px 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .has-phone .s03 .card.sov,
  .has-phone .s03 .glass.plan {
    position: relative;
    left: auto;
    top: auto;
    margin: 20px auto;
    zoom: 0.772;
  }

  .has-phone .s03 .caption {
    position: static;
    width: auto;
    margin-top: 0;
    padding: 0;
  }

  .has-phone .s03 .tile-title {
    font-size: 19px;
    letter-spacing: -0.3px;
  }

  .has-phone .s03 .tile-line {
    margin-top: 6px;
    font-size: 14px;
    line-height: 20px;
  }

  /* 04: four cards (A, after Peec); the chart and its steps stay on desktop */
  .has-phone .s04 .s4-journey {
    display: none;
  }

  .has-phone .s4-m {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }

  .has-phone .s4m-card {
    padding: 20px 20px 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #ffffff;
  }

  .has-phone .s4m-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: var(--ink);
  }

  .has-phone .s4m-card h3 i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
  }

  .has-phone .s4m-card > p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 20px;
    color: var(--body);
  }

  .has-phone .s4m-pic {
    margin-top: 16px;
    padding: 12px;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    background: #f7f7f7;
  }

  .has-phone .s4m-pic .pen {
    width: 400px;
    zoom: 0.715;
  }

  .has-phone .s4m-pic.is-chart {
    padding: 0;
    overflow: hidden;
  }

  .has-phone .s4m-pic.is-chart img {
    display: block;
    width: 100%;
    height: auto;
  }

  .has-phone .s4m-card > a {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #111111;
  }

  /* 05: the tools, then the Wuvr card */
  .has-phone .s05 .stack-wrap {
    display: none;
  }

  .has-phone .s5-m {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    padding: 24px 16px;
    border-radius: 16px;
    background: #f7f7f7;
  }

  .has-phone .s5m-row {
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .has-phone .s5m-tool {
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 1px 2px #0000000d, 0 4px 10px #0000000a;
    font-size: 13px;
    color: var(--ink);
  }

  .has-phone .s5m-tool img {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: contain;
  }

  .has-phone .s5m-cap {
    margin-top: 6px;
    display: grid;
    gap: 2px;
    font-size: 13px;
    color: var(--body);
    text-align: center;
  }

  .has-phone .s5m-cap b {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
  }

  .has-phone .s5m-arrow {
    width: 32px;
    height: 32px;
    margin: 10px 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #ffffff;
    color: var(--ink);
  }

  .has-phone .s5-m [data-pen="s5-wuvr-card"] {
    width: 264px;
  }

  /* 06: the heading and Book a demo, then five tiles that swipe, then the integrations as rows */
  .has-phone .s06 .section-head .btn {
    margin-top: 18px;
  }

  .has-phone .s06 .bento {
    width: auto;
    margin-top: 28px;
    display: block;
  }

  .has-phone .s06 .lead-row {
    width: auto;
    height: auto;
    margin: 0 -20px;
    padding: 0 20px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 20px;
    scrollbar-width: none;
  }

  .has-phone .s06 .lead-row::-webkit-scrollbar {
    display: none;
  }

  .has-phone .s06 .four,
  .has-phone .s06 .pair {
    display: contents;
  }

  .has-phone .s06 .lead-row .pen {
    flex: 0 0 333px;
    height: 372px;
    overflow: hidden;
    zoom: 0.9;
    border-radius: 18px;
    scroll-snap-align: start;
  }

  .has-phone .s06 [data-pen="bento-integrations"] {
    display: none;
  }

  .has-phone .s6m-dots {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
  }

  .has-phone .s6m-dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #d6d3cd;
    transition: width 0.2s ease, background-color 0.2s ease;
  }

  .has-phone .s6m-dots i.on {
    width: 18px;
    background: var(--ink);
  }

  .has-phone .s6m-integ {
    display: block;
    margin-top: 28px;
    padding: 24px;
    border-radius: 16px;
    background: #1b1a18 url("assets/art/tile-dark-grid.webp") center / cover no-repeat;
  }

  .has-phone .s6m-integ h3 {
    font-family: var(--display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.4px;
    color: #fafafa;
  }

  .has-phone .s6m-integ > p {
    margin: 6px 0 16px;
    font-size: 14px;
    line-height: 20px;
    color: #ffffffb3;
  }

  .has-phone .s6m-row {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ffffff1f;
    font-size: 13px;
    color: #ffffffb3;
  }

  .has-phone .s6m-row:last-child {
    border-bottom: 1px solid #ffffff1f;
  }

  .has-phone .s6m-logos {
    display: flex;
    gap: 8px;
  }

  .has-phone .s6m-logos i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
  }

  .has-phone .s6m-logos img {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }

  /* 07: the plan card, the costs as rows, then Chris */
  .has-phone .s07 .plan-row {
    width: auto;
    margin-top: 28px;
    padding: 0;
    display: block;
  }

  .has-phone .s07 .plan-card {
    zoom: 0.875;
    margin: 0;
  }

  .has-phone .s07 .cost {
    width: auto;
    margin-top: 36px;
  }

  .has-phone .s07 .cost-head {
    height: auto;
    display: grid;
    gap: 2px;
    margin-bottom: 12px;
  }

  .has-phone .s07 .cost-head h3 {
    font-size: 14px;
  }

  .has-phone .s07 .cost-head span {
    font-size: 12px;
    color: var(--muted);
  }

  .has-phone .s07 .cost-row {
    height: auto;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .has-phone .s07 .cost-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .has-phone .s07 .cost-row .name {
    font-size: 14px;
  }

  .has-phone .s07 .cost-row .meta {
    margin-top: 4px;
    font-size: 12px;
  }

  .has-phone .s07 .cost-row .amount {
    font-size: 24px;
  }

  .has-phone .s07 .cost-row .track {
    margin-top: 10px;
    height: 4px;
  }

  .has-phone .s07 .cost-row .bar {
    width: calc(var(--usd) / 0.8938);
  }

  .has-phone[data-currency="gbp"] .s07 .cost-row .bar,
  html[data-currency="gbp"] .has-phone .s07 .cost-row .bar {
    width: calc(var(--gbp) / 0.8938);
  }

  .has-phone .s07 .support {
    width: auto;
    margin-top: 32px;
    padding: 0;
    display: block;
    border: 0;
  }

  .has-phone .s07 .support .who {
    gap: 14px;
    align-items: flex-start;
  }

  .has-phone .s07 .support .who > div,
  .has-phone .s07 .support h3,
  .has-phone .s07 .support p,
  .has-phone .s10 .message p,
  .has-phone .s10 .message h2 {
    width: auto;
    max-width: none;
  }

  .has-phone .s07 .support .photo,
  .has-phone .s07 .support .photo img {
    width: 40px;
    height: 40px;
  }

  .has-phone .s07 .support h3 {
    font-family: var(--sans, inherit);
    font-size: 15px;
    font-weight: 500;
  }

  .has-phone .s07 .support p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 20px;
  }

  .has-phone .s07 .support .btn {
    width: 100%;
    margin-top: 16px;
    justify-content: center;
  }

  /* proof: two cards on black */
  .has-phone .s08 .inner {
    width: auto;
    padding: 56px 20px;
  }

  .has-phone .s08 .proof {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .has-phone .s08 .quote-card {
    width: auto;
    height: auto;
    padding: 24px;
    display: block;
    border-radius: 16px;
  }

  .has-phone .s08 .quote-card.light {
    background: #f5f4f1;
  }

  .has-phone .s08 .quote-card.dark {
    background: #1d1b19;
  }

  .has-phone .s08 blockquote {
    width: auto;
    margin: 0;
    font-size: 22px;
    line-height: 1.27;
    letter-spacing: -0.3px;
  }

  .has-phone .s08 .bottom,
  .has-phone .s08 .stack {
    width: auto;
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .has-phone .s08 .result {
    order: 0;
    display: block;
    text-align: left;
  }

  .has-phone .s08 .result .n {
    display: block;
    font-size: 44px;
    line-height: 1;
    letter-spacing: -1px;
  }

  .has-phone .s08 .result .l {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.4;
  }

  .has-phone .s08 .attribution {
    order: 1;
    margin-top: 20px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
  }

  .has-phone .s08 .dark .attribution {
    border-top-color: #ffffff1f;
  }

  .has-phone .s08 .attribution .rule {
    display: none;
  }

  .has-phone .s08 .attribution img {
    width: auto;
    height: 22px;
  }

  .has-phone .s08 .dark .attribution img {
    height: 28px;
  }

  /* FAQ: the heading and Book a demo, then the three groups */
  .has-phone .s09 .cols {
    display: block;
  }

  .has-phone .s09 .faq-side {
    width: auto;
    position: static;
  }

  .has-phone .s09 .more {
    margin-top: 12px;
    font-size: 14px;
  }

  .has-phone .s09 .faq {
    width: auto;
    margin-top: 32px;
  }

  .has-phone .faq .faq-group {
    margin: 28px 0 0;
    padding-bottom: 10px;
    font-size: 13px;
    color: var(--muted);
  }

  .has-phone .faq .faq-group:first-child {
    margin-top: 0;
  }

  .has-phone .faq .item {
    border-top: 1px solid var(--line);
  }

  .has-phone .faq .item:has(+ .faq-group),
  .has-phone .faq .item:last-child {
    border-bottom: 1px solid var(--line);
  }

  .has-phone .faq .trigger {
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    font-size: 15px;
    line-height: 21px;
    text-align: left;
  }

  .has-phone .faq .trigger .icon {
    display: none;
  }

  .has-phone .faq .trigger::after {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: var(--muted);
    -webkit-mask: url("assets/icons/plus.svg") center / contain no-repeat;
    mask: url("assets/icons/plus.svg") center / contain no-repeat;
  }

  .has-phone .faq .item.open .trigger {
    padding-bottom: 16px;
  }

  .has-phone .faq .item.open .trigger::after {
    -webkit-mask-image: url("assets/icons/minus.svg");
    mask-image: url("assets/icons/minus.svg");
  }

  .has-phone .faq .panel {
    width: auto;
    padding-bottom: 18px;
    font-size: 15px;
    line-height: 22px;
  }

  /* closing: left-aligned (Chris's edit), the field above its button */
  .has-phone .s10 .rails {
    padding: 56px 0 0;
  }

  .has-phone .s10 .message {
    width: auto;
    padding: 0;
    text-align: left;
    align-items: flex-start;
  }

  .has-phone .s10 .message > p:not(.talk) {
    margin-top: 12px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .s10 .site-field {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border: 0;
    background: none;
    box-shadow: none;
  }

  .has-phone .s10 .site-field > .icon {
    position: absolute;
    left: 14px;
    top: 16px;
  }

  .has-phone .s10 .site-field input {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    font-size: 15px;
  }

  .has-phone .s10 .site-field .btn {
    width: 100%;
    height: 40px;
    justify-content: center;
  }

  .has-phone .s10 .talk {
    margin-top: 16px;
    justify-content: flex-start;
    font-size: 14px;
  }

  .has-phone .s10 .starts {
    margin-top: 36px;
    align-items: flex-start;
  }

  .has-phone .s10 .starts-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    text-align: left;
  }

  .has-phone .s10 .starts-prompts {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .has-phone .s10 .starts-prompts li {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .has-phone .s10 .lines {
    width: auto;
    margin-top: 40px;
  }

  /* footer: the brand, the links two by two, the stage on "Your brand", the legal line */
  .has-phone .site-footer .brand-row {
    width: auto;
    padding: 40px 20px 0;
    display: block;
  }

  .has-phone .site-footer .brand {
    display: block;
  }

  .has-phone .site-footer .brand .rule {
    display: none;
  }

  .has-phone .site-footer .brand p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .site-footer .tracks {
    margin-top: 14px;
    justify-content: flex-start;
  }

  .has-phone .site-footer .cols {
    width: auto;
    padding: 36px 20px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }

  .has-phone .site-footer .cols h3 {
    font-size: 13px;
  }

  .has-phone .site-footer .cols li a {
    font-size: 14px;
    line-height: 1.4;
  }

  .has-phone .scene,
  .has-phone .scene::after {
    background-size: auto 187px;
    background-position: -436px 0;
  }

  .has-phone .scene {
    height: auto;
    margin-top: 0;
    padding-top: 187px;
  }

  .has-phone .scene .legal {
    height: auto;
    padding: 16px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    background: #141210;
    font-size: 12px;
  }

  .has-phone .scene .legal nav {
    gap: 18px;
  }
}

/* Phone, home page: adjustments after the first look at 390 (3 Dec) */
@media (max-width: 1023px) {
  body.has-phone {
    padding-top: 60px;  /* clears the fixed header, 60 high on phones */
  }

  .has-phone .site-header {
    height: 60px;
  }

  .has-phone .site-header .nav > a[href$="/login"] {
    padding: 0;
  }

  .has-phone .models-grid,
  .has-phone .s07 .plan-row,
  .has-phone .site-footer .brand-row {
    border-top: 0;
  }

  .has-phone .site-footer .brand-row {
    border-bottom: 0;
  }

  .has-phone .models-grid::before,
  .has-phone .models-grid::after,
  .has-phone .models-grid .cell::before,
  .has-phone .models-grid .cell::after,
  .has-phone .s10 .lines::before,
  .has-phone .s10 .lines::after,
  .has-phone .s07 .cr-mark {
    display: none;
  }

  .has-phone .s07 .support .photo {
    flex: none;
    margin: 0;
  }

  .has-phone .s08 {
    padding: 0;
  }

  .has-phone .s08 .stack {
    height: auto;
    gap: 0;
    justify-content: flex-start;
  }

  .has-phone .faq .faq-group {
    margin: 0;
    padding: 28px 0 10px;
  }

  .has-phone .faq .faq-group:first-child {
    padding-top: 0;
  }

  .has-phone .s10 .site-field input {
    flex: none;
  }

  .has-phone .s10 .lines {
    height: 64px;
    background-size: 100% 64px;
  }

  .has-phone .site-footer .cols h3 {
    margin-bottom: 12px;
    font-family: Geist, Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
  }

  .has-phone .site-footer {
    padding-top: 0;
  }

  .has-phone .s10 .rails {
    border-bottom: 0;
  }

  .has-phone .s09 .faq .list {
    border-bottom: 0;  /* the last question has its own rule; two made a 2px line */
  }
}

/* Phone menu (3 Dec): Pen "M3 · Menu · B2" (JijZ0), Chris's pick. Rows 52 high, 16/500, ruled; Product open first with its
   six items and the plan strip; Log in and the trial button under the rows. When it is open the header keeps only the
   logo and a grey round close button. */
@media (max-width: 1023px) {
  .has-phone .site-header.m-open .nav > a {
    display: none;
  }

  .has-phone .site-header.m-open .m-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f4f3f1;
  }

  .has-phone .site-header.m-open .m-menu-btn .icon {
    width: 18px;
    height: 18px;
  }

  .has-phone .mm-row {
    width: 100%;
    height: 52px;
    flex: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: none;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-align: left;
  }

  .has-phone .mm-group > .mm-row {
    border-bottom: 0;
  }

  .has-phone a.mm-row {
    height: 53px;  /* 52 and its rule, as in Pen */
  }

  .has-phone .m-menu:not([hidden]) {
    margin-top: 1px;  /* below the header's own rule */
  }

  .has-phone .mm-group {
    border-bottom: 1px solid var(--line);
  }

  .has-phone .mm-row .icon {
    color: var(--muted);
    transition: transform 0.2s ease;
  }

  .has-phone .mm-group.open > .mm-row .icon {
    transform: rotate(180deg);
  }

  .has-phone .mm-items {
    display: none;
    padding-bottom: 14px;
  }

  .has-phone .mm-group.open .mm-items {
    display: block;
  }

  .has-phone .mm-item {
    padding: 9px 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: var(--ink);
  }

  .has-phone .mm-item b {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    line-height: 19px;
    font-weight: 500;
  }

  .has-phone .mm-item small {
    font-size: 13px;
    line-height: 17px;
    color: var(--muted);
  }

  .has-phone .mm-strip {
    line-height: 17px;
  }

  .has-phone .mm-item.is-soon b {
    color: #a8a39c;
  }

  .has-phone .mm-item i {
    height: 18px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    background: #f4f3f1;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    color: var(--muted);
  }

  .has-phone .mm-strip {
    margin-top: 8px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    background: #f7f7f7;
    font-size: 13px;
    color: var(--body);
  }

  .has-phone .mm-strip b,
  .has-phone .mm-see {
    font-weight: 500;
    color: var(--ink);
  }

  .has-phone .mm-see {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
}

/* Phone, Pricing page and the "Talk to us" form (3 Dec): Pen "P · … · 390" (x -22415) and the four form frames
   (x -22925 to -24455). Same switch as the home page: .has-phone under 1024px (tablets then take the "Tablet" blocks). */
@media (max-width: 1023px) {
  /* hero: left-aligned, the plan card stacked, then the custom plan as its own card */
  .has-phone .pa-hero .rails {
    padding: 36px 0 48px;
    text-align: left;
  }

  .has-phone .pa-hero h1 {
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -0.76px;
  }

  .has-phone .pa-hero h1 span {
    display: block;
  }

  .has-phone .pa-hero .sub {
    margin-top: 14px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .pa-card {
    width: auto;
    margin: 28px 0 0;
    padding: 24px;
    display: block;
    background: #1b1a18 url("assets/art/tile-dark-dots.webp") center / cover no-repeat;
  }

  .has-phone .pa-price {
    width: auto;
    display: block;
  }

  .has-phone .pa-price > div {
    margin-top: 18px;
  }

  .has-phone .pa-figure {
    font-size: 56px;
    letter-spacing: -1.5px;
  }

  .has-phone .pa-lede {
    margin-top: 10px;
  }

  .has-phone .pa-models {
    margin-top: 12px;
    height: 26px;
    gap: 5px;
  }

  .has-phone .pa-models span {
    width: 26px;
    height: 26px;
  }

  .has-phone .pa-models img {
    width: 14px;
    height: 14px;
  }

  .has-phone .pa-start {
    margin-top: 22px;
    gap: 10px;
  }

  .has-phone .pa-start .plan-btn {
    width: 100%;
    height: 40px;
  }

  .has-phone .pa-start p {
    text-align: center;
  }

  .has-phone .pa-divider {
    display: block;
    width: auto;
    height: 1px;
    margin: 22px 0 18px;
  }

  .has-phone .pa-included {
    gap: 12px;
  }

  .has-phone .pa-included ul {
    gap: 10px;
  }

  .has-phone .pa-included li {
    align-items: flex-start;
    line-height: 20px;
  }

  .has-phone .pa-included .icon {
    margin-top: 3px;
  }

  .has-phone .pa-custom {
    width: auto;
    margin: 12px 0 0;
    padding: 18px;
    display: block;
    border-color: var(--line);
    border-radius: 16px;
    background: #ffffff;
  }

  .has-phone .pa-custom span {
    margin-top: 6px;
    line-height: 20px;
  }

  .has-phone .pa-custom .btn {
    width: 100%;
    margin-top: 14px;
    justify-content: center;
  }

  /* everything in the plan: groups that open, label | value rows */
  .has-phone .pb-breakdown .rails,
  .has-phone .p-cost .rails {
    padding: 56px 0;
  }

  .has-phone .pb-table {
    margin-top: 28px;
  }

  .has-phone .pb-head {
    height: auto;
    padding: 14px 0;
    display: grid;
    grid-template-columns: 14px 1fr;
    column-gap: 10px;
    row-gap: 3px;
    align-items: start;
  }

  .has-phone .pb-head .icon {
    margin-top: 5px;
  }

  .has-phone .pb-title {
    grid-column: 2;
    font-size: 19px;
    letter-spacing: -0.3px;
  }

  .has-phone .pb-summary {
    grid-column: 2;
    font-size: 13px;
    line-height: 1.4;
  }

  .has-phone .pb-summary:empty {
    display: none;
  }

  .has-phone .pb-rows {
    padding: 0 0 10px 24px;
  }

  .has-phone .pb-row {
    height: auto;
    padding: 11px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top-color: var(--line);
  }

  .has-phone .pb-row > span {
    line-height: 1.35;
  }

  .has-phone .pb-row > span:first-child {
    padding: 0;
  }

  .has-phone .pb-row > span:last-child {
    flex: none;
    padding: 0;
    border: 0;
    text-align: right;
  }

  .has-phone .pb-models {
    margin-left: 6px;
  }

  .has-phone .pb-models span {
    width: 16px;
    height: 16px;
  }

  .has-phone .pb-models img {
    width: 9px;
    height: 9px;
  }

  /* the cost rows, as on the home page (both pages: the desktop row adds a 12px gap above the bar) */
  .has-phone .cost-row {
    gap: 0;
  }

  .has-phone .p-cost .cost {
    width: auto;
    margin-top: 24px;
  }

  .has-phone .p-cost .cost-head {
    height: auto;
    margin-bottom: 10px;
    display: block;
    font-size: 12px;
    color: var(--muted);
  }

  .has-phone .p-cost .cost-row {
    height: auto;
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }

  .has-phone .p-cost .cost-row:last-child {
    border-bottom: 1px solid var(--line);
  }

  .has-phone .p-cost .cr-mark {
    display: none;
  }

  .has-phone .p-cost .cost-row .name {
    font-size: 14px;
  }

  .has-phone .p-cost .cost-row .meta {
    margin-top: 4px;
    font-size: 12px;
  }

  .has-phone .p-cost .cost-row .amount {
    font-size: 24px;
  }

  .has-phone .p-cost .cost-row .track {
    margin-top: 10px;
    height: 4px;
  }

  .has-phone .p-cost .cost-row .bar {
    width: calc(var(--usd) / 0.8938);
  }

  html[data-currency="gbp"] .has-phone .p-cost .cost-row .bar {
    width: calc(var(--gbp) / 0.8938);
  }

  /* the "Talk to us" form: a sheet from the bottom over the blurred page */
  .has-phone .plan-dialog.talk,
  .has-phone .plan-dialog.talk[open] {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 44px);
    max-height: calc(100dvh - 44px);
    margin: 0;
    display: block;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    animation: talk-sheet-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .has-phone .plan-dialog.talk:not([open]) {
    display: none;
  }

  .has-phone .plan-dialog.talk::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: var(--line);
  }

  .has-phone .talk-pitch {
    width: auto;
    padding: 14px 20px 20px;
    display: block;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
  }

  .has-phone .talk-pitch + .talk-main {
    margin: 0;
  }

  .has-phone .talk-title {
    padding-right: 52px;
    font-size: 24px;
    letter-spacing: -0.48px;
  }

  .has-phone .talk-points {
    margin-top: 14px;
    gap: 8px;
  }

  .has-phone .talk-chris {
    margin-top: 14px;
  }

  .has-phone .talk-chris img {
    width: 24px;
    height: 24px;
  }

  .has-phone .talk-main {
    padding: 20px 20px 32px;
    display: block;
  }

  .has-phone .talk-head {
    position: absolute;
    top: 28px;
    right: 20px;
  }

  .has-phone .talk-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .has-phone .talk-close .icon {
    width: 18px;
    height: 18px;
  }

  .has-phone .talk-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;  /* the desktop grid aligns its cells to the start, which would shrink each field */
    gap: 16px;
  }

  .has-phone .talk-field input[type="text"],
  .has-phone .talk-field input[type="email"],
  .has-phone .talk-choice {
    height: 44px;
  }

  .has-phone .talk-choice span {
    height: 38px;
  }

  .has-phone .talk-field textarea {
    height: 96px;
    padding: 11px 12px;
  }

  .has-phone .talk-chips span {
    height: 34px;
    padding: 0 13px;
  }

  .has-phone .talk-foot {
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .has-phone .talk-send {
    width: 100%;
    height: 44px;
    font-size: 15px;
  }

  .has-phone .talk-note {
    text-align: center;
  }

  .has-phone .talk-sent {
    padding: 40px 0 16px;
  }

  .has-phone .talk-sent-line {
    max-width: 300px;
  }

  .has-phone .talk-done {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
  }

  .has-phone .talk:has(.talk-sent:not([hidden])) .talk-pitch {
    display: none;  /* sent: only the confirmation, as in Pen */
  }

  .has-phone .talk-main:has(.talk-sent:not([hidden])) {
    padding-top: 64px;
  }
}

@media (max-width: 699px) {
  .has-phone .talk-main {
    height: auto !important;  /* the desktop panel keeps its height when it shows "Request sent."; a sheet does not */
  }
}

@keyframes talk-sheet-in {
  from {
    transform: translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-phone .plan-dialog.talk[open] {
    animation: none;
  }
}

/* ===================== Tablet, home page (3 Dec) =====================
   Pen "T · 00 Header … T · 12 Footer · 768" (x -25343). Tablets held upright get width=device-width from the head
   script, so the phone rules above apply to them too (up to 1023px); from 700px this block lays the page out two across
   at 40px margins, as in Pen at 768. Wider tablets keep the same columns and let the text columns grow. */
.s5m-tools {
  display: contents;  /* phones: the rows sit in the tile's own column; tablets wrap the tools two by two */
}

@media (min-width: 700px) and (max-width: 1023px) {
  /* header: Log in, the full trial label, the menu in a bordered square */
  body.has-phone {
    padding-top: 64px;
  }

  .has-phone .site-header {
    height: 64px;
  }

  .has-phone .site-header .inner {
    height: 63px;
    padding: 0 40px;
  }

  .has-phone .site-header .nav {
    gap: 16px;
  }

  .has-phone .site-header .nav > .btn-primary {
    height: 36px;
    margin-left: 0;  /* the desktop gap after the (hidden) Book a demo */
    padding: 0 14px;
  }

  .has-phone .site-header .m-hide {
    display: inline;
  }

  .has-phone .site-header .m-show {
    display: none;
  }

  .has-phone .m-menu-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
  }

  .has-phone .m-menu:not([hidden]) {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    padding: 8px 40px 24px;
  }

  /* hero: H1 48, the field with its labelled button, the two checks, the window bleeding off the right edge */
  .has-phone .hero-copy {
    padding: 56px 40px 0;
  }

  .has-phone .hero-copy h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -1px;
  }

  .has-phone .hero-copy .sub {
    max-width: 520px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 24px;
  }

  .has-phone .hero-field {
    width: 452px;
    margin-top: 28px;
    padding: 0 4px 0 14px;
  }

  .has-phone .hero-field .btn {
    width: auto;
    height: 40px;
    padding: 0 16px;
  }

  .has-phone .hero-field .btn .label {
    display: inline;
  }

  .has-phone .hero-field .btn .icon,
  .has-phone .hero .m-note {
    display: none;
  }

  .has-phone .hero .reassure {
    display: flex;
    height: 17px;
    margin-top: 12px;
    gap: 18px;
    line-height: 17px;
  }

  /* 728 x 440 at 768 with the 760 x 520 picture inside it; wider tablets scale both, so it always runs off the edge */
  .has-phone .m-hero-pic {
    width: calc(100% + 40px);
    height: auto;
    aspect-ratio: 728 / 440;
    margin-top: 44px;
  }

  .has-phone .m-hero-pic img {
    width: calc(100% + 32px);
    height: auto;
  }

  .has-phone .m-hero-pic::after {
    height: 31.8%;
  }

  /* the seven models: four across in a ruled box, the line first */
  .has-phone .rails.models-grid {
    display: block;
    margin: 0 40px;
    padding: 24px 0 64px;
  }

  .has-phone .models-grid .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 0;
    background: var(--line);
  }

  .has-phone .models-grid .row:first-child {
    border-radius: 12px 12px 0 0;
  }

  .has-phone .models-grid .row:nth-child(2) {
    padding-top: 0;
    border-radius: 0 0 12px 12px;
  }

  .has-phone .models-grid .row:nth-child(n) .cell:nth-child(n) {
    order: 0;
    grid-column: auto;
  }

  .has-phone .models-grid .cell {
    height: 72px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    font-size: 14px;
  }

  .has-phone .models-grid .row:first-child .cell:first-child {
    border-radius: 11px 0 0 0;
  }

  .has-phone .models-grid .row:first-child .cell:last-child {
    border-radius: 0 11px 0 0;
  }

  .has-phone .models-grid .row:nth-child(2) .cell:first-child {
    border-radius: 0 0 0 11px;
  }

  .has-phone .models-grid .row:nth-child(2) .cell:last-child {
    border-radius: 0 0 11px 0;
  }

  .has-phone .models-grid .cell img {
    width: 16px;
    height: 16px;
  }

  .has-phone .models-grid .cell.label {
    margin: 0;
    padding: 0 16px;
    justify-content: flex-start;
    font-size: 13px;
    text-align: left;
  }

  /* every section: 72 above and below, the rule at the foot, headings 32 */
  .has-phone .rails {
    margin: 0 40px;
    padding: 72px 0;
  }

  .has-phone .h2 {
    font-size: 32px;
    line-height: 38px;  /* two lines make Pen's 76 */
    letter-spacing: -0.64px;
  }

  .has-phone .s04 .section-head,
  .has-phone .s05 .section-head,
  .has-phone .s06 .section-head,
  .has-phone .s07 .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .has-phone .section-head .h2 {
    flex: none;  /* the heading keeps its two lines; the line beside it wraps first on narrow tablets */
  }

  .has-phone .section-sub {
    min-width: 0;
    margin: 0 0 0 24px;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
  }

  .has-phone .section-sub br {
    display: inline;
  }

  /* 02: the accordion beside the live tile, the trial under the accordion */
  .has-phone .s02 .rails,
  .has-phone .s10 .rails {
    border-top: 0;  /* the section above ends on its own rule */
  }

  .has-phone .s02 .cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    grid-template-rows: auto auto 1fr;
    column-gap: 24px;
    align-items: start;
  }

  .has-phone .s02 .h2 {
    grid-column: 1 / -1;
    margin-bottom: 32px;
  }

  .has-phone .s02 .accordion {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0;
  }

  .has-phone .s02 .accordion .panel {
    padding-top: 0;
  }

  .has-phone .s02 .accordion .panel p {
    font-size: 14px;
    line-height: 20px;
    color: var(--body);
  }

  /* the model pills two, two, then three to a row, as in Pen */
  .has-phone .s02 .chips {
    max-width: 308px;
  }

  .has-phone .s02 .chips .break {
    display: none;
  }

  .has-phone .s02 .left > .btn {
    grid-column: 1;
    grid-row: 3;
    width: auto;
    margin-top: 24px;
    justify-self: start;
  }

  /* the 480 tile at 0.7854, as Pen's picture (340 x 377), its sides trimmed and its cards kept centred */
  .has-phone .s2-tile {
    grid-column: 2;
    grid-row: 2 / 4;
    width: 433px;
    height: 480px;
    margin: 0;
    zoom: 0.7854;
    border-radius: 20.4px;
  }

  .has-phone .s2-tile .card {
    margin-left: -23.5px;
  }

  /* 03: the two tiles side by side; each picture centred in a 266 band above its caption */
  .has-phone .s03 .tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .has-phone .s03 .tile {
    display: grid;
    grid-template-rows: 266px auto;
    align-items: start;
  }

  .has-phone .s03 .card.sov,
  .has-phone .s03 .glass.plan {
    margin: 0;
    align-self: start;
    justify-self: center;
    zoom: 0.7312;  /* 372 wide on desktop, 272 in Pen */
  }

  .has-phone .s03 .card.sov {
    margin-top: 20.5px;  /* 15 into the band, divided by the zoom */
  }

  .has-phone .s03 .glass.plan {
    margin-top: 16.4px;  /* 12 */
  }

  .has-phone .s03 .caption {
    margin-top: 12px;
  }

  .has-phone .s03 .tile-title {
    line-height: 19px;
  }

  .has-phone .s03 .tile-line {
    margin-top: 6px;
    font-size: 12px;
    line-height: 17px;
  }

  /* 04: the four cards two by two */
  .has-phone .s4-m {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .has-phone .s4m-card {
    padding: 19px 17px 17px;  /* Pen's 20 / 18 / 18 sit inside its stroke; here the 1px border adds to them */
  }

  .has-phone .s4m-card h3 {
    line-height: 20px;
  }

  .has-phone .s4m-card > a {
    width: max-content;
    display: flex;  /* not inline: the card's own line height would add 1.6px */
    line-height: 18px;
  }

  .has-phone .s4m-pic {
    height: 252px;
    padding: 10px;
    align-items: center;
  }

  .has-phone .s4m-card:nth-child(n + 3) .s4m-pic {
    height: 212px;
  }

  .has-phone .s4m-pic .pen {
    zoom: 0.69;
  }

  .has-phone .s4m-pic.is-chart {
    padding: 0;
  }

  .has-phone .s4m-pic.is-chart img {
    height: 100%;
    object-fit: cover;
  }

  /* 05: the tools two by two, an arrow, the Wuvr card, in one tile */
  .has-phone .s5-m {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px 264px;
    column-gap: 18px;
    align-items: center;
    margin-top: 32px;
    padding: 28px 24px;
  }

  .has-phone .s5m-tools {
    width: 244px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    justify-self: center;
  }

  .has-phone .s5m-row {
    display: contents;
  }

  .has-phone .s5m-cap {
    width: 100%;
    margin-top: 14px;
    gap: 8px;
  }

  .has-phone .s5m-arrow {
    margin: 0;
  }

  .has-phone .s5m-arrow .icon {
    rotate: -90deg;
  }

  .has-phone .s5-m [data-pen="s5-wuvr-card"] > div {
    box-shadow: none !important;  /* Pen's tile shows the card flat */
  }

  /* 06: the thread beside two tiles, two tiles under them, then the integrations as one dark tile */
  .has-phone .s06 .section-head .btn {
    margin-top: 0;
  }

  .has-phone .s06 .bento {
    margin-top: 32px;
  }

  .has-phone .s06 .lead-row {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    overflow: visible;
    scroll-snap-type: none;
  }

  .has-phone .s06 .lead-row .pen {
    height: auto;
    zoom: 1;
    border-radius: 16px;
    container-type: inline-size;
  }

  /* each tile is drawn at 334 wide: on wider tablets its contents stay centred in the tile */
  .has-phone .s06 .lead-row .pen > div > * {
    margin-left: calc((100cqw - 334px) / 2);
  }

  .has-phone .s06 .lead-row .pen > div > [data-pencil-name="Fade"] {
    width: 100% !important;
    margin-left: 0;
  }

  .has-phone .s06 .lead-row > [data-pen="bento-thread"] {
    grid-row: span 2;
  }

  .has-phone .s06 [data-pen="bento-thread"] > div {
    height: 100% !important;
  }

  .has-phone .s06 [data-pen="bento-thread"] [data-pencil-name="Fade"] {
    top: auto !important;
    bottom: 0;
  }

  /* Pen's tiles are a pixel taller than the exported ones */
  .has-phone .s06 [data-pen="bento-market"] > div,
  .has-phone .s06 [data-pen="bento-onboarding"] > div {
    height: 373px !important;
  }

  .has-phone .s06 [data-pen="bento-private"] > div,
  .has-phone .s06 [data-pen="bento-roles"] > div {
    height: 361px !important;
  }

  .has-phone .s6m-dots {
    display: none;
  }

  .has-phone .s6m-integ {
    position: relative;
    margin-top: 20px;
    padding: 28px 28px 28px 280px;
  }

  .has-phone .s6m-integ h3 {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 220px;
    line-height: 20px;
  }

  .has-phone .s6m-integ > p {
    position: absolute;
    left: 28px;
    top: 56px;
    width: 220px;
    margin: 0;
  }

  .has-phone .s6m-row {
    height: 53px;  /* 52 and its rule */
  }

  .has-phone .s6m-row:last-child {
    height: 54px;  /* and the closing rule */
  }

  /* 07: the plan card beside the costs, Chris on one line under them */
  .has-phone .s07 .plan-row {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 20px;
    align-items: center;
    margin-top: 32px;
    border-bottom: 0;
  }

  .has-phone .s07 .plan-card {
    zoom: 0.85;
  }

  .has-phone .s07 .cost {
    margin-top: 0;
  }

  .has-phone .s07 .cost-head {
    height: auto;
    padding-bottom: 0;
  }

  .has-phone .s07 .cost-head h3 {
    line-height: 18px;
  }

  .has-phone .s07 .cost-head span {
    line-height: 16px;
  }

  /* each cost: the name and the figure on one line, what it includes under them, then the bar */
  .has-phone .s07 .cost-row .line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .has-phone .s07 .cost-row .who {
    display: contents;
  }

  .has-phone .s07 .cost-row .name {
    grid-column: 1;
    grid-row: 1;
    line-height: 18px;
  }

  .has-phone .s07 .cost-row .amount {
    grid-column: 2;
    grid-row: 1;
    line-height: 24px;
  }

  .has-phone .s07 .cost-row .meta {
    grid-column: 1 / -1;
    grid-row: 2;
    line-height: 16px;
  }

  .has-phone .s07 .support {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .has-phone .s07 .support .who {
    flex: 1;
    gap: 16px;
    align-items: center;
  }

  .has-phone .s07 .support .photo {
    width: 44px;
    height: 44px;
  }

  /* the desktop crop of the photo (77 in a 56 circle), at 44 */
  .has-phone .s07 .support .photo img {
    width: 60.69px;
    height: 60.69px;
    left: -6.07px;
    top: -3.79px;
  }

  .has-phone .s07 .support h3 {
    line-height: 19px;
  }

  .has-phone .s07 .support .btn {
    width: auto;
    margin-top: 0;
    flex: none;
  }

  /* proof: the two cards side by side, 440 high, the result and the name at the foot */
  .has-phone .s08 .inner {
    padding: 72px 40px;
  }

  .has-phone .s08 .proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
  }

  .has-phone .s08 .quote-card {
    height: 440px;
    display: flex;
    flex-direction: column;
  }

  .has-phone .s08 .bottom,
  .has-phone .s08 .stack {
    margin-top: auto;
  }

  .has-phone .s08 .light .attribution img {
    height: 17px;  /* Pen's Fixr logo, 56 wide */
  }

  .has-phone .s08 .attribution b {
    font-size: 13px;
  }

  .has-phone .s08 .attribution span {
    font-size: 12px;
  }

  /* FAQ: the heading and Book a demo beside the questions */
  .has-phone .s09 .cols {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    column-gap: 40px;
    align-items: start;
  }

  .has-phone .s09 .more {
    margin-top: 14px;
    gap: 6px;
    white-space: nowrap;
  }

  .has-phone .s09 .more a {
    gap: 6px;
  }

  .has-phone .s09 .faq {
    margin-top: 0;
  }

  .has-phone .faq .faq-group {
    line-height: 17px;
  }

  /* closing: centred, the field with its button, the prompts in two rows, the rising lines */
  .has-phone .s10 .rails {
    padding: 72px 0 0;
  }

  .has-phone .s10 .message {
    text-align: center;
    align-items: center;
  }

  .has-phone .s10 .message h2.h2 {
    max-width: 400px;  /* two lines, after "recommends", as in Pen */
  }

  .has-phone .s10 .message > p:not(.talk) {
    margin-top: 14px;
    font-size: 16px;
    line-height: 24px;
  }

  .has-phone .s10 .site-field {
    width: 452px;
    height: 48px;
    margin-top: 28px;
    padding: 0 4px 0 14px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    border: 1px solid #dcd8d1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .has-phone .s10 .site-field > .icon {
    position: static;
  }

  .has-phone .s10 .site-field input {
    flex: 1;
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .has-phone .s10 .site-field .btn {
    width: auto;
    padding: 0 16px;
    border-radius: 9px;
  }

  .has-phone .s10 .talk {
    justify-content: center;
  }

  .has-phone .s10 .starts {
    margin-top: 40px;
    align-items: center;
  }

  .has-phone .s10 .starts-label {
    flex-direction: row;
    align-items: center;
  }

  .has-phone .s10 .starts-label .discs {
    gap: 4px;
  }

  .has-phone .s10 .starts-prompts {
    max-width: 560px;
    margin-top: 0;  /* the column's own 14 gap is enough */
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .has-phone .s10 .starts-prompts li {
    padding: 0 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    color: #3d3a36;
  }

  .has-phone .s10 .lines {
    margin-top: 48px;
    height: 100px;
    background-size: 100% 100px;
  }

  /* footer: the brand with the seven models, the links four across, the stage, the legal line */
  .has-phone .site-footer .brand-row {
    padding: 48px 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .has-phone .site-footer .brand > :first-child {
    height: 24px;
    display: flex;
    width: max-content;
  }

  .has-phone .site-footer .brand p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
  }

  .has-phone .site-footer .tracks {
    margin-top: 0;
  }

  .has-phone .site-footer .cols {
    padding: 40px 40px 48px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  .has-phone .site-footer .cols h3 {
    margin-bottom: 22px;
    line-height: 17px;
  }

  .has-phone .site-footer .cols ul {
    gap: 10px;
  }

  .has-phone .site-footer .cols li a {
    line-height: 20px;
  }

  /* All comparisons reads as the other links, as in Pen */
  .has-phone .site-footer .cols li a.all {
    font-weight: 400;
    color: var(--body);
  }

  .has-phone .site-footer .cols li a .icon {
    display: none;
  }

  /* the stage at its desktop scale (312 high), cut to 268, "Your brand" (73% across the picture) in the middle */
  .has-phone .scene,
  .has-phone .scene::after {
    background-size: auto 312px;
    background-position: calc(50% - 332px) 0;  /* % of (box - 1440): -668px at 768 */
  }

  .has-phone .scene {
    padding-top: 268px;
  }

  .has-phone .scene .legal {
    height: 56px;
    padding: 0 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .has-phone .scene .legal nav {
    gap: 22px;
  }
}

/* ===================== Tablet, Pricing page (3 Dec) =====================
   Pen "TP · 00 … 07 · 768" (x -26231). Header, proof, FAQ, closing and footer take the home page's tablet rules. */
@media (min-width: 700px) and (max-width: 1023px) {
  /* hero: H1 48, then the plan card with the price beside everything included, then the custom plan on one line */
  .has-phone .pa-hero .rails {
    padding: 56px 0 72px;
    border-bottom: 0;  /* Pen runs the hero straight into the breakdown */
  }

  .has-phone .pa-hero h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -1px;
  }

  .has-phone .pa-hero .sub {
    margin-top: 16px;
    font-size: 16px;
    line-height: 21px;
  }

  .has-phone .pa-card {
    margin-top: 36px;
    padding: 32px;
    display: flex;
    gap: 32px;
  }

  .has-phone .pa-price {
    width: 264px;
    flex: none;
  }

  .has-phone .pa-price > div {
    margin-top: 20px;
  }

  .has-phone .pa-figure {
    gap: 8px;
  }

  .has-phone .pa-figure small {
    padding-bottom: 0;
  }

  .has-phone .pa-lede {
    margin-top: 10px;
  }

  .has-phone .pa-models {
    margin-top: 14px;
  }

  .has-phone .pa-price > .pa-start {
    margin-top: 28px;
    gap: 10px;
  }

  .has-phone .pa-start p {
    text-align: left;
  }

  .has-phone .pa-divider {
    width: 1px;
    height: auto;
    min-height: 356px;  /* Pen's card is 420 high whatever the list measures */
    margin: 0;
    flex: none;
    align-self: stretch;
  }

  .has-phone .pa-included {
    flex: 1;
    min-width: 0;
    align-content: start;
    gap: 12px;
  }

  .has-phone .pa-included ul {
    gap: 12px;
  }

  .has-phone .pa-custom {
    margin-top: 14px;
    padding: 17px 19px 17px 23px;  /* Pen's 18 / 20 / 24 include its stroke */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .has-phone .pa-custom span {
    margin-top: 4px;
  }

  .has-phone .pa-custom .btn {
    width: auto;
    margin-top: 0;
    flex: none;
  }

  /* everything in the plan: heads 60 high with the summary on the right, rows label | rule | value */
  .has-phone .pb-breakdown .rails,
  .has-phone .p-cost .rails {
    padding: 72px 0;
  }

  .has-phone .pb-breakdown .section-head,
  .has-phone .p-cost .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .has-phone .pb-table {
    margin-top: 32px;
  }

  .has-phone .pb-head {
    height: 61px;  /* 60 and the rule above it */
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .has-phone .pb-head .icon {
    margin-top: 0;
  }

  .has-phone .pb-title {
    flex: 1;
    font-size: 20px;
    line-height: 20px;
  }

  .has-phone .pb-summary {
    width: 360px;
    flex: none;
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
  }

  .has-phone .pb-rows {
    padding: 0 0 10px 26px;
  }

  .has-phone .pb-row {
    height: 47px;
    padding: 0;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 0;
  }

  .has-phone .pb-row > span {
    line-height: 46px;
  }

  .has-phone .pb-row > span:last-child {
    padding: 0 24px;
    border-left: 1px solid var(--line);
    text-align: left;
  }

  .has-phone .pb-models span {
    width: 20px;
    height: 20px;
  }

  .has-phone .pb-models img {
    width: 11px;
    height: 11px;
  }

  /* what 1,000 answers cost: "Lower is better" on the right, then the rows full width */
  .has-phone .p-cost .cost {
    margin-top: 32px;
  }

  .has-phone .p-cost .cost-head {
    height: 16px;
    margin-bottom: 10px;
    padding-bottom: 0;
    line-height: 16px;
    text-align: right;
  }

  .has-phone .p-cost .cost-row {
    padding: 16px 0;
  }

  .has-phone .p-cost .cost-row .line {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .has-phone .p-cost .cost-row .name {
    line-height: 18px;
  }

  .has-phone .p-cost .cost-row .meta {
    line-height: 16px;
  }

  .has-phone .p-cost .cost-row .amount {
    font-size: 28px;
    line-height: 28px;
    letter-spacing: -0.4px;
  }

  .has-phone .p-cost .cost-row .track {
    margin-top: 12px;
  }
}

/* ===================== Tablet, the "Talk to us" form (3 Dec) =====================
   Pen "TP · Talk to us form · 1 … 4 of 4" (x -27119 to -29783): the desktop dialog at 688, centred over the blurred page,
   the pitch 230 wide. These undo the phone sheet. */
@media (min-width: 700px) and (max-width: 1023px) {
  .has-phone .plan-dialog.talk,
  .has-phone .plan-dialog.talk[open] {
    inset: 0;
    width: 688px;
    max-width: calc(100% - 80px);
    height: fit-content;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    display: grid;  /* a grid, not flex: on a short screen both panels keep their full height and the dialog scrolls */
    grid-template-columns: 230px minmax(0, 1fr);
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16), 0 32px 80px rgba(0, 0, 0, 0.28);
    animation: dialog-in 0.175s var(--ease-out-quad);
  }

  .has-phone .plan-dialog.talk:not([open]) {
    display: none;
  }

  .has-phone .plan-dialog.talk::before {
    display: none;
  }

  .has-phone .talk-pitch {
    width: 230px;
    flex: none;
    padding: 28px;
    display: flex;
    border-bottom: 0;
    background: #f7f7f7;
  }

  .has-phone .talk-title {
    padding-right: 0;
    font-size: 20px;
    letter-spacing: -0.4px;
  }

  .has-phone .talk-points {
    margin-top: 22px;
    gap: 12px;
  }

  .has-phone .talk-chris {
    margin-top: 0;
  }

  .has-phone .talk-chris img {
    width: 32px;
    height: 32px;
  }

  .has-phone .talk-main {
    padding: 20px 28px 28px;
    display: flex;
  }

  .has-phone .talk-head {
    position: static;
  }

  .has-phone .talk-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
  }

  .has-phone .talk-close .icon {
    width: 16px;
    height: 16px;
  }

  .has-phone .talk-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .has-phone .talk-field input[type="text"],
  .has-phone .talk-field input[type="email"],
  .has-phone .talk-choice {
    height: 40px;
  }

  .has-phone .talk-choice span {
    height: 34px;
    font-size: 13px;  /* "In-house team" fits the half width */
  }

  .has-phone .talk-field textarea {
    height: 88px;
    padding: 10px 12px;
  }

  .has-phone .talk-chips span {
    height: 32px;
    padding: 0 12px;
  }

  .has-phone .talk-foot {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }

  .has-phone .talk-send {
    width: auto;
    height: 40px;
    font-size: 14px;
  }

  .has-phone .talk-note {
    text-align: left;
  }

  /* sent: the pitch stays, the right panel keeps its height and says so */
  .has-phone .talk:has(.talk-sent:not([hidden])) .talk-pitch {
    display: flex;
  }

  .has-phone .talk-main:has(.talk-sent:not([hidden])) {
    padding-top: 20px;
    gap: 0;  /* Pen's confirmation starts right under the close button */
  }

  .has-phone .talk-tick {
    margin-bottom: 16px;
  }

  .has-phone .talk-sent-title {
    line-height: 26px;
  }

  .has-phone .talk-sent {
    padding: 0 0 48px;
  }

  .has-phone .talk-sent-line {
    max-width: 300px;
  }

  .has-phone .talk-done {
    width: auto;
    height: 40px;
    margin-top: 20px;
    display: inline-flex;
    font-size: 14px;
  }
}

/* Unlinked for now (Chris, 3 Dec): the Product and Resources menu items, the footer columns (all but Pricing) and
   section 04's four "See …" links (desktop and the phone and tablet cards) are <a> without an href. They look as before; they take no hover, click or focus. */
.menu-panel a:not([href]),
.m-menu a:not([href]),
.site-footer .cols a:not([href]),
.s04 a:not([href]) {
  cursor: default;
  pointer-events: none;
}

/* ===================== Tablet menu (3 Dec) =====================
   Pen "T · Menu · B · a card from the menu button, the page dimmed" (b6tQq), Chris's pick. The header stays as it is,
   with Log in and the trial; the menu button becomes a grey close button. B2's rows sit in a 400-wide card, 8 under
   the header and 40 from the right, over the page dimmed and blurred as behind the "Talk to us" form. */
.m-scrim {
  display: none;
}

@media (min-width: 700px) and (max-width: 1023px) {
  .has-phone .site-header.m-open .nav > a[href$="/login"],
  .has-phone .site-header.m-open .nav > .btn-primary {
    display: flex;
  }

  .has-phone .site-header.m-open .m-menu-btn {
    border-color: transparent;
  }

  .has-phone .m-menu:not([hidden]) {
    position: absolute;
    top: 72px;
    right: 40px;
    width: 400px;
    height: auto;
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
    margin-top: 0;
    padding: 4px 20px 8px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16), 0 32px 80px rgba(0, 0, 0, 0.28);
    transform-origin: top right;
    animation: tm-card-in 0.18s var(--ease-out-quad);
  }

  /* Book a demo ends the card: no rule under it */
  .has-phone .m-menu > a.mm-row:last-of-type {
    height: 52px;
    border-bottom: 0;
  }

  /* Log in and the trial are in the header */

  .has-phone .m-scrim:not([hidden]) {
    position: fixed;
    inset: 64px 0 0;
    z-index: 19;  /* under the header (20), which holds the card */
    display: block;
    background: rgba(20, 17, 15, 0.28);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    animation: tm-scrim-in 0.18s var(--ease-out-quad);
  }
}

@keyframes tm-card-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}

@keyframes tm-scrim-in {
  from {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .has-phone .m-menu,
  .has-phone .m-scrim {
    animation: none !important;
  }
}

/* Scroll steps (main.js "Scroll steps"), desktop layout only: sections 2 and 4 hold still while the page scrolls
   through their items; the open item's rule fills with that item's stretch of scroll (--p, 0 to 1). */
.scroll-held {
  position: sticky;
  z-index: 1;
}

.accordion[data-by-scroll] .item.open {
  position: relative;
}

.accordion[data-by-scroll] .item.open::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  scale: var(--p, 0) 1;
}

.s4-steps.by-scroll .s4-track.on .progress i {
  animation: none;
  scale: var(--p, 0) 1;
}

/* Pricing: the trial and a demo under the plan's breakdown and under the cost bars (Chris, 4 Dec) */
.p-ctas {
  margin-top: 48px;
  display: flex;
  gap: 12px;
}

@media (max-width: 699px) {
  .has-phone .p-ctas {
    margin-top: 32px;
    flex-direction: column;
  }

  .has-phone .p-ctas .btn {
    width: 100%;
  }
}

/* Scrolling back up plays nothing (main.js "Scrolling back up"): a section 4 step opened on the way up shows its
   finished picture, with the chart's transitions and the panels' animations off until the next step opened going down. */
.s4-quiet,
.s4-quiet * {
  transition: none !important;
  animation: none !important;
}

/* ---------- Product page: Monitoring and sentiment (Pen "PM · Monitoring and sentiment", 5 Dec 2026) ----------
   Every heading's second line is ink here, as in Pen (Chris: headings keep one contrast). */

.pm .h2 {
  line-height: 38px;
}

.pm .h2 .soft {
  color: var(--ink);
}

.pm-subnav .inner {
  position: relative;
  width: 1040px;
  gap: 20px;
}

/* The rails run up through the product bar to the header's rule, as in Pen (Rail at y 73) */
.pm-subnav .inner::before {
  content: "";
  position: absolute;
  inset: 0 -40px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  pointer-events: none;
}

.pm-subnav a:not([href]) {
  cursor: default;
}

/* 01 Hero: copy 79px under the bar, the window (1320 wide, past the rails) at 431, the tabs at 1073 */
.pm-hero .rails {
  position: relative;
  height: 1073px;
  padding: 79px 40px 0;
}

.pm-copy {
  width: 548px;
}

.pm-copy h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -0.88px;
  color: var(--ink);
}

.pm-copy h1 span {
  display: block;
}

.pm-copy .sub {
  width: 520px;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--body);
}

.pm-copy .site-field {
  margin-top: 28px;
}

.pm-copy .reassure {
  margin-top: 14px;
}

.pm-copy h1 span,
.pm-copy .sub,
.pm-copy .site-field,
.pm-copy .reassure {
  animation: line-in 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s both;
}

.pm-copy h1 span + span {
  animation-delay: 0.5s;
}

.pm-copy .sub {
  animation-delay: 0.6s;
}

.pm-copy .site-field {
  animation-delay: 0.7s;
}

.pm-copy .reassure {
  animation-delay: 0.8s;
}

/* The window (1040 x 480, left edge on the headline's) stands on the section's floor: a ground line across the
   rails and two soft shadows that show beside its foot, as on the home page's stage. Pen: kfvro, 5 Dec. */
.pm-stage {
  position: absolute;
  left: -1px;
  top: 431px;
  z-index: 2;
  width: 1120px;
  height: 480px;
  overflow: hidden;
  animation: fade-in 0.5s ease-out 0.2s both;
}

.pm-stage::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.pm-shadow {
  position: absolute;
  background: linear-gradient(to bottom, rgba(20, 22, 26, 0), rgba(20, 22, 26, var(--a)));
}

.pm-shadow.soft {
  --a: 0.19;
  left: 31px;
  top: 180px;
  width: 1060px;
  height: 330px;
  filter: blur(22px);
}

.pm-shadow.tight {
  --a: 0.24;
  left: 38px;
  top: 390px;
  width: 1046px;
  height: 110px;
  filter: blur(7px);
}

.pm-window {
  position: absolute;
  left: 41px;
  top: 0;
  width: 1040px;
  height: 480px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #ffffff;
}

.pm-window::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 0;
  border-radius: inherit;
  pointer-events: none;
}

.pm-window img {
  position: absolute;
  left: 0;
  top: 0;
  width: 1040px;
  height: auto;
  opacity: 0;
}

.pm-window img.on {
  z-index: 2;
  opacity: 1;
}

/* Opening the next tab: the new screen rises into place over the old one, which fades away. */
.pm-window img.in {
  animation: pm-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pm-window img.out {
  z-index: 1;
  animation: pm-out 0.35s ease both;
}

@keyframes pm-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

@keyframes pm-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.pm-tabs {
  position: absolute;
  left: 40px;
  top: 943px;
  display: flex;
  gap: 20px;
}

.pm-tab {
  position: relative;
  width: 245px;
  height: 110px;
  padding: 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
}

/* The open tab's line fills in 5 seconds, then the next tab opens; it holds while the pointer is on the window. */
.pm-tab .bar {
  position: absolute;
  left: 0;
  top: -1px;
  width: 0;
  height: 2px;
  background: var(--c);
}

.pm-tab.on .bar {
  animation: pm-fill 5s linear forwards;
}

.pm-hero.paused .pm-tab.on .bar {
  animation-play-state: paused;
}

@keyframes pm-fill {
  to {
    width: 100%;
  }
}

.pm-tab .dot {
  position: absolute;
  left: 0;
  top: 20.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cfcac3;
  transition: background-color 0.2s ease;
}

.pm-tab .title {
  position: absolute;
  left: 15px;
  top: 15px;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.2px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.pm-tab .line {
  position: absolute;
  left: 0;
  top: 47px;
  width: 230px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.pm-tab:hover .title,
.pm-tab.on .title {
  color: var(--ink);
}

.pm-tab.on .line {
  color: var(--body);
}

.pm-tab.on .dot {
  background: var(--c);
}

/* 02 The seven models */
.pm-models .rails {
  padding: 56px 40px 55px;
  text-align: center;
}

.pm-models p {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
}

.pm-models ul {
  height: 44px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.pm-models li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.pm-models img {
  width: 22px;
  height: 22px;
}

/* 03 Chapter 1's metrics, measured to Pen: a 26px heading line, an outline (not a border) and 19px terms */
.pm .ch-metrics h3 {
  line-height: 26px;
}

.pm .ch-metrics dl {
  border: 0;
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
}

.pm .ch-metrics dt {
  line-height: 19px;
}

/* 06 One prompt, seven answers */
.pm-one .rails {
  padding: 96px 40px;
  display: flex;
  justify-content: space-between;
}

.pm-one-copy {
  width: 440px;
  padding-top: 136px;
}

.pm-one-copy p {
  width: 420px;
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 26px;
  color: #3d3935;
}

.pm-one-pic {
  width: 560px;
}

/* 07 Six cells */
.pm-cells .rails {
  padding: 120px 40px 100px;
}

.pm-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 14px;
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  overflow: hidden;
  background: #ffffff;
}

.pm-grid .cell {
  height: 182px;
  padding: 32px 24px;
}

.pm-grid .cell:nth-child(3n + 1),
.pm-grid .cell:nth-child(3n + 2) {
  border-right: 1px solid var(--line);
}

.pm-grid .cell:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}

.pm-grid .ic,
.pm-loop .t-ic {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  outline: 0.5px solid #ebe8e3;
  outline-offset: -0.25px;
  background: #ffffff;
  color: var(--ink);
}

.pm-grid h3 {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: var(--ink);
}

.pm-grid p {
  width: 296px;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
}

/* 08 Four facts */
.pm-facts .rails {
  padding: 120px 40px 77px;
}

.pm-facts .h2 {
  width: 440px;
}

.pm-facts dl {
  margin: 44px 0 0;
  display: flex;
  gap: 24px;
}

.pm-facts dl div {
  width: 242px;
  border-top: 1px solid var(--line);
}

.pm-facts dt {
  margin-top: 21px;
  font-family: var(--display);
  font-size: 44px;
  line-height: 48px;
  letter-spacing: -0.9px;
  color: var(--ink);
}

.pm-facts dd {
  width: 220px;
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--body);
}

/* 09 Works with: the home page's integrations tile, full width */
.pm-works .rails {
  padding: 80px 40px;
}

.pm-integ {
  display: flex;
}

.pm-integ > .pen {
  display: flex;
  flex: 1;
}

/* 10 You'll always reach a person */
.pm-band .rails {
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-band .who {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pm-band .photo {
  width: 56px;
  height: 56px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
}

.pm-band .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pm-band h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: -0.44px;
  color: var(--ink);
}

.pm-band p {
  width: 560px;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--body);
}

.pm-band .btn {
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  font-size: 15px;
}

/* 12 The loop: this page's tile is white; the others are dotted tiles tagged with their stage */
.pm-loop .rails {
  padding: 88px 40px 96px;
}

.pm-loop .h2 {
  width: 560px;
}

.pm-loop-grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(3, 336px);
  gap: 16px;
}

.pm-loop .tile {
  height: 176px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  background: url("assets/art/tile-grid-dots-soft.png") center / cover, linear-gradient(#fafaf9, #f3f3f2);
}

.pm-loop .tile.here {
  background: #ffffff;
  outline: 1px solid var(--line);
  outline-offset: -0.5px;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.06);
}

.pm-loop .t-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pm-loop .t-tag {
  height: 22px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: #eff4ff;
  font-size: 12px;
  font-weight: 500;
  color: #1d4ed8;
}

.pm-loop .t-stage {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.pm-loop .t-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pm-loop .t-copy b {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

.pm-loop .t-copy span {
  font-family: var(--display);
  font-size: 21px;
  line-height: 26px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .pm-copy h1 span,
  .pm-copy .sub,
  .pm-copy .site-field,
  .pm-copy .reassure,
  .pm-stage,
  .pm-window img.in,
  .pm-window img.out {
    animation: none;
  }

  .pm-tab.on .bar {
    animation: none;
    width: 100%;
  }
}

/* ---------- Monitoring and sentiment in motion (as the home page's pictures, 5 Dec 2026) ----------
   Each picture arrives once, when it is reached (not on the way back up): its rows come in one after
   another, bars grow, ticks and tags pop, the tone line draws and its number counts up. Steps hold only
   their start (fill: backwards). Hover: a fill that arrives at once and leaves in 150ms; a press is .97. */

.pm .pending .pm-a,
.pm .pending .pm-pop {
  opacity: 0;
}

.pm .pending .pm-grow {
  scale: 0 1;
}

.pm .pending .pm-drop {
  scale: 1 0;
}

.pm .pending .pm-draw path {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
}

.pm .play .pm-a {
  animation: pm-rise 0.5s var(--ease-out-quart) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 70ms);
}

.pm .play .pm-pop {
  animation: pm-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 60ms);
}

.pm .play .pm-grow {
  transform-origin: 0 50%;
  animation: pm-grow 0.7s var(--ease-out-quart) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 70ms);
}

.pm .play .pm-drop {
  transform-origin: 50% 0;
  animation: pm-drop 0.5s var(--ease-out-quart) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 60ms);
}

.pm .play .pm-draw path {
  stroke-dasharray: 260;
  animation: pm-draw 1.1s var(--ease-in-out-quad) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes pm-rise {
  from {
    opacity: 0;
    translate: 0 8px;
  }
}

@keyframes pm-pop {
  from {
    opacity: 0;
    scale: 0.5;
  }
}

@keyframes pm-grow {
  from {
    scale: 0 1;
  }
}

@keyframes pm-drop {
  from {
    scale: 1 0;
  }
}

@keyframes pm-draw {
  from {
    stroke-dashoffset: 260;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* Rows that light up under the pointer: the run list, the sources by model, the sites AI reads, the answers */
.pm .pen [data-pencil-name^="Model · "],
.pm .pen [data-pencil-name^="Site · "],
.pm .pen [data-pencil-name^="Answer · "],
.pm .pen [data-pencil-name^="Option · "],
.pm .pen [data-pencil-name^="Item · "] {
  transition: background-color var(--speed-highlight-out) ease;
}

.pm .pen [data-pencil-name^="Model · "]:hover,
.pm .pen [data-pencil-name^="Answer · "]:hover,
.pm .pen [data-pencil-name^="Site · "]:not([data-pencil-name="Site · quillo.com"]):hover {
  background-color: #faf8f6;
  transition-duration: 0s;
}

.pm .pen [data-pencil-name^="Option · "]:hover,
.pm .pen [data-pencil-name^="Item · "]:hover {
  background-color: #f4f4f5 !important;
  transition-duration: 0s;
}

.pm .pen [data-pencil-name^="Site · "] [data-pencil-name="Fill"] {
  transition: background-color var(--speed-highlight-out) ease;
}

.pm .pen [data-pencil-name^="Site · "]:not([data-pencil-name="Site · quillo.com"]):hover [data-pencil-name="Fill"] {
  background-color: #9b9690 !important;
  transition-duration: 0s;
}

/* Buttons in the pictures do their job when clicked (main.js) */
.pm .pen .pm-job {
  cursor: pointer;
  transition: filter 0.2s var(--ease-out-quart), scale 0.16s var(--ease-out-quad);
}

.pm .pen .pm-job:hover {
  filter: brightness(1.12);
  transition-duration: var(--speed-quick);
}

.pm .pen .pm-job:active {
  scale: 0.97;
}

.pm .pen .pm-job.busy {
  pointer-events: none;
}

.pm .pen .pm-job.busy > * {
  animation: pm-blink 0.9s ease-in-out infinite;
}

@keyframes pm-blink {
  50% {
    opacity: 0.45;
  }
}

/* Six cells: the cell fills and its icon takes the page's colour */
.pm-grid .cell {
  transition: background-color var(--speed-highlight-out) ease;
}

.pm-grid .cell:hover {
  background-color: #fafaf9;
  transition-duration: 0s;
}

.pm-grid .ic,
.pm-loop .t-ic {
  transition: color var(--speed-highlight-out) ease;
}

.pm-grid .cell:hover .ic {
  color: var(--page);
  transition-duration: 0s;
}

/* The seven models: a model's logo lifts its name to ink */
.pm-models li {
  transition: opacity var(--speed-highlight-out) ease;
}

.pm-models ul:hover li:not(:hover) {
  opacity: 0.45;
}

@media (prefers-reduced-motion: reduce) {
  .pm .pending .pm-a,
  .pm .pending .pm-pop {
    opacity: 1 !important;
  }

  .pm .pending .pm-grow,
  .pm .pending .pm-drop {
    scale: none !important;
  }

  .pm .pending .pm-draw path {
    stroke-dashoffset: 0 !important;
  }

  .pm .play .pm-a,
  .pm .play .pm-pop,
  .pm .play .pm-grow,
  .pm .play .pm-drop,
  .pm .play .pm-draw path,
  .pm .pen .pm-job.busy > * {
    animation: none;
  }
}

/* ---------- Product page: Page optimisation (Pen "PSO · Page optimisation", 5 Dec 2026) ----------
   Built on the Monitoring and sentiment page's parts (main.pm); its own parts are po-*. Page colour amber. */

/* 01 Hero: as Monitoring's, without the tabs, so the section ends 72px under the floor (Pen g8IZaT, 1100 high) */
.po-hero .rails {
  height: 983px;
}

/* 02 Statement: full width over the dot sphere (no rails); the words go from grey to ink as it is scrolled to */
.po-say {
  position: relative;
  height: 900px;
  overflow: hidden;
  background: #ffffff;
}

/* The dot sphere (Pen: 2400 x 2088 at -480, -420, 70%). It moves three ways (main.js "the statement's pattern"):
   it settles in once when reached (from 106% and clear); while the section is on screen it turns very slowly about
   the section's middle; and the dots under the pointer deepen in a soft circle that follows it (a second, darker copy
   of the dots, masked to the pointer). Settled and still, it is exactly Pen's. */
.po-say-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.po-drift {
  position: absolute;
  inset: 0;
  transform-origin: 720px 450px;
  animation: po-drift 36s ease-in-out infinite paused;
}

.po-say.live .po-drift {
  animation-play-state: running;
}

@keyframes po-drift {
  25% {
    translate: 14px -8px;
    rotate: 0.9deg;
  }

  75% {
    translate: -14px 8px;
    rotate: -0.9deg;
  }
}

.po-dots {
  position: absolute;
  left: -480px;
  top: -420px;
  width: 2400px;
  height: 2088px;
  background: url("assets/art/dot-sphere.webp") 0 0 / 100% 100% no-repeat;
  opacity: 0.7;
  transform-origin: 1200px 870px;
}

.po-dots.dark {
  opacity: 1;
  filter: brightness(0.3);
}

.po-say.pending .po-dots {
  opacity: 0;
}

.po-say.play .po-dots {
  animation: po-dots-in 1.8s var(--ease-out-quart) backwards;
}

@keyframes po-dots-in {
  from {
    opacity: 0;
    scale: 1.06;
  }
}

.po-say-lit {
  position: absolute;
  inset: 0;
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 75%);
  mask-image: radial-gradient(circle 260px at var(--mx, 50%) var(--my, 50%), #000 0%, rgba(0, 0, 0, 0.5) 40%, transparent 75%);
  transition: opacity 0.6s var(--ease-out-quad);
}

.po-say.pointer .po-say-lit {
  opacity: 1;
  transition-duration: 0.3s;
}

.po-say-in {
  position: relative;
  width: 800px;
  margin: 0 auto;
  padding-top: 302px;
}

.po-say p {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.72px;
  text-align: center;
  color: var(--ink);
}

.po-say .po-say-2 {
  margin-top: 56px;
}

.po-say .step {
  width: 24px;
  height: 24px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
  border-radius: 12px;
  background: #a8a29c;
  font-size: 16px;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  color: #ffffff;
}

.po-say.js .w,
.po-say.js .step {
  transition: color 0.35s ease, background-color 0.35s ease;
}

.po-say.js .w {
  color: #c9c4bd;
}

.po-say.js .step {
  background: #d6d2cc;
}

.po-say.js .w.lit {
  color: var(--ink);
}

.po-say.js .step.lit {
  background: #a8a29c;
}

/* 03 Chapter 1: the lit stage 112 under the heading, the grid 40 under the stage (Pen i5lDDX) */
.po .po-fig {
  margin-top: 56px;
}

.po-ch1 .po-stage {
  margin-top: 112px;
}

.po-ch1 .po-grid {
  margin-top: 40px;
}

/* Chapter 2's lead is three lines in Pen and two here (the browser sets Geist a little narrower); the header keeps
   Pen's 84 so the pictures land where they are drawn. */
.po-ch2 .ch-head {
  min-height: 84px;
}

/* "How Wuvr picks a change +": a small panel under the link, in the header menus' style (no Pen frame yet) */
.po-how {
  position: relative;
  margin-top: 18px;
  display: flex;
}

.po-how-open {
  height: 18px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: var(--ink);
  cursor: pointer;
  transition: filter 0.2s var(--ease-out-quart);
}

.po-how-open:hover {
  filter: brightness(1.3);
  transition-duration: var(--speed-quick);
}

.po-how-open .icon {
  transition: rotate 0.2s var(--ease-out-quart);
}

.po-how-open[aria-expanded="true"] .icon {
  rotate: 45deg;
}

.po-how-panel {
  position: absolute;
  left: -8px;
  top: 30px;
  z-index: 5;
  width: 440px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 18px 44px rgba(0, 0, 0, 0.12);
  transform-origin: 24px 0;
  animation: po-how-in 0.18s var(--ease-out-quad);
}

.po-how-panel[hidden] {
  display: none;
}

@keyframes po-how-in {
  from {
    opacity: 0;
    scale: 0.97;
  }
}

.po-how-panel dl {
  margin: 0;
  padding: 8px 4px;
  border-radius: 12px;
  background: #f7f7f7;
}

.po-how-panel dl div {
  padding: 9px 12px;
}

.po-how-panel dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--ink);
}

.po-how-panel dt::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--page);
}

.po-how-panel dd {
  margin: 2px 0 0 14px;
  font-size: 13px;
  line-height: 19px;
  color: var(--body);
}

/* 07 Four facts: the section is 420 high in Pen, with two facts on two lines */
.po-facts .rails {
  height: 420px;
}

/* 11 The loop: this page's tag in the page's amber; a linked tile lifts under the pointer (both product pages) */
.po .pm-loop .t-tag {
  background: #fdf3e1;
  color: #9a5b00;
}

.pm-loop a.tile[href] {
  transition: box-shadow var(--speed-highlight-out) var(--ease-out-quad), transform 0.16s var(--ease-out-quad);
}

.pm-loop a.tile[href]:hover {
  background: #ffffff;
  outline: 1px solid #e6e3dd;
  outline-offset: -0.5px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition-duration: 0s;
}

.pm-loop a.tile[href]:hover .t-ic {
  color: var(--page);
}

.pm-loop a.tile[href]:active {
  transform: scale(0.99);
}

/* Rows in the pictures that light up under the pointer */
.po .pen [data-pencil-name^="Change · "],
.po .pen [data-pencil-name^="CMS · "],
.po .pen [data-pencil-name="Prompt"],
.po .pen [data-pencil-name="Fact"] {
  transition: background-color var(--speed-highlight-out) ease;
}

.po .pen [data-pencil-name^="Change · "]:hover,
.po .pen [data-pencil-name="Prompt"]:hover,
.po .pen [data-pencil-name="Fact"]:hover {
  background-color: #faf8f6;
  transition-duration: 0s;
}

.po .pen [data-pencil-name^="CMS · "]:not([data-pencil-name="CMS · WordPress"]):hover {
  background-color: #fafaf9 !important;
  transition-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .po-how-panel,
  .po-how-open .icon {
    animation: none;
    transition: none;
  }

  .po-say.js .w,
  .po-say.js .step {
    transition: none;
  }

  .po-drift,
  .po-say.play .po-dots {
    animation: none;
  }
}

/* ---------- Product page: AI Pages (Pen "PAP · AI Pages", 5 Dec 2026) ----------
   Built on the Monitoring and sentiment page's parts (main.pm); its own parts are ap-*. Page colour teal. */

.ap .ap-fig {
  margin-top: 56px;
}

/* 07 Four facts: 420 high in Pen, two facts on two lines */
.ap-facts .rails {
  height: 420px;
}

/* 11 The loop: this page's tag in teal */
.ap .pm-loop .t-tag {
  background: #e3f5f1;
  color: #0b6e60;
}

/* ---------- AI Pages in motion (main.js "AI Pages") ----------
   Each picture arrives once, when reached on the way down. Then: requests run from the address down each branch
   (a grey dot to your real page, a teal one to the AI page) while the picture is on screen; the Live dot pulses
   and a new read comes in at the top every few seconds, counted into the reads by model; the switch switches;
   buttons do their job; "See why" shows and hides its reason. Hover: rows fill, a reader card lifts and its
   branch darkens. */

.ap .pending .ap-spread {
  scale: 0 1;
}

.ap .play .ap-spread {
  transform-origin: 50% 50%;
  animation: pm-grow 0.6s var(--ease-out-quart) backwards;
  animation-delay: var(--d, 0ms);
}

/* the routes in "One address, two readers" */
.ap-readers .pen [data-pencil-name="Line"] {
  transition: background-color 0.25s var(--ease-out-quad);
}

.ap-readers .hl-left :is(.ap-trunk, .ap-bar, .ap-left) {
  background-color: #87827d !important;
}

.ap-readers .hl-right :is(.ap-trunk, .ap-bar, .ap-right) {
  background-color: #12a594 !important;
}

.ap-readers .pen [data-pencil-name^="Card · "] {
  transition: translate 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
}

.ap-readers .pen [data-pencil-name^="Card · "]:hover {
  translate: 0 -3px;
  box-shadow: 0 1px 1px #0000000a, 0 16px 32px #0000001f !important;
}

.ap-packet {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a8a29c;
  offset-rotate: 0deg;
  opacity: 0;
  pointer-events: none;
  animation: ap-route 3.4s linear infinite paused;
}

.ap-packet.ai {
  background: #12a594;
  box-shadow: 0 0 0 3px rgba(18, 165, 148, 0.18);
  animation-delay: 1.7s;
}

.routing .ap-packet {
  animation-play-state: running;
}

@keyframes ap-route {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  52% {
    offset-distance: 100%;
    opacity: 1;
  }

  60%,
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

/* Live */
.ap .pen .ap-pulse {
  animation: ap-pulse 1.8s ease-out infinite;
}

@keyframes ap-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.45);
  }

  100% {
    box-shadow: 0 0 0 7px rgba(34, 160, 107, 0);
  }
}

.ap .pen .ap-new {
  animation: ap-new 0.45s var(--ease-out-quart) both;
}

@keyframes ap-new {
  from {
    opacity: 0;
    translate: 0 -10px;
  }
}

.ap .pen .ap-shake {
  animation: ap-shake 0.5s ease-in-out 1.1s both;
}

@keyframes ap-shake {
  20%,
  60% {
    rotate: -12deg;
  }

  40%,
  80% {
    rotate: 12deg;
  }
}

/* the switch */
.ap .pen .ap-switch {
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out-quad);
}

.ap .pen .ap-switch [data-pencil-name="Knob"] {
  transition: left 0.2s var(--ease-out-quart);
}

.ap .pen .ap-switch.off {
  background-color: #d6d3d1 !important;
}

.ap .pen .ap-switch.off [data-pencil-name="Knob"] {
  left: 2px !important;
}

/* rows that fill under the pointer, with a little room either side */
.ap .pen :is([data-pencil-name^="Read · "], [data-pencil-name^="Visitor · "], [data-pencil-name^="Page · /"], [data-pencil-name^="Claim · "], [data-pencil-name^="Version · "]) {
  transition: background-color var(--speed-highlight-out) ease, box-shadow var(--speed-highlight-out) ease;
}

.ap .pen :is([data-pencil-name^="Read · "], [data-pencil-name^="Visitor · "], [data-pencil-name^="Page · /"], [data-pencil-name^="Claim · "], [data-pencil-name^="Version · "]):hover {
  background-color: #faf8f6;
  box-shadow: -8px 0 0 #faf8f6, 8px 0 0 #faf8f6;
  transition-duration: 0s;
}

.ap .pen [data-pencil-name="Raw"] > [data-pencil-name="Line"] {
  transition: background-color var(--speed-highlight-out) ease, box-shadow var(--speed-highlight-out) ease;
}

.ap .pen [data-pencil-name="Raw"] > [data-pencil-name="Line"]:hover {
  background-color: #f4faf6;
  box-shadow: -8px 0 0 #f4faf6, 8px 0 0 #f4faf6;
  transition-duration: 0s;
}

.ap .pen :is([data-pencil-name="Button · See why"], [data-pencil-name="Button · Review version 2"]) {
  cursor: pointer;
  transition: filter 0.2s var(--ease-out-quart), scale 0.16s var(--ease-out-quad);
}

.ap .pen :is([data-pencil-name="Button · See why"], [data-pencil-name="Button · Review version 2"]):hover {
  filter: brightness(0.97);
}

.ap .pen :is([data-pencil-name="Button · See why"], [data-pencil-name="Button · Review version 2"]):active {
  scale: 0.97;
}

@media (prefers-reduced-motion: reduce) {
  .ap .pending .ap-spread {
    scale: none !important;
  }

  .ap .play .ap-spread,
  .ap-packet,
  .ap .pen .ap-pulse,
  .ap .pen .ap-new,
  .ap .pen .ap-shake {
    animation: none;
  }

  .ap-packet {
    display: none;
  }
}

/* ---------- Product page: Citation outreach (Pen "PCO · Citation outreach", 5 Dec 2026) ----------
   Built on the Monitoring and sentiment page's parts (main.pm); its own parts are co-*. Page colour pink. */

.co .co-fig {
  margin-top: 56px;
}

.co .pm-loop .t-tag {
  background: #fde8f0;
  color: #b4235e;
}

/* ---------- Citation outreach in motion (main.js "Citation outreach") ----------
   Each picture arrives once, when reached on the way down. The aim menu: an aim that fits the page can be picked,
   and the check, its fill and the aim in "Your aims" move to it. The letter is written in, paragraph by paragraph.
   The "Doing" jobs turn while on screen; 6 → 11 counts up; buttons do their job. Rows fill under the pointer. */

.co .pending .co-menu {
  opacity: 0;
}

.co .play .co-menu {
  transform-origin: 70% 0;
  animation: co-menu-in 0.45s var(--ease-out-quart) backwards;
  animation-delay: var(--d, 0ms);
}

@keyframes co-menu-in {
  from {
    opacity: 0;
    scale: 0.96;
    translate: 0 -6px;
  }
}

.co .pen .co-pick {
  cursor: pointer;
  transition: background-color var(--speed-highlight-out) ease;
}

.co .pen .co-pick:not(.sel):hover {
  background-color: #f7f7f7 !important;
  transition-duration: 0s;
}

.co .pen [data-pencil-name^="Nav · "] {
  transition: background-color 0.2s var(--ease-out-quad);
}

.co .pen [data-pencil-name^="Nav · "]:not(.sel):hover {
  background-color: #f7f7f7 !important;
  transition-duration: 0s;
}

.co .pen .co-spin {
  animation: co-spin 2.6s linear infinite paused;
}

.co .pen.turning .co-spin {
  animation-play-state: running;
}

@keyframes co-spin {
  to {
    rotate: 1turn;
  }
}

.co .pen :is([data-pencil-name^="Job · "], [data-pencil-name^="Point · "], [data-pencil-name^="Inbox · "]) {
  transition: background-color var(--speed-highlight-out) ease, box-shadow var(--speed-highlight-out) ease;
}

.co .pen :is([data-pencil-name^="Job · "], [data-pencil-name^="Point · "], [data-pencil-name^="Inbox · "]):hover {
  background-color: #faf8f6;
  box-shadow: -8px 0 0 #faf8f6, 8px 0 0 #faf8f6;
  transition-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .co .pending .co-menu {
    opacity: 1 !important;
  }

  .co .play .co-menu,
  .co .pen .co-spin {
    animation: none;
  }
}

/* ---------- Product page: AI traffic (Pen "PAT · AI traffic", 5 Dec 2026) ----------
   Built on the Monitoring and sentiment page's parts (main.pm); its own parts are at-*. Page colour orange. */

.at-hero .rails {
  height: 983px;
}

.at .at-fig {
  margin-top: 56px;
}

/* Chapter 2's lead is three lines in Pen; keep its header's height so the tiles land where they are drawn */
.at-ch2 .ch-head {
  min-height: 84px;
}

.at .pm-loop .t-tag {
  background: #feeadd;
  color: #b4480f;
}

/* ---------- AI traffic in motion (main.js "AI traffic") ----------
   Each picture arrives once, when reached on the way down: the four steps come in and the line between them draws,
   their numbers count up; bars grow from the floor; rows come in. Then: "Leave out likely bots" switches the bot day
   down to a usual day and back; the key event's value can be typed, and its worth follows; a day of the chart lifts
   under the pointer and the others step back; buttons do their job; Open Citation Outreach opens that page. */

.at .pending .at-up {
  scale: 1 0;
}

.at .play .at-up {
  transform-origin: 50% 100%;
  animation: at-up 0.7s var(--ease-out-quart) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 70ms);
}

@keyframes at-up {
  from {
    scale: 1 0;
  }
}

.at .play .at-draw {
  animation-duration: 1.1s;
}

.at .pen [data-pencil-name^="Step · "] {
  transition: translate 0.25s var(--ease-out-quart), box-shadow 0.25s var(--ease-out-quart);
}

.at .pen [data-pencil-name^="Step · "]:hover {
  translate: 0 -2px;
  box-shadow: 0 1px 1px #0000000a, 0 16px 32px #0000001f !important;
}

.at .pen [data-pencil-name="Chart"] [data-pencil-name^="Day · "] {
  transition: opacity 0.2s ease;
}

.at .pen [data-pencil-name="Chart"]:hover [data-pencil-name^="Day · "]:not(:hover) {
  opacity: 0.4;
}

.at .pen [data-pencil-name="Bar"] > [data-pencil-name="Part"] {
  transition: height 0.55s var(--ease-out-quart);
}

.at .pen .at-switch {
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out-quad);
}

.at .pen .at-switch [data-pencil-name="Knob"] {
  transition: left 0.2s var(--ease-out-quart);
}

.at .pen .at-switch.on {
  background-color: #171717 !important;
}

.at .pen .at-switch.on [data-pencil-name="Knob"] {
  left: 14px !important;
}

.at .pen [data-pencil-name="Day · Mon 30"] :is([data-pencil-name="Icon"], [data-pencil-name="Number"]) {
  transition: opacity 0.25s ease, color 0.25s ease;
}

.at .pen .at-amount {
  min-width: 2ch;
  outline: none;
  cursor: text;
  caret-color: var(--page);
}

.at .pen [data-pencil-name="Input"]:focus-within {
  border-color: var(--page) !important;
  box-shadow: 0 0 0 3px rgba(247, 107, 21, 0.15);
}

.at .pen .at-link {
  cursor: pointer;
  transition: filter 0.2s var(--ease-out-quart), scale 0.16s var(--ease-out-quad);
}

.at .pen .at-link:hover {
  filter: brightness(0.97);
}

.at .pen .at-link:active {
  scale: 0.97;
}

.at .pen :is([data-pencil-name^="Page · /"], [data-pencil-name^="Assistant · "], [data-pencil-name^="Site · "], [data-pencil-name^="Stat · "]) {
  transition: background-color var(--speed-highlight-out) ease, box-shadow var(--speed-highlight-out) ease;
}

.at .pen :is([data-pencil-name^="Page · /"], [data-pencil-name^="Assistant · "], [data-pencil-name^="Site · "]):hover {
  background-color: #faf8f6;
  box-shadow: -8px 0 0 #faf8f6, 8px 0 0 #faf8f6;
  transition-duration: 0s;
}

@media (prefers-reduced-motion: reduce) {
  .at .pending .at-up {
    scale: none !important;
  }

  .at .play .at-up,
  .at .pen [data-pencil-name="Bar"] > [data-pencil-name="Part"] {
    animation: none;
    transition: none;
  }
}

/* ---------- Product page: Insights (Pen "PI · Insights", 5 Dec 2026) ----------
   Built on the Monitoring and sentiment page's parts (main.pm); its own parts are ins-*. Page colour purple. */

.ins-hero .rails {
  height: 983px;
}

.ins .ins-fig {
  margin-top: 56px;
}

/* Chapter 2's lead is three lines in Pen; keep its header's height so the tiles land where they are drawn */
.ins-ch2 .ch-head {
  min-height: 84px;
}

/* Reports: the picture on the left (640) and the copy on the right (360) */
.ins-report .rails {
  flex-direction: row-reverse;
}

.ins-report .pm-one-copy,
.ins-report .pm-one-copy p {
  width: 360px;
}

.ins-report .pm-one-pic {
  width: 640px;
}

.ins .pm-loop .t-tag {
  background: #f3ebfa;
  color: #7838b0;
}

/* ---------- Insights in motion (main.js "Insights") ----------
   Each picture arrives once, when reached on the way down: the findings come in day by day; the competitors come in
   and their shares count up as their bars grow; the moves and changes follow; the score counts up and the bars grow
   from the floor, pair by pair; the readings tick in; the goals' progress fills to its pace; what it's worth counts up.
   Then: a competitor, a bar pair, a row under the pointer stands out; the report's schedule switches off and on;
   Approve, Hold and Accept goal do their job. */

.ins .pending .ins-up {
  scale: 1 0;
}

.ins .play .ins-up {
  transform-origin: 50% 100%;
  animation: at-up 0.7s var(--ease-out-quart) backwards;
  animation-delay: calc(var(--d, 0ms) + var(--i, 0) * 60ms);
}

.ins .pen :is([data-pencil-name^="Day "], [data-pencil-name^="Move · "], [data-pencil-name^="Change · "], [data-pencil-name^="Work · "], [data-pencil-name^="Goal · "], [data-pencil-name^="Experiment · "]) {
  transition: background-color var(--speed-highlight-out) ease, box-shadow var(--speed-highlight-out) ease;
}

.ins .pen :is([data-pencil-name^="Day "], [data-pencil-name^="Move · "], [data-pencil-name^="Change · "], [data-pencil-name^="Work · "], [data-pencil-name^="Experiment · "]):hover {
  background-color: #faf8f6;
  box-shadow: -8px 0 0 #faf8f6, 8px 0 0 #faf8f6;
  transition-duration: 0s;
}

.ins .pen [data-pencil-name^="Competitor · "] {
  transition: opacity 0.2s ease;
}

.ins .pen [data-pencil-name^="Card · The week"]:has([data-pencil-name^="Competitor · "]:hover) [data-pencil-name^="Competitor · "]:not(:hover) {
  opacity: 0.4;
}

.ins .pen [data-pencil-name^="Chart · "] > * {
  transition: opacity 0.2s ease;
}

.ins .pen [data-pencil-name^="Chart · "] > .dim {
  opacity: 0.3;
}

.ins .pen .ins-switch {
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out-quad);
}

.ins .pen .ins-switch [data-pencil-name="Knob"] {
  transition: left 0.2s var(--ease-out-quart);
}

.ins .pen .ins-switch.off {
  background-color: #d6d3d1 !important;
}

.ins .pen .ins-switch.off [data-pencil-name="Knob"] {
  left: 2px !important;
}

.ins .pen .ins-switch:focus-visible {
  outline: 2px solid var(--page);
  outline-offset: 2px;
}

.ins .pen [data-pencil-name="State"] [data-pencil-name="Dot"],
.ins .pen [data-pencil-name="State"] [data-pencil-name="Text"] {
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* The experiment still running breathes while it is on screen */
.ins .pen.breathing .ins-breathe {
  animation: ins-breathe 1.8s ease-in-out infinite;
}

@keyframes ins-breathe {
  50% {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ins .pending .ins-up {
    scale: none !important;
  }

  .ins .play .ins-up,
  .ins .pen.breathing .ins-breathe {
    animation: none;
  }
}

/* ===================== Phone and tablet, product pages (5 Dec) =====================
   The six product pages (main.pm), after the home page's phone and tablet layouts: 20px margins and 28px headings on
   phones, 40px margins and 32px headings on tablets; the field with an arrow button, the screen bleeding off the right
   edge, the integrations as rows. Each picture is a tile of its own (main.js "Product pages on phones and tablets"):
   the drawing scaled to the tile, its caption at reading size under it; phones stack the tiles, tablets put two across. */
.pm-copy .hero-field .btn .icon {
  display: none;
}

@media (max-width: 1023px) {
  /* the product bar scrolls sideways */
  .has-phone .pm-subnav .inner {
    width: auto;
    height: 44px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .has-phone .pm-subnav .inner::-webkit-scrollbar {
    display: none;
  }

  .has-phone .pm-subnav .inner::before {
    display: none;
  }

  .has-phone .pm .h2 {
    font-size: 28px;
    line-height: 33px;
    letter-spacing: -0.56px;
  }

  /* hero: left-aligned, the field with an arrow button, the screen bleeding off the right edge and fading out */
  .has-phone .pm-hero .rails {
    height: auto;
    padding: 36px 0 0;
  }

  .has-phone .pm-copy {
    width: auto;
  }

  .has-phone .pm-copy h1 {
    font-size: 32px;
    line-height: 35px;
    letter-spacing: -0.76px;
  }

  .has-phone .pm-copy .sub {
    width: auto;
    margin-top: 14px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .pm-copy .site-field {
    margin-top: 22px;
  }

  .has-phone .pm-hero .reassure {
    display: none;
  }

  .has-phone .pm-copy .hero-field .btn .icon {
    display: block;
  }

  .has-phone .pm-stage {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% + 20px);
    height: 260px;
    margin-top: 32px;
  }

  .has-phone .pm-stage::after {
    top: auto;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  }

  .has-phone .pm-shadow {
    display: none;
  }

  .has-phone .pm-window {
    left: 0;
    width: 560px;
    height: 320px;
    border-radius: 12px;
  }

  .has-phone .pm-window::after {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .has-phone .pm-window img {
    width: 560px;
  }

  /* the hero's tabs, two by two under the screen, their titles only */
  .has-phone .pm-tabs {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding: 4px 0 28px;
  }

  .has-phone .pm-tab {
    width: auto;
    height: 64px;
  }

  .has-phone .pm-tab .title {
    right: 0;
    top: 14px;
    font-size: 16px;
    line-height: 20px;
  }

  .has-phone .pm-tab .dot {
    top: 20px;
  }

  .has-phone .pm-tab .line {
    display: none;
  }

  /* the seven models, three across, logo above name */
  .has-phone .pm-models .rails {
    padding: 40px 0;
  }

  .has-phone .pm-models ul {
    height: auto;
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .has-phone .pm-models li {
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
  }

  .has-phone .pm-models li:last-child {
    grid-column: 2;
  }

  /* Page optimisation's statement over the dot sphere */
  .has-phone .po-say {
    height: auto;
    padding: 88px 20px;
  }

  .has-phone .po-say-art {
    inset: auto;
    left: 50%;
    top: 50%;
    width: 1440px;
    height: 900px;
    translate: -50% -50%;
    scale: 0.62;
  }

  .has-phone .po-say-in {
    width: auto;
    padding-top: 0;
  }

  .has-phone .po-say p {
    font-size: 22px;
    line-height: 30px;
    letter-spacing: -0.44px;
  }

  .has-phone .po-say .po-say-2 {
    margin-top: 32px;
  }

  .has-phone .po-say .step {
    width: 20px;
    height: 20px;
    margin-top: 5px;
    font-size: 13px;
  }

  /* chapters: the heading, then its lead; the pictures; the four terms one under another */
  .has-phone .pm .ch .rails {
    padding: 56px 0;
  }

  .has-phone .pm .ch-head {
    display: block;
    min-height: 0;
  }

  .has-phone .pm .ch-head .h2,
  .has-phone .pm .ch-lead {
    width: auto;
  }

  .has-phone .pm .ch-lead {
    margin-top: 14px;
    padding-top: 0;
  }

  .has-phone .pm .ch-lead p {
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .pm .ch-stage,
  .has-phone .pm :is(.po-fig, .ap-fig, .co-fig, .at-fig, .ins-fig, .pm-fig) {
    margin-top: 32px;
  }

  .has-phone .po-ch1 .po-grid {
    margin-top: 24px;
  }

  .has-phone .pm .ch-metrics {
    margin-top: 40px;
  }

  .has-phone .pm .ch-metrics h3 {
    font-size: 20px;
  }

  .has-phone .pm .ch-metrics dl {
    margin-top: 16px;
    grid-template-columns: minmax(0, 1fr);
  }

  .has-phone .pm .ch-metrics dl div {
    padding: 18px 18px 20px;
  }

  .has-phone .pm .ch-metrics dl div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .has-phone .po-how-panel {
    left: 0;
    right: 0;
    width: auto;
  }

  /* the pictures: one tile under another (main.js sizes each) */
  .has-phone .pm .pen > [data-pencil-name^="Figures"],
  .has-phone .pm .pen > [data-pencil-name^="Grid"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    gap: 12px !important;
  }

  .has-phone .pm .pen [data-pencil-name="Column"] {
    width: 100% !important;
    gap: 12px !important;
  }

  .has-phone .pm .pen > [data-pencil-name^="Grid"] > [data-pencil-name="Divider"] {
    display: none !important;
  }

  .has-phone .pm .pen > [data-pencil-name^="Frame · stage"] {
    width: 100% !important;
  }

  /* captions keep their reading size and wrap to the tile */
  .has-phone .pm .pen :is([data-pencil-name^="Caption"], [data-pencil-name="tmp caption"]) > * {
    width: auto !important;
    white-space: normal !important;
  }

  /* the sections built from text: one column */
  .has-phone .pm-one .rails {
    display: block;
    padding: 56px 0;
  }

  .has-phone .pm-one-copy,
  .has-phone .ins-report .pm-one-copy {
    width: auto;
    padding-top: 0;
  }

  .has-phone .pm-one-copy p,
  .has-phone .ins-report .pm-one-copy p {
    width: auto;
    margin-top: 14px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .pm-one-pic,
  .has-phone .ins-report .pm-one-pic {
    width: auto;
    margin-top: 32px;
  }

  .has-phone .pm-cells .rails {
    padding: 56px 0;
  }

  .has-phone .pm-grid {
    margin-top: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .has-phone .pm-grid .cell {
    height: auto;
    padding: 22px 20px 24px;
  }

  .has-phone .pm-grid .cell:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .has-phone .pm-grid .cell:last-child {
    border-bottom: 0;
  }

  .has-phone .pm-grid h3 {
    margin-top: 14px;
  }

  .has-phone .pm-grid p {
    width: auto;
  }

  .has-phone .pm-facts .rails {
    height: auto;
    padding: 56px 0;
  }

  .has-phone .pm-facts .h2 {
    width: auto;
  }

  .has-phone .pm-facts dl {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .has-phone .pm-facts dl div {
    width: auto;
  }

  .has-phone .pm-facts dt {
    margin-top: 16px;
    font-size: 36px;
    line-height: 40px;
  }

  .has-phone .pm-facts dd {
    width: auto;
    margin-top: 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .has-phone .pm-works .rails {
    padding: 56px 0;
  }

  .has-phone .pm-integ {
    display: none;
  }

  .has-phone .pm-works .s6m-integ {
    margin-top: 0;
  }

  .has-phone .pm-band .rails {
    display: block;
    padding: 48px 0;
  }

  .has-phone .pm-band .who {
    align-items: flex-start;
  }

  .has-phone .pm-band .photo {
    width: 48px;
    height: 48px;
  }

  .has-phone .pm-band h2 {
    font-size: 20px;
    line-height: 24px;
  }

  .has-phone .pm-band p {
    width: auto;
    margin-top: 6px;
    font-size: 15px;
    line-height: 22px;
  }

  .has-phone .pm-band .btn {
    margin: 20px 0 0 66px;
  }

  .has-phone .pm-loop .rails {
    padding: 56px 0;
  }

  .has-phone .pm-loop .h2 {
    width: auto;
  }

  .has-phone .pm-loop-grid {
    margin-top: 28px;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .has-phone .pm-loop .tile {
    height: auto;
    min-height: 132px;
    gap: 28px;
    padding: 20px;
  }

  .has-phone .pm-loop .t-copy span {
    font-size: 19px;
    line-height: 24px;
  }
}

/* ===================== Tablet, product pages (5 Dec) =====================
   700 to 1023px: 40px margins, 32px headings, the hero as the home page's at 768; chapters keep the heading and its
   lead side by side; pictures two across where they keep 80% of their size (main.js), cells and the loop two across. */
@media (min-width: 700px) and (max-width: 1023px) {
  .has-phone .pm-subnav .inner {
    padding: 0 40px;
  }

  .has-phone .pm .h2 {
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -0.64px;
  }

  .has-phone .pm-hero .rails {
    padding-top: 56px;
  }

  .has-phone .pm-copy h1 {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -1px;
  }

  .has-phone .pm-copy .sub {
    max-width: 560px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 24px;
  }

  .has-phone .pm-copy .site-field {
    margin-top: 28px;
  }

  .has-phone .pm-hero .reassure {
    display: flex;
    margin-top: 12px;
  }

  .has-phone .pm-hero .m-note,
  .has-phone .pm-copy .hero-field .btn .icon {
    display: none;
  }

  .has-phone .pm-stage {
    width: calc(100% + 40px);
    height: auto;
    aspect-ratio: 728 / 440;
    margin-top: 44px;
  }

  .has-phone .pm-stage::after {
    height: 31.8%;
  }

  .has-phone .pm-window {
    width: calc(100% + 32px);
    height: 100%;
  }

  .has-phone .pm-window img {
    width: 100%;
  }

  .has-phone .pm-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 16px;
    padding: 4px 0 40px;
  }

  .has-phone .pm-tab {
    height: auto;
    min-height: 116px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .has-phone .pm-tab .title {
    position: static;
    display: block;
    margin: 14px 0 0 15px;
    font-size: 17px;
  }

  .has-phone .pm-tab .line {
    position: static;
    display: block;
    width: auto;
    margin-top: 8px;
    font-size: 13px;
    line-height: 19px;
  }

  .has-phone .pm-models .rails {
    padding: 48px 0;
  }

  .has-phone .pm-models ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 32px;
  }

  .has-phone .pm-models li {
    flex-direction: row;
    font-size: 14px;
  }

  .has-phone .po-say {
    padding: 120px 40px;
  }

  .has-phone .po-say-art {
    scale: 0.85;
  }

  .has-phone .po-say-in {
    max-width: 640px;
  }

  .has-phone .po-say p {
    font-size: 28px;
    line-height: 36px;
    letter-spacing: -0.6px;
  }

  .has-phone .po-say .step {
    width: 22px;
    height: 22px;
    margin-top: 7px;
    font-size: 14px;
  }

  .has-phone .pm .ch .rails,
  .has-phone .pm-one .rails,
  .has-phone .pm-cells .rails,
  .has-phone .pm-facts .rails,
  .has-phone .pm-works .rails,
  .has-phone .pm-loop .rails {
    padding: 72px 0;
  }

  .has-phone .pm .ch-head {
    display: flex;
    gap: 32px;
  }

  .has-phone .pm .ch-head .h2 {
    flex: none;
    width: auto;
  }

  .has-phone .pm .ch-lead {
    flex: 1;
    margin-top: 0;
    padding-top: 4px;
  }

  .has-phone .pm .ch-lead p {
    font-size: 16px;
    line-height: 24px;
  }

  .has-phone .pm .ch-stage,
  .has-phone .pm :is(.po-fig, .ap-fig, .co-fig, .at-fig, .ins-fig, .pm-fig) {
    margin-top: 40px;
  }

  .has-phone .pm .ch-metrics dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-phone .pm .ch-metrics dl div + div {
    border-top: 0;
  }

  .has-phone .pm .ch-metrics dl div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .has-phone .pm .ch-metrics dl div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .has-phone .pm .pen > [data-pencil-name^="Figures"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px !important;
  }

  .has-phone .pm .pen [data-pencil-name="Column"] {
    display: contents !important;
  }

  .has-phone .pm .pen .fit-span {
    grid-column: 1 / -1;
  }

  .has-phone .pm-one-copy p {
    max-width: 560px;
    font-size: 16px;
    line-height: 24px;
  }

  .has-phone .pm-one-pic {
    margin-top: 40px;
  }

  .has-phone .pm-grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .has-phone .pm-grid .cell:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .has-phone .pm-grid .cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .has-phone .pm-facts dl {
    margin-top: 40px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .has-phone .pm-facts dt {
    font-size: 40px;
    line-height: 44px;
  }

  .has-phone .pm-band .rails {
    display: flex;
    gap: 32px;
    padding: 56px 0;
  }

  .has-phone .pm-band .btn {
    flex: none;
    margin: 0;
  }

  .has-phone .pm-loop-grid {
    margin-top: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .has-phone .pm-loop .tile {
    min-height: 160px;
  }
}

/* ===================== The narrowest phones (5 Dec) =====================
   Under 390px the home page's live tile (02, 480 drawn at 0.729) and plan card (07, 400 drawn at 0.875) were 350 wide
   in a narrower column, so the page ran 10px past the edge at 360. They scale to the column instead. */
@media (max-width: 374px) {
  .has-phone .s2-tile {
    zoom: 0.6667;  /* 320 wide: the column at 360 */
  }

  .has-phone .s07 .plan-card {
    zoom: 0.8;
  }
}

@media (min-width: 375px) and (max-width: 389px) {
  .has-phone .s2-tile {
    zoom: 0.6979;  /* 335 wide: the column at 375 */
  }

  .has-phone .s07 .plan-card {
    zoom: 0.8375;
  }
}

/* ===================== Phone menu: the buttons stay at the foot (5 Dec) =====================
   Chris: the menu's rows scroll; Log in, Book a demo and the trial stay fixed at the bottom of the screen. */
.mm-foot {
  display: none;
}

@media (max-width: 1023px) {
  .has-phone .m-menu:not([hidden]) {
    overflow: hidden;
    padding: 0;
  }

  .has-phone .mm-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 20px 20px;
  }

  .has-phone .mm-demo {
    display: none;
  }

  .has-phone .mm-foot {
    flex: none;
    display: grid;
    gap: 10px;
    padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #ffffff;
  }

  .has-phone .mm-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .has-phone .mm-foot .btn {
    width: 100%;
    height: 40px;
    justify-content: center;
  }
}

@media (min-width: 700px) and (max-width: 1023px) {
  .has-phone .mm-scroll {
    padding: 4px 20px 8px;
  }

  .has-phone .mm-demo {
    display: flex;
  }

  .has-phone .mm-scroll > a.mm-row:last-of-type {
    height: 52px;
    border-bottom: 0;
  }

  .has-phone .mm-foot {
    display: none;
  }
}
