/*
 * The public website. The same Marker design as the app: Archivo, condensed heavy
 * headings, squared corners, a marker behind what matters. Light is ink on white with a
 * lime marker; dark is the same page in black with the logo's orange. The colours are
 * the app's own tokens (apps/web/src/styles.css), so the phone in the middle of the page
 * is drawn in the colours the real one would be.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/archivo-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --background: #ffffff;
  --foreground: #0f1712;
  --muted-foreground: #56635b;
  --muted: #eef1ea;
  --border: #e6eae2;
  --marker: #e6f54a;
  --marker-foreground: #0f1712;
  --primary: #0f1712;
  --primary-foreground: #ffffff;
  --success: #16794c;
  --logo: #0f1712;
  --stage: #eef1ea;
  --phone-edge: #0f1712;
  --notice: #0f1712;
  --notice-foreground: #ffffff;
  --notice-border: #0f1712;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0a0a0a;
    --foreground: #fafafa;
    --muted-foreground: #a6a6a6;
    --muted: #1c1c1c;
    --border: #262626;
    --marker: #fb6902;
    --marker-foreground: #0a0a0a;
    --primary: #fb6902;
    --primary-foreground: #0a0a0a;
    --success: #34c77b;
    --logo: #fb6902;
    --stage: #141414;
    --phone-edge: #3a3a3a;
    --notice: #1c1c1c;
    --notice-foreground: #fafafa;
    --notice-border: #3a3a3a;
  }
}

/* The same dark values again, so the button on the page wins over the device's setting. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted-foreground: #a6a6a6;
  --muted: #1c1c1c;
  --border: #262626;
  --marker: #fb6902;
  --marker-foreground: #0a0a0a;
  --primary: #fb6902;
  --primary-foreground: #0a0a0a;
  --success: #34c77b;
  --logo: #fb6902;
  --stage: #141414;
  --phone-edge: #3a3a3a;
  --notice: #1c1c1c;
  --notice-foreground: #fafafa;
  --notice-border: #3a3a3a;
}

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

/* Hidden means hidden, whatever else a rule says about how the thing is laid out. */
[hidden] {
  display: none;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font:
    400 17px / 1.5 "Archivo",
    ui-sans-serif,
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 22px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 5;
  padding: 10px 14px;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 10px;
}

/* ---- The top of the page ---- */

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 18px;
}
.top .logo {
  margin-right: auto;
  display: block;
}
.logo svg {
  display: block;
  width: 150px;
  height: auto;
  margin-left: -4px;
}
.logo .swipe {
  fill: var(--marker);
}
.logo .bei {
  stroke: var(--marker-foreground);
}
.logo .bei circle {
  fill: var(--marker-foreground);
}
.logo .book {
  stroke: var(--logo);
}

.quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 12px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
.quiet:hover {
  background: var(--muted);
}
.quiet svg,
.feature svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* One button, two drawings: the one for the mode the page is not in. */
.theme .sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme .moon {
    display: none;
  }
}
:root[data-theme="dark"] .theme .sun {
  display: block;
}
:root[data-theme="dark"] .theme .moon {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.12s ease;
}
.button:active {
  transform: scale(0.98);
}
.button.small {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
}
.link {
  font-weight: 700;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

/* ---- The opening ---- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
  padding-block: 28px 72px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(42px, 6.4vw, 76px);
}
h2 {
  font-size: clamp(32px, 4.2vw, 48px);
}
h3 {
  font-size: 24px;
  line-height: 1.1;
}
/* The marker: a little turned, a little wider than the word, as a pen leaves it. */
mark {
  position: relative;
  z-index: 0;
  background: none;
  color: var(--marker-foreground);
  white-space: nowrap;
}
mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.08em -0.14em 0.02em;
  background: var(--marker);
  border-radius: 0.1em;
  transform: rotate(-1.6deg);
}
.lead {
  margin: 22px 0 0;
  max-width: 34em;
  font-size: 20px;
  line-height: 1.4;
  color: var(--muted-foreground);
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 30px;
}
.note {
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--muted-foreground);
}

