/* Hourvoy public site (hourvoy.com): home, features, pricing, download, privacy and security, privacy,
   terms, 404, changelog, and the shared header and footer of every page (help centre included; the help
   centre's own layout is /assets/help.css).

   Design: a sibling of AtDrive's other product sites (the light "paper" look: uppercase eyebrows, large
   tight headings, framed product pictures, alternating text-and-picture rows, a dark featured plan and a
   dark closing band, list-style FAQ, left-aligned page heads on inner pages, a sticky contents list on the
   legal pages), in Hourvoy's own palette: stone neutrals, graphite (not navy) for the dark surfaces, and
   Atdrive Orange from packages/brand. Hourvoy's own pictures are HTML/CSS drawings with sample data: the
   work diary with the tracker floating over it, the first-run consent screen, the tracker window and the
   hours-per-day chart.

   Load order in every page: /assets/brand/fonts/poppins.css → /assets/brand/css/tokens.css →
   /assets/brand/css/atdrive.css (atd- badges, tables and the header's atd-nav-link) → this file. The brand
   files come from packages/brand (copied in at build time by deploy/docker/web/assemble-site.mjs and the
   Dockerfile).

   Rules:
   - LIGHT ONLY. Every page has <html data-theme="light">, color-scheme "light" and the plain light logo,
     whatever the OS theme (site.test.mjs checks it). This file has no dark rules; the "dark" surfaces
     below (featured plan, closing band) are part of the light design.
   - Colours are the --site-* tokens below, defined once; nothing further down uses a raw colour.
   - No inline styles, no <style> blocks, no scripts: the site CSP is default-src 'none'; style-src 'self';
     img-src 'self' data:; font-src 'self'.
   - Asset URLs get ?v=<content hash> at build time (deploy/docker/web/stamp-site-assets.mjs): never add a
     version by hand.

   Breakpoints: phones < 640px (16px gutter, 64px sections), 760px (buttons stack, Sign In moves into the
   menu), 900px (rows and splits go to two columns), 1100px (inline nav, sticky legal contents). No
   horizontal page scroll down to 360px. */

/* ── Tokens ─────────────────────────────────────────────────────────────────────────────────────── */

:root {
  /* Surfaces: stone paper, white cards */
  --site-page: #fafaf8;
  --site-alt: #f2f2ef;
  --site-surface: #ffffff;
  --site-sunken: #ebebe7;
  --site-chrome: #f5f5f2;
  --site-track: #e3e3de;
  --site-header-bg: rgb(250 250 248 / 92%);
  /* Text */
  --site-heading: #141416;
  --site-ink: #1e1e1e;
  --site-ink-hover: #000000;
  --site-on-ink: #ffffff;
  --site-text-strong: #33333a;
  --site-body: #4a4a52;
  --site-muted: #66666e;
  /* Lines */
  --site-line: #e2e2dd;
  --site-line-soft: #ebebe6;
  --site-line-strong: #c8c8c1;
  --site-line-hover: #8a8a92;
  /* Brand */
  --site-brand: #ff4401;
  --site-brand-hover: #ff6600;
  --site-on-brand: #1e1e1e;
  --site-link: #c73600;
  --site-link-hover: #8f2b00;
  --site-tint: #fff1e9;
  --site-tint-line: #fbd5c2;
  --site-tint-text: #a33100;
  /* Graphite: the featured plan, the closing band and the tracker pictures */
  --site-graphite: #18181b;
  --site-graphite-2: #26262b;
  --site-graphite-line: #34343a;
  --site-on-graphite: #ffffff;
  --site-on-graphite-muted: #b9b9c1;
  --site-graphite-accent: #ff8a3d;
  /* Status and sample-data colours */
  --site-success: #15803d;
  --site-success-soft: #f0fdf4;
  --site-success-bright: #22c55e;
  --site-danger: #b91c1c;
  --site-danger-soft: #fef2f2;
  --site-warning: #b45309;
  --site-warning-soft: #fffbeb;
  --site-info: #1d4ed8;
  --site-info-soft: #eff6ff;
  --site-info-mid: #93b4f5;
  /* Shadows */
  --site-shadow-frame: 0 32px 72px rgb(20 20 22 / 11%);
  --site-shadow-pop: 0 18px 40px rgb(20 20 22 / 22%);
  --site-shadow-card: 0 1px 2px rgb(20 20 22 / 4%);
  --site-shadow-menu: 0 16px 32px rgb(20 20 22 / 8%);
  /* Type, radii, layout */
  --site-font: Poppins, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --site-radius-btn: 10px;
  --site-radius-tile: 10px;
  --site-radius-card: 16px;
  --site-radius-panel: 18px;
  --site-radius-frame: 20px;
  --site-radius-pill: 999px;
  --site-container: 1200px;
  --site-gutter: 24px;
  --site-section-y: 96px;
  --site-header-h: 72px;
  --site-touch: 44px;
  --site-reading: 72ch;
}

@media (max-width: 639px) {
  :root {
    --site-gutter: 16px;
    --site-section-y: 64px;
  }
}

/* ── Base ───────────────────────────────────────────────────────────────────────────────────────── */

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

html {
  color-scheme: light;
  background: var(--site-page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--site-header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--site-page);
  color: var(--site-ink);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--site-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--site-link-hover);
  text-decoration-thickness: 2px;
}

:focus-visible,
.atd-nav-link:focus-visible {
  outline: 3px solid var(--site-brand);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--site-heading);
  text-wrap: balance;
}

p {
  margin: 0;
}

