/* TabOverview site. Tokens match design/tokens.css. Cobalt is focus, amber means "you are here", ink buttons do the rest. */
@font-face { font-family: Inter; src: url('/assets/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --base: #f6f7fa; --ink: #10142a; --ink-2: rgb(16 20 42 / .68); --ink-3: rgb(16 20 42 / .5);
  --hairline: rgb(18 22 42 / .1); --hover: rgb(16 20 42 / .07);
  --cobalt: #2340e8; --lit: #f7a823; --lit-soft: #ffe4b0;
  --sheet: rgb(250 251 253 / .93);
  --shadow-soft: 0 1px 2px rgb(16 20 42 / .06), 0 6px 16px -8px rgb(16 20 42 / .14);
  --shadow-win: 0 1px 2px rgb(16 20 42 / .1), 0 14px 30px -12px rgb(16 20 42 / .3);
  --shadow-pop: 0 2px 8px rgb(16 20 42 / .1), 0 40px 90px -24px rgb(16 20 42 / .5);
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --page: 1180px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #c9d4ec; color: var(--ink); font: 400 17px/1.5 var(--font); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; overflow-x: clip; }
h1, h2, h3, h4, p, dl, dd, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
kbd, code { font-family: inherit; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
svg { display: block; flex: none; }
.sprite { position: absolute; }
.lost { min-height: 80vh; display: grid; place-content: center; }

/* The painting stays put; the windows float over it */
.paint { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #c9d4ec; height: 100lvh; }
.paint picture, .paint img { position: absolute; inset: 0; width: 100%; height: 100%; }
.paint img { object-fit: cover; object-position: 58% 62%; }
.paint .dusk { opacity: 0; transition: opacity 1.4s ease; }
.paint .dusk img { object-position: 42% 70%; }
.paint.evening .dusk { opacity: 1; }
.paint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(235 240 250 / .3), rgb(235 240 250 / 0) 46%); }

/* Buttons: ink does the work */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s; }
.btn:hover { background: #1b2146; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.small { height: 40px; padding: 0 16px; border-radius: 13px; font-size: 14.5px; }
.btn.big { height: 62px; padding: 0 32px; border-radius: 19px; font-size: 19px; letter-spacing: -.012em; box-shadow: 0 2px 4px rgb(16 20 42 / .22), 0 18px 34px -12px rgb(16 20 42 / .5); }
.btn.soon { cursor: default; background: rgb(16 20 42 / .86); transform: none; }
.send, .on-mobile, .on-mobile-flex { display: none; }

/* Top dock */
.nav { position: sticky; top: 12px; z-index: 20; width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: 12px auto 0; height: 60px; padding: 0 10px 0 16px; display: flex; align-items: center; justify-content: space-between; border-radius: 20px; background: rgb(255 255 255 / .62); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .8), var(--shadow-soft); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; text-decoration: none; }

/* Hero */
.hero { padding: clamp(30px, 5.6vh, 60px) var(--gutter) 0; text-align: center; }
.hero h1 { font-size: clamp(50px, 7.9vw, 116px); line-height: .98; font-weight: 800; letter-spacing: -.05em; }
.hero h1 br.m { display: none; }
.lead { margin-top: clamp(14px, 2.4vh, 22px); font-size: clamp(21px, 2.5vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.022em; color: rgb(16 20 42 / .78); }
.cta { margin-top: clamp(20px, 3.4vh, 30px); display: flex; flex-direction: column; align-items: center; gap: 13px; }
.micro { font-size: 15px; font-weight: 500; color: rgb(16 20 42 / .72); text-wrap: balance; }

/* The film, in a window over the painting */
.film-wrap { padding: clamp(28px, 5vh, 48px) var(--gutter) 0; }
.film { position: relative; max-width: var(--page); margin: 0 auto; aspect-ratio: 16 / 10; border-radius: clamp(10px, 1.5vw, 18px); overflow: hidden; background: #e8ebf2; box-shadow: 0 0 0 .5px rgb(16 20 42 / .18), 0 2px 8px rgb(16 20 42 / .14), 0 60px 120px -30px rgb(16 20 42 / .6); animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.filmbtn { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: rgb(16 20 42 / .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: .9; transition: opacity .2s, transform .18s; }
.filmbtn:hover { opacity: 1; transform: scale(1.05); }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.985); } }