/* ---- The phone, and the stage it stands on ---- */

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 34px 20px 26px;
  border-radius: 28px;
  background: var(--stage);
  overflow: hidden;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 26% -12% auto;
  height: 42%;
  background: var(--marker);
  border-radius: 14px;
  transform: rotate(-7deg);
}
.steps {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}
.steps li {
  padding: 7px 12px;
  border-radius: 10px;
  background: var(--background);
  color: var(--muted-foreground);
  transition:
    background 0.25s,
    color 0.25s;
}
.steps li.on {
  background: var(--primary);
  color: var(--primary-foreground);
}

.phone {
  position: relative;
  width: 304px;
  max-width: 100%;
  aspect-ratio: 304 / 620;
  padding: 9px;
  border-radius: 46px;
  background: var(--phone-edge);
  box-shadow: 0 30px 60px -28px rgb(0 0 0 / 0.55);
  font-size: 13px;
  line-height: 1.25;
  user-select: none;
}
.p-screen {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 38px;
  background: var(--background);
  color: var(--foreground);
  overflow: hidden;
}
.phone i,
.phone em {
  font-style: normal;
}
.phone svg {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.p-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px 4px;
  font-size: 11.5px;
  font-weight: 700;
}
.p-island {
  width: 74px;
  height: 20px;
  border-radius: 12px;
  background: #050505;
}
.p-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.p-signal i {
  width: 3px;
  border-radius: 1px;
  background: currentColor;
}
.p-signal i:nth-child(1) {
  height: 40%;
}
.p-signal i:nth-child(2) {
  height: 70%;
}
.p-signal i:nth-child(3) {
  height: 100%;
}
.p-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 10px;
}
.p-head strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  font-stretch: 78%;
  line-height: 1.1;
}
.p-head p {
  margin: 3px 0 0;
  font-size: 11.5px;
  color: var(--muted-foreground);
}
.p-live {
  margin-right: 7px;
  font-weight: 700;
  color: var(--success);
}
.p-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 1px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.p-me,
.p-add {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--primary);
  color: var(--primary-foreground);
}
.p-label {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.p-label.p-when-found {
  padding-block: 2px 9px;
  font-size: 14px;
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: 0;
  text-transform: none;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}
.p-list {
  flex: 1;
  min-height: 0;
}
.p-letter {
  padding: 4px 16px;
  background: var(--muted);
  font-size: 10px;
  font-weight: 800;
}
.p-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
}
.p-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 10px;
  font-weight: 700;
}
.p-what {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.p-what b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-what > span {
  font-size: 11px;
  color: var(--muted-foreground);
}
.p-was {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 600;
}
.p-was svg {
  width: 1em;
  height: 1em;
}
.p-price {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 17px;
  font-weight: 800;
  font-stretch: 75%;
  font-variant-numeric: tabular-nums;
}
.p-price small,
.p-sheet > small {
  font-size: 8.5px;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
}
.p-new {
  position: relative;
  z-index: 0;
  color: var(--marker-foreground);
}
.p-row .p-new {
  margin-left: 6px;
}
.p-new::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px -6px;
  border-radius: 5px;
  background: var(--marker);
  transform: rotate(-2deg);
}
.p-dock {
  display: flex;
  gap: 8px;
  padding: 9px 12px 14px;
  border-top: 1px solid var(--border);
}
.p-dock .p-add {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}
.p-search {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding-inline: 12px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--muted);
  color: var(--muted-foreground);
  white-space: nowrap;
  overflow: hidden;
}
.p-typed {
  color: var(--foreground);
  font-weight: 600;
}
.p-typed::after {
  content: "";
  display: inline-block;
  width: 1.5px;
  height: 1.1em;
  margin-left: 1px;
  background: currentColor;
  vertical-align: -2px;
  animation: pulse 1s steps(1) infinite;
}
/* News from a teammate, as the app draws it: a slab with the marker's own tile on it. */
.p-toast {
  position: absolute;
  z-index: 3;
  inset: 40px 10px auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--notice-border);
  border-radius: 12px;
  background: var(--notice);
  color: var(--notice-foreground);
  font-size: 12px;
  font-weight: 700;
  font-stretch: 86%;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.25s;
}
.p-bell {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--marker);
  color: var(--marker-foreground);
  transform: rotate(-3deg);
}
.p-scrim {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.45);
  opacity: 0;
  transition: opacity 0.3s;
}
.p-sheet {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
  border-radius: 22px 22px 0 0;
  background: var(--background);
  transform: translateY(102%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.p-close {
  margin-bottom: 10px;
}
.p-product {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.p-product .p-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}
.p-product b {
  display: block;
  font-size: 19px;
  font-weight: 800;
  font-stretch: 78%;
}
.p-product span span {
  font-size: 11.5px;
  color: var(--muted-foreground);
}
.p-big {
  margin: 2px 0 16px;
  font-size: 58px;
  font-weight: 800;
  font-stretch: 68%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.p-big .p-new::before {
  inset: 2px -8px 0;
  border-radius: 8px;
}
.p-button {
  display: grid;
  place-items: center;
  height: 44px;
  border-radius: 13px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 14px;
  font-weight: 700;
}

/* What each scene shows. "seen" is the resting one, and needs no rule to look right. */
.p-old,
.p-when-found,
.p-typed {
  display: none;
}
.phone:not([data-scene="seen"]) .p-toast {
  opacity: 0;
  transform: translateY(-140%);
}
.phone:not([data-scene="seen"]) .p-was,
.phone:not([data-scene="seen"]) .p-row .p-new,
.phone[data-scene="open"] .p-big .p-new {
  display: none;
}
.phone:not([data-scene="seen"]) .p-row .p-old,
.phone[data-scene="open"] .p-big .p-old {
  display: inline;
}
.phone:is([data-scene="find"], [data-scene="open"], [data-scene="change"])
  :is(.p-when-list, .p-ask, .p-letter, .p-row:not(.p-target)) {
  display: none;
}
.phone:is([data-scene="find"], [data-scene="open"], [data-scene="change"]) :is(.p-when-found, .p-typed) {
  display: block;
}
.phone:is([data-scene="find"], [data-scene="open"], [data-scene="change"]) .p-search {
  border-color: var(--foreground);
  background: var(--background);
}
.phone:is([data-scene="open"], [data-scene="change"]) .p-sheet {
  transform: none;
}
.phone:is([data-scene="open"], [data-scene="change"]) .p-scrim {
  opacity: 1;
}

/* ---- What it does ---- */

section {
  padding-block: 72px;
  border-top: 1px solid var(--border);
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 40px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--marker);
  color: var(--marker-foreground);
  transform: rotate(-3deg);
}
.feature .icon svg {
  transform: rotate(3deg);
}
.feature p,
.start p {
  margin: 0;
  color: var(--muted-foreground);
  text-wrap: pretty;
}

/* ---- beibook's own numbers ---- */

.numbers dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin: 40px 0 0;
}
.numbers dl > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
}
.numbers dt {
  font-weight: 600;
  line-height: 1.25;
  color: var(--muted-foreground);
}
.numbers dd {
  margin: 0;
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
}
/* The one that is true of this very moment, marked as a price that has just changed is. */
.numbers .now span {
  position: relative;
  z-index: 0;
  color: var(--marker-foreground);
}
.numbers .now span::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0.04em -0.14em 0;
  border-radius: 0.1em;
  background: var(--marker);
  transform: rotate(-2deg);
}
.numbers .note {
  margin-top: 32px;
}

