/*
  The styles of taminiro.com: the landing page (P25, D40) and the plain text pages next to it.
  Measures, colours and type come from docs/design-system.md, section "Landingpage"; the accepted
  drafts are design/figcraft/out/round-30-page.png (desktop 1440), round-33-tablet.png (768) and
  round-32-phone.png (390). Written phone first: under 720 the phone layout, from 720 the tablet
  layout, from 1200 the desktop layout (Roman, 12.11.2026).
  Never cream, beige or a warm off-white on this page (D40). Amber only on the main button.
*/

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/roboto-latin-600-normal.woff2') format('woff2');
}
/* Greek after Latin: for Greek letters the browser tries the later faces first (the terms, ΑΦΜ). */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-greek-400-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-greek-500-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/roboto-greek-600-normal.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/eb-garamond-greek-400-normal.woff2') format('woff2');
  unicode-range: U+0370-03FF, U+1F00-1FFF;
}
/* Stands in until EB Garamond has loaded, cut to its width so the large lines do not jump. */
@font-face {
  font-family: 'EB Garamond Fallback';
  src: local('Georgia');
  size-adjust: 88%;
}

:root {
  --ink: #121214;
  --ink-72: rgb(18 18 20 / 72%);
  --ink-60: rgb(18 18 20 / 60%);
  --white: #ffffff;
  --surface: #f4f4f6;
  --control: #ececef;
  --line: #e4e4e8;
  --rule: #d9ddda;
  --accent: #0b6a72;
  --accent-soft: #b1dbdc;
  --accent-tint: #d8eded;
  --accent-deep: #053a3f;
  --night: #061a1c;
  --amber: #f2b03f;
  --error: #9a1f12;
  --error-ground: #fdecea;
  --heart: #e5484d;

  --serif: 'EB Garamond', 'EB Garamond Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --radius-card: 24px;
  --radius-control: 16px;
  --shadow-resting: 0 4px 12px rgb(0 0 0 / 10%);
  --shadow-raised: 0 12px 32px rgb(0 0 0 / 14%);
  --shadow-phone: 0 24px 48px rgb(0 0 0 / 40%);

  --press-scale: 0.94;
  --press-shade: rgb(18 18 20 / 10%);
  --hover-shade: rgb(18 18 20 / 5%);

  /* Phone values; the tablet and the desktop set their own below. */
  --margin: 20px;
  --section-space: 64px;
  --header-height: 64px;
  --size-main-button: 52px;
  --size-header-button: 40px;
  --size-field: 48px;
  --size-message: 144px;
  --size-link: 44px;

  --hero-size: 42px;
  --hero-line: 45px;
  --title-size: 34px;
  --title-line: 38px;
  --subtitle-size: 24px;
  --subtitle-line: 28px;
  --lead-size: 17px;
  --lead-line: 26px;

  --focus: var(--accent);
}

@media (min-width: 720px) {
  :root {
    --margin: 40px;
    --section-space: 96px;
    --header-height: 72px;
    --size-main-button: 56px;
    --size-header-button: 48px;
    --size-field: 52px;
    --size-message: 168px;
    --size-link: 48px;

    --hero-size: 56px;
    --hero-line: 60px;
    --title-size: 44px;
    --title-line: 48px;
    --lead-size: 19px;
    --lead-line: 28px;
  }
}

@media (min-width: 1200px) {
  :root {
    /* 48 at 1200, 96 from 1440: the content of the draft runs from 96 to 1344. */
    --margin: clamp(48px, calc((100vw - 1200px) * 0.2 + 48px), 96px);
    --section-space: 120px;

    --hero-size: 72px;
    --hero-line: 76px;
    --title-size: 56px;
    --title-line: 60px;
    --subtitle-size: 28px;
    --subtitle-line: 32px;
    --lead-size: 20px;
    --lead-line: 30px;
  }
}

/* Base */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
address,
table {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg,
picture {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

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

[data-ground='dark'] {
  --focus: var(--white);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 30;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Layout primitives (every-layout.dev) for the text pages. The parts of the landing page set
   their own measures: each is the draft's number at its width. */

.center {
  width: 100%;
  max-width: calc(1248px + 2 * var(--margin));
  margin-inline: auto;
  padding-inline: var(--margin);
}

.center--narrow {
  max-width: calc(720px + 2 * var(--margin));
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-space, 16px);
}

.stack--hero {
  --stack-space: 24px;
}

.stack--section {
  --stack-space: 48px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cluster-space, 16px);
}

.cluster--center {
  justify-content: center;
}

.section {
  padding-block: var(--section-space);
}

.section--soft {
  background: var(--surface);
}

/* Type */

.title,
.headline {
  font-family: var(--serif);
  font-size: var(--title-size);
  font-weight: 400;
  line-height: var(--title-line);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.subtitle,
.subhead {
  font-family: var(--serif);
  font-size: var(--subtitle-size);
  font-weight: 400;
  line-height: var(--subtitle-line);
  letter-spacing: -0.01em;
}

.display {
  font-family: var(--serif);
  font-size: var(--hero-size);
  font-weight: 400;
  line-height: var(--hero-line);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* The line below the plan: a full stop on the phone, a dot between the two from the tablet up. */
.not-phone {
  display: none;
}

@media (min-width: 720px) {
  .only-phone {
    display: none;
  }

  .not-phone {
    display: inline;
  }
}

/* Line breaks the drafts set by hand, each for its widths only. */
.br {
  display: none;
}

@media (max-width: 719.98px) {
  .br--phone,
  .br--narrow {
    display: inline;
  }
}

@media (min-width: 720px) and (max-width: 1199.98px) {
  .br--narrow {
    display: inline;
  }
}

@media (min-width: 1200px) {
  .br--desktop {
    display: inline;
  }
}

.lead {
  color: var(--ink-72);
  font-size: var(--lead-size);
  line-height: var(--lead-line);
  text-wrap: pretty;
}

/* Buttons. The main button is the only amber on the page (D40). */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--size-main-button);
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--control);
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 120ms ease-out;
  -webkit-tap-highlight-color: transparent;
}

