/* BrokerPlus round 4: dark base. Tokens, type, nav, buttons, body sections. */
@font-face {
  font-family: "Inter";
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/inter-opsz.woff2) format("woff2");
}
:root {
  --bg: #04070c;
  --bg-2: #080d15;
  --panel: #0c131d;
  --panel-2: #111a26;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #f2f4f7;
  --soft: #a6b0bd;
  --faint: #7c8795;
  --navy: #06294c;
  --gold: #f2ab00;
  --sky: #7db4f0;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1200px;
  --gut: 32px;
  color-scheme: dark;
}
/* large monitors: a wider column so sections don't sit small in the black */
@media (min-width: 1800px) {
  :root {
    --wrap: 1360px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  scrollbar-color: #2a3442 var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font:
    400 17px/1.55 "Inter",
    system-ui,
    sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection {
  background: rgba(125, 180, 240, 0.32);
  color: #fff;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-wrap: balance;
}
h1 {
  font-size: 64px;
}
h2 {
  font-size: 44px;
}
h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.022em;
}
.small {
  font-size: 15px;
}
:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}
.tn {
  font-variant-numeric: tabular-nums;
}
.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gut));
  margin-inline: auto;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font:
    600 15px/1 "Inter",
    sans-serif;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.3s var(--ease);
}
.btn--primary {
  background: #fff;
  color: var(--bg);
}
.btn--primary:hover {
  background: #dfe5ec;
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 14px;
  height: 14px;
  flex: none;
}
.btn--glow {
  box-shadow:
    0 0 0 1px rgba(242, 171, 0, 0.9),
    0 14px 44px -10px rgba(242, 171, 0, 0.6),
    0 4px 14px -4px rgba(242, 171, 0, 0.45);
}
.btn--glow:hover {
  box-shadow:
    0 0 0 1px var(--gold),
    0 18px 54px -8px rgba(242, 171, 0, 0.75),
    0 4px 16px -4px rgba(242, 171, 0, 0.55);
  background: #fff;
}
.link {
  color: var(--sky);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(125, 180, 240, 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.link:hover {
  text-decoration-color: var(--sky);
}

/* nav */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font:
    600 19px/1 "Inter",
    sans-serif;
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.025em;
}
.brand img {
  height: 26px;
  width: auto;
}
/* the nav and footer carry both logos: white here, full colour on paper (shared/light.css swaps them) */
:root .lg-l {
  display: none;
}

/* page frame */
main {
  position: relative;
}
main::before,
main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  pointer-events: none;
  z-index: 0;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.11) 0 4px, transparent 4px 9px);
}
main::before {
  left: calc(50% - var(--wrap) / 2 - 28px);
}
main::after {
  right: calc(50% - var(--wrap) / 2 - 28px);
}
@media (max-width: 1319px) {
  main::before,
  main::after {
    display: none;
  }
}
.sec {
  position: relative;
  z-index: 1;
  padding: 128px 0;
  border-top: 1px solid var(--line);
}
.sec__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
  margin-bottom: 72px;
}
.sec__head h2 {
  grid-column: 1 / span 7;
}
.sec__head p {
  grid-column: 9 / span 4;
}
.sec__head--solo h2 {
  grid-column: 1 / span 9;
}

/* slots (filled by stage.js / demos.js) */
[data-bp] {
  position: relative;
}
[data-bp]:empty {
  min-height: 420px;
  border-radius: 12px;
  border: 1px dashed var(--line-2);
  background: linear-gradient(180deg, var(--panel), var(--bg-2));
}
[data-bp]:empty::after {
  content: attr(data-bp);
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 13px;
  color: var(--faint);
}