/* ---- Starting ---- */

.start ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.start li {
  counter-increment: step;
}
.start li::before {
  content: counter(step);
  display: block;
  margin-bottom: 12px;
  font-size: 64px;
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.9;
}
.start p {
  color: var(--foreground);
  font-size: 19px;
  line-height: 1.35;
}
.again {
  margin-top: 44px;
}

/* ---- What it costs ---- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}
.pricing .again {
  margin-top: 30px;
}
/* The price, drawn as a row of the app's price list, large. */
.tag {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 22px);
  padding: clamp(26px, 5vw, 52px) clamp(20px, 4vw, 44px);
  border-radius: 28px;
  background: var(--stage);
  user-select: none;
}
.tag-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(52px, 7vw, 84px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: var(--background);
  color: var(--muted-foreground);
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
  text-transform: uppercase;
}
.tag-what {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tag-what b {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
}
.tag-per {
  font-size: clamp(14px, 1.7vw, 19px);
  color: var(--muted-foreground);
}
.tag-price {
  flex: none;
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 1.8vw, 22px);
  font-size: clamp(84px, 13vw, 168px);
  font-weight: 800;
  font-stretch: 68%;
  line-height: 0.8;
}
.tag-price small {
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}
.tag-price i {
  position: relative;
  z-index: 0;
  padding-inline: 0.12em;
  font-style: normal;
  color: var(--marker-foreground);
}
.tag-price i::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.12em -0.06em -0.06em;
  border-radius: 0.1em;
  background: var(--marker);
  transform: rotate(-3deg);
}

