/* The Swiss redesign's kit (views/swiss.templ), drawn in Paper ("Graceful quartz", page "unamotion web"): every
   redrawn page shares the bar, the first screen and its strip, the numbered sections, the close and the footer.
   Daybook's values only: cream page, ink, the muted inks, its fields; Inter Tight and Geist Mono. 1440 wide in Paper,
   so the column is 1312px with a 64px gutter; the type steps down on smaller screens. */

:root {
  --sw-sans: var(--font-db-sans, "Inter Tight"), system-ui, sans-serif;
  /* no mono on these pages (the owner, 2026-11-25): labels are Inter Tight, set apart by weight */
  --sw-mono: var(--sw-sans);
  --sw-col: 1312px;
  --sw-gutter: clamp(16px, 4.45vw, 64px);
  --sw-label: 312px;
  /* the gap between sections: 160px at 1440 */
  --sw-gap: clamp(96px, 11.1vw, 160px);
  /* display type: 72/68 at 1440; section headings 64/64; row titles 32/36 */
  --sw-display: clamp(40px, 2.2rem + 2.6vw, 72px);
  --sw-h2: clamp(36px, 1.9rem + 2.3vw, 64px);
  --sw-h3: clamp(24px, 1.2rem + 0.8vw, 32px);
}

.sw-page {
  display: flex;
  flex-direction: column;
  gap: var(--sw-gap);
  font-family: var(--sw-sans);
  color: var(--db-fg);
  background: var(--db-bg);
  overflow-wrap: anywhere;
}
.sw-page p,
.sw-page h1,
.sw-page h2,
.sw-page h3,
.sw-page h4,
.sw-page ul,
.sw-page ol,
.sw-page figure {
  margin: 0;
}
.sw-page ul,
.sw-page ol {
  padding: 0;
  list-style: none;
}
.sw-page a {
  color: inherit;
  text-decoration: none;
}

/* The wordmark in two inks. */
.sw-mark {
  font-family: var(--sw-sans);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 24px;
  color: var(--db-fg);
  text-decoration: none;
}

/* The bar: the wordmark | Product, Who it's for, Pricing, Company dead centre | Log in and Book a demo, the side
   columns equal. A link's state is a rule under its words, never a pill. */