.button--main {
  background: var(--amber);
}

.button--header {
  min-height: var(--size-header-button);
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
}

.button:active {
  box-shadow: inset 0 0 0 100vmax var(--press-shade);
  transform: scale(var(--press-scale));
  transition: none;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    box-shadow: inset 0 0 0 100vmax var(--hover-shade);
  }

  .button:active {
    box-shadow: inset 0 0 0 100vmax var(--press-shade);
  }
}

@media (min-width: 720px) {
  .button {
    font-size: 18px;
  }

  .button--header {
    min-width: 148px;
    border-radius: var(--radius-control);
    font-size: 16px;
  }
}

/* Header. Fixed, never sticky: sticky trembles in Chromium (P18, 30.10.2026). On the phone it
   stays from the start; from the tablet up it sits on the hero and comes to stay once the hero
   has left the screen. Without the script it rests at the top of the page. */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
  --focus: var(--white);
  --mark: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--header-height);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--size-link);
  margin-inline-end: auto;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
}

.wordmark__mark {
  width: auto;
  height: 22px;
  fill: var(--mark, var(--accent));
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__nav a {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  min-height: var(--size-link);
  padding-inline: 12px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
}

.site-header__nav a[data-wide] {
  display: none;
}

/* Under 360 the header has no room for everything: margins and gaps give way, and on the terms
   the link home goes, since the wordmark leads there too. */
@media (max-width: 359.98px) {
  :root {
    --margin: 16px;
    --hero-size: 36px;
    --hero-line: 39px;
  }

  .site-header__inner {
    gap: 4px;
  }

  .site-header__nav {
    gap: 0;
  }

  .site-header__nav a {
    padding-inline: 6px;
  }

  .site-header__nav a[data-roomy] {
    display: none;
  }

  .wordmark {
    font-size: 19px;
  }

  .button--header {
    padding-inline: 12px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-header__nav a:hover {
    opacity: 1;
  }
}

.js .site-header {
  position: fixed;
}

/* The ground of the header once it stays: glass, and below it the content runs out in 16. */
.site-header::before,
.site-header::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}

.site-header::before {
  inset-block: 0;
  background: rgb(6 26 28 / 86%);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-header::after {
  top: 100%;
  height: 16px;
  background: linear-gradient(rgb(6 26 28 / 40%), rgb(6 26 28 / 0%));
}

.site-header[data-stuck]::before,
.site-header[data-stuck]::after {
  opacity: 1;
}

.site-header[data-stuck]:not([data-dark]) {
  color: var(--ink);
  --focus: var(--accent);
  --mark: var(--accent);
}

.site-header[data-stuck]:not([data-dark])::before {
  background: rgb(255 255 255 / 86%);
}

.site-header[data-stuck]:not([data-dark])::after {
  background: linear-gradient(rgb(255 255 255 / 40%), rgb(255 255 255 / 0%));
}

@media (prefers-reduced-transparency: reduce) {
  .site-header::before {
    background: var(--night);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .site-header[data-stuck]:not([data-dark])::before {
    background: var(--white);
  }
}

@media (min-width: 720px) {
  .site-header__inner {
    gap: 0;
    height: 108px;
  }

  .site-header[data-stuck] .site-header__inner {
    height: var(--header-height);
  }

  .js .site-header:not([data-stuck]) {
    position: absolute;
  }

  .wordmark {
    gap: 9px;
    font-size: 26px;
  }

  .wordmark__mark {
    height: 28px;
  }

  .site-header__nav {
    gap: 16px;
    margin-inline-end: 44px;
  }

  .site-header__nav a,
  .site-header__nav a[data-wide] {
    display: inline-flex;
    font-size: 16px;
    opacity: 0.8;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: 92px 40px;
  background: var(--night);
  color: var(--white);
}

.hero__photo {
  position: absolute;
  inset: 0 0 auto;
  height: 1080px;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% 50%;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(6 26 28 / 0%) calc(100% - 220px), var(--night)),
    linear-gradient(rgb(6 26 28 / 88%), rgb(6 26 28 / 78%) 50%, rgb(6 26 28 / 35%));
}

.hero__inner {
  position: relative;
}

.hero__title {
  font-family: var(--serif);
  font-size: var(--hero-size);
  font-weight: 400;
  line-height: var(--hero-line);
  letter-spacing: -0.02em;
}

.hero__title em {
  display: block;
}

.hero__lead {
  max-width: 600px;
  margin-block-start: 22px;
  color: rgb(255 255 255 / 90%);
  font-size: var(--lead-size);
  line-height: var(--lead-line);
}

.hero__action {
  width: 100%;
  margin-block-start: 52px;
}

/* The collage: voice banner, note and phone. Every measure is the draft's number times --u, so
   the three keep their places when the screen is narrower than the draft. */
.collage {
  --u: min(1px, calc((100vw - 2 * var(--margin)) / 350));
  --screen: calc(var(--u) * 180);
  position: relative;
  width: calc(var(--u) * 350);
  height: calc(var(--u) * 472);
  margin: 52px auto 0;
}

.collage__voice {
  position: absolute;
  top: 0;
  left: calc(var(--u) * -4);
  rotate: 2deg;
}

.collage__note {
  position: absolute;
  top: calc(var(--u) * 130);
  left: calc(var(--u) * -8);
  width: calc(var(--u) * 164);
  rotate: 5deg;
}

.collage__phone {
  position: absolute;
  top: calc(var(--u) * 64);
  right: calc(var(--u) * -8);
  box-shadow: var(--shadow-phone);
}

.voice {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--u) * 15);
  height: calc(var(--u) * 56);
  padding-inline: calc(var(--u) * 20) calc(var(--u) * 24);
  border-radius: calc(var(--u) * 28);
  background: var(--white);
  box-shadow: var(--shadow-resting);
  color: var(--ink);
  font-size: calc(var(--u) * 16);
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.voice__wave {
  display: flex;
  align-items: center;
  gap: calc(var(--u) * 3);
}

.voice__wave i {
  width: calc(var(--u) * 3);
  height: calc(var(--u) * var(--h));
  border-radius: calc(var(--u) * 2);
  background: var(--accent);
}

.note {
  display: block;
  border-radius: 3px;
  box-shadow: var(--shadow-raised);
}

.note img {
  width: 100%;
  border-radius: inherit;
}

/* The marks over the five lines of the note and the covers over the five rows of the order
   exist for the hero's sequence only (Motion, at the end of this file); at rest there are
   none. Their places are measured on the two pictures. */
.note__marks i,
.phone__rows b,
.phone__rows i {
  position: absolute;
  opacity: 0;
}

.note__marks i {
  top: calc(23% + var(--i) * 14.29%);
  right: 5%;
  left: 5%;
  height: 11.5%;
  border-radius: 4px;
  background: var(--accent-soft);
  mix-blend-mode: multiply;
  transform-origin: left;
}

.phone__rows b,
.phone__rows i {
  right: 0;
  left: 0;
  background: var(--white);
}

.phone__rows b {
  top: 24.4%;
  height: 8.9%;
}

.phone__rows i {
  top: calc(34.6% + var(--i) * 7.7%);
  height: 7.75%;
}

.phone {
  width: calc(var(--screen) + 18px);
  padding: 9px;
  border-radius: calc(var(--screen) * 55 / 390 + 9px);
  background: #0c0c0e;
  box-shadow: var(--shadow-raised);
}

.phone__screen {
  position: relative;
  aspect-ratio: 390 / 844;
  overflow: hidden;
  border-radius: calc(var(--screen) * 55 / 390);
  background: var(--white);
}

.phone__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.phone__screen::before {
  content: '';
  position: absolute;
  top: calc(var(--screen) * 11 / 390);
  left: 50%;
  width: calc(var(--screen) * 126 / 390);
  height: calc(var(--screen) * 37 / 390);
  border-radius: calc(var(--screen) * 19 / 390);
  background: #0c0c0e;
  translate: -50% 0;
}

.phone__screen::after {
  content: '9:41';
  position: absolute;
  top: calc(var(--screen) * 17 / 390);
  left: calc(var(--screen) * 28 / 390);
  width: calc(var(--screen) * 60 / 390);
  color: var(--white);
  font-size: calc(var(--screen) * 17 / 390);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 12px;
  margin-block-start: 42px;
}

.values .icon {
  width: 29px;
  height: 29px;
  color: rgb(255 255 255 / 85%);
}

.values h2 {
  margin-block-start: 8px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: -0.01em;
}

.values p {
  display: none;
  max-width: 320px;
  margin-block-start: 10px;
  color: #c3d1d0;
}

@media (min-width: 720px) {
  .hero {
    padding-block: 136px 72px;
  }

  .hero__photo {
    height: 1240px;
  }

  .hero__photo img {
    object-position: 92% 50%;
  }

  .hero__lead {
    margin-block-start: 24px;
  }

  .hero__action {
    width: auto;
    min-width: 220px;
    margin-block-start: 36px;
  }

  .collage {
    --u: min(1px, calc((100vw - 2 * var(--margin)) / 688));
    --screen: calc(var(--u) * 250);
    width: calc(var(--u) * 688);
    height: calc(var(--u) * 541 + 18px);
    margin-block-start: 64px;
  }

  .collage__voice {
    top: calc(var(--u) * 60);
    left: calc(var(--u) * 52);
  }

  .collage__note {
    top: calc(var(--u) * 150);
    left: calc(var(--u) * 44);
    width: calc(var(--u) * 280);
    rotate: 4deg;
  }

  .collage__phone {
    top: 0;
    right: calc(var(--u) * 14);
  }

  .values {
    gap: 56px 32px;
    margin-block-start: 65px;
  }

  .values .icon {
    width: 34px;
    height: 34px;
  }

  .values h2 {
    margin-block-start: 14px;
    font-size: 24px;
    line-height: 28px;
  }

  .values p {
    display: block;
  }
}

@media (min-width: 1200px) {
  .hero {
    padding-block: 196px 74px;
  }

  .hero__photo {
    height: 930px;
  }

  .hero__photo img {
    object-position: 50% 40%;
  }

  .hero__photo::after {
    background:
      linear-gradient(rgb(6 26 28 / 0%) calc(100% - 170px), var(--night)),
      linear-gradient(rgb(6 26 28 / 60%), rgb(6 26 28 / 0%) 180px),
      linear-gradient(90deg, rgb(6 26 28 / 84%), rgb(6 26 28 / 55%) 28%, rgb(6 26 28 / 0%) 56%);
  }

  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .hero__lead {
    max-width: 530px;
    margin-block-start: 32px;
  }

  .hero__action {
    margin-block-start: 54px;
  }

  .collage {
    --u: clamp(0.78px, calc((100vw - 2 * var(--margin) - 600px) / 652), 1px);
    --screen: calc(var(--u) * 300);
    width: calc(var(--u) * 652);
    height: calc(var(--u) * 649 + 18px);
    margin: 0;
  }

  .collage__voice {
    top: calc(var(--u) * 94);
    left: calc(var(--u) * 8);
  }

  .collage__note {
    top: calc(var(--u) * 176);
    left: 0;
  }

  .collage__phone {
    right: 0;
  }

  .values {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-block-start: 77px;
  }

  .values h2 {
    margin-block-start: 20px;
    font-size: 28px;
    line-height: 32px;
  }
}

/* How it works: three steps */

.steps {
  display: grid;
  gap: 60px;
  margin-block-start: 40px;
  counter-reset: step;
}

.step__picture {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
  container-type: inline-size;
}

/* The pictures are laid out on the draft's card width and shrink with a narrower card. */
.step__art {
  --card: 350;
  /* Without container units (before Safari 16) the picture keeps the draft's size and the
     card cuts what does not fit. */
  --u: 1px;
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(var(--u) * var(--card));
  height: 100%;
  translate: -50% 0;
}

@supports (width: 1cqw) {
  .step__art {
    --u: min(1px, calc(100cqw / var(--card)));
  }
}

.step__art > * {
  position: absolute;
}

.step__art .voice {
  top: calc(var(--u) * 16);
  left: calc(var(--u) * 28);
  rotate: -2deg;
}

.step__art .note {
  top: calc(var(--u) * 56);
  left: calc(var(--u) * 78);
  width: calc(var(--u) * 196);
  rotate: 3deg;
}

.step__art .phone {
  --screen: calc(var(--u) * 220);
  top: 32px;
  left: 50%;
  translate: -50% 0;
}

.mail {
  top: 16px;
  left: 50%;
  width: calc(var(--u) * 236);
  max-height: calc(100% - 32px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-raised);
  translate: -50% 0;
}

.mail__head {
  margin-inline: calc(var(--u) * 18);
  padding-block: calc(var(--u) * 11) calc(var(--u) * 6);
  border-bottom: 1px solid var(--line);
  font-size: calc(var(--u) * 11);
  line-height: 1.4;
}

.mail__head b {
  display: block;
  font-weight: 600;
}

.mail__head span {
  color: var(--ink-60);
}

.mail img {
  width: 100%;
}

.step__text {
  position: relative;
  margin-block-start: 24px;
  padding-inline-start: 48px;
}

/* A hanging numeral: its top on the cap height of the title, its foot on the baseline of the
   first line of text (D40). */
.step__text::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -9px;
  left: -4px;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 72px;
}

.step__text p {
  margin-block-start: 8px;
  color: var(--ink-72);
}

.step__arrow {
  display: none;
}

@media (min-width: 720px) {
  .steps {
    gap: 32px;
    margin-block-start: 48px;
  }

  .step {
    display: grid;
    grid-template-columns: 328px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }

  .step__picture {
    height: 360px;
  }

  .step__art {
    --card: 328;
  }

  .step__art .voice {
    top: calc(var(--u) * 20);
    left: calc(var(--u) * 19);
  }

  .step__art .note {
    top: calc(var(--u) * 72);
    left: calc(var(--u) * 52);
    width: calc(var(--u) * 224);
  }

  .step__art .phone {
    top: 40px;
  }

  .mail {
    top: 18px;
    width: calc(var(--u) * 232);
    border-radius: 16px;
  }

  .step__text {
    margin-block-start: 0;
    padding-inline-start: 56px;
  }

  .step__text::before {
    top: -10.5px;
    left: -6px;
    font-size: 86px;
    line-height: 86px;
  }

  .step__text h3 {
    font-size: 28px;
    line-height: 32px;
  }

  .step__text p {
    margin-block-start: 12px;
  }
}

@media (min-width: 1200px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-block-start: 64px;
  }

  .step {
    position: relative;
    display: block;
  }

  .step__picture {
    height: 380px;
  }

  .step__art {
    --card: 394;
  }

  .step__art .voice {
    top: calc(var(--u) * 14);
    left: calc(var(--u) * 84);
  }

  .step__art .note {
    top: calc(var(--u) * 50);
    left: calc(var(--u) * 58);
    width: calc(var(--u) * 280);
  }

  .step__art .phone {
    --screen: calc(var(--u) * 270);
    top: 44px;
  }

  .mail {
    top: 28px;
  }

  .step__text {
    max-width: 376px;
    margin-block-start: 28px;
  }

  /* Between the pictures, on the gap: the order of the three. */
  .step__arrow {
    position: absolute;
    top: 162px;
    right: -40px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-resting);
    color: var(--accent);
  }

  .step__arrow .icon {
    stroke-width: 2.5;
  }
}

