/* Hourhaven landing v3 (22 Nov 2026): a night-green page built from the app's own dark theme, with the app itself
   playing in the hero (js/v3-demo.js). Mobile first: 390 px, then 760 px and 1100 px. The red seal is the one hot
   accent; mint marks what Hourhaven does for you. */

@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Libre Caslon Text';
  src: url('/fonts/libre-caslon-text-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Caslon Text';
  src: url('/fonts/libre-caslon-text-400-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --night: #0b1712;
  --night-2: #0e1d17;
  --night-3: #12251d;
  --edge: rgba(155, 214, 186, 0.13);
  --edge-2: rgba(155, 214, 186, 0.24);
  --text: #e9f1ec;
  --muted: #a6baaf;
  --dim: #7f958a;
  --mint: #82d4ae;
  --mint-2: #62bf96;
  --ink: #1e5b44;
  --ink-fill: #216f52;
  --paper: #f5f6f2;
  --paper-text: #14261d;
  --paper-muted: #4f5f56;
  --seal: #c2382c;
  --seal-deep: #a8322a;
  /* The app's dark theme (app/web/src/styles/tokens.css), for the demo window. */
  --a-paper: #0d1512;
  --a-surface: #151f1a;
  --a-raised: #1b2721;
  --a-line-soft: #222e28;
  --a-line: #2a3831;
  --a-line-strong: #34453c;
  --a-line-control: #627c6e;
  --a-line-bold: #8aa294;
  --a-text: #e6eee9;
  --a-muted: #93a59a;
  --a-muted-strong: #b6c5bc;
  --a-ink: #62bf96;
  --a-fill: #216f52;
  --a-pill: #212d27;
  --a-bar: #4b6657;
  --a-float: #2e3c35;
  --a-ok-tint: #17291f;
  --spring: cubic-bezier(0.22, 0.9, 0.25, 1);
  --press: cubic-bezier(0.3, 0.7, 0.4, 1);
  --gutter: 16px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--paper-text);
  font-weight: 650;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  overflow-wrap: normal;
  cursor: pointer;
  transition: transform 0.18s var(--press), background-color 0.2s, box-shadow 0.25s, border-color 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn-lg {
  min-height: 56px;
  padding: 8px 28px;
  font-size: 17px;
}
.btn-block {
  width: 100%;
}
.btn-paper {
  background: var(--paper);
  color: var(--paper-text);
  box-shadow: 0 0 0 0 rgba(130, 212, 174, 0);
}
.btn-paper:hover {
  box-shadow: 0 0 0 6px rgba(130, 212, 174, 0.16);
}
.btn-line {
  background: transparent;
  color: var(--text);
  border-color: var(--edge-2);
}
.btn-line:hover {
  border-color: var(--mint);
}

/* ---------- Header ---------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 23, 18, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.hdr.is-scrolled {
  border-bottom-color: var(--edge);
}
.hdr-in {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-seal {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.brand-name {
  font-weight: 750;
  font-stretch: 112%;
  font-size: 19px;
  letter-spacing: -0.01em;
  /* Never broken over two lines: when the header runs out of room, .hdr-tight hides it instead. */
  white-space: nowrap;
}
.hdr-nav {
  display: none;
  gap: 4px;
  margin-left: 18px;
}
.hdr-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 550;
  font-size: 15px;
  transition: color 0.2s, background-color 0.2s;
}
.hdr-nav a:hover {
  color: var(--text);
  background: rgba(155, 214, 186, 0.08);
}
.hdr-cta {
  flex: none;
  margin-left: auto;
  min-height: 42px;
  height: 42px;
  white-space: nowrap;
  padding: 0 18px;
  font-size: 15px;
}
/* A long button label (most languages other than English) on a narrow phone: the header keeps the seal and hides
   the name from sight, not from screen readers (js/v3.js adds .hdr-tight when the header overflows). */
.hdr-tight .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 379px) {
  .hdr-cta {
    padding: 0 14px;
    font-size: 14px;
  }
}

/* Every language: a word too long for its line (German, Dutch, Swedish or Polish compounds) hyphenates or breaks
   instead of pushing the page sideways. */