.sw-bar {
  position: relative;
  z-index: 10;
  display: grid;
  /* equal sides that grow with their words (French is longer), so the links stay dead centre */
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  height: 80px;
  padding: 16px var(--sw-gutter) 0;
}
.sw-bar__links {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  height: 100%;
}
.sw-bar__link {
  white-space: nowrap;
  font-family: var(--sw-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 18px;
  color: var(--db-fg-2);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.sw-bar__links .sw-bar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* the rule under a link: hairline on hover, ink and heavier when its panel is open or the page sits under it */
.sw-bar__links .sw-bar__link::after {
  content: "";
  position: absolute;
  inset: auto 0 14px 0;
  height: 1px;
  background: currentColor;
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.18s ease;
}
.sw-bar__links .sw-bar__link:hover::after,
.sw-bar__drop:has(+ .sw-drop:popover-open)::after {
  scale: 1 1;
}
.sw-bar__link[aria-current="page"]::after,
.sw-bar__link.is-here::after {
  scale: 1 1;
  height: 2px;
}
.sw-bar__link:hover,
.sw-bar__link[aria-current="page"],
.sw-bar__link.is-here,
.sw-bar__drop:has(+ .sw-drop:popover-open) {
  color: var(--db-fg);
}
.sw-bar__chev {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  opacity: 0.55;
  transition: rotate 0.18s ease;
}
.sw-bar__drop:has(+ .sw-drop:popover-open) .sw-bar__chev {
  rotate: 180deg;
  opacity: 1;
}
.sw-bar__end {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 24px;
}

/* A panel hangs from the bar across the whole width: square, cream, an ink rule above and one below, a long soft
   shadow under it. Inside, the page's column: the panel's name and one sentence in the 312px column, its links under
   them; then its entries in a grid, each topped by a bar in its field (ink for the company's pages), its number in the
   field's text colour, its name and its line. An entry's bar grows under the pointer and its ground warms to the
   field's soft colour. */
.sw-drop {
  position: fixed;
  inset: var(--sw-drop-top, 80px) 0 auto 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px var(--sw-gutter) 48px;
  border: 0;
  border-top: 1px solid var(--db-fg);
  border-bottom: 1px solid var(--db-fg);
  border-radius: 0;
  background: var(--db-bg);
  color: var(--db-fg);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--db-fg) 30%, transparent);
  font-family: var(--sw-sans);
}
.sw-drop:popover-open {
  animation: sw-drop-in 0.2s ease-out;
}
@keyframes sw-drop-in {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-drop:popover-open {
    animation: none;
  }
  .sw-bar__links .sw-bar__link::after,
  .sw-bar__chev {
    transition: none;
  }
}
.sw-drop__in {
  display: flex;
  gap: 24px;
  width: min(var(--sw-col), 100%);
  margin-inline: auto;
}
.sw-drop__intro {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  width: var(--sw-label);
  padding-right: 32px;
}
.sw-drop__kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 20px;
}
.sw-drop__say {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 27px;
  color: var(--db-fg-2);
  text-wrap: pretty;
}
.sw-drop__say br {
  display: none;
}
.sw-drop__all {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
}
.sw-drop__all a {
  width: fit-content;
  font-size: 15px;
  font-weight: 500;
  line-height: 20px;
  color: var(--db-fg);
  text-decoration: none;
}
.sw-drop__all a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.sw-drop ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw-drop__grid {
  display: grid;
  flex: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  min-width: 0;
}
.sw-drop__grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.sw-drop__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  padding: 16px 16px 18px;
  border-top: 3px solid var(--db-field, var(--db-fg));
  color: var(--db-fg);
  text-decoration: none;
  transition: background-color 0.15s ease, border-width 0.15s ease;
}
.sw-drop__item:not([data-db-field]) {
  border-top: 1px solid var(--db-fg);
  padding-top: 18px;
}
.sw-drop__item:hover,
.sw-drop__item:focus-visible {
  background: var(--db-field-soft, var(--db-card));
  outline: none;
}
.sw-drop__item:not([data-db-field]):hover,
.sw-drop__item:not([data-db-field]):focus-visible {
  background: var(--db-card);
}
.sw-drop__n {
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  color: var(--db-field-text);
}
.sw-drop__name {
  margin-top: 2px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 24px;
}
.sw-drop__line {
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 20px;
  color: var(--db-fg-3);
}
@media (max-width: 1100px) {
  .sw-drop__intro {
    width: 240px;
  }
  .sw-drop__grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* The menu button a phone gets instead of the links (also the menu's close): two ink lines, no frame. */
.sw-bar__burger {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--db-fg);
  cursor: pointer;
}
.sw-bar__burger svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* The menu on a phone: over the whole page in cream, set like the page. Product and Who it's for are ruled lists, each
   row a bar in its field down its left, its number and its name; the other pages in large type between rules; Book a
   demo across the width at the foot. */
.sw-sheet {
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--db-bg);
  color: var(--db-fg);
  font-family: var(--sw-sans);
}
.sw-sheet:popover-open {
  display: flex;
  flex-direction: column;
  animation: sw-drop-in 0.2s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .sw-sheet:popover-open {
    animation: none;
  }
}
/* the page stays still under the open menu */
html:has(.sw-sheet:popover-open) {
  overflow: hidden;
}
.sw-sheet ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sw-sheet a {
  color: inherit;
  text-decoration: none;
}
.sw-sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  flex-shrink: 0;
  padding: 8px var(--sw-gutter) 0;
  border-bottom: 1px solid var(--db-fg);
}
.sw-sheet__top .sw-bar__burger {
  display: grid;
}
.sw-sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--sw-gutter) 24px;
}
.sw-sheet__head {
  display: flex;
  justify-content: space-between;
  padding: 24px 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 20px;
}
.sw-sheet__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}
.sw-sheet__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0 13px 12px;
  border-top: 1px solid var(--db-edge-2);
  box-shadow: inset 3px 0 0 var(--db-field);
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 22px;
}
.sw-sheet__row:active {
  background: var(--db-field-soft);
}
.sw-sheet__n {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  color: var(--db-field-text);
}
.sw-sheet__plain {
  display: flex;
  flex-direction: column;
  margin-top: 28px !important;
  border-top: 1px solid var(--db-fg);
}
.sw-sheet__plain a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--db-edge-2);
  font-size: 26px;
  letter-spacing: -0.025em;
  line-height: 30px;
}
.sw-sheet__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  padding: 16px var(--sw-gutter) calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--db-fg);
}
.sw-sheet .sw-sheet__demo {
  justify-content: space-between;
  width: 100%;
  color: var(--db-bg);
}
.sw-sheet__end {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  line-height: 20px;
  color: var(--db-fg-2);
}

