/* ==========================================================================
   Liquidbinary
   One grotesque, one mono, a twelve-column sheet with a hairline at the head
   of each section. Everything stays quiet so that one thing can move: the
   sea of bits that opens each page and closes it.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.c56a486a26.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono.f7e19d0a13.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* System faces resized to the web fonts' metrics, so nothing moves when they load. */
@font-face {
  font-family: "Schibsted Fallback";
  src: local("Arial"), local("Liberation Sans"), local("Arimo"), local("Helvetica Neue");
  size-adjust: 104.92%;
  ascent-override: 93.07%;
  descent-override: 24.57%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Martian Fallback";
  src: local("Courier New"), local("Liberation Mono"), local("Cousine");
  size-adjust: 108.32%;
  ascent-override: 92.32%;
  descent-override: 18.46%;
  line-gap-override: 0%;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Colour: one dark look. Loch (a blue-black ground), haar (a cool mist white for the
     words) and one signal blue. There is no light version. The white is held back and the
     ground lifted a little, so large type does not glare: the words sit at about 12:1 on
     the page, and the faintest text stays above 5:1 on every ground it is used on. */
  --paper: oklch(20% 0.026 246);
  --paper-2: oklch(23.5% 0.028 246);
  --paper-3: oklch(27% 0.03 246);
  --ink: oklch(87% 0.014 236);
  --ink-2: oklch(77% 0.018 236);
  --ink-3: oklch(67% 0.022 236);
  --line: oklch(87% 0.014 236 / 0.16);
  --line-2: oklch(87% 0.014 236 / 0.32);
  --accent: oklch(78% 0.115 228);
  --accent-wash: oklch(78% 0.115 228 / 0.12);
  --on-accent: oklch(17% 0.03 246);
  --sea: oklch(78% 0.115 228);
  --focus: var(--accent);

  /* The deep ground: the closing band, the darker screens and the product cards */
  --deep: oklch(16.5% 0.022 246);
  --deep-raised: oklch(22% 0.028 246);
  --on-deep: oklch(87% 0.014 236);
  --on-deep-2: oklch(77% 0.018 236);
  --on-deep-3: oklch(67% 0.022 236);
  --deep-line: oklch(87% 0.014 236 / 0.16);
  --deep-line-2: oklch(87% 0.014 236 / 0.32);
  --deep-accent: oklch(78% 0.115 228);

  --logo: url("../img/logo-dark.8760171615.png");
  color-scheme: dark;

  /* Type */
  --font-sans: "Schibsted Grotesk", "Schibsted Fallback", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --font-mono: "Martian Mono", "Martian Fallback", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.2rem + 0.9vw, 2rem);
  --fs-h3: clamp(1.125rem, 1.07rem + 0.3vw, 1.3125rem);
  --fs-h2: clamp(1.875rem, 1.25rem + 2.9vw, 3.5rem);
  /* The two headline sizes also give way on a short window, so the opening still fits it */
  --fs-h1: clamp(2.5rem, min(1.25rem + 5.8vw, 13svh), 5.75rem);
  --fs-h1-long: clamp(2.25rem, min(1.3rem + 4.3vw, 11svh), 4.75rem);
  --fs-h2-long: clamp(1.75rem, min(1.1rem + 2.2vw, 6.5svh), 2.75rem);

  /* Layout */
  --page: 80rem;
  --gutter: clamp(1rem, 4.4vw, 3.5rem);
  --col-gap: clamp(1.25rem, 2.4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --rule-gap: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --header-h: 4rem;
  --radius: 2px;
  --radius-card: 0.75rem; /* product cards and screenshots, rounded like app windows */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --- Base ----------------------------------------------------------------- */

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

html {
  padding-block: env(safe-area-inset-top, 0px) env(safe-area-inset-bottom, 0px);
  background: var(--paper); /* the window behind the page, so no change of page ever shows white */
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--fs-base) / 1.6 var(--font-sans);
  font-synthesis: none;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

/* Paints the strip above a sticky header where a phone's status bar sits. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--paper);
}

:where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, hgroup) {
  margin: 0;
}

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

:where(h1, h2, h3) {
  font-weight: 540;
  text-wrap: balance;
}

:where(p, dd, li, figcaption) {
  text-wrap: pretty;
}

:where(img, svg, canvas) {
  display: block;
  max-width: 100%;
}

:where(a) {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--accent);
  text-underline-offset: 0.22em;
  transition: color 0.2s, text-decoration-color 0.2s;
}

:where(a:hover) {
  color: var(--accent);
}

:where(button) {
  font: inherit;
  color: inherit;
}

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

/* Places a link can carry the keyboard to; the move itself is the feedback. */
#main:focus,
.hero:focus,
.screen:focus,
.section:focus,
.cta:focus {
  outline: none;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.nowrap {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* A sentence that starts on its own line inside a heading, balanced by itself. */
.line {
  display: block;
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 0.75rem);
  left: max(0.75rem, env(safe-area-inset-left, 0px));
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 550;
  text-decoration: none;
  translate: 0 -300%;
  transition: translate 0.2s var(--ease);
}

.skip:focus-visible {
  translate: 0 0;
  color: var(--paper);
}

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--page) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.section {
  padding-bottom: var(--section-y);
  scroll-margin-top: 1.5rem;
}

/* The hairline that opens a section runs the width of the content, not the window. */
.section > .wrap::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--rule-gap);
  background: var(--line);
}