/* trust line */
.trust {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-top: var(--trust-clear, 0px);
}
/* the stage's Form 1A card hangs ~60px under the window; clear it */
@media (min-width: 861px) {
  .page {
    --trust-clear: 72px;
  }
}
.trust__in {
  padding: 20px 0;
}
.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 15px;
  color: var(--soft);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust li svg {
  width: 14px;
  height: 14px;
  color: var(--sky);
  flex: none;
}
/* Swish's three */
.features {
  padding-bottom: 0;
}
.features .sec__head {
  margin-bottom: 0;
  padding-bottom: 96px;
}
.feat {
  border-top: 1px solid var(--line);
  padding: 88px 0 112px;
}
.feat__head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
  margin-bottom: 56px;
}
.feat__head h3 {
  grid-column: 1 / span 5;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.028em;
}
.feat__copy {
  display: contents;
}
.feat__copy p {
  grid-column: 7 / span 6;
  grid-row: 1 / span 2;
  max-width: 58ch;
}
.feat__notes {
  grid-column: 1 / span 5;
  grid-row: 2;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.feat__notes li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.feat__notes li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(125, 180, 240, 0.2);
}
.feat__notes li.is-gold::before {
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 171, 0, 0.22);
}
.feat__demo {
  position: relative;
}
.feat__demo::before {
  content: "";
  position: absolute;
  inset: 12% 6% -6%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 60%, rgba(64, 118, 190, 0.2), transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

/* sixteen subscriptions */
.stack__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.stack__copy {
  grid-column: 1 / span 5;
  position: sticky;
  top: 120px;
}
.stack__copy h2 {
  margin-bottom: 24px;
}
.stack__copy p + p {
  margin-top: 16px;
}
.stack__copy .small {
  color: var(--faint);
  margin-top: 28px;
  max-width: 44ch;
}
.stack__box {
  grid-column: 7 / span 6;
}
.stack__list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 40px;
  font-size: 15px;
}
.stack__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
  color: var(--text);
  transition: color 0.5s var(--ease);
}
.stack__list li b {
  font-weight: 400;
  color: var(--soft);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}
.stack__list li span {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1px;
  transition: background-size 0.5s var(--ease);
}
.stack__list li.is-x {
  color: var(--faint);
}
.stack__list li.is-x b {
  color: var(--faint);
}
.stack__list li.is-x span {
  background-size: 100% 1px;
}
.stack__sum {
  margin-top: 28px;
}
.stack__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
}
.stack__row + .stack__row {
  border-top: 1px solid var(--line-2);
}
.stack__row span {
  font-size: 17px;
  color: var(--soft);
}
.stack__row b {
  font:
    500 32px/1 "Inter",
    sans-serif;
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stack__row b small {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--soft);
  margin-left: 4px;
}
.stack__row--old b i {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 52% / 0 2px;
  transition:
    background-size 0.7s var(--ease),
    color 0.7s var(--ease);
}
.stack.is-done .stack__row--old b i {
  background-size: 100% 2px;
  color: var(--faint);
}
.stack__row--one span {
  color: var(--text);
  font-weight: 500;
}
.stack__row--one b {
  font-size: 56px;
}
.stack__row--old b {
  transition:
    font-size 0.7s var(--ease),
    color 0.7s var(--ease);
}
.stack.is-done .stack__row--old b {
  font-size: 24px;
}
.stack.is-done .stack__row--old span {
  color: var(--faint);
}
.stack__back {
  margin-top: 8px;
  font-size: 15px;
  color: var(--soft);
}

/* testimonials + proof */
/* voices: the heading and the numbers hold the left, the long quote the right. In every quote the reader
   gets the one line that carries it in full ink; the rest sits back */
.voices__lead {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 24px;
  align-items: start;
}
.voices__lead h2 {
  grid-column: 1 / span 4;
  grid-row: 1;
}
.quote--full {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
  margin: 0;
}
.quote--full blockquote {
  margin: 0;
  font-size: 24px;
  line-height: 1.45;
  letter-spacing: -0.018em;
  color: var(--soft);
  font-variation-settings: "opsz" 32;
  text-wrap: pretty;
}
.voices blockquote em {
  font-style: normal;
  color: var(--text);
}
.quote--full .who {
  margin-top: 36px;
}
.who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 15px;
  line-height: 1.35;
}
.who img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  box-shadow: 0 0 0 1px var(--line-2);
}
.who b {
  display: block;
  color: var(--text);
  font-weight: 500;
}
.proof {
  grid-column: 1 / span 4;
  grid-row: 2;
  margin-top: 56px;
}
.proof h3 {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
}
.proof dl {
  margin: 0;
}
.proof dl > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.proof dl > div:last-child {
  border-bottom: 1px solid var(--line);
}
.proof dt {
  font-size: 15px;
  color: var(--soft);
}
.proof dd {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  font-variation-settings: "opsz" 32;
}
.voices__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 104px;
  border-top: 1px solid var(--line);
}
.quote--s {
  margin: 0;
  padding: 36px 32px 0 0;
  display: flex;
  flex-direction: column;
}
.quote--s + .quote--s {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.quote--s blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--soft);
  flex: 1;
}

