/* manilu labs. One stylesheet for every page. Nothing is loaded from another host.

   Studio look: ink navy on warm off-white, white surfaces, cobalt for links and the main
   button, sage as a quiet tint, coral as a small warm detail. Quicksand for headlines,
   DM Sans for reading text. An app page wears the app's own colours instead
   (assets/apps.css, generated from site/site.json). */

@font-face {
  font-family: "Quicksand";
  src: url("/assets/fonts/quicksand-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dmsans-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  /* Colour */
  --bg: #FAFAF7;
  --fg: #141B2D;
  --fg-2: #55607A;
  --surface: #FFFFFF;
  --line: rgb(20 27 45 / 0.13);
  --accent: #2453B3;
  --on-accent: #FFFFFF;
  --tint: #E9EFE9;
  --sage: #A8BDAA;
  --coral: #F48170;

  /* Type */
  --display: "Quicksand", ui-rounded, "DM Sans", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space, radius, motion */
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.5rem;
  --s-5: 4rem;
  --s-6: clamp(4.5rem, 9vw, 7.5rem);
  --r-s: 0.625rem;
  --r-m: 1rem;
  --r-l: 1.5rem;
  --cols: minmax(0, 1fr) minmax(0, 1.25fr);
  --col-gap: clamp(2rem, 6vw, 5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 180ms;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1320;
    --fg: #F1F2EE;
    --fg-2: #A6AEC2;
    --surface: #171E30;
    --line: rgb(241 242 238 / 0.16);
    --accent: #86A6F7;
    --on-accent: #0E1320;
    --tint: #1A2826;
  }
}

/* An app page takes the app's colours. */
body[data-app] {
  --bg: var(--app-bg);
  --fg: var(--app-fg);
  --fg-2: var(--app-fg2);
  --surface: var(--app-surface);
  --line: var(--app-line);
  --accent: var(--app-accent);
  --on-accent: var(--app-on-accent);
  --tint: var(--app-surface);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--fg-2) var(--bg);
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  accent-color: var(--accent);
  caret-color: var(--accent);
  overflow-wrap: break-word;
}

::selection { background: var(--accent); color: var(--on-accent); }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { padding: 0; list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
strong, b { font-weight: 650; }
em { font-style: normal; font-weight: 600; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition: text-decoration-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
a:hover { text-decoration-color: currentColor; }
:is(.prose, .tour-copy, .doc-body, .reach) a:not([class]) { color: var(--accent); }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 0.3rem;
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { flex: none; width: 1.375rem; height: 1.375rem; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  border-radius: var(--r-s);
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

/* ------------------------------------------------------------------ type */

h1, h2, h3,
.display {
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

.hero-title,
.pack-title,
.doc-title {
  font-size: clamp(2.5rem, 8.4vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 4.6vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.1875rem, 2vw, 1.3125rem);
  line-height: 1.5;
  max-width: 34em;
}

/* Row labels and metadata: quiet, sentence case. */
.facts dt,
.spec dt,
.app-row-platform,
.app-row-status,
.feature-meta {
  font-size: 0.9375rem;
  line-height: 1.35;
}
.lead { text-wrap: pretty; }

/* --------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.button .icon { transition: transform 280ms var(--ease); }
.button:hover { transform: translateY(-1px); box-shadow: 0 0.6rem 1.1rem -0.7rem rgb(10 14 26 / 0.5); }
.button:hover .icon { transform: translateX(0.2rem); }
.button:active { transform: translateY(0) scale(0.985); }
.button-quiet {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.button-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: var(--s-4); }

/* ---------------------------------------------------------------- header */

.site-header { padding-block: 1.25rem; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  flex-wrap: wrap;
}

.wm { height: clamp(1.625rem, 2.5vw, 2rem); width: auto; }
.brand {
  display: inline-flex;
  padding-block: 0.35rem;
  text-decoration: none;
  transition: opacity var(--fast) var(--ease);
}
.brand:hover { opacity: 0.72; }
.brand-small .wm { height: 1.3rem; }

.app-brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
}
.app-brand::before {
  content: "";
  width: 1px;
  height: 1.1rem;
  margin-right: 0.9rem;
  background: currentColor;
  opacity: 0.3;
}
.brand-group { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-right: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  margin-inline: -0.8rem;
}
.nav a {
  display: block;
  padding: 0.7rem 0.8rem;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color var(--fast) var(--ease);
}
.nav a:hover { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav a[aria-current] {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 0.125rem;
  text-underline-offset: 0.45em;
  text-decoration-color: var(--nav-mark, var(--accent));
}

/* ------------------------------------------------------------- home hero */

.hero {
  display: grid;
  gap: var(--s-4);
  padding-top: clamp(2rem, 7vw, 5.5rem);
}
.hero-title { max-width: 11em; }
.hero-lead { margin-top: var(--s-3); max-width: 31em; color: var(--fg-2); }

.facts {
  align-self: end;
  padding: 1.5rem 1.6rem 1.35rem;
  background: var(--tint);
  border-radius: var(--r-l);
}
.facts-title {
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--fg-2);
}
.facts dl { margin-top: 0.5rem; }
.facts-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem 0.65rem;
  border-bottom: 1px solid var(--line);
}
.facts dt { color: var(--fg-2); }
.facts dd {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.2;
}
.facts-note {
  margin-top: 0.9rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fg-2);
}

@media (min-width: 58rem) {
  .hero {
    grid-template-columns: minmax(0, 1.6fr) minmax(17rem, 21rem);
    gap: var(--col-gap);
  }
}

/* -------------------------------------------------------------- sections */

.section { padding-top: var(--s-6); }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
  margin-bottom: var(--s-3);
}
.section-head p { color: var(--fg-2); }