body {
  overflow-wrap: anywhere;
}
:is(h1, h2, h3) {
  hyphens: auto;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 26px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 18% 4%, rgba(98, 191, 150, 0.18), transparent 62%),
    radial-gradient(760px 520px at 92% 38%, rgba(194, 56, 44, 0.12), transparent 64%),
    radial-gradient(1100px 700px at 50% 92%, rgba(33, 111, 82, 0.28), transparent 70%);
  pointer-events: none;
}
.kicker {
  margin: 0 0 14px;
  color: var(--mint);
  font-weight: 560;
  font-size: 15px;
  line-height: 1.35;
}
.hero-title {
  margin: 0;
  font-weight: 800;
  font-stretch: 100%;
  font-size: clamp(2.15rem, 9.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-title .ln {
  display: block;
}
.hero-lede {
  max-width: 640px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-actions .btn {
  flex: 1 1 auto;
}
.hero-fine {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.45;
}

/* One orchestrated entrance, in CSS alone (no inline script under this CSP): the lines rise, then the window settles. */
.kicker,
.hero-title .ln,
.hero-lede,
.hero-actions,
.hero-fine {
  animation: rise 0.9s var(--spring) both;
}
.kicker { animation-delay: 0.02s; }
.hero-title .ln:nth-child(1) { animation-delay: 0.08s; }
.hero-title .ln:nth-child(2) { animation-delay: 0.16s; }
.hero-title .ln:nth-child(3) { animation-delay: 0.24s; }
.hero-lede { animation-delay: 0.36s; }
.hero-actions { animation-delay: 0.44s; }
.hero-fine { animation-delay: 0.5s; }
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- The demo ---------- */

.demo-wrap {
  margin-top: 40px;
}
.stage {
  container-type: inline-size;
  position: relative;
  margin: 0;
}
.stage .win {
  animation: settle 1.4s var(--spring) 0.35s both;
}
@keyframes settle {
  from {
    opacity: 0;
    transform: perspective(1400px) translateY(40px) rotateX(9deg);
  }
}
.win {
  position: relative;
  height: 680px;
  border-radius: 16px;
  background: var(--a-paper);
  border: 1px solid var(--edge-2);
  box-shadow:
    0 50px 120px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 80px rgba(98, 191, 150, 0.08);
  overflow: hidden;
  color: var(--a-text);
  font-size: 14px;
  user-select: none;
  -webkit-user-select: none;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--a-line-soft);
  background: #0a110e;
}
.dots {
  display: inline-flex;
  gap: 7px;
}
.dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2b3832;
}
.win-url {
  flex: 1;
  max-width: 320px;
  margin: 0 auto;
  padding: 4px 12px;
  border-radius: 8px;
  background: #121b17;
  color: var(--a-muted);
  font-size: 12px;
  text-align: center;
}
.win-sp {
  width: 47px;
}
.phone-bar {
  display: none;
}
.app {
  display: grid;
  grid-template-columns: 208px 1fr;
  height: calc(100% - 38px);
}
.side {
  display: flex;
  flex-direction: column;
  padding: 16px 10px;
  border-right: 1px solid var(--a-line-soft);
}
.side-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 2px 8px 16px;
}
.side-brand svg {
  width: 24px;
  height: 24px;
}
.side-brand b {
  font-stretch: 112%;
  font-weight: 750;
  font-size: 16px;
}
.side-nav {
  display: grid;
  gap: 2px;
}
.nv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--a-muted-strong);
  font-weight: 560;
  transition: background-color 0.35s var(--spring), color 0.35s;
}
.nv kbd {
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--a-muted);
}
.nv.is-on {
  background: var(--a-fill);
  color: #fff;
}
.nv.is-on kbd {
  color: #cfe3d8;
}
.side-foot {
  margin-top: auto;
  padding: 0 10px;
  color: var(--a-muted);
  font-size: 12px;
}
.main {
  position: relative;
  min-width: 0;
  padding: 16px 22px 0;
  overflow: hidden;
}
.topbar {
  display: flex;
  gap: 10px;
  height: 44px;
}
.ic {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cmd {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 0 12px;
  border: 1.5px solid var(--a-line-bold);
  border-radius: 12px;
  background: var(--a-paper);
  color: var(--a-muted);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.cmd.is-focus {
  border-color: var(--a-ink);
  box-shadow: 0 0 0 4px rgba(98, 191, 150, 0.18);
}
.cmd-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
.cmd-ph {
  overflow: hidden;
  text-overflow: ellipsis;
}
.cmd-text {
  color: var(--a-text);
  font-weight: 520;
}
.cmd.is-typing .cmd-ph {
  display: none;
}
.caret {
  display: none;
  width: 2px;
  height: 18px;
  margin-left: 1px;
  background: var(--a-ink);
  animation: blink 1s steps(2, start) infinite;
}
.cmd.is-focus .caret {
  display: inline-block;
}
@keyframes blink {
  to {
    visibility: hidden;
  }
}
.cmd-kbd {
  padding: 2px 6px;
  border-radius: 6px;
  background: #26332c;
  color: var(--a-muted-strong);
  font: inherit;
  font-size: 11px;
}
.tchip {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 8px 0 12px;
  border-radius: 12px;
  background: var(--a-fill);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.tchip-name {
  font-size: 13px;
}
.tchip-time {
  font-stretch: 110%;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.tchip-stop,
.tcard-stop {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #eef5f1;
}
.tchip-stop::before,
.tcard-stop::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #0d1512;
}
.chips {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 66px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: var(--a-raised);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.4s var(--spring);
}
.chips.is-on {
  opacity: 1;
  transform: none;
}
.chip,
.chip-enter {
  padding: 5px 10px;
  border-radius: 999px;
  background: #dce6e0;
  color: #0d1512;
  font-weight: 620;
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
}
.chip-time {
  background: var(--a-ink);
}
.chip-note {
  background: var(--a-pill);
  color: var(--a-muted-strong);
  font-weight: 500;
}
.chip-enter {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--a-line-control);
  color: var(--a-muted-strong);
  border-radius: 7px;
  padding: 3px 8px;
}
.chips.is-on .chip,
.chips.is-on .chip-enter {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--spring), transform 0.45s var(--spring);
}
.chips.is-on > :nth-child(2) { transition-delay: 0.07s; }
.chips.is-on > :nth-child(3) { transition-delay: 0.14s; }
.chips.is-on > :nth-child(4) { transition-delay: 0.21s; }
.chips.is-on > :nth-child(5) { transition-delay: 0.28s; }
.chips.is-on > :nth-child(6) { transition-delay: 0.4s; }
.chip-enter.is-pressed {
  background: var(--a-ink);
  color: #0d1512;
  border-color: var(--a-ink);
}

.screens {
  position: relative;
  height: calc(100% - 44px);
  margin-top: 14px;
}
.scr {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.45s var(--spring), transform 0.6s var(--spring);
}
.scr.is-on {
  opacity: 1;
  transform: none;
}
.scr-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px 12px;
}
.scr-head small {
  display: block;
  color: var(--a-muted);
  font-size: 13px;
}
.scr-head h3 {
  margin: 2px 0 0;
  font-weight: 760;
  font-stretch: 112%;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
.today-t {
  display: none;
}
.big-total {
  font-weight: 760;
  font-stretch: 112%;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.scr-sub {
  margin: 4px 0 0;
  color: var(--a-muted);
}
.tcard {
  display: none;
}
.today-grid {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 16px;
  align-items: start;
}
.needs {
  margin-top: 14px;
}
.needs h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.need {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: var(--a-surface);
}
.need p {
  margin: 0 0 10px;
  font-size: 13.5px;
  line-height: 1.45;
}
.need-alert {
  border-color: #6b2b25;
  background: #2d1916;
}
.btn-mini {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid var(--a-ink);
  border-radius: 10px;
  color: var(--a-ink);
  font-weight: 650;
  font-size: 12.5px;
}
.btn-mini-alert {
  border-color: #b5392f;
  background: #b5392f;
  color: #fff;
}
.card {
  margin-top: 14px;
  padding: 14px 18px;
  border: 1px solid var(--a-line);
  border-radius: 16px;
  background: var(--a-surface);
}
.card h4 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--a-muted-strong);
}
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--a-line-soft);
}
.rows .row:first-child {
  border-top: 0;
}
.row b {
  display: block;
  font-weight: 620;
  font-size: 15px;
}
.row small {
  color: var(--a-muted);
  font-size: 13px;
}
.hrs {
  font-weight: 700;
  font-stretch: 108%;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
/* The entry just added: it slides in, and a tint sits behind it with the same 12 px on both sides, clear of the
   separator lines above and below (inset 4 px), then fades away. */
.row.is-new {
  position: relative;
  isolation: isolate;
  animation: rowIn 0.7s var(--spring) both;
}
.row.is-new::before {
  content: '';
  position: absolute;
  inset: 4px -12px;
  z-index: -1;
  border-radius: 12px;
  background: rgba(98, 191, 150, 0.14);
  box-shadow: inset 0 0 0 1px rgba(98, 191, 150, 0.26);
  pointer-events: none;
  animation: rowGlow 2.8s ease-out 0.3s both;
}
@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(-18px) scale(0.98);
  }
}
@keyframes rowGlow {
  0%,
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Drafts */
.card-ready {
  border: 1.5px solid var(--a-ink);
}
.ready-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
}
.ready-head b {
  display: block;
  font-size: 18px;
  font-weight: 700;
}
.ready-head small {
  color: var(--a-muted);
  font-size: 13px;
}
.btn-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  background: var(--a-fill);
  color: #fff;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.15s var(--press), filter 0.2s;
}
.btn-app.is-pressed {
  transform: scale(0.95);
  filter: brightness(1.15);
}
.btn-app-wide {
  width: 100%;
  height: 48px;
  margin-top: 14px;
  font-size: 16px;
}
.draft {
  grid-template-columns: 20px 1fr auto auto;
  padding: 9px 0;
}
.box {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid var(--a-line-control);
  transition: background-color 0.25s, border-color 0.25s;
}
.draft.is-checked .box {
  background: var(--a-ink);
  border-color: var(--a-ink);
}
.draft.is-checked .box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #0d1512;
  border-width: 0 2.4px 2.4px 0;
  transform: rotate(45deg);
}
.src {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--a-pill);
  color: var(--a-muted-strong);
  font-size: 12px;
  font-weight: 560;
  white-space: nowrap;
}
.src-cal {
  background: #1d2f3b;
  color: #9fc6e0;
}
.src-gh {
  background: #2a2638;
  color: #c7b9f0;
}
.card-ready.is-done {
  opacity: 0;
  transform: scale(0.97) translateY(-8px);
  transition: opacity 0.5s var(--spring), transform 0.6s var(--spring);
}
.week {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: end;
  gap: 18px;
}
.week small {
  display: block;
  color: var(--a-muted);
}
.week b {
  display: block;
  font-weight: 760;
  font-stretch: 112%;
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.week span {
  color: var(--a-muted);
  font-size: 12px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 92px;
}
.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 100%;
}
.bar i {
  width: 100%;
  max-width: 40px;
  height: calc(var(--h) * 72px);
  border-radius: 7px;
  background: var(--a-bar);
  transition: height 0.9s var(--spring), background-color 0.4s;
}
.bar em {
  font-style: normal;
  font-size: 11px;
  color: var(--a-muted);
}
.bar-fri i {
  background: var(--a-ink);
}
.bar:nth-child(1) { --h: 0.78; }
.bar:nth-child(2) { --h: 0.84; }
.bar:nth-child(3) { --h: 0.66; }
.bar:nth-child(4) { --h: 0.92; }
.bar:nth-child(5) { --h: 0.03; }

