/* cue.photo
 *
 * One scheme file supplies every color: `schemes/<name>.css`, linked before
 * this sheet by the layout, the name coming from `_data/site.json`. Type is
 * Atkinson Hyperlegible Next, self-hosted, with the system stack behind it.
 * Layout is a single 1120px measure that collapses to one column under 860px;
 * nothing here needs JavaScript. */
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/atkinson-hyperlegible-next-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --font: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 1120px;
  --gutter: 20px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper-bg); color: var(--paper-ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--paper-bg); }
.band :focus-visible { outline-color: var(--band-ink); box-shadow: 0 0 0 6px var(--band-bg); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--surface); color: var(--paper-ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 700; text-decoration: none; }
.skip:focus { left: var(--gutter); }
main:focus { outline: none; }
img, svg { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 24px; }

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

/* ---- bands and paper -------------------------------------------------- */
.band { background: var(--band-bg); color: var(--band-ink); }
.paper { background: var(--paper-bg); color: var(--paper-ink); }
.surface { background: var(--surface); color: var(--paper-ink); }
.section { padding-block: 80px; }
.section > .wrap { display: flex; flex-direction: column; gap: 36px; }
@media (max-width: 860px) { .section { padding-block: 56px; } .section > .wrap { gap: 28px; } }

.h2 { font-size: clamp(28px, 3.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; max-width: 26ch; }
.lead { font-size: 18px; max-width: 60ch; }
.soft { color: var(--paper-soft); }
.band .soft { color: var(--band-soft); }
.small { font-size: 13px; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---- buttons ---------------------------------------------------------- */
.btn, .ghost, .submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; border-radius: var(--radius);
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn.lg, .ghost.lg, .submit.lg { min-height: 48px; padding: 0 22px; font-size: 16px; }
.band .btn, .band .submit { background: var(--btn-band-bg); color: var(--btn-band-ink); border: 0; }
.paper .btn, .surface .btn, .paper .submit, .surface .submit { background: var(--btn-paper-bg); color: var(--btn-paper-ink); border: 0; }
.band .ghost { border: 1.5px solid var(--ghost-band); color: var(--ghost-band); font-weight: 600; }
.paper .ghost, .surface .ghost { border: 1.5px solid var(--ghost-paper); color: var(--ghost-paper); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---- the mark --------------------------------------------------------- */
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup .word { font-weight: 800; font-size: 26px; letter-spacing: -0.035em; line-height: 1; }
.mark { width: 28px; height: 28px; flex-shrink: 0; }
/* The brackets take the text color; the dot is always coral, as it is on the
 * favicon, the app icons, the enrollment screens and the mail. */
.mark path { stroke: currentColor; }
.mark circle { fill: var(--coral); }

/* ---- nav -------------------------------------------------------------- */
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding-block: 12px; }
.nav .brand { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.nav-account { display: flex; align-items: center; gap: 14px; order: 3; }
.nav-account .login { text-decoration: none; font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; padding: 0 4px; }
@media (max-width: 860px) {
  .nav { min-height: 0; gap: 12px 16px; }
  .nav-account { order: 0; }
  .nav > nav { width: 100%; }
  /* The row wraps rather than scrolls: a scroller here shows a scrollbar
   * across the header whenever its links come within a pixel of the edge. */
  .nav-links { flex-wrap: wrap; gap: 0 18px; }
  .nav-links a { white-space: nowrap; }
}
@media (max-width: 480px) {
  .nav-account { gap: 10px; }
  .nav-links { column-gap: 14px; }
  .nav-account .btn { padding: 0 14px; }
}

/* ---- hero ------------------------------------------------------------- */
/* The headline's size follows the hero's own width, not the viewport's, and
 * the headline and its side column stack on the same measure, so the two
 * cannot disagree about how much room the headline has. `cqi` is the hero's
 * inline size. */
.hero { container-type: inline-size; padding-block: 32px 40px; display: flex; flex-direction: column; gap: 28px; }
.hero-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.hero h1 { font-size: clamp(34px, 5cqi, 56px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: pretty; max-width: 18ch; }
.hero-side { flex: 0 0 400px; display: flex; flex-direction: column; gap: 18px; }
.hero .lead { max-width: 44ch; }
@container (max-width: 900px) {
  .hero-head { flex-direction: column; align-items: stretch; }
  .hero-side { flex-basis: auto; }
}
@media (max-width: 860px) { .hero { padding-block: 20px 32px; gap: 24px; } }

/* ---- the contact sheet ------------------------------------------------ */
/* One row that fits while each photo can stay at least 96px wide; the
 * subtracted widths are that row's gaps, four between photos and two between
 * people. Narrower, the same row scrolls sideways out to the screen's edges,
 * with photos sized so part of the next person always shows. The scroller is
 * focusable because a keyboard cannot scroll a region it cannot reach, which
 * leaves one tab stop on the wide layout where nothing scrolls. */
.sheet { container-type: inline-size; border-top: 1px solid var(--band-rule); padding-top: 24px; }
.sheet-groups { display: flex; gap: 28px 40px; }
.sheet-group { display: flex; flex-direction: column; gap: 14px; }
.sheet-tap { display: grid; grid-template-columns: 14px auto; column-gap: 8px; align-items: center; line-height: 1.3; }
.sheet-tap::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); }
.sheet-tap b { font-size: 15px; }
.sheet-tap span { grid-column: 2; font-size: 13px; color: var(--band-soft); }
.sheet-tap time { font-variant-numeric: tabular-nums; }
.sheet-frames { display: flex; gap: 12px; }
.sheet-frames svg { display: block; width: min(136px, (100cqi - 128px) / 7); height: auto; }
.sheet-count { position: relative; padding-top: 18px; display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
.sheet-count::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; border: 1.5px solid var(--band-soft); border-top: 0; }
.sheet-count b { font-size: 15px; }
.sheet-count span { font-size: 13px; color: var(--band-soft); }
@container (max-width: 800px) {
  .sheet-groups { overflow-x: auto; scroll-snap-type: x proximity; gap: 32px; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 12px; scroll-padding-inline: var(--gutter); }
  .sheet-group { flex: none; scroll-snap-align: start; }
  .sheet-frames svg { width: min(136px, (100cqi - 24px) / 2.6); }
}

/* The drawings' motion. Origins are in the 300-unit drawing's own
 * coordinates, which is what `view-box` makes them. A pose that exists only
 * mid-animation is hidden at rest and a limb sits at its rest angle, so with
 * the animations off each drawing is one still pose. */
.bean * { transform-box: view-box; }
@keyframes bean-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.012); } }
.bean-breathe { transform-origin: 150px 284px; animation: bean-breathe 4.2s ease-in-out infinite; }
.bean-b2 { animation-duration: 4.9s; animation-delay: -1.3s; }
.bean-b3 { animation-duration: 3.8s; animation-delay: -2.1s; }

