/* Texts2PDF — texts2pdf.com
   Two voices: the chat (system UI font, bubbles) and the document (Source Serif 4, paper).
   Paper and chat depictions keep their real colors in both themes. */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --desk: #eef2f8;
  --desk-2: #e3e9f2;
  --surface: #ffffff;
  --ink: #18233d;
  --ink-2: #4a5672;
  --ink-3: #5a6580;
  --line: #d3dbe7;
  --line-strong: #b4bfd2;
  --blue: #1161d9;
  --blue-hover: #0c51b8;
  --blue-text: #1161d9;
  --link: #0f56c2;
  --focus: #1161d9;
  --bubble-in: #e9e9eb;
  --bubble-in-ink: #000;
  --bubble-out: #0a72e8;
  --band: #16203a;
  --band-ink: #eaf0fa;
  --band-ink-2: #b2bdd3;
  --band-accent: #8db8ff;
  --paper: #ffffff;
  --paper-muted: #636368;
  --paper-faint: #6e6e73;
  --slot-top: #34415f;
  --shadow-paper: 0 1px 2px rgba(24, 35, 61, .08), 0 10px 24px -8px rgba(24, 35, 61, .2), 0 34px 64px -24px rgba(24, 35, 61, .28);
  --shadow-clip: 0 1px 2px rgba(24, 35, 61, .08), 0 16px 30px -14px rgba(24, 35, 61, .3);

  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 144px);
  --nav-h: 64px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --desk: #0d1321;
  --desk-2: #131b2d;
  --surface: #151d30;
  --ink: #e6ebf5;
  --ink-2: #a9b3c9;
  --ink-3: #8f9ab2;
  --line: #243049;
  --line-strong: #3a4865;
  --blue-text: #74a9ff;
  --link: #7db0ff;
  --focus: #7db0ff;
  --bubble-in: #26252a;
  --bubble-in-ink: #fff;
  --band: #18223a;
  --paper: #f1f2f5;
  --slot-top: #46557a;
  --shadow-paper: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -8px rgba(0, 0, 0, .55), 0 40px 80px -24px rgba(0, 0, 0, .6);
  --shadow-clip: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 34px -14px rgba(0, 0, 0, .6);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --desk: #0d1321;
    --desk-2: #131b2d;
    --surface: #151d30;
    --ink: #e6ebf5;
    --ink-2: #a9b3c9;
    --ink-3: #8f9ab2;
    --line: #243049;
    --line-strong: #3a4865;
    --blue-text: #74a9ff;
    --link: #7db0ff;
    --focus: #7db0ff;
    --bubble-in: #26252a;
    --bubble-in-ink: #fff;
    --band: #18223a;
    --paper: #f1f2f5;
    --slot-top: #46557a;
    --shadow-paper: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -8px rgba(0, 0, 0, .55), 0 40px 80px -24px rgba(0, 0, 0, .6);
    --shadow-clip: 0 1px 2px rgba(0, 0, 0, .4), 0 18px 34px -14px rgba(0, 0, 0, .6);
  }
}

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

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: .07em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--desk);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; }

/* ---------- Type scale (17px base, about a major third) ---------- */

