:root {
  --paper: #f2f3f4;
  --ink: #0b0b0c;
  --on-ink: #f4f4f5;
  --ink-muted: #9b9da2;
  --ink-raised: #232326;
  --ink-line: #2c2c30;
  --muted: #62656b;
  --rule: rgba(11, 11, 12, 0.16);
  /* Vaul's sheet curve, the one Monio offers in place of springs (github.com/emilkowalski/vaul). */
  --sheet: cubic-bezier(0.32, 0.72, 0, 1);
  /* Apple's sheet spring (damping 0.8, response 0.3; WWDC 2018 session 803), sampled over 0.6s. */
  --sheet-spring: linear(0, 0.141, 0.399, 0.639, 0.813, 0.922, 0.981, 1.007, 1.015, 1.014, 1.01, 1.007, 1.004, 1.002, 1.001, 1, 1, 1, 1, 1, 1);
  --gutter: clamp(16px, 3.4vw, 48px);
  font-family: "Switzer", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
.island-stage.open { z-index: 6; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); font-size: 16px; line-height: 1.5; overflow-x: hidden; font-feature-settings: "tnum" 0; }
::selection { background: var(--ink); color: var(--on-ink); }
.feat-ink ::selection, .island-stage ::selection, .clip ::selection, .bar-stage ::selection { background: var(--on-ink); color: var(--ink); }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.feat-ink :focus-visible, .island-stage :focus-visible, .panel :focus-visible, .bar-stage :focus-visible, .clip :focus-visible { outline-color: var(--on-ink); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
code { font: inherit; font-weight: 500; }
i { font-style: italic; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2 { margin: 0; font-weight: 500; }
p { margin: 0; }

/* The page's top edge doubles as the screen's: the wordmark and links share the pill's 12px inset. */
.top { position: absolute; z-index: 5; top: 12px; left: 0; right: 0; height: 32px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); pointer-events: none; font-size: 14px; }
.top > * { pointer-events: auto; }
.mark { display: inline-flex; }
.mark img, .foot-mark { display: block; }
.foot-mark { margin-bottom: 8px; }
.top-nav { display: flex; gap: 22px; }
.top-nav a { text-decoration: none; color: var(--muted); }
.top-nav a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 1100px) { .top-nav { display: none; } }