/* Featured app: a block in the app's own colours. */
.feature {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--pack-bg);
  color: var(--pack-fg);
  border-radius: var(--r-l);
  isolation: isolate;
}
.feature ::selection { background: var(--pack-accent); color: var(--pack-on-accent); }
.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: 0;
}
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px rgb(128 128 128 / 0.22); }
.feature-name {
  margin-top: var(--s-3);
  font-size: clamp(2rem, 6.4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.feature-name a { text-decoration: none; }
.feature-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
/* The whole card shows the focus ring. Browsers without :has() keep the ring on the link itself. */
@supports selector(:has(a)) {
  .feature-name a:focus-visible { outline: none; }
  .feature:has(a:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 3px; }
}
.feature-sub { margin-top: 0.5rem; color: var(--pack-accent); font-weight: 600; font-size: 1.0625rem; }
.feature-summary { margin-top: var(--s-2); max-width: 27em; color: var(--pack-fg2); }
.feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0;
  margin-top: var(--s-3);
  color: var(--pack-fg2);
}
.feature-meta span + span::before { content: "·"; margin-inline: 0.7em; }
.feature-go {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--s-4);
  padding: 0.75rem 1.3rem;
  background: var(--pack-accent);
  color: var(--pack-on-accent);
  font-weight: 600;
  line-height: 1.2;
  border-radius: 999px;
  transition: transform var(--fast) var(--ease);
}
.feature-go .icon { transition: transform 280ms var(--ease); }
.feature:hover .feature-go { transform: translateY(-1px); }
.feature:hover .feature-go .icon { transform: translateX(0.2rem); }
.feature-shot {
  display: flex;
  justify-content: center;
  height: clamp(17rem, 70vw, 23rem);
  padding-top: var(--s-4);
}
.feature-shot .phone {
  width: clamp(13rem, 60vw, 17rem);
  transition: transform 480ms var(--ease);
}
.feature:hover .feature-shot .phone { transform: translateY(-0.6rem); }