/* More than sending a photo: the dark band */

.band {
  padding-block: var(--section-space);
  background: linear-gradient(135deg, var(--accent-deep), var(--night));
  color: var(--white);
}

.band__inner {
  display: grid;
  gap: 32px;
}

.ticks {
  display: grid;
  gap: 16px;
  margin-block-start: 28px;
}

.ticks li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
}

.ticks .icon {
  width: 20px;
  height: 20px;
  margin-block-start: 3px;
  color: var(--accent-soft);
  stroke-width: 2.5;
}

.band__picture {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-raised);
}

@media (min-width: 720px) {
  .band {
    display: grid;
    align-items: center;
    min-height: 600px;
    padding-block: 64px;
  }

  .band__inner {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 48px;
  }

  .band__text {
    max-width: 340px;
  }

  .ticks {
    max-width: 304px;
  }

  .ticks {
    gap: 20px;
    margin-block-start: 36px;
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  .band {
    min-height: 640px;
  }

  .band__inner {
    grid-template-columns: minmax(0, 1fr) 400px;
  }

  .ticks {
    max-width: none;
  }

  .band__text {
    max-width: 700px;
  }

  .ticks {
    gap: 24px;
    margin-block-start: 40px;
    font-size: 20px;
    line-height: 28px;
  }

  .ticks li {
    gap: 16px;
  }

  .ticks .icon {
    margin-block-start: 4px;
  }
}

/* One plan */

.pricing {
  padding-block: var(--section-space);
  background: var(--surface);
}

.plan {
  margin-block-start: 36px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-raised);
}