/* The confirmed day, the sent month, a paused demo */
.card-ready.is-saved {
  border-color: var(--a-line);
  transition: border-color 0.6s;
}
.btn-app.is-done {
  background: var(--a-ok-tint);
  color: var(--a-ink);
  box-shadow: none;
}
.invs.is-done .inv {
  transform: none;
  opacity: 1;
}
.invs.is-done .inv::after {
  content: 'Sent';
  margin-left: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--a-ok-tint);
  color: var(--a-ink);
  font-size: 12px;
  font-weight: 650;
}
.invs.is-done .inv .amt {
  margin-left: auto;
}
.is-paused * {
  animation-play-state: paused !important;
}

/* Invoices */
.invs {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.inv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: var(--a-surface);
  transition: transform 0.7s var(--spring), opacity 0.5s;
  transition-delay: calc(var(--i, 0) * 0.09s);
}
.inv b {
  display: block;
  font-size: 15px;
  font-weight: 650;
}
.inv small {
  color: var(--a-muted);
  font-size: 13px;
}
.amt {
  font-variant-numeric: tabular-nums;
  font-stretch: 108%;
  font-size: 17px !important;
}
.invs.is-sent .inv {
  transform: translateY(-34px) scale(0.92);
  opacity: 0;
}
.inv:nth-child(1) { --i: 0; }
.inv:nth-child(2) { --i: 1; }
.inv:nth-child(3) { --i: 2; }

/* Client page */
.scr-client {
  display: grid;
  place-items: start center;
}
.client {
  width: min(100%, 420px);
  margin-top: 6px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  color: #14261d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.client-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f5f6f2;
  color: #4f5f56;
  font-size: 12.5px;
  font-weight: 560;
  border-bottom: 1px solid #e3e8e1;
}
.client-body {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}
.client-body small {
  color: #4f5f56;
  font-size: 13px;
}
.client-amt {
  font-weight: 800;
  font-stretch: 118%;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.client-due {
  color: #a8322a;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.3s;
}
.btn-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-top: 8px;
  border-radius: 12px;
  background: #1e5b44;
  color: #fff;
  font-weight: 650;
  font-size: 16px;
  transition: transform 0.15s var(--press), opacity 0.3s;
}
.btn-pay.is-pressed {
  transform: scale(0.96);
}
.btn-pay.is-busy {
  opacity: 0.7;
}
.client-paid {
  display: none;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-top: 8px;
  border-radius: 12px;
  background: #eef3ee;
  color: #1e5b44;
  font-weight: 700;
  font-size: 16px;
}
.client.is-paid .btn-pay {
  display: none;
}
.client.is-paid .client-paid {
  display: flex;
}
.client.is-paid .client-due {
  opacity: 0;
}
.client-lines {
  margin: 10px 0 0;
  padding: 10px 0 0;
  list-style: none;
  border-top: 1px solid #e3e8e1;
  font-size: 13px;
  color: #3d4d44;
}
.client-lines li {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
}

/* The client's own page: no sidebar, no bar, nothing of the agency's app around it. */
.win.is-client .side,
.win.is-client .topbar,
.win.is-client .say,
.win.is-client .tabs {
  display: none;
}
.win.is-client .app {
  grid-template-columns: 1fr;
}
.win.is-client .main {
  background: radial-gradient(600px 300px at 50% 0%, rgba(98, 191, 150, 0.08), transparent 70%);
}
.win.is-client .screens {
  height: 100%;
}
.win.is-client .client {
  margin-top: 40px;
}

/* Import */
.counts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.counts div {
  padding: 12px;
  border: 1px solid var(--a-line);
  border-radius: 14px;
  background: var(--a-surface);
}
.counts b {
  display: block;
  font-weight: 760;
  font-stretch: 110%;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}