@media (min-width: 52rem) {
  .feature { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .feature-copy { padding-bottom: clamp(1.5rem, 5vw, 3.5rem); }
  .feature-shot { height: auto; max-height: 31rem; padding-top: clamp(2rem, 4vw, 3.5rem); }
  .feature-shot .phone { width: clamp(15rem, 24vw, 19rem); }
}

/* Every app, one row each. */
.app-list { margin: var(--s-3) 0 0; border-top: 1px solid var(--line); }
.app-row {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "icon name arrow" "icon kind arrow" "icon status arrow";
  align-items: center;
  column-gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.app-row .app-icon { grid-area: icon; }
.app-row-name { grid-area: name; font-size: 1.125rem; }
.app-row-name a { text-decoration: none; }
.app-row-name a::after { content: ""; position: absolute; inset: 0; }
@supports selector(:has(a)) {
  .app-row-name a:focus-visible { outline: none; }
  .app-row:has(a:focus-visible) { outline: 2.5px solid var(--accent); outline-offset: 2px; border-radius: var(--r-s); }
}
.app-row-kind { grid-area: kind; color: var(--fg-2); font-size: 0.9375rem; }
.app-row-platform { display: none; color: var(--fg-2); }
.app-row-status { grid-area: status; margin-top: 0.3rem; color: var(--fg-2); }
.app-row-status::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.55em;
  background: var(--coral);
  border-radius: 50%;
  vertical-align: 0.05em;
}
.app-row .icon { grid-area: arrow; color: var(--fg-2); transition: transform 280ms var(--ease), color var(--fast) var(--ease); }
.app-row-name a { transition: color var(--fast) var(--ease); }
.app-row:hover .app-row-name a { color: var(--accent); }
.app-row:hover .icon { transform: translateX(0.25rem); color: var(--accent); }

@media (min-width: 44rem) {
  .app-row {
    grid-template-columns: auto minmax(0, 1.4fr) minmax(0, 1fr) 7rem 10rem auto;
    grid-template-areas: "icon name kind platform status arrow";
    padding-block: 0.9rem;
  }
  .app-row-platform { display: block; grid-area: platform; }
  .app-row-status { margin-top: 0; }
  .app-row-kind { font-size: 1rem; }
}

/* Two-column text blocks */
.split { display: grid; gap: var(--s-3); }
.split > .prose > * + * { margin-top: 1em; }
.prose > p { max-width: 38rem; text-wrap: pretty; }

.rows { margin: var(--s-3) 0 0; border-top: 1px solid var(--line); }
.rows > li {
  display: grid;
  gap: 0.1rem 2rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.rows strong { font-family: var(--display); font-weight: 700; font-size: 1.0625rem; }
.rows span { color: var(--fg-2); }
@media (min-width: 34rem) {
  .rows > li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
}
@media (min-width: 56rem) {
  .split { grid-template-columns: var(--cols); gap: var(--col-gap); }
}

/* The closing call to action */
.reach {
  display: grid;
  gap: var(--s-3);
  padding: clamp(1.5rem, 5vw, 3.25rem);
  background: var(--surface);
  border-radius: var(--r-l);
  box-shadow: 0 0 0 1px var(--line);
}
.reach-q {
  font-family: var(--text);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--fg-2);
  margin-bottom: 0.5rem;
}
.reach .reach-mail {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 6.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.09em;
  padding-bottom: 0.12em;
  overflow-wrap: anywhere;
  transition: color var(--fast) var(--ease);
}
.reach .reach-mail:hover { color: var(--accent); }
@media (min-width: 58rem) {
  .reach { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

/* ---------------------------------------------------------------- phones */

.phone {
  display: block;
  padding: 2.4%;
  background: #0E0D0C;
  border-radius: 17.5% / 8.2%;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14) inset, 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.5);
}
.phone img { width: 100%; border-radius: 15.6% / 7.2%; background: #2B2826; }
/* Screenshots cropped above the bottom of the screen: square the lower corners and let the page cut them. */
.phone-cut {
  padding-bottom: 0;
  border-radius: 17.5% 17.5% 0 0 / 9.2% 9.2% 0 0;
}
.phone-cut img { border-radius: 15.6% 15.6% 0 0 / 8.1% 8.1% 0 0; }
.phone-fade {
  -webkit-mask-image: linear-gradient(#000 72%, transparent);
  mask-image: linear-gradient(#000 72%, transparent);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14) inset;
}

/* ------------------------------------------------------------- app: pack */

.page-app .site-header {
  background: var(--pack-bg);
  color: var(--pack-fg);
  --nav-mark: var(--pack-accent);
}
.page-app .site-header :focus-visible { outline-color: var(--pack-accent); }

.pack {
  overflow: hidden;
  background: var(--pack-bg);
  color: var(--pack-fg);
}
.pack ::selection { background: var(--pack-accent); color: var(--pack-on-accent); }
.pack :focus-visible { outline-color: var(--pack-accent); }
.pack-grid {
  display: grid;
  gap: var(--s-4);
  padding-top: clamp(1.5rem, 4vw, 3.25rem);
}
.pack-copy .app-icon { width: 4.25rem; height: 4.25rem; }
.pack-title { margin-top: var(--s-3); font-size: clamp(2.75rem, 11vw, 4.75rem); }
.pack-sub {
  margin-top: 0.75rem;
  color: var(--pack-accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.2;
}
.pack-lead { margin-top: var(--s-3); max-width: 26em; color: var(--pack-fg2); }

.store { margin-top: var(--s-4); }
.store-soon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--pack-fg);
}
.store-soon::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--pack-accent);
  border-radius: 50%;
}
.store-live {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  background: var(--pack-accent);
  color: var(--pack-on-accent);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  transition: transform var(--fast) var(--ease);
}
.store-live .icon { transition: transform 280ms var(--ease); }
.store-live:hover { transform: translateY(-1px); }
.store-live:hover .icon { transform: translateX(0.2rem); }

/* The app in five lines. */
.spec {
  align-self: start;
  padding: 1.4rem 1.5rem 0.9rem;
  background: var(--pack-fg);
  color: var(--pack-bg);
  border-radius: var(--r-l);
}
.spec ::selection { background: var(--pack-bg); color: var(--pack-fg); }
.spec h2 {
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  letter-spacing: 0;
  opacity: 0.72;
}
.spec dl { margin-top: 0.4rem; }
.spec-row { padding-block: 0.7rem 0.65rem; }
.spec-row + .spec-row { border-top: 1px solid rgb(43 40 38 / 0.16); }
.spec dt { opacity: 0.72; }
.spec dd { margin-top: 0.2rem; font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }

.pack-shot { display: flex; justify-content: center; height: clamp(19rem, 82vw, 26rem); overflow: hidden; }
@media (max-width: 43.99rem) {
  .pack-shot { order: 2; }
  .spec { order: 3; margin-top: -4rem; margin-bottom: var(--s-4); position: relative; }
}
@media (prefers-color-scheme: dark) {
  .spec { background: var(--app-surface); color: var(--pack-fg); box-shadow: 0 0 0 1px var(--pack-line); }
  .spec-row + .spec-row { border-top-color: var(--pack-line); }
}
.pack-shot .phone { width: clamp(15rem, 68vw, 19rem); }

@media (min-width: 44rem) {
  .pack-grid {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 19rem);
    grid-template-areas: "copy shot" "spec shot";
    column-gap: clamp(2rem, 5vw, 4rem);
  }
  .pack-copy { grid-area: copy; }
  .spec { grid-area: spec; margin-bottom: var(--s-5); max-width: 26rem; }
  .pack-shot { grid-area: shot; align-self: end; height: auto; max-height: 38rem; overflow: visible; }
  .pack-shot .phone { width: 100%; }
}
@media (min-width: 68rem) {
  .pack-grid {
    grid-template-columns: minmax(0, 1.3fr) 19rem minmax(17rem, 0.9fr);
    grid-template-areas: "copy shot spec";
    align-items: start;
  }
  .pack-copy { padding-bottom: var(--s-5); }
  .pack-shot { max-height: 36rem; }
  .spec { align-self: end; margin-bottom: var(--s-5); }
}