.plan__list {
  padding: 28px 24px 16px;
}

.plan__list ul {
  margin-block-start: 20px;
}

.plan__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  line-height: 24px;
}

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

.plan__list .icon {
  color: var(--accent);
}

.plan__price {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 24px 28px;
  background: var(--accent-deep);
  color: var(--white);
  text-align: center;
  --focus: var(--white);
}

.plan__amount {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 68px;
  letter-spacing: -0.03em;
}

.plan__unit {
  margin-block-start: 8px;
  font-size: 16px;
  line-height: 24px;
}

.plan__vat {
  color: rgb(255 255 255 / 72%);
  font-size: 14px;
  line-height: 20px;
}

.plan__price .button {
  width: 100%;
  margin-block-start: 20px;
}

.pricing__note {
  margin-block-start: 24px;
  color: var(--ink-72);
  font-size: 14px;
  line-height: 21px;
}

@media (min-width: 720px) {
  .pricing .title {
    text-align: center;
  }

  .plan {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 264px;
    min-height: 416px;
    margin-block-start: 48px;
  }

  .plan__list {
    padding: 40px 36px 36px;
  }

  .plan__list ul {
    margin-block-start: 32px;
  }

  .plan__list li {
    gap: 16px;
    min-height: 56px;
    font-size: 18px;
  }

  .plan__price {
    justify-content: center;
    padding: 32px;
  }

  .plan__amount {
    font-size: 80px;
    line-height: 84px;
  }

  .plan__unit {
    margin-block-start: 14px;
    font-size: 17px;
  }

  .plan__vat {
    font-size: 15px;
    line-height: 24px;
  }

  .plan__price .button {
    margin-block-start: 52px;
  }

  .pricing__note {
    margin-block-start: 28px;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .plan {
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: 440px;
    margin-block-start: 64px;
  }

  .plan__list {
    padding: 52px 48px 36px;
  }

  .plan__list ul {
    margin-block-start: 40px;
  }

  .plan__amount {
    font-size: 96px;
    line-height: 100px;
  }

  .plan__unit {
    margin-block-start: 12px;
    font-size: 18px;
  }

  .plan__vat {
    font-size: 16px;
  }

  .plan__price .button {
    width: 276px;
    margin-block-start: 60px;
  }

  .pricing__note {
    margin-block-start: 32px;
    font-size: 16px;
  }
}

/* Questions: nine, closed. They open without the script. */

.faq {
  display: grid;
  gap: 32px;
}

.faq__list {
  border-bottom: 1px solid var(--rule);
}

.faq details {
  border-top: 1px solid var(--rule);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-block: 12px;
  font-size: 17px;
  font-weight: 600;
  line-height: 23px;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--accent);
}