/* ---- Reaching us ---- */

.ways {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.way {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 22px 24px;
  border-radius: 22px;
  background: var(--muted);
  text-decoration: none;
  transition: transform 0.12s ease;
}
.way:active {
  transform: scale(0.985);
}
.way-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--marker);
  color: var(--marker-foreground);
  transform: rotate(-3deg);
}
.way-mark {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.way-icon .way-mark {
  transform: rotate(3deg);
}
.way-what {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.way small {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}
.way b {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  font-stretch: 72%;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.way-go {
  flex: none;
  opacity: 0.55;
}
/* The first way is the one people here reach for: it is the loud one. */
.way:first-child {
  background: var(--primary);
  color: var(--primary-foreground);
}
.way:first-child .way-icon {
  background: var(--primary-foreground);
  color: var(--primary);
}

/* A fact that has not been given yet. Only ever drawn in a draft. */
.gap {
  margin-top: 28px;
  padding: 22px;
  border: 2px dashed var(--muted-foreground);
  border-radius: 16px;
  color: var(--muted-foreground);
  font-weight: 600;
}

/* ---- A page of small print: privacy, terms ---- */

.doc {
  max-width: 760px;
  padding-block: 28px 80px;
}
.doc h1 {
  font-size: clamp(44px, 7vw, 72px);
}
.doc h2 {
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.1;
}
.doc section {
  padding-block: 34px 0;
  border-top: 0;
}
.doc p,
.doc li {
  max-width: 66ch;
  text-wrap: pretty;
}
.doc section p,
.doc ul {
  margin: 14px 0 0;
}
.doc ul {
  padding-left: 1.15em;
}
.doc li + li {
  margin-top: 10px;
}
.doc li::marker {
  color: var(--muted-foreground);
}
.reach {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

/* ---- The foot ---- */

.foot {
  border-top: 1px solid var(--border);
  padding-block: 36px 48px;
  color: var(--muted-foreground);
  font-size: 15px;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.foot .logo svg {
  width: 112px;
}
.foot .line {
  margin: 0 auto 0 0;
}
/* Who made it: a line to itself under the rest, quiet, as at the foot of the app's menu. */
.foot .made {
  flex-basis: 100%;
  font-size: 14px;
  text-decoration: none;
}
.foot .made b {
  color: var(--foreground);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 12px 56px;
  }
  .features,
  .start ol,
  .split,
  .ways {
    grid-template-columns: minmax(0, 1fr);
  }
  /* On a phone the whole card is the thing to tap: the arrow gives its room to the address. */
  .way-go {
    display: none;
  }
  .way {
    padding-inline: 18px;
    gap: 14px;
  }
  .numbers dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  section {
    padding-block: 56px;
  }
  .top .button {
    display: none;
  }
}

/* For someone who has asked for less movement: nothing pulses, nothing slides, and the
   script leaves the phone resting on its last scene. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .p-live::before,
  .p-typed::after {
    animation: none;
  }
  .button,
  .way,
  .steps li,
  .phone .p-toast,
  .phone .p-scrim,
  .phone .p-sheet {
    transition: none;
  }
}