/* -------------------------------------------------------------- app: tour */

.tour { display: grid; gap: var(--s-6); padding-top: var(--s-6); }
.tour-item { display: grid; gap: var(--s-4); align-items: center; }
.tour-copy > * + * { margin-top: 1rem; }
.tour-copy p { max-width: 32em; text-wrap: pretty; }
.tour-copy p:not(.lead) { color: var(--fg-2); }
.tour-copy h2 { max-width: 12em; }
.tour-shots {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 3vw, 1.5rem);
}
.tour-shots .phone { width: min(46%, 15.5rem); flex: 0 1 auto; }
.tour-shots.one .phone { width: min(64%, 16.5rem); }
.tour-shots .phone:nth-child(2) { margin-top: 2.5rem; }

@media (min-width: 56rem) {
  .tour-item { grid-template-columns: var(--cols); gap: var(--col-gap); }
  .tour-item.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .tour-item.flip .tour-shots { order: -1; }
}

/* A band of plain statements. */
.band {
  margin-top: var(--s-6);
  padding-block: clamp(2.5rem, 7vw, 5rem);
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.band-list { display: grid; margin-top: var(--s-3); border-top: 1px solid var(--line); }
.band-list li {
  display: grid;
  gap: 0.2rem 2rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--line);
}
.band-list strong { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 3vw, 1.5rem); line-height: 1.15; letter-spacing: -0.015em; }
.band-list span { color: var(--fg-2); }
.band-note { margin-top: var(--s-3); color: var(--fg-2); }
@media (min-width: 56rem) {
  .band-list li { grid-template-columns: var(--cols); column-gap: var(--col-gap); align-items: baseline; }
}