/* Without icons in the markup (the page for suppliers, .faq--plain) the summary draws its
   own mark. */
.faq--plain summary::after {
  content: '+';
  flex: none;
  width: 24px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

.faq--plain details[open] > summary::after {
  content: '−';
}

.faq details[open] .faq__plus,
.faq details:not([open]) .faq__minus {
  display: none;
}

.faq details > p {
  max-width: 640px;
  padding-block: 0 24px;
  padding-inline-end: 40px;
  color: var(--ink-72);
  text-wrap: pretty;
}

.faq a {
  color: var(--accent);
}

@media (min-width: 720px) {
  .faq {
    gap: 40px;
  }

  .faq summary {
    min-height: 68px;
    font-size: 19px;
    line-height: 24px;
  }
}

@media (min-width: 1200px) {
  .faq--split {
    grid-template-columns: 640fr 608fr;
    gap: 0;
  }
}

/* Get started: the last section, the back door photo and the contact form */

.contact {
  position: relative;
  padding-block: 0 56px;
  background: var(--night);
  color: var(--white);
}

/* On the phone the photo is a strip above the form; its lower 110 run into the dark ground. */
.contact__photo {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.contact__photo img {
  position: absolute;
  top: -140px;
  /* The draft's cut at 390: the crates, not the wall. Wider phones see more of the right. */
  left: max(calc(50% - 635px), calc(100% - 900px));
  width: 900px;
  height: 450px;
  max-width: none;
  object-fit: cover;
}

.contact__photo::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  background: linear-gradient(rgb(6 26 28 / 0%), var(--night));
}

.contact__inner {
  position: relative;
  padding-block-start: 40px;
}

.contact__lead {
  margin-block-start: 16px;
  color: rgb(255 255 255 / 90%);
  font-size: var(--lead-size);
  line-height: var(--lead-line);
}

.form-card {
  margin-block-start: 28px;
  padding: 24px 20px;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-raised);
  color: var(--ink);
  --focus: var(--accent);
}

