/* getmoveit.tech, same "Calm paper" tokens as the app (design/style/moveit.css) */
@font-face { font-family: "Figtree"; src: url("figtree.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --bg: #f6f3ec; --bg2: #f1ede4;
  --text: #1f1d1a; --muted: #6f6a61; --faint: #a39d92;
  --ink: #1f1d1a; --on-ink: #f6f3ec;
  --surface: #ffffff; --line: #e3ded3; --line-strong: #cfc8ba;
  --spot: #d9981c;
  --stage: #1f1d1a;
  --font: "Figtree", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }

.bar { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.wordmark { font: 800 22px/1 var(--font); letter-spacing: -0.015em; text-decoration: none; }
.wordmark.small { font-size: 17px; margin-right: 10px; }
.bar nav { display: flex; gap: 22px; font-weight: 700; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--text); }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font: 800 clamp(40px, 6.4vw, 72px)/1.02 var(--font); }
h2 { font: 800 clamp(28px, 3.6vw, 40px)/1.1 var(--font); margin-bottom: 28px; }
h3 { font: 800 20px/1.2 var(--font); margin: 14px 0 6px; }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-block: 48px 88px; }
.lead { color: var(--muted); font-size: 19px; max-width: 30em; margin: 22px 0 30px; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.os { color: var(--faint); font-weight: 700; font-size: 14px; }
.btn { display: inline-flex; align-items: center; height: 54px; padding: 0 26px; border-radius: 14px; font: 800 17px/1 var(--font); text-decoration: none; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { transform: translateY(-1px); }

.stage { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 4.4; border-radius: 28px; background: var(--stage); overflow: hidden; }
.stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; background: radial-gradient(closest-side, rgba(255,255,255,.10), transparent); }
.stage .lemur { position: relative; width: 52%; }
.stage-line { position: absolute; bottom: 18px; margin: 0; color: rgba(246,243,236,.6); font-weight: 700; font-size: 14px; }

section { padding-block: 64px; border-top: 1px solid var(--line); }
.hero { border-top: 0; }

.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.items li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px; display: flex; flex-direction: column; }
.items img { width: 40px; height: 40px; margin-bottom: 14px; }
.items b { font-weight: 800; }
.items span { color: var(--muted); font-size: 15px; }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); position: absolute; right: 0; top: -6px; font: 800 56px/1 var(--font); color: var(--line-strong); }
.steps img { width: 48px; height: 48px; }
.steps p, .ways p { margin: 0; color: var(--muted); }
.undo { display: flex; align-items: center; gap: 12px; margin: 40px 0 0; padding: 16px 20px; border-radius: 14px; background: var(--bg2); font-weight: 700; }
.undo img { width: 24px; flex: none; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shots figure { margin: 0; text-align: center; }
.shots img { border-radius: 18px; box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.shots figcaption { margin-top: 12px; color: var(--faint); font-weight: 700; font-size: 14px; }

.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.ways img { width: 40px; }

.trust { background: var(--ink); color: var(--on-ink); border-radius: 28px; padding: 56px; margin-block: 64px; border: 0; }
.trust p { max-width: 40em; color: rgba(246,243,236,.75); margin: 0 0 22px; }
.trust .link { color: var(--spot); font-weight: 800; }

footer { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 28px 48px; font-size: 15px; border-top: 1px solid var(--line); }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; }
footer nav a { text-decoration: none; color: var(--muted); }
footer nav a:hover { color: var(--text); }

/* privacy page */
.doc { max-width: 720px; padding-block: 32px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc p, .doc li { color: #3b3832; }
.doc .date { color: var(--faint); font-weight: 700; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-block: 24px 56px; }
  .items { grid-template-columns: 1fr 1fr; }
  .steps, .ways, .shots { grid-template-columns: 1fr; }
  .shots img { max-width: 300px; }
  .trust { padding: 32px 24px; }
  .bar nav a:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* dark: the page goes ink and the dark areas go paper (an invert) */
:root[data-theme="dark"] {
  --bg: #1f1d1a; --bg2: #2a2724;
  --text: #f6f3ec; --muted: #b3ada2; --faint: #8a847a;
  --ink: #f6f3ec; --on-ink: #1f1d1a;
  --surface: #282521; --line: #36322d; --line-strong: #4a453e;
  --stage: #1f1d1a;
  color-scheme: dark;
}
:root[data-theme="dark"] .stage { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="dark"] .items img, :root[data-theme="dark"] .steps img,
:root[data-theme="dark"] .ways img, :root[data-theme="dark"] .undo img { filter: invert(1) hue-rotate(180deg); }
:root[data-theme="dark"] .trust p { color: rgba(31,29,26,.75); }
:root[data-theme="dark"] .trust .link { color: #9a6408; }
:root[data-theme="dark"] .doc p, :root[data-theme="dark"] .doc li { color: #d6d1c6; }
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* the lemur switch */
.flip { position: relative; width: 58px; height: 32px; padding: 0; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--line); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background .3s; }
.flip .knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  background: #1f1d1a; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.flip .knob img { width: 100%; height: 100%; display: block; transition: transform .45s cubic-bezier(.65,0,.35,1); }
.flip[aria-pressed="true"] .knob { transform: translateX(26px); background: #f6f3ec; }
.flip[aria-pressed="true"] .knob img { filter: invert(1); transform: rotate(360deg); }
.flip:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }
.bar nav { align-items: center; }