.section--tint,
.section--plain,
.section--tint + .section {
  padding-top: calc(var(--section-y) * 0.82);
}

.section--tint > .wrap::before,
.section--plain > .wrap::before,
.section--tint + .section > .wrap::before {
  content: none;
}

.section--tint {
  background: var(--paper-2);
}

.section__head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 1.9rem + 3vw, 4.5rem);
}

.section__head h2,
.split__head h2 {
  max-width: 17em;
}

.section__head--full h2 {
  max-width: none;
}

hgroup {
  display: grid;
  gap: clamp(1rem, 0.8rem + 1vw, 1.75rem);
}

h1 {
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--fs-h2);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* A heading that is a whole sentence is set a size down, as the long openings are. */
.h2--long {
  font-size: var(--fs-h2-long);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-wrap: balance;
}

.label::before {
  content: "";
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: 0.4em;
  border-radius: 50%;
  background: var(--accent);
}

.label--bare::before {
  content: none;
}

.lede {
  max-width: 34em;
  font-size: var(--fs-lg);
  line-height: 1.5;
}

.lede--wide {
  max-width: 44em;
}

.note {
  max-width: 44em;
  margin-top: clamp(2rem, 1.6rem + 2vw, 3rem);
  color: var(--ink-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 3.5rem) var(--col-gap);
}

.split__head {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.split__head > .actions {
  margin-top: 0.5rem;
}

@media (min-width: 62rem) {
  .section__head--wide {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--col-gap);
  }

  .section__head--wide > hgroup {
    display: contents;
  }

  .section__head--wide .label {
    grid-column: 1 / -1;
  }

  .section__head--wide h2 {
    grid-column: 1 / span 7;
    align-self: start;
  }

  .section__head--wide > .lede {
    grid-column: 9 / -1;
    align-self: end;
    padding-bottom: 0.3em;
  }

  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .split__head {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 2.5rem);
    align-self: start;
  }

  .split__body {
    grid-column: 7 / -1;
  }

  /* Text beside a screenshot: the picture takes the wider half. */
  .split--figure .split__head {
    grid-column: 1 / span 5;
    position: static;
  }

  .split--figure .split__body {
    grid-column: 7 / -1;
    align-self: start;
  }
}

/* --- Screens --------------------------------------------------------------
   A page reads like a presentation. Each section takes at least one full
   screen, holds one idea in the middle of it, and ends with an arrow that
   names the next. Scrolling stays the browser's own: nothing is taken over,
   and a section with more to say than a screen holds simply runs longer. */

.screen {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
}

.screen--tint {
  background: var(--paper-2);
}

.screen__in {
  align-self: center;
  padding-block: clamp(2.25rem, 7svh, 6.5rem) clamp(1rem, 3svh, 3rem);
}

.screen .section__head {
  margin-bottom: clamp(1.5rem, 4.5svh, 3.75rem);
}

@media (min-width: 62rem) {
  .screen .split {
    align-items: center;
  }

  .screen .split__head {
    position: static;
    align-self: center;
  }

  /* Words beside a picture share one screen: the picture keeps to the outside margin and
     never grows taller than the window can show. */
  .screen .split--figure .split__body {
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: max(22rem, (100svh - var(--header-h) - 12rem) * 1.087);
  }
}

/* The arrow at the foot of a screen, labelled with the screen it leads to. */
.next {
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.375rem, 1.2svh, 0.75rem) 1.25rem clamp(0.75rem, 2.4svh, 1.5rem);
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

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