/* Link rows: help pages, related pages */
.links { margin: var(--s-3) 0 0; border-top: 1px solid var(--line); }
.links li { border-bottom: 1px solid var(--line); }
.links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.1rem 1.5rem;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
}
.links strong { font-family: var(--display); font-weight: 700; font-size: 1.1875rem; line-height: 1.25; }
.links span { grid-column: 1; color: var(--fg-2); font-size: 0.9375rem; }
.links .icon { grid-column: 2; grid-row: 1 / span 2; color: var(--fg-2); transition: transform 280ms var(--ease), color var(--fast) var(--ease); }
.links strong { transition: color var(--fast) var(--ease); }
.links a:hover strong { color: var(--accent); }
.links a:hover .icon { transform: translateX(0.25rem); color: var(--accent); }
.links a:focus-visible { border-radius: var(--r-s); }
.doc-body ul.links { padding-left: 0; }
.doc-body .links li + li { margin-top: 0; }
.doc-body .links a:not([class]) { color: inherit; }

/* ----------------------------------------------------------- reading pages */

.doc { padding-top: clamp(1.5rem, 5vw, 3.5rem); }
.doc-head { max-width: 46rem; }
.doc-title { font-size: clamp(2.25rem, 7.4vw, 3.75rem); }
.doc-lead { margin-top: var(--s-3); color: var(--fg-2); }
.doc-meta { margin-top: var(--s-2); color: var(--fg-2); font-size: 0.9375rem; }