@media (max-width: 1060px) {
  .sw-bar {
    grid-template-columns: 1fr auto;
    height: 72px;
    padding-top: 8px;
  }
  .sw-bar__links,
  .sw-hide-sm {
    display: none;
  }
  .sw-bar__end {
    gap: 14px;
  }
  .sw-bar__burger {
    display: grid;
  }
}
/* on the narrowest phones the bar keeps only the menu button: Book a demo is in the menu and in every hero */
@media (max-width: 400px) {
  .sw-bar__end .sw-demo {
    display: none;
  }
}
@media (min-width: 1061px) {
  .sw-sheet {
    display: none !important;
  }
}

/* Book a demo: an ink pill, weight 500, a saffron chip with an ink arrow. 15px with a 28px chip in the bar, 17px with
   a 34px chip in a hero. */
.sw-demo {
  --sw-pill: var(--db-fg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  background: var(--sw-pill);
  color: var(--db-bg);
  font-family: var(--sw-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  width: fit-content;
}
.sw-page .sw-demo,
.sw-bar .sw-demo {
  color: var(--db-bg);
}
.sw-demo__chip {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--db-field);
  color: var(--sw-pill);
}
.sw-demo__chip svg {
  width: 16px;
  height: 16px;
}
.sw-demo--lg {
  gap: 12px;
  padding: 8px 8px 8px 24px;
  font-size: 17px;
  line-height: 22px;
}
.sw-demo--lg .sw-demo__chip {
  width: 34px;
  height: 34px;
}
.sw-demo--lg .sw-demo__chip svg {
  width: 18px;
  height: 18px;
}
.sw-demo:hover .sw-demo__chip {
  background: var(--db-field-hover);
}

/* The first screen: the bar, the hero's words, and the strip along its foot (900px tall at 1440 in Paper). */
.sw-first {
  display: flex;
  flex-direction: column;
}
.sw-first--strip {
  min-height: clamp(640px, 100svh, 900px);
}
.sw-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: clamp(64px, 9vw, 130px) var(--sw-gutter) 0;
  text-align: center;
}
.sw-first--strip .sw-hero {
  padding-bottom: 48px;
}
.sw-eyebrow {
  font-family: var(--sw-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 20px;
  color: var(--db-fg-2);
}
.sw-display {
  max-width: 1000px;
  font-family: var(--sw-sans);
  font-size: var(--sw-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.944;
  text-wrap: balance;
}
.sw-hero .sw-demo {
  margin-top: 4px;
}
.sw-sub {
  max-width: 640px;
  font-size: clamp(17px, 1rem + 0.3vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--db-fg-2);
}

/* The strip: 280px tall at 1440 (170px to 360px), three copies gliding left at 60px/s for a 300px-tall strip, so a
   loop takes its width over its height × 5 seconds; -33.333% is one copy. Still under the pointer and for
   prefers-reduced-motion. */
.sw-strip {
  height: clamp(170px, 19.44vw, 360px);
  margin-top: auto;
  overflow: hidden;
  flex-shrink: 0;
}
.sw-strip__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: sw-pan var(--sw-dur, 60s) linear infinite;
}
.sw-strip__track img {
  display: block;
  width: auto;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}
.sw-strip:hover .sw-strip__track {
  animation-play-state: paused;
}
.sw-strip--workout {
  --sw-dur: 60.46s;
}
.sw-strip--studios {
  --sw-dur: 37.9s;
}
.sw-strip--schools {
  --sw-dur: 39.03s;
}
.sw-strip--gyms {
  --sw-dur: 32.37s;
}
.sw-strip--spas {
  --sw-dur: 29.08s;
}
.sw-strip--instructors {
  --sw-dur: 64.98s;
}
@keyframes sw-pan {
  to {
    translate: -33.3333% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sw-strip__track {
    animation: none;
  }
  .sw-strip {
    overflow-x: auto;
  }
}

/* A numbered section: an ink rule across the 1312px column, the mono label in a 312px column, the content beside it. */
.sw-sec {
  display: flex;
  gap: 24px;
  width: min(var(--sw-col), 100% - 2 * var(--sw-gutter));
  margin-inline: auto;
  padding-top: 24px;
  border-top: 1px solid var(--db-fg);
  scroll-margin-top: 24px;
}
.sw-sec__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}
.sw-label {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  width: var(--sw-label);
  font-family: var(--sw-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 20px;
  color: var(--db-fg-3);
}
/* the number set apart by weight, the name lighter and muted: no mono, no capitals */
.sw-label__num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--db-fg);
}
.sw-h2 {
  font-size: var(--sw-h2);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}
