/* Made by build.mjs from src/site.css. The first lines are the tiles' surfaces, drawn by the build. */
:root { --tile-skin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M110.06 0L249.94 0C281.63 0 297.47 0 314.53 5.39C333.16 12.17 347.83 26.84 354.61 45.47C360 62.53 360 78.37 360 110.06L360 249.94C360 281.63 360 297.47 354.61 314.53C347.83 333.16 333.16 347.83 314.53 354.61C297.47 360 281.63 360 249.94 360L110.06 360C78.37 360 62.53 360 45.47 354.61C26.84 347.83 12.17 333.16 5.39 314.53C0 297.47 0 281.63 0 249.94L0 110.06C0 78.37 0 62.53 5.39 45.47C12.17 26.84 26.84 12.17 45.47 5.39C62.53 0 78.37 0 110.06 0Z' fill='%23ffffff'/%3E%3Cpath d='M109.27 1.5L250.73 1.5C281.76 1.5 297.28 1.5 313.98 6.78C332.22 13.42 346.58 27.78 353.22 46.02C358.5 62.72 358.5 78.24 358.5 109.27L358.5 250.73C358.5 281.76 358.5 297.28 353.22 313.98C346.58 332.22 332.22 346.58 313.98 353.22C297.28 358.5 281.76 358.5 250.73 358.5L109.27 358.5C78.24 358.5 62.72 358.5 46.02 353.22C27.78 346.58 13.42 332.22 6.78 313.98C1.5 297.28 1.5 281.76 1.5 250.73L1.5 109.27C1.5 78.24 1.5 62.72 6.78 46.02C13.42 27.78 27.78 13.42 46.02 6.78C62.72 1.5 78.24 1.5 109.27 1.5Z' fill='none' stroke='rgb(12,12,30)' stroke-opacity='0.09' stroke-width='3'/%3E%3C/svg%3E"); --card-skin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M110.06 0L249.94 0C281.63 0 297.47 0 314.53 5.39C333.16 12.17 347.83 26.84 354.61 45.47C360 62.53 360 78.37 360 110.06L360 249.94C360 281.63 360 297.47 354.61 314.53C347.83 333.16 333.16 347.83 314.53 354.61C297.47 360 281.63 360 249.94 360L110.06 360C78.37 360 62.53 360 45.47 354.61C26.84 347.83 12.17 333.16 5.39 314.53C0 297.47 0 281.63 0 249.94L0 110.06C0 78.37 0 62.53 5.39 45.47C12.17 26.84 26.84 12.17 45.47 5.39C62.53 0 78.37 0 110.06 0Z' fill='%23ffffff'/%3E%3Cpath d='M109.27 1.5L250.73 1.5C281.76 1.5 297.28 1.5 313.98 6.78C332.22 13.42 346.58 27.78 353.22 46.02C358.5 62.72 358.5 78.24 358.5 109.27L358.5 250.73C358.5 281.76 358.5 297.28 353.22 313.98C346.58 332.22 332.22 346.58 313.98 353.22C297.28 358.5 281.76 358.5 250.73 358.5L109.27 358.5C78.24 358.5 62.72 358.5 46.02 353.22C27.78 346.58 13.42 332.22 6.78 313.98C1.5 297.28 1.5 281.76 1.5 250.73L1.5 109.27C1.5 78.24 1.5 62.72 6.78 46.02C13.42 27.78 27.78 13.42 46.02 6.78C62.72 1.5 78.24 1.5 109.27 1.5Z' fill='none' stroke='rgb(12,12,30)' stroke-opacity='0.09' stroke-width='3'/%3E%3C/svg%3E"); }
@media (prefers-color-scheme: dark) { :root { --tile-skin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M110.06 0L249.94 0C281.63 0 297.47 0 314.53 5.39C333.16 12.17 347.83 26.84 354.61 45.47C360 62.53 360 78.37 360 110.06L360 249.94C360 281.63 360 297.47 354.61 314.53C347.83 333.16 333.16 347.83 314.53 354.61C297.47 360 281.63 360 249.94 360L110.06 360C78.37 360 62.53 360 45.47 354.61C26.84 347.83 12.17 333.16 5.39 314.53C0 297.47 0 281.63 0 249.94L0 110.06C0 78.37 0 62.53 5.39 45.47C12.17 26.84 26.84 12.17 45.47 5.39C62.53 0 78.37 0 110.06 0Z' fill='%2316161b'/%3E%3Cpath d='M109.27 1.5L250.73 1.5C281.76 1.5 297.28 1.5 313.98 6.78C332.22 13.42 346.58 27.78 353.22 46.02C358.5 62.72 358.5 78.24 358.5 109.27L358.5 250.73C358.5 281.76 358.5 297.28 353.22 313.98C346.58 332.22 332.22 346.58 313.98 353.22C297.28 358.5 281.76 358.5 250.73 358.5L109.27 358.5C78.24 358.5 62.72 358.5 46.02 353.22C27.78 346.58 13.42 332.22 6.78 313.98C1.5 297.28 1.5 281.76 1.5 250.73L1.5 109.27C1.5 78.24 1.5 62.72 6.78 46.02C13.42 27.78 27.78 13.42 46.02 6.78C62.72 1.5 78.24 1.5 109.27 1.5Z' fill='none' stroke='rgb(255,255,255)' stroke-opacity='0.08' stroke-width='3'/%3E%3C/svg%3E"); --card-skin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cpath d='M110.06 0L249.94 0C281.63 0 297.47 0 314.53 5.39C333.16 12.17 347.83 26.84 354.61 45.47C360 62.53 360 78.37 360 110.06L360 249.94C360 281.63 360 297.47 354.61 314.53C347.83 333.16 333.16 347.83 314.53 354.61C297.47 360 281.63 360 249.94 360L110.06 360C78.37 360 62.53 360 45.47 354.61C26.84 347.83 12.17 333.16 5.39 314.53C0 297.47 0 281.63 0 249.94L0 110.06C0 78.37 0 62.53 5.39 45.47C12.17 26.84 26.84 12.17 45.47 5.39C62.53 0 78.37 0 110.06 0Z' fill='%231f1f26'/%3E%3Cpath d='M109.27 1.5L250.73 1.5C281.76 1.5 297.28 1.5 313.98 6.78C332.22 13.42 346.58 27.78 353.22 46.02C358.5 62.72 358.5 78.24 358.5 109.27L358.5 250.73C358.5 281.76 358.5 297.28 353.22 313.98C346.58 332.22 332.22 346.58 313.98 353.22C297.28 358.5 281.76 358.5 250.73 358.5L109.27 358.5C78.24 358.5 62.72 358.5 46.02 353.22C27.78 346.58 13.42 332.22 6.78 313.98C1.5 297.28 1.5 281.76 1.5 250.73L1.5 109.27C1.5 78.24 1.5 62.72 6.78 46.02C13.42 27.78 27.78 13.42 46.02 6.78C62.72 1.5 78.24 1.5 109.27 1.5Z' fill='none' stroke='rgb(255,255,255)' stroke-opacity='0.08' stroke-width='3'/%3E%3C/svg%3E"); } }

/* Certo's site. The app's language (docs/DESIGN.md) on a page: one big thing per screen, tiles
   with a hairline edge, glass only in the bar and the capture line, the accent is the text's own
   colour, and the aura is the one gradient. It follows the system's light or dark. */

:root {
  color-scheme: light dark;

  --base: #f4f4f8;
  --tile: #ffffff;
  --card: #ffffff;
  --chip: rgb(12 12 30 / 0.05);
  --hairline: rgb(12 12 30 / 0.09);
  --text: #0a0a10;
  --prose: rgb(10 10 16 / 0.84);
  --secondary: rgb(10 10 16 / 0.6);
  --tertiary: rgb(10 10 16 / 0.38);
  --minor: rgb(10 10 16 / 0.42);
  --accent: #0a0a10;
  --on-accent: #ffffff;
  --positive: #1a8a42;
  --attention: #a86400;
  --neutral-disc: #e6e6ee;
  --neutral-glyph: #5a5a68;
  --glass: rgb(250 250 253 / 0.72);
  --glass-line: rgb(255 255 255 / 0.78);
  --sheet: rgb(240 240 246 / 0.86);
  --sheet-shadow: 0 1px 2px rgb(12 12 30 / 0.06), 0 22px 48px -18px rgb(12 12 30 / 0.34);
  --pill: rgb(255 255 255 / 0.55);
  --tile-shadow: 0 1px 2px rgb(12 12 30 / 0.04), 0 14px 32px -16px rgb(12 12 30 / 0.12);
  --card-shadow: 0 1px 2px rgb(12 12 30 / 0.05), 0 10px 28px -10px rgb(12 12 30 / 0.2);
  --breath: rgb(255 255 255 / 0.7);
  --aura-still:
    radial-gradient(120% 90% at 18% 0%, #8e9bff 0%, transparent 60%),
    radial-gradient(100% 80% at 78% 0%, #bb90ff 0%, transparent 62%),
    linear-gradient(#b4bdff, #f4f4f8 78%);

  --radius: 24px;
  --gutter: clamp(16px, 4.4vw, 40px);
  --measure: 1120px;
  --bar: 60px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --spring: cubic-bezier(0.3, 1.45, 0.45, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --base: #050507;
    --tile: #16161b;
    --card: #1f1f26;
    --chip: rgb(255 255 255 / 0.06);
    --hairline: rgb(255 255 255 / 0.08);
    --text: #ffffff;
    --prose: rgb(255 255 255 / 0.82);
    --secondary: rgb(255 255 255 / 0.6);
    --tertiary: rgb(255 255 255 / 0.36);
    --minor: rgb(255 255 255 / 0.5);
    --accent: #ffffff;
    --on-accent: #000000;
    --positive: #6fd583;
    --attention: #ffb020;
    --neutral-disc: #26262d;
    --neutral-glyph: #d6d6de;
    --glass: rgb(14 14 18 / 0.66);
    --glass-line: rgb(44 44 52 / 0.72);
    --sheet: rgb(26 26 32 / 0.8);
    --sheet-shadow: 0 24px 56px -16px rgb(0 0 0 / 0.75);
    --pill: rgb(255 255 255 / 0.12);
    --tile-shadow: 0 0 0 0 transparent;
    --card-shadow: 0 6px 18px -8px rgb(0 0 0 / 0.6);
    --breath: rgb(255 255 255 / 0.26);
    --aura-still:
      radial-gradient(120% 90% at 18% 0%, #4a5ae8 0%, transparent 60%),
      radial-gradient(100% 80% at 78% 0%, #7a4ae0 0%, transparent 62%),
      linear-gradient(#3a40c2, #050507 78%);
  }
}

/* Base */

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

html {
  overflow-x: clip;
  background: var(--base);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar) + 16px);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--text);
  font: 400 1.0625rem/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

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

img,
svg {
  display: block;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: rgb(98 108 255 / 0.32);
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--measure));
  margin-inline: auto;
}

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

.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip:focus {
  transform: none;
}

/* The bar: clear at the top, frosted glass with a hairline once something has scrolled under it.
   The glass is a layer of its own, so its blur, its tint and its line fade in as one. The blur
   itself is never animated: Safari leaves an animated backdrop filter at nothing. */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--bar);
  display: flex;
  align-items: center;
}

.bar::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--glass);
  border-bottom: 1px solid var(--hairline);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  transition: opacity 0.3s ease;
}

.bar.is-clear::before {
  opacity: 0;
}

.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font: 600 1.1875rem/1 var(--display);
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand svg {
  width: 22px;
  height: 22px;
}

.bar nav {
  display: flex;
  gap: 2px;
  margin-right: -10px;
}

.bar nav a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.bar nav a:hover,
.bar nav a[aria-current="page"] {
  color: var(--text);
}

/* The aura: the living background behind a hero. The canvas draws the app's own 4×4 mesh; the
   still gradient under it is what shows before the first frame and where there is no WebGL. */

.aura {
  position: absolute;
  inset: 0 0 auto;
  height: min(100%, 900px);
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--aura-still);
  -webkit-mask-image: linear-gradient(#000 0%, #000 52%, transparent 100%);
  mask-image: linear-gradient(#000 0%, #000 52%, transparent 100%);
}

.aura canvas {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.aura canvas.is-live {
  opacity: 1;
}

.aura--page {
  height: 420px;
  opacity: 0.55;
}

/* Amounts: digits of one width, minor units smaller and dimmed, everywhere. */

.amount {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.4s;
}

.amount .minor {
  color: var(--minor);
}

.amount.is-negative,
.attention {
  color: var(--attention);
}

.amount.is-positive,
.positive {
  color: var(--positive);
}

.amount.is-negative .minor,
.amount.is-positive .minor,
.attention .minor,
.positive .minor {
  color: inherit;
  opacity: 0.62;
}

/* A digit that rolls: the hidden zero gives the slot its size and baseline, the column of ten
   moves behind a clip. */
.amount .d {
  position: relative;
  display: inline-block;
  width: 1ch;
  clip-path: inset(0 -0.05em);
  transition:
    width 0.45s var(--ease),
    opacity 0.45s var(--ease);
}

.amount .d::before {
  content: "0";
  visibility: hidden;
}

.amount .d > span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  text-align: center;
  white-space: pre-line;
  transform: translateY(calc(var(--n, 0) * -10%));
  transition: transform 0.7s var(--ease);
}

.amount .s {
  display: inline-block;
  max-width: 2em;
  white-space: pre;
  transition:
    max-width 0.45s var(--ease),
    opacity 0.45s var(--ease);
}

.amount .is-out {
  width: 0;
  max-width: 0;
  opacity: 0;
}

/* Tiles, rows, discs: the app's content. A row is icon, title, one fact, amount. */

/* A tile's corners are the app's: continuous, a superellipse and not a quarter of a circle. Its
   surface and its hairline edge are one drawing with those corners, made by the build for either
   theme (`--tile-skin`, `--card-skin`) and laid in as a border image, whose corners are never
   stretched. The radius is for the shadow and for what is clipped inside. */
.tile {
  border: 0 solid transparent;
  border-image: var(--tile-skin) 120 fill / 40px;
  border-radius: var(--radius);
  box-shadow: var(--tile-shadow);
}

.label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 22px 6px 8px;
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.label .amount {
  font-weight: 600;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 11px 16px;
}

.row-text {
  flex: 1;
  min-width: 0;
}

.row-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.3;
}

.row-fact {
  display: block;
  color: var(--secondary);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.row > .amount {
  font-size: 1.0625rem;
  font-weight: 500;
}

.disc {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--disc, var(--neutral-disc));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1);
}