.form {
  display: grid;
  gap: 12px;
}

.field label {
  display: block;
  color: var(--ink-72);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  height: var(--size-field);
  padding: 0 16px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-control);
  background: var(--control);
  font-size: 17px;
  line-height: 26px;
  appearance: none;
}

.field textarea {
  height: var(--size-message);
  min-height: var(--size-field);
  padding-block: 11px;
  resize: vertical;
}

.field ::placeholder {
  color: var(--ink-60);
  opacity: 1;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 0;
}

.field [aria-invalid='true'] {
  border-color: var(--error);
}

.field__error {
  margin-block-start: 6px;
  color: var(--error);
  font-size: 14px;
  line-height: 20px;
}

/* The bait for robots: people never see it and never reach it (P25). */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__failed {
  padding: 12px 16px;
  border-radius: var(--radius-control);
  background: var(--error-ground);
  color: var(--error);
  font-size: 14px;
  line-height: 20px;
}

.form__failed b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

.form__failed a {
  color: inherit;
}

.form .button {
  width: 100%;
  margin-block-start: 8px;
}

.form .button[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.form__other {
  margin-block-start: 4px;
  color: var(--ink-72);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

/* The small text links get a touch area 48 high. */
.form__other a,
.site-footer__links a,
.site-footer__note a {
  display: inline-block;
  padding-block: 14px;
  margin-block: -14px;
}

.sent__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
}

.sent__mark .icon {
  stroke-width: 3;
}

/* They take the focus so a screen reader reads them; they are no controls and show no ring. */
.form__failed:focus,
.sent:focus {
  outline: none;
}

.sent h3 {
  margin-block-start: 20px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.01em;
}

.sent h3 span {
  display: block;
}

.sent p {
  margin-block-start: 12px;
  color: var(--ink-72);
  overflow-wrap: anywhere;
}

[hidden]:not(:target) {
  display: none !important;
}

/* Without the script the server leads back to /#contact-sent or /#contact-failed, and the
   card shows that state by itself: the message, and for "sent" no form any more. */
#contact-sent:target,
#contact-failed:target {
  display: block;
}