/* Windows */
.sheet { width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: clamp(72px, 13vh, 150px) auto 0; padding: clamp(36px, 5.4vw, 72px) clamp(20px, 5vw, 64px); border-radius: clamp(24px, 3vw, 36px); background: var(--sheet); -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .9), var(--shadow-pop); }
h2 { font-size: clamp(36px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-align: center; text-wrap: balance; }
.intro { margin: 14px auto 0; max-width: 560px; text-align: center; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }

/* Press. Type. Go. */
.steps { margin-top: clamp(30px, 4.6vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); text-align: center; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 16px; text-wrap: balance; }
.visual { height: 190px; margin-bottom: 20px; display: grid; place-items: center; border-radius: 24px; background: linear-gradient(180deg, #eef1f8, #e6eaf4); box-shadow: inset 0 0 0 .5px var(--hairline); overflow: hidden; }
kbd { min-width: 74px; height: 74px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 19px; background: #fff; color: var(--ink); font-size: 30px; font-weight: 600; box-shadow: 0 1px 1px rgb(16 20 42 / .14), 0 5px 0 #d4d9e6, 0 10px 18px -4px rgb(16 20 42 / .22); }
kbd.wide { font-size: 22px; min-width: 88px; }
kbd.ink { width: 110px; height: 92px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: 0 5px 0 #000, 0 14px 22px -6px rgb(16 20 42 / .45); }
.k-mac, .k-win { display: inline-flex; gap: 10px; }
.k-win { display: none; }
.is-win .k-mac { display: none; } .is-win .k-win { display: inline-flex; }
.mini-search { width: min(290px, 88%); padding: 8px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-win); text-align: left; }
.mini-q { height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 9px; font-size: 18px; color: var(--ink-3); }
.mini-q b { color: var(--ink); font-weight: 550; }
.mini-q i { width: 2px; height: 20px; margin-left: -7px; background: var(--cobalt); animation: caret 1.1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mini-row { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 9px; border-radius: 11px; font-size: 13.5px; font-weight: 500; }
.mini-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row.on { background: var(--cobalt); color: #fff; }

/* Free and private: the one dark window */
.ink { position: relative; width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: clamp(72px, 13vh, 150px) auto 0; padding: clamp(36px, 5.4vw, 72px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 48px); border-radius: clamp(24px, 3vw, 36px); color: #fff; background: radial-gradient(620px 460px at 88% 14%, rgb(247 168 35 / .17), transparent 72%), var(--ink); box-shadow: var(--shadow-pop); }
.ink-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; }
.ink h2 { text-align: left; color: #fff; font-size: clamp(40px, 6.5vw, 82px); }
.ink-lead { margin-top: 16px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 500; letter-spacing: -.012em; color: rgb(255 255 255 / .76); }
.zero { text-align: right; }
.zero b { display: block; font-size: clamp(130px, 19vw, 248px); line-height: .8; font-weight: 800; letter-spacing: -.05em; color: var(--lit); }
.zero span { display: block; max-width: 230px; margin: 16px 0 6px auto; font-size: 15.5px; line-height: 1.38; font-weight: 500; color: rgb(255 255 255 / .78); text-wrap: balance; }
.nothings { margin-top: clamp(30px, 4.4vw, 52px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nothings li { padding: 20px 20px 22px; border-radius: 20px; background: rgb(255 255 255 / .075); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .16); }
.nothings h3 { font-size: 19px; }
.nothings p { margin-top: 6px; font-size: 15px; line-height: 1.42; color: rgb(255 255 255 / .74); text-wrap: pretty; }

/* Features */
.bento { margin-top: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; border-radius: 26px; background: #fff; box-shadow: var(--shadow-soft), inset 0 0 0 .5px var(--hairline); overflow: hidden; }
.tile.wide { grid-column: span 4; }
.tile .copy { padding: 24px 26px 18px; }
.tile .copy p { margin-top: 5px; font-size: 15.5px; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.scene { flex: 1; position: relative; min-height: 220px; }
.chip { flex: none; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--hover); font-size: 12.5px; font-weight: 600; }
.chip.ink { background: var(--ink); color: #fff; }

.search-scene { padding: 0 0 0 26px; }
.spot { position: absolute; left: 26px; top: 0; width: 700px; border-radius: 18px 0 0 0; background: #f7f8fb; box-shadow: inset 0 0 0 .5px var(--hairline), var(--shadow-win); overflow: hidden; }
.spot .q { height: 54px; display: flex; align-items: center; gap: 11px; padding: 0 18px; font-size: 19px; font-weight: 500; letter-spacing: -.015em; color: var(--ink-3); box-shadow: 0 .5px 0 var(--hairline); }
.spot .q span { color: var(--ink); }
.spot .q i { width: 2px; height: 22px; margin-left: -8px; background: var(--cobalt); }
.spot .body { display: grid; grid-template-columns: minmax(0, 1fr) 244px; }
.spot .list { padding: 6px 10px 14px; }
.spot h4 { margin: 10px 8px 3px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.row { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 8px; border-radius: 10px; font-size: 13px; }
.row p { flex: 1; min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row b { font-weight: 700; }
.row small { color: var(--ink-3); font-size: 11.5px; }
.row.on { background: var(--cobalt); color: #fff; }
.row.on small { color: rgb(255 255 255 / .75); }
.peek { padding: 14px 16px 14px 6px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.25; }
.peek img { display: block; width: 100%; height: auto; border-radius: 10px; margin-bottom: 8px; box-shadow: var(--shadow-soft); }
.peek strong { font-weight: 680; letter-spacing: -.01em; }
.peek small { color: var(--ink-3); }
.mini-go { align-self: flex-start; margin-top: 8px; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 10px; background: var(--cobalt); color: #fff; font-weight: 600; font-size: 12.5px; }

.tidy-scene { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; }
.tidy-scene .opt { display: flex; align-items: center; gap: 11px; padding: 11px 11px 11px 12px; border-radius: 16px; background: #f3f5f9; min-width: 0; }
.tidy-scene svg { width: 30px; height: 30px; }
.tidy-scene div { flex: 1; min-width: 0; line-height: 1.24; }
.tidy-scene b { display: block; font-size: 13.5px; font-weight: 600; letter-spacing: -.008em; }
.tidy-scene small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sort-scene { padding: 6px 20px 30px; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; }
.stripe { width: 100%; padding: 7px; border-radius: 15px; background: #eef1f6; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.stripe svg { width: 100%; height: auto; aspect-ratio: 1; }

.keep-scene { padding: 6px 20px 30px; display: flex; flex-direction: column; gap: 22px; align-items: center; justify-content: center; }
.keep-scene kbd { min-width: 64px; height: 64px; font-size: 26px; border-radius: 17px; }
.toast { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border-radius: 15px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 550; box-shadow: var(--shadow-win); }

.toast span { padding: 4px 9px; border-radius: 9px; background: rgb(255 255 255 / .16); font-size: 13px; }
.home-tile { position: relative; color: #fff; background: none; box-shadow: var(--shadow-win); }
.home-tile .scene { position: absolute; inset: 0; background: linear-gradient(180deg, #2a4ee0 0%, #5f86f2 34%, #b8c9fb 62%, #ffdcb4 86%, #ffc88a 100%); }
.home-tile .copy { position: relative; margin-top: auto; padding-top: 184px; color: var(--ink); }
.home-tile .copy p { color: rgb(16 20 42 / .76); }
.sky-scene .sun { position: absolute; left: 22px; top: 150px; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 248 230 / .96); box-shadow: 0 0 40px 22px rgb(255 214 150 / .55); }
.clock { position: absolute; left: 0; right: 0; top: 30px; text-align: center; font-size: 68px; line-height: 1; font-weight: 200; letter-spacing: -.045em; font-variant-numeric: tabular-nums; text-shadow: 0 2px 26px rgb(10 14 60 / .18); }
.favs { position: absolute; left: 0; right: 0; top: 116px; display: flex; justify-content: center; gap: 10px; }
.favs span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgb(255 255 255 / .22); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .42); }
.favs svg { width: 26px; height: 26px; }

/* Your tabs are safe: the one bold colour moment */
.sky { position: relative; width: min(var(--page), calc(100% - var(--gutter) * 2)); margin: clamp(72px, 13vh, 150px) auto 0; padding: clamp(44px, 6.4vw, 84px) clamp(20px, 5vw, 64px) clamp(24px, 4vw, 48px); border-radius: clamp(24px, 3vw, 36px); overflow: hidden; color: #fff; background: linear-gradient(180deg, #1f3bdc 0%, #3660f0 34%, #7a9bfb 62%, #f6cfa4 90%, #ffc27a 100%); box-shadow: var(--shadow-pop); }
.sky-head { position: relative; text-align: center; }
.sky h2 { color: #fff; }
.sky-head p { margin-top: 12px; font-size: clamp(18px, 1.9vw, 23px); font-weight: 500; letter-spacing: -.012em; color: rgb(255 255 255 / .92); text-wrap: balance; }
.promises { position: relative; isolation: isolate; margin-top: clamp(40px, 5.4vw, 66px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.promises > .sun { position: absolute; z-index: -1; right: 9%; top: -46px; width: 92px; height: 92px; border-radius: 50%; background: rgb(255 248 230 / .96); box-shadow: 0 0 80px 40px rgb(255 224 170 / .55); }
.promises li { padding: 22px 20px 24px; border-radius: 22px; color: var(--ink); background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 0 0 .5px rgb(255 255 255 / .7); }
.promises h3 { font-size: 18px; }
.promises p { margin-top: 6px; font-size: 15px; line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }

/* What Chrome will ask */
.asks > h3 { margin: 38px auto 12px; max-width: 840px; font-size: 16px; color: var(--ink-2); font-weight: 600; letter-spacing: -.01em; }
.warnings { max-width: 840px; margin: 0 auto; }
.asks .intro + .warnings { margin-top: 34px; }
.warnings > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(18px, 3vw, 32px); padding: 16px 0; border-top: 1px solid var(--hairline); }
dt { font-weight: 650; font-size: 16px; line-height: 1.32; letter-spacing: -.012em; }
dd { color: var(--ink-2); font-size: 15.5px; line-height: 1.46; }
.locked { max-width: 840px; margin: 36px auto 0; padding: 16px 18px; display: flex; gap: 13px; align-items: center; border-radius: 18px; background: #eef1fb; font-size: 15.5px; font-weight: 500; line-height: 1.4; }
.locked a, .faq a, .legal a { color: var(--cobalt); }
.maker { max-width: 840px; margin: 20px auto 0; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.ph { padding: 1px 6px; border-radius: 6px; background: var(--lit-soft); color: #5b3b00; font-weight: 600; }

/* Questions */
.faq { max-width: 860px; }
.faq h2 { margin-bottom: clamp(20px, 3vw, 36px); }
details { border-top: 1px solid var(--hairline); }
details:last-child { border-bottom: 1px solid var(--hairline); }
summary { list-style: none; position: relative; padding: 18px 40px 18px 0; cursor: pointer; font-size: 18px; font-weight: 620; letter-spacing: -.014em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 25px; width: 11px; height: 11px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
details p { padding: 0 40px 20px 0; color: var(--ink-2); font-size: 16px; }
code { padding: 1px 5px; border-radius: 6px; background: var(--hover); font-size: .9em; }

/* No mouse needed: the film, with its keys as live text under it */
.keysec .intro { margin-bottom: clamp(24px, 3.4vw, 40px); }
.keysfilm { max-width: none; animation: none; box-shadow: 0 0 0 .5px rgb(16 20 42 / .16), 0 2px 8px rgb(16 20 42 / .1), 0 30px 60px -24px rgb(16 20 42 / .45); }
.keyboard { display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 14px; align-items: stretch; }
.keymap { display: grid; grid-template-rows: repeat(8, minmax(0, 1fr)); gap: 6px; }
.keymap li { min-height: 52px; padding: 8px 14px 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 16px; background: #eef1f8; transition: background .12s, color .12s; }
.keymap b { font-size: 15.5px; font-weight: 650; letter-spacing: -.012em; white-space: nowrap; }
.kcs, .keymap .k-mac, .keymap .k-win { gap: 4px; }
.kcs { display: inline-flex; }
.keymap kbd { min-width: 34px; height: 34px; padding: 0 7px; border-radius: 10px; font-size: 13.5px; font-weight: 600; box-shadow: 0 1px 1px rgb(16 20 42 / .12), 0 2.5px 0 #d4d9e6; transition: transform .1s, box-shadow .1s; }
.keymap li.on { background: var(--ink); color: #fff; }
.keymap li.on kbd { transform: translateY(2px); box-shadow: 0 .5px 0 #aeb5c8; }
.r90 { transform: rotate(90deg); } .r180 { transform: rotate(180deg); } .r270 { transform: rotate(270deg); }

/* Closing, on the evening painting */
.closing { padding: clamp(96px, 22vh, 210px) var(--gutter) clamp(96px, 20vh, 190px); text-align: center; }
.closing h2 { font-size: clamp(44px, 8vw, 104px); letter-spacing: -.048em; line-height: .98; }

.foot { padding: 36px max(var(--gutter), calc((100% - var(--page)) / 2)) 40px; background: var(--ink); color: rgb(255 255 255 / .66); font-size: 13.5px; line-height: 1.5; }
.foot p { margin-top: 7px; max-width: 760px; }
.foot-top { margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; color: #fff; }
.foot nav { display: flex; gap: 22px; }
.foot nav a { font-weight: 550; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }

.snack { position: fixed; left: 50%; bottom: 24px; z-index: 30; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 15px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 550; box-shadow: var(--shadow-pop); opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; pointer-events: none; }
.snack.show { opacity: 1; transform: translate(-50%, 0); }

/* Legal pages */
.legal { width: min(820px, calc(100% - var(--gutter) * 2)); margin: 40px auto 80px; padding: clamp(28px, 5vw, 60px) clamp(20px, 5vw, 64px); border-radius: clamp(22px, 3vw, 32px); background: rgb(252 252 254 / .96); box-shadow: var(--shadow-pop); font-size: 16.5px; line-height: 1.58; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -.04em; }
.legal h2 { margin: 40px 0 10px; font-size: 24px; text-align: left; letter-spacing: -.024em; line-height: 1.2; font-weight: 720; }
.legal h3 { margin: 24px 0 6px; font-size: 18px; }
.legal p, .legal ul, .legal .table { margin-top: 10px; }
.legal ul { padding-left: 20px; list-style: disc; }
.legal li { margin-top: 5px; }
.legal .updated { margin-top: 10px; color: var(--ink-3); font-size: 15px; }
.legal .short { margin-top: 22px; padding: 16px 20px; border-radius: 16px; background: #eef1fb; }
.legal .short ul { margin: 0; }
.draft { margin-bottom: 22px; padding: 12px 16px; border-radius: 14px; background: var(--lit-soft); color: #5b3b00; font-size: 14.5px; font-weight: 550; }
.table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.legal table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.42; }
.legal th { text-align: left; font-weight: 650; }
.legal th, .legal td { padding: 10px 12px 10px 0; vertical-align: top; border-top: 1px solid var(--hairline); }

/* Tablet */
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .tile.wide { grid-column: span 2; }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nothings { grid-template-columns: minmax(0, 1fr); }
  .keyboard { grid-template-columns: minmax(0, 1fr); }
  .keymap { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Phone */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero h1 { font-size: clamp(50px, 14.6vw, 84px); }
  .hero h1 br.m { display: inline; }
  .nav { height: 54px; top: 8px; margin-top: 8px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.wide { grid-column: span 1; }
  .spot { width: 560px; }
  .spot .body { grid-template-columns: minmax(0, 1fr); }
  .spot .peek { display: none; }
  .scene { min-height: 200px; }
  .search-scene { min-height: 250px; }
  .home-tile .copy { padding-top: 190px; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .ink-top { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .zero { text-align: left; }
  .zero span { max-width: 260px; margin-left: 0; }
  .keymap { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .keymap li { min-height: 46px; padding: 6px 14px 6px 10px; }
  .keymap kbd { min-width: 30px; height: 30px; padding: 0 6px; font-size: 13px; }
  .warnings > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .promises > .sun { width: 64px; height: 64px; top: -32px; }
  .filmbtn { width: 34px; height: 34px; right: 8px; bottom: 8px; border-radius: 11px; }
  .paint img { object-position: 62% 60%; }
  summary { font-size: 17px; }
}

/* Phones and tablets can't run the extension: the button says what to do instead */
@media (pointer: coarse) and (max-width: 1100px) {
  .install, .on-desktop { display: none; }
  .send { display: inline-flex; }
  .on-mobile { display: block; }
  .on-mobile-flex { display: none; }
  .btn.big { width: 100%; max-width: 340px; }
}
.is-mobile .install, .is-mobile .on-desktop { display: none; }
.is-mobile .send { display: inline-flex; }
.is-mobile .on-mobile { display: block; }
.is-mobile .nav .btn { display: none; }

/* Slow, soft drift on the painting where the browser supports it */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .paint picture { animation: drift linear both; animation-timeline: scroll(root); transform-origin: 50% 60%; }
    @keyframes drift { from { transform: scale(1.07) translateY(1.6%); } to { transform: scale(1.07) translateY(-1.6%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .film, .mini-q i { animation: none; }
  .paint .dusk, .btn, .filmbtn, .snack, summary::after, .keymap li, .keymap kbd { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .sheet, .nav, .promises li { background: #fbfbfd; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