b,
strong {
  font-weight: 600;
}

.wrap {
  width: 100%;
  max-width: calc(var(--site-container) + 2 * var(--site-gutter));
  margin: 0 auto;
  padding-inline: var(--site-gutter);
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--site-radius-btn);
  background: var(--site-ink);
  color: var(--site-on-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: var(--site-on-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ── Buttons ────────────────────────────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--site-radius-btn);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.btn:hover {
  text-decoration: none;
}

/* Orange with a dark label: white on Atdrive Orange fails contrast. */
.btn-cta,
.btn-cta:hover {
  color: var(--site-on-brand);
}

.btn-cta {
  background: var(--site-brand);
}

.btn-cta:hover {
  background: var(--site-brand-hover);
}

.btn-ink,
.btn-ink:hover {
  color: var(--site-on-ink);
}

.btn-ink {
  background: var(--site-graphite);
}

.btn-ink:hover {
  background: var(--site-ink-hover);
}

.btn-outline,
.btn-outline:hover {
  color: var(--site-ink);
}

.btn-outline {
  background: var(--site-surface);
  border-color: var(--site-line-strong);
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--site-ink);
}

/* A quiet button on the graphite band. */
.btn-on-dark,
.btn-on-dark:hover {
  color: var(--site-on-graphite);
}

.btn-on-dark {
  border-color: var(--site-graphite-line);
  background: var(--site-graphite-2);
  font-weight: 500;
}

.btn-on-dark:hover {
  border-color: var(--site-on-graphite-muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.actions-center {
  justify-content: center;
}

@media (max-width: 759px) {
  .actions {
    flex-direction: column;
    align-items: stretch;
    align-self: stretch;
  }
}

/* ── Header: paper, sticky, with the logo, the nav, Sign In and the graphite "Get Started Free" ────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--site-line-soft);
  background: var(--site-header-bg);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--site-header-h);
}

.header-logo {
  display: flex;
  align-items: center;
  flex: none;
  min-height: var(--site-touch);
  border-radius: 8px;
}

.header-logo img {
  width: auto;
  height: 30px;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .atd-nav-link {
  display: inline-flex;
  align-items: center;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: var(--site-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .atd-nav-link:hover,
.site-header .atd-nav-link[aria-current='page'] {
  color: var(--site-heading);
  border-bottom-color: var(--site-brand);
}

.site-header .atd-nav-link[aria-current='page'] {
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-header .header-signin {
  border-bottom: 0;
  color: var(--site-heading);
  font-weight: 500;
}

.site-header .header-signin:hover {
  color: var(--site-heading);
  text-decoration: underline;
  text-decoration-color: var(--site-brand);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.header-cta {
  min-height: var(--site-touch);
  padding: 0 18px;
  font-size: 15px;
}

/* The Menu disclosure: no JavaScript, a <details> with the links in a panel under the bar. */
.nav-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--site-touch);
  padding: 0 14px;
  border: 1px solid var(--site-line-strong);
  border-radius: var(--site-radius-btn);
  background: var(--site-surface);
  color: var(--site-ink);
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.nav-menu > summary::-webkit-details-marker {
  display: none;
}

.nav-menu > summary:hover {
  border-color: var(--site-ink);
}

.menu-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-icon-close,
.nav-menu[open] .menu-icon-open {
  display: none;
}

.nav-menu[open] .menu-icon-close {
  display: block;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--site-header-h));
  overflow-y: auto;
  padding: 8px var(--site-gutter) 20px;
  border-bottom: 1px solid var(--site-line);
  background: var(--site-page);
  box-shadow: var(--site-shadow-menu);
}

.nav-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-panel li + li {
  border-top: 1px solid var(--site-line-soft);
}

.site-header .nav-panel .atd-nav-link {
  display: flex;
  width: 100%;
  min-height: 50px;
  padding: 0;
  border: 0;
  color: var(--site-heading);
  font-size: 16px;
  font-weight: 500;
}

.site-header .nav-panel .atd-nav-link:hover,
.site-header .nav-panel .atd-nav-link[aria-current='page'] {
  color: var(--site-link);
}

.panel-actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

@media (min-width: 760px) {
  .panel-actions {
    display: none;
  }
}

@media (max-width: 759px) {
  .header-signin {
    display: none;
  }
}

@media (max-width: 519px) {
  .header-actions {
    display: none;
  }
  .nav-menu {
    margin-left: auto;
  }
}

@media (min-width: 1100px) {
  .header-bar {
    gap: 40px;
  }
  .site-nav {
    display: block;
  }
  .nav-menu {
    display: none;
  }
}

@media (min-width: 1280px) {
  .site-nav ul {
    gap: 28px;
  }
}

/* ── Shared text pieces ─────────────────────────────────────────────────────────────────────────── */