@keyframes bean-boing { 0%, 23%, 100% { transform: rotate(0); } 3% { transform: rotate(26deg); } 7% { transform: rotate(-18deg); } 11% { transform: rotate(12deg); } 15% { transform: rotate(-6deg); } 19% { transform: rotate(3deg); } }
.bean-boing { transform-origin: 140px 29px; animation: bean-boing 4.6s ease-in-out infinite; }
@keyframes bean-lookup { 0%, 26%, 100% { transform: translateY(0); } 3%, 20% { transform: translateY(-6px); } }
.bean-lookup { animation: bean-lookup 4.6s ease-in-out infinite; }

@keyframes bean-rock { 0%, 48%, 100% { transform: rotate(0); } 8%, 24%, 40% { transform: rotate(-4deg); } 16%, 32% { transform: rotate(0); } }
.bean-rock { transform-origin: 136px 282px; animation: bean-rock 2.6s ease-in-out infinite; }
@keyframes bean-tapmark { 0%, 12%, 20%, 28%, 36%, 44%, 54%, 100% { opacity: 0; } 16%, 32%, 48% { opacity: 1; } }
.bean-tapmark { opacity: 0; animation: bean-tapmark 2.6s linear infinite; }

@keyframes bean-blink { 0%, 28%, 32%, 74%, 86%, 100% { transform: scaleY(1); } 30%, 76%, 84% { transform: scaleY(.12); } }
.bean-blinkL { transform-origin: 122px 93px; animation: bean-blink 6s ease-in-out infinite; }
.bean-blinkR { transform-origin: 169px 99px; animation: bean-blink 6s ease-in-out infinite; }
@keyframes bean-flash { 0%, 78%, 100% { opacity: 0; } 79% { opacity: .9; } 84% { opacity: 0; } }
.bean-flash { animation: bean-flash 6s ease-out infinite; }
@keyframes bean-wave { 0%, 40%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-18deg); } 10%, 20%, 30% { transform: rotate(8deg); } 35% { transform: rotate(-4deg); } }
.bean-wave { transform-origin: 113px 186px; animation: bean-wave 6s ease-in-out infinite; }