.counts small {
  color: var(--a-muted);
  font-size: 12px;
}
.chk {
  grid-template-columns: 1fr auto auto;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.35s, transform 0.5s var(--spring);
}
.chk.is-on {
  opacity: 1;
  transform: none;
}
.ok {
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--a-ok-tint);
  color: var(--a-ink);
  font-size: 12px;
  font-weight: 650;
}
.match {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 2px;
  color: var(--a-ink);
  font-weight: 650;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s, transform 0.6s var(--spring);
}
.match svg {
  width: 30px;
  height: 30px;
  color: var(--a-ink);
}
.match.is-on {
  opacity: 1;
  transform: none;
}

/* Overlays: toast, seal, pointer */
.toast {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 6;
  max-width: calc(100% - 32px);
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--a-float);
  color: #eef4f0;
  font-weight: 560;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity 0.3s, transform 0.5s var(--spring);
  white-space: nowrap;
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.stamp {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 7;
  display: grid;
  justify-items: center;
  gap: 2px;
  width: 170px;
  margin-left: -85px;
  margin-top: -85px;
  opacity: 0;
  pointer-events: none;
}
.stamp svg {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55));
}
.stamp span {
  padding: 4px 14px;
  border-radius: 999px;
  background: #fbfcf8;
  color: #8b211b;
  font-weight: 800;
  font-stretch: 118%;
  font-size: 17px;
  letter-spacing: 0.02em;
}
.stamp.is-on {
  animation: stamp 1.9s var(--spring) both;
}
@keyframes stamp {
  0% {
    opacity: 0;
    transform: scale(1.9) rotate(-18deg);
  }
  22% {
    opacity: 1;
    transform: scale(0.94) rotate(-7deg);
  }
  30% {
    transform: scale(1.02) rotate(-8deg);
  }
  78% {
    opacity: 1;
    transform: scale(1) rotate(-8deg);
  }
  100% {
    opacity: 0;
    transform: scale(1) rotate(-8deg);
  }
}
.cursor {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  width: 24px;
  height: 24px;
  transform: translate(var(--x, 70%), var(--y, 120%));
  transition: transform 0.8s var(--spring);
  pointer-events: none;
}
.cursor svg {
  width: 24px;
  height: 24px;
  fill: #fbfcf8;
  stroke: #0d1512;
  stroke-width: 1.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.5));
  transition: transform 0.12s var(--press);
  transform-origin: 20% 10%;
}
.cursor.is-down svg {
  transform: scale(0.84);
}
.cursor::after {
  content: '';
  position: absolute;
  left: -14px;
  top: -14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(130, 212, 174, 0.9);
  opacity: 0;
  transform: scale(0.4);
}
.cursor.is-down::after {
  animation: ping 0.55s ease-out;
}
@keyframes ping {
  0% {
    opacity: 1;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}
.tap {
  display: none;
}

/* The phone's own pieces */
.say,
.tabs {
  display: none;
}

/* ---------- The demo on a phone-sized stage ---------- */

@container (max-width: 759px) {
  .win {
    width: min(100%, 372px);
    height: 700px;
    margin: 0 auto;
    border-radius: 46px;
    border: 9px solid #050a08;
    box-shadow:
      0 0 0 1px rgba(155, 214, 186, 0.22),
      0 40px 90px rgba(0, 0, 0, 0.6),
      0 0 70px rgba(98, 191, 150, 0.1);
  }
  .win-bar,
  .side,
  .topbar,
  .hello,
  .cursor {
    display: none;
  }
  .phone-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 24px 0 28px;
    font-weight: 650;
    font-size: 14px;
  }
  .pb-island {
    width: 92px;
    height: 26px;
    border-radius: 999px;
    background: #000;
  }
  .pb-icons {
    display: inline-flex;
    gap: 4px;
  }
  .pb-icons i {
    width: 14px;
    height: 9px;
    border-radius: 2px;
    background: var(--a-text);
    opacity: 0.85;
  }
  .app {
    display: block;
    height: calc(100% - 40px);
  }
  .main {
    height: 100%;
    padding: 6px 16px 0;
  }
  .screens {
    height: calc(100% - 76px);
    margin-top: 0;
  }
  .today-t {
    display: block;
  }
  .today-grid {
    display: block;
  }
  .needs {
    display: none;
  }
  .scr-head h3 {
    font-size: 30px;
  }
  .big-total {
    font-size: 24px;
  }
  .tcard {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 18px;
    background: var(--a-fill);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
  .tcard small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #d4eade;
  }
  .tcard small .ic {
    width: 15px;
    height: 15px;
  }
  .tcard b {
    display: block;
    font-size: 15px;
  }
  .tcard span {
    font-size: 13px;
    color: #d4eade;
  }
  .tcard-time {
    font-stretch: 112%;
    font-size: 24px !important;
    font-variant-numeric: tabular-nums;
  }
  .card {
    padding: 12px 14px;
  }
  .row b {
    font-size: 14.5px;
  }
  /* Typing on a phone: « Say or type » opens a sheet with the bar. */
  .main.is-typing .topbar {
    display: flex;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 150px;
    z-index: 8;
    height: 52px;
    padding: 4px;
    border-radius: 16px;
    background: var(--a-raised);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    animation: sheetUp 0.45s var(--spring) both;
  }
  .main.is-typing .tchip {
    display: none;
  }
  .main.is-typing .cmd-kbd {
    display: none;
  }
  .chips {
    top: auto;
    bottom: 210px;
    left: 12px;
    right: 12px;
  }
  @keyframes sheetUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
  }
  .say {
    position: absolute;
    left: 50%;
    bottom: 84px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--a-float);
    color: #eef4f0;
    font-weight: 650;
    font-size: 15px;
    transform: translateX(-50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s var(--press), opacity 0.25s;
  }
  .say.is-pressed {
    transform: translateX(-50%) scale(0.94);
  }
  .main.is-typing .say {
    opacity: 0;
  }
  .tabs {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    height: 66px;
    padding: 6px 6px 12px;
    border-top: 1px solid var(--a-line-soft);
    background: var(--a-paper);
  }
  .tab {
    flex: 1;
    display: grid;
    justify-items: center;
    gap: 2px;
    color: var(--a-muted);
    font-size: 11.5px;
    font-weight: 600;
    transition: color 0.3s;
  }
  .tab .ic {
    width: 21px;
    height: 21px;
  }
  .tab.is-on {
    color: var(--a-ink);
  }
  .toast {
    bottom: 150px;
    white-space: normal;
    width: calc(100% - 32px);
    text-align: center;
  }
  .tap {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 20;
    display: block;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border-radius: 50%;
    background: rgba(251, 252, 248, 0.22);
    border: 2px solid rgba(251, 252, 248, 0.7);
    opacity: 0;
    transform: translate(var(--x, 0), var(--y, 0)) scale(0.6);
    pointer-events: none;
  }
  .tap.is-on {
    animation: tap 0.6s ease-out;
  }
  @keyframes tap {
    0% {
      opacity: 0;
      transform: translate(var(--x), var(--y)) scale(0.6);
    }
    25% {
      opacity: 1;
      transform: translate(var(--x), var(--y)) scale(0.9);
    }
    100% {
      opacity: 0;
      transform: translate(var(--x), var(--y)) scale(1.35);
    }
  }
  .ready-head {
    flex-direction: column;
    align-items: stretch;
  }
  .ready-head .btn-app {
    order: 2;
    height: 44px;
  }
  .draft {
    grid-template-columns: 20px 1fr auto;
  }
  .draft .src {
    grid-column: 2;
    justify-self: start;
    margin-top: -6px;
  }
  .draft .hrs {
    grid-row: 1;
    grid-column: 3;
  }
  .week {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bars {
    height: 76px;
  }
  .counts {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .counts div {
    padding: 10px;
  }
  .counts b {
    font-size: 19px;
  }
  .checks .chk:nth-child(n + 3) {
    display: none;
  }
  .client-amt {
    font-size: 36px;
  }
}

/* The captions and the chapters under the window */
.demo-foot {
  margin-top: 18px;
}
.chapters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chapters button {
  width: 100%;
  display: grid;
  gap: 7px;
  padding: 8px 2px 6px;
  border: 0;
  background: none;
  color: var(--dim);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.chapters button:hover,
.chapters button[aria-current='step'] {
  color: var(--text);
}
.ch-name {
  line-height: 1.2;
}
.ch-bar {
  height: 3px;
  border-radius: 3px;
  background: var(--edge-2);
  overflow: hidden;
}
.ch-bar i {
  display: block;
  height: 100%;
  width: calc(var(--p, 0) * 100%);
  background: var(--mint);
}
.demo-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}
.caption {
  margin: 0;
  min-height: 3em;
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
.ctrls {
  display: flex;
  gap: 8px;
}
.ctrl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--edge-2);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.ctrl:hover {
  color: var(--text);
  border-color: var(--mint);
}
.ctrl .ic {
  width: 16px;
  height: 16px;
}

/* ---------- Sections ---------- */

.sec {
  padding: 76px 0;
}
.sec-head {
  max-width: 760px;
}
.sec-title {
  margin: 0;
  font-weight: 790;
  font-stretch: 116%;
  font-size: clamp(2rem, 7.4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.sec-lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.fine {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 13.5px;
  line-height: 1.5;
}

/* The team slider */
.sec-price {
  background: var(--night-2);
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}
.team {
  margin-top: 34px;
  padding: 22px 18px;
  border: 1px solid var(--edge);
  border-radius: 24px;
  background: var(--night-3);
}
.team-ctrl {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px 12px;
}
.team-label {
  font-weight: 650;
  color: var(--muted);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.step-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--edge-2);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.step-btn:hover {
  border-color: var(--mint);
}
.team-n {
  min-width: 2.4ch;
  text-align: center;
  font-weight: 800;
  font-stretch: 120%;
  font-size: 34px;
  font-variant-numeric: tabular-nums;
}
.team-range {
  grid-column: 1 / -1;
  width: 100%;
  height: 32px;
  margin: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.team-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, var(--mint) var(--fill, 18%), rgba(155, 214, 186, 0.2) var(--fill, 18%));
}
.team-range::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: rgba(155, 214, 186, 0.2);
}
.team-range::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--mint);
}
.team-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.team-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.people {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 6px;
  min-height: 32px;
}
.pp {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 750;
  transition: transform 0.4s var(--spring), background-color 0.3s;
}
.pp-paid {
  background: var(--paper);
  color: var(--paper-text);
}
.pp-free {
  border: 1.5px solid var(--mint);
  color: var(--mint);
}
.pp-more {
  width: auto;
  padding: 0 8px;
  border-radius: 999px;
  border: 1.5px dashed var(--edge-2);
  color: var(--muted);
}
.pp-new {
  animation: ppIn 0.45s var(--spring);
}
@keyframes ppIn {
  from {
    transform: scale(0.3);
    opacity: 0;
  }
}
/* Hourhaven, then Harvest, Toggl Track, Clockify and Keito (js/v3.js). A phone keeps each tool's name and bill on one
   line, its bar under them and its note under the bar, with tight line heights so the five fit about one screen. */
