/* Luff, landing. The clouds behind the hero and the footer are drawn by backend/tools/hub/hero.py; the recipe, the
   checklist on two devices and the pencil over Pricing and Sync come from the app (backend/tools/hub/live.py). */

@import url("/assets/brand/fonts/jakarta.css");
@font-face { font-family: "Reenie Beanie"; font-weight: 400; font-display: swap; src: url("fonts/reenie-beanie-latin-400-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --blue: #3980ef;
  --blue-band: #2c6bd8;
  --bg: #0d1219;
  --bg-2: #171f29;
  --ink: #f2f5f8;
  --ink-2: #b3bfca;
  --ink-3: #8796a4;
  --line: rgba(255, 255, 255, .12);
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 80px);
  --w: min(max(1440px, 50vw), 100vw - 2 * var(--gutter));
  --band: clamp(72px, 4.4vw, 112px);
  --pad: clamp(24px, 1.7vw, 40px);
  --h1: clamp(42px, 3.2vw, 76px);
  --h2: clamp(32px, 2.1vw, 48px);
  --lead: clamp(17px, .78vw, 20px);
  --r: 20px;
  --r-big: clamp(20px, 1.2vw, 30px);
  --top-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-padding-top: var(--top-h); }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { flex: 1; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid #8fb9ff; outline-offset: 3px; border-radius: 6px; }
.wrap { width: var(--w); margin-inline: auto; }
h1, h2 { font-weight: 700; letter-spacing: -.034em; line-height: 1.06; text-wrap: balance; }
h2 { font-size: var(--h2); }
.lead { font-size: var(--lead); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.soon { font-family: var(--sans); font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0; color: var(--ink-3); white-space: nowrap; }
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; }
/* small icons that name what a part can do */
.acts { display: flex; flex-wrap: wrap; gap: 12px clamp(18px, 1.5vw, 34px); }
.acts li { display: flex; align-items: center; gap: 10px; font-size: clamp(15.5px, .66vw, 17px); font-weight: 600; white-space: nowrap; }
.acts svg { width: 21px; height: 21px; flex: none; }

/* header */
/* The header stays at the top while the page scrolls, so Download is always one press away (his ask, 29 Nov). It is clear
   over the page's top and takes the page's own dark ground, with a hairline, once the page has moved. */
.top { position: sticky; top: 0; z-index: 20; transition: background-color .2s, box-shadow .2s; }
.top.is-stuck { background: rgba(13, 18, 25, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
@media (prefers-reduced-motion: reduce) { .top { transition: none; } }
.top.is-home + .hero { margin-top: calc(-1 * var(--top-h)); padding-top: var(--top-h); }
.top-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; justify-self: start; }
.brand .mark { width: 30px; height: 30px; }
.brand .word { height: 18px; width: auto; }
.brand .soon { margin-left: 2px; padding-top: 5px; }
.top nav { display: flex; align-items: center; gap: clamp(20px, 2vw, 36px); }
.top nav, .top .acct { font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, .74); white-space: nowrap; }
.top-end { display: flex; align-items: center; gap: clamp(16px, 1.4vw, 26px); justify-self: end; }
.top .acct { display: inline-flex; align-items: center; gap: 12px; }
.top.is-home .brand .soon { color: rgba(255, 255, 255, .66); }
/* what is not there yet: struck through by Luff's pencil, with a word in one of its hands */
.struck { position: relative; text-decoration: line-through; }
.struck.is-drawn { text-decoration: none; }
.struck svg { position: absolute; left: 0; top: 0; overflow: visible; max-width: none; pointer-events: none; rotate: -2.4deg; }
.struck path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.by-hand { font: 400 21.5px/1 "Reenie Beanie", cursive; word-spacing: -.2em; color: rgba(255, 255, 255, .82); white-space: nowrap; rotate: -3deg; }
.top nav .by-hand { margin-left: calc(12px - clamp(20px, 2vw, 36px)); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 54px; padding: 0 28px; border-radius: 999px; background: #fff; color: #0d1726; font-size: 17px; font-weight: 600; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #e4ebf4; }
.btn svg { width: 19px; height: 19px; }
.btn.sm { min-height: 40px; padding: 0 20px; font-size: 15px; }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.get { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.get-note { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.stores { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.store { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); font-size: 14px; font-weight: 600; white-space: nowrap; }
.store > span { display: inline-flex; align-items: baseline; gap: 6px; }
.store small { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .72); }
.store svg { width: 15px; height: 15px; flex: none; }

/* hero: the window stands in a place. --u is one unit of the drawn picture. */
.hero { position: relative; overflow: clip; isolation: isolate; background: var(--far, #060a16); --u: max(1px, 100vw / 2880); --pic-w: 2560; --win-w: 1440; --win-h: 588; --foot: 260; --front-w: 2040; }
@media (min-width: 2561px) { .hero { --pic-w: 3440; } }
.hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px var(--gutter) 0; }
.hero-icon { width: clamp(64px, 3.3vw, 88px); height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .4)); }
.hero h1 { font-size: var(--h1); margin-top: clamp(14px, .9vw, 24px); color: #fff; }
.hero .lead { text-wrap: balance; margin-top: clamp(10px, .7vw, 18px); color: rgba(240, 243, 250, .88); font-size: clamp(17px, .86vw, 22px); }
.hero .get { justify-content: center; margin-top: clamp(20px, 1.1vw, 28px); }
.hero .stores { justify-content: center; gap: 10px; margin-top: 12px; }
.hero .btn:not(.sm) { min-height: 46px; padding: 0 24px; gap: 9px; font-size: 14.5px; box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.hero .btn:not(.sm) svg { width: 17px; height: 17px; }
.hero .get { gap: 14px; }
.hero .store { gap: 8px; height: 36px; padding: 0 13px; background: rgba(12, 14, 20, .56); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .84); font-size: 12.5px; font-weight: 500; }
.hero .store small { font-size: 11px; color: rgba(255, 255, 255, .48); }
.hero .store svg { width: 14px; height: 14px; }
.hero .os-note { font-size: 12px; color: rgba(255, 255, 255, .48); padding-left: 4px; }
.hero .get-note { font-size: 13px; color: rgba(235, 239, 247, .68); }
.place { position: absolute; z-index: 0; left: 50%; bottom: 0; width: calc(var(--pic-w) * var(--u)); transform: translateX(-50%); }
.place img { width: 100%; max-width: none; -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%); }
.place-front { position: absolute; z-index: 3; left: 50%; bottom: 0; width: calc(var(--front-w) * var(--u)); transform: translateX(-50%); pointer-events: none; }
.place-front img { width: 100%; max-width: none; }
.stage { position: relative; z-index: 1; width: calc(var(--win-w) * var(--u)); height: calc(var(--win-h) * var(--u) + 16px); margin: clamp(24px, 1.5vw, 42px) auto calc(var(--foot) * var(--u) - 16px); overflow: hidden; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 70px rgba(3, 6, 16, .5); }
.stage img { width: 100%; max-width: none; }
@media (max-width: 1759px) { .hero { --u: calc(100vw / 1440); --pic-w: 1440; --win-w: 1140; --win-h: 465; --foot: 222; --front-w: 1440; } }

/* styles: a blue panel */
.styles { padding-top: clamp(36px, 2.8vw, 72px); }
.styles-in { position: relative; overflow: hidden; border-radius: var(--r-big); background: var(--blue-band); color: #fff; padding-top: clamp(48px, 3.2vw, 80px); --pw: calc(var(--w) * .28); }
.styles .top-words { text-align: center; padding-inline: 24px; }
.styles .lead { color: rgba(255, 255, 255, .95); margin: 16px auto 0; max-width: 34em; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(22px, 1.4vw, 34px) auto 0; padding-inline: 16px; }
.chip { font: inherit; font-size: 15px; font-weight: 600; color: #fff; background: rgba(8, 26, 70, .24); border: 0; border-radius: 999px; padding: 8px 17px; cursor: pointer; }
.chip:hover { background: rgba(8, 26, 70, .4); }
.chip[aria-pressed="true"] { background: #fff; color: #153469; }
.fan { position: relative; height: calc(var(--pw) * 1.02); margin-top: clamp(34px, 2.4vw, 60px); }
.fan figure { position: absolute; left: 50%; top: calc(var(--pw) * .02); width: var(--pw); margin-left: calc(var(--pw) / -2); transform-origin: 50% calc(var(--pw) * 6.1); transform: rotate(calc(var(--k) * 5deg)) translateY(calc(var(--a) * 1.6%)); z-index: calc(10 - var(--a)); cursor: pointer; animation: fan 7s ease-in-out infinite alternate paused; }
.fan.is-set figure { transition: transform .75s cubic-bezier(.3, .7, .2, 1), opacity .5s ease-out; }
.fan.is-seen figure { animation-play-state: running; }
@keyframes fan { from { rotate: calc(var(--k) * -.1deg); } to { rotate: calc(var(--k) * .1deg); } }
@media (prefers-reduced-motion: reduce) { .fan figure, .fan.is-set figure { animation: none; transition: none; } }
.fan img { width: 100%; border-radius: 7px; box-shadow: 0 2px 5px rgba(7, 24, 58, .3), 0 22px 50px rgba(7, 24, 58, .42); }

/* canvas: the board from one edge of the screen to the other */
.board { position: relative; background: #f2ecdc; color: #2c2a1f; overflow: clip; height: max(1240px, 49.5vw); margin-top: var(--band); }
.board .pic { position: absolute; left: 50%; bottom: 0; width: max(2560px, 100vw); transform: translateX(-50%); }
.board .pic img { width: 100%; max-width: none; }
.board .head { position: relative; z-index: 1; padding-top: clamp(40px, 2.7vw, 76px); }
.board .acts svg { color: #6d674c; }

/* kinds: panels, each on its page's own paper */
.kinds { padding-top: var(--band); }
.kinds .head { margin-bottom: clamp(28px, 2vw, 52px); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, .95vw, 24px); }
.panel { position: relative; overflow: hidden; border-radius: var(--r); background: var(--p); color: var(--pi); min-height: max(460px, var(--w) * .361); padding: var(--pad); isolation: isolate; }
.panel h3 { font-size: clamp(22px, 1.12vw, 30px); font-weight: 700; letter-spacing: -.024em; line-height: 1.12; color: var(--ph, var(--pi)); }
.panel p { margin-top: 8px; font-size: clamp(15.5px, .66vw, 17px); line-height: 1.48; color: var(--ps); max-width: 25em; text-wrap: pretty; }
.panel .art { position: absolute; z-index: -1; max-width: none; }
.view { position: absolute; z-index: -1; left: 0; right: 0; top: max(154px, var(--w) * .1195); bottom: 0; overflow: hidden; }
.view img { max-width: none; }
.p-travel, .p-recipe { min-height: max(456px, var(--w) * .347); }
.p-travel { grid-column: span 7; --p: #24405a; --pi: #fff; --ps: rgba(255, 255, 255, .86); }
.p-recipe { grid-column: span 5; --p: #fefdf5; --pi: #35271a; --ph: #8a5a36; --ps: #6a5947; }
.p-lab { grid-column: span 4; --p: #1c1f22; --pi: #f1f2f3; --ps: #b3babf; }
.p-paper { grid-column: span 4; --p: #dde8ea; --pi: #10202c; --ps: #51636f; }
.p-journal { grid-column: span 4; --p: #f2f7fa; --pi: #10202c; --ps: #51636f; }
.p-lab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); pointer-events: none; }
.p-travel p { max-width: 18.5em; }
.p-travel .globe { width: 74%; right: -9%; top: 17.5%; }
.p-travel .map { position: absolute; z-index: 0; left: var(--pad); bottom: var(--pad); width: 52%; aspect-ratio: 1.788; border-radius: 6px; overflow: hidden; background: #fef7f9; box-shadow: 0 24px 60px rgba(6, 18, 30, .5); }
.p-travel .map img { max-width: none; width: 121.2%; transform: translate(-8.7%, -15.4%); }
.p-recipe .view { overflow: clip; }
.p-recipe .view img { width: 108%; transform: translate(-3.2%, -6%); }
.p-lab .view { mix-blend-mode: lighten; }
.p-lab .view img { width: 110%; transform: translate(-4.3%, -6.5%); }
.p-paper .view { left: var(--pad); right: var(--pad); border-radius: 10px 10px 0 0; box-shadow: 0 0 0 1px rgba(16, 32, 44, .1), 0 18px 50px rgba(16, 32, 44, .14); background: #fff; }
.p-paper .view img { width: 216%; transform: translate(-26.9%, -30.9%); }
.p-journal .view img { width: 178%; transform: translate(-18%, -14.2%); }

/* PDFs: one pale panel */
.pdfs { padding-top: var(--band); }
.pdfs-in { display: grid; grid-template-columns: minmax(0, 4.1fr) minmax(0, 8fr); gap: clamp(24px, 2.2vw, 52px); background: #dfe8ef; color: #0f1c27; border-radius: var(--r-big); overflow: hidden; padding: clamp(32px, 2.3vw, 52px) 0 0 clamp(24px, 2.3vw, 52px); }
.pdfs .words { padding-bottom: 36px; }
.pdfs h2 { font-size: clamp(28px, 1.95vw, 46px); }
.named { display: flex; align-items: center; gap: clamp(14px, .9vw, 24px); }
.file { flex: none; width: clamp(50px, 3vw, 74px); margin-left: -6px; }
.pdfs .acts { margin-top: clamp(22px, 1.4vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.pdfs .acts svg { color: #2a6ad6; }
.pdfs-shot { position: relative; height: max(500px, var(--w) * .427); }
.pdfs-shot .win { position: absolute; left: 0; top: 0; width: 124.7%; height: 100%; overflow: hidden; border-radius: 12px 0 0 0; box-shadow: 0 0 0 1px rgba(15, 28, 39, .12), 0 24px 70px rgba(15, 28, 39, .2); }
.pdfs-shot .win img { width: 100%; max-width: none; }
.pdfs-shot .dialog { position: absolute; left: calc(var(--w) * -.044); bottom: clamp(20px, 1.3vw, 34px); width: max(280px, var(--w) * .236); border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15, 28, 39, .1), 0 26px 60px rgba(15, 28, 39, .32); }

/* books: the reader alone */
.books { padding-top: var(--band); }
.books .acts svg { color: rgba(255, 255, 255, .72); }
.books .file { width: clamp(48px, 2.5vw, 62px); margin-left: -5px; }
.reader { margin-top: clamp(24px, 1.8vw, 44px); aspect-ratio: 1440 / 660; overflow: hidden; border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
.reader img { width: 100%; }

/* finish: Luff is free, and Sync told by one checklist on a computer and on a phone */
.finish { color: #fff; padding: var(--band) 0; }
.finish-in { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: clamp(14px, .95vw, 24px); }
.free, .sync { --in: clamp(28px, 2.3vw, 52px); border-radius: var(--r-big); }
.free { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; background: var(--blue-band); padding: var(--in); }
.free .offer + .offer { margin-top: auto; }
.offer .lead { color: rgba(255, 255, 255, .95); margin-top: 14px; max-width: 24em; text-wrap: balance; }
.offer .stores { margin-top: 16px; }
.offer .store { background: rgba(12, 14, 20, .56); border-color: rgba(255, 255, 255, .14); color: #fff; font-weight: 500; }
.offer .store small { font-size: 12.5px; color: rgba(255, 255, 255, .68); }
.offer .get-note, .offer .os-note { color: rgba(255, 255, 255, .95); }
.offer .os-note { font-size: 14px; font-weight: 500; padding-left: 2px; }
.os-note { text-decoration: none; }
.os-note:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.sync { container-type: inline-size; position: relative; display: flex; flex-direction: column; background: #11294d; overflow: hidden; }
.sync-words { padding: var(--in) 0 0 var(--in); width: 58cqw; }
.sync h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.sync .soon { color: rgba(255, 255, 255, .95); font-size: 15px; }
.sync .lead { color: rgba(255, 255, 255, .95); margin-top: 14px; text-wrap: balance; }
.sync .acts { margin-top: 18px; }
.sync .acts svg { color: rgba(255, 255, 255, .8); }
.desk { flex: 1 0 33cqw; position: relative; }
.computer { position: absolute; left: var(--in); top: clamp(26px, 3.6cqw, 44px); bottom: 0; width: 86cqw; overflow: hidden; border-radius: 12px 12px 0 0; background: #fffdf5; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 24px 60px rgba(3, 12, 32, .4); }
.phone { position: absolute; z-index: 1; right: var(--in); top: 7.4cqw; width: 34cqw; padding: .95cqw; border-radius: 4.4cqw; background: #0a0e14; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 26px 60px rgba(3, 12, 32, .36); }
.phone .screen { border-radius: 3.5cqw; overflow: hidden; }
.screen { position: relative; }
.screen img { width: 100%; }
.line { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.line span { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease-out; }
.line.is-turned span { opacity: 1; }
.line:focus-visible { outline: 2px solid #2f6fdc; outline-offset: 0; }

/* foot: its words are in the sky of the hero's own place, after dark, with the icon where the window stood */
.foot { position: relative; isolation: isolate; overflow: clip; background: var(--bg); --fu: max(1px, 100vw / 2880); height: calc(640 * var(--fu)); }
.foot a { text-decoration: none; }
.foot small { font-size: 14px; color: rgba(255, 255, 255, .74); }
/* the corner under everything: the copyright, then FAQ, Licence and Privacy as small and quiet as it (his ask of
   27 Nov: "more hidden ... not near the X handle"); the languages stand in the other corner (lang.js) */
.foot-fine { grid-row: 3; grid-column: 1; align-self: center; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 14px; color: rgba(255, 255, 255, .74); }
.foot-fine small { margin-right: 6px; }
.foot-fine a:hover, .foot-fine [aria-current] { color: #fff; }
/* one Download per computer: os.js says which on <html data-os> */
html[data-os="mac"] .os-win, html:not([data-os="mac"]) .os-mac { display: none; }
.foot-links, .foot-devices { display: flex; font-size: 17px; font-weight: 600; }
.foot-links { align-items: center; align-self: start; gap: 18px; color: rgba(255, 255, 255, .82); }
.foot-links .struck { line-height: 36px; }
.foot-links .by-hand { font-size: 24px; }
.foot-links { flex-wrap: wrap; row-gap: 10px; }
.foot-x { flex-basis: 100%; display: flex; align-items: center; gap: 11px; min-height: 36px; }   /* a line of its own, as a device row */
.foot-x svg { width: 17px; height: 17px; flex: none; }
.foot-x:hover span { text-decoration: underline; text-underline-offset: 5px; }
.foot-devices { flex-direction: column; gap: 10px; min-width: 318px; }
.foot-devices a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-devices a, .foot-devices li > span { display: flex; align-items: center; gap: 11px; min-height: 36px; }
.foot-devices svg { width: 18px; height: 18px; flex: none; }
.foot-devices .is-later svg { opacity: .8; }
.foot-devices .state { margin-left: auto; font-size: 15px; font-weight: 400; color: rgba(255, 255, 255, .62); }
.foot-devices .is-on .state { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: 999px; background: #fff; color: #10151d; font-weight: 600; }
.foot-devices .is-on:hover .state { background: #e4ebf4; }
.foot-scene { position: absolute; inset: 0; z-index: -1; }
.foot-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgba(6, 9, 18, .62) 18%, rgba(6, 9, 18, .34) 38%, transparent 62%); }   /* starts as the page, so no edge shows */
.foot-back, .foot-front, .foot-tile { position: absolute; left: 50%; bottom: 0; translate: -50% 0; max-width: none; }
.foot-back { width: calc(3440 * var(--fu)); -webkit-mask-image: linear-gradient(transparent, #000 40px); mask-image: linear-gradient(transparent, #000 40px); }
.foot-front { width: calc(352 * var(--fu)); }
.foot-tile { width: calc(132 * var(--fu)); height: calc(132 * var(--fu)); bottom: calc(120 * var(--fu)); }
.foot-in { height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: clamp(40px, 3vw, 72px) 0 clamp(20px, 1.4vw, 32px); }

/* other pages */
.subpage { padding: clamp(40px, 4vw, 96px) 0 var(--band); }
.sub-head h1 { font-size: clamp(40px, 3.2vw, 74px); display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.sub-head .lead { margin-top: 16px; max-width: 34em; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(16px, 1.2vw, 28px); margin-top: clamp(32px, 2.6vw, 60px); }
.plans { margin-top: clamp(16px, 1.2vw, 28px); }
.cols.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.cols.four { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.cols.four .box h2 { flex-wrap: wrap; }
.box { display: flex; flex-direction: column; border-radius: var(--r); background: var(--bg-2); padding: var(--pad); }
.box h2 { font-size: clamp(25px, 1.5vw, 36px); display: flex; align-items: baseline; gap: 14px; }
.box .stores, .box .store { align-self: flex-start; }
.box .lead { margin-top: 12px; }
.box-act { margin-top: auto; padding-top: 28px; }
.cmp { width: 100%; border-collapse: collapse; margin-top: 20px; }
.cmp th, .cmp td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line); vertical-align: top; }
.cmp th { font-weight: 600; }
.cmp thead th { border-top: 0; font-size: 18px; }
.cmp td:first-child { color: var(--ink-3); }
.cmp small { display: block; color: var(--ink-3); }

/* narrower */
@media (max-width: 1080px) {
  .p-travel { grid-column: span 12; }
  .p-recipe, .p-lab, .p-paper, .p-journal { grid-column: span 6; }
  .pdfs-in { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .pdfs .words { padding: 0 24px 0 0; }
  .pdfs-shot .win { width: max(900px, 124.7%); }
  .pdfs-shot .dialog { left: 0; }
  .head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pdfs .acts { grid-template-columns: repeat(3, max-content); gap: 15px 44px; }
  .finish-in { grid-template-columns: minmax(0, 1fr); }
  .free .offer + .offer { margin-top: 0; }
  .foot { --fu: .72px; }
  .board { display: flex; flex-direction: column-reverse; height: auto; }
  .board .pic { position: relative; left: auto; transform: none; width: 100%; margin-top: 24px; overflow: hidden; aspect-ratio: 785 / 600; }   /* x 295 to 1080, y 90 to 690 of 1400 by 690: the middle groups, the note card and the bar */
  .board .pic img { width: 178.34%; margin: -11.47% 0 0 -37.58%; }
}
@media (max-width: 760px) {
  :root { --band: 48px; --top-h: 66px; }
  .top-in { grid-template-columns: 1fr auto; gap: 16px; }
  .top nav, .top .acct, .brand .soon { display: none; }
  .brand { gap: 9px; }
  .btn.sm { padding: 0 15px; }
  .hero { --u: calc(100vw / 430); --pic-w: 430; --win-w: 378; --win-h: 257; --foot: 190; --front-w: 430; }
  .stores { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero .stores { align-items: center; }
  .store { width: 252px; justify-content: center; }
  .stores .os-note { width: 252px; padding: 0; text-align: center; }
  .stage { border-radius: 10px 10px 0 0; }
  .stage img { width: calc(796.8 * var(--u)); margin: calc(-68.6 * var(--u)) 0 0 calc(-132.5 * var(--u)); }
  .styles-in { --pw: 230px; }
  .chips { gap: 6px; }
  .chip { font-size: 14px; padding: 7px 13px; }
  .p-recipe, .p-lab, .p-paper, .p-journal { grid-column: span 12; }
  .panel { min-height: 0; }
  .p-travel { min-height: 410px; }
  .p-travel .map { width: 72%; }
  .p-travel .globe { width: 120%; right: -50%; top: 30%; }
  .p-lab, .p-paper, .p-journal { display: flex; flex-direction: column; }
  .p-lab .view, .p-paper .view, .p-journal .view { position: relative; inset: auto; z-index: 0; margin: 20px calc(-1 * var(--pad)) calc(-1 * var(--pad)); }
  .p-lab .view { height: 276px; }
  .p-paper .view { height: 280px; margin-inline: 0; }
  .p-journal .view { height: 290px; }
  .p-journal .view img { transform: translate(-18%, -16.6%); }
  .acts { gap: 11px 18px; }
  .acts li { font-size: 14.5px; gap: 8px; }
  .acts svg { width: 18px; height: 18px; }
  .pdfs .acts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 14px; }
  .pdfs-in { padding-right: 24px; }
  .pdfs-shot { height: auto; aspect-ratio: 1608 / 1522; }
  .pdfs-shot .win { width: 100%; border-radius: 12px 12px 0 0; }
  .pdfs-shot .win img { width: 179.1%; margin-left: -43.47%; }   /* x 699 to 2307 of 2880 */
  .pdfs-shot .dialog { width: 62%; left: auto; right: -10px; bottom: 14px; }
  .reader { aspect-ratio: 1 / 1.08; }
  .reader img { width: 238.5%; max-width: none; margin: -10.8% 0 0 -26%; }
  .p-recipe { min-height: 538px; }
  .sync-words { width: auto; padding-right: var(--in); }
  .desk { flex-basis: 118cqw; }
  .computer { left: 18px; width: 150cqw; }
  .phone { top: auto; bottom: -21cqw; right: 16px; width: 58cqw; padding: 1.2cqw; border-radius: 7cqw; }
  .phone .screen { border-radius: 6cqw; }
  .cmp { font-size: 15px; }
  .foot { --fu: .62px; height: auto; padding-bottom: calc(240 * var(--fu)); }
  .foot-in { height: auto; display: flex; flex-direction: column; gap: 30px; }
  .foot-scene::after { display: none; }
  .foot-back { -webkit-mask-image: linear-gradient(transparent, #000 44%); mask-image: linear-gradient(transparent, #000 44%); }
  /* a phone keeps its footer plain: the downloads as words, not buttons; FAQ, Licence and Privacy on one line
     under the devices, centred over the icon; the copyright in the bottom corner across from the language (his word of 27 Nov:
     "mobile looks too cluttered") */
  .foot-devices .is-on .state { height: auto; padding: 0; background: none; color: #fff; }
  .foot-fine { grid-row: auto; align-self: center; gap: 6px 22px; }
  .foot-fine small { position: absolute; right: var(--gutter); bottom: 26px; margin: 0; }
}

/* The site's other languages (lang.js sets <html lang>). English is the page as approved and none of this touches it.
   PDFs' tools stand in two fixed columns: a longer name wraps inside its column instead of running into the next. */
:root:not([lang="en"]) .pdfs .acts li { white-space: normal; align-items: flex-start; }
:root:not([lang="en"]) .pdfs .acts svg { margin-top: 2px; }
/* Sync's plans: longer labels and prices take a gap of their own beside the next column. */
:root:not([lang="en"]) .cmp th, :root:not([lang="en"]) .cmp td { padding-right: 12px; }
:root:not([lang="en"]) .cmp td:last-child, :root:not([lang="en"]) .cmp th:last-child { padding-right: 0; }
:root[lang="de"] .cmp td:first-child { hyphens: auto; }
@media (max-width: 760px) { :root:not([lang="en"]) .cmp { font-size: 14px; } }
/* A longer date line under the Licence and Privacy titles breaks evenly, never leaving the year alone. */
:root:not([lang="en"]) .sub-date { text-wrap: balance; }
/* German's long compounds do not fit PDFs' two columns on a phone, so its tools stand in one. */
@media (max-width: 760px) { :root[lang="de"] .pdfs .acts { grid-template-columns: minmax(0, 1fr); } }