.eyebrow {
  margin: 0 0 18px;
  color: var(--site-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-wrap: balance;
}

.step-label {
  margin: 0 0 10px;
  color: var(--site-link);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.028em;
}

.lead,
.section-lead {
  max-width: 44em;
  color: var(--site-body);
  font-size: 18px;
  line-height: 1.7;
}

.lead {
  font-size: 20px;
  line-height: 1.6;
}

/* The phrase the headline turns on: an orange stroke under it, Hourvoy's "time line". The stroke never
   splits across lines: from 900px the phrase doesn't wrap (it moves to the last line whole); below that, a
   phrase too long for a phone line marks only its final words (.hero-mark-end), which never wrap. */
.hero-mark,
.hero-mark-end {
  padding-bottom: 0.04em;
  background: linear-gradient(var(--site-brand), var(--site-brand)) no-repeat left 100% / 100% 0.085em;
}

.hero-mark-end {
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero-mark {
    white-space: nowrap;
  }
  .hero-mark-end {
    background: none;
  }
}

@media (max-width: 899px) {
  .hero-mark:has(.hero-mark-end) {
    background: none;
  }
  /* Home: the marked phrase starts its own line, so it reads "Your Team / Can Trust". */
  .hero-title .hero-mark::before {
    content: '\A';
    white-space: pre;
  }
}

.more-link {
  margin-top: 20px;
  font-weight: 600;
}

@media (max-width: 639px) {
  .lead {
    font-size: 18px;
  }
  .section-lead {
    font-size: 17px;
  }
}

/* ── Home: hero ─────────────────────────────────────────────────────────────────────────────────── */

.hero {
  padding-block: 96px 8px;
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  max-width: 1000px;
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.034em;
}

.hero-lead {
  max-width: 700px;
  margin-top: 26px;
}

.hero-note {
  margin-top: 22px;
}

.hero-fine {
  margin-top: 14px;
  color: var(--site-muted);
  font-size: 14px;
}

/* A link to the newest changelog entry. */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-pill);
  background: var(--site-surface);
  color: var(--site-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  text-decoration: none;
}

.announce:hover {
  border-color: var(--site-ink);
  color: var(--site-ink);
  text-decoration: none;
}

.announce::after {
  content: '\2192';
  color: var(--site-link);
}

.announce-tag {
  flex: none;
  padding: 1px 10px;
  border-radius: var(--site-radius-pill);
  background: var(--site-tint);
  color: var(--site-tint-text);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 639px) {
  .hero {
    padding-top: 56px;
  }
  .announce {
    border-radius: var(--site-radius-card);
  }
}

/* ── Home: the showcase (work diary + floating tracker) ─────────────────────────────────────────── */

.showcase {
  padding-block: 56px 32px;
}

.stage {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}

.mock {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-frame);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-frame);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--site-line-soft);
  background: var(--site-chrome);
}

.dots {
  display: flex;
  flex-shrink: 0;
  gap: 7px;
}

.dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--site-line-strong);
}

.crumb {
  min-width: 0;
  overflow: hidden;
  color: var(--site-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.crumb strong {
  color: var(--site-heading);
  font-weight: 600;
}

.mock-tabs {
  display: flex;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--site-line-soft);
}

.mock-tabs span {
  padding: 10px 0 8px;
  border-bottom: 2px solid transparent;
  color: var(--site-muted);
  font-weight: 500;
}

.mock-tabs .on {
  border-bottom-color: var(--site-brand);
  color: var(--site-heading);
}

/* The work diary drawn in CSS: one day, grouped by task, a card per capture (screenshot, time,
   keyboard and mouse activity bars, window title). */
.diary {
  padding: 18px;
  background: var(--site-page);
}

.diary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0 2px 14px;
}

.diary-day {
  color: var(--site-heading);
  font-size: 15px;
  font-weight: 600;
}

.diary-total {
  color: var(--site-muted);
}

.diary-total strong {
  color: var(--site-heading);
}

.diary-task {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 2px 10px;
  color: var(--site-heading);
  font-weight: 500;
}

.diary-task:first-of-type {
  margin-top: 0;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: var(--site-radius-pill);
  font-size: 11px;
  font-weight: 500;
}

.tag-brand {
  background: var(--site-tint);
  color: var(--site-tint-text);
}

.tag-info {
  background: var(--site-info-soft);
  color: var(--site-info);
}

.shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.shot {
  padding: 8px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-tile);
  background: var(--site-surface);
}

/* A tiny "screenshot": a window with a title bar and a few content blocks. */
.shot-img {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 6px 1fr 1fr;
  gap: 4px;
  height: 64px;
  padding: 5px;
  overflow: hidden;
  border-radius: 6px;
  background: var(--site-sunken);
}

.shot-img span {
  border-radius: 2px;
  background: var(--site-track);
}

.shot-img .s-bar {
  grid-column: 1 / -1;
  background: var(--site-line-strong);
}

.shot-img .s-side {
  grid-row: 2 / 4;
}

.shot-img .s-hi {
  background: var(--site-tint);
  box-shadow: inset 0 0 0 1px var(--site-tint-line);
}

.shot-img .s-info {
  background: var(--site-info-soft);
  box-shadow: inset 0 0 0 1px var(--site-info-mid);
}

.shot-blur .shot-img span {
  filter: blur(3px);
}

.shot-flag {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 0 6px;
  border-radius: var(--site-radius-pill);
  background: var(--site-surface);
  color: var(--site-muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
}

.shot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 8px 0 4px;
}

.shot-time {
  color: var(--site-heading);
  font-size: 12px;
  font-weight: 600;
}

/* Keyboard and mouse activity: two short bars, as in the diary. */
.meters {
  display: grid;
  gap: 3px;
  width: 44%;
}

.meter {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: var(--site-radius-pill);
  background: var(--site-sunken);
}

.meter::before {
  content: '';
  display: block;
  width: var(--lv, 50%);
  height: 100%;
  border-radius: inherit;
  background: var(--site-success);
}

.meter.m-mouse::before {
  background: var(--site-info);
}

.lv-20 {
  --lv: 20%;
}
.lv-40 {
  --lv: 40%;
}
.lv-60 {
  --lv: 60%;
}
.lv-80 {
  --lv: 80%;
}
.lv-100 {
  --lv: 100%;
}