@keyframes bean-nose-rest { 0%, 55.9%, 80.1%, 100% { opacity: 1; } 56%, 80% { opacity: 0; } }
@keyframes bean-nose-pose { 0%, 55.9%, 80.1%, 100% { opacity: 0; } 56%, 80% { opacity: 1; } }
@keyframes bean-nose-wiggle { 0%, 60%, 76%, 100% { transform: translate(0, 0); } 64%, 72% { transform: translate(-3px, 2px); } 68% { transform: translate(2px, -1px); } }
@keyframes bean-innocent { 0%, 54%, 82%, 100% { transform: translate(0, 0); } 58%, 80% { transform: translate(4px, -5px); } }
.bean-nose-rest { animation: bean-nose-rest 8s linear infinite; }
.bean-nose-pose { opacity: 0; animation: bean-nose-pose 8s linear infinite; }
.bean-nose-wiggle { animation: bean-nose-wiggle 8s ease-in-out infinite; }
.bean-innocent { animation: bean-innocent 8s ease-in-out infinite; }

@keyframes bean-drop { 0%, 30% { transform: translate(0, 0) rotate(0); opacity: 1; } 37% { transform: translate(4px, 104px) rotate(-78deg); } 40% { transform: translate(5px, 92px) rotate(-74deg); } 43%, 84% { transform: translate(6px, 104px) rotate(-80deg); opacity: 1; } 88% { transform: translate(6px, 104px) rotate(-80deg); opacity: 0; } 89% { transform: translate(0, 0) rotate(0); opacity: 0; } 94%, 100% { transform: translate(0, 0) rotate(0); opacity: 1; } }
.bean-drop { transform-origin: 52px 160px; animation: bean-drop 7s ease-in infinite; }
@keyframes bean-watch { 0%, 34%, 88%, 100% { transform: translate(0, 0); } 40%, 84% { transform: translate(-7px, 5px); } }
.bean-watch { animation: bean-watch 7s ease-in-out infinite; }
@keyframes bean-mouth-drop { 0%, 36%, 86%, 100% { opacity: 1; } 38%, 84% { opacity: 0; } }
@keyframes bean-oh { 0%, 36%, 86%, 100% { opacity: 0; } 38%, 84% { opacity: 1; } }
.bean-mouth-drop { animation: bean-mouth-drop 7s linear infinite; }
.bean-oh { opacity: 0; animation: bean-oh 7s linear infinite; }