/* The message stands before the form in the page, so a sibling rule does it: no :has, which
   older Safari and Firefox lack. */
#contact-sent:target ~ .form {
  display: none;
}

@media (min-width: 720px) {
  .contact {
    padding-block: 72px;
    overflow: hidden;
  }

  /* From the tablet up the photo is the ground of the whole section, as in the hero. */
  .contact__photo {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .contact__photo img {
    position: static;
    width: 100%;
    height: 100%;
    object-position: 25% 50%;
  }

  .contact__photo::after {
    inset: 0 auto 0 0;
    width: 620px;
    height: auto;
    background: linear-gradient(90deg, rgb(6 26 28 / 70%) 45%, rgb(6 26 28 / 0%));
  }

  .contact__inner {
    padding-block-start: 0;
  }

  .contact .display {
    font-size: 56px;
    line-height: 60px;
  }

  .form-card {
    width: 440px;
    max-width: 100%;
    padding: 32px;
  }
}

@media (min-width: 1200px) {
  .contact {
    padding-block: 76px 80px;
  }

  .contact__photo img {
    object-position: 30% 50%;
  }

  .contact__photo::after {
    width: 860px;
  }

  .contact .display {
    font-size: 72px;
    line-height: 76px;
  }

  .form-card {
    width: 480px;
    margin-block-start: 36px;
    padding: 40px 40px 48px;
  }
}

/* Footer */

.site-footer {
  padding-block: 36px 40px;
  color: var(--ink-72);
  font-weight: 500;
}

.site-footer__inner {
  display: grid;
  gap: 16px;
}

.site-footer .wordmark {
  justify-self: start;
  color: var(--ink);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 16px;
}

.site-footer__links a {
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__links a:hover {
    text-decoration: underline;
  }
}

.site-footer__made {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 400;
}

/* The one red spot on the page (P25, round 28). */
.site-footer__made .icon {
  width: 20px;
  height: 20px;
  fill: var(--heart);
  stroke: var(--heart);
}

.site-footer__note {
  color: var(--ink-60);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
}

@media (min-width: 720px) {
  .site-footer {
    padding-block: 48px 40px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px 32px;
  }

  .site-footer__links {
    justify-self: end;
  }

  .site-footer__made {
    grid-area: 2 / 2;
    justify-self: end;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
  }

  .site-footer__note {
    grid-area: 2 / 1;
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  .site-footer {
    padding-block: 0 30px;
  }

  .site-footer__inner {
    grid-template-columns: minmax(160px, 512px) auto minmax(0, 1fr);
    padding-block-start: 52px;
    border-top: 1px solid var(--line);
    gap: 14px 32px;
  }

  .site-footer__links {
    flex-wrap: nowrap;
    justify-self: start;
    white-space: nowrap;
  }

  .site-footer__made {
    grid-area: 1 / 3;
  }

  .site-footer__note {
    grid-area: 2 / 1 / auto / -1;
  }
}

/* The text pages: legal notice, privacy, terms, the page for suppliers, 404. Plain: the header in
   its light state from the start, one column of text, the same footer. */

.page-text .site-header {
  position: fixed;
}

.page-text main {
  padding-block-start: calc(var(--header-height) + 40px);
}

.page-text .site-footer__inner {
  padding-block-start: 36px;
  border-top: 1px solid var(--line);
}

@media (min-width: 720px) {
  .page-text .site-header__inner {
    height: var(--header-height);
  }

  .page-text .site-header__nav {
    margin-inline-end: 28px;
  }

  .page-text .site-footer__inner {
    padding-block-start: 48px;
  }
}

.legal {
  max-width: calc(720px + 2 * var(--margin));
  --stack-space: 44px;
}

.legal .stack {
  --stack-space: 12px;
}

.legal p,
.legal address,
.legal li,
.legal td,
figcaption {
  color: var(--ink-72);
  font-style: normal;
  text-wrap: pretty;
}

.legal b,
.legal th {
  color: var(--ink);
  font-weight: 500;
}

.legal a,
.page-text main p a {
  color: var(--accent);
  overflow-wrap: anywhere;
}

.legal code {
  font-size: 0.875em;
  overflow-wrap: anywhere;
}

.legal h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 26px;
}

.legal__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline-start: 1.25em;
  list-style: disc;
}

.legal__list li::marker {
  color: var(--ink-60);
}

/* The table wraps to fit a phone; should a word not fit, it scrolls on its own, never the page. */
.legal__table {
  overflow-x: auto;
}

.legal table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 22px;
}

.legal th,
.legal td {
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal__updated {
  font-size: 15px;
}

/* The annex starts a second document: a rule and more room above it. */
.legal__annex {
  padding-block-start: 44px;
  border-top: 1px solid var(--line);
}

.legal h3 + p,
.legal h3 + ul {
  margin-block-start: 8px;
}

/* The order email as the supplier sees it (the page for suppliers). */
.demo-mail {
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: var(--shadow-raised);
  font-size: 15px;
  line-height: 22px;
}

.demo-mail__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.demo-mail__head div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
}