/* Sibling pages of an app's help section */
.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: var(--s-4) 0 0;
}
.subnav a {
  display: block;
  padding: 0.45rem 0.95rem;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.subnav a:hover { box-shadow: inset 0 0 0 1px var(--fg-2); }
.subnav a[aria-current="page"] { background: var(--fg); color: var(--bg); box-shadow: none; font-weight: 600; }

.doc-body { max-width: 42rem; margin-top: var(--s-5); }
.doc-body > * + * { margin-top: 1.1em; }
.doc-body h2 {
  margin-top: 2.2em;
  font-size: clamp(1.4rem, 3.4vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { margin-top: 1.8em; }
.doc-body h2 + *, .doc-body h3 + * { margin-top: 0.6em; }
.doc-body p, .doc-body li { text-wrap: pretty; }
.doc-body ul, .doc-body ol { padding-left: 1.2em; }
.doc-body li + li { margin-top: 0.4em; }
.doc-body li::marker { color: var(--fg-2); }

/* A short summary table at the top of a policy */
.summary {
  padding: 1.25rem 1.5rem 0.75rem;
  background: var(--tint);
  border-radius: var(--r-l);
}
.summary h2 {
  margin: 0;
  font-family: var(--text);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: var(--fg-2);
}
.summary dl { margin-top: 0.35rem; }
.summary-row {
  display: grid;
  gap: 0.1rem 1.5rem;
  padding-block: 0.7rem;
}
.summary-row + .summary-row { border-top: 1px solid var(--line); }
.summary dt { color: var(--fg-2); }
.summary dd { font-weight: 600; }
@media (min-width: 34rem) {
  .summary-row { grid-template-columns: 11rem minmax(0, 1fr); align-items: baseline; }
}

.note {
  padding: 1rem 1.25rem;
  background: var(--tint);
  border-radius: var(--r-m);
}

/* Questions and answers: always visible, one row each. */
.qa-group + .qa-group { margin-top: var(--s-5); }
.qa-group > h2 { margin-bottom: 0.9rem; }
.qa {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 1rem;
}
.qa-group > .qa:first-of-type { border-top: 1px solid var(--line); }
.doc-body .qa { margin-top: 0; }
.doc-body .qa .qa-q { margin: 0; font-size: 1.0625rem; line-height: 1.35; letter-spacing: 0; }
.doc-body .qa p { margin: 0; }
.qa:target { margin-inline: -0.75rem; padding-inline: 0.75rem; background: var(--tint); border-radius: var(--r-s); border-color: transparent; }
@media (min-width: 46rem) {
  .doc-body:has(.qa) { max-width: 58rem; }
  .qa { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: baseline; }
}

.center { text-align: center; }
.notfound { padding-block: clamp(3rem, 12vw, 8rem); }
.notfound .actions { justify-content: flex-start; }

/* ---------------------------------------------------------------- footer */

.site-footer { margin-top: var(--s-6); padding-bottom: var(--s-5); }
.foot-grid {
  display: grid;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.foot-made { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.75rem; color: var(--fg-2); }
.foot-made .brand { color: var(--fg); }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 0; }
.foot-links a { display: inline-block; padding-block: 0.5rem; }
@media (min-width: 34rem) {
  .foot-links { display: flex; flex-wrap: wrap; }
  .foot-links a { padding-block: 0.2rem; }
}
.foot-contact { font-weight: 600; }
.foot-legal,
.foot-copy { color: var(--fg-2); font-size: 0.875rem; line-height: 1.5; max-width: 46rem; }

@media (min-width: 56rem) {
  .foot-grid {
    grid-template-columns: var(--cols);
    column-gap: var(--col-gap);
  }
  .foot-made { grid-row: span 2; align-self: start; }
  .foot-legal, .foot-copy { grid-column: 2; }
}

/* ---------------------------------------------------------------- motion */

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }

  /* First screen: the headline settles, then what sits beside it. */
  .hero-title, .pack-title, .doc-title { animation: rise 720ms var(--ease) both; }
  .hero-lead, .hero .actions, .pack-sub, .pack-lead, .store, .doc-lead { animation: rise 720ms var(--ease) 90ms both; }
  .facts, .spec { animation: rise 760ms var(--ease) 180ms both; }
  .pack-shot .phone { animation: rise-far 1000ms var(--ease) 120ms both; }

  /* Sections ease in as they scroll into view, where the browser supports it. */
  @supports (animation-timeline: view()) {
    .section, .tour-item, .band .wrap, .feature, .app-list {
      animation: rise-soft linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 42%;
    }
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(0.9rem); }
  to { opacity: 1; transform: none; }
}
@keyframes rise-far {
  from { opacity: 0; transform: translateY(3.5rem); }
  to { opacity: 1; transform: none; }
}
/* Movement only, so nothing is ever hidden while it waits to scroll in. */
@keyframes rise-soft {
  from { transform: translateY(1.75rem); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header nav, .skip, .subnav { display: none; }
  body { background: #fff; color: #000; }
}