.shot-title {
  overflow: hidden;
  color: var(--site-muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* The desktop tracker, floating over the diary's lower-left corner. */
.tracker-pop {
  position: absolute;
  left: -36px;
  bottom: -32px;
  width: 248px;
  padding: 16px 18px 18px;
  border: 1px solid var(--site-graphite-line);
  border-radius: var(--site-radius-panel);
  background: var(--site-graphite);
  box-shadow: var(--site-shadow-pop);
  color: var(--site-on-graphite);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}

.tp-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--site-on-graphite-muted);
  font-weight: 500;
}

.tp-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--site-success-bright);
  box-shadow: 0 0 0 3px rgb(34 197 94 / 22%);
}

.tp-time {
  margin-top: 6px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.tp-task {
  display: grid;
  margin-top: 8px;
  color: var(--site-on-graphite);
  font-weight: 500;
}

.tp-project {
  color: var(--site-graphite-accent);
  font-size: 12px;
  font-weight: 500;
}

.tp-stop {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  border-radius: var(--site-radius-btn);
  background: var(--site-brand);
  color: var(--site-on-brand);
  font-weight: 600;
}

@media (max-width: 1199px) {
  .tracker-pop {
    left: 16px;
  }
}

@media (max-width: 759px) {
  .showcase {
    padding-top: 40px;
  }
  .mock {
    font-size: 11.5px;
  }
  .diary {
    padding: 10px;
  }
  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .shot-opt {
    display: none;
  }
  /* On a phone the tracker sits under the diary, overlapping it a little. */
  .tracker-pop {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    max-width: 300px;
    margin: -28px auto 0;
  }
}

/* ── Sections ───────────────────────────────────────────────────────────────────────────────────── */

.section {
  padding-block: var(--site-section-y);
}

.section-alt {
  background: var(--site-alt);
}

.section-head {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-head .section-lead {
  margin-top: 14px;
}

/* A heading block in a column (beside lists or a card). */
.block-head {
  margin-bottom: 8px;
}

.block-head .section-lead {
  margin-top: 14px;
}

.block-head ~ p {
  margin-top: 16px;
  color: var(--site-body);
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: none;
}

.section-head-split > div {
  max-width: 760px;
}

.section-more {
  margin-top: 36px;
  font-weight: 600;
}

.section p + p,
.feature-row p + p,
.spec p + p {
  margin-top: 12px;
}

/* ── Home: alternating rows (step label, heading, text) beside a picture ───────────────────────── */

.rows {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.row {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 900px) {
  .row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
  }
  .row-reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
  .row-reverse > :first-child {
    order: 2;
  }
}

.row-title {
  margin-bottom: 16px;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.024em;
}

.row-text p:not([class]) {
  color: var(--site-body);
  font-size: 17px;
  line-height: 1.7;
}

.row-text .row-extra {
  margin-top: 16px;
  color: var(--site-heading);
  font-size: 16px;
  font-weight: 500;
}

/* Pictures in the rows: a white panel (or graphite, for the tracker window). */
.panel {
  padding: 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-panel);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-card);
  font-size: 14px;
  line-height: 1.5;
}

/* 01: the first-run consent screen. */
.consent {
  max-width: 460px;
  justify-self: center;
  width: 100%;
}

.consent-title {
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 600;
}

.consent-sub {
  margin-top: 4px;
  color: var(--site-muted);
}

.consent-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.consent-list li {
  position: relative;
  padding: 10px 12px 10px 40px;
  border-radius: var(--site-radius-tile);
  background: var(--site-chrome);
  color: var(--site-heading);
}

.consent-list li::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 14px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--site-success);
}

.consent-list .c-no {
  background: var(--site-danger-soft);
}

.consent-list .c-no::before {
  background: var(--site-danger);
}

.consent-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--site-radius-btn);
  background: var(--site-brand);
  color: var(--site-on-brand);
  font-weight: 600;
}

/* 02: the tracker window, graphite like the desktop app's tray menu. */
.app {
  max-width: 460px;
  justify-self: center;
  width: 100%;
  border-color: var(--site-graphite-line);
  background: var(--site-graphite);
  color: var(--site-on-graphite);
  box-shadow: var(--site-shadow-pop);
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.app-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.app-today {
  color: var(--site-on-graphite-muted);
  font-size: 13px;
}

.app-field {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid var(--site-graphite-line);
  border-radius: var(--site-radius-tile);
  background: var(--site-graphite-2);
}

.app-label {
  color: var(--site-on-graphite-muted);
  font-size: 12px;
}

.app-value {
  font-weight: 500;
}

.app-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 20px;
}

