/* Ranger website. One light page in the manner of a Mac app's own site: system type, real screenshots, one teal accent. */

:root {
  --ground: #fbfbfd;
  --band: #f1f4f6;
  --card: #ffffff;
  --ink: #0b1a2a;
  --ink-2: #44546a;
  --ink-3: #5f6e82;
  --line: #dde3ea;
  --accent: #0a7a68;
  --accent-deep: #086354;
  --accent-tint: #e2f4ef;
  --stop: #b3401f;
  --stop-tint: #fbe9e2;
  --amber: #f5a524;
  --night: #0a1a2b;
  --night-2: #12283f;
  --night-ink: #f2f6fa;
  --night-ink-2: #b4c3d4;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-s: 0 1px 2px rgba(11, 26, 42, .06), 0 4px 14px rgba(11, 26, 42, .06);
  --shadow-l: 0 2px 6px rgba(11, 26, 42, .08), 0 30px 60px -18px rgba(11, 26, 42, .32);
  --section: clamp(84px, 11vw, 148px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; scrollbar-color: #b9c4d0 var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--accent); color: #fff; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -.012em; }
p { text-wrap: pretty; }
/* Other languages: long compound words may break, and Chinese, Japanese and Korean keep their own spacing and breaks. */
h1, h2, h3 { overflow-wrap: break-word; }
:lang(de) p, :lang(fi) p, :lang(nl) p, :lang(sv) p, :lang(da) p, :lang(nb) p, :lang(pl) p, :lang(uk) p { hyphens: auto; }
:lang(ja) :is(h1, h2, h3), :lang(ko) :is(h1, h2, h3), :lang(zh-Hant) :is(h1, h2, h3) { letter-spacing: 0; }
:lang(ja) h1, :lang(ko) h1, :lang(zh-Hant) h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.16; }
:lang(ja) h2, :lang(ko) h2, :lang(zh-Hant) h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.22; }
:lang(ja) .hero h1, :lang(ko) .hero h1, :lang(zh-Hant) .hero h1 { max-width: 11em; }
:lang(ja) .biz-hero h1, :lang(ko) .biz-hero h1, :lang(zh-Hant) .biz-hero h1 { max-width: 12em; }
:lang(ja) { line-break: strict; }
:lang(ko) { word-break: keep-all; }
:lang(zh-Hant) { line-break: strict; }

