/* Design Blues website. A light catalogue: paper ground, the logo's ink, and each face's own colour (--accent),
   used only for that face's number, its selection and its Play button. Michroma for reference numbers, Mulish for
   everything else. Phone first; 720 px and 1024 px are the two steps up. */

@font-face { font-family: "Mulish"; src: url("/fonts/mulish-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Mulish"; src: url("/fonts/mulish-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Michroma"; src: url("/fonts/michroma-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --paper: #F3F4F5;
  --white: #FFFFFF;
  --line: #DDE0E4;
  --ink: #262B34;
  --ink-2: #59606B;
  --soft: #E7E9EC;
  --off: #A9AFB8;
  --accent: #262B34;
  --num: "Michroma", "Eurostile", sans-serif;
  --text: "Mulish", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --r: 10px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--text); }
img { max-width: 100%; }
a { color: var(--ink); text-underline-offset: .18em; }
a:hover { color: #000; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; font-weight: 700; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.ink { color: var(--ink); }
.small { font-size: 13px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
.top-gap { flex: 1; }
.i { flex: none; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--r);
  border: 0; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background-color .2s ease; }
.btn:active { transform: scale(.98); }
.btn-play { background: var(--accent); color: #fff; }
.btn-play:hover { color: #fff; filter: brightness(1.08); }
.btn-big { min-height: 52px; font-size: 16px; padding: 0 22px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #11151b; }
.btn-line { background: var(--white); border: 1px solid var(--ink); color: var(--ink); min-height: 44px; padding: 0 16px; font-size: 14px; }
.btn-quiet { border-color: var(--line); }
.btn-dash { background: var(--white); border: 1px dashed var(--off); min-height: 44px; font-weight: 600; font-size: 14px; padding: 0 14px; }
.link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; border: 0; background: none; padding: 0; font-weight: 700;
  font-size: 15px; text-decoration: none; color: var(--ink); }
.link:hover { text-decoration: underline; }
.icon-btn { width: 44px; height: 44px; border: 0; border-radius: 22px; background: var(--paper); display: grid; place-items: center; color: var(--ink); }
.soon-note { display: inline-flex; align-items: center; min-height: 48px; font-weight: 700; color: var(--ink-2); }

/* Segmented control and checkboxes */
.seg { display: inline-flex; background: var(--soft); border-radius: var(--r); padding: 3px; gap: 2px; }
.seg button { border: 0; border-radius: 8px; min-height: 38px; padding: 0 14px; font-size: 14px; font-weight: 600; background: transparent; color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(38, 43, 52, .12); }
.check { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); flex: none; }
.check small { margin-left: auto; color: var(--ink-2); font-size: 13px; }
.check.is-off { color: var(--off); }

/* Header */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.top-in { height: 60px; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 26px; width: auto; display: block; }
.nav { display: none; gap: 24px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a[aria-current="page"], .nav a:hover { color: var(--ink); }
.watch-btn { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  padding: 4px 8px 4px 6px; min-height: 44px; text-align: left; }
.watch-btn-img { height: 32px; width: auto; }
.watch-btn-text { display: flex; flex-direction: column; line-height: 1.2; font-size: 13px; max-width: 120px; }
.watch-btn-text small { color: var(--ink-2); font-size: 11px; }
.watch-btn-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.menu { position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(20, 23, 28, .14); padding: 8px; display: flex; flex-direction: column; min-width: 200px; }
.menu-panel a { padding: 12px 12px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--paper); }

/* Home: introduction */
.intro { padding-top: 24px; padding-bottom: 20px; display: flex; flex-wrap: wrap; gap: 16px 64px; align-items: flex-end; }
.intro-text { flex: 999 1 520px; min-width: 0; }
.intro h1 { font-size: 26px; letter-spacing: -.01em; margin-bottom: 8px; }
.intro p { color: var(--ink-2); font-size: 16px; max-width: 62ch; }
.stats { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; flex: none; }
.stats dt { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.stats dd { margin: 0; font-size: 20px; font-weight: 700; white-space: nowrap; }

/* Home: the catalogue */
.cat { padding-bottom: 48px; }
.cat-tools, .filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 14px; min-height: 48px; color: var(--ink-2); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15px; color: var(--ink); }
.search:focus-within { border-color: var(--ink); }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sort select, .field select { min-height: 48px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); padding: 0 12px;
  font-size: 15px; font-weight: 600; color: var(--ink); }
.fmenu { position: relative; }
.fmenu summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 14px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--white); font-size: 14px; font-weight: 700; cursor: pointer; }
.fmenu summary::-webkit-details-marker { display: none; }
.fmenu.is-set summary { border: 2px solid var(--ink); padding: 0 11px 0 13px; }
.fmenu-panel { position: absolute; top: 50px; left: 0; z-index: 15; width: 280px; background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 10px 30px rgba(20, 23, 28, .14); padding: 8px 14px; animation: menuIn .16s ease-out; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; min-height: 36px; margin-bottom: 8px; font-size: 14px; }
.range { font-weight: 700; }
#chips { display: contents; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 8px 0 10px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--white); font-size: 13px; font-weight: 600; }
.cat-body { display: flex; gap: 28px; align-items: flex-start; }
.cat-list { flex: 1 1 auto; min-width: 0; }
.rows-head { display: none; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows.pg-next { animation: pgNext .22s var(--ease); }
.rows.pg-prev { animation: pgPrev .22s var(--ease); }
.row-li { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "img main"; gap: 0 12px; align-items: center;
  padding: 10px 8px; text-decoration: none; color: var(--ink); transition: background-color .2s ease; }
.row:hover { background: var(--white); color: var(--ink); }
.row[aria-current="true"] { background: var(--white); }
.row-no { font: 11px/1.4 var(--num); color: var(--ink-2); }
.row-img { width: 72px; height: 72px; border-radius: 50%; display: block; transition: box-shadow .2s ease; }
.row .row-img { grid-area: img; }
.row[aria-current="true"] .row-img { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent); }
.row[aria-current="true"] .row-no { color: var(--accent); }
.row { grid-template-areas: "img no" "img main"; grid-template-rows: auto auto; }
.row .row-no { display: block; grid-area: no; align-self: end; }
.row-main { min-width: 0; display: flex; flex-direction: column; }
.row .row-main { grid-area: main; align-self: start; }
.row-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.row-line { font-size: 14px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-tags { font-size: 13px; color: var(--ink-2); }
.row-side { display: none; }
.try-live { min-height: 44px; font-weight: 700; padding: 0 4px; }
.try-live small { margin-left: 6px; font-weight: 400; }
.empty { padding: 40px 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* Pages */
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding-top: 14px; }
.pager .pg-range { font-size: 14px; color: var(--ink-2); }
.pg { display: flex; align-items: center; gap: 4px; }
.pg button { min-width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; font-size: 15px; font-weight: 700; display: inline-flex;
  align-items: center; justify-content: center; gap: 4px; padding: 0 8px; transition: background-color .15s ease; }
.pg button:hover:not([disabled]) { background: var(--soft); }
.pg button[aria-current="page"] { background: var(--ink); color: #fff; }
.pg button[disabled] { color: var(--off); cursor: default; }
.pg .gap { min-width: 24px; text-align: center; color: var(--ink-2); }
.pg .pg-count { font-size: 14px; color: var(--ink-2); padding: 0 6px; }
.pg .pg-count b { color: var(--ink); }

/* The viewer: the selected face on the visitor's watch. A sheet on phones and tablets, a column on desktops. */
.viewer { background: var(--white); display: flex; flex-direction: column; gap: 14px; padding: 12px 20px 24px;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: min(92vh, 820px); overflow-y: auto; border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 40px rgba(20, 23, 28, .18); transform: translateY(105%); visibility: hidden;
  transition: transform .28s var(--ease), visibility 0s linear .28s; }
.viewer.open { transform: none; visibility: visible; transition: transform .28s var(--ease); }
.viewer-close { align-self: flex-end; }
.scrim { position: fixed; inset: 0; background: rgba(20, 23, 28, .42); z-index: 35; animation: fadeIn .2s ease; }
.viewer-watch { width: 200px; }
.viewer > *, .v-controls > *, .stage > *, .stage-controls > * { min-width: 0; max-width: 100%; }
.settings select, .field select { max-width: 100%; }
.v-no, .face-no { font: 13px/1.4 var(--num); color: var(--accent); margin-bottom: 4px; }
.v-name { font-size: 22px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-line, .v-meta { font-size: 15px; color: var(--ink-2); }
.v-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; height: 3em; }
.v-meta { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-2); height: 3em; overflow: hidden; }
.v-note .i { margin-top: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
/* In the watch panel: the Play button full width, its links on one row below; the same height for every face */
.viewer .actions { height: 100px; align-content: flex-start; flex: none; }
.viewer [data-v-play] { flex-basis: 100%; }
.viewer .btn-play, .viewer .soon-note { width: 100%; }
.film-link .i { margin-right: 2px; }
/* The watch panel keeps one size whatever the face offers: the controls have a fixed height and scroll inside */
.v-controls, .stage-controls { display: flex; flex-direction: column; gap: 14px; height: 236px; overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 4px 4px 2px; scrollbar-width: thin; flex: none; }
.stage-controls { height: 250px; }

/* A face set into a watch */
.watch { position: relative; margin: 0 auto; }
.watch-img { display: block; width: 100%; height: 100%; }
.watch-screen { position: absolute; border-radius: 50%; background: #000; }
.watch-face { position: absolute; border-radius: 50%; display: block; }
.watch-face.incoming { animation: fadeIn .2s ease-out both; }
.watch.is-plain { border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px #4A4F57; margin: 14px auto; }
.watch.is-plain .watch-img { display: none; }
.watch.is-plain .watch-face, .watch.is-plain .watch-screen { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; transform: none !important; }

/* Looks and modes */
.looks { border: 0; margin: 0; padding: 0; min-width: 0; }
.looks legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
/* Many Looks scroll sideways inside their panel; centred while they fit (auto margins never push past the left edge) */
.look-list { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; scrollbar-width: thin; max-width: 100%; overscroll-behavior-x: contain; }
.look-list > :first-child { margin-left: auto; }
.look-list > :last-child { margin-right: auto; }
.look { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 13px; width: 76px; flex: none; }
.look img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.look[aria-pressed="true"] img { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent); }
.look[aria-pressed="true"] span { font-weight: 700; }
.look span { text-align: center; line-height: 1.25; overflow-wrap: normal; word-break: keep-all; }
.modes { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* A live face: its canvas sits in the watch's screen over the picture, which goes once the canvas runs */
.watch-live { transition: opacity .25s ease; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.look canvas { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s ease; }
.look[aria-pressed="true"] canvas { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent); }
.swatches { border: 0; margin: 0; padding: 0; min-width: 0; }
.swatches legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.swatch-list { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--sw); box-shadow: 0 0 0 1px rgba(38, 43, 52, .25) inset; padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--accent); }
.more-settings summary { cursor: pointer; font-size: 14px; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.settings { display: grid; gap: 10px; padding-top: 4px; }
.settings .field select { min-height: 44px; }
.stage .swatches legend, .stage .more-settings summary { text-align: center; justify-content: center; }
.stage .swatch-list { justify-content: center; }

/* Coming soon */
.soon { padding-bottom: 48px; }
.soon h2 { font-size: 20px; margin-bottom: 10px; }
.soon-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.soon-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.soon-row .row-no { display: none; }
.soon-row .row-name { text-decoration: none; }
.soon-side { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 14px; }
.soon-side a { font-weight: 700; }

/* Apps */
.apps { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0 48px; }
.apps h2 { font-size: 24px; margin-bottom: 6px; }
.lede { color: var(--ink-2); font-size: 16px; max-width: 640px; margin-bottom: 24px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.app-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.app-head { display: flex; gap: 14px; align-items: center; }
.app-head img { width: 56px; height: 56px; border-radius: 14px; }
.app-head h3 { font-size: 18px; }
.app-head p { font-size: 14px; color: var(--ink-2); }
.app-purpose { font-size: 15px; }
.app-card .muted { font-size: 14px; }
.app-card .btn { margin-top: auto; align-self: flex-start; }

/* Footer */
.foot { padding: 36px 0 44px; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 28px 40px; justify-content: space-between; align-items: flex-start; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; max-width: 340px; color: var(--ink-2); }
.foot-nav { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.foot-nav a { display: inline-block; padding: 6px 0; }
.foot-social { display: flex; gap: 8px; flex-wrap: wrap; }
.social { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.foot-small { flex-basis: 100%; color: var(--ink-2); font-size: 13px; max-width: 75ch; }

/* A face's page */
.face-page { padding-bottom: 56px; }
.crumbs { font-size: 14px; color: var(--ink-2); padding: 16px 0; }
.crumbs a { color: var(--ink-2); }
.face-top { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.stage { flex: 1 1 480px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column;
  align-items: center; gap: 18px; min-width: 0; }
.stage-watch { width: min(280px, 72vw); }
.stage-controls { width: 100%; min-width: 0; }
.stage .looks legend { text-align: center; width: 100%; }
.stage .modes { justify-content: center; }
.viewer .look-list > :first-child { margin-left: 0; }
.face-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.face-info h1 { font-size: 30px; letter-spacing: -.01em; margin-bottom: 8px; }
.face-no { font-size: 15px; }
.face-story { font-size: 17px; color: var(--ink-2); max-width: 540px; }
.facts { margin: 0; display: grid; grid-template-columns: 130px minmax(0, 1fr); border-top: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--ink-2); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.facts dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.block { margin-top: 48px; }
.block h2 { font-size: 22px; margin-bottom: 18px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.how li { border-top: 2px solid var(--ink); padding-top: 12px; }
.how h3 { font-size: 17px; margin-bottom: 6px; }
.how p { font-size: 15px; color: var(--ink-2); }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.extras figure { margin: 0; }
.extras img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.extras figcaption { margin-top: 10px; font-size: 15px; }
.film { display: block; position: relative; border-radius: 16px; overflow: hidden; background: #16181C; aspect-ratio: 16 / 9; max-width: 860px; }
.film img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.film-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 36px; background: #fff; color: var(--ink);
  display: grid; place-items: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.film:hover .film-play { transform: scale(1.06); }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; color: #fff; font-weight: 700; background: rgba(0, 0, 0, .55); }
.gallery { list-style: none; margin: 0; padding: 0 0 8px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery li { flex: none; scroll-snap-align: start; }
.gallery img { height: 340px; width: auto; display: block; border-radius: 12px; border: 1px solid var(--line); background: var(--white); }
.more { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.more-card { display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px; transition: border-color .2s ease; }
.more-card:hover { border-color: var(--ink); }
.more-card img { width: 64px; height: 64px; border-radius: 50%; }
.more-card > span { display: flex; flex-direction: column; }
.more-card .row-no { color: var(--accent); }

/* Films play here, in a dialog; YouTube's frame loads only when one is pressed */
.film-dialog { border: 0; padding: 0; border-radius: 16px; width: min(960px, calc(100vw - 24px)); background: #000; color: #fff; overflow: hidden; }
.film-dialog[open] { animation: menuIn .2s ease-out; }
.film-dialog::backdrop { background: rgba(20, 23, 28, .7); }
.film-frame { aspect-ratio: 16 / 9; background: #000; }
.film-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.film-bar { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 16px; background: var(--white); }

/* The watch picker */
.picker { border: 0; padding: 0; border-radius: 20px; width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 24px); background: var(--white);
  color: var(--ink); box-shadow: 0 12px 40px rgba(20, 23, 28, .2); overflow: hidden; }
.picker[open] { display: flex; flex-direction: column; animation: menuIn .2s ease-out; }
.picker::backdrop { background: rgba(20, 23, 28, .42); }
.picker-head { display: flex; align-items: center; gap: 16px; padding: 16px 16px 14px 20px; border-bottom: 1px solid var(--line); }
.picker-head > div { flex: 1; }
.picker-head h2 { font-size: 20px; }
.picker-head p { color: var(--ink-2); font-size: 14px; }
.picker-body { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; }
.picker-models { padding: 16px 20px 8px; }
.picker-models h3 { font-size: 15px; margin: 4px 0 10px; }
.models { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 20px; }
.model { border: 1px solid var(--line); border-radius: 14px; background: var(--white); padding: 10px 6px; display: flex; flex-direction: column; align-items: center;
  gap: 4px; text-align: center; transition: border-color .2s ease, background-color .2s ease; }
.model:hover { background: var(--paper); }
.model[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px 5px; }
.model img { height: 96px; width: auto; }
.model b { font-size: 14px; line-height: 1.3; }
.model small { font-size: 12px; color: var(--ink-2); }
.plain-disc { width: 64px; height: 64px; margin: 16px 0; border-radius: 50%; background: #16181C; box-shadow: 0 0 0 6px #4A4F57; }
/* Phones: the watches first; your choice and its button stay at the bottom */
.picker-side { position: sticky; bottom: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); background: #F7F8F9;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.picker-preview { grid-row: span 2; }
.picker-preview .watch { width: 56px; }
.picker-preview .plain { width: 48px; height: 48px; margin: 4px auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px #4A4F57; }
.picker-side .picker-model, .picker-side .picker-detail { text-align: left; align-self: end; }
.picker-side .picker-detail { align-self: start; }
.picker-side .variants, .picker-side .picker-use { grid-column: 1 / -1; }
.picker-side .variants legend { display: none; }
.picker-preview .plain img { width: 100%; height: 100%; display: block; }
.picker-model { font-size: 17px; font-weight: 700; text-align: center; }
.variants { border: 0; margin: 0; padding: 0; }
.variants legend { font-size: 14px; font-weight: 700; margin-bottom: 8px; padding: 0; }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { min-height: 40px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); font-size: 14px; font-weight: 600; }
.variant[aria-pressed="true"] { border: 2px solid var(--ink); padding: 0 11px; }
.picker-detail { font-size: 14px; color: var(--ink-2); text-align: center; }
.picker-use { display: flex; flex-direction: column; gap: 8px; }
.picker-use p { font-size: 13px; color: var(--ink-2); }

/* Contact */
.contact { padding-bottom: 56px; }
.contact-head { padding: 24px 0 18px; }
.contact-head h1 { font-size: 28px; margin-bottom: 4px; }
.contact-head p { color: var(--ink-2); }
.contact-body { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cform { flex: 999 1 520px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.banner { display: flex; gap: 12px; align-items: center; background: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.banner img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.banner p { flex: 1; }
.stepbar { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.stepbar li { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.stepbar li::before { content: ""; height: 4px; border-radius: 2px; background: var(--soft); transition: background-color .3s ease; }
.stepbar li.done, .stepbar li.now { color: var(--ink); }
.stepbar li.done::before, .stepbar li.now::before { background: var(--ink); }
.stepbar li.now { font-weight: 700; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step + .step { border-top: 1px solid var(--line); padding-top: 18px; }
.step h2 { font-size: 21px; outline: none; }
.step .search { flex: none; }
.cform.flowing .step + .step { border-top: 0; padding-top: 0; }
.cform.flowing .step { animation: inFwd .26s var(--ease); }
.cform.flowing .step.back { animation-name: inBack; }
.opt-list { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; }
.opt-group { padding: 10px 14px 4px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.opt { display: flex; align-items: center; gap: 12px; padding: 6px 14px; min-height: 52px; cursor: pointer; transition: background-color .2s ease; }
.opt:hover { background: #F7F8F9; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt img { width: 40px; height: 40px; flex: none; }
.opt span { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.opt small { font: 11px/1.4 var(--num); color: var(--ink-2); }
.opt b { font-size: 15px; }
.opt .i { visibility: hidden; }
.opt:has(input:checked) { background: var(--paper); }
.opt:has(input:checked) .i { visibility: visible; }
.opt:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.topics { display: grid; grid-template-columns: 1fr; gap: 10px; }
.topic { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 52px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 15px; font-weight: 600; transition: border-color .2s ease, background-color .2s ease; }
.topic:hover { background: #F7F8F9; }
.topic input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.cform.flowing .topic input { position: absolute; opacity: 0; pointer-events: none; }
.topic:has(input:checked) { border: 2px solid var(--ink); padding: 11px 13px; }
.topic:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field textarea { font-weight: 400; font-size: 15px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; min-height: 46px;
  background: var(--white); width: 100%; }
.field textarea { padding: 12px; resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field select { font-weight: 400; width: 100%; }
.field [aria-invalid="true"] { border-color: #B3261E; }
.hint { font-size: 12px; font-weight: 500; color: var(--ink-2); display: flex; gap: 4px; align-items: center; }
.hint.ok::before { content: ""; width: 12px; height: 7px; border-left: 2.4px solid #2E7D4F; border-bottom: 2.4px solid #2E7D4F; transform: rotate(-45deg) translate(1px, -2px); }
.error { color: #B3261E; font-size: 14px; font-weight: 600; }
.devices { border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 12px 14px 14px; display: grid; grid-template-columns: 1fr; gap: 12px; min-width: 0; }
.devices legend { font-size: 14px; font-weight: 700; padding: 0 4px; }
.app-line { font-size: 13px; color: var(--ink-2); }
.check.wide { font-size: 14px; }
.devices.off .field input { color: var(--off); }
.shot-preview { display: flex; gap: 12px; align-items: center; }
.shot-preview img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.shot-preview p { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-nav { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.form-nav .back { padding: 0 8px; }
.failed { background: #FBEDEC; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.summary { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.summary h2 { font-size: 16px; }
.summary-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.summary-card > * + * { border-top: 1px solid var(--line); padding-top: 10px; }
.sum-pick { display: flex; gap: 10px; align-items: center; }
.sum-pick img { width: 44px; height: 44px; border-radius: 50%; animation: settle .24s var(--ease); }
.sum-pick span { display: flex; flex-direction: column; line-height: 1.3; }
.sum-pick small { font: 11px/1.4 var(--num); color: var(--ink-2); }
.sent { flex: 999 1 520px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 40px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; }
.sent h2 { font-size: 22px; outline: none; }
.sent-mark { width: 56px; height: 56px; border-radius: 28px; background: var(--soft); display: grid; place-items: center; }

/* Privacy and other text pages */
.prose { max-width: 820px; padding-top: 28px; padding-bottom: 56px; font-size: 16px; }
.prose-head { margin-bottom: 24px; }
.prose h1 { font-size: 30px; margin-bottom: 8px; }
.prose h2 { font-size: 21px; margin: 36px 0 10px; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; }
.prose p, .prose ul, .prose ol { margin: 0 0 12px; }
.prose .lead { font-size: 18px; }
.prose .num { font: 13px/1 var(--num); color: var(--ink-2); margin-right: 10px; }
.prose .label { font-size: 14px; font-weight: 700; margin: 20px 0 8px; }
.prose .contents { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 20px 0; }
.prose .contents ol { list-style: none; padding: 0; margin: 8px 0 0; columns: 2 220px; }
.prose .contents li { padding: 3px 0; break-inside: avoid; }
.prose .contents li span { font: 11px/1 var(--num); color: var(--ink-2); margin-right: 8px; }
.prose code { font-size: .9em; overflow-wrap: anywhere; }
.prose .table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.prose .table th, .prose .table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .table thead th { font-size: 13px; color: var(--ink-2); }
.prose .table .sub { display: block; font-weight: 400; font-size: 13px; color: var(--ink-2); }
.prose .table .yes { font-weight: 700; }
.lost { min-height: 50vh; }

/* Help pages: a topic list like the catalogue's rows, numbered steps, answers that open, and the way to reach us */
.help .crumbs { padding: 0 0 12px; }
.help-topics { list-style: none; margin: 20px 0 8px; padding: 0; display: grid; gap: 8px; }
.help-topic { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; text-decoration: none; transition: border-color .2s ease, transform .2s var(--ease); }
.help-topic:hover { border-color: var(--ink); }
.help-topic:active { transform: scale(.99); }
.help-topic > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.help-topic b { font-size: 17px; }
.help-topic .muted { font-size: 15px; }
.help-topic .i { color: var(--ink-2); transition: transform .2s var(--ease); }
.help-topic:hover .i { transform: translateX(3px); }
.prose .note { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 20px 0; }
.prose .note p:last-child, .prose .note ul:last-child { margin-bottom: 0; }
.prose .note ul { padding-left: 20px; }
.prose .note li + li { margin-top: 4px; }
.prose .steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 16px; }
.prose .steps li { counter-increment: step; position: relative; padding: 2px 0 2px 40px; min-height: 28px; }
.prose .steps li + li { margin-top: 10px; }
.prose .steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; font: 12px/1 var(--num); color: var(--ink); }
.prose .qa h3 { margin-top: 24px; }
.prose h2[id], .prose section[id] { scroll-margin-top: 16px; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px;
  padding: 12px 0; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2);
  transform: translateY(-3px) rotate(45deg); transition: transform .24s var(--ease); }
.faq[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq[open] .faq-a { animation: fadeIn .24s ease; }
.faq-a { padding: 0 0 14px; color: var(--ink-2); }
.faq-a b, .faq-a a { color: var(--ink); }
.prose .works-on { margin-top: 4px; }
.help-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; margin-top: 44px; padding: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.help-contact > div { flex: 1 1 320px; }
.prose .help-contact h2 { margin: 0 0 6px; font-size: 19px; }
.prose .help-contact p { margin: 0; font-size: 15px; }
.help-more { margin-top: 32px; }
.prose .help-more h2 { margin: 0 0 8px; font-size: 17px; }
.help-more ul, .help-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.help-more a, .help-links a { display: inline-block; padding: 8px 0; }
.face-help p { max-width: 640px; margin-bottom: 8px; }

@keyframes menuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes faceIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes pgNext { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
@keyframes pgPrev { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes inFwd { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes inBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }

/* Phones: the privacy tables stack */
@media (max-width: 719px) {
  .prose .table.stack thead { display: none; }
  .prose .table.stack tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .prose .table.stack th, .prose .table.stack td { display: block; border: 0; padding: 4px 12px; }
  .prose .table.stack td::before { content: attr(data-label) ": "; color: var(--ink-2); }
  .prose .works-on td:first-child { font-weight: 700; padding-top: 8px; }
  .prose .works-on td:first-child::before { content: none; }
  .prose .works-on .sub { display: inline; margin-left: 6px; font-weight: 400; }
  .watch-btn-text { display: none; }
  .stats { gap: 8px 20px; }
  .gallery img { height: 280px; }
  .extras { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; }
  .extras figure { flex: none; width: 72vw; max-width: 280px; scroll-snap-align: start; }
  .fmenu[open] { flex-basis: 100%; }
  .fmenu-panel { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
}

/* Tablets and up */
@media (min-width: 720px) {
  .wrap { padding: 0 24px; }
  .top-in { height: 64px; gap: 32px; }
  .brand img { height: 30px; }
  .nav { display: flex; }
  .menu { display: none; }
  .watch-btn-text { max-width: 180px; }
  .intro { padding-top: 40px; padding-bottom: 28px; }
  .intro h1 { font-size: 34px; }
  .intro p { font-size: 17px; }
  .stats dd { font-size: 22px; }
  .rows-head { display: grid; grid-template-columns: 76px 84px minmax(0, 1fr) 120px; gap: 0 16px; padding: 0 12px 8px; font-size: 13px; color: var(--ink-2); }
  .rows-head { border-bottom: 0; }
  .row { grid-template-columns: 76px 80px minmax(0, 1fr) 120px; grid-template-areas: "no img main side"; grid-template-rows: auto; gap: 0 16px; padding: 10px 12px; }
  .row .row-no { grid-area: no; align-self: center; font-size: 12px; }
  .row .row-main { align-self: center; }
  .row { grid-template-columns: 76px 80px minmax(0, 1fr) 150px; }
  .rows-head { grid-template-columns: 76px 84px minmax(0, 1fr) 150px; }
  .row-img { width: 80px; height: 80px; }
  .row-name { font-size: 17px; }
  .row-side { grid-area: side; display: flex; flex-direction: column; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
  .row-extra { font-size: 13px; }
  .row-live { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
  .row-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
  .soon-row { grid-template-columns: 76px 80px minmax(0, 1fr) auto; gap: 0 16px; padding: 10px 12px; }
  .soon-row .row-no { display: block; }
  .soon-row .row-img { width: 80px; height: 80px; }
  .soon-side { grid-column: auto; flex-direction: column; align-items: flex-end; }
  .topics { grid-template-columns: 1fr 1fr; }
  .devices { grid-template-columns: 1fr 1fr; }
  .devices .app-line, .devices .check.wide { grid-column: 1 / -1; }
  .cform { padding: 24px 28px; }
  .prose .works-on td:first-child { width: 46%; }
  .face-info h1 { font-size: 40px; }
  .stage { padding: 28px; }
  .stage-watch { width: 320px; }
  .apps h2 { font-size: 28px; }
  .picker-body { flex-direction: row; overflow: hidden; }
  .picker-models { flex: 1; min-width: 0; overflow-y: auto; padding: 20px 24px 28px; }
  .picker-models { padding: 20px 24px 28px; }
  .picker-side { position: static; width: 320px; flex: none; border-top: 0; border-left: 1px solid var(--line); padding: 24px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
  .picker-side .picker-model, .picker-side .picker-detail { text-align: center; }
  .picker-side .variants legend { display: block; }
  .picker-preview .watch { width: 190px; }
  .picker-preview .plain { width: 170px; height: 170px; margin: 40px auto; box-shadow: 0 0 0 8px #4A4F57; }
  .picker-use { margin-top: auto; }
}

/* Desktops: the viewer sits beside the list */
@media (min-width: 1024px) {
  /* One width for every face (Flight Horizon's): its contents never widen it; many Looks scroll inside */
  .viewer { position: sticky; top: 16px; left: auto; right: auto; bottom: auto; z-index: auto; flex: 0 0 490px; width: 490px; min-width: 0; height: auto; overflow: visible;
    transform: none; visibility: visible; transition: none; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; padding: 24px; }
  .viewer-close, .scrim { display: none !important; }
  .viewer-watch { width: 230px; }
  .v-name { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