.bills {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.bill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 14px;
  align-items: center;
}
.bill-name {
  font-weight: 650;
  line-height: 1.3;
}
.bill-amt {
  font-weight: 800;
  font-stretch: 118%;
  font-size: 26px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.bill-track {
  grid-column: 1 / -1;
  grid-row: 2;
  height: 12px;
  border-radius: 12px;
  background: rgba(155, 214, 186, 0.1);
  overflow: hidden;
}
.bill-track i {
  display: block;
  height: 100%;
  width: var(--w, 10%);
  border-radius: 12px;
  transition: width 0.6s var(--spring);
}
.bill-hh .bill-track i {
  background: linear-gradient(90deg, var(--mint-2), var(--mint));
}
.bill-hv .bill-track i {
  background: linear-gradient(90deg, #7a3a33, #c2574a);
}
.bill-hv .bill-amt {
  color: #e7a196;
}
/* Toggl Track, Clockify and Keito: neutral, so the seal stays the page's one hot accent and Harvest its main foil. */
.bill-alt .bill-track i {
  background: linear-gradient(90deg, #3d5347, #6f8779);
}
.bill-alt .bill-amt {
  color: var(--muted);
}
.bill-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
/* Under the bars, what they add up to at this team size (js/v3.js summary()), said plainly either way. */
.bills-sum {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--edge);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}
/* A phone: the team card fits one screen, so the slider and all five bills show together while it moves (Imad's rule:
   nothing taller than a screen). Smaller dots in one row (js/v3.js draws eight on a phone), lighter bills and notes. */
@media (max-width: 759px) {
  .team {
    margin-top: 26px;
    padding: 16px 16px 18px;
  }
  .team-ctrl {
    gap: 8px 12px;
  }
  .people {
    gap: 6px;
    margin: 10px 0 2px;
    min-height: 24px;
  }
  .pp {
    width: 24px;
    height: 24px;
  }
  .pp-more {
    width: auto;
  }
  .bills {
    gap: 10px;
    margin-top: 12px;
  }
  .bill {
    gap: 4px 12px;
  }
  .bill-amt {
    font-size: 22px;
  }
  .bill-track {
    height: 8px;
  }
  .bill-note {
    font-size: 13px;
    line-height: 1.35;
  }
  .bills-sum {
    margin-top: 12px;
    padding-top: 10px;
    font-size: 14px;
    line-height: 1.4;
  }
}
/* The narrowest phones (320 px): seven smaller dots and « +N » still share one row. */
@media (max-width: 379px) {
  .people {
    gap: 5px;
  }
  .pp {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
  .pp-more {
    width: auto;
  }
}

/* Moving over */
.move-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}
.ticks {
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink-fill);
}
.ticks li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.report {
  padding: 20px 18px;
  border: 1px solid var(--edge);
  border-radius: 22px;
  background: var(--night-3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.report-head b {
  font-size: 18px;
}
.pill-ok {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(98, 191, 150, 0.14);
  color: var(--mint);
  font-weight: 650;
  font-size: 13px;
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.report-grid div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(155, 214, 186, 0.05);
}
.report-grid small,
.report-grid span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.report-grid b {
  display: block;
  font-weight: 760;
  font-stretch: 112%;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
}
/* A 320 px phone: the report's figures fit two to a row without pushing the page sideways. */
@media (max-width: 359px) {
  .report {
    padding: 16px 14px;
  }
  .report-grid div {
    padding: 10px;
  }
  .report-grid b {
    font-size: 17px;
  }
}
.report-rows {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.report-rows li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--edge);
  font-size: 14.5px;
}
.report-rows span:nth-child(2) {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
.report-rows em {
  font-style: normal;
  color: var(--mint);
  font-weight: 650;
  font-size: 13px;
}

/* The Mac app */
.mac-in {
  display: grid;
  gap: 36px;
  align-items: center;
}
.mac-actions {
  margin-top: 24px;
}
.menubar {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--edge);
  background:
    radial-gradient(500px 300px at 80% 10%, rgba(98, 191, 150, 0.22), transparent 70%),
    radial-gradient(400px 260px at 10% 90%, rgba(194, 56, 44, 0.16), transparent 70%),
    linear-gradient(160deg, #1a3a2e, #0f2219);
  min-height: 380px;
  padding-bottom: 24px;
}
.mb-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding: 0 12px;
  background: rgba(8, 16, 12, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 12.5px;
  color: #e6eee9;
}
.mb-left,
.mb-right {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.mb-left span {
  color: #c9d6cf;
}
.mb-apple {
  width: 11px;
  height: 13px;
  border-radius: 50% 50% 45% 45%;
  background: #e6eee9;
}
.mb-hh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  font-variant-numeric: tabular-nums;
}
.mb-hh svg {
  width: 15px;
  height: 15px;
}
.mb-clock {
  color: #c9d6cf;
}
.mb-left span:nth-child(n + 4),
.mb-clock {
  display: none;
}
.mb-panel {
  width: min(320px, calc(100% - 24px));
  margin: 8px 12px 0 auto;
  padding: 10px;
  border-radius: 14px;
  background: rgba(21, 31, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: var(--a-text);
  font-size: 13px;
}
.mb-run {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--a-fill);
  color: #fff;
}
.mb-run small,
.mb-run span {
  display: block;
  color: #d4eade;
  font-size: 12px;
}
.mb-run b {
  display: block;
}
.mb-time {
  font-stretch: 110%;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.mb-run .mb-stop {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eef5f1;
}
.mb-stop::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: #0d1512;
}
.mb-h {
  margin: 12px 4px 4px;
  color: var(--a-muted);
  font-size: 12px;
  font-weight: 600;
}
.mb-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mb-panel li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border-top: 1px solid var(--a-line-soft);
}
.mb-panel li:first-child {
  border-top: 0;
}
.mb-panel li b {
  display: block;
  font-weight: 600;
}
.mb-panel li span {
  color: var(--a-muted);
  font-size: 12px;
}
.mb-dur {
  color: var(--a-text) !important;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mb-play {
  width: 0;
  height: 0;
  border-left: 8px solid var(--a-ink);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}
.mb-foot {
  display: flex;
  justify-content: space-between;
  margin: 8px 4px 2px;
  padding-top: 8px;
  border-top: 1px solid var(--a-line-soft);
  color: var(--a-muted-strong);
  font-size: 12.5px;
}

/* Every feature */
.sec-all {
  background: var(--night-2);
  border-top: 1px solid var(--edge);
}
.groups {
  display: grid;
  gap: 34px;
  margin-top: 40px;
}
.group h3 {
  margin: 0 0 6px;
  color: var(--mint);
  font-size: 15px;
  font-weight: 700;
}
.group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.group li {
  padding: 14px 0;
  border-top: 1px solid var(--edge);
}
.group li b {
  display: block;
  font-weight: 650;
  font-size: 17px;
}
.group li span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* Compare */
.table-scroll {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--edge);
  border-radius: 20px;
  background: var(--night-2);
  -webkit-overflow-scrolling: touch;
}
.cmp {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}
.cmp th,
.cmp td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--edge);
}
.cmp thead th {
  border-top: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}
