/* Quietlift website. Tokens follow app/design/tokens.json (version 2026-11-04e).
   Fonts are self-hosted (SIL OFL 1.1, see /fonts/OFL.txt). No external requests. */

@font-face { font-family: "Barlow"; src: url("/fonts/barlow_regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow_medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow_semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow_condensed_semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow_condensed_bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --ground: #FCFCFA;
  --surface: #F4F4F2;
  --raised: #E5E5E5;
  --text: #1C1C1E;
  --muted: #707072;
  --accent: #1C1C1E;
  --on-fill: #FAFAF8;
  --outline: #E5E5E5;
  --progress: #0057FF;

  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --gutter: 20px;
  --section: 56px;
  --measure: 50rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #141416;
    --surface: #1C1C1E;
    --raised: #2A2A2C;
    --text: #F2F2F0;
    --muted: #A1A1A6;
    --accent: #F2F2F0;
    --on-fill: #141416;
    --outline: #2A2A2C;
    --progress: #5B91FF;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--gutter); top: 12px; background: var(--accent); color: var(--on-fill); padding: 8px 16px; border-radius: 999px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--outline); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; text-transform: uppercase; }
.brand svg { display: block; }
.brand .mark-bg { fill: var(--accent); }
.brand .mark-fg { fill: var(--on-fill); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-nav a { display: inline-block; padding: 10px 0; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-nav a:hover { color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); }

/* Type */
h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(3rem, 11vw, 5.25rem); line-height: 0.92; letter-spacing: -0.012em; margin: 56px 0 24px; }
h2 { font-size: clamp(1.9rem, 5.5vw, 2.6rem); line-height: 0.96; letter-spacing: -0.005em; margin: var(--section) 0 18px; }
h3 { font-size: 1.45rem; line-height: 1.05; letter-spacing: 0.005em; margin: 32px 0 10px; }
p, ul, ol, dl, table, pre, figure { margin: 0 0 18px; }
.lede { font-size: 1.25rem; line-height: 1.45; max-width: 38rem; }
.muted, .note { color: var(--muted); }
.note { font-size: 0.9375rem; }
.eyebrow, .label { display: block; color: var(--muted); font-family: var(--body); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 8px; }
.dated { color: var(--muted); font-size: 0.9375rem; margin-top: -8px; }

a { color: var(--text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }

strong { font-weight: 600; }
code, kbd, pre { font-family: var(--mono); font-size: 0.875em; }
code { background: var(--surface); padding: 0.1em 0.3em; }
pre { background: var(--surface); padding: 16px; overflow-x: auto; line-height: 1.45; }
pre code { background: none; padding: 0; }
.path { font-weight: 600; }

main ul, main ol { padding-left: 1.25rem; }
main li { margin-bottom: 6px; }

/* Pills */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--accent); color: var(--on-fill); text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }
.pill:hover { text-decoration: none; opacity: 0.92; }
.pill.secondary { background: none; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); min-height: 48px; font-size: 1.0625rem; }
.pill .soon { font-family: var(--body); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.02em; text-transform: none; margin-left: 10px; opacity: 0.8; }
.pill[aria-disabled="true"] { cursor: default; }

/* Hairline rows (lists, not cards) */
.rows { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--text); }
.rows > li { border-bottom: 1px solid var(--outline); padding: 14px 0; margin: 0; }
.rows .title { display: block; font-weight: 600; font-size: 1.0625rem; }
.rows .hint { display: block; color: var(--muted); font-size: 0.9375rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--text); }
.steps > li { counter-increment: step; position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--outline); margin: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 10px; font-family: var(--head); font-weight: 700; font-size: 1.6rem; line-height: 1; }

/* Definition lists as hairline rows (FAQ) */
.faq { border-top: 1px solid var(--text); margin: 0 0 24px; }
.faq dt { font-weight: 600; font-size: 1.0625rem; padding-top: 16px; }
.faq dd { margin: 4px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--outline); }
.faq dd p:last-child, .faq dd ul:last-child, .faq dd ol:last-child { margin-bottom: 0; }

/* Square tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.tile { background: var(--surface); padding: 14px 14px 12px; margin: 0; }
.tile .label { margin: 0 0 6px; font-size: 0.6875rem; }
.tile .value { font-weight: 600; font-size: 1.875rem; line-height: 1; }
.tile .unit { color: var(--muted); font-size: 0.8125rem; margin-left: 4px; }

/* Set-row illustration */
.setrow { margin: 32px 0; }
.setrow table { margin: 0; }
.setrow .pr { color: var(--progress); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1.5px solid currentColor; padding: 1px 6px; margin-left: 8px; white-space: nowrap; }
.setrow figcaption { color: var(--muted); font-size: 0.875rem; margin-top: 8px; }

/* Screenshots: the store frames, four across, two on a phone */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 24px 0 8px; padding: 0; list-style: none; }
.shots li { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--outline); }
@media (max-width: 620px) { .shots { grid-template-columns: repeat(2, 1fr); } }

/* Tables: hairlines, no zebra */
.table-wrap { overflow-x: auto; margin: 0 0 24px; }
table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--text); font-size: 0.9875rem; }
caption { text-align: left; color: var(--muted); font-size: 0.875rem; padding-bottom: 8px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--outline); }
th:last-child, td:last-child { padding-right: 0; }
thead th { color: var(--muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
tbody th { font-weight: 600; }
table.compare td, table.compare th { min-width: 9rem; }
table.compare tbody th { min-width: 12rem; }
table.fields td:first-child { white-space: nowrap; }

/* Notices */
.aside { border-top: 1px solid var(--text); border-bottom: 1px solid var(--outline); padding: 14px 0; margin: 24px 0; }
.aside p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--outline); margin-top: 80px; }
.site-footer .wrap { padding-top: 24px; padding-bottom: 40px; color: var(--muted); font-size: 0.875rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.site-footer li + li::before { content: "\00B7"; padding: 0 10px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .site-header .wrap { padding-top: 14px; padding-bottom: 6px; gap: 4px 24px; }
  .site-nav ul { gap: 0 14px; }
  .site-nav a { font-size: 0.75rem; letter-spacing: 0.06em; }
  h1 { margin-top: 40px; }
  .lede { font-size: 1.125rem; }
  .pill { width: 100%; }
}

@media (max-width: 620px) {
  table.compare { border-top: 1px solid var(--text); }
  table.compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare tr { display: block; border-bottom: 1px solid var(--outline); padding: 12px 0; }
  table.compare th, table.compare td { display: block; min-width: 0; border: 0; padding: 2px 0; }
  table.compare tbody th { min-width: 0; margin-bottom: 4px; }
  table.compare td::before { content: attr(data-label); display: inline-block; min-width: 5.5rem; color: var(--muted); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
}

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

/* Visually hidden, read by screen readers */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