.app-clock {
  font-size: 38px;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.app-stop {
  padding: 10px 22px;
  border-radius: var(--site-radius-btn);
  background: var(--site-brand);
  color: var(--site-on-brand);
  font-weight: 600;
}

.app-shots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

.app-shots span {
  height: 54px;
  border: 1px solid var(--site-graphite-line);
  border-radius: 8px;
  background:
    linear-gradient(var(--site-graphite-line), var(--site-graphite-line)) 6px 6px / calc(100% - 12px) 5px
      no-repeat,
    linear-gradient(var(--site-graphite-line), var(--site-graphite-line)) 6px 16px / 30% calc(100% - 22px)
      no-repeat,
    var(--site-graphite-2);
}

.app-shots .s-hi {
  border-color: var(--site-graphite-accent);
}

/* 03: hours per day, with an average line. */
.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.chart-title {
  color: var(--site-heading);
  font-size: 16px;
  font-weight: 600;
}

.chart-avg-label {
  color: var(--site-link);
  font-size: 13px;
  font-weight: 500;
}

.chart-plot {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  height: 220px;
  margin-top: 20px;
  padding: 0 4px 28px;
  border-bottom: 1px solid var(--site-line);
  background: repeating-linear-gradient(0deg, var(--site-line-soft) 0 1px, transparent 1px 48px) 0 0 / 100%
    calc(100% - 28px) no-repeat;
}

.chart-avg {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  bottom: calc(28px + 0.68 * (100% - 28px));
  border-top: 2px dashed var(--site-graphite);
}

.bar {
  position: relative;
  border-radius: 8px 8px 3px 3px;
  background: var(--site-sunken);
}

.bar-hi {
  background: var(--site-brand);
}

.bar em {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -26px;
  color: var(--site-muted);
  font-size: 12px;
  font-style: normal;
  text-align: center;
}

.h-40 {
  height: 40%;
}
.h-70 {
  height: 70%;
}
.h-80 {
  height: 80%;
}
.h-85 {
  height: 85%;
}
.h-95 {
  height: 95%;
}

/* ── Cards, icons and lists ─────────────────────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cards-3 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-card);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-card);
}

.card h3 {
  margin-bottom: 8px;
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.card > p {
  color: var(--site-body);
  font-size: 15px;
  line-height: 1.6;
}

.card > p + p {
  margin-top: 10px;
}

.card-quiet {
  background: var(--site-chrome);
  box-shadow: none;
}

.icon {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 11px;
  border-radius: 12px;
  background: var(--site-tint);
  color: var(--site-link);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Ticked lists: an orange tick. */
.checks {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 30px;
  color: var(--site-body);
}

.checks li + li {
  margin-top: 10px;
}

.checks li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 5px;
  width: 7px;
  height: 13px;
  border-right: 2.5px solid var(--site-brand);
  border-bottom: 2.5px solid var(--site-brand);
  transform: rotate(45deg);
}

.checks strong {
  color: var(--site-heading);
}

.checks + p {
  margin-top: 20px;
}

.checks-sm {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.checks-sm li + li {
  margin-top: 6px;
}

.checks-sm li::before {
  top: 5px;
  height: 12px;
}

/* "Never captured": the opposite of .checks, a cross in the danger colour. */
.crosses {
  margin: 14px 0 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  list-style: none;
}

.crosses li {
  position: relative;
  padding-left: 30px;
  color: var(--site-body);
}

.crosses li + li {
  margin-top: 6px;
}

.crosses li::before,
.crosses li::after {
  content: '';
  position: absolute;
  top: 0.78em;
  left: 3px;
  width: 15px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--site-danger);
  transform: rotate(45deg);
}

.crosses li::after {
  transform: rotate(-45deg);
}

/* Two columns: text beside lists or a card. */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 64px;
  }
}

.split .section-lead {
  margin-top: 14px;
}

.two-lists {
  display: grid;
  gap: 16px;
  align-items: start;
}

@media (min-width: 640px) {
  .two-lists {
    grid-template-columns: 1fr 1fr;
  }
}

/* /download/ System Notes: the heading block over two cards. */
.notes > div:first-child {
  max-width: 760px;
  margin-bottom: 36px;
}

/* Lists under a table (privacy and security). */
.notice-lists {
  margin-top: 24px;
}

.notice-lists .card h3 {
  margin-bottom: 0;
}

.table-block + .notice-lists {
  margin-top: 16px;
}

/* Platform cards (home and /download/). */
.os-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.os-card .btn {
  width: 100%;
  margin-top: auto;
}

.os-spacer {
  flex: 1;
  min-height: 24px;
}