.cmp tbody th {
  font-weight: 600;
  color: var(--text);
  width: 30%;
}
.cmp td {
  color: var(--muted);
}
.cmp .cmp-us {
  background: rgba(98, 191, 150, 0.08);
  color: var(--text);
}
.cmp thead .cmp-us {
  color: var(--mint);
  font-weight: 750;
}
.cmp td.yes::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 12px;
  margin: 0 9px 0 2px;
  border: solid var(--mint);
  border-width: 0 2.2px 2.2px 0;
  transform: translateY(-2px) rotate(45deg);
}
.cmp td.no {
  color: #e7a196;
}
.cmp td.later {
  color: var(--dim);
}
.cmp td b {
  font-weight: 800;
  font-stretch: 116%;
  font-size: 19px;
}

/* Plans: the paper band. The standard grid: a Monthly / Yearly switch, then one card per plan, then the price lock. */
.sec-plans {
  background: var(--paper);
  color: var(--paper-text);
}
.sec-plans .sec-head {
  margin-inline: auto;
  text-align: center;
}
.sec-plans .sec-lede {
  color: var(--paper-muted);
}

/* Billing period (class « period », since « bill » belongs to the price comparison bars): two radios, so the switch works without script. Yearly is checked by default. */
.period {
  position: relative;
  display: flex;
  width: fit-content;
  min-inline-size: 0;
  margin: 28px auto 0;
  padding: 4px;
  border: 1px solid #d5dcd4;
  border-radius: 999px;
  background: #fff;
}
.period-in {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.period-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--paper-muted);
  font-size: 15.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.2s var(--press), color 0.2s var(--press);
}
.period-in:checked + .period-opt {
  background: var(--ink-fill);
  color: #fff;
}
.period-in:focus-visible + .period-opt {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.period-save {
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcefe4;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
}
.period-in:checked + .period-opt .period-save {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Only the chosen period's price and note show. */
.sec-plans [data-period='month'],
.sec-plans:has(#period-month:checked) [data-period='year'] {
  display: none;
}
.sec-plans:has(#period-month:checked) .plan-price[data-period='month'] {
  display: flex;
}
.sec-plans:has(#period-month:checked) .plan-note[data-period='month'] {
  display: block;
}

.plans {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 24px;
  border: 1px solid #d5dcd4;
  border-radius: 24px;
  background: #fff;
}
.plan-team {
  border: 2px solid var(--ink);
  box-shadow: 0 24px 60px rgba(20, 38, 29, 0.14);
}
.plan-badge {
  position: absolute;
  top: -13px;
  left: 20px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--ink-fill);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.plan-name {
  margin: 0;
  font-size: 19px;
  font-weight: 750;
}
.plan-for {
  margin: 4px 0 0;
  color: var(--paper-muted);
  font-size: 15px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 18px 0 4px;
}
.plan-price b {
  font-weight: 830;
  font-stretch: 122%;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.plan-price s {
  color: var(--paper-muted);
  font-size: 22px;
  font-weight: 600;
}
.plan-price span {
  color: var(--paper-muted);
}
.plan-note {
  margin: 0 0 18px;
  color: var(--paper-muted);
  font-size: 14.5px;
  line-height: 1.45;
}
.plan-note b {
  color: var(--paper-text);
}
.plan-list-head {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 700;
}
.plan-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.plan > .btn + .plan-list {
  margin-top: 22px;
}
.plan-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15.5px;
  text-wrap: pretty;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid var(--ink);
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}
.sec-plans .btn-paper {
  background: var(--ink-fill);
  color: #fff;
}
.sec-plans .btn-paper:hover {
  box-shadow: 0 0 0 6px rgba(33, 111, 82, 0.16);
}
.sec-plans .btn-line {
  color: var(--paper-text);
  border-color: #b9c6bd;
}
.sec-plans .btn-line:hover {
  border-color: var(--ink);
}

/* The price lock, under the plans: the seal and one line, linked to the terms. */
.lock {
  text-wrap: pretty;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 880px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid #e6e2d2;
  border-radius: 18px;
  background: #fbfaf4;
  font-size: 15px;
  line-height: 1.5;
}
.lock-seal {
  flex: none;
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 6px 8px rgba(139, 33, 27, 0.3));
}
.lock a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.plans-fine {
  margin: 14px 0 0;
  color: var(--paper-muted);
  font-size: 13.5px;
  text-align: center;
}
@media (min-width: 760px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 880px;
    margin-inline: auto;
  }
  .plan {
    padding: 30px 28px 28px;
  }
  .plan-note {
    min-height: 2.9em;
  }
}