/* plan lists */
.plan li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.plan li svg {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--sky);
  transform: translateY(1px);
}
/* pricing */
.price__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.price__main {
  grid-column: 1 / span 5;
}
.price__main h2 {
  margin-bottom: 24px;
}
.price__main > p {
  max-width: 42ch;
}
.toggle {
  position: relative;
  display: inline-flex;
  margin-top: 40px;
  padding: 4px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.toggle button {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--soft);
  font:
    500 15px/1 "Inter",
    sans-serif;
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}
.toggle button[aria-pressed="true"] {
  background: #fff;
  color: var(--bg);
}
/* with the script, one thumb slides under the chosen button instead of each button lighting up */
.toggle__thumb {
  position: absolute;
  top: 4px;
  left: 0;
  height: 36px;
  width: var(--w, 0px);
  border-radius: 999px;
  background: #fff;
  transform: translateX(var(--x, 0px));
}
.toggle.is-set .toggle__thumb {
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    background-color 0.45s var(--ease);
}
/* annual is the warmer choice: the thumb takes the page's first-light gold, and the ring and the price warm
   with it */
.toggle {
  transition: box-shadow 0.45s var(--ease);
}
.toggle[data-on="a"] {
  box-shadow: inset 0 0 0 1px rgba(242, 171, 0, 0.42);
}
.toggle[data-on="a"] .toggle__thumb {
  background-color: #f6cf73;
}
.toggle[data-on="a"] button[aria-pressed="true"] {
  color: var(--navy);
}
.price__num b {
  transition: color 0.45s var(--ease);
}
.toggle[data-on="a"] ~ .price__num b {
  color: #fbe3ad;
}
.toggle.has-thumb button {
  position: relative;
}
.toggle.has-thumb button[aria-pressed="true"] {
  background: none;
}
.toggle button span {
  font-weight: 400;
  opacity: 0.75;
  margin-left: 4px;
}
.price__num {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 28px;
  color: var(--text);
}
.price__num b {
  font:
    500 88px/1 "Inter",
    sans-serif;
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price__num span {
  font-size: 17px;
  color: var(--soft);
}
.price__bill {
  margin-top: 12px;
  font-size: 15px;
  min-height: 24px;
}
.price__main .btn {
  margin-top: 32px;
  padding-right: 6px;
  gap: 12px;
}
.price__main .btn--go i {
  width: 32px;
  height: 32px;
}
.price__onb {
  margin-top: 20px;
  font-size: 15px;
  max-width: 40ch;
}
.plan {
  grid-column: 7 / span 6;
}
.plan__g {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 170px 1fr;
  column-gap: 24px;
}
.plan__g:first-child {
  padding-top: 0;
  border-top: 0;
}
.plan__g h3 {
  font-size: 17px;
  letter-spacing: -0.012em;
  line-height: 1.5;
}
.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}
/* the second ask: a card carrying the same print as the closing one, kept to its right-hand end */
.price__team {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 88px;
  padding: 40px 44px;
  border-radius: 24px;
  background: var(--bg-2, #080d15);
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.price__team > * {
  position: relative;
}
.price__team > .price__print {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64%);
}
.price__team .btn {
  flex: none;
  background: var(--bg-2, #080d15);
}
.price__team .btn:hover {
  background: #121925;
}
.price__team h3 {
  margin-bottom: 8px;
}
.price__team p {
  max-width: 62ch;
  font-size: 15px;
}

/* sections below the walk-through rise in once (body.js); --rv staggers siblings */
.js [data-rv] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.7s var(--ease) calc(var(--rv, 0) * 70ms),
    transform 0.7s var(--ease) calc(var(--rv, 0) * 70ms);
}
.js [data-rv].is-in {
  opacity: 1;
  transform: none;
}

/* faq: the questions in three groups, numbered the way the walk-through numbers its steps. The open
   question comes forward and its number takes the gold */
.faq__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.faq__lead {
  grid-column: 1 / span 4;
  position: sticky;
  top: 120px;
}
.faq__lead p {
  margin-top: 24px;
  max-width: 34ch;
  font-size: 16px;
}
.faq__lead a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s ease;
}
.faq__lead a:hover {
  text-decoration-color: currentColor;
}
.faq__list {
  grid-column: 6 / span 7;
  display: grid;
  gap: 56px;
}
.faq__g h3 {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
}
.faq__g {
  border-bottom: 1px solid var(--line);
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  color: var(--soft);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.3;
  font-variation-settings: "opsz" 32;
  transition: color 0.3s ease;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary b {
  flex: none;
  width: 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}
.faq summary > span {
  flex: 1;
  min-width: 0;
}
.faq summary i {
  position: relative;
  align-self: center;
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--soft);
  transition: color 0.2s;
}
.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}
.faq summary i::after {
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open]:not(.is-closing) summary i::after {
  transform: rotate(0deg);
}
.faq summary:hover,
.faq summary:focus-visible,
.faq details[open]:not(.is-closing) summary,
.faq summary:hover i {
  color: var(--text);
}
.faq details[open]:not(.is-closing) summary b {
  color: var(--gold, #f2ab00);
}
.faq__a {
  overflow: hidden;
}
.faq details p {
  padding: 0 48px 24px 44px;
  max-width: 62ch;
}

/* close: a paper card that sits half on the page and half on the footer */
.close {
  position: relative;
  z-index: 2;
  padding: 136px 0 0;
  text-align: center;
}
/* the page opened on the lake before dawn; it closes on the same lake with the sun up, printed in the page's two
   inks (shared/dither.js). The range runs along the foot of the card and the words sit in the bare sky above it */
.close__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 32px;
  border-radius: 32px;
  background: var(--bg-2, #080d15);
  color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 0 0 1px var(--line-2),
    0 40px 80px -40px rgba(0, 0, 0, 0.7);
}
.close__card > * {
  position: relative;
  z-index: 2;
}
.close__card > .close__print {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  pointer-events: none;
}
/* a little of the ground back behind the words, so no dot sits under a letter */
.close__card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(
    44% 58% at 50% 46%,
    var(--bg-2, #080d15) 0,
    rgba(8, 13, 21, 0.86) 46%,
    rgba(8, 13, 21, 0) 100%
  );
}
/* first light keeps moving on the closing card: a low gold glow and a cool one drift slowly across the print,
   under the words. Runs only while the card is on screen (body.js sets is-live); still under reduced motion */
.close__card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: -30% -20%;
  pointer-events: none;
  background:
    radial-gradient(34% 30% at 68% 78%, rgba(242, 171, 0, 0.2) 0, rgba(242, 171, 0, 0) 100%),
    radial-gradient(40% 34% at 26% 70%, rgba(56, 118, 204, 0.22) 0, rgba(56, 118, 204, 0) 100%);
  mix-blend-mode: screen;
}
@media (prefers-reduced-motion: no-preference) {
  .close__card::after {
    animation: closeLight 18s ease-in-out infinite alternate;
    animation-play-state: paused;
  }
  .close__card.is-live::after {
    animation-play-state: running;
  }
}
@keyframes closeLight {
  from {
    transform: translate3d(-9%, 3%, 0);
    opacity: 0.55;
  }
  to {
    transform: translate3d(9%, -4%, 0);
    opacity: 1;
  }
}
.close h2 {
  font-size: 56px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(4, 14, 28, 0.45);
}
.close__p {
  margin: 24px auto 0;
  max-width: 46ch;
}
.close .btn {
  margin-top: 40px;
  height: 52px;
  padding: 0 6px 0 24px;
  gap: 16px;
  font-size: 17px;
  background: #fff;
  color: #06294c;
}
.close .btn:hover {
  background: #eef2f7;
}
/* the people the call reaches, under its button on the white site (light.css); on the night site they stay at the
   head of the footer */