.h1 {
  font-size: clamp(2.55rem, 1.55rem + 4.4vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.024em;
}

.h2 {
  font-size: clamp(2rem, 1.35rem + 2.5vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
}

.h3 {
  font-size: 1.32rem;
  line-height: 1.25;
}

.lede {
  font-size: clamp(1.09rem, 1rem + .35vw, 1.24rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
}

.fine { font-size: .88rem; color: var(--ink-3); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 48px;
  padding: 0 1.35em;
  border: 0;
  border-radius: 999px;
  font: 600 1.02rem/1.1 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px -8px rgba(17, 97, 217, .65);
}
.btn--primary:hover { background: var(--blue-hover); }
.btn--primary[disabled] { opacity: .7; cursor: progress; }

.btn--lg { min-height: 56px; padding: 0 1.6em; font-size: 1.08rem; }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .95rem; }
.btn--block { width: 100%; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
  min-height: 44px;
  padding: 0 1.1em;
  font-size: .95rem;
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--ghost .i { width: 16px; height: 16px; }

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--link);
  font-weight: 600;
  text-decoration: none;
}
.link-quiet:hover { text-decoration: underline; }
.link-quiet .i { width: 15px; height: 15px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { background: var(--desk-2); color: var(--ink); }

.buy { margin: 0; }

/* Theme toggle shows the theme it switches to */
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}

/* ---------- Top bar ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--desk) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.012em;
}

.nav__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__links a:hover { color: var(--ink); background: var(--desk-2); }

.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__buy { white-space: nowrap; }
.nav__theme { display: none; }
.nav__menu-btn { display: none; }
.nav__menu-btn .i-close { display: none; }
.nav.is-open .nav__menu-btn .i-menu { display: none; }
.nav.is-open .nav__menu-btn .i-close { display: block; }

@media (max-width: 900px) {
  .nav__actions { margin-left: auto; gap: 6px; }
  .nav__menu-btn { display: grid; }
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 4px var(--gutter) 18px;
    background: var(--desk);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(24, 35, 61, .35);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a {
    padding: 14px 2px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
    color: var(--ink);
  }
  .nav__links a:hover { background: none; }
  .nav__theme-icon { display: none; }
  .nav__theme {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 2px 4px;
    border: 0;
    background: none;
    color: var(--ink-2);
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
  }
  .nav__bar { gap: 12px; }
  .brand__name { font-size: 1.2rem; }
  .nav__buy { padding-inline: .9em; }
}

@media (max-width: 400px) {
  .nav__buy-for { display: none; }
}

@media (max-width: 340px) {
  .brand__name { display: none; }
}

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

.hero { padding-top: clamp(28px, 5vw, 64px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

/* The question that starts most exports */
.ask {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 25rem;
  margin-bottom: clamp(26px, 3.6vw, 42px);
}
.ask__from {
  margin-left: 14px;
  font-size: .78rem;
  color: var(--ink-3);
}
.ask__status {
  align-self: flex-end;
  margin-right: 6px;
  font-size: .74rem;
  font-weight: 500;
  color: var(--ink-3);
}

.bubble {
  position: relative;
  z-index: 0;
  width: fit-content;
  max-width: 82%;
  padding: 8px 14px 9px;
  border-radius: 19px;
  font-size: 1.04rem;
  line-height: 1.33;
}
.bubble::before, .bubble::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 0;
  height: 20px;
}
.bubble--in {
  align-self: flex-start;
  background: var(--bubble-in);
  color: var(--bubble-in-ink);
  transform-origin: left bottom;
}
.bubble--in::before { left: -7px; width: 20px; background: var(--bubble-in); border-bottom-right-radius: 16px 14px; }
.bubble--in::after { left: -10px; width: 10px; background: var(--desk); border-bottom-right-radius: 10px; }
.bubble--out {
  align-self: flex-end;
  background: var(--bubble-out);
  color: #fff;
  transform-origin: right bottom;
}
.bubble--out::before { right: -7px; width: 20px; background: var(--bubble-out); border-bottom-left-radius: 16px 14px; }
.bubble--out::after { right: -10px; width: 10px; background: var(--desk); border-bottom-left-radius: 10px; }

.hero .lede { margin-top: 22px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 34px;
}

.hero__fine {
  margin-top: 18px;
  font-size: .93rem;
  color: var(--ink-2);
  max-width: 34em;
}

.needs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: .9rem;
  color: var(--ink-3);
}
.needs img { width: 34px; height: 34px; flex: none; }
.needs img + img { margin-left: -4px; }
.needs span { margin-left: 4px; }

.hero__art { display: flex; justify-content: center; }

/* ---------- The printout: a page feeding out of a slot ---------- */

/* The page starts inside the slit and hangs in front of the slot's lower lip,
   so it reads as coming out of the opening. The tray's top edge sits mid-slit. */
.printout {
  position: relative;
  width: min(100%, 470px);
  padding-top: 16px;
}

.printout__slot {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -6%;
  right: -6%;
  height: 34px;
  border-radius: 17px;
  background: linear-gradient(180deg, var(--slot-top) 0%, #1b2439 55%, #0e1424 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 14px 26px -14px rgba(14, 20, 36, .6);
}
/* The opening */
.printout__slot::after {
  content: "";
  position: absolute;
  left: 4.5%;
  right: 4.5%;
  top: 11px;
  height: 9px;
  border-radius: 5px;
  background: #020307;
  box-shadow: inset 0 3px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 255, 255, .14);
}