/* /download/: a first-start note in a card, and the MSI link under the Windows button. */
.os-card .os-note {
  margin-top: 18px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.os-alt {
  align-self: center;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

/* /download/: a command to copy (the MSI silent install). */
.cmd {
  overflow-x: auto;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  background: var(--site-chrome);
}

.cmd code {
  color: var(--site-heading);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  white-space: pre;
}

/* ── Pricing cards (home and /pricing/) ─────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-panel);
  background: var(--site-surface);
}

.plan h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.plan-for {
  margin-top: 4px;
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Two lines for "who it's for", so the prices line up across the cards. */
@media (min-width: 900px) {
  .plan-for {
    min-height: 3.1em;
  }
}

.plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--site-line);
  color: var(--site-heading);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.plan-per {
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

/* The other billing period and currency, under the headline (yearly, INR) price. */
.plan-alt {
  flex-basis: 100%;
  color: var(--site-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.plan .checks {
  margin-bottom: 28px;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

/* The plan we point people to: graphite. */
.plan-featured {
  border-color: var(--site-graphite);
  background: var(--site-graphite);
  color: var(--site-on-graphite);
}

.plan-featured h3,
.plan-featured .plan-price,
.plan-featured .checks li {
  color: var(--site-on-graphite);
}

.plan-featured .plan-for,
.plan-featured .plan-per,
.plan-featured .plan-alt {
  color: var(--site-on-graphite-muted);
}

.plan-featured .plan-price {
  border-bottom-color: var(--site-graphite-line);
}

.plan-featured .checks li::before {
  border-color: var(--site-graphite-accent);
}

.plans-note {
  max-width: var(--site-reading);
  margin-top: 24px;
  color: var(--site-muted);
  font-size: 15px;
}

/* Founding offer, volume pricing and 200+ people: three short notes under the plans. */
.price-extras {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .price-extras {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.price-extras li {
  padding: 18px 22px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-btn);
  background: var(--site-surface);
  font-size: 15px;
}

.price-extras .notice-title {
  margin-bottom: 4px;
}

/* A note in the page flow: a white card with an orange edge. */
.notice {
  max-width: 820px;
  margin-bottom: 32px;
  padding: 18px 22px;
  border: 1px solid var(--site-line);
  border-left: 4px solid var(--site-brand);
  border-radius: var(--site-radius-btn);
  background: var(--site-surface);
}

.notice-title {
  color: var(--site-heading);
  font-weight: 600;
}

.notice p + p {
  margin-top: 4px;
}

/* ── Tables (pricing comparison, privacy and security) ──────────────────────────────────────────── */

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-card);
  background: var(--site-surface);
}

.table-scroll:focus-visible {
  outline: 2px solid var(--site-brand);
  outline-offset: 2px;
}

/* Pricing's compare table is wider than a phone: below 640px a note above it and a fade on its right
   edge say there is more to the side. Where the browser has scroll-driven animations, the fade goes
   once the table is scrolled to its end. */
.table-frame {
  position: relative;
  timeline-scope: --table-x;
}

.table-frame .table-scroll {
  scroll-timeline: --table-x x;
}

.table-hint {
  display: none;
}

@media (max-width: 639px) {
  .table-hint {
    display: block;
    margin: -8px 0 12px;
    color: var(--site-muted);
    font-size: 14px;
  }
  .table-hint::after {
    content: ' \2192';
  }
  .table-frame::after {
    content: '';
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 40px;
    border-radius: 0 var(--site-radius-card) var(--site-radius-card) 0;
    background: linear-gradient(to right, transparent, var(--site-surface));
    pointer-events: none;
  }
  @supports (animation-timeline: scroll()) {
    .table-frame::after {
      animation: table-fade linear both;
      animation-timeline: --table-x;
    }
  }
}

@keyframes table-fade {
  0%,
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}

.data-table th,
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--site-line-soft);
  color: var(--site-text-strong);
  text-align: left;
  vertical-align: top;
}

.data-table tr:last-child > * {
  border-bottom: 0;
}

.data-table thead th {
  background: var(--site-chrome);
  color: var(--site-body);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.data-table tbody th,
.data-table td:first-child {
  color: var(--site-heading);
  font-weight: 500;
}

.data-table .group th {
  padding-top: 22px;
  background: var(--site-page);
  color: var(--site-link);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare {
  margin-top: 72px;
}

.compare h2 {
  margin-bottom: 20px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.compare .data-table {
  min-width: 640px;
}

.yes,
.no,
.later {
  font-weight: 500;
}

.yes {
  color: var(--site-success);
}

.no {
  color: var(--site-muted);
}

.later {
  color: var(--site-warning);
}

@media (max-width: 639px) {
  .data-table th,
  .data-table td {
    padding: 12px 14px;
  }
}

/* ── FAQ: a reading-width list, one line between questions ──────────────────────────────────────── */

.faq {
  max-width: 860px;
  margin-inline: auto;
}

.faq .title {
  margin-bottom: 28px;
}

.faq details {
  padding-block: 20px;
  border-top: 1px solid var(--site-line);
}

.faq details:last-of-type {
  border-bottom: 1px solid var(--site-line);
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid var(--site-line-strong);
  border-radius: 50%;
  background: var(--site-surface);
  color: var(--site-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
  text-align: center;
}

.faq details[open] summary::after {
  content: '\2212';
  border-color: var(--site-brand);
  color: var(--site-link);
}

.faq details p {
  max-width: 68ch;
  margin-top: 12px;
  color: var(--site-body);
  line-height: 1.7;
}

@media (max-width: 639px) {
  .faq summary {
    font-size: 16px;
  }
}

/* ── Closing call to action: a graphite band with Hourvoy's clock-and-arrow mark ────────────────── */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--site-graphite);
  color: var(--site-on-graphite);
  text-align: center;
}

.cta-band .wrap {
  position: relative;
  padding-block: 96px;
}

.cta-band h2 {
  color: var(--site-on-graphite);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cta-band p {
  max-width: 40em;
  margin: 16px auto 0;
  color: var(--site-on-graphite-muted);
  font-size: 18px;
}

.cta-band .actions {
  margin-top: 32px;
}

.cta-band .cta-small {
  margin-top: 22px;
  font-size: 14px;
}

.cta-band a:not(.btn) {
  color: var(--site-on-graphite);
}

.cta-band a:not(.btn):hover {
  color: var(--site-on-graphite);
  text-decoration-color: var(--site-brand);
}

.cta-mark {
  position: absolute;
  right: 24px;
  bottom: -70px;
  width: 300px;
  height: 300px;
  fill: none;
  stroke: var(--site-brand);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.55;
}

@media (max-width: 759px) {
  .cta-band .wrap {
    padding-block: 72px;
  }
  .cta-mark {
    right: -90px;
    bottom: -110px;
    opacity: 0.3;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────── */

.site-footer {
  padding-block: 56px 36px;
  border-top: 1px solid var(--site-line-soft);
  background: var(--site-page);
  color: var(--site-muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-about {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  border-radius: 8px;
}

.footer-logo img {
  width: auto;
  height: 26px;
}

.footer-about p {
  margin-top: 12px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, auto));
  gap: 24px 56px;
}

.footer-head {
  margin-bottom: 10px;
  color: var(--site-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--site-body);
  text-decoration: none;
}

.footer-col a:hover,
.footer-col a[aria-current='page'] {
  color: var(--site-heading);
  text-decoration: underline;
  text-decoration-color: var(--site-brand);
  text-decoration-thickness: 2px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--site-line-soft);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--site-body);
}

.footer-bottom a:hover {
  color: var(--site-heading);
}

@media (max-width: 759px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
    width: 100%;
  }
}

/* ── Inner pages: a left-aligned page head ──────────────────────────────────────────────────────── */

.page-head {
  padding-block: 88px 56px;
  border-bottom: 1px solid var(--site-line-soft);
}

.page-head .wrap > * {
  max-width: 820px;
}

.page-head h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.032em;
}

.page-head .lead {
  margin-top: 20px;
}

.page-head .actions {
  margin-top: 28px;
}

.page-head .fine {
  margin-top: 14px;
  color: var(--site-muted);
  font-size: 14px;
}

/* In-page links under a page head. */
.subnav {
  margin-top: 28px;
}

.subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-pill);
  background: var(--site-surface);
  color: var(--site-text-strong);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.subnav a:hover {
  border-color: var(--site-ink);
  color: var(--site-heading);
}

@media (max-width: 639px) {
  .page-head {
    padding-block: 56px 40px;
  }
}

/* ── /features/: one row per feature (text beside a card of specifics), alternating sides ──────── */

.feature-row + .feature-row {
  border-top: 1px solid var(--site-line-soft);
}

.feature-row {
  padding-block: 80px;
}

.feature-row .row-title {
  font-size: clamp(28px, 3vw, 38px);
}

.feature-row .section-lead {
  margin-bottom: 4px;
}

.help-more {
  margin-top: 22px;
  color: var(--site-muted);
  font-size: 15px;
}

.spec {
  padding: 28px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-panel);
  background: var(--site-surface);
  box-shadow: var(--site-shadow-card);
}

.spec h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.spec p {
  color: var(--site-body);
  font-size: 15px;
  line-height: 1.65;
}

.spec .checks {
  margin-top: 10px;
}

.spec p + .checks,
.spec .checks + p {
  margin-top: 14px;
}

@media (max-width: 639px) {
  .feature-row {
    padding-block: 56px;
  }
  .spec {
    padding: 22px;
  }
}

/* ── Privacy and terms: a reading column with a sticky contents card beside it ──────────────────── */

/* The column starts at the header's .wrap edge, like the other inner pages; the text keeps a reading
   width (below 1100px each block; from 1100px the grid's first column). */
.prose {
  padding-top: 80px;
  padding-bottom: var(--site-section-y);
  color: var(--site-text-strong);
  font-size: 16px;
  line-height: 1.75;
}

.prose > * {
  max-width: var(--site-reading);
}

.prose h1 {
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
}

.prose h2 {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--site-line);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.prose h3 {
  margin-top: 28px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.4;
}

.prose p {
  margin-top: 14px;
}

.prose .updated {
  margin-top: 12px;
  color: var(--site-muted);
  font-size: 14px;
}

.prose ul,
.prose ol {
  margin: 14px 0 0;
  padding-left: 22px;
}

.prose li {
  margin-top: 8px;
}

.prose ul > li::marker {
  color: var(--site-brand);
}

.prose ol > li::marker {
  color: var(--site-link);
  font-weight: 600;
}

.prose strong,
.prose b {
  color: var(--site-heading);
}

.prose code {
  padding: 1px 6px;
  border: 1px solid var(--site-line);
  border-radius: 6px;
  background: var(--site-chrome);
  font-size: 0.9em;
}

.toc {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius-card);
  background: var(--site-surface);
}