.next .icon {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
}

/* A screen that makes one statement, set at the size of the opening. */
.statement {
  display: grid;
  gap: clamp(1.25rem, 1rem + 1.4vw, 2.25rem);
  justify-items: start;
}

.statement h2 {
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.04em;
}

.statement .lede {
  max-width: 32em;
  color: var(--ink-2);
}

/* Anything that moves has a button to pause it. One press pauses everything that moves. */
.motion-toggle {
  position: absolute;
  right: 0.625rem;
  bottom: 0.625rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in oklch, var(--paper) 86%, transparent);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}

.motion-toggle:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.motion-toggle .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.motion-toggle .icon:last-child,
.motion-toggle[data-paused] .icon:first-child {
  display: none;
}

.motion-toggle[data-paused] .icon:last-child {
  display: block;
}

.motion-toggle--sea {
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.motion-toggle--shore {
  top: 0.75rem;
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: auto;
}

/* --- Buttons and links ---------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0.625rem 1.125rem;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 550 0.9375rem / 1.2 var(--font-sans);
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  --btn-bg: var(--accent);
  --btn-bd: var(--accent);
  --btn-fg: var(--on-accent);
  color: var(--btn-fg);
}

.btn:active {
  translate: 0 1px;
}

.btn--large {
  min-height: 3.25rem;
  padding: 0.875rem 1.375rem;
  font-size: 1rem;
}

.btn--small {
  min-height: 2.5rem;
  padding: 0.5rem 0.875rem;
  font-size: var(--fs-sm);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line-2);
}

.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
}

.btn--light {
  --btn-bg: var(--on-deep);
  --btn-fg: var(--deep);
  --btn-bd: var(--on-deep);
}

.btn--light:hover {
  --btn-bg: var(--deep-accent);
  --btn-bd: var(--deep-accent);
  --btn-fg: var(--deep);
}

.btn--block {
  display: flex;
  width: 100%;
}

.icon {
  flex: none;
  width: 1em;
  height: 1em;
  transition: translate 0.25s var(--ease);
}

:where(a, button):hover > .icon--right {
  translate: 3px 0;
}

:where(a, button):hover > .icon--down {
  translate: 0 3px;
}

:where(a, button):hover > .icon--out {
  translate: 2px -2px;
}

.link {
  color: var(--ink);
  font-weight: 550;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.32em;
}

/* Inline, so the arrow follows the last word when a long link wraps. */
.link .icon {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: -0.12em;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.625rem;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-2);
  font: 500 var(--fs-xs) / 1 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: calc(var(--header-h) - 1px); /* with the hairline below, exactly --header-h */
}

.brand {
  --logo-h: 2.5rem;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  text-decoration: none;
}

/* The logo files carry a little clear space on the left; pull it back so the mark sits on the margin. */
.brand__logo {
  display: block;
  width: calc(var(--logo-h) * 3.966);
  height: var(--logo-h);
  margin-left: calc(var(--logo-h) * -0.16);
  background: var(--logo) left center / contain no-repeat;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current] {
  color: var(--ink);
}

.nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: calc(50% - 0.15625rem);
  bottom: 0.1875rem;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 50%;
  background: var(--accent);
}