@keyframes bean-sway { 0%, 48%, 100% { transform: translateY(0) rotate(0); } 6%, 30% { transform: translateY(-7px) rotate(-6deg); } 12%, 24%, 36% { transform: translateY(0) rotate(0); } 18%, 42% { transform: translateY(-7px) rotate(6deg); } }
.bean-sway { transform-origin: 148px 284px; animation: bean-sway 6s ease-in-out infinite; }
@keyframes bean-danceL { 0%, 12%, 24%, 36%, 48%, 100% { transform: rotate(-40deg); } 6%, 30% { transform: rotate(55deg); } 18%, 42% { transform: rotate(-15deg); } }
@keyframes bean-danceR { 0%, 12%, 24%, 36%, 48%, 100% { transform: rotate(40deg); } 18%, 42% { transform: rotate(-55deg); } 6%, 30% { transform: rotate(15deg); } }
.bean-danceL { transform-origin: 113px 186px; transform: rotate(-40deg); animation: bean-danceL 6s ease-in-out infinite; }
.bean-danceR { transform-origin: 187px 186px; transform: rotate(40deg); animation: bean-danceR 6s ease-in-out infinite; }
@keyframes bean-happy-eyes { 0%, 49.9%, 100% { opacity: 1; } 50%, 99.9% { opacity: 0; } }
@keyframes bean-open-eyes { 0%, 49.9% { opacity: 0; } 50%, 99.9% { opacity: 1; } 100% { opacity: 0; } }
.bean-happy-eyes { animation: bean-happy-eyes 6s linear infinite; }
.bean-open-eyes { opacity: 0; animation: bean-open-eyes 6s linear infinite; }
@keyframes bean-notes { 0% { opacity: 0; transform: translateY(8px); } 8%, 40% { opacity: 1; } 48%, 100% { opacity: 0; transform: translateY(-14px); } }
.bean-notes { opacity: 0; animation: bean-notes 6s ease-out infinite; }

@keyframes bean-armL { 0%, 52%, 84%, 100% { transform: rotate(-40deg); } 62%, 76% { transform: rotate(45deg); } }
@keyframes bean-armR { 0%, 52%, 84%, 100% { transform: rotate(40deg); } 62%, 76% { transform: rotate(-45deg); } }
.bean-armL { transform-origin: 113px 186px; transform: rotate(-40deg); animation: bean-armL 10s ease-in-out infinite; }
.bean-armR { transform-origin: 187px 186px; transform: rotate(40deg); animation: bean-armR 10s ease-in-out infinite; }
@keyframes bean-squint { 0%, 54%, 82%, 100% { transform: scaleY(1); } 62%, 76% { transform: scaleY(.15); } }
.bean-squintL { transform-origin: 122px 93px; animation: bean-squint 10s ease-in-out infinite; }
.bean-squintR { transform-origin: 169px 99px; animation: bean-squint 10s ease-in-out infinite; }
@keyframes bean-mouth { 0%, 55%, 81%, 100% { opacity: 1; } 58%, 78% { opacity: 0; } }
.bean-mouth { animation: bean-mouth 10s ease-in-out infinite; }
@keyframes bean-yawn { 0%, 55%, 81%, 100% { opacity: 0; transform: scale(.4); } 62%, 76% { opacity: 1; transform: scale(1.2, 2); } }
.bean-yawn { transform-origin: 145px 110px; opacity: 0; animation: bean-yawn 10s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) { .bean * { animation: none !important; } }

/* ---- screenshots ------------------------------------------------------ */
/* A `.shot` is the device the screenshot shows. `.shot-real` holds the
 * screenshot itself and takes its shape from the image; without it the frame
 * is a placeholder at the device's proportions. `shot.njk` picks which. */