.printout__tray {
  position: relative;
  z-index: 2;
  padding-inline: 3%;
  container-type: inline-size;
  clip-path: inset(0 -80px -120px -80px);
}
/* Shade on the paper where it leaves the opening */
.printout__tray::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 3%;
  right: 3%;
  height: 22px;
  background: linear-gradient(rgba(2, 3, 7, .5), rgba(14, 20, 36, .14) 7px, rgba(14, 20, 36, 0));
  pointer-events: none;
}

/* ---------- The PDF as Texts2PDF lays it out ----------
   Sizes are in em of the bubble text, which follows the page width. */

.pdf {
  background: var(--paper);
  color: #1c1c1e;
  font-family: var(--sans);
  font-size: 12px;
  font-size: 2.85cqi;
  box-shadow: var(--shadow-paper);
}
.pdf__body { padding: 2.6em 2.3em 2.8em; }

.pdf__label {
  text-align: center;
  font-size: .68em;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}
.pdf__name {
  margin-top: .3em;
  text-align: center;
  font-size: 1.78em;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.pdf__meta {
  margin-top: .3em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #e5e5ea;
  text-align: center;
  font-size: .84em;
  color: var(--paper-muted);
}
.pdf__day {
  margin: 1.9em 0 .4em;
  text-align: center;
  font-size: .78em;
  font-weight: 600;
  color: var(--paper-muted);
}
.pdf__msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: .75em;
}
.pdf__msg--out { align-items: flex-end; }
.pdf__who {
  margin: 0 0 .25em .9em;
  font-size: .68em;
  color: var(--paper-muted);
}
.pdf__bubble {
  max-width: 76%;
  padding: .62em 1em .66em;
  border-radius: 1.3em;
  background: #ececee;
  color: #1c1c1e;
  line-height: 1.36;
}
.pdf__msg--out .pdf__bubble { background: #2a70df; color: #fff; }
.pdf__time {
  margin: .3em .9em 0;
  font-size: .62em;
  color: var(--paper-faint);
}

/* ---------- Sections ---------- */

/* Each block owns the space above it, so neighbours never double up. */
.section { padding-top: var(--section); }

.section-head { max-width: 46rem; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lede { margin-top: 20px; }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step__shot {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 18px 24px rgba(24, 35, 61, .16));
}

.step__title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.3rem;
  line-height: 1.25;
}
.step__n { color: var(--blue-text); }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 1rem; }

@media (max-width: 1020px) and (min-width: 721px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 66%);
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding: 4px var(--gutter) 14px;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .step__shot { max-width: 210px; margin-left: 0; }
}

/* ---------- Demo player ---------- */

.demo {
  display: grid;
  grid-template-columns: minmax(250px, 370px) minmax(0, 1fr);
  grid-template-areas:
    "device head"
    "device side";
  grid-template-rows: auto 1fr;
  column-gap: clamp(48px, 8vw, 120px);
}
.demo__head { grid-area: head; }
.demo__head .lede { margin-top: 20px; }
.player { display: contents; }

.device {
  grid-area: device;
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 800 / 1449;
  align-self: start;
}
.device::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 3% 9.5% 2.5%;
  border-radius: 16% / 7.5%;
  box-shadow: 0 34px 60px -18px rgba(24, 35, 61, .45);
}
.device__screen {
  position: absolute;
  left: 11.61%;
  top: 4.09%;
  width: 77.18%;
  height: 92.27%;
  border-radius: 15.4% / 7.1%;
  overflow: hidden;
  background: #f2f2f7;
}
.device__screen video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.device__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.player__side { grid-area: side; }

.chapters {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.chapter {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  align-items: baseline;
  width: 100%;
  min-height: 48px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}
.chapter:hover { color: var(--ink); }
.chapter__time {
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}
.chapter.is-active { color: var(--ink); font-weight: 600; }
.chapter.is-active .chapter__time { color: var(--blue-text); }
.chapter__bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: calc(var(--p, 0) * 100%);
  background: var(--blue-text);
}

.player__toggle { margin-top: 22px; }
.player__toggle .i-pause { display: none; }
.is-playing .player__toggle .i-play { display: none; }
.is-playing .player__toggle .i-pause { display: block; }

@media (max-width: 860px) {
  .demo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "device" "side";
  }
  .device { max-width: 290px; margin: 44px auto 0; }
}

/* ---------- What's on the page: clippings ---------- */