.sw-h3 {
  font-size: var(--sw-h3);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.125;
}
.sw-mono {
  font-family: var(--sw-sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  line-height: 20px;
  color: var(--db-fg-3);
}
.sw-arrow {
  flex-shrink: 0;
  font-size: 22px;
  line-height: 28px;
}
@media (max-width: 900px) {
  .sw-sec {
    flex-direction: column;
    gap: 32px;
  }
  .sw-label {
    width: auto;
  }
  .sw-sec__body {
    gap: 40px;
  }
}

/* The close: across the whole width in the page's field, its words in the field's ink, ruled rows to the demo. */
.sw-close {
  display: flex;
  justify-content: center;
  padding: clamp(72px, 8.3vw, 120px) var(--sw-gutter) clamp(80px, 8.9vw, 128px);
  background: var(--db-field);
  color: var(--db-fg);
}
.sw-close__in {
  display: flex;
  gap: 24px;
  width: min(var(--sw-col), 100%);
  padding-top: 24px;
  border-top: 1px solid var(--db-fg);
}
.sw-close .sw-label,
.sw-close .sw-label__num {
  color: var(--db-fg);
}
.sw-close__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 56px;
  min-width: 0;
}
.sw-close__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sw-close__title {
  max-width: 9.4em;
  text-wrap: balance;
  font-size: var(--sw-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.944;
}
.sw-close__title .um-una {
  color: inherit;
}
.sw-close__say {
  font-size: clamp(17px, 1rem + 0.3vw, 20px);
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.sw-close__q {
  padding-bottom: 16px;
  font-family: var(--sw-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 20px;
}
.sw-close__list li {
  border-top: 1px solid var(--db-fg);
}
.sw-close__list li:last-child {
  border-bottom: 1px solid var(--db-fg);
}
.sw-close__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-size: clamp(20px, 1rem + 0.6vw, 26px);
  letter-spacing: -0.02em;
  line-height: 30px;
}
.sw-close__go:hover span:first-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
@media (max-width: 900px) {
  .sw-close__in {
    flex-direction: column;
    gap: 32px;
  }
}


/* A kind of business's pictogram: ink lines 2.5 wide, one shape in its field. */
.sw-pict {
  display: block;
  flex-shrink: 0;
  fill: none;
  stroke: var(--db-fg);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-pict__fill {
  fill: var(--db-field);
}
.sw-pict__dot {
  fill: var(--db-fg);
}

/* The footer is the old site's (site.css, .um-foot): keep its own inks and spacing against the kit's resets above. */
.sw-page .um-col__link {
  color: var(--db-fg-2);
}
.sw-page .um-col__link:is(:hover, :focus-visible, [aria-current]) {
  color: var(--db-fg);
}
.sw-page .um-foot__brand p {
  margin: 10px 0 0;
}
.sw-page .um-col__head {
  margin: 0;
}
.sw-page .um-col__list {
  margin: 14px 0 0;
}

/* Section labels are gone (views/swiss.templ, SwLabel): on a wide screen the empty column keeps every section on the
   grid; on a narrow one, where labels stacked above, it takes no room. */
@media (max-width: 900px) {
  .sw-label:empty {
    display: none;
  }
}