.site-header__tools {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.iconbtn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.iconbtn:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.iconbtn .icon {
  width: 1.125rem;
  height: 1.125rem;
}

.menu-btn {
  display: none;
}

@media (max-width: 51.99rem) {
  .nav {
    display: none;
  }

  .site-header__tools {
    margin-left: auto;
  }

  .menu-btn {
    display: inline-grid;
  }
}

@media (max-width: 27.99rem) {
  .site-header__cta {
    display: none;
  }
}

.menu {
  position: fixed;
  inset: 0 0 auto;
  width: auto;
  max-width: none;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  opacity: 0;
  translate: 0 -0.75rem;
  transition: opacity 0.22s, translate 0.22s var(--ease), overlay 0.22s allow-discrete, display 0.22s allow-discrete;
}

.menu:popover-open {
  opacity: 1;
  translate: 0 0;
}

@starting-style {
  .menu:popover-open {
    opacity: 0;
    translate: 0 -0.75rem;
  }
}

.menu::backdrop {
  background: oklch(13% 0.02 246 / 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.menu__in {
  display: grid;
  gap: 1.5rem;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: 1.5rem;
}

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.menu__list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.5rem;
  font-weight: 540;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.menu__list a[aria-current]::after {
  content: "";
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Hero ----------------------------------------------------------------- */

/* The opening fills the first screen, whatever the window's height: a stage for the words
   and the water, then the arrow to the next screen. Its spacing follows the window's
   height, so it also fits a short laptop screen. */
.hero {
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top, 0px));
}

.hero__stage {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: clip;
}

.hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__in > * + * {
  margin-top: clamp(1rem, min(1rem + 1.4vw, 3.6svh), 2.25rem);
}

/* The space above and below the words is shared out, not fixed. The water below takes the
   larger share on a tall window; on a short one both give way to their least before
   anything, the arrow included, is pushed off the screen. */
.hero__in::before,
.hero__in::after {
  content: "";
  flex: none;
}

.hero__in::before {
  height: clamp(1rem, 3.2svh, 4rem);
}

.hero__in::after {
  flex: 1 0 auto;
  min-height: clamp(2.5rem, 9svh, 9rem);
}

@media (min-width: 48rem) {
  .hero__in::before {
    flex: 1 0 auto;
    height: auto;
    min-height: clamp(1rem, 3.2svh, 4rem);
  }

  .hero__in::after {
    flex-grow: 1.7;
  }
}

.hero__head {
  gap: clamp(1rem, min(1rem + 1.2vw, 3.2svh), 2rem);
}

.hero h1 {
  max-width: 12.2em;
}

.hero--long h1 {
  max-width: 14.5em;
  font-size: var(--fs-h1-long);
  line-height: 1.02;
  letter-spacing: -0.038em;
}

.hero .lede {
  max-width: 32em;
  color: var(--ink-2);
}

.hero .actions {
  margin-top: calc(clamp(1rem, min(1rem + 1.4vw, 3.6svh), 2.25rem) + 0.5rem);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}

.hero__note img {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 30rem) {
  .hero .actions {
    align-self: stretch;
  }

  .hero .actions .btn {
    flex: 1 1 100%;
  }
}

/* The sea of bits. Drawn by site.js; the page is complete without it. */
.sea {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.sea.is-on {
  opacity: 1;
}

.sea--shore {
  inset: auto 0 100%;
  height: clamp(4rem, 3rem + 4.6vw, 7.5rem);
}

/* Without the script there is no water to leave room for. */
@media (scripting: none) and (min-width: 48rem) {
  .hero__in::after {
    flex-grow: 1;
  }
}

/* --- Repeating pieces ----------------------------------------------------- */

.cells {
  display: grid;
  gap: clamp(2rem, 1.6rem + 2vw, 3.25rem) var(--col-gap);
}

.cell {
  display: grid;
  gap: 0.625rem;
  align-content: start;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line-2);
}

.cell p {
  color: var(--ink-2);
}

@media (min-width: 40rem) {
  .cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .cells--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cells--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ledger {
  display: grid;
}

.ledger__row {
  display: grid;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.ledger dt {
  padding-top: 0.45em;
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ledger dd {
  font-size: var(--fs-lg);
  line-height: 1.45;
}

@media (min-width: 44rem) {
  .ledger__row {
    grid-template-columns: 11.5rem minmax(0, 1fr);
  }
}

.prose {
  display: grid;
  gap: 1.1em;
  max-width: 41rem;
  color: var(--ink-2);
}

.prose--large,
.prose__lead {
  color: var(--ink);
  font-size: var(--fs-lg);
  line-height: 1.5;
}

/* --- Home ----------------------------------------------------------------- */

.doors {
  display: grid;
  gap: var(--col-gap);
}

/* One of the two industries: the heading is the way in, and the whole card follows it. */
.door {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.25s;
}

.door:hover {
  border-color: var(--ink);
}

.door h3 {
  font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 540;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.door__link {
  color: var(--ink);
  text-decoration: none;
}

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

.door__link .icon {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.3em;
  vertical-align: 0.02em;
  color: var(--accent);
}

.door > p {
  max-width: 33em;
  color: var(--ink-2);
}

/* The one credential each industry carries. */
.door > .door__fact {
  align-self: end;
  max-width: none;
  margin-top: 0.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.door__fact strong {
  display: block;
  margin-bottom: 0.125rem;
  color: var(--ink);
  font-size: var(--fs-base);
  font-weight: 650;
}

/* The whole card is the link's target */
.door__link::after,
.product__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.door__link:focus-visible,
.product__link:focus-visible {
  outline: none;
}

.door:has(.door__link:focus-visible),
.product:has(.product__link:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

@media (min-width: 52rem) {
  .doors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Side by side, the two cards share one set of rows, so their headings, paragraphs and
     facts start level with each other however a heading happens to wrap. */
  @supports (grid-template-rows: subgrid) {
    .doors {
      grid-template-rows: repeat(3, auto);
    }

    .door {
      grid-row: span 3;
      grid-template-rows: subgrid;
    }

    .door > .door__fact {
      align-self: start;
    }
  }
}

/* Product cards follow the Nexus Telemetry site: always dark, so the dark screens sit in
   something their own colour, with the tier as a small badge beside the name. */
.products {
  display: grid;
  gap: clamp(1rem, 0.75rem + 1.2vw, 1.75rem);
}

.product {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper-2);
  color: var(--ink);
  overflow: hidden;
  transition: border-color 0.25s, translate 0.25s var(--ease);
}

.product:hover {
  border-color: color-mix(in oklch, var(--accent) 60%, transparent);
  translate: 0 -3px;
}

.product__media {
  position: relative;
  width: 100%; /* stated, so a cap on its height crops the picture and never narrows it */
  aspect-ratio: 720 / 450;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.product__media > img,
.product__media .recording,
.product__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

.product__body {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.625rem;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
}

.product__kicker {
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem 0.625rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.tier {
  padding: 0.25rem 0.4375rem;
  border: 1px solid color-mix(in oklch, var(--accent) 45%, transparent);
  border-radius: 4px;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  color: var(--accent);
  font: 500 0.625rem / 1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product__body > p:not([class]) {
  color: var(--ink-2);
}

.product__link {
  justify-self: start;
  margin-top: 0.5rem;
  color: var(--accent);
  font-weight: 550;
  text-decoration: none;
}

.product__link .icon {
  display: inline-block;
  margin-left: 0.5em;
  vertical-align: -0.12em;
}

@media (min-width: 56rem) {
  .products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Three in a row share a screen with their heading, so on a short window the pictures
     are cropped shallower rather than pushing the words below them out of sight. */
  .product__media {
    max-height: clamp(8.5rem, 30svh - 5rem, 16rem);
  }

  .product__body {
    gap: clamp(0.375rem, 1.1svh, 0.625rem);
    padding-block: clamp(1rem, 2.6svh, 1.75rem);
  }

  .screen:has(.products) .screen__in {
    padding-top: clamp(1.5rem, 5svh, 6.5rem);
  }

  .screen:has(.products) .section__head {
    margin-bottom: clamp(1.25rem, 3.4svh, 3.75rem);
  }
}

/* On a phone a card sits in from the edges of the text with a shallower picture, so it
   reads as a card with the page around it and the next one shows beneath. */
@media (max-width: 39.99rem) {
  .products {
    gap: 1.5rem;
    padding-inline: clamp(0.5rem, 4.5vw, 1.75rem);
  }

  .product__media {
    aspect-ratio: 16 / 9;
  }
}

/* Between a phone and three in a row, the picture sits beside the words. */
@media (min-width: 40rem) and (max-width: 55.99rem) {
  .product {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .product__media {
    aspect-ratio: auto;
    min-height: 11rem;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .product__media > img,
  .product__media .recording {
    position: absolute;
    inset: 0;
  }

  .product__body {
    align-content: center;
    grid-template-rows: none;
  }
}

/* --- System review -------------------------------------------------------- */

.symptoms li {
  position: relative;
  padding: clamp(0.75rem, 2svh, 1.35rem) 0 clamp(0.75rem, 2svh, 1.35rem) 2.125rem;
  border-top: 1px solid var(--line);
  /* The extra-large step, held down on short screens so the whole list fits one screen. */
  font-size: clamp(1.125rem, min(1.2rem + 0.9vw, 3svh), 2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

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

/* An empty bit beside each line. It switches on as the line is read. */
.symptoms li::before {
  content: "";
  position: absolute;
  left: 0.125rem;
  top: calc(clamp(0.75rem, 2svh, 1.35rem) + 0.6em - 0.3125rem);
  width: 0.625rem;
  height: 0.625rem;
  border: 1.5px solid var(--ink-3);
  border-radius: 50%;
}

.symptoms__close {
  margin-top: 1.75rem;
  color: var(--ink-2);
  font-size: var(--fs-lg);
}

.symptoms__close strong {
  color: var(--ink);
  font-weight: 600;
}

.steps {
  display: grid;
}

.step {
  position: relative;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  padding: 0 0 2.25rem 1.75rem;
  border-left: 1px solid var(--line-2);
}

.step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.step::before {
  content: "";
  position: absolute;
  left: -0.3125rem;
  top: 0.25rem;
  width: 0.5625rem;
  height: 0.5625rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.3125rem var(--paper);
}

.step__n {
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step h3 {
  font-size: var(--fs-xl);
  font-weight: 540;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.step p:not([class]) {
  max-width: 26em;
  color: var(--ink-2);
}

@media (min-width: 62rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .step,
  .step:last-child {
    padding: 1.75rem var(--col-gap) 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }

  .step::before {
    left: 0;
    top: -0.3125rem;
  }
}

/* What the four steps end in. */
.report-line {
  max-width: 34em;
  margin-top: clamp(2rem, 1.6rem + 2vw, 3.25rem);
  font-size: var(--fs-lg);
  line-height: 1.45;
}

.report-line strong {
  font-weight: 650;
}

.answers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.answers li {
  padding: 0.72em 1em;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.answers__last {
  border-style: dashed;
  color: var(--ink-2);
}

.answers__last span {
  color: var(--ink-3);
  font-weight: 400;
}

/* The bottom line: two figures and one scale. A filled square is profit. */
.equation {
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
}

.equation__side {
  display: grid;
  gap: 0.875rem;
  container-type: inline-size;
}

.equation__label {
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.equation__value {
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: 540;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.equation__is {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink-2);
  font-size: var(--fs-lg);
}

.equation__is::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.units {
  /* 33⅓ squares and 33 gaps fill the column; never smaller than 12px, never larger than 19px */
  --u: clamp(0.75rem, (100cqi - 6.25rem) / 33.34, 1.1875rem);
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 0.25rem;
}

.units i {
  display: block;
  width: var(--u);
  height: var(--u);
  border: 1.5px solid var(--ink-3);
  border-radius: 1px;
}

.units .on {
  border-color: var(--accent);
  background: var(--accent);
}

.units .third {
  width: calc(var(--u) / 3);
}

.equation__caption {
  max-width: 31em;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 4px double var(--ink-2);
  font-size: var(--fs-lg);
  font-weight: 500;
  line-height: 1.4;
}

.profile {
  display: grid;
  gap: 1.75rem;
}

.profile__id {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.profile__photo {
  flex: none;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.profile__name {
  font-size: var(--fs-xl);
  font-weight: 540;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.profile__role {
  margin-top: 0.25rem;
  color: var(--ink-2);
}

.qa {
  display: grid;
}

.qa__item {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.375rem;
  border-top: 1px solid var(--line);
}

.qa__item h3 {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  align-items: baseline;
  font-size: var(--fs-lg);
  line-height: 1.3;
}

.qa__q {
  color: var(--accent);
  font: 500 var(--fs-sm) / 1 var(--font-mono);
}

.qa__item p {
  padding-left: 1.75rem;
  color: var(--ink-2);
}

.stickybar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  padding: 0.75rem max(var(--gutter), env(safe-area-inset-right, 0px)) calc(0.75rem + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  border-top: 1px solid var(--line);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  visibility: hidden;
  translate: 0 110%;
  transition: translate 0.3s var(--ease), visibility 0s 0.3s;
}

.stickybar.is-visible {
  visibility: visible;
  translate: 0 0;
  transition-delay: 0s;
}

@media (min-width: 48rem) {
  .stickybar {
    display: none;
  }
}

/* --- Construction --------------------------------------------------------- */

/* What a client arrives with, and what we do about it. */
.changes li {
  display: grid;
  gap: 0.5rem;
  padding-block: clamp(0.875rem, 2.3svh, 1.5rem);
  border-top: 1px solid var(--line);
}

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

.changes h3 {
  font-size: var(--fs-xl);
  font-weight: 520;
  line-height: 1.15;
  letter-spacing: -0.028em;
}

.changes p {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  gap: 0.875rem;
  align-items: baseline;
  color: var(--ink-2);
  font-size: var(--fs-lg);
  line-height: 1.4;
}

.changes .icon {
  align-self: start;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.22em;
  color: var(--accent);
}

/* --- Starlink ------------------------------------------------------------- */

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

/* A product's screen, or a recording of it, beside its description. Stacked under the
   words on a narrower window, it stops short of filling a tablet from edge to edge. */
.shot {
  position: relative;
  max-width: min(100%, 34rem, 62svh);
}

.shot img,
.shot video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-card);
  background: var(--deep);
  box-shadow: 0 1.75rem 3.5rem -2.25rem oklch(13% 0.02 246 / 0.55);
}

/* Set out like the title block in the corner of a drawing. */
.titleblock {
  display: grid;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
}

.titleblock > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1rem 1rem;
}

.titleblock > div + div {
  border-top: 1px solid var(--line-2);
}

.titleblock dt {
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.titleblock dd {
  font-weight: 550;
  line-height: 1.35;
}

.log li {
  display: grid;
  gap: 0.25rem 2rem;
  align-items: baseline;
  padding-block: clamp(0.75rem, 1.7svh, 1.125rem);
  border-top: 1px solid var(--line);
}

.log time {
  color: var(--ink-3);
  font: 500 var(--fs-xs) / 1.45 var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 40rem) {
  .log li {
    grid-template-columns: 6rem minmax(0, 1fr);
  }
}

/* On a wide window the log runs down two columns, five entries in each, on shared rows. */
@media (min-width: 62rem) {
  .log--pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: var(--col-gap);
  }

  .log--pair p {
    font-size: 1rem;
  }

  /* The case study reads heading, account, facts. On a wide window the facts sit under the
     heading, two boxes to a row, with the account beside them both. */
  .split--case {
    row-gap: 2rem;
  }

  .screen .split--case > .split__head {
    grid-row: 1;
    align-self: end;
  }

  .split--case > .split__body {
    grid-row: 1 / span 2;
  }

  .split--case > .titleblock {
    grid-column: 1 / span 5;
    grid-row: 2;
    align-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split--case > .titleblock > div:nth-child(even) {
    border-left: 1px solid var(--line-2);
  }

  .split--case > .titleblock > div:nth-child(2) {
    border-top: 0;
  }

  .split--case > .titleblock > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* --- Closing band and footer ---------------------------------------------- */

/* Inside the deep ground the everyday tokens are re-pointed, so any component placed on a
   dark screen, or inside a product card, simply works. */
.deep,
.product {
  --paper: var(--deep);
  --paper-2: var(--deep-raised);
  --paper-3: var(--deep-raised);
  --ink: var(--on-deep);
  --ink-2: var(--on-deep-2);
  --ink-3: var(--on-deep-3);
  --line: var(--deep-line);
  --line-2: var(--deep-line-2);
  --accent: var(--deep-accent);
  --accent-wash: color-mix(in oklch, var(--deep-accent) 14%, transparent);
  --on-accent: var(--deep);
  --focus: var(--deep-accent);
}

.deep {
  background: var(--paper);
  color: var(--ink);
}

.deep ::selection {
  background: var(--deep-accent);
  color: var(--deep);
}

.deep :where(a) {
  text-decoration-color: var(--deep-accent);
}

.deep :where(a:hover) {
  color: var(--deep-accent);
}

/* The closing band. The margin above it is the strip the shore is drawn in. */
.cta {
  position: relative;
  display: grid;
  min-height: 64svh;
  margin-top: clamp(4rem, 3rem + 4.6vw, 7.5rem);
  scroll-margin-top: clamp(4rem, 3rem + 4.6vw, 7.5rem);
}

.cta__in {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  justify-items: start;
  padding-block: clamp(4rem, 3rem + 5.5vw, 7.5rem) clamp(4rem, 3rem + 5vw, 7rem);
}

.cta__title {
  max-width: 11em;
  font-size: clamp(2.375rem, 1.35rem + 4.7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.042em;
}

.cta__text {
  max-width: 31em;
  color: var(--on-deep-2);
  font-size: var(--fs-lg);
  line-height: 1.5;
}

.cta .actions {
  margin-top: 0.5rem;
}

/* Under the button: the address with a way to copy it, and the promise beneath. */
.cta__contact {
  display: grid;
  justify-items: start;
  color: var(--on-deep-3);
  font-size: var(--fs-sm);
}

.cta__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
}

.cta__address {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  color: var(--on-deep);
  font: 400 0.9375rem / 1.4 var(--font-mono);
}

/* For anyone whose device has no mail program set up. Shown only when the script runs. */
.copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--on-deep-3);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.copy:hover {
  background: var(--deep-raised);
  color: var(--on-deep);
}

.copy .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.copy .icon--check,
.copy[data-copied] .icon--copy {
  display: none;
}

.copy[data-copied] .icon--check {
  display: block;
  color: var(--deep-accent);
}

.site-footer .wrap::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--deep-line);
}

.site-footer__in {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
}

.site-footer__in::before {
  justify-self: stretch;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  min-height: 2.25rem;
  color: var(--on-deep-2);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a[aria-current] {
  color: var(--on-deep);
}

.site-footer__links .icon {
  width: 0.8125rem;
  height: 0.8125rem;
  opacity: 0.7;
}

.site-footer__legal {
  display: grid;
  gap: 0.25rem;
  color: var(--on-deep-3);
  font: 400 var(--fs-xs) / 1.6 var(--font-mono);
}

.site-footer__name {
  margin-bottom: 0.25rem;
  color: var(--on-deep);
  font: 600 var(--fs-sm) / 1.4 var(--font-sans);
}

/* --- Motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @view-transition {
    navigation: auto;
  }

  ::view-transition-old(root) {
    animation: 0.16s ease-out both page-out;
  }

  ::view-transition-new(root) {
    animation: 0.3s var(--ease) both page-in;
  }

  .site-header {
    view-transition-name: site-header;
  }

  .units.is-counted i {
    animation: count-in 0.45s var(--ease) backwards;
    animation-delay: calc(var(--n, 0) * 24ms);
  }

  /* Each screen builds as it arrives: heading first, then what it has to show. The script
     adds .reveal only when it is ready to bring things in, so nothing is ever left hidden. */
  .reveal .screen.is-in [data-reveal] {
    transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
  }

  .reveal .screen.is-in [data-reveal="2"] {
    transition-delay: 0.12s;
  }

  .reveal .screen.is-in [data-reveal="3"] {
    transition-delay: 0.24s;
  }

  .reveal .screen:not(.is-in) [data-reveal] {
    opacity: 0;
    translate: 0 1.75rem;
  }

  @supports (animation-timeline: view()) {
    .symptoms li::before {
      animation: bit-on linear both;
      animation-timeline: view();
      animation-range: entry 110% cover 42%;
    }
  }
}

/* While one page hands over to the next, what shows between them is the page's own ground. */
::view-transition {
  background: var(--paper);
}

@keyframes page-out {
  to { opacity: 0; }
}

@keyframes page-in {
  from { opacity: 0; translate: 0 0.5rem; }
}

@keyframes count-in {
  from { opacity: 0.12; scale: 0.5; }
}

@keyframes bit-on {
  to { border-color: var(--accent); background: var(--accent); }
}

/* --- Other media ---------------------------------------------------------- */

/* More contrast on request: secondary text and hairlines step up to the strongest value. */
@media (prefers-contrast: more) {
  :root:not([data-contrast="normal"]) {
    --ink-2: var(--ink);
    --ink-3: var(--ink);
    --line: var(--line-2);
    --on-deep-2: var(--on-deep);
    --on-deep-3: var(--on-deep);
    --deep-line: var(--on-deep-2);
  }
}

@media (forced-colors: active) {
  .tier {
    border-color: CanvasText;
  }

  .units i {
    border-color: CanvasText;
  }

  .units .on {
    forced-color-adjust: none;
    border-color: Highlight;
    background: Highlight;
  }

  .label::before,
  .badge::before,
  .step::before {
    forced-color-adjust: none;
    background: Highlight;
  }
}

@media print {
  .site-header,
  .sea,
  .stickybar,
  .menu,
  .skip,
  .copy,
  .next,
  .motion-toggle {
    display: none !important;
  }

  .hero,
  .screen,
  .cta {
    min-height: 0;
  }

  .reveal .screen [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }

  :root,
  .deep,
  .product {
    --paper: #fff;
    --paper-2: #fff;
    --paper-3: #fff;
    --ink: #000;
    --ink-2: #222;
    --ink-3: #444;
    --line: #0003;
    --line-2: #0006;
    --accent: #000;
    --deep: #fff;
    --deep-raised: #fff;
    --on-deep: #000;
    --on-deep-2: #222;
    --on-deep-3: #444;
    --deep-line: #0003;
    --deep-line-2: #0006;
    --deep-accent: #000;
    --logo: url("../img/logo-light.c94693de62.webp");
  }

  html,
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .hero__in::before,
  .hero__in::after {
    content: none;
  }

  .section {
    padding-bottom: 2rem;
    break-inside: avoid;
  }

  .split__head {
    position: static;
  }

  .deep {
    background: #fff;
    color: #000;
  }
}