.disc svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.disc--neutral {
  color: var(--neutral-glyph);
}

.disc--food {
  --disc: #f08a3c;
}

.disc--transport {
  --disc: #3f8cf2;
}

.disc--groceries {
  --disc: #2fb26a;
}

.disc--income {
  --disc: #3aa86b;
}

.disc--parts {
  --disc: #7a5bc7;
}

.disc--loan {
  --disc: #4f6fd0;
}

.disc--card {
  --disc: #4b5e8a;
}

.disc--person {
  --disc: #3f7f8c;
}

/* How far along a purchase in parts is: a thin bar that counts payments. */
.parts {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.9375rem;
  line-height: 1.35;
}

.parts i {
  position: relative;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: var(--chip);
  overflow: hidden;
}

.parts i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--text);
  transform-origin: left;
  transform: scaleX(var(--done, 0.5));
}

.parts--3of8 {
  --done: 0.375;
}

.parts--1of4 {
  --done: 0.25;
}

/* Buttons and chips */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}

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

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip);
  box-shadow: inset 0 0 0 1px var(--hairline);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.chip > svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  opacity: 0.62;
}

.chip--disc {
  gap: 8px;
  padding-left: 6px;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.link:hover::after {
  transform: translateX(3px);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  /* The breath of light is wider than a phone's screen and must not widen the page. */
  overflow-x: clip;
  padding: calc(var(--bar) + clamp(28px, 7vh, 80px)) 0 clamp(40px, 7vh, 80px);
}

.hero-in {
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.hero-copy {
  container-type: inline-size;
  text-align: center;
}

/* Two sentences, a line each: the size is whatever lets the longer one fit its column. */
.hero h1 {
  font: 600 clamp(2rem, 8.6vw, 4.5rem) / 1.04 var(--display);
  font-size: clamp(2rem, 10.2cqi, 4.5rem);
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

/* Where the second sentence runs longer, the size gives way, so it still fits a phone. */
:lang(pl) .hero h1 {
  font-size: clamp(1.75rem, 8.7cqi, 4.25rem);
}

.hero h1 .then {
  color: var(--minor);
}

.lead {
  margin: 22px auto 0;
  max-width: 33em;
  color: var(--prose);
  font-size: clamp(1.0625rem, 0.96rem + 0.45vw, 1.25rem);
  line-height: 1.45;
  text-wrap: pretty;
}

/* Apple's own badge, as Apple draws it: not restyled, not animated, with clear room round it. */
.store {
  display: inline-block;
  margin-top: 30px;
  border-radius: 9px;
  line-height: 0;
}

.store img {
  width: auto;
  height: 54px;
}

@media (min-width: 940px) {
  .hero-in {
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .hero-copy {
    text-align: left;
  }

  .lead {
    margin-inline: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .scene {
    animation: rise 0.9s var(--ease) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.06s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.12s;
  }

  .scene {
    animation-delay: 0.2s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* The scene: Home in small, with the line everything is told in. It is played, not used. */

.scene {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
}

.stage {
  position: relative;
}

.breath {
  position: absolute;
  left: 50%;
  top: 56px;
  width: 560px;
  height: 560px;
  margin: -280px 0 0 -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--breath), transparent);
  mix-blend-mode: plus-lighter;
  opacity: 0;
  pointer-events: none;
}

.breath.is-on {
  animation: breath 1.4s ease-out;
}

@keyframes breath {
  20% {
    opacity: 1;
  }
}

.home {
  transition:
    filter 0.5s var(--ease),
    opacity 0.5s var(--ease);
}

/* While something is being told, Home steps back. */
.scene.is-reading .home {
  filter: blur(5px);
  opacity: 0.5;
}

.main-number {
  padding-top: 8px;
  text-align: center;
  font: 600 clamp(3rem, 15vw, 3.75rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
}

.main-number .minor,
.big-number .minor {
  font-size: 0.5em;
  letter-spacing: 0;
}

.main-number .amount.is-swelling,
.big-number .amount.is-swelling {
  display: inline-block;
  animation: swell 0.75s var(--ease);
}

@keyframes swell {
  35% {
    transform: scale(1.04);
  }
}

.debts {
  width: fit-content;
  margin: 10px auto 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--pill);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.today {
  height: 208px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 78%, transparent);
  mask-image: linear-gradient(#000 78%, transparent);
}

.today .row.is-new {
  animation: comedown 0.75s var(--ease) backwards;
}

@keyframes comedown {
  from {
    opacity: 0;
    margin-top: -64px;
    transform: translateY(-6px) scale(0.98);
  }

  45% {
    opacity: 0;
  }
}

/* The capture flow. In the app it takes the screen; on a page that is too much, so here it is a
   sheet that grows out of the line it was told in, as tall as what it holds and no taller. */
.dock {
  position: relative;
  margin-top: 14px;
}

.flow {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 16px 12px 12px;
  border-radius: 28px;
  background: var(--sheet);
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    var(--sheet-shadow);
  -webkit-backdrop-filter: saturate(160%) blur(28px);
  backdrop-filter: saturate(160%) blur(28px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transform-origin: 50% 100%;
  transition:
    opacity 0.3s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s 0.5s;
}

.scene.is-reading .flow {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.said {
  margin: 0 8px;
  font: 600 1.25rem/1.25 var(--display);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* Light crossing something means Certo is at work on it. The words give their room back as
   they go, so the cards come up into it. */
.caption {
  max-height: 0;
  margin: 0 8px;
  overflow: hidden;
  font-size: 0.9375rem;
  line-height: 1.4;
  opacity: 0;
  background: linear-gradient(100deg, var(--secondary) 35%, var(--text) 50%, var(--secondary) 65%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: light 1.3s linear infinite;
  transition:
    max-height 0.4s var(--ease),
    margin 0.4s var(--ease),
    opacity 0.3s var(--ease);
}

.caption.is-on {
  max-height: 1.6em;
  margin-top: 4px;
  opacity: 1;
}

@keyframes light {
  from {
    background-position: 100% 0;
  }

  to {
    background-position: -50% 0;
  }
}

/* What was read opens under the words: the sheet grows by exactly its height. */
.read {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease);
}

.read.is-open {
  grid-template-rows: 1fr;
}

.read > div {
  min-height: 0;
  overflow: hidden;
}

.cards {
  display: grid;
  gap: 8px;
  padding-top: 12px;
}

.card {
  padding: 14px;
  border: 0 solid transparent;
  border-image: var(--card-skin) 120 fill / 40px;
  border-radius: var(--radius);
}

.card-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card .row-title {
  font-weight: 600;
}

.card .amount {
  font-size: 1.125rem;
  font-weight: 600;
}

.card .chips {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.card .chip {
  height: 32px;
  padding: 0 12px;
  font-size: 0.875rem;
}

.card .chip--disc {
  padding-left: 5px;
}

.card .chip .disc {
  width: 22px;
  height: 22px;
  animation: none;
}

.card .chip .disc svg {
  width: 14px;
  height: 14px;
}

.card .chip > svg {
  width: 15px;
  height: 15px;
}

/* A draft arrives in order: the icon lands with a small spring, then the title, the amount and
   the chips, and last the white button. Each is free again once it has arrived. */
.card-main .disc,
.card .row-text,
.card .amount,
.card .chips,
.flow .btn {
  animation: arrive 0.55s var(--ease) backwards;
  animation-delay: calc(var(--at, 0) * 1ms);
}

.card-main .disc {
  --at: 120;
  animation-name: land;
  animation-timing-function: var(--spring);
}

.card .row-text {
  --at: 190;
}

.card .amount {
  --at: 250;
}

.card .chips {
  --at: 310;
}

.card + .card .card-main .disc {
  --at: 240;
}

.card + .card .row-text {
  --at: 310;
}

.card + .card .amount {
  --at: 370;
}

.card + .card .chips {
  --at: 430;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

@keyframes land {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

.flow-actions {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-top: 12px;
}

.flow .btn {
  --at: 520;
  position: relative;
  height: 44px;
  min-width: 88px;
  padding: 0 22px;
  font-size: 1rem;
}

.flow .btn.is-pressed {
  transform: scale(0.94);
}

/* Recording is answered where the tap was: the word gives way to a tick, drawn as it comes. */
.btn-word {
  transition:
    opacity 0.2s var(--ease),
    transform 0.3s var(--ease);
}

.btn-tick {
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.35s var(--ease) 0.1s;
}

.btn.is-done .btn-word {
  opacity: 0;
  transform: scale(0.8);
}

.btn.is-done .btn-tick {
  stroke-dashoffset: 0;
}

/* The tap that adds: shown, since nobody is tapping. */
.touch {
  position: absolute;
  right: 22px;
  bottom: 0;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgb(140 140 160 / 0.45);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35);
  opacity: 0;
  transform: scale(1.5);
  pointer-events: none;
}

.touch.is-on {
  animation: touch 0.75s var(--ease);
}

@keyframes touch {
  35% {
    opacity: 1;
    transform: scale(1);
  }

  60% {
    opacity: 1;
    transform: scale(0.86);
  }
}

/* The line everything is told in: glass, as in the app. */
.line {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 8px 0 16px;
  border-radius: 999px;
  background: var(--glass-line);
  box-shadow:
    inset 0 0 0 1px var(--hairline),
    var(--card-shadow);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  transition: opacity 0.35s var(--ease);
}

.line svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 1.0625rem;
}

.line-text:empty::before {
  content: "Tell Certo…";
  color: var(--tertiary);
}

.line-text:not(:empty)::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-left: 2px;
  vertical-align: -0.2em;
  border-radius: 1px;
  background: currentColor;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.line-end {
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
}

.line-end > * {
  position: absolute;
  inset: 0;
  margin: auto;
  transition:
    opacity 0.25s,
    transform 0.3s var(--spring);
}

.line-send {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  opacity: 0;
  transform: scale(0.6);
}

.line-send svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.line.has-text .line-send {
  opacity: 1;
  transform: none;
}

.line.has-text .line-send.is-pressed {
  transform: scale(0.86);
}

.line.has-text .line-mic {
  opacity: 0;
  transform: scale(0.6);
}

/* What the open line offers: a tap tells one. */
.offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.offers button {
  border: 0;
  cursor: pointer;
  color: var(--prose);
  transition:
    transform 0.2s var(--ease),
    color 0.2s;
}

.offers button:hover,
.offers button.is-playing {
  color: var(--text);
}

.offers button.is-playing {
  background: var(--pill);
}

.offers button:active {
  transform: scale(0.96);
}

.offers button::before {
  content: "+";
  font-weight: 600;
  opacity: 0.55;
}

/* Screens: one thing each. Words on one side, the app's own pieces on the other. */

.screen {
  padding-block: clamp(48px, 7.5vw, 104px);
}

.split {
  display: grid;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

@media (min-width: 940px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 390px);
  }

  .split--flip {
    grid-template-columns: minmax(0, 390px) minmax(0, 1fr);
  }

  .split--flip .copy {
    order: 2;
  }
}

.eyebrow {
  color: var(--secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.copy h2,
.head h2 {
  margin-top: 10px;
  font: 600 clamp(2rem, 1.3rem + 2.9vw, 3.25rem) / 1.06 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.copy p:not(.eyebrow),
.head p:not(.eyebrow) {
  margin-top: 18px;
  max-width: 31em;
  color: var(--prose);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.copy .kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  max-width: 34em;
}

.panel {
  width: min(100%, 390px);
  margin-inline: auto;
}

.panel > .label:first-child {
  margin-top: 0;
}

.big-number {
  text-align: center;
  font: 600 clamp(2.75rem, 13vw, 3.5rem) / 1.1 var(--display);
  letter-spacing: -0.02em;
}

.fact {
  margin-top: 4px;
  text-align: center;
  color: var(--secondary);
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}

/* The day looked at. */
.scrub {
  margin-top: 22px;
  padding: 16px 18px 14px;
}

.scrub-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 500;
}

.scrub-head span:last-child {
  color: var(--secondary);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.scrub input {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 32px;
  margin: 8px 0 0;
  background: transparent;
  cursor: pointer;
  --at: 100%;
}

.scrub input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--text) var(--at), var(--chip) var(--at));
}

.scrub input::-moz-range-track {
  height: 4px;
  border-radius: 2px;
  background: var(--chip);
}

.scrub input::-moz-range-progress {
  height: 4px;
  border-radius: 2px;
  background: var(--text);
}

.scrub input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -12px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 0.5px rgb(0 0 0 / 0.12),
    0 3px 10px rgb(0 0 0 / 0.28);
}

.scrub input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 0.5px rgb(0 0 0 / 0.12),
    0 3px 10px rgb(0 0 0 / 0.28);
}

/* The list keeps its room while it is empty, so nothing under it moves as rows come. */
.coming-room {
  min-height: 244px;
}

.coming-room > * {
  transition: opacity 0.35s var(--ease);
}

.coming-room.is-empty > * {
  opacity: 0;
}

/* Rows that come and go with a choice slide in; they do not jump. */
.coming .row {
  overflow: hidden;
  transition:
    min-height 0.45s var(--ease),
    padding 0.45s var(--ease),
    opacity 0.35s var(--ease);
}

.coming .row.is-later {
  min-height: 0;
  height: 0;
  padding-block: 0;
  opacity: 0;
}

/* Ask: an answer is a page, not bubbles. */
.ask-q {
  margin: 0 6px;
  font: 600 1.625rem/1.2 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.steps {
  display: grid;
  gap: 8px;
  margin: 14px 6px 0;
  color: var(--secondary);
  font-size: 0.9375rem;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.steps svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps .mark {
  color: var(--text);
}

.ask-a {
  margin: 14px 6px 0;
  color: var(--prose);
}

/* A raised card over the page has a soft shadow close under it. */
.ask .card {
  margin-top: 14px;
  padding: 20px 20px 16px;
  box-shadow: var(--card-shadow);
}

.legend {
  display: flex;
  gap: 28px;
}

.legend b {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.legend span span,
.legend > div > span:last-child {
  color: var(--secondary);
  font-size: 0.9375rem;
}

.legend .before {
  color: var(--tertiary);
}

.legend .before .amount .minor {
  color: inherit;
  opacity: 0.7;
}

.pace {
  width: 100%;
  height: auto;
  margin-top: 18px;
  overflow: visible;
}

.pace path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pace .was {
  stroke: var(--tertiary);
  stroke-width: 2;
}

.pace .now {
  stroke: var(--text);
}

.pace circle {
  fill: var(--text);
}

.pace .floor {
  stroke: var(--hairline);
  stroke-width: 1;
}

.pin {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 6px 0;
  font-weight: 500;
}

.pin svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* The answer arrives a piece at a time, once it is in view; lines are drawn once they have. */
@media (prefers-reduced-motion: no-preference) {
  .ask.is-waiting .steps li,
  .ask.is-waiting .ask-a,
  .ask.is-waiting .card,
  .ask.is-waiting .pin {
    opacity: 0;
    transform: translateY(10px);
  }

  .ask .steps li,
  .ask .ask-a,
  .ask .card,
  .ask .pin {
    transition:
      opacity 0.5s var(--ease),
      transform 0.5s var(--ease);
    transition-delay: calc(var(--at, 0) * 1ms);
  }

  .ask .steps li:nth-child(2) {
    --at: 500;
  }

  .ask .ask-a {
    --at: 1100;
  }

  .ask .card {
    --at: 1300;
  }

  .ask .pin {
    --at: 2300;
  }

  .ask .pace .was,
  .ask .pace .now {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s var(--ease) 1.6s;
  }

  .ask .pace .now {
    transition-delay: 1.9s;
  }

  .ask .pace circle {
    transition: opacity 0.3s 2.6s;
  }

  .ask.is-waiting .pace .was,
  .ask.is-waiting .pace .now {
    stroke-dashoffset: 1;
  }

  .ask.is-waiting .pace circle {
    opacity: 0;
  }

  .ask .steps .mark {
    animation: turn 1.1s linear infinite;
  }

  .parts i::after {
    transition: transform 0.9s var(--ease) 0.25s;
  }

  .debts-panel.is-waiting .parts i::after {
    transform: scaleX(0);
  }
}

@keyframes turn {
  to {
    transform: rotate(360deg);
  }
}

/* What Certo holds to: said large, one after another. */
.head {
  max-width: 44rem;
}

.tenets {
  margin-top: clamp(28px, 5vw, 56px);
  border-top: 1px solid var(--hairline);
}

.tenets li {
  display: grid;
  gap: 8px 40px;
  padding: clamp(22px, 3.2vw, 36px) 0;
  border-bottom: 1px solid var(--hairline);
}

.tenets h3 {
  font: 600 clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem) / 1.12 var(--display);
  letter-spacing: -0.025em;
}

.tenets p {
  max-width: 34em;
  color: var(--prose);
  text-wrap: pretty;
}

@media (min-width: 820px) {
  .tenets li {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: baseline;
  }
}

/* Where the record is kept: one tile, its claim on one side and what stands behind it on the other. */
.kept {
  display: grid;
  gap: 18px 64px;
  padding: clamp(24px, 4vw, 52px);
}

.kept h2 {
  margin-top: 10px;
  font: 600 clamp(1.625rem, 1.15rem + 1.9vw, 2.5rem) / 1.08 var(--display);
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.kept p:not(.eyebrow) {
  color: var(--prose);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.kept p + p {
  margin-top: 14px;
}

.kept .link {
  margin-top: 24px;
}

@media (min-width: 820px) {
  .kept {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
  }
}

/* The last screen: where to get it. */
.standing {
  text-align: center;
}

.standing svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
}

.standing h2 {
  font: 600 clamp(2rem, 1.3rem + 2.9vw, 3.25rem) / 1.06 var(--display);
  letter-spacing: -0.03em;
}

.standing p {
  margin: 18px auto 0;
  max-width: 31em;
  color: var(--prose);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  text-wrap: pretty;
}

.hero-copy .aside {
  margin-top: 14px;
  color: var(--secondary);
  font-size: 0.9375rem;
}

/* What comes up into place as it is scrolled to. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .comes {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

/* Footer */

.foot {
  margin-top: clamp(40px, 6vw, 80px);
  padding: 32px 0 44px;
  border-top: 1px solid var(--hairline);
  color: var(--secondary);
  font-size: 0.9375rem;
}

.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.foot .brand {
  color: var(--text);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.foot nav a {
  text-decoration: none;
  transition: color 0.2s;
}

.foot nav a:hover {
  color: var(--text);
}

.foot .langs {
  margin-top: 20px;
}

.foot .langs a[aria-current="true"] {
  color: var(--text);
}

.foot small {
  display: block;
  margin-top: 22px;
  color: var(--tertiary);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* Documents: support, privacy, terms. */

.doc {
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--bar) + clamp(36px, 7vw, 88px));
}

.doc-head {
  max-width: 44rem;
}

.doc-head h1 {
  margin-top: 10px;
  text-wrap: balance;
  font: 600 clamp(2.5rem, 1.5rem + 4.4vw, 4rem) / 1.03 var(--display);
  letter-spacing: -0.035em;
}

.doc-head .lead {
  margin-inline: 0;
}

.doc-body {
  display: grid;
  gap: 40px 64px;
  margin-top: clamp(32px, 5vw, 56px);
}

.toc {
  display: none;
}

@media (min-width: 1000px) {
  .doc-body {
    grid-template-columns: 220px minmax(0, 42.5rem);
  }

  .toc {
    display: block;
    position: sticky;
    top: calc(var(--bar) + 28px);
    align-self: start;
    max-height: calc(100vh - var(--bar) - 56px);
    overflow-y: auto;
    font-size: 0.9375rem;
  }

  .toc li + li {
    margin-top: 9px;
  }

  .toc a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
  }

  .toc a:hover {
    color: var(--text);
  }
}

.prose {
  max-width: 42.5rem;
  color: var(--prose);
  line-height: 1.6;
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin-top: 2.5em;
  color: var(--text);
  font: 600 1.5rem/1.2 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.prose h3 {
  margin-top: 1.8em;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 600;
}

.prose p,
.prose ul,
.prose ol,
.prose .tile {
  margin-top: 0.9em;
}

.prose ul {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ul li::marker {
  color: var(--tertiary);
}

.prose li + li {
  margin-top: 0.45em;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--text);
  text-decoration-color: var(--tertiary);
  transition: text-decoration-color 0.2s;
}

.prose a:hover {
  text-decoration-color: currentColor;
}

/* A list of facts on a tile: what something is, then what is true of it. */
.facts {
  padding: 4px 20px;
}

.facts > div {
  padding: 14px 0;
}

.facts > div + div {
  border-top: 1px solid var(--hairline);
}

.facts dt {
  color: var(--text);
  font-weight: 600;
}

.facts dd {
  margin-top: 3px;
}

.short {
  padding: 22px 24px;
}

.short h2 {
  margin: 0;
  font-size: 1.0625rem;
  letter-spacing: 0;
}

.short ul {
  margin-top: 10px;
}

/* Support: one address, large, and a few answers that open in place. */
.address {
  display: inline-block;
  margin-top: 26px;
  font: 600 clamp(1.5rem, 1rem + 2.6vw, 2.5rem) / 1.15 var(--display);
  letter-spacing: -0.025em;
  text-decoration-color: var(--tertiary);
  overflow-wrap: anywhere;
}

.answers {
  max-width: 42.5rem;
  margin-top: clamp(32px, 5vw, 56px);
  padding: 4px 0;
}

.answers details + details {
  border-top: 1px solid var(--hairline);
}

.answers summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

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

.answers summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid var(--tertiary);
  border-bottom: 2px solid var(--tertiary);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.answers details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.answers details > div {
  padding: 0 20px 18px;
  color: var(--prose);
  line-height: 1.6;
}

.answers details p + p {
  margin-top: 0.8em;
}

.note {
  max-width: 42.5rem;
  margin: 22px 6px 0;
  color: var(--secondary);
  font-size: 0.9375rem;
}

/* A page that is not there */
.lost {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--bar) var(--gutter);
}

.lost h1 {
  font: 600 clamp(2.5rem, 1.5rem + 4.4vw, 4rem) / 1.03 var(--display);
  letter-spacing: -0.035em;
}

.lost p {
  margin-top: 16px;
  color: var(--prose);
}

.lost .btn {
  margin-top: 28px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .amount .d > span,
  .amount .d,
  .amount .s {
    transition-duration: 0.01ms;
  }
}