@keyframes sealDrop {
  0% {
    opacity: 0;
    transform: scale(1.8) rotate(-24deg);
  }
  45% {
    opacity: 1;
    transform: scale(0.92) rotate(-9deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(-10deg);
  }
}

/* FAQ */
.faq-in {
  max-width: 860px;
}
.faq {
  margin-top: 28px;
}
.faq details {
  border-top: 1px solid var(--edge);
}
.faq details:last-child {
  border-bottom: 1px solid var(--edge);
}
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-weight: 650;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--mint);
  transition: transform 0.3s var(--spring);
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq p {
  margin: -6px 0 22px;
  color: var(--muted);
  font-size: 16.5px;
}

/* The last word */
.final {
  position: relative;
  padding: 90px 0 100px;
  text-align: center;
  background: radial-gradient(700px 420px at 50% 30%, rgba(98, 191, 150, 0.16), transparent 70%), var(--night);
  border-top: 1px solid var(--edge);
}
.final-in {
  display: grid;
  justify-items: center;
}
.final-seal {
  width: 96px;
  height: 96px;
  margin-bottom: 20px;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.5));
}
.final-seal svg {
  width: 100%;
  height: 100%;
}
.js .final-seal {
  opacity: 0;
}
.js .final.is-seen .final-seal {
  animation: sealDrop 1s var(--spring) both;
}
.final-title {
  max-width: 820px;
  margin: 0 0 26px;
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(2rem, 7.4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.final .hero-fine {
  text-align: center;
}

/* Footer */
.foot {
  padding: 44px 0 56px;
  border-top: 1px solid var(--edge);
  background: var(--night-2);
}
.foot-in {
  display: grid;
  gap: 30px;
}
.foot-note {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 14px;
}
.foot-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.foot-h {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
}
.foot-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.foot-col a {
  color: var(--dim);
  text-decoration: none;
  font-size: 14.5px;
}
.foot-col a:hover {
  color: var(--text);
}

/* The header's language menu: a globe and the current language, opening every language. details/summary, so it works
   without script; js/lang.js closes it on a click outside or Escape. */
.lang-menu {
  position: relative;
  flex: none;
  margin-left: auto;
}
.lang-menu + .hdr-cta {
  margin-left: 8px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--edge-2);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  list-style: none;
  cursor: pointer;
}
.lang-btn:hover,
.lang-menu[open] .lang-btn {
  border-color: var(--mint);
}
.lang-btn::-webkit-details-marker {
  display: none;
}
.lang-globe {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 210px;
  max-height: calc(100vh - 90px);
  overflow: auto;
  padding: 6px;
  border-radius: 16px;
}
.lang-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 15px;
  text-decoration: none;
}
.lang-list {
  border: 1px solid var(--edge-2);
  background: var(--night-2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lang-list a {
  color: var(--muted);
}
.lang-list a:hover {
  background: rgba(155, 214, 186, 0.08);
  color: var(--text);
}
.lang-list a[aria-current] {
  background: rgba(155, 214, 186, 0.1);
  color: var(--text);
  font-weight: 650;
}
@media (max-width: 379px) {
  .hdr-in {
    gap: 10px;
  }
  .lang-btn {
    padding: 0 10px;
  }
}
/* A header out of room (.hdr-tight, from js/v3.js or js/blog.js): the language button keeps only its globe, which
   still reads « Language » to screen readers, so a long button label (« Commencer gratuitement ») fits a 320 px phone. */
.hdr-tight .lang-code {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
/* A phone: the list opens across the header's width, in two columns, wherever the button sits. */
@media (max-width: 759px) {
  .lang-menu {
    position: static;
  }
  .lang-list {
    top: calc(100% + 6px);
    right: var(--gutter);
    left: var(--gutter);
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }
}

/* The language hint (js/lang.js): a slim bar above the header, in the visitor's own language. */
.lang-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px var(--gutter);
  border-bottom: 1px solid var(--edge);
  background: var(--night-3);
  color: var(--muted);
  font-size: 14px;
}
.lang-hint p {
  flex: 1;
  margin: 0;
}
.lang-hint a {
  color: var(--text);
  font-weight: 650;
  text-underline-offset: 3px;
}
.lang-hint-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 22px;
  cursor: pointer;
}
.lang-hint-close:hover {
  color: var(--text);
}

/* Shown on translated pages only: what isn't translated yet (the app itself). */
html[lang='en'] .l10n-note {
  display: none;
}

/* Languages: this page in each language, named in its own language. */
.langs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}
.langs a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--dim);
  font-size: 14px;
  text-decoration: none;
}
.langs a:hover {
  color: var(--text);
}
.langs a[aria-current] {
  color: var(--text);
  font-weight: 650;
}