.prose .toc-title {
  margin: 0 0 6px;
  color: var(--site-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prose .toc ol {
  margin: 0;
  padding-left: 24px;
  columns: 2 14rem;
  column-gap: 32px;
  font-size: 14px;
}

.prose .toc li {
  margin: 0;
  break-inside: avoid;
}

.prose .toc li::marker {
  color: var(--site-muted);
  font-weight: 400;
}

.toc a {
  display: inline-block;
  padding: 4px 0;
  color: var(--site-body);
  line-height: 1.5;
  text-decoration: none;
}

.toc a:hover {
  color: var(--site-link);
  text-decoration: underline;
}

.prose .atd-table-wrap {
  margin-top: 16px;
  border: 1px solid var(--site-line);
  border-radius: 14px;
  background: var(--site-surface);
  box-shadow: none;
}

.prose .atd-table {
  color: var(--site-text-strong);
  font-size: 15px;
  line-height: 1.6;
}

.prose .atd-table th {
  background: var(--site-chrome);
  color: var(--site-body);
  letter-spacing: 0;
  text-transform: none;
}

.prose .atd-table td {
  vertical-align: top;
}

.prose .atd-table tbody tr:hover td {
  background: transparent;
}

/* From 1100px the contents card moves to a sticky right-hand column: the reading column stays in
   column 1, row after row, and the card spans every row of column 2. */
@media (min-width: 1100px) {
  .prose {
    display: grid;
    grid-template-columns: minmax(0, var(--site-reading)) 280px;
    justify-content: space-between;
    column-gap: 72px;
    align-content: start;
  }
  .prose > * {
    grid-column: 1;
  }
  .prose > .toc {
    grid-column: 2;
    grid-row: 1 / span 400;
    align-self: start;
    position: sticky;
    top: calc(var(--site-header-h) + 24px);
    max-height: calc(100vh - var(--site-header-h) - 48px);
    overflow-y: auto;
    margin-top: 8px;
    padding: 18px 20px;
  }
  .prose .toc ol {
    columns: auto;
  }
}

@media (max-width: 639px) {
  .prose {
    padding-top: 48px;
  }
  .prose h2 {
    font-size: 22px;
  }
  .prose .atd-table th,
  .prose .atd-table td {
    padding: 12px 14px;
  }
}

/* ── 404 ────────────────────────────────────────────────────────────────────────────────────────── */

.notfound {
  padding-block: 104px 120px;
}

.notfound-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.notfound-code {
  padding-bottom: 0.02em;
  background: linear-gradient(var(--site-brand), var(--site-brand)) no-repeat left 100% / 100% 0.06em;
  color: var(--site-heading);
  font-size: clamp(96px, 16vw, 168px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.notfound-title {
  margin-top: 32px;
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.notfound-lead {
  max-width: 560px;
  margin-top: 16px;
  color: var(--site-body);
  font-size: 18px;
  line-height: 1.6;
}

.notfound-text {
  max-width: 560px;
  margin-top: 8px;
  color: var(--site-body);
}

.notfound-help {
  margin-top: 28px;
  color: var(--site-muted);
  font-size: 14px;
}

@media (max-width: 639px) {
  .notfound {
    padding-block: 64px 80px;
  }
}

/* ── Changelog (/changelog/, generated by deploy/docker/web/build-changelog.mjs) ─────────────────── */

/* One column below 1024px (the date list is hidden); from 1024px a sticky date list on the left. */
.changelog {
  padding-top: 80px;
  padding-bottom: var(--site-section-y);
}

/* Starts at the header's .wrap edge like the other inner pages, at a reading width. */
.cl-intro,
.cl-entries {
  max-width: var(--site-reading);
}

.cl-intro {
  padding-bottom: 36px;
  border-bottom: 1px solid var(--site-line);
}

.cl-intro::before {
  content: 'What\2019 s new';
  display: block;
  margin-bottom: 18px;
  color: var(--site-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-intro h1 {
  font-size: clamp(38px, 4.8vw, 58px);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.032em;
}

.cl-lead {
  max-width: 620px;
  margin-top: 18px;
  color: var(--site-body);
  font-size: 18px;
  line-height: 1.65;
}

.cl-feed {
  margin-top: 10px;
  font-size: 15px;
}

.cl-feed a {
  display: inline-flex;
  align-items: center;
  min-height: var(--site-touch);
  font-weight: 500;
}

.cl-jump {
  display: none;
}

.cl-entries {
  min-width: 0;
}

.cl-entry {
  padding-block: 44px 8px;
}

.cl-entry + .cl-entry {
  border-top: 1px solid var(--site-line-soft);
}

.cl-date {
  margin-bottom: 20px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cl-date a {
  color: inherit;
  text-decoration: none;
}

.cl-date a::after {
  content: '#';
  margin-left: 0.35em;
  color: var(--site-muted);
  font-weight: 400;
  opacity: 0;
}

.cl-date a:hover::after,
.cl-date a:focus-visible::after,
.cl-entry:target .cl-date a::after {
  opacity: 1;
}

.cl-group + .cl-group {
  margin-top: 26px;
}

.cl-group-head {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: 1;
}

.cl-group-head .atd-badge {
  padding: 1px 10px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.6;
}

.cl-group-head .atd-badge-brand {
  background: var(--site-tint);
  color: var(--site-tint-text);
}

.cl-group-head .atd-badge-info {
  background: var(--site-info-soft);
  color: var(--site-info);
}

.cl-group-head .atd-badge-success {
  background: var(--site-success-soft);
  color: var(--site-success);
}

/* Items: a bulleted list, the title in bold, then the sentence. */
.cl-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cl-item {
  position: relative;
  padding-left: 22px;
}

.cl-item + .cl-item {
  margin-top: 14px;
}

.cl-item::before {
  content: '';
  position: absolute;
  top: 0.68em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--site-brand);
}

.cl-item-title {
  color: var(--site-heading);
  font-weight: 600;
  line-height: 1.6;
}

.cl-item-title a {
  color: var(--site-heading);
  text-decoration-color: var(--site-brand);
  text-decoration-thickness: 2px;
}

.cl-item-title a:hover {
  color: var(--site-link);
}

.cl-item-text {
  margin-top: 2px;
  color: var(--site-body);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .changelog {
    display: grid;
    grid-template-columns: 180px minmax(0, var(--site-reading));
    grid-template-areas:
      'jump intro'
      'jump entries';
    justify-content: start;
    column-gap: 64px;
  }
  .cl-intro {
    grid-area: intro;
  }
  .cl-entries {
    grid-area: entries;
  }
  .cl-jump {
    display: block;
    grid-area: jump;
    align-self: start;
    position: sticky;
    top: calc(var(--site-header-h) + 32px);
    max-height: calc(100vh - var(--site-header-h) - 64px);
    overflow-y: auto;
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }
  .cl-jump ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .cl-jump-months > li + li {
    margin-top: 20px;
  }
  .cl-jump-month {
    display: block;
    margin-bottom: 6px;
    color: var(--site-link);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .cl-jump a {
    display: block;
    padding: 4px 10px;
    border-left: 2px solid var(--site-line);
    color: var(--site-body);
    text-decoration: none;
  }
  .cl-jump a:hover,
  .cl-jump a:focus-visible {
    border-left-color: var(--site-brand);
    color: var(--site-heading);
  }
}