.close__who {
  display: none;
}
/* the arrow at the end of the one action: the same navy disc as the hero's play button */
.btn--go i,
.r5-cta i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  background: #06294c;
  color: #fff;
}
.btn--go i {
  width: 40px;
  height: 40px;
}
.btn--go svg,
.r5-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.btn--go:hover svg,
.r5-cta:hover svg {
  transform: translate(2px, -2px);
}
/* booking opens in the page, so its arrow points along the line, as the hero's does, and moves that way */
.btn--go[data-open="book"]:hover svg,
.r5-cta:hover svg {
  transform: translateX(3px);
}
/* the people a call reaches, at the head of the footer */
.founders {
  margin-bottom: 72px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.founders > p {
  font-size: 15px;
  margin-bottom: 24px;
}
.founders ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.founders li {
  display: flex;
}
.founders img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line-2);
}

/* footer: on the page's own black, the name set last, cut off by the bottom edge and fading into it */
.foot {
  position: relative;
  z-index: 1;
  overflow: clip;
  color: var(--soft);
  font-size: 15px;
}
.foot__panel {
  padding: 128px 0 72px;
}
.foot__end {
  padding-top: 0;
}
.foot__mark {
  height: 0.7em;
  margin: 64px 0 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  font:
    400 clamp(40px, 9vw, 160px) / 1 "Inter",
    sans-serif;
  font-variation-settings: "opsz" 32;
  letter-spacing: -0.06em;
  color: var(--text);
  white-space: nowrap;
  user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 10%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.42) 10%, rgba(0, 0, 0, 0.1) 70%, transparent 100%);
}
.foot__mark > span {
  display: flex;
  align-items: center;
  gap: 0.14em;
}
/* the mark in one colour with the word: at this size the gold swoosh reads as a second accent */
.foot__mark img {
  height: 0.6em;
  width: auto;
  flex: none;
  filter: brightness(0) invert(1);
}
@media (prefers-reduced-motion: no-preference) {
  .js .foot__mark > span {
    transform: translate3d(0, 42%, 0);
    transition: transform 1.2s var(--ease);
  }
  .js .foot__mark.is-in > span {
    transform: none;
  }
}
.foot h3,
.foot__certs b {
  color: var(--text);
}
.foot__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.foot__top > div > p {
  margin-top: 12px;
}
.foot__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  line-height: 1.35;
}
.foot__certs li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot__certs img,
.foot__seal {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex: none;
}
/* PIPEDA is a law, not a certification, so it carries no issued seal: a plain mark in the page's own ink */
.foot__seal {
  display: grid;
  place-items: center;
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.foot__seal svg {
  width: 22px;
  height: 22px;
}
.foot__certs b {
  display: block;
  font-weight: 500;
  font-size: 15px;
}
.foot nav {
  display: flex;
  gap: 72px;
}
.foot nav div {
  display: grid;
  gap: 12px;
  align-content: start;
}
.foot h3 {
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: 0;
}
.foot nav a,
.foot__bot a {
  transition: color 0.2s ease;
}
.foot nav a:hover,
.foot__bot a:hover {
  color: var(--text);
}
.foot__bot {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot__bot p:first-child {
  max-width: 60ch;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
}
@media (max-width: 860px) {
  :root {
    --gut: 20px;
  }
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 30px;
    line-height: 1.08;
  }
  h3 {
    font-size: 22px;
  }
  .sec {
    padding: 80px 0;
  }
  .sec__head,
  .feat__head,
  .stack__grid,
  .voices__lead,
  .price__grid,
  .faq__grid {
    display: block;
  }
  .sec__head {
    margin-bottom: 44px;
  }
  .sec__head p {
    margin-top: 16px;
  }
  .trust__in {
    padding: 24px 0;
  }
  .trust ul {
    flex-direction: column;
    gap: 8px;
  }
  .features {
    padding-bottom: 0;
  }
  .features .sec__head {
    padding-bottom: 56px;
  }
  .feat {
    padding: 56px 0 72px;
  }
  .feat__head {
    margin-bottom: 36px;
  }
  .feat__head h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  .feat__notes {
    margin-top: 20px;
    gap: 8px;
  }
  .feat__copy {
    display: block;
  }
  [data-bp]:empty {
    min-height: 300px;
  }
  /* the receipt keeps its two columns on a phone, as on desktop; the price note moves under the total */
  .stack__grid {
    display: flex;
    flex-direction: column;
  }
  .stack__copy {
    display: contents;
  }
  .stack__copy h2 {
    margin-bottom: 16px;
  }
  .stack__copy p + p {
    margin-top: 12px;
  }
  .stack__box {
    order: 2;
    margin-top: 32px;
  }
  .stack__copy .small {
    order: 3;
    margin-top: 20px;
    font-size: 13px;
  }
  .stack__list {
    column-gap: 24px;
    font-size: 13.5px;
  }
  .stack__list li {
    padding: 9px 0;
    gap: 8px;
  }
  .stack__sum {
    margin-top: 16px;
  }
  .stack__row {
    padding: 12px 0;
  }
  .stack__row b {
    font-size: 26px;
  }
  .stack__row--one b {
    font-size: 44px;
  }
  .quote--full {
    margin-top: 32px;
  }
  .quote--full blockquote {
    font-size: 20px;
  }
  .voices__row {
    display: block;
    margin-top: 56px;
  }
  .quote--s,
  .quote--s + .quote--s {
    padding: 32px 0;
    border-left: 0;
  }
  .quote--s + .quote--s {
    border-top: 1px solid var(--line);
  }
  .proof {
    margin-top: 48px;
  }
  .proof dd {
    font-size: 24px;
  }
  .price__num b {
    font-size: 72px;
  }
  .plan {
    margin-top: 56px;
  }
  .plan__g {
    display: block;
  }
  .plan__g h3 {
    margin-bottom: 12px;
  }
  .price__team {
    display: block;
    margin-top: 56px;
    padding: 28px 24px 32px;
  }
  .price__team > .price__print {
    width: 100%;
    -webkit-mask-image: linear-gradient(to top, #000 0, transparent 46%);
    mask-image: linear-gradient(to top, #000 0, transparent 46%);
  }
  .price__team .btn {
    margin-top: 24px;
  }
  .faq__lead {
    position: static;
    margin-bottom: 48px;
  }
  .faq__list {
    gap: 44px;
  }
  .faq summary {
    gap: 12px;
    font-size: 18px;
    padding: 20px 0;
  }
  .faq summary b {
    width: 24px;
    font-size: 14px;
  }
  .faq details p {
    padding: 0 0 22px 36px;
  }
  .close {
    padding-top: 88px;
  }
  .close__card {
    padding: 80px 20px;
    border-radius: 24px;
  }
  .close h2 {
    font-size: 36px;
  }
  .close__card::before {
    background: radial-gradient(
      96% 42% at 50% 45%,
      var(--bg-2, #080d15) 0,
      rgba(8, 13, 21, 0.9) 62%,
      rgba(8, 13, 21, 0) 100%
    );
  }
  .founders {
    margin-bottom: 48px;
    padding-bottom: 40px;
  }
  .foot__panel {
    padding: 88px 0 56px;
  }
  .foot__mark {
    margin-top: 40px;
  }
  .founders ul {
    gap: 16px;
    flex-wrap: nowrap;
  }
  .foot__top {
    display: block;
  }
  .foot nav {
    gap: 48px;
    margin-top: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.foot__certs a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.foot__certs a:hover b {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* phone, second pass: each section composed for one hand and one column */
@media (max-width: 760px) {
  /* voices: the numbers land on the heading's screen, the long quote follows, the short ones run sideways */
  .voices__lead {
    display: flex;
    flex-direction: column;
  }
  .proof {
    order: 2;
    margin-top: 28px;
  }
  .proof h3 {
    margin-bottom: 14px;
  }
  .proof dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .proof dl > div,
  .proof dl > div:last-child {
    justify-content: flex-end;
    padding: 0;
    border: 0;
  }
  .proof dd {
    font-size: 20px;
  }
  .proof dt {
    font-size: 12.5px;
    line-height: 1.35;
  }
  .quote--full {
    order: 3;
    margin-top: 36px;
  }
  .quote--full blockquote {
    font-size: 18px;
    line-height: 1.5;
    text-wrap: pretty;
  }
  .voices__row {
    display: flex;
    gap: 12px;
    margin: 40px calc(var(--gut) * -1) 0;
    padding: 2px var(--gut) 6px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gut);
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .voices__row::-webkit-scrollbar {
    display: none;
  }
  .quote--s,
  .quote--s + .quote--s {
    flex: 0 0 calc(100% - 44px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 20px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px var(--line);
    scroll-snap-align: start;
  }
  .quote--s:last-child {
    scroll-snap-align: end;
  }
  /* pricing: a toggle a thumb can hit, and the lists a little tighter */
  .toggle button {
    height: 44px;
    padding: 0 20px;
  }
  .toggle__thumb {
    height: 44px;
  }
  .plan__g {
    padding: 22px 0;
  }
  .plan ul {
    gap: 8px;
    font-size: 14.5px;
  }
  /* footer: two columns so no link wraps, and every link is a full-height target */
  .foot nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 24px;
  }
  .foot nav div {
    gap: 0;
  }
  .foot nav h3 {
    margin-bottom: 2px;
  }
  .foot nav a,
  .foot__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .foot__soc {
    width: 44px;
    height: 44px;
  }
}
/* the wordmark is the home link: on touch screens its tap area runs the nav's full height without moving it */
@media (pointer: coarse) {
  .brand {
    padding-block: 9px;
    margin-block: -9px;
  }
}