main { overflow-x: clip; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 30; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus, .skip:hover { top: 12px; color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fineprint { font-size: .875rem; line-height: 1.5; color: var(--ink-3); }
.center { text-align: center; margin-inline: auto; max-width: 62ch; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 1.0625rem; text-decoration: none; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 1px 2px rgba(8, 99, 84, .3), 0 8px 20px -8px rgba(8, 99, 84, .55); }
.button:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.98); }
.button-small { min-height: 36px; padding: 0 16px; font-size: .9375rem; box-shadow: none; }
.button-quiet { background: var(--accent-tint); color: var(--accent-deep); box-shadow: none; }
.button-quiet:hover { background: #cdebe3; color: var(--accent-deep); }
.button-light { background: #fff; color: var(--night); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.button-light:hover { background: #e6f5f1; color: var(--night); }
.link-arrow { font-weight: 600; text-decoration: none; padding: 12px 6px; }
.link-arrow::after { content: ""; display: inline-block; width: .5em; height: .5em; margin-left: .4em; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg) translateY(-1px); transition: margin-left .2s var(--ease); }
.link-arrow:hover::after { margin-left: .65em; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(251, 251, 253, .82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-inner, .page .top { display: flex; align-items: center; gap: 24px; min-height: 56px; }
.top-inner { width: min(1120px, 100% - 48px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 700; font-size: 1.125rem; letter-spacing: -.02em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.top-links { display: flex; gap: 4px; margin-left: auto; }
.top-links a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; padding: 8px 12px; border-radius: 8px; transition: color .2s, background-color .2s; }
.top-links a:hover { color: var(--ink); background: rgba(11, 26, 42, .06); }

/* Hero */
.hero { padding: clamp(36px, 5vw, 64px) 0 var(--section); overflow: clip; }
.hero-copy { text-align: center; display: grid; justify-items: center; }
.hero-icon { width: 80px; height: 80px; margin-bottom: 22px; filter: drop-shadow(0 12px 18px rgba(11, 26, 42, .22)); }
.hero h1 { max-width: 15ch; }
.lede { margin-top: 24px; max-width: 34em; font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.42; color: var(--ink-2); }
.cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 22px; }
.hero .fineprint { margin-top: 18px; }
.hero-shot { width: min(1080px, 94vw); margin: clamp(40px, 5vw, 60px) auto 0; }
.hero-shot img, .shot img { width: 100%; filter: drop-shadow(0 2px 5px rgba(11, 26, 42, .12)) drop-shadow(0 36px 44px rgba(11, 26, 42, .26)); }
.hero-shot figcaption { margin: 34px auto 0; max-width: 46ch; text-align: center; color: var(--ink-2); }
/* Sections */
section[id], .band, .closing, .quiet { padding: var(--section) 0; }
.band { background: var(--band); }
.head { max-width: 46rem; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.head p, .prose p { margin-top: 20px; color: var(--ink-2); font-size: 1.1875rem; line-height: 1.5; }
.prose p.strong { color: var(--ink); font-weight: 600; }
.prose b { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); }
#privacy .split, #faq .split { align-items: start; }

/* The evening table */
.ledger { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-s); padding: 8px 24px 12px; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.ledger caption { text-align: left; padding: 18px 0 14px; font-weight: 600; }
.ledger caption span { float: right; font-weight: 400; font-size: .875rem; color: var(--ink-3); }
.ledger th { text-align: left; font-size: .8125rem; font-weight: 500; color: var(--ink-3); padding: 0 0 8px; }
.ledger td { padding: 13px 0; border-top: 1px solid var(--line); }
.ledger td:first-child { font-weight: 600; width: 26%; }
.ledger td:nth-child(2) { color: var(--ink-2); }
.ledger th:last-child, .ledger td:last-child { text-align: right; }
.tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.tag.ok { background: var(--accent-tint); color: var(--accent-deep); }
.tag.stop { background: var(--stop-tint); color: var(--stop); }

/* Three protections, each already switched on */
.switches { max-width: 54rem; margin-inline: auto; border-top: 1px solid var(--line); }
.switches li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 24px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); }
.glyph { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--accent-tint); fill: none; stroke: var(--accent-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.switches p { margin-top: 8px; color: var(--ink-2); max-width: 60ch; }
.switch { width: 52px; height: 32px; border-radius: 999px; background: var(--accent); position: relative; margin-top: 6px; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }

/* The scam at 01:38 */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; margin-bottom: 52px; }
.steps li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); column-gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps time { grid-row: span 2; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-3); padding-top: 2px; }
.steps li:nth-child(3) time { color: var(--accent); }
.steps p { margin-top: 6px; color: var(--ink-2); }
.scene { display: grid; gap: 18px; justify-items: start; }
.bubble { max-width: 21rem; background: #e6e9ee; border-radius: 22px 22px 22px 6px; padding: 12px 16px; font-size: .9375rem; line-height: 1.4; }
.bubble-from { display: block; font-size: .75rem; color: var(--ink-2); margin-bottom: 4px; }
.bubble u { color: #0a5fd1; }
.browser { width: 100%; background: var(--card); border-radius: 14px; box-shadow: var(--shadow-s); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #eceff3; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c6ccd4; }
.browser-bar span { flex: 1; margin-left: 10px; background: #fff; border-radius: 7px; padding: 4px 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-body { padding: 44px 20px 52px; text-align: center; display: grid; gap: 6px; color: var(--ink-3); font-size: .9375rem; }
.browser-body b { color: var(--ink-2); font-size: 1.125rem; }
.notice { justify-self: end; width: min(100%, 24rem); margin-top: -34px; display: flex; gap: 12px; padding: 14px 16px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-l); font-size: .875rem; line-height: 1.4; color: var(--ink-2); position: relative; }
.notice img { flex: none; width: 40px; height: 40px; }
.notice b { display: block; color: var(--ink); }
.notice-app { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
.notice-app i { font-style: normal; }
.scene-note { justify-self: end; font-size: .875rem; color: var(--ink-3); }

/* The questions Ranger never asks */
.quiet { position: relative; background: var(--night); color: var(--night-ink); overflow: hidden; min-height: min(86vh, 760px); display: grid; align-items: center; }
.quiet-copy { position: relative; text-align: center; max-width: 46rem; }
.quiet-copy p { margin-top: 22px; color: var(--night-ink-2); font-size: 1.1875rem; line-height: 1.5; }
.alerts { position: absolute; inset: 0; }
.alert { position: absolute; width: 250px; padding: 16px; border-radius: 16px; background: #eef1f5; color: #1b2a3a; font-size: .8125rem; line-height: 1.35; font-weight: 600; text-align: center; opacity: .2; box-shadow: 0 18px 40px rgba(0, 0, 0, .4); transition: opacity .6s var(--ease), scale .6s var(--ease), translate .6s var(--ease), filter .6s var(--ease); }
.alert span { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.alert i { font-style: normal; font-weight: 500; padding: 5px; border-radius: 7px; background: #d9dee5; }
.alert i:last-child { background: #1f66d6; color: #fff; }
.alert:nth-child(1) { left: 4%; top: 9%; rotate: -4deg; }
.alert:nth-child(2) { right: 5%; top: 6%; rotate: 3deg; transition-delay: .12s; }
.alert:nth-child(3) { left: -2%; top: 44%; rotate: 2deg; transition-delay: .24s; }
.alert:nth-child(4) { right: -1%; top: 46%; rotate: -3deg; transition-delay: .36s; }
.alert:nth-child(5) { left: 8%; bottom: 7%; rotate: 3deg; transition-delay: .48s; }
.alert:nth-child(6) { right: 9%; bottom: 9%; rotate: -2deg; transition-delay: .6s; }

/* For the curious */
.shot { width: min(1080px, 100%); margin-inline: auto; }
.shot-plain img { border-radius: 16px; filter: none; box-shadow: var(--shadow-l); }
.depth { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 6vw, 80px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 44px; }
.features dt { font-weight: 600; }
.features dd { margin-top: 4px; color: var(--ink-2); }
.menubar img { filter: drop-shadow(0 24px 34px rgba(11, 26, 42, .3)); }

/* Setup */
.numbered { counter-reset: step; margin-top: 34px; display: grid; gap: 24px; }
.numbered li { counter-increment: step; position: relative; padding-left: 52px; color: var(--ink-2); }
.numbered li::before { content: counter(step); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: .9375rem; }
.numbered b { display: block; color: var(--ink); }

/* Privacy */
.sends { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 32px; box-shadow: var(--shadow-s); }
.sends dl { margin-top: 8px; }
.sends dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.sends dt { font-weight: 600; }
.sends dd { margin-top: 4px; color: var(--ink-2); }
.sends .fineprint { margin-top: 18px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-bottom: 36px; }
.plan { display: flex; flex-direction: column; background: var(--card); border-radius: 24px; padding: 34px 30px 30px; box-shadow: var(--shadow-s); }
.plan-main { box-shadow: 0 0 0 2px var(--accent), var(--shadow-l); }
.price { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.amount { font: 700 3.25rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.terms { color: var(--ink-3); }
.plan ul { margin: 26px 0 30px; display: grid; gap: 12px; color: var(--ink-2); }
.plan li { position: relative; padding-left: 28px; }
.plan li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 13px; height: 7px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.plan .button { margin-top: auto; }

/* Questions */
.answers { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 2px; font-weight: 600; font-size: 1.125rem; cursor: pointer; list-style: none; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .3s var(--ease); }
summary:hover { color: var(--accent-deep); }
details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
details p { padding: 0 40px 24px 2px; color: var(--ink-2); max-width: 68ch; }

/* Closing */
.closing { background: var(--night); color: var(--night-ink); text-align: center; }
.closing .wrap { display: grid; justify-items: center; }
.closing img { margin-bottom: 26px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); }
.closing p { margin: 18px 0 34px; color: var(--night-ink-2); font-size: 1.1875rem; }

/* Footer */
.foot { background: var(--night); color: var(--night-ink-2); padding: 0 0 56px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 22px 40px; align-items: center; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .12); }
.foot .brand, .foot .brand:hover { color: var(--night-ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: flex-end; }
.foot nav a { color: var(--night-ink-2); text-decoration: none; font-size: .9375rem; padding: 6px 0; }
.foot nav a:hover { color: #fff; }
.foot .fineprint { grid-column: 1 / -1; color: #93a5b9; max-width: 80ch; }
.foot .langs { grid-column: 1 / -1; justify-content: flex-start; gap: 2px 18px; }
.foot .langs a { font-size: .875rem; color: #93a5b9; padding: 6px 0; }
.foot .langs a:hover, .foot .langs a[aria-current] { color: var(--night-ink); }
.foot :focus-visible, .closing :focus-visible { outline-color: #7fe0c8; }

/* Plain pages: privacy policy, terms, not found */
.page { min-height: 100vh; }
.page .top { position: static; width: min(1120px, 100% - 48px); margin-inline: auto; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.page article { width: min(42em, 100% - 48px); margin: 0 auto; padding: 56px 0 110px; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); margin-bottom: 14px; }
.page h2 { font-size: 1.5rem; letter-spacing: -.018em; margin: 44px 0 12px; }
.page p, .page li { color: var(--ink-2); margin-bottom: 12px; }
.page article ul { list-style: disc; padding-left: 22px; }
.page .draft { background: #fff3d6; border: 1px solid #e2b85c; color: #5d4300; border-radius: 12px; padding: 14px 18px; margin: 24px 0; }

@media (max-width: 900px) {
  .split, .split-wide, .story-grid, .depth { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 30rem; margin-inline: auto; }
  .menubar { max-width: 320px; margin-inline: auto; }
  .alert:nth-child(n+3):nth-child(-n+4) { display: none; }
  .alert { width: 210px; }
  .alert:nth-child(1) { left: -6%; top: 3%; } .alert:nth-child(2) { right: -6%; top: 5%; }
  .alert:nth-child(5) { left: -5%; bottom: 3%; } .alert:nth-child(6) { right: -6%; bottom: 4%; }
  .quiet { padding-block: 190px; }
}
@media (max-width: 760px) {
  .top-inner .top-links { display: none; }
  .top-inner .button { margin-left: auto; }
  .page .top { flex-wrap: wrap; gap: 4px 16px; padding-block: 10px; }
  .page .top-links { margin-left: -12px; flex-wrap: wrap; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .switches li { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .switches .switch { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
  .ledger { padding-inline: 16px; }
  .ledger caption span { float: none; display: block; margin-top: 2px; }
  .sends { padding: 24px 20px; }
  details p { padding-right: 8px; }
}
@media (max-width: 520px) {
  .alert:nth-child(2), .alert:nth-child(5) { display: none; }
  .alert:nth-child(1) { left: 6%; } .alert:nth-child(6) { right: 6%; }
  .quiet { padding-block: 170px; }
}
/* Motion. Each section acts out what Ranger does. Everything below applies only once the script has put
   "motion" on <html>, so a page without the script, or a reader who asked for less motion, sees it all at rest. */
.hero-shot picture, .shot picture, .menubar picture { display: block; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.closing { position: relative; overflow: hidden; }
.closing .wrap { position: relative; }
.browser-load { height: 3px; background: var(--accent); transform-origin: 0 50%; scale: 0 1; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero .w { display: inline-block; animation: word .9s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
  .hero-icon { animation: drop .9s var(--ease) both; }
  .hero .lede, .hero .cta, .hero .fineprint { animation: settle .9s var(--ease) both .75s; }
  .hero .cta { animation-delay: .87s; } .hero .fineprint { animation-delay: .99s; }
  .hero-shot { animation: rise 1.2s var(--ease) both .55s; }
  @keyframes word { from { opacity: 0; translate: 0 .45em; filter: blur(10px); } }
  @keyframes drop { from { opacity: 0; scale: .6; translate: 0 -18px; } }
  @keyframes settle { from { opacity: 0; translate: 0 14px; } }
  @keyframes rise { from { opacity: 0; translate: 0 70px; } }
  @keyframes stamp { 0% { scale: 1.9; opacity: 0; } 60% { scale: .92; opacity: 1; } 100% { scale: 1; } }
  @keyframes glow { 50% { filter: drop-shadow(0 0 34px rgba(245, 165, 36, .55)) drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); } }

  /* The window lies back as it arrives and stands up as you scroll to it. */
  .motion .hero-shot picture { transform-origin: 50% 100%; transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 16deg)) scale(calc(.9 + var(--p, 1) * .1)); }
  .motion .shot picture { transform-origin: 50% 100%; transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 10deg)) scale(calc(.9 + var(--p, 1) * .1)); }
  .motion .menubar picture { transform: translateY(calc((1 - var(--p, 1)) * 70px)) rotate(calc((1 - var(--p, 1)) * 5deg)); }

  /* The evening's connections arrive one at a time, each with its verdict. */
  .motion .ledger tr { transition: opacity .5s var(--ease), translate .5s var(--ease); transition-delay: calc(var(--i) * 170ms); }
  .motion .ledger tbody:not(.is-in) tr { opacity: 0; translate: -14px 0; }
  .motion .ledger tbody:not(.is-in) .tag { opacity: 0; }
  .motion .ledger tbody.is-in .tag { animation: stamp .45s var(--ease) both; animation-delay: calc(var(--i) * 170ms + 260ms); }

  /* Three switches go on, one after another. */
  .motion .switch, .motion .switch::after, .motion .glyph { transition: background-color .45s, translate .45s var(--ease), stroke .45s; }
  .motion .switches li:not(.is-on) .switch { background: #c3ccd6; }
  .motion .switches li:not(.is-on) .switch::after { translate: -20px 0; }
  .motion .switches li:not(.is-on) .glyph { background: #e9edf1; stroke: var(--ink-3); }

  /* The scam, step by step. */
  .motion .steps li > * { transition: opacity .4s; }
  .motion .story-track.is-pinned .steps li:not(.is-now) > * { opacity: .32; }
  .motion .bubble, .motion .browser, .motion .notice, .motion .scene-note, .motion .browser-body, .motion .bubble u { transition: opacity .55s var(--ease), translate .7s var(--ease), scale .7s var(--ease), color .4s; }
  .motion .bubble { transform-origin: 0 100%; }
  .motion .story-track[data-step="0"] .bubble { opacity: 0; scale: .7; }
  .motion .story-track:is([data-step="0"], [data-step="1"]) .browser { opacity: 0; translate: 0 34px; scale: .96; }
  .motion .story-track:is([data-step="0"], [data-step="1"], [data-step="2"]) :is(.notice, .scene-note) { opacity: 0; translate: 60px 0; }
  .motion .story-track:is([data-step="0"], [data-step="1"], [data-step="2"]) .browser-body { opacity: 0; }
  .motion .story-track[data-step="2"] .browser-load { opacity: 1; scale: .62 1; transition: scale 2.4s cubic-bezier(.2, .6, .2, 1); }
  .motion .story-track:is([data-step="3"], [data-step="4"]) .browser-load { opacity: 0; scale: .62 1; background: var(--stop); transition: opacity .5s .2s, background-color .2s; }
  .motion .story-track[data-step="4"] .bubble { opacity: .45; }
  .motion .story-track[data-step="4"] .bubble u { color: var(--ink-3); text-decoration: line-through; }

  /* The questions pile up, then there is quiet. */
  .motion .quiet-copy { transition: opacity .9s var(--ease), scale .9s var(--ease); }
  .motion .quiet:not(.is-cleared) .quiet-copy { opacity: .3; scale: .97; }
  .motion .quiet:not(.is-piling) .alert { opacity: 0; scale: .6; }
  .motion .quiet.is-piling .alert { opacity: .95; }
  .motion .quiet.is-cleared .alert { opacity: 0; scale: .8; translate: 0 40px; filter: blur(10px); }

  /* Plans arrive as the list they are. */
  .motion .plan { transition: opacity .7s var(--ease), translate .7s var(--ease); }
  .motion .plan:nth-child(2) { transition-delay: .1s; } .motion .plan:nth-child(3) { transition-delay: .2s; }
  .motion .plans:not(.is-in) .plan { opacity: 0; translate: 0 36px; }

  .motion .closing.is-lit img { animation: glow 4.5s ease-in-out infinite; }
}
@media (min-width: 901px) and (min-height: 640px) and (prefers-reduced-motion: no-preference) {
  .motion .story-track.is-pinned { height: 270vh; margin-bottom: 52px; }
  .motion .story-track.is-pinned .story-grid { position: sticky; top: max(84px, calc(50vh - 250px)); margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* Business page */
.eyebrow { font-size: .9375rem; font-weight: 600; color: var(--accent-deep); letter-spacing: .01em; margin-bottom: 16px; }
.biz-hero { padding-bottom: clamp(56px, 8vw, 104px); }
.biz-hero h1 { max-width: 16ch; }
.biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.biz-card { background: var(--card); border-radius: 22px; padding: 30px 28px; box-shadow: var(--shadow-s); }
.biz-card p { margin-top: 10px; color: var(--ink-2); }
.biz-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; counter-reset: none; }
.biz-steps li { border-top: 1px solid var(--line); padding-top: 26px; }
.biz-steps p { margin-top: 10px; color: var(--ink-2); }
.biz-step { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 16px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.biz-price { max-width: 30rem; margin: 0 auto 28px; background: var(--card); border-radius: 24px; padding: 36px 34px 32px; box-shadow: 0 0 0 2px var(--accent), var(--shadow-l); display: flex; flex-direction: column; }
.biz-price .price { margin-top: 0; }
.biz-price ul { margin: 26px 0 30px; display: grid; gap: 12px; color: var(--ink-2); }
.biz-price li { position: relative; padding-left: 28px; }
.biz-price li::before { content: ""; position: absolute; left: 3px; top: .38em; width: 13px; height: 7px; border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.biz-contact { align-items: start; }
.biz-contact .prose .fineprint { margin-top: 28px; }

.biz-form, .biz-sent { background: var(--card); border-radius: 24px; padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow-l); }
.biz-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 600; font-size: .9375rem; }
.optional { font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--ground);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.45; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c4ced9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(10, 122, 104, .16); }
.field [aria-invalid="true"] { border-color: var(--stop); background-color: #fff; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 64, 31, .14); }
.field-error { color: var(--stop); font-size: .875rem; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.biz-send { justify-self: start; min-width: 140px; border: 0; cursor: pointer; font-family: inherit; }
.biz-send[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-status { min-height: 1.4em; font-size: .9375rem; color: var(--stop); }
.biz-sent { display: grid; justify-items: start; gap: 12px; }
.biz-sent[hidden] { display: none; }
.biz-sent p { color: var(--ink-2); }
.biz-sent:focus { outline: none; }

@media (max-width: 900px) {
  .biz-grid { grid-template-columns: 1fr 1fr; }
  .biz-steps { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .biz-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .biz-send { justify-self: stretch; }
}

/* Legal pages: the link to the same page in the other language. */
.page .lang-switch { margin: -4px 0 18px; font-size: .9375rem; }

/* Guides: the articles at /guides/, written by Scripts/build-guides.py. A reading column, the site's ink and teal. */
.guide .top .button-small { margin-left: 8px; }
.guide article { width: min(40rem, 100% - 48px); padding-top: 40px; }
.guide h1 { line-height: 1.08; }
.guide .byline { font-size: .9375rem; color: var(--ink-3); margin: 8px 0 28px; }
.guide .in-short { background: var(--accent-tint); border-radius: 22px; padding: 20px 24px; margin-bottom: 8px; }
.guide .in-short p { color: var(--ink); margin: 0; }
.guide article > p, .guide article > ul > li, .guide article > ol > li { line-height: 1.62; }
.guide h2 { margin: 52px 0 14px; scroll-margin-top: 24px; }
.guide h3 { margin: 32px 0 10px; scroll-margin-top: 24px; }
.guide article ol { list-style: decimal; padding-left: 24px; }
.guide article li { margin-bottom: 8px; padding-left: 4px; }
.guide article li::marker { color: var(--ink-3); }
.guide strong { color: var(--ink); font-weight: 600; }
.guide code { font: .875em/1.4 ui-monospace, "SF Mono", Menlo, monospace; background: var(--band); border-radius: 6px; padding: .12em .4em; color: var(--ink); }
.guide pre { background: var(--night); color: var(--night-ink); border-radius: 14px; padding: 16px 20px; margin: 8px 0 20px; overflow-x: auto; }
.guide pre code { background: none; color: inherit; padding: 0; font-size: .9375rem; }
.guide :not(pre) > code { overflow-wrap: anywhere; }
.guide figure { margin: 36px 0; }
.guide figure img { border-radius: 14px; box-shadow: var(--shadow-l); }
.guide figcaption { margin-top: 16px; font-size: .875rem; color: var(--ink-3); }
.guide .table { overflow-x: auto; margin: 20px 0 28px; }
.guide table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.guide th, .guide td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.guide thead th { color: var(--ink); font-weight: 600; border-bottom-color: #b9c4d0; }
.guide tbody th { color: var(--ink); font-weight: 600; }
.guide-cta { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 64px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-s); }
.guide-cta img { border-radius: 16px; }
.guide .guide-cta h2 { margin: 2px 0 8px; font-size: 1.25rem; }
.guide .guide-cta p { margin-bottom: 0; }
.guide .guide-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 20px; }
.guide .related { margin-top: 64px; }
.guide .related h2 { font-size: 1.25rem; margin: 0 0 16px; }
.guide .guide-cards { display: grid; gap: 12px; list-style: none; padding: 0; }
.guide .guide-cards li { margin: 0; padding: 0; }
.guide-cards a { display: grid; gap: 4px; height: 100%; padding: 20px 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.guide-cards a:hover { border-color: #b9c4d0; box-shadow: var(--shadow-s); transform: translateY(-1px); }
.guide-card-title { font-weight: 600; color: var(--ink); font-size: 1.0625rem; line-height: 1.35; }
.guide-card-text { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; }
.guide-card-meta { color: var(--ink-3); font-size: .875rem; margin-top: 6px; }
.guide .guide-index { width: min(60rem, 100% - 48px); }
.guide .guide-index .lede { font-size: 1.1875rem; max-width: 36em; margin: 6px 0 36px; }
.guide .guide-index .guide-cards { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 16px; }
@media (max-width: 760px) {
  .guide .top .button-small { order: 2; margin-left: auto; }
  .guide .top .top-links { order: 3; width: 100%; }
}
@media (max-width: 560px) {
  .guide-cta { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .guide-cta img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-cards a { transition: none; }
  .guide-cards a:hover { transform: none; }
}
.guide .guide-index h2 { font-size: 1.25rem; margin: 44px 0 16px; }
.guide .guide-index section:first-of-type h2 { margin-top: 8px; }