.shot { position: relative; background: var(--surface); color: var(--paper-soft); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08); }
.shot-computer { border: 1px solid var(--paper-rule); border-radius: 12px; aspect-ratio: 520 / 372; }
.shot-computer .chrome { height: 34px; border-bottom: 1px solid var(--paper-rule); display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.shot-computer .chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--paper-rule); }
.shot-phone { border: 6px solid var(--bezel); border-radius: 26px; aspect-ratio: 178 / 372; }
.shot-phone .chrome { height: 26px; display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.shot-phone .chrome i { width: 60px; height: 8px; border-radius: 4px; background: var(--bezel); }
.shot-body { flex-grow: 1; margin: 12px; border: 1.5px dashed var(--paper-rule); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 13px; line-height: 1.4; }
/* The computer's screenshot is a window capture with its own title bar, so
 * the frame draws none; the phone's keeps its bezel and clips the corners. */
.shot-real { aspect-ratio: auto; }
.shot-real img { display: block; width: 100%; height: auto; }
.shot-computer.shot-real { border-radius: 10px; }

/* ---- status line ------------------------------------------------------ */
.status { border-bottom: 1px solid var(--paper-rule); }
.status .wrap { margin-block: 0; padding-block: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.status dt { font-size: 15px; font-weight: 700; }
.status dd { margin: 0; font-size: 13px; color: var(--paper-soft); }
@media (max-width: 860px) { .status .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- two-column blocks: privacy, pricing ------------------------------ */
.split { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 64px; align-items: start; }
.split-head { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-top: 1px solid var(--hairline); }
.row h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.row p { font-size: 15.5px; color: var(--paper-soft); max-width: 52ch; }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; gap: 8px; } }

/* ---- how it works ----------------------------------------------------- */
.step { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; align-items: center; padding: 36px 0; border-top: 1px solid var(--hairline); }
.step-copy { display: flex; flex-direction: column; gap: 12px; }
.step-copy h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; text-wrap: balance; max-width: 24ch; display: flex; flex-direction: column; gap: 10px; }
.step-copy .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); letter-spacing: 0; }
.step-copy p { font-size: 16px; color: var(--paper-soft); max-width: 50ch; }
.step-art { display: flex; justify-content: center; }
.step-art .shot-phone { width: 240px; }
.step-art .shot-computer { width: 100%; max-width: 440px; }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
@media (max-width: 860px) { .step { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; } }

/* ---- what stays behind ----------------------------------------------- */
/* Each item is struck through in coral. Where the browser can tie an
 * animation to scrolling, the line is drawn as the item comes into view;
 * anywhere else, and under reduced motion, it is simply there. The span
 * carries the line so it follows the words and not the column. */
.leave .split { align-items: center; }
.leave-body { display: flex; flex-direction: column; gap: 24px; }
.leave-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.leave-list li { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; }
.leave-list span { color: var(--band-soft); background: linear-gradient(var(--coral), var(--coral)) no-repeat 0 58% / 100% 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.leave-bring { font-size: 18px; font-weight: 600; }
@keyframes strike { from { background-size: 0% 4px; } to { background-size: 100% 4px; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .leave-list span { animation: strike linear both; animation-timeline: view(); animation-range: entry 80% cover 45%; }
  }
}

/* ---- a picture day, by the clock -------------------------------------- */
/* A rail of taps: the same coral dot the contact sheet puts beside a name,
 * with the time in the gutter. The heading holds still beside it on a wide
 * screen, since the rail is long. */
.day { align-items: start; }
.day-head { position: sticky; top: 32px; }
.moments { list-style: none; margin: 0; padding: 0; }
.moment { display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 24px; }
.moment time { font-size: 15px; font-weight: 700; color: var(--paper-soft); text-align: right; padding-top: 2px; white-space: nowrap; }
.moment-copy { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 0 0 30px 28px; border-left: 2px solid var(--hairline); }
.moment:last-child .moment-copy { padding-bottom: 0; border-left-color: transparent; }
.moment-copy::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--paper-bg); }
.moment-copy h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.moment-copy p { font-size: 15.5px; color: var(--paper-soft); max-width: 52ch; }
@media (max-width: 860px) {
  .day-head { position: static; }
  .moment { grid-template-columns: 1fr; }
  .moment time { text-align: left; padding: 0 0 6px 28px; border-left: 2px solid var(--hairline); }
}

/* ---- screenshots, a row ----------------------------------------------- */
/* The row runs to the window's edges while its first screen lines up with
 * the measure, so the next screen is always cut by the window and never by
 * the column. The edges are the section's width, `cqi`, and not `vw`, which
 * counts a visible scrollbar and would widen the page by it. Focusable for
 * the same reason as the contact sheet. */
