/*
 * Tuckit landing. Dark by default; the accent is a custom property so the
 * palette switcher can repaint the whole page from one place.
 */

:root {
  --acc: #4caf7a;
  --rst: #e2a03f;
  --a2: #5b8fc9;
  --a3: #c96a5b;

  --bg: #111614;
  --bg-alt: #0d1211;
  --paper: #f4f0e7;
  --ink: #1a201e;
  --fg: 244 240 231;
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --line: rgb(var(--fg) / 0.08);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  color: var(--paper);
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

.root { overflow-x: clip; }

a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--acc); }
::selection { background: var(--acc); color: #0e1512; }

.spacer { flex: 1; }

@keyframes tk-bloom {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

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

.h2 {
  margin: 18px 0 0;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.h2--tight { max-width: 20ch; }
.h2--gap { margin-bottom: 44px; }

.body {
  margin: 20px 0 0;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgb(var(--fg) / 0.55);
  text-wrap: pretty;
}

.body--fixed { min-height: 6em; }

.lead {
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.015em;
  color: rgb(var(--fg) / 0.72);
  max-width: 34ch;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--fg) / 0.4);
}

.micro { font-size: 13px; color: rgb(var(--fg) / 0.4); }

.mono-note {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgb(var(--fg) / 0.35);
}

.footnote { margin: 24px 0 0; font-size: 13px; color: rgb(var(--fg) / 0.3); }

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

.btn {
  font-family: inherit;
  border: 0;
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease;
}

.btn--accent { background: var(--acc); color: #0e1512; }
.btn--sm { font-size: 13px; font-weight: 640; border-radius: 11px; padding: 10px 18px; }
.btn--lg { font-size: 15px; font-weight: 650; border-radius: 13px; padding: 15px 26px; }
.btn--xl { font-size: 16px; font-weight: 650; border-radius: 14px; padding: 17px 32px; margin-top: 8px; }
.btn--ink { background: var(--ink); color: var(--paper); }

.btn--ghost {
  font-size: 13px;
  font-weight: 640;
  color: var(--ink);
  border: 1px solid rgba(26, 32, 30, 0.14);
  border-radius: 10px;
  padding: 9px 14px;
  background: transparent;
}

.btn--go {
  margin-left: auto;
  background: var(--acc);
  border-radius: 10px;
  padding: 10px 20px;
}

.btn--go span { color: #0e1512; font-size: 13px; font-weight: 640; }

/* ---------------------------------------------------------------- mark */

.mark { position: relative; width: 26px; height: 26px; flex: none; display: block; }
.mark i { position: absolute; display: block; background: var(--paper); }
.mark__bar { top: 5.3px; left: 4.9px; width: 16.3px; height: 2.8px; border-radius: 1.4px; }
.mark__stem { top: 8.1px; left: 11.6px; width: 2.8px; height: 8.5px; }
.mark__tail { top: 16.6px; left: 11.6px; width: 2.8px; height: 4.1px; border-radius: 0 0 1.4px 1.4px; background: var(--acc) !important; }

/* ---------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  background: rgba(17, 22, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__word { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; }

.chip--mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgb(var(--fg) / 0.4);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 7px;
}

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { font-size: 14px; color: rgb(var(--fg) / 0.6); }
.nav__links a:hover { color: var(--acc); }

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

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(520px, 1.05fr);
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.hero__copy { padding: 96px 40px 96px 40px; align-self: center; max-width: 720px; justify-self: end; width: 100%; }
.hero h1 { margin: 18px 0 0; font-size: clamp(44px, 5.4vw, 84px); font-weight: 620; letter-spacing: -0.045em; line-height: 0.96; text-wrap: balance; }
.hero__cta { display: flex; align-items: center; gap: 18px; margin-top: 36px; flex-wrap: wrap; }

.hero__hint {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: rgb(var(--fg) / 0.35);
  transition: opacity 400ms ease;
}

.hero__hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

/* ---------------------------------------------------------------- rope stage */

.stage {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: var(--paper);
  border-left: 1px solid var(--line);
  user-select: none;
  touch-action: none;
}

.stage__page { position: absolute; inset: 0; padding: 90px 60px; display: flex; flex-direction: column; gap: 16px; }
.stage__page div { height: 11px; border-radius: 6px; background: rgba(26, 32, 30, 0.07); }
.stage__page div:nth-child(1) { width: 42%; height: 26px; background: rgba(26, 32, 30, 0.12); margin-bottom: 12px; }
.stage__page div:nth-child(4) { width: 78%; }
.stage__page div:nth-child(6) { width: 64%; }
.stage__page div:nth-child(8) { width: 48%; }

.stage__dim { position: absolute; inset: 0; background: #0e1512; opacity: 0; pointer-events: none; transition: opacity 120ms linear; }

.rope {
  position: absolute; left: 50%; top: 0; width: 10px; height: 0; margin-left: -5px;
  border-radius: 5px;
  background: repeating-linear-gradient(118deg, #2b3330 0 4px, #1a201e 4px 9px);
  box-shadow: 0 6px 18px rgba(20, 26, 24, 0.28);
  pointer-events: none; opacity: 0; transform-origin: 50% 0;
}

.knots, .beads { position: absolute; inset: 0; pointer-events: none; }
.knot { position: absolute; left: 50%; top: 0; opacity: 0; transition: opacity 160ms ease; }

.knot__dot {
  position: absolute; left: -8px; top: -8px; width: 16px; height: 16px;
  border-radius: 50%; border: 2px solid rgba(244, 240, 231, 0.55); background: var(--ink);
  transition: width 120ms ease, height 120ms ease, left 120ms ease, top 120ms ease,
    background 140ms ease, border-color 140ms ease;
}

.knot__lbl {
  position: absolute; left: 18px; top: -11px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.03em; white-space: nowrap;
  background: var(--ink); color: rgba(247, 244, 236, 0.75);
  padding: 4px 8px; border-radius: 7px; box-shadow: 0 4px 12px rgba(20, 26, 24, 0.3);
}

.handle {
  position: absolute; left: 50%; top: 0; width: 56px; height: 16px;
  margin-left: -28px; margin-top: -8px; border-radius: 8px; background: var(--paper);
  box-shadow: 0 10px 26px rgba(20, 26, 24, 0.36); pointer-events: none; opacity: 0;
}

.readout {
  position: absolute; left: 50%; top: 0; margin-left: 46px; max-width: calc(50% - 62px);
  background: var(--ink); padding: 16px 20px 18px; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 26, 24, 0.4); pointer-events: none; opacity: 0;
}

.readout__big { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; line-height: 0.94; color: #f7f4ec; white-space: nowrap; }
.readout__sub { margin-top: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; color: rgba(247, 244, 236, 0.82); white-space: nowrap; }

.puck {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; height: 42px;
  background: var(--paper); border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 28px rgba(20, 26, 24, 0.2); z-index: 3;
}

.grip { display: flex; flex-direction: column; gap: 3px; flex: none; }
.grip span { display: block; width: 13px; height: 1.5px; border-radius: 1px; background: rgba(26, 32, 30, 0.3); }

.modes { display: flex; background: rgba(26, 32, 30, 0.07); border-radius: 9px; padding: 2px; flex: none; }
.modes button {
  font-family: inherit; font-size: 11.5px; font-weight: 650; border: 0; cursor: pointer;
  border-radius: 7px; padding: 5px 9px; background: transparent; color: rgba(26, 32, 30, 0.55);
}
.modes button.is-on { background: var(--ink); color: var(--paper); }

.lip {
  width: 44px; height: 14px; border-radius: 7px;
  border: 1.5px dashed rgba(26, 32, 30, 0.3); background: transparent; padding: 0;
  flex: none; cursor: ns-resize;
}

.expand {
  width: 28px; height: 28px; border-radius: 8px; background: rgba(26, 32, 30, 0.07);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.expand span { display: block; width: 12px; height: 12px; border: 2px solid rgba(26, 32, 30, 0.55); border-radius: 3px; }
.expand--sm { width: 24px; height: 24px; border-radius: 7px; }
.expand--sm span { width: 10px; height: 10px; }

.stage__mods {
  position: absolute; left: 0; right: 0; bottom: 22px;
  display: flex; justify-content: center; gap: 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: rgba(26, 32, 30, 0.32); pointer-events: none;
}

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

.section { padding: 120px 40px; max-width: 1280px; margin: 0 auto; }
.section--narrow { padding: 120px 40px; }
.section--slim { max-width: 1100px; }
.section--flush { padding: 0; }

.band {
  padding: 100px 40px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band--open { border-bottom: 0; }

[data-reveal] {
  opacity: 0.001;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms var(--ease);
}

/* ---------------------------------------------------------------- cards */

.cards { display: grid; gap: 20px; margin-top: 56px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--surfaces { margin-top: 48px; }

.card {
  background: rgb(var(--fg) / 0.04);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.card--plain { background: transparent; padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }

.card__stage {
  position: relative;
  height: 180px;
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card__step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); }
.card__when { font-size: 13px; color: rgb(var(--fg) / 0.75); margin-top: 6px; }
.card__body { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: rgb(var(--fg) / 0.5); }
.card__body em { font-style: normal; font-family: var(--mono); font-size: 13px; color: rgb(var(--fg) / 0.75); }

/* card mockups */
.mini-page { position: absolute; inset: 0; background: #fff; }
.mini-tab { position: absolute; top: 0; left: 50%; margin-left: -22px; width: 44px; height: 6px; border-radius: 0 0 3px 3px; background: rgba(26, 32, 30, 0.62); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.mini-lines { position: absolute; inset: 40px 30px; display: flex; flex-direction: column; gap: 12px; }
.mini-lines div { height: 9px; border-radius: 5px; background: rgba(26, 32, 30, 0.07); }
.mini-lines div:nth-child(2) { width: 72%; }
.mini-lines div:nth-child(3) { width: 54%; }

.mini-pill {
  display: flex; align-items: center; gap: 10px; padding: 0 8px 0 12px; height: 42px;
  background: var(--paper); border-radius: 0 0 18px 18px; box-shadow: 0 10px 28px rgba(20, 26, 24, 0.18);
  align-self: flex-start; margin-top: 0;
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
}
.mini-modes { display: flex; background: rgba(26, 32, 30, 0.07); border-radius: 9px; padding: 2px; }
.mini-modes span { font-size: 11.5px; font-weight: 650; border-radius: 7px; padding: 5px 9px; color: rgba(26, 32, 30, 0.55); }
.mini-modes span.is-on { background: var(--ink); color: var(--paper); }
.mini-lip { width: 44px; height: 14px; border-radius: 7px; border: 1.5px dashed rgba(26, 32, 30, 0.3); }
.mini-expand { width: 28px; height: 28px; border-radius: 8px; background: rgba(26, 32, 30, 0.07); display: flex; align-items: center; justify-content: center; }
.mini-expand span { width: 12px; height: 12px; border: 2px solid rgba(26, 32, 30, 0.55); border-radius: 3px; }

.mini-name { background: var(--paper); border-radius: 14px; box-shadow: 0 18px 40px rgba(20, 26, 24, 0.2); padding: 18px 22px 20px; width: 220px; }
.mini-name__input { border-bottom: 2px solid var(--ink); padding-bottom: 6px; font-size: 19px; font-weight: 560; letter-spacing: -0.01em; color: var(--ink); }
.caret { display: inline-block; width: 1.5px; height: 18px; background: var(--ink); vertical-align: -3px; margin-left: 2px; }
.mini-name__hint { margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: rgba(26, 32, 30, 0.5); }

/* a mockup authored at true size, scaled into whatever column it lands in */
.fit { position: absolute; top: 0; left: 0; transform-origin: 0 0; }

.fit[data-fit-w='300'] { width: 300px; height: 240px; }
.fit__rope { position: absolute; left: 150px; top: 0; width: 10px; height: 168px; margin-left: -5px; border-radius: 5px; background: repeating-linear-gradient(118deg, #2b3330 0 4px, #1a201e 4px 9px); }
.fit__knot { position: absolute; left: 150px; border-radius: 50%; border: 2px solid; }
.fit__knot--passed { top: 96px; width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--acc); border-color: var(--acc); }
.fit__knot--next { top: 160px; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: var(--ink); border-color: rgba(244, 240, 231, 0.55); }
.fit__knotlbl { position: absolute; left: 168px; top: 86px; font-family: var(--mono); font-size: 11.5px; background: var(--ink); color: #f7f4ec; padding: 4px 8px; border-radius: 7px; white-space: nowrap; }
.fit__handle { position: absolute; left: 150px; top: 168px; width: 56px; height: 16px; margin: -8px 0 0 -28px; border-radius: 8px; background: var(--paper); box-shadow: 0 10px 26px rgba(20, 26, 24, 0.36); }
.fit__readout { position: absolute; left: 14px; top: 186px; background: var(--ink); border-radius: 14px; padding: 12px 16px 14px; }
.fit__readout-big { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; color: #f7f4ec; }
.fit__readout-sub { margin-top: 5px; font-family: var(--mono); font-size: 11px; color: rgba(247, 244, 236, 0.8); }

/* ---------------------------------------------------------------- rules strip */

.rules {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px;
}
.rules span {
  font-family: var(--mono); font-size: 11.5px; color: rgb(var(--fg) / 0.42);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px;
}

/* ---------------------------------------------------------------- splits */

.split { display: grid; gap: 64px; align-items: center; max-width: 1280px; margin: 0 auto; }
.split--wide { grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr); }
.split--settings { grid-template-columns: minmax(320px, 0.85fr) minmax(380px, 1.15fr); align-items: start; }
.split--contrast { grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.8fr); }
.split--privacy { grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr); align-items: start; max-width: 1100px; }

.split__stage { position: relative; height: 480px; border-radius: 20px; background: var(--paper); overflow: hidden; }
.split__stage--grow { height: auto; }

.legend { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--mono); font-size: 11.5px; color: rgb(var(--fg) / 0.45); }
.legend__bead { display: block; width: 34px; height: 10px; border-radius: 5px; }
.legend__bead--work { background: var(--acc); }
.legend__bead--rest { width: 12px; background: var(--rst); }

/* bead mockup */
.fit[data-fit-w='560'] { width: 560px; height: 480px; }
.beadmock__dim { position: absolute; inset: 0; background: #0e1512; opacity: 0.18; }
.beadmock__rope { position: absolute; left: 280px; top: 0; width: 10px; height: 402px; margin-left: -5px; border-radius: 5px; background: repeating-linear-gradient(118deg, #2b3330 0 4px, #1a201e 4px 9px); }
.beadmock__bead { position: absolute; left: 280px; width: 16px; margin-left: -8px; border-radius: 7px; box-shadow: 0 4px 12px rgba(20, 26, 24, 0.22); }
.beadmock__bead--work { background: var(--acc); }
.beadmock__bead--rest { background: var(--rst); }
.beadmock__handle { position: absolute; left: 280px; top: 402px; width: 56px; height: 16px; margin: -8px 0 0 -28px; border-radius: 8px; background: var(--paper); box-shadow: 0 10px 26px rgba(20, 26, 24, 0.36); }
.beadmock__readout { position: absolute; left: 326px; top: 350px; background: var(--ink); border-radius: 16px; padding: 16px 20px 18px; }
.beadmock__big { font-size: 34px; font-weight: 600; letter-spacing: -0.035em; color: #f7f4ec; white-space: nowrap; }
.beadmock__sub { margin-top: 8px; font-family: var(--mono); font-size: 12px; color: rgba(247, 244, 236, 0.82); white-space: nowrap; }

/* ---------------------------------------------------------------- scrub */

.scrub { position: relative; height: 320vh; padding: 0 40px; }
.scrub__sticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: 56px; align-items: center; max-width: 1280px; margin: 0 auto;
}
.scrub__copy { max-width: 460px; }
.scrub__dots { display: flex; gap: 7px; margin-top: 28px; }
.scrub__dots span { width: 24px; height: 4px; border-radius: 2px; background: rgb(var(--fg) / 0.16); transition: background 300ms ease; }

.scrub__stack { position: relative; height: 64vh; }
.panel {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--paper); border-radius: 20px; overflow: hidden;
  transition: opacity 420ms ease, transform 620ms var(--ease);
  opacity: 0; transform: translateY(24px);
}
.panel--night { background: var(--bg); }
.panel__inner { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
.panel__lines { position: absolute; inset: 90px 60px; display: flex; flex-direction: column; gap: 14px; }
.panel__lines div { height: 11px; border-radius: 6px; background: rgba(26, 32, 30, 0.07); }
.panel__lines div:nth-child(2) { width: 76%; }
.panel__lines div:nth-child(3) { width: 60%; }
.panel__lines div:nth-child(4) { width: 44%; }

.runpill {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 0 14px 6px; height: 42px; background: var(--paper);
  border-radius: 0 0 18px 18px; box-shadow: 0 10px 28px rgba(20, 26, 24, 0.2); overflow: hidden;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); flex: none; }
.runpill__time { font-size: 16px; font-weight: 640; letter-spacing: -0.01em; color: var(--ink); }
.runpill__phase { font-size: 11px; font-weight: 650; color: rgba(26, 32, 30, 0.5); }

.hem { position: absolute; left: 8px; right: 8px; bottom: 5px; display: flex; gap: 3px; }
.hem__seg { height: 4px; border-radius: 2px; background: rgba(26, 32, 30, 0.12); overflow: hidden; }
.hem__seg--work { flex: 25; }
.hem__seg--rest { flex: 5; }
.hem__seg span { display: block; height: 100%; }
.hem__seg--work span { background: var(--acc); }
.hem__seg--rest span { background: var(--rst); }

.donecard { width: 420px; background: var(--paper); border-radius: 18px; box-shadow: 0 26px 60px rgba(20, 26, 24, 0.3); overflow: hidden; animation: tk-bloom 260ms var(--ease) both; }
.donecard__bar { height: 6px; background: var(--acc); }
.donecard__body { padding: 22px 26px 20px; }
.donecard__kicker { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }
.donecard__label { font-size: 30px; font-weight: 620; letter-spacing: -0.025em; color: var(--ink); margin-top: 8px; }
.donecard__sub { font-size: 13.5px; color: rgba(26, 32, 30, 0.55); margin-top: 4px; }
.donecard__acts { display: flex; gap: 8px; margin-top: 20px; }

/* full-screen mockup */
.fit[data-fit-w='1280'] { width: 1280px; height: 800px; }
.fs { background: var(--bg); padding: 44px 52px 38px; display: flex; flex-direction: column; gap: 38px; }
.fs__head { display: flex; align-items: center; gap: 14px; flex: none; }
.fs__word { font-size: 17px; font-weight: 660; letter-spacing: -0.03em; }
.fs__views { display: flex; gap: 2px; background: rgb(var(--fg) / 0.07); border-radius: 10px; padding: 3px; margin-left: 18px; }
.fs__views span { font-size: 12px; font-weight: 650; color: rgb(var(--fg) / 0.5); border-radius: 8px; padding: 6px 12px; }
.fs__views span.is-on { background: rgb(var(--fg) / 0.14); color: rgb(var(--fg)); }
.fs__esc { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--fg) / 0.35); }
.fs__collapse { width: 38px; height: 38px; border: 1px solid rgb(var(--fg) / 0.2); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.fs__collapse span { display: block; width: 13px; height: 3px; border-radius: 2px; background: rgb(var(--fg) / 0.75); }

.fs__body { flex: 1; display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; min-height: 0; }
.fs__now { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.fs__nowhead { display: flex; align-items: center; gap: 12px; }
.fs__nowhead .dot { width: 10px; height: 10px; }
.fs__label { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.fs__chip { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc); border: 1px solid var(--acc); border-radius: 6px; padding: 3px 8px; }
.fs__time { font-size: 147px; font-weight: 600; letter-spacing: -0.045em; line-height: 0.86; color: #f7f4ec; }
.fs__ends { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: rgb(var(--fg) / 0.5); }
.fs__segs { display: flex; gap: 4px; align-items: flex-end; }
.fs__seg { flex: 25; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fs__seg--rest { flex: 5; }
.fs__bar { height: 8px; border-radius: 5px; background: rgb(var(--fg) / 0.13); overflow: hidden; }
.fs__bar--now { height: 12px; }
.fs__bar span { display: block; height: 100%; }
.fs__bar--work span { background: var(--acc); }
.fs__bar--rest span { background: var(--rst); }
.fs__seglbl { font-family: var(--mono); font-size: 10.5px; color: rgb(var(--fg) / 0.3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fs__seglbl--now { color: rgb(var(--fg) / 0.72); }
.fs__acts { display: flex; gap: 10px; flex-wrap: wrap; }
.fs__acts span { font-size: 13.5px; font-weight: 640; border: 1px solid rgb(var(--fg) / 0.22); border-radius: 11px; padding: 11px 18px; }

.fs__start { display: flex; flex-direction: column; justify-content: center; gap: 34px; border-left: 1px solid rgb(var(--fg) / 0.12); padding-left: 52px; }
.fs__group { display: flex; flex-direction: column; gap: 14px; }
.fs__grouphead { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--fg) / 0.35); }
.fs__grouphead em { font-style: normal; letter-spacing: 0; text-transform: none; color: rgb(var(--fg) / 0.28); margin-left: 8px; }
.fs__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.fs__presets span { font-size: 15px; font-weight: 640; background: rgb(var(--fg) / 0.07); border-radius: 12px; padding: 14px 18px; }
.fs__choices { display: flex; flex-direction: column; gap: 8px; }
.fs__choice { display: flex; align-items: center; gap: 12px; background: rgb(var(--fg) / 0.07); border-radius: 12px; padding: 13px 16px; }
.fs__choice > span:first-child { font-size: 15px; font-weight: 640; width: 64px; flex: none; }
.fs__cbeads { flex: 1; display: flex; gap: 3px; align-items: center; }
.fs__cbeads span { height: 8px; border-radius: 4px; }
.fs__cbeads .w { flex: 25; background: var(--acc); }
.fs__cbeads .r { flex: 5; background: var(--rst); }
.fs__ctotal { font-family: var(--mono); font-size: 11px; color: rgb(var(--fg) / 0.4); flex: none; }
.fs__foot { flex: none; display: flex; gap: 22px; font-family: var(--mono); font-size: 11px; color: rgb(var(--fg) / 0.3); }

/* ---------------------------------------------------------------- palettes */

.palettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(122px, 1fr)); gap: 8px; margin-top: 30px; }
.palettes button {
  font-family: inherit; display: flex; flex-direction: column; gap: 9px; align-items: flex-start;
  background: rgb(var(--fg) / 0.07); border: 1.5px solid transparent; border-radius: 12px;
  padding: 12px; cursor: pointer; transition: background 160ms ease;
}
.palette__chips { display: flex; gap: 4px; width: 100%; }
.palette__chips span { height: 14px; flex: 1; border-radius: 4px; }
.palette__chips span:first-child { flex: 2.2; }
.palettes button:nth-child(1) .palette__chips span:nth-child(1) { background: #4caf7a; } .palettes button:nth-child(1) .palette__chips span:nth-child(2) { background: #e2a03f; } .palettes button:nth-child(1) .palette__chips span:nth-child(3) { background: #5b8fc9; } .palettes button:nth-child(1) .palette__chips span:nth-child(4) { background: #c96a5b; }
.palettes button:nth-child(2) .palette__chips span:nth-child(1) { background: #7c6bd4; } .palettes button:nth-child(2) .palette__chips span:nth-child(2) { background: #e0a06a; } .palettes button:nth-child(2) .palette__chips span:nth-child(3) { background: #5b8fc9; } .palettes button:nth-child(2) .palette__chips span:nth-child(4) { background: #4caf9f; }
.palettes button:nth-child(3) .palette__chips span:nth-child(1) { background: #f0a726; } .palettes button:nth-child(3) .palette__chips span:nth-child(2) { background: #8fbf6a; } .palettes button:nth-child(3) .palette__chips span:nth-child(3) { background: #e8683c; } .palettes button:nth-child(3) .palette__chips span:nth-child(4) { background: #d4b23f; }
.palettes button:nth-child(4) .palette__chips span:nth-child(1) { background: #e4573d; } .palettes button:nth-child(4) .palette__chips span:nth-child(2) { background: #e8c04a; } .palettes button:nth-child(4) .palette__chips span:nth-child(3) { background: #f0873c; } .palettes button:nth-child(4) .palette__chips span:nth-child(4) { background: #c93f52; }
.palettes button:nth-child(5) .palette__chips span:nth-child(1) { background: #7d8a91; } .palettes button:nth-child(5) .palette__chips span:nth-child(2) { background: #c2a25e; } .palettes button:nth-child(5) .palette__chips span:nth-child(3) { background: #5c6b73; } .palettes button:nth-child(5) .palette__chips span:nth-child(4) { background: #96a3a8; }
.palettes button:nth-child(6) .palette__chips span:nth-child(1) { background: #4cb0af; } .palettes button:nth-child(6) .palette__chips span:nth-child(2) { background: #e2a03f; } .palettes button:nth-child(6) .palette__chips span:nth-child(3) { background: #6fc4a0; } .palettes button:nth-child(6) .palette__chips span:nth-child(4) { background: #3f8fa8; }
.palettes button:nth-child(7) .palette__chips span:nth-child(1) { background: #d96b9b; } .palettes button:nth-child(7) .palette__chips span:nth-child(2) { background: #e2b34f; } .palettes button:nth-child(7) .palette__chips span:nth-child(3) { background: #e88bb0; } .palettes button:nth-child(7) .palette__chips span:nth-child(4) { background: #c95b7a; }
.palette__name { font-size: 12.5px; font-weight: 620; color: rgb(var(--fg) / 0.8); }

/* settings mockup */
.fit[data-fit-w='980'] { width: 980px; height: 860px; }
.setmock { background: var(--bg); border-radius: 20px; padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.setmock__col { display: flex; flex-direction: column; gap: 30px; }
.setmock__group { display: flex; flex-direction: column; gap: 12px; }
.setmock__head { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--fg) / 0.35); }
.setmock__seg { display: inline-flex; gap: 3px; background: rgb(var(--fg) / 0.07); border-radius: 12px; padding: 4px; align-self: flex-start; }
.setmock__seg span { font-size: 13.5px; font-weight: 640; color: rgb(var(--fg) / 0.55); border-radius: 9px; padding: 9px 18px; }
.setmock__seg span.is-on { background: rgb(var(--fg) / 0.16); color: rgb(var(--fg)); }
.setmock__note { margin: 0; font-size: 12.5px; line-height: 1.55; color: rgb(var(--fg) / 0.4); }
.setmock__note code { font-family: var(--mono); font-size: 12px; }
.setmock__tabdemo { display: flex; align-items: center; gap: 14px; }
.setmock__page { width: 132px; height: 46px; border-radius: 10px; background: #fff; display: flex; justify-content: center; flex: none; }
.setmock__tab { width: 44px; height: 6px; border-radius: 0 0 18px 18px; background: rgba(26, 32, 30, 0.62); align-self: flex-start; }
.setmock__cap { font-size: 12.5px; color: rgb(var(--fg) / 0.4); }
.setmock__toggle { display: flex; align-items: center; gap: 12px; }
.setmock__track { width: 40px; height: 24px; border-radius: 12px; background: var(--acc); padding: 3px; flex: none; }
.setmock__track span { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); transform: translateX(16px); }
.setmock__step { display: flex; align-items: center; gap: 14px; background: rgb(var(--fg) / 0.07); border-radius: 12px; padding: 10px 12px 10px 16px; }
.setmock__step > span:first-child { flex: 1; font-size: 14px; font-weight: 600; color: rgb(var(--fg) / 0.85); }
.setmock__ctl { display: flex; align-items: center; gap: 4px; }
.setmock__ctl span:nth-child(odd) { width: 30px; height: 30px; border-radius: 8px; background: rgb(var(--fg) / 0.1); display: flex; align-items: center; justify-content: center; font-size: 17px; color: rgb(var(--fg) / 0.85); }
.setmock__ctl span:nth-child(2) { min-width: 58px; text-align: center; font-size: 16px; font-weight: 650; }
.setmock__ctl em { font-style: normal; font-family: var(--mono); font-size: 10.5px; color: rgb(var(--fg) / 0.4); margin-left: 3px; }
.setmock__preview { display: flex; align-items: center; gap: 12px; }
.setmock__beads { flex: 1; display: flex; gap: 3px; }
.setmock__beads span { height: 10px; border-radius: 5px; }
.setmock__beads .w { flex: 25; background: var(--acc); }
.setmock__beads .r { flex: 5; background: var(--rst); }
.setmock__total { font-family: var(--mono); font-size: 11px; color: rgb(var(--fg) / 0.45); }

/* ---------------------------------------------------------------- dock demo */

.tryit { margin-top: 30px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); }

.dockstage { position: relative; height: 460px; border-radius: 20px; background: var(--paper); overflow: hidden; touch-action: none; user-select: none; }
.dockstage__page { position: absolute; inset: 70px 56px; display: flex; flex-direction: column; gap: 14px; }
.dockstage__page div { height: 11px; border-radius: 6px; background: rgba(26, 32, 30, 0.07); }
.dockstage__page div:nth-child(2) { width: 74%; }
.dockstage__page div:nth-child(3) { width: 58%; }
.dockstage__page div:nth-child(4) { width: 40%; }

.dockzones { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 160ms ease; }
.dockzones div { position: absolute; background: rgba(26, 32, 30, 0.14); }
.dockzones div:nth-child(1) { top: 0; left: 0; right: 0; height: 2px; }
.dockzones div:nth-child(2) { bottom: 0; left: 0; right: 0; height: 2px; }
.dockzones div:nth-child(3) { left: 0; top: 0; bottom: 0; width: 2px; }
.dockzones div:nth-child(4) { right: 0; top: 0; bottom: 0; width: 2px; }

.dockbloom, .docklive, .dockghost, .dockshere { position: absolute; pointer-events: none; opacity: 0; transition: opacity 160ms ease; }
.docklive { background: var(--acc); }
.dockghost { border: 2px dashed var(--acc); }
.dockshere { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); white-space: nowrap; }

.dockpuck {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 11px; padding: 0 16px; height: 44px;
  background: var(--paper); border-radius: 0 0 18px 18px;
  box-shadow: 0 10px 28px rgba(20, 26, 24, 0.2); cursor: grab; z-index: 4;
}

/* ---------------------------------------------------------------- contrast */

.contrast { display: grid; gap: 14px; }
.contrast__page { position: relative; height: 116px; border-radius: 14px; }
.contrast__page--light { background: #fff; }
.contrast__page--dark { background: #14171a; }
.contrast__tab { position: absolute; top: 0; left: 50%; margin-left: -22px; width: 44px; height: 6px; border-radius: 0 0 3px 3px; }
.contrast__page--light .contrast__tab { background: rgba(26, 32, 30, 0.62); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.contrast__page--dark .contrast__tab { background: rgba(244, 240, 231, 0.62); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4); }
.contrast__math { font-family: var(--mono); font-size: 11.5px; line-height: 1.7; color: rgb(var(--fg) / 0.35); }

/* ---------------------------------------------------------------- comparison */

.compare { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.compare > div { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare__h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgb(var(--fg) / 0.4); }
.compare__h--us { color: var(--acc); }
.compare__k { color: rgb(var(--fg) / 0.8); }
.compare__v { color: rgb(var(--fg) / 0.5); }
.compare__v--no { color: rgb(var(--fg) / 0.28); }
.compare__v--us { color: rgb(var(--fg) / 0.9); background: rgb(var(--fg) / 0.03); }

/* ---------------------------------------------------------------- privacy */

.pledge { margin-top: 28px; font-size: 15px; font-weight: 620; color: var(--acc); border: 1px solid color-mix(in srgb, var(--acc) 40%, transparent); border-radius: 12px; padding: 14px 18px; display: inline-block; }

/* ---------------------------------------------------------------- roadmap */

.road { display: flex; flex-direction: column; }
.road__row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.road__ver { font-family: var(--mono); font-size: 15px; color: rgb(var(--fg) / 0.75); }
.road__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgb(var(--fg) / 0.3); margin-top: 5px; }
.road__tag--shipped { color: var(--acc); }
.road__body { font-size: 15.5px; line-height: 1.6; color: rgb(var(--fg) / 0.55); }

/* ---------------------------------------------------------------- cta */

.cta { padding: 140px 40px 110px; background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.cta__glow { position: absolute; inset: -40% 20% auto; height: 520px; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--acc) 26%, transparent), transparent 68%); pointer-events: none; }
.cta__bead { position: absolute; border-radius: 8px; opacity: 0.9; }
.cta__bead--work { left: 8%; top: 22%; width: 16px; height: 110px; background: var(--acc); }
.cta__bead--rest { right: 10%; bottom: 20%; width: 16px; height: 26px; background: var(--rst); }
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.cta__h { margin: 0; font-size: clamp(36px, 4.6vw, 68px); font-weight: 620; letter-spacing: -0.045em; line-height: 1; }
.cta__p { margin: 24px auto 0; font-size: 18px; line-height: 1.55; color: rgba(26, 32, 30, 0.55); max-width: 44ch; }
.cta__keys { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; font-family: var(--mono); font-size: 11px; color: rgba(26, 32, 30, 0.4); }

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

.footer { display: flex; align-items: center; gap: 20px; padding: 30px 40px; border-top: 1px solid var(--line); font-size: 13px; flex-wrap: wrap; }
.footer__word { font-weight: 650; }
.footer__sub { color: rgb(var(--fg) / 0.35); }
.footer a { color: rgb(var(--fg) / 0.5); }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 72px 32px 56px; justify-self: stretch; max-width: none; }
  .stage { min-height: 620px; border-left: 0; border-top: 1px solid var(--line); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .scrub__sticky { grid-template-columns: 1fr; gap: 40px; }
  .scrub { height: 300vh; }
  .scrub__sticky { align-content: center; }
  .scrub__stack { height: 46vh; }
  .setmock { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { padding: 14px 20px; gap: 10px; }
  .nav__links { gap: 14px; }
  .nav__links a { display: none; }
  .section, .band, .cta { padding-left: 20px; padding-right: 20px; }
  .scrub { padding: 0 20px; }
  .cards--4 { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare__h:empty { display: none; }
  .road__row { grid-template-columns: 1fr; gap: 10px; }
  .hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .panel, .btn, .knot__dot { transition: none !important; }
  .donecard { animation: none !important; }
}