/* Japanese, Korean and Chinese pages: the system's CJK faces after Archivo (which only carries Latin), no tightened
   tracking on CJK headings, and Korean breaks lines between words. */
:lang(ja) body {
  font-family: 'Archivo', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Yu Gothic', Meiryo, 'Noto Sans JP', sans-serif;
}
:lang(ko) body {
  font-family: 'Archivo', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  word-break: keep-all;
}
:lang(zh) body {
  font-family: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
:is(:lang(ja), :lang(ko), :lang(zh)) :is(h1, h2, h3) {
  letter-spacing: 0;
}

/* Reveal on scroll (js/v3.js tags the blocks below the first screen): each comes in once, as it enters the viewport,
   with a motion that suits it. Only opacity and the individual translate/scale properties move, so a block's own
   transform (a pressed button, a hover) is never overridden. Reduced motion: everything shows at once (see below). */
.js .rv {
  opacity: 0;
  transition: opacity 0.6s var(--spring) var(--rv-delay, 0ms), translate 0.85s var(--spring) var(--rv-delay, 0ms), scale 0.85s var(--spring) var(--rv-delay, 0ms);
}
.js .rv-up {
  translate: 0 22px;
}
.js .rv-left {
  translate: -16px 0;
}
.js .rv-card {
  translate: 0 28px;
  scale: 0.97;
}
.js .rv-row {
  translate: 0 10px;
}
.js .rv-drop {
  translate: 0 -20px;
  scale: 0.98;
  transform-origin: top center;
}
.js .rv.is-seen {
  opacity: 1;
  translate: none;
  scale: none;
}
/* The comparison bars grow from nothing to the team's bills when they come into view. */
.js .bills.rv:not(.is-seen) .bill-track i {
  width: 3%;
}
/* The import report: « 0 differences » lands once its figures have counted up. */
.js .report.rv .pill-ok {
  transition: opacity 0.4s var(--spring), scale 0.5s var(--spring);
}
.js .report.rv:not(.is-done) .pill-ok {
  opacity: 0;
  scale: 0.6;
}

/* ---------- Wider screens ---------- */

@media (min-width: 760px) {
  :root {
    --gutter: 28px;
  }
  .hero-title {
    font-weight: 820;
    font-stretch: 118%;
  }
  .hdr-nav {
    display: flex;
  }
  .hero {
    padding-top: 64px;
  }
  .hero-actions .btn {
    flex: 0 0 auto;
  }
  .demo-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .caption {
    max-width: 640px;
  }
  .chapters button {
    font-size: 14px;
  }
  .sec {
    padding: 110px 0;
  }
  .team {
    padding: 30px;
  }
  .team-ctrl {
    grid-template-columns: auto auto 1fr;
    gap: 22px;
  }
  .team-range {
    grid-column: auto;
  }
  .bills {
    gap: 18px;
  }
  /* Wide enough for « Toggl Track Premium » on one line and for the longest bill, « $479.40 » (Clockify Pro, 60 people). */
  .bill {
    grid-template-columns: 190px 1fr 130px;
  }
  .bill-track {
    grid-column: 2;
    grid-row: 1;
  }
  .bill-amt {
    text-align: right;
  }
  .bill-note {
    grid-column: 2 / -1;
  }
  .groups {
    grid-template-columns: 1fr 1fr;
    gap: 40px 48px;
  }
  .foot-in {
    grid-template-columns: 1fr 2fr;
  }
  .foot-nav {
    grid-template-columns: repeat(3, 1fr);
  }
  .report {
    padding: 26px;
  }
  .mb-left span:nth-child(n + 4),
  .mb-clock {
    display: inline;
  }
}

@media (min-width: 1100px) {
  .mac-in {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .move-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
  }
  .groups {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

/* ---------- Reduced motion: every state shows at once ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .rv,
  .js .final-seal,
  .js .report.rv .pill-ok {
    opacity: 1 !important;
    transform: none !important;
    translate: none !important;
    scale: none !important;
  }
}

/* The comparison on a phone: each row's name, then one labelled line per tool, no sideways scroll. */
@media (max-width: 759px) {
  .cmp {
    min-width: 0;
    font-size: 14.5px;
  }
  .cmp thead {
    display: none;
  }
  .cmp tbody tr {
    display: block;
    padding: 12px 14px 10px;
    border-top: 1px solid var(--edge);
  }
  .cmp tbody tr:first-child {
    border-top: 0;
  }
  .cmp tbody th {
    display: block;
    width: auto;
    padding: 0 0 6px;
    border: 0;
    font-size: 15px;
  }
  .cmp td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 0;
    border: 0;
    text-align: right;
  }
  .cmp td::before {
    content: attr(data-label);
    color: var(--dim);
    text-align: left;
  }
  .cmp td.cmp-us {
    margin: 0 -8px;
    padding: 6px 8px;
    border-radius: 8px;
  }
  .cmp td.cmp-us::before {
    color: var(--mint);
    font-weight: 700;
  }
  .cmp td.yes::before {
    content: attr(data-label);
    display: inline;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    transform: none;
  }
}