.screens { container-type: inline-size; }
.screens-row { --bleed: max(var(--gutter), (100cqi - var(--measure)) / 2); display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--bleed)); padding: 4px var(--bleed) 20px; scroll-padding-inline: var(--bleed); }
.screen { flex: none; width: 220px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.screen .shot-phone { border-width: 5px; border-radius: 28px; }
.screen figcaption { font-size: 15px; font-weight: 600; line-height: 1.35; }
@media (max-width: 860px) { .screen { width: 200px; } }

/* ---- the closing call ------------------------------------------------- */
.close .wrap { gap: 16px; align-items: flex-start; }
.close-title { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; }
.close .actions { margin-top: 8px; }

/* ---- who makes it ----------------------------------------------------- */
.about { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; }
.about-photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--paper-bg); }
.about-copy { display: flex; flex-direction: column; gap: 10px; }
.about-copy .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); }
.about-copy .about-title { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--paper-ink); }
.about-copy p { font-size: 16px; color: var(--paper-soft); max-width: 52ch; }
.about-copy .about-mail { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 220px; } }

/* ---- pricing ---------------------------------------------------------- */
.pricing .split { grid-template-columns: minmax(0, 1fr) 440px; }
.box { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--paper-rule); }
.box .label { font-size: 14px; font-weight: 700; color: var(--paper-soft); }
.box ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.45; }
.box .btn { align-self: flex-start; }
@media (max-width: 860px) { .pricing .split { grid-template-columns: 1fr; } }

/* ---- faq -------------------------------------------------------------- */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.faq-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--hairline); }
.faq-item h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.faq-item p { font-size: 15.5px; color: var(--paper-soft); max-width: 60ch; }
@media (max-width: 860px) { .faq-list { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- footer ----------------------------------------------------------- */
.footer { padding-block: 0 40px; }
.footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 40px; padding-top: 32px; border-top: 1px solid var(--band-rule); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-head { font-size: 13px; font-weight: 700; margin: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-col li { font-size: 14px; color: var(--band-soft); }
.footer-col a { color: var(--band-soft); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 24px; }
.footer-col a:hover { color: var(--band-ink); }
.footer-col .lockup { text-decoration: none; }
.lockup-small .word { font-size: 22px; }
.footer-tagline { font-size: 15px; font-weight: 700; color: var(--band-ink); margin: 4px 0 0; }
.footer-blurb { font-size: 13px; color: var(--band-soft); max-width: 34ch; line-height: 1.5; }
.footer-legal { font-size: 12px; color: var(--band-soft); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---- support ---------------------------------------------------------- */
.support-email { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.25rem, 3vw, 1.625rem); font-weight: 700; overflow-wrap: anywhere; text-underline-offset: 4px; }

/* ---- prose pages ------------------------------------------------------ */
.prose { width: min(720px, 100% - 2 * var(--gutter)); margin-inline: auto; padding-block: 56px 88px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.prose h1 { font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.prose h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-top: 18px; }
.prose h3 { font-size: 18px; font-weight: 700; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose .meta { font-size: 14px; color: var(--paper-soft); }
.prose address { font-style: normal; line-height: 1.6; }
.prose .draft { padding: 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--paper-rule); font-size: 14px; color: var(--paper-soft); }

/* ---- user agent ------------------------------------------------------- */
/* A header string is long and has few spaces, so it wraps inside its own box
 * rather than widening the page at phone width. */
.prose code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88em; overflow-wrap: anywhere; }
.agent-format, .agent-examples code { display: block; padding: 12px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--paper-rule); overflow-wrap: anywhere; line-height: 1.5; }
.prose .agent-examples { list-style: none; padding: 0; gap: 10px; }
.agent-senders { margin: 0; display: flex; flex-direction: column; }
.agent-senders > div { padding: 14px 0; border-top: 1px solid var(--hairline); }
.agent-senders dt { font-weight: 700; }
.agent-senders dd { margin: 4px 0 0; }