/* Hero */
.hero { position: relative; padding-top: 330px; padding-bottom: 96px; }
.island-stage { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 440px; color: var(--on-ink); pointer-events: none; }
.island-stage .pill-hit, .island-stage .island-panel, .island-stage .nt-wing { pointer-events: auto; }
.island-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.island-stage.compact .mini-alert, .island-stage.compact .mini-cover, .island-stage.compact .dims { display: none; }
.pill-hit { position: absolute; top: 12px; height: 32px; border-radius: 16px; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; z-index: 2; }
.pill-time { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 0.2s var(--sheet); }
.pill-hit[aria-expanded="true"] .pill-time { opacity: 0; }
.mini-alert, .mini-cover { position: absolute; top: 12px; height: 32px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; white-space: nowrap; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 0.25s var(--sheet); }
.mini-cover i { width: 24px; height: 24px; border-radius: 6px; background: #e8a33d; position: relative; overflow: hidden; }
.mini-cover i::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #1d1b19; right: -4px; bottom: -4px; }
.island-stage.shown .mini-alert, .island-stage.shown .mini-cover { opacity: 1; }
.island-stage.open .mini-alert, .island-stage.open .mini-cover { opacity: 0; transition-duration: 0.1s; }

/* Measurements drawn around the resting pill, in the app's own logical pixels. */
.dims { position: absolute; inset: 0; color: var(--muted); opacity: 0; transition: opacity 0.4s var(--sheet); }
.island-stage.shown .dims { opacity: 1; }
.island-stage.open .dims { opacity: 0; transition-duration: 0.1s; }
.dim { position: absolute; font-size: 11px; font-variant-numeric: tabular-nums; }
.dim b { font-weight: 500; position: absolute; white-space: nowrap; }
.dim-h { top: 12px; height: 32px; width: 5px; border: 1px solid currentColor; border-left: 0; }
.dim-h b { right: 10px; top: 50%; transform: translateY(-50%); }
.dim-top { top: 0; height: 12px; width: 0; border-left: 1px solid currentColor; }
.dim-top b { left: 6px; top: -1px; }
.dim-gap { top: 52px; height: 5px; border: 1px solid currentColor; border-top: 0; }
.dim-gap b { top: 7px; left: 50%; transform: translateX(-50%); }

/* The opened island, 420 by 280, as src/views/island.rs lays it out: the date where the pill was,
   two page dots, 26px rows 4px apart, New task at the end of the list, and a footer. Monio's palette:
   black, white, muted #9e9ea6, faint #6b6b73, raised #161618. */
.island-panel { position: absolute; top: 12px; height: 280px; transform: translateX(-50%); opacity: 0; transition: opacity 0.12s linear, left 0.5s var(--sheet); z-index: 3; display: flex; flex-direction: column; }
.island-stage.open .island-panel { opacity: 1; transition: opacity 0.3s var(--sheet) 0.12s, left 0.5s var(--sheet); }
.isl-static { background: #000; color: #fff; border-radius: 28px; width: 100%; max-width: 420px; height: 280px; display: flex; flex-direction: column; }
.isl-head { height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.isl-date { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 8px; font-size: 15px; font-weight: 500; color: #fff; }
.isl-date .ico { width: 14px; height: 14px; color: #9e9ea6; }
.isl-dots { height: 14px; display: flex; justify-content: center; align-items: center; gap: 2px; flex: none; margin-bottom: 6px; }
.isl-dots i { width: 5px; height: 5px; border-radius: 2.5px; background: #fff; }
.isl-dots i.cap { width: 12px; }
.isl-rows { list-style: none; margin: 0; padding: 0 18px; display: grid; gap: 4px; align-content: start; flex: 1; min-height: 0; overflow: hidden; }
.isl-row { position: relative; display: flex; align-items: center; gap: 12px; height: 26px; }
.isl-row .t { flex: 1; min-width: 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isl-row .w { font-size: 12px; color: #9e9ea6; white-space: nowrap; font-variant-numeric: tabular-nums; }
.isl-row .w.faint, .done-row .t { color: #6b6b73; }
.done-row .t { color: #9e9ea6; }
/* Actions stay out of the way until a row is hovered, then sit over its right end on black. */
.isl-acts { position: absolute; right: 0; top: 0; height: 26px; display: none; align-items: center; gap: 2px; background: #000; border-radius: 6px; }
.isl-row:hover .isl-acts, .isl-row:focus-within .isl-acts { display: flex; }
.isl-acts button, .isl-act, .nt-act { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 8px; color: #fff; }
.isl-acts button:hover, .isl-act:hover, .nt-act:hover, .isl-new:hover, .isl-date:hover, .nt-arrow:hover, .nt-day:hover b { background: rgba(255, 255, 255, 0.09); }
.isl-empty { font-size: 14px; color: #9e9ea6; text-align: center; padding-top: 60px; }
.isl-new { display: flex; align-items: center; gap: 8px; height: 26px; margin: 0 18px; padding: 0 4px; border-radius: 8px; font-size: 14px; color: #9e9ea6; flex: none; text-align: left; }
.isl-foot { display: flex; align-items: center; gap: 6px; padding: 0 18px 8px; margin-top: 6px; height: 34px; flex: none; }
.isl-sp { flex: 1; }
.isl-gear { font-family: "Segoe UI Symbol", "Segoe UI", sans-serif; font-size: 15px; color: #9e9ea6; padding: 2px 7px; }
.burst { position: absolute; left: 0; top: 0; border-radius: 50%; background: #fff; pointer-events: none; }

/* New task, 420 by 420, as src/views/composer.rs lays it out. */
.nt { position: relative; width: 420px; max-width: 100%; height: 420px; padding: 16px; color: #fff; display: flex; flex-direction: column; gap: 10px; }
.nt-panel { background: #000; border-radius: 28px; }
.nt-wing { position: absolute; top: 12px; z-index: 3; opacity: 0; transition: opacity 0.12s linear, left 0.5s var(--sheet); }
.island-stage.wing .nt-wing { opacity: 1; transition: opacity 0.3s var(--sheet) 0.2s, left 0.5s var(--sheet); }
.nt-field { width: 100%; background: #161618; border: 1px solid transparent; border-radius: 10px; padding: 10px 12px; font-size: 15px; color: #fff; outline: none; }
.nt-field:hover { border-color: rgba(255, 255, 255, 0.16); }
.nt-field:focus { border-color: rgba(255, 255, 255, 0.32); }
.nt-field::placeholder, .nt-pop-in::placeholder { color: #6b6b73; }
.nt-field::selection, .nt-pop-in::selection { background: rgba(120, 184, 255, 0.4); color: #fff; }
.nt-hint { height: 22px; margin-top: -4px; font-size: 12px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-hint.muted, .nt-pop-line.muted { color: #9e9ea6; }
.nt-hint.danger, .nt-pop-line.danger { color: #ff736b; }
.nt-month { flex: 1; min-height: 0; }
.nt-mhead { display: flex; align-items: center; height: 24px; margin-bottom: 6px; }
.nt-mtitle { flex: 1; font-size: 14px; font-weight: 500; }
.nt-mtitle small { font-size: 11px; font-weight: 400; color: #9e9ea6; margin-left: 6px; }
.nt-arrow { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; color: #9e9ea6; }
.nt-arrow .ico { width: 14px; height: 14px; }
.nt-grid { display: grid; grid-template-columns: 22px repeat(7, minmax(0, 1fr)); row-gap: 1px; }
.nt-wd { font-size: 11px; color: #6b6b73; text-align: center; }
.nt-wk { font-size: 11px; color: #9e9ea6; align-self: center; }
.nt-day { position: relative; height: 30px; display: grid; place-items: center; font-size: 13px; color: #fff; }
.nt-day b { font-weight: 400; width: 28px; height: 28px; border-radius: 14px; display: grid; place-items: center; position: relative; z-index: 1; }
.nt-day.out { color: #6b6b73; }
.nt-day.today { color: #78b8ff; }
.nt-day.today b { font-weight: 500; }
.nt-day.lit b { color: #000; }
.nt-day.lit::before { content: ""; position: absolute; width: 28px; height: 28px; border-radius: 14px; background: #fff; }
/* The disc pops a little past full size on the sheet spring, sampled into a CSS easing. */
.nt-day.pop::before { animation: nt-pop 0.6s var(--sheet-spring); }
@keyframes nt-pop { from { transform: scale(0); } to { transform: scale(1); } }
.nt-day.busy::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: #9e9ea6; z-index: 2; }
.nt-day.busy.lit::after { background: #000; }
.nt-day.busy.out::after { background: #6b6b73; }
.nt-foot { display: flex; align-items: center; gap: 10px; }
.nt-sp { flex: 1; }
.nt-switch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; }
.nt-switch i { width: 32px; height: 16px; border-radius: 8px; background: #3a3a3f; position: relative; transition: background 0.2s; }
.nt-switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 6px; background: #fff; transition: transform 0.3s var(--sheet); }
.nt-switch[aria-checked="true"] i { background: #5e7ce2; }
.nt-switch[aria-checked="true"] i::after { transform: translateX(16px); }
.nt-add { font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 8px; background: #fff; color: #000; }
.nt-add:hover { background: #dbdbdb; }
.nt-add:active { background: #bdbdbd; }
.nt-add:disabled { opacity: 0.4; cursor: default; }
.nt-dim { position: absolute; inset: 0; border-radius: 28px; background: rgba(0, 0, 0, 0.65); z-index: 4; }
.nt-pop { position: absolute; z-index: 5; left: 60px; top: 117px; width: 300px; height: 186px; padding: 16px; border-radius: 20px; background: #222225; display: flex; flex-direction: column; gap: 12px; }
.nt-wing .nt-dim { background: rgba(0, 0, 0, 0.65); }
.nt-pop-q { font-size: 14px; font-weight: 500; }
.nt-pop-in { background: #000; border: 1px solid transparent; border-radius: 10px; padding: 8px 10px; font-size: 14px; color: #fff; outline: none; }
.nt-pop-in:focus { border-color: rgba(255, 255, 255, 0.32); }
.nt-units { display: flex; gap: 4px; }
.nt-units button { flex: 1; padding: 6px 0; border-radius: 8px; font-size: 12px; font-weight: 500; background: rgba(255, 255, 255, 0.07); }
.nt-units button:hover { background: rgba(255, 255, 255, 0.14); }
.nt-units button.on { background: #fff; color: #000; }
.nt-pop-foot { display: flex; align-items: center; gap: 4px; }
.nt-pop-line { flex: 1; font-size: 12px; }
.nt-pop .nt-add { padding: 6px 14px; }

.hero-body h1 { font-weight: 300; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.06; letter-spacing: -0.02em; max-width: 17em; }
.hero-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); padding-top: 18px; border-top: 1px solid var(--ink); }
.hero-cols p { max-width: 30em; }
@media (max-width: 860px) { .hero-cols { grid-template-columns: minmax(0, 1fr); } }
.facts { margin: 0; }
.facts div { display: flex; gap: 16px; padding: 0 0 6px; }
.facts dt { width: 4.5em; color: var(--muted); flex: none; }
.facts dd { margin: 0; }

/* Each feature: name and shortcut, the working thing, then its measurements. */
.feat { border-top: 1px solid var(--ink); padding: 20px 0 clamp(72px, 9vw, 128px); }
.feat-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 40px clamp(24px, 3.4vw, 56px); align-items: start; }
@media (max-width: 1080px) { .feat-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } .feat-grid .spec { grid-column: 2; } }
@media (max-width: 760px) { .feat-grid { grid-template-columns: minmax(0, 1fr); } .feat-grid .spec { grid-column: auto; } }
.feat h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.015em; line-height: 1.1; }
.feat-name p { max-width: 26em; margin-top: 14px; }
.feat-name .keys { margin-top: 6px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); }
.feat-demo { padding-top: 6px; }
.spec { margin: 0; font-size: 14px; border-top: 1px solid var(--rule); }
.spec div { padding: 10px 0 11px; border-bottom: 1px solid var(--rule); }
.spec dt { color: var(--muted); }
.spec dd { margin: 2px 0 0; }
.try { font-size: 14px; color: var(--muted); margin-top: 14px; }
.try button, .textbtn { color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.try button:hover, .textbtn:hover { text-decoration-thickness: 2px; }
.feat-ink .try button { color: var(--on-ink); }

/* Search, as src/views/search.rs draws it: a 720 by 64 bar, then results 7px under it as a shape of
   their own, the gap Jimmy set between the pill and its minis. */
.bar-stage { width: 100%; max-width: 720px; color: #fff; }
.bar { display: flex; align-items: center; height: 64px; padding: 0 22px; background: #000; border-radius: 24px; cursor: text; }
.bar input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-size: 20px; color: #fff; caret-color: #fff; }
.bar input::placeholder { color: #6b6b73; }
.bar input::selection { background: rgba(120, 184, 255, 0.22); }
.drop { margin-top: 7px; background: #000; border-radius: 24px; overflow: hidden; height: 0; }
.drop-in { padding: 13px 14px; }
.se-rows { list-style: none; margin: 0; padding: 0; }
.se-rows li { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 10px; border-radius: 10px; }
.se-rows li.hi { background: #161618; }
.se-tile { width: 36px; height: 36px; flex: none; border-radius: 8px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-size: 10px; font-weight: 500; color: #9e9ea6; }
.se-words { flex: 1; min-width: 0; display: grid; gap: 2px; }
.se-t { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-s { font-size: 11px; color: #9e9ea6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.se-more { font-size: 16px; padding: 2px 8px; }
.se-none { text-align: center; font-size: 14px; color: #6b6b73; padding: 20px 0; }

.pulse-demo { display: flex; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; font-size: 14px; }
.pulse-pill { background: var(--ink); color: var(--on-ink); height: 32px; padding: 0 16px; border-radius: 16px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; }

/* Clipboard history, 640 by 480, as src/views/clipboard.rs lays it out. */
.clip { background: #000; color: #fff; border-radius: 24px; width: 100%; max-width: 640px; height: 480px; padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.cb-find { background: #161618; border: 1px solid transparent; border-radius: 10px; padding: 8px 12px; font-size: 14px; color: #fff; outline: none; }
.cb-find:hover { border-color: rgba(255, 255, 255, 0.12); }
.cb-find:focus { border-color: rgba(255, 255, 255, 0.2); }
.cb-find::placeholder { color: #6b6b73; }
.cb-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-bottom: 2px; }
.cb-tabs button { font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 8px; color: #9e9ea6; white-space: nowrap; }
.cb-tabs button:hover { background: rgba(255, 255, 255, 0.06); }
.cb-tabs button[aria-selected="true"] { background: #161618; color: #fff; }
.cb-body { flex: 1; min-height: 0; display: flex; gap: 12px; }
.cb-list { list-style: none; margin: 0; padding: 0 8px 0 0; width: 268px; flex: none; display: grid; gap: 2px; align-content: start; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.1) transparent; }
.cb-list li[data-i] { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 10px; border-radius: 10px; cursor: pointer; }
.cb-list li[aria-selected="true"] { background: #161618; }
.cb-tile { width: 32px; height: 32px; flex: none; border-radius: 7px; background: rgba(255, 255, 255, 0.08); display: grid; place-items: center; font-size: 9px; font-weight: 500; color: #9e9ea6; }
.cb-words { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cb-t { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-t em { font-style: normal; color: #78b8ff; }
.cb-t small { font-size: 11px; color: #9e9ea6; }
.cb-m { font-size: 11px; color: #9e9ea6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-empty { font-size: 13px; color: #6b6b73; display: grid; justify-items: center; gap: 6px; padding-top: 40px; width: 100%; }
.cb-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cb-head { display: flex; align-items: flex-start; gap: 2px; }
.cb-head span { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.cb-text { flex: 1; min-height: 0; overflow: auto; font-size: 13px; color: rgba(255, 255, 255, 0.86); overflow-wrap: anywhere; }
.cb-url { color: #78b8ff; }
.cb-swatch { display: block; width: 56px; height: 56px; border-radius: 7px; margin-bottom: 10px; }
.cb-cap { font-size: 11px; color: #9e9ea6; }
.cb-acts { display: flex; flex-wrap: wrap; gap: 6px 2px; align-items: flex-start; }
.cb-act { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 8px; color: #fff; }
.cb-act:hover { background: rgba(255, 255, 255, 0.09); }
.cb-paste { font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 8px; background: #fff; color: #000; margin-right: 4px; }
.cb-paste:hover { background: #dbdbdb; }
.cb-hints { font-size: 11px; color: #6b6b73; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 620px) {
  .clip { height: auto; }
  .cb-body { flex-direction: column; }
  .cb-list { width: auto; max-height: 240px; }
  .cb-pane { min-height: 160px; }
}

/* Controls and shelf */
.pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; justify-items: start; }
@media (max-width: 620px) { .pair { grid-template-columns: minmax(0, 1fr); } }
.panel { background: var(--ink); color: var(--on-ink); border-radius: 28px; padding: 18px; }
.ct-bands { padding: 0 18px; flex: 1; display: grid; gap: 8px; align-content: start; }
.slider { position: relative; height: 30px; border-radius: 15px; background: rgba(255, 255, 255, 0.07); overflow: hidden; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; cursor: ew-resize; touch-action: none; user-select: none; }
.slider .fill { position: absolute; inset: 0 auto 0 0; width: 49%; background: rgba(255, 255, 255, 0.26); border-radius: 15px; }
.slider .ico { position: relative; width: 15px; height: 15px; }
.slider .pct { position: relative; font-size: 12px; font-variant-numeric: tabular-nums; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.chip { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 15px; font-size: 12px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: #9e9ea6; min-width: 0; }
.chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip .ico { width: 14px; height: 14px; }
.chip.on { background: #161618; box-shadow: none; color: #fff; }
.shelf { max-width: 420px; width: 100%; min-height: 140px; }
.shelf { min-height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; transition: border-radius 0.5s var(--sheet), transform 0.5s var(--sheet); }
.shelf.over { transform: scale(1.04); border-radius: 36px; }
.shelf-empty { color: var(--ink-muted); font-size: 14px; max-width: 14em; }
.shelf-items { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; gap: 6px; text-align: left; }
.shelf-items:empty { display: none; }
.shelf-items li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 14px; background: var(--ink-raised); font-size: 14px; }
.shelf-items li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shelf-items li span:last-child { color: var(--ink-muted); font-size: 13px; white-space: nowrap; }

/* Pet: the one band where the ink takes over, as the pet lives inside the island. */
.feat-ink { background: var(--ink); color: var(--on-ink); border-top-color: var(--ink); }
.feat-ink .spec { border-top-color: var(--ink-line); }
.feat-ink .spec div { border-bottom-color: var(--ink-line); }
.feat-ink .spec dt { color: var(--ink-muted); }
.pet-controls { margin-top: 28px; display: grid; gap: 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { height: 32px; padding: 0 12px; border-radius: 16px; font-size: 13px; color: var(--ink-muted); box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.seg button[aria-checked="true"] { background: var(--on-ink); color: var(--ink); box-shadow: none; }
.swatches { display: flex; gap: 10px; }
.swatches button { width: 28px; height: 28px; border-radius: 50%; }
.swatches button[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px var(--on-ink); }
.pet-box { position: relative; height: clamp(300px, 34vw, 440px); }
#pet-canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
#pet-canvas:active { cursor: grabbing; }
.pet-name { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-weight: 500; font-size: 18px; }

/* What it does when */
#manners h2, #limits h2 { margin-bottom: 28px; }
.when { width: 100%; border-collapse: collapse; }
.when th, .when td { text-align: left; vertical-align: top; padding: 14px 0 15px; border-top: 1px solid var(--rule); font-weight: 400; }
.when th { width: 25%; padding-right: 32px; font-weight: 500; }
.when td { max-width: 40em; }
.when tr:last-child th, .when tr:last-child td { border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .when th, .when td { display: block; width: auto; } .when td { border-top: 0; padding-top: 0; } }

.limits ul { margin: 0; padding: 0; list-style: none; columns: 2 22em; column-gap: clamp(24px, 4vw, 64px); }
.limits li { break-inside: avoid; padding: 12px 0 13px; border-top: 1px solid var(--rule); }

.get { border-top: 1px solid var(--ink); padding: 20px 0 clamp(80px, 10vw, 140px); }
.get-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 24px clamp(24px, 3.4vw, 56px); align-items: start; }
@media (max-width: 760px) { .get-row { grid-template-columns: minmax(0, 1fr); } }
.get h2 { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.015em; }
.get p { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; line-height: 1.3; max-width: 22em; }
.getbtn { justify-self: start; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 22px; background: var(--ink); color: var(--on-ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.getbtn[aria-disabled="true"] { cursor: default; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

.foot { border-top: 1px solid var(--rule); padding-top: 18px; padding-bottom: 48px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr); gap: 16px clamp(24px, 3.4vw, 56px); font-size: 13px; color: var(--muted); }
.foot b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .foot { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 560px) {
  .hero { padding-top: 120px; }
}