.clips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 64px) clamp(28px, 5vw, 72px);
}
.clip { margin: 0; }
.clip__paper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 8.6em;
  padding: 1.5em 1.6em;
  background: var(--paper);
  color: #1c1c1e;
  font-family: var(--sans);
  font-size: clamp(15px, .8rem + .45vw, 18px);
  box-shadow: var(--shadow-clip);
  transform: rotate(var(--tilt, 0deg));
}
.clip--a .clip__paper { --tilt: -1deg; }
.clip--b .clip__paper { --tilt: .7deg; }
.clip--c .clip__paper { --tilt: .5deg; }
.clip--d .clip__paper { --tilt: -.8deg; }
.clip__paper .pdf__meta { border-bottom: 0; padding-bottom: 0; }
.clip__paper .pdf__day { margin-top: 0; }
.clip__paper .pdf__msg:first-child { margin-top: 0; }
.clip__paper .pdf__bubble { max-width: 88%; }
.clip figcaption {
  margin-top: 22px;
  max-width: 29em;
  color: var(--ink-2);
}

.court-note {
  max-width: 46rem;
  margin-top: clamp(56px, 7vw, 88px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.court-note p { margin-top: 10px; color: var(--ink-2); }

@media (max-width: 720px) {
  .clips { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Privacy band ---------- */

.band {
  margin-top: var(--section);
  padding-block: var(--section);
  background: var(--band);
  color: var(--band-ink);
}
:root[data-theme="dark"] .band { border-block: 1px solid #26314d; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .band { border-block: 1px solid #26314d; }
}
.band .h2 { color: var(--band-ink); }
.band .lede { margin-top: 22px; color: var(--band-ink-2); }
.band a { color: var(--band-accent); }
.band :focus-visible { outline-color: var(--band-accent); }

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.facts {
  display: grid;
  gap: 22px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.facts .i { width: 24px; height: 24px; margin-top: 1px; color: var(--band-accent); }
.facts h3 {
  font-family: var(--sans);
  font-size: 1.04rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--band-ink);
}
.facts p { margin-top: 2px; color: var(--band-ink-2); }

.ondevice { display: flex; justify-content: center; }
.ondevice__phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 290px);
  padding: 76px 24px 46px;
  border: 2px solid rgba(234, 240, 250, .26);
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%);
}
.ondevice__phone::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 84px;
  height: 24px;
  margin-left: -42px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .55);
}
.ondevice__label {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: .8rem;
  color: var(--band-ink-2);
}
.ondevice__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--band-ink);
  text-align: center;
}
.ondevice__node img { width: 54px; height: 54px; }
.ondevice__doc {
  display: grid;
  place-items: end center;
  width: 44px;
  height: 54px;
  padding-bottom: 9px;
  border-radius: 5px;
  background: #fff;
  color: #1161d9;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .04em;
  clip-path: polygon(0 0, 68% 0, 100% 26%, 100% 100%, 0 100%);
}
.ondevice__flow {
  width: 2px;
  height: 46px;
  margin: 12px 0;
  background: repeating-linear-gradient(to bottom, var(--band-accent) 0 6px, transparent 6px 12px);
  opacity: .8;
}