.demo-mail__head dt {
  color: var(--ink-60);
}

.demo-mail__head div:last-child dd {
  font-weight: 600;
}

.demo-mail__body {
  display: grid;
  gap: 12px;
  padding: 16px 20px 20px;
}

.demo-mail__lines {
  border-collapse: collapse;
}

.demo-mail__lines td {
  padding: 2px 12px 2px 0;
}

.demo-mail__lines td:first-child {
  font-weight: 600;
  text-align: right;
}

.demo-mail__lines td:nth-child(2) {
  color: var(--ink-72);
}

.demo-mail__muted {
  color: var(--ink-60);
}

figcaption {
  max-width: 560px;
  margin-inline: auto;
  font-size: 15px;
  line-height: 22px;
  text-align: center;
}

.not-found {
  display: grid;
  align-items: center;
  gap: 40px;
}

.not-found__photo {
  width: 100%;
  border-radius: var(--radius-card);
}

@media (min-width: 1200px) {
  .not-found {
    grid-template-columns: 608fr 608fr;
    gap: 32px;
  }
}

/* Motion (P25, round of 12.11.2026). Only transform, its single properties and opacity. The
   script switches it on (main.js, initMotion): without the script, and with reduced motion,
   none of these classes exist and everything stands in its final state. */

/* Level A: a part comes into view. */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 300ms ease-out,
    transform 300ms ease-out;
  transition-delay: calc(var(--i, 0) * var(--stagger, 0ms));
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Level B: the hero tells once what happens. The bars of the voice banner move, then each
   line of the note is marked while its row appears in the order; at the end the marks go
   and the picture is the draft's again. With level C's entrance it ends 4.4 s after it
   began: under the five seconds from which a pause control would be due (WCAG 2.2.2). */
.motion-hero [data-sequence]:not(.is-done) .phone__rows b,
.motion-hero [data-sequence]:not(.is-done) .phone__rows i {
  opacity: 1;
}

.motion-hero .is-playing .voice__wave i {
  animation: wave 300ms ease-in-out calc(var(--start, 0ms) + 150ms) 6 alternate;
}

.motion-hero .is-playing .voice__wave i:nth-child(3n + 2) {
  animation-delay: calc(var(--start, 0ms) + 250ms);
}

.motion-hero .is-playing .voice__wave i:nth-child(3n) {
  animation-delay: calc(var(--start, 0ms) + 350ms);
}

.motion-hero .is-playing .phone__rows b {
  animation: uncover 300ms ease-out calc(var(--start, 0ms) + 500ms) both;
}

.motion-hero .is-playing .phone__rows i {
  animation: uncover 300ms ease-out calc(var(--start, 0ms) + 900ms + var(--i) * 250ms) both;
}

.motion-hero .is-playing .note__marks i {
  animation: mark 2000ms ease-out calc(var(--start, 0ms) + 900ms + var(--i) * 250ms) both;
}

@keyframes wave {
  to {
    transform: scaleY(0.35);
  }
}

@keyframes uncover {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes mark {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  12% {
    opacity: 0.6;
    transform: scaleX(1);
  }

  80% {
    opacity: 0.6;
  }

  100% {
    opacity: 0;
  }
}

/* Level C: more of an entrance. The three of the collage rise one after the other before
   the sequence, lists come in line by line, the arrows between the steps follow their step. */
.motion-rich {
  --stagger: 90ms;
}

.motion-rich .collage {
  --start: 500ms;
}

.motion-rich [data-sequence]:not(.is-playing):not(.is-done) > * {
  opacity: 0;
}

.motion-rich .is-playing .collage__voice,
.motion-rich .is-playing .collage__note,
.motion-rich .is-playing .collage__phone {
  animation: rise 400ms ease-out both;
}

.motion-rich .is-playing .collage__note {
  animation-delay: 120ms;
}

.motion-rich .is-playing .collage__phone {
  animation-delay: 240ms;
}

.motion-rich .steps {
  --stagger: 160ms;
}

.motion-rich .step__arrow {
  opacity: 0;
  scale: 0.5;
  transition:
    opacity 250ms ease-out,
    scale 250ms ease-out;
  transition-delay: calc(var(--i, 0) * 160ms + 300ms);
}

.motion-rich .is-visible > .step__arrow {
  opacity: 1;
  scale: 1;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

/* On paper, and when reduced motion is switched on while the page is open, everything stands
   in its final state, whatever the script has set. */
@media print, (prefers-reduced-motion: reduce) {
  .reveal,
  [data-sequence] > *,
  .step__arrow {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
    transition: none !important;
    animation: none !important;
  }

  .voice__wave i,
  .note__marks i,
  .phone__rows b,
  .phone__rows i {
    animation: none !important;
  }

  .note__marks i,
  .phone__rows b,
  .phone__rows i {
    opacity: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .button:active {
    transform: none;
    transition: none;
  }
}