@media (max-width: 860px) {
  .band__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Uses ---------- */

.uses {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 60px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.uses li { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.uses .i { width: 26px; height: 26px; color: var(--blue-text); }
.uses h3 { margin-top: 14px; font-size: 1.3rem; }
.uses p { margin-top: 6px; color: var(--ink-2); }

@media (max-width: 960px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .uses { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Price: a receipt ---------- */

.price__grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.receipt-wrap {
  filter: drop-shadow(0 2px 3px rgba(24, 35, 61, .1)) drop-shadow(0 22px 28px rgba(24, 35, 61, .2));
}
:root[data-theme="dark"] .receipt-wrap { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55)); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .receipt-wrap { filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .55)); }
}

.receipt {
  --z: 11px;
  padding: 36px 30px calc(30px + var(--z));
  background: var(--paper);
  color: #1f2430;
  font-family: var(--mono);
  font-size: .93rem;
  line-height: 1.45;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.receipt__shop {
  text-align: center;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.receipt__sub { margin-top: 2px; text-align: center; font-size: .84rem; color: #575e6b; }
.receipt__lines {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 18px 0;
  border-block: 1.5px dashed #c5cbd6;
}
.receipt__lines div { display: flex; align-items: baseline; }
.receipt__lines dt { display: flex; flex: 1; align-items: baseline; }
.receipt__lines dt::after {
  content: "";
  flex: 1;
  min-width: 12px;
  margin: 0 8px;
  border-bottom: 2px dotted #c3c9d4;
  transform: translateY(-4px);
}
.receipt__lines dd { margin: 0; }
.receipt__total {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 1.22rem;
  font-weight: 700;
}
.receipt__thanks { margin: 16px 0 24px; text-align: center; font-size: .86rem; color: #4b5563; }
.receipt .btn { font-family: var(--sans); }
.receipt__fine {
  margin-top: 14px;
  text-align: center;
  font-family: var(--sans);
  font-size: .82rem;
  line-height: 1.45;
  color: #566074;
}

.price__side { display: grid; gap: 44px; padding-top: 6px; }
.needs-list ul { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.needs-list li { display: flex; align-items: center; gap: 14px; color: var(--ink-2); }
.needs-list img { width: 44px; height: 44px; flex: none; }

.textkeep {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.textkeep__icon { width: 64px; height: 64px; border-radius: 22.5%; }
.textkeep p { margin-top: 8px; color: var(--ink-2); }
.textkeep__apps { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.textkeep__apps img { display: block; width: 36px; height: 36px; border-radius: 22.5%; }
.appstore { display: inline-block; margin-top: 20px; }
.appstore img { display: block; width: auto; height: 44px; }

@media (max-width: 860px) {
  .price__grid { grid-template-columns: minmax(0, 1fr); }
  .receipt-wrap { max-width: 420px; }
}
@media (max-width: 420px) {
  .receipt { padding-inline: 22px; font-size: .88rem; }
  .textkeep { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.faq__head { position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__head p { margin-top: 18px; color: var(--ink-2); }

.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  position: relative;
  padding: 20px 44px 20px 0;
  list-style: none;
  font-size: 1.07rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(currentColor 0 0) center / 14px 2px no-repeat,
    linear-gradient(currentColor 0 0) center / 2px 14px no-repeat;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--link); }
.qa__a { padding: 0 0 24px; color: var(--ink-2); max-width: 40em; }

@media (max-width: 860px) {
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
}

/* ---------- Closing ---------- */

.closing {
  margin-top: var(--section);
  padding-block: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.closing__inner { max-width: 820px; }
.closing .h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.7rem); line-height: 1.04; }
.closing .lede { margin: 20px 0 32px; }

/* ---------- Footer ---------- */

.footer {
  padding: 64px 0 40px;
  background: var(--desk-2);
  font-size: .95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 1fr .9fr;
  gap: 36px;
}
.footer__brand p { margin-top: 14px; max-width: 22rem; color: var(--ink-2); }
.footer__brand .fine a { color: inherit; }
.footer h2 {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: 0;
}
.footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer nav a { color: var(--ink-2); text-decoration: none; }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__fine {
  display: grid;
  gap: 6px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--ink-3);
}

@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Inner pages: guides, legal, purchase ---------- */

.page { padding-block: clamp(36px, 6vw, 80px) var(--section); }
.page__head { max-width: 780px; }
.page__head .lede { margin-top: 20px; }
.crumbs { margin-bottom: 18px; font-size: .9rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
.page__meta { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }

.prose { max-width: 720px; margin-top: clamp(36px, 5vw, 56px); font-size: 1.06rem; line-height: 1.68; }
.prose > * + * { margin-top: 18px; }
.prose h2 {
  margin-top: 60px;
  font-size: clamp(1.6rem, 1.25rem + 1.2vw, 2.1rem);
  line-height: 1.14;
}
.prose h3 { margin-top: 36px; font-size: 1.3rem; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 650; }

.answer {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.answer p + p { margin-top: 10px; }
.answer__title { font-weight: 650; color: var(--ink); }

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-block: 28px;
  padding: 0;
  list-style: none;
}
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; max-width: 220px; margin-inline: auto; filter: drop-shadow(0 14px 20px rgba(24, 35, 61, .16)); }
.shots figcaption { margin-top: 10px; font-size: .88rem; line-height: 1.4; color: var(--ink-2); text-align: center; }

.table-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.prose th, .prose td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { font-weight: 650; color: var(--ink); border-bottom-color: var(--line-strong); }
.prose tbody th { font-weight: 600; color: var(--ink); }
.prose td { color: var(--ink-2); }

.cta-box {
  margin-top: 56px;
  padding: clamp(26px, 4vw, 40px);
  border-radius: 22px;
  background: var(--band);
  color: var(--band-ink);
}
.cta-box h2 { margin: 0; color: var(--band-ink); font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.cta-box p { margin: 12px 0 24px; color: var(--band-ink-2); }
.cta-box .buy { display: inline-block; }

.legal h2 { font-size: 1.45rem; margin-top: 44px; }

/* Forms */
.form { display: grid; gap: 14px; max-width: 460px; margin-top: 28px; }
.form label { font-weight: 600; }
.input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.input--area { height: auto; min-height: 150px; padding: 14px 16px; line-height: 1.5; resize: vertical; }

.notice {
  max-width: 640px;
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}
.notice--ok { box-shadow: inset 4px 0 0 #2fa66a, inset 0 0 0 1px var(--line); }
.notice--warn { box-shadow: inset 4px 0 0 #d98a1c, inset 0 0 0 1px var(--line); }
.notice p + p { margin-top: 8px; }

/* Install page */
.install {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
  margin-top: clamp(32px, 5vw, 56px);
}
.install__main .btn { margin-top: 8px; }
.install__steps { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.install__steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; }
.install__steps li::before {
  counter-increment: s;
  content: counter(s);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--blue-text);
}
.install__steps p { color: var(--ink-2); }
.install__steps strong { color: var(--ink); }
.desktop-only { display: none; }
.qr { display: grid; justify-items: start; gap: 14px; margin-top: 24px; }
.qr canvas, .qr svg, .qr img { width: 180px; height: 180px; padding: 12px; border-radius: 14px; background: #fff; }
.copy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.copy-row code {
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono);
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.install__flow { margin-top: var(--section); }

@media (hover: hover) and (pointer: fine) and (min-width: 900px) {
  .desktop-only { display: block; }
}
@media (max-width: 860px) {
  .install { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Motion: one sequence on the home page ---------- */

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

  .home .ask .bubble--in { animation: t2p-pop .42s cubic-bezier(.2, .9, .3, 1.2) .2s both; }
  .home .ask .bubble--out { animation: t2p-pop .42s cubic-bezier(.2, .9, .3, 1.2) .9s both; }
  .home .ask__status { animation: t2p-fade .3s ease 1.3s both; }
  .home .pdf--hero { animation: t2p-feed 1.8s cubic-bezier(.33, .72, .2, 1) 1.45s both; }
}

@keyframes t2p-pop {
  from { opacity: 0; transform: translateY(10px) scale(.7); }
  to { opacity: 1; transform: none; }
}
@keyframes t2p-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes t2p-feed {
  from { transform: translateY(-101%); }
  to { transform: none; }
}

/* ---------- Narrow screens ---------- */

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { margin-top: 8px; }
  .printout { width: min(92%, 440px); }
}

@media (max-width: 480px) {
  .hero__actions { gap: 6px 22px; }
  .hero__actions .buy, .hero__actions .btn { width: 100%; }
}

/* Purchase pages */
.page__cta { margin-top: 28px; }
.install__main .lede { margin-top: 18px; }
.install__cta { margin-top: 28px; }
.install__keep { margin-top: 12px; }
.install__shot { margin: 0; }
.install__shot .step__shot { max-width: 300px; }
.install__flow .lede { margin-top: 16px; }
.steps--flow { margin-top: 44px; row-gap: 48px; }
.step__title--small { font-family: var(--sans); font-size: 1.02rem; font-weight: 500; letter-spacing: 0; }
.step__title--small .step__n { font-family: var(--serif); font-weight: 600; }

/* Guides */
.h1--page { font-size: clamp(2.3rem, 1.45rem + 3.4vw, 3.9rem); line-height: 1.05; }
.page__head .h1--page + .lede { margin-top: 22px; }
.prose .shots { padding: 0; }
.prose .shots li + li { margin-top: 0; }
.prose .answer ul { margin-top: 10px; }
.prose .cta-box .buy { margin-top: 0; }

/* Guide layout with a sticky buy card on wide screens */
.guide {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(0, 300px);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.guide__aside {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  margin-top: clamp(36px, 5vw, 56px);
}
.guide__paper { min-height: 0; font-size: 14px; transform: rotate(-1deg); }
.guide__paper .pdf__meta { margin-bottom: .9em; }
.guide__title { margin-top: 30px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.guide__text { margin: 8px 0 20px; color: var(--ink-2); font-size: .98rem; }
.guide__aside .link-quiet { margin-top: 8px; }
@media (max-width: 1100px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .guide__aside { display: none; }
}
.steps:focus-visible, .table-scroll:focus-visible { outline-offset: 6px; border-radius: 12px; }
