/* foldtasks.com: Fold's own look (warm paper, serif display, hairlines, a little orange). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #fcfbf9;
  --card: #f4f3f0;
  --text: #161616;
  --text-2: #55544f;
  --muted: #8f8d87;
  --line: rgba(22, 22, 22, 0.09);
  --line-strong: rgba(22, 22, 22, 0.18);
  --ink: #161616;
  --on-ink: #fcfbf9;
  --signal: #ff6a3d;
  --shadow: 0 1px 2px rgba(22, 22, 22, 0.04), 0 24px 60px -20px rgba(22, 22, 22, 0.18);
  --font: "STK Bureau Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --display: "Martina Plantijn", "Newsreader", "Iowan Old Style", Georgia, serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --card: #1e1e1d;
    --text: #f1f0ec;
    --text-2: #b9b7b1;
    --muted: #85837e;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.2);
    --ink: #f1f0ec;
    --on-ink: #161616;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 60px -20px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
a:hover { text-decoration-color: currentColor; }
/* Width without side padding, so hairlines line up with the text. */
.wrap { width: min(1032px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.wrap-wide { width: min(1192px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }

/* Top bar */
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { display: block; margin: -4px; }
.brand span { font: 300 26px/1 var(--display); letter-spacing: -0.02em; transform: translateY(0.115em); } /* the serif sits high in its line box: centre its letters on the tile */
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14.5px; }
.top .link { text-decoration: none; color: var(--text-2); }
.top .link:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--on-ink);
  font: 500 15.5px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
button.btn { cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: none; color: var(--text); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 48px; text-align: center; }
h1 {
  font: 300 clamp(44px, 8vw, 92px)/1 var(--display);
  letter-spacing: -0.035em; margin: 0 auto;
}
h1 span { color: var(--muted); }
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-2); max-width: 36em; margin: 26px auto 0; text-wrap: balance; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; scroll-margin-top: 40px; }
.fine { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.fine a { color: var(--text-2); }

/* Screenshot */
.shot { margin-top: 24px; margin-bottom: 0; position: relative; }
.shot::before {
  content: ""; position: absolute; inset: 8% 6% auto; height: 70%; z-index: -1; filter: blur(70px); opacity: 0.35;
  background: radial-gradient(closest-side at 30% 50%, #ff6a3d, transparent), radial-gradient(closest-side at 72% 45%, #7a6cf0, transparent);
}
.shot img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg);
}

/* ---- The live hero (hero.js) */
.stage { position: relative; container-type: inline-size; --ui-faint: #d5d3cd; --ui-muted: #96948e; --ui-line: rgba(22, 22, 22, 0.15); --ui-ink: #161616; }
@media (prefers-color-scheme: dark) { .stage { --ui-faint: #3a3936; --ui-muted: #85837e; --ui-line: rgba(255, 255, 255, 0.15); --ui-ink: #f1f0ec; } }
.stage .view + .view { position: absolute; inset: 0; }
.stage .view { opacity: 0; transition: opacity 0.35s ease; }
.stage .view.on { opacity: 1; }
.stage .view:first-child { opacity: 1; }

.live-clock { position: absolute; overflow: visible; cursor: pointer; opacity: 0; transition: opacity 0.3s; }
.stage.live .live-clock { opacity: 1; }
.lc-tick { stroke: var(--ui-faint); stroke-width: 0.78; }
.lc-tick.major { stroke: var(--ui-muted); stroke-width: 1.04; }
.lc-face { fill: none; stroke: var(--ui-line); stroke-width: 1.04; }
.lc-hour, .lc-min { stroke: var(--ui-ink); stroke-linecap: round; }
.lc-hour { stroke-width: 1.9; }
.lc-min { stroke-width: 1.04; }
.lc-arc { fill: none; stroke: var(--signal); stroke-width: 1.25; stroke-linecap: round; }
.lc-pin { fill: var(--ui-ink); }
.lc-unwind { stroke-dasharray: 100 100; animation: lc-unwind 0.95s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
.lc-ticks { transform-origin: 50px 50px; }
.lc-ticks.spin { animation: lc-spin 1.1s cubic-bezier(0.65, 0, 0.35, 1); }
.lc-ticks.spin .lc-tick { animation: lc-flash 1.1s ease-out; animation-delay: calc(var(--i) * 9ms); }
@keyframes lc-unwind { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -100; } }
@keyframes lc-spin { to { transform: rotate(360deg); } }
@keyframes lc-flash { 15%, 55% { stroke: var(--signal); stroke-width: 1.45; } }

.live-now {
  position: absolute; width: max(1px, 0.104cqw); height: 1.25cqw; transform: translate(-50%, -50%);
  background: var(--signal); border-radius: 1px;
}
.live-now::before {
  content: ""; position: absolute; top: -0.21cqw; left: 50%; width: 0.35cqw; height: 0.35cqw; min-width: 3px; min-height: 3px;
  transform: translateX(-50%); border-radius: 50%; background: var(--signal);
}
.stage:not([data-view^="today"]) .live-now { display: none; }

.hotspots .hot {
  position: absolute; padding: 0; border: 0; margin: 0; background: none; cursor: pointer;
  border-radius: 999px; transition: box-shadow 0.15s;
}
.hotspots .hot:hover, .hotspots .hot:focus-visible { box-shadow: 0 0 0 1.5px var(--signal); outline: none; }
.hotspots .check::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%; box-shadow: 0 0 0 0 var(--signal);
}
.stage.seen[data-view="today"] .hotspots .check::after { animation: hot-pulse 2.2s ease-out 1.6s infinite; }
@keyframes hot-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal), transparent 30%); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.stage:not([data-view="today"]) .hotspots .check, .stage:not([data-view="today-done"]) .hotspots .undo { display: none; }

.tick-mark {
  position: absolute; display: grid; place-items: center; border-radius: 50%; background: var(--ui-ink);
  opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); pointer-events: none;
}
.tick-mark svg { width: 80%; height: 80%; fill: none; stroke: var(--bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tick-strike { position: absolute; background: var(--ui-muted); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease 0.15s; pointer-events: none; }
.stage.ticking .tick-mark { opacity: 1; transform: none; }
.stage.ticking .tick-strike { transform: none; }

.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.leader { stroke: var(--ui-muted); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-dasharray: 2 3.5; stroke-linecap: round; opacity: 0; }
.callouts { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.callouts .anchor {
  position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4.5px color-mix(in srgb, var(--signal), transparent 70%); opacity: 0;
}
/* Orange tags that float above the picture and hang over its edges. */
.callouts .note {
  --side-x: -50%; --side-y: -50%;
  position: absolute; max-width: 15.5em; width: max-content; text-align: left;
  padding: 0.62em 1.05em; border-radius: 0.95em;
  background: var(--ink); color: var(--on-ink);
  font-size: clamp(12px, 1.12cqw, 14.5px); line-height: 1.3; font-weight: 500; letter-spacing: -0.005em;
  transform: translate(var(--side-x), var(--side-y));
  box-shadow: 0 18px 40px -14px rgba(22, 22, 22, 0.32);
  opacity: 0;
}
.callouts .note { pointer-events: auto; cursor: pointer; border: 0; font-family: inherit; display: grid; gap: 0.35em; transition: background 0.2s; }
.callouts .note:hover { background: color-mix(in srgb, var(--ink), var(--signal) 22%); }
.callouts .note.try:hover { background: color-mix(in srgb, var(--signal), #000 10%); }
.callouts .note:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.note-more { display: none; font-weight: 400; opacity: 0.78; }
.callouts .note.open { background: var(--signal); }
.callouts .note.open .note-more { display: block; }
.spot-layer { position: absolute; inset: 0; overflow: hidden; border-radius: 14px; pointer-events: none; z-index: 1; }
.spot { position: absolute; border-radius: 12px; box-shadow: 0 0 0 200vmax rgba(18, 16, 14, 0); outline: 2px solid transparent; transition: box-shadow 0.35s ease, outline-color 0.35s, left 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), top 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), width 0.4s cubic-bezier(0.2, 0.8, 0.3, 1), height 0.4s cubic-bezier(0.2, 0.8, 0.3, 1); }
.stage.spotting .spot { box-shadow: 0 0 0 200vmax rgba(18, 16, 14, 0.42); outline-color: var(--signal); }
.callouts .note.l { --side-x: -100%; }
.callouts .note.r { --side-x: 0%; }
.callouts .note.t { --side-y: -100%; }
.callouts .note.b { --side-y: 0%; }
.callouts .note.t { text-align: center; }
.callouts .note.try { background: var(--signal); color: #fff; font-weight: 600; }
.callouts .note.try::after {
  content: ""; position: absolute; inset: -4px; border-radius: 1.15em; border: 1.5px solid color-mix(in srgb, var(--signal), transparent 40%);
  animation: try-ring 2.4s ease-out 2.2s infinite; opacity: 0;
}
@keyframes try-ring { 0% { opacity: 0.9; transform: scale(0.96); } 80%, 100% { opacity: 0; transform: scale(1.12); } }
.stage.seen .leader, .stage.seen .callouts .anchor, .stage.seen .callouts .note {
  opacity: 1; transition: opacity 0.5s ease, translate 0.6s cubic-bezier(0.2, 0.8, 0.3, 1);
  transition-delay: calc(0.3s + var(--n) * 0.16s);
}
.callouts .note { translate: 0 10px; scale: 0.96; }
.stage.seen .callouts .note { translate: 0 0; scale: 1; animation: bob 5.5s ease-in-out infinite; animation-delay: calc(1.4s + var(--n) * -1.1s); }
@keyframes bob { 50% { translate: 0 -4px; } }
/* On the other views the notes stay put: the ones about Today fade back, the views note and the tick note stay bright. */
.leaders line, .callouts .anchor, .callouts .note { transition: opacity 0.3s ease; }
.stage:not([data-view="today"]):not([data-view="today-done"]) .leaders { opacity: 0.25; }
.stage:not([data-view="today"]):not([data-view="today-done"]) .callouts .anchor,
.stage:not([data-view="today"]):not([data-view="today-done"]) .callouts .note:not(.views) { opacity: 0.25 !important; pointer-events: none; transition-delay: 0s !important; }
.stage:not([data-view="today"]):not([data-view="today-done"]) .leaders { transition: opacity 0.3s; }
.stage[data-view="today-done"] .callouts .note:not(.try) { opacity: 0.5 !important; transition-delay: 0s !important; }
@container (max-width: 700px) { .leaders, .callouts { display: none; } }
/* Room either side for the callouts to hang over the picture's edges. */
@media (min-width: 900px) { .shot.wrap-wide { width: min(1100px, calc(100% - 260px)); } }

.shot-hint { margin: 16px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
/* On a phone the screenshot is too small to play with, so don't invite people to. */
@media (max-width: 760px), (hover: none) and (pointer: coarse) { .shot-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .stage .view, .tick-mark, .tick-strike { transition: none; }
  .stage.seen .callouts .note, .stage.seen[data-view="today"] .hotspots .check::after, .lc-ticks.spin, .lc-ticks.spin .lc-tick { animation: none; }
}

/* Features */
/* ---------------------------------------- One app per company */
.app-chips { list-style: none; padding: 0; margin: 14px auto 0; max-width: 46em; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.app-chips a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.app-chips li:hover { border-color: var(--ink); }
.app-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 14px; color: var(--text-2); background: var(--card); }
.app-chips img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; flex: none; }
@media (prefers-color-scheme: dark) { .app-chips img[src*="linear"] { filter: invert(1); } }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 96px; border-top: 1px solid var(--line);
}
.feature { padding: 28px 22px 8px 0; }
.feature + .feature { padding-left: 22px; border-left: 1px solid var(--line); }
.orb {
  display: block; width: 22px; height: 22px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in oklch, var(--a), white 25%), transparent 60%), linear-gradient(135deg in oklch, var(--a), var(--b));
}
.feature h2 { font: 400 23px/1.15 var(--display); letter-spacing: -0.015em; margin: 22px 0 8px; }
.feature p { margin: 0; color: var(--text-2); font-size: 15px; }

/* Sections */
.band { margin-top: 96px; }
.section-title { font: 300 clamp(30px, 4.4vw, 44px)/1.05 var(--display); letter-spacing: -0.025em; margin: 0 0 14px; text-wrap: balance; }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.promise { background: var(--card); border-radius: 14px; padding: 22px 22px 24px; }
.promise-icon {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--signal); font-size: 14px; margin-bottom: 16px;
}
.promise b { display: block; font-weight: 500; margin-bottom: 4px; }
.promise p { margin: 0; color: var(--text-2); font-size: 15px; }

.browser {
  margin-top: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border: 1px solid var(--line); border-radius: 18px; padding: 34px 36px;
}
.browser p { margin: 0; color: var(--text-2); max-width: 40em; }
.browser .btn { flex: none; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 28px 30px 30px; }
.plan.pro { border-color: var(--ink); }
.plan-head { display: grid; gap: 6px; padding-bottom: 18px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.plan-head b { font-weight: 500; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.plan-soon { font-size: 12px; font-weight: 500; color: var(--signal); border: 1px solid color-mix(in srgb, var(--signal), transparent 60%); border-radius: 999px; padding: 2px 9px; }
.plan-price { color: var(--muted); font-size: 15px; }
.plan-price span { font: 300 40px/1.1 var(--display); letter-spacing: -0.03em; color: var(--text); margin-right: 4px; }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--text-2); font-size: 15px; }
.plan li { position: relative; padding-left: 22px; margin-top: 10px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 9px; height: 5px; border-left: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(-45deg); }
.plan.pro li::before { border-color: var(--signal); }
.plan li b { color: var(--text); font-weight: 500; }
.plan-note { margin: 18px 0 0; font-size: 13.5px; color: var(--muted); }
.plan-buy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.plan-buy .btn:first-child { background: var(--signal); border-color: var(--signal); color: #fff; }
.plan .founding-thanks { margin-top: 18px; }
.plan-buy[hidden], #pro-thanks[hidden] { display: none; }

/* The founding offer: the big orange banner. */
.founding {
  position: relative; overflow: hidden; margin-top: 72px; padding: 72px 56px 64px; border-radius: 24px;
  background: var(--signal); color: #fff; text-align: center;
}
.founding[hidden] { display: none; }
.founding .final-art { position: absolute; right: -20px; bottom: -36px; width: 250px; fill: #fff; opacity: 0.14; pointer-events: none; }
.founding-tag {
  position: relative; display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px; padding: 4px 12px; margin-bottom: 22px;
}
.founding h2 { position: relative; font: 300 clamp(40px, 6vw, 72px)/1.0 var(--display); letter-spacing: -0.03em; margin: 0 auto; max-width: 12em; text-wrap: balance; }
.founding p { position: relative; margin: 20px auto 0; max-width: 34em; font-size: 18px; color: rgba(255, 255, 255, 0.9); text-wrap: balance; }
.founding-perks { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 15px; color: #fff; }
.founding-perks li::before { content: "✓"; margin-right: 7px; font-weight: 600; }
.founding-buy { position: relative; display: grid; justify-items: center; gap: 12px; margin-top: 32px; }
.founding-buy .btn { font-size: 17px; padding: 15px 30px; }
.founding-price { font-size: 13.5px; color: rgba(255, 255, 255, 0.85); }
.founding-buy[hidden], .founding-thanks[hidden] { display: none; }
.founding-buy .btn[aria-disabled="true"] { opacity: 0.7; cursor: default; pointer-events: none; }

/* Questions: one line each, open for the answer. */
.faq { margin-top: 88px; margin-bottom: 120px; max-width: 820px; }
.faq summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); margin-top: 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--muted); transition: transform 0.2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 2px 16px; color: var(--text-2); font-size: 15.5px; line-height: 1.6; max-width: 46em; }
.faq em { font-style: normal; color: var(--text); }
.faq a { text-decoration: underline; text-underline-offset: 2px; }

.first { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 18px; }
.first > div { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.first b { font-weight: 500; }
.first p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }
.first em { font-style: normal; color: var(--text); }

/* The closing call to action: Fold orange. */
.final {
  position: relative; overflow: hidden; margin-top: 96px; padding: 72px 56px 76px; border-radius: 24px;
  background: var(--signal); color: #fff; text-align: center;
}
.final-art { position: absolute; right: -36px; bottom: -28px; width: 280px; fill: #fff; opacity: 0.14; pointer-events: none; }
.final h2 { position: relative; font: 300 clamp(34px, 5vw, 58px)/1.02 var(--display); letter-spacing: -0.03em; margin: 0 auto; max-width: 14em; text-wrap: balance; }
.final p { position: relative; margin: 18px auto 0; max-width: 32em; font-size: 18px; color: rgba(255, 255, 255, 0.88); text-wrap: balance; }
.final-ctas { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.btn.white { background: #fff; border-color: #fff; color: #161616; }
.btn.clear { background: none; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn.clear:hover { border-color: #fff; }

footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 36px; padding-top: 0; padding-bottom: 48px;
  color: var(--muted); font-size: 14px;
}

.made { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text-2); }
.made:hover { color: var(--text); }
.made .mmhmm { width: 34px; height: auto; color: var(--text); }

@media (max-width: 860px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: 0; padding-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .promises { grid-template-columns: 1fr; }
  .founding { padding: 52px 22px 48px; } .founding .final-art { display: none; }
  .plans { grid-template-columns: 1fr; }
  .browser { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 24px; }
}
@media (max-width: 560px) {
  .wrap, .wrap-wide { width: calc(100% - 32px); }
  .top nav .link { display: none; }
  .hero { padding-top: 40px; }
  .ctas .btn, .founding-buy .btn, .final-ctas .btn { width: 100%; }
  .final { padding: 52px 22px 56px; }
  .final-art { display: none; }
  .founding-buy { justify-items: stretch; }
  .shot img { border-radius: 10px; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature + .feature { padding: 24px 0 4px; border-left: 0; }
  .feature + .feature { border-top: 1px solid var(--line); margin-top: 20px; }
  .first { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Sign in (foldtasks.com/signin) */
.signin [hidden] { display: none !important; }
.signin { min-height: calc(100vh - 160px); display: flex; flex-direction: column; align-items: center; padding: 32px 0 64px; }
.signin-card { width: min(440px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.signin-card h1 { font: 300 34px/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 10px; }
.signin-card h2 { font: 500 15px/1.3 var(--font); margin: 28px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.signin-card p { margin: 0 0 16px; }
.signin-card .btn.wide { width: 100%; justify-content: center; }
.signin-card #asking { margin: -8px -8px 22px; padding: 16px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.signin-card #asking p { margin: 0; }
.signin .eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 4px !important; }
.pair-code { font: 500 34px/1.2 var(--font); letter-spacing: 0.3em; font-variant-numeric: tabular-nums; margin-top: 6px !important; color: var(--signal); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0 !important; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.field-row { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.field-row label { font-size: 14px; color: var(--text-2); }
.field-row input { font: inherit; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--text); }
.field-row input:focus { outline: 2px solid var(--signal); outline-offset: 1px; border-color: transparent; }
.field-row #code { font-size: 22px; letter-spacing: 0.25em; font-variant-numeric: tabular-nums; }
.field-row .btn { justify-content: center; }
.linkish { font: inherit; font-size: 14px; background: none; border: 0; padding: 6px 0; margin-top: 10px; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { color: var(--text); text-decoration-color: currentColor; }
.signin-card section > .linkish { display: block; margin-left: auto; margin-right: auto; }
.signin-error { margin: 18px 0 0 !important; padding: 12px 14px; border-radius: 10px; background: rgba(255, 106, 61, 0.12); color: var(--text); font-size: 14.5px; }
.spinner { margin: 14px 0 0 !important; color: var(--muted); font-size: 14px; text-align: center; }
.passkeys { list-style: none; margin: 0 0 16px; padding: 0; }
.passkeys li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.passkeys li .muted { grid-column: 1; font-size: 13px; }
.passkeys li .linkish { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.signin-fine { width: min(440px, 100%); font-size: 13px; text-align: center; margin-top: 18px; }
button:disabled { opacity: 0.55; cursor: default; }

/* Welcome (foldtasks.com/welcome, after paying) */
.welcome { padding: 40px 0 72px; }
.welcome-hero { max-width: 760px; padding: 32px 0 40px; }
.welcome-tag { display: inline-block; font-size: 13px; font-weight: 500; color: var(--signal); border: 1px solid color-mix(in srgb, var(--signal), transparent 60%); border-radius: 999px; padding: 3px 11px; margin-bottom: 22px; }
.welcome-hero h1 { font: 300 clamp(44px, 7vw, 76px)/1.02 var(--display); letter-spacing: -0.03em; margin: 0 0 22px; }
.welcome-hero h1 span { color: var(--signal); font-style: italic; }
.welcome-hero .lede { font-size: 19px; color: var(--text-2); max-width: 600px; margin: 0; }
.welcome-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.welcome-steps li { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.welcome-steps h2 { font: 400 22px/1.2 var(--display); letter-spacing: -0.01em; margin: 0 0 8px; }
.welcome-steps p { margin: 0; color: var(--text-2); font-size: 15px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; font-weight: 600; font-size: 15px; }
.step-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.welcome-more { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.welcome-more h3 { font: 500 15px/1.3 var(--font); margin: 0 0 12px; }
.welcome-more ul { margin: 0; padding-left: 18px; color: var(--text-2); line-height: 1.7; }
.welcome-more p { margin: 0; color: var(--text-2); }
.welcome-sign { margin: 56px 0 0; font: 300 italic 22px/1.4 var(--display); color: var(--text-2); }
@media (max-width: 860px) { .welcome-steps, .welcome-more { grid-template-columns: 1fr; } .welcome-more { gap: 28px; } }

/* Terms and Privacy */
.legal { max-width: 720px; padding-top: 30px; padding-bottom: 60px; }
.legal h1 { font-family: var(--display, "Newsreader", serif); font-weight: 400; font-size: clamp(36px, 6vw, 52px); margin: 0 0 6px; }
.legal-meta { color: var(--muted, #8a8580); font-size: 14px; margin: 0 0 26px; }
.legal .lede { font-size: 18px; margin: 0 0 8px; padding: 0; max-width: none; text-align: left; }
.legal h2 { font-size: 18px; margin: 34px 0 8px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.6; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { text-decoration: underline; text-underline-offset: 2px; }
.legal-foot { padding: 30px 0 50px; font-size: 14px; color: var(--muted, #8a8580); }
.legal-foot a { color: inherit; }

/* Back to the top, bottom right. */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 30; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--on-ink); border: 1px solid var(--line-strong);
  transition: transform 0.15s ease, opacity 0.2s ease;
}
.to-top[hidden] { display: none; }
.to-top:hover { transform: translateY(-2px); }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } }


/* ---------------------------------------- Shared section heads */
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal); }
.juggle-head, .bento-head { max-width: 40em; margin: 0 auto; text-align: center; }
.juggle-head > p:last-child, .bento-head > p:last-child, .multi-copy > p:last-child { margin: 0; color: var(--text-2); font-size: 17.5px; line-height: 1.55; text-wrap: balance; }

/* ---------------------------------------- Many apps flowing into Fold */
.juggle { padding-top: 150px; padding-bottom: 20px; text-align: center; }
.flow { margin: 24px auto 0; max-width: 1100px; }
.flow figcaption { margin-top: 26px; font-size: 14.5px; color: var(--muted); }
.flow-wide { position: relative; aspect-ratio: 1100 / 660; container-type: inline-size; }
.flow-narrow { display: none; }
.ribbons { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ribbons path { fill: none; stroke-width: 16; stroke-linecap: round; }
.ribbons .glow path { mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .ribbons .glow path { mix-blend-mode: screen; opacity: 0.7; } }
.ribbons .flowing.hue path { opacity: 0.4; mix-blend-mode: multiply; }
.ribbons .flowing.shine path { opacity: 0.55; }
@media (prefers-color-scheme: dark) { .ribbons .flowing.hue path { mix-blend-mode: screen; opacity: 0.25; } .ribbons .flowing.shine path { opacity: 0.18; } }
.flow-src { list-style: none; margin: 0; padding: 0; }
.flow-src li {
  position: absolute; left: 1.2%; transform: translateY(-50%); display: flex; align-items: center; gap: 1cqw;
  padding: 0.55cqw 1.4cqw 0.55cqw 0.55cqw; border-radius: 1.4cqw; background: var(--card); border: 1px solid var(--line-strong);
  box-shadow: 0 0.8cqw 2.2cqw -1cqw rgba(0, 0, 0, 0.25); text-align: left;
}
.fl-icon { width: 3.6cqw; height: 3.6cqw; flex: none; display: grid; place-items: center; border-radius: 0.95cqw; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.fl-icon img { width: 68%; height: 68%; object-fit: contain; }
.fl-name { display: grid; font-size: 1.15cqw; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.fl-name b { font-size: 1.35cqw; font-weight: 600; color: var(--text); }
.flow-shot { position: absolute; z-index: 1; }
.flow-shot::before {
  content: ""; position: absolute; inset: 6% -4% -6%; z-index: -1; filter: blur(48px); opacity: 0.45;
  background: radial-gradient(closest-side at 25% 50%, #ff6a3d, transparent), radial-gradient(closest-side at 75% 50%, #7a6cf0, transparent);
}
.flow-shot img { display: block; width: 100%; height: auto; border-radius: 1.2cqw; border: 1px solid var(--line-strong); background: var(--bg); box-shadow: 0 3cqw 6cqw -2cqw rgba(0, 0, 0, 0.35); }
.chips-label { margin: 56px 0 0; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.app-chips a { cursor: pointer; }
@media (max-width: 760px) {
  .juggle { padding-top: 96px; }
  .juggle-head > p:last-child, .bento-head > p:last-child, .multi-copy > p:last-child { font-size: 16px; }
  .flow { margin-top: 36px; }
  .flow-wide { display: none; }
  .flow-narrow { display: block; position: relative; }
  .flow-narrow .ribbons { position: relative; display: block; height: 96px; margin-top: -6px; }
  .flow-narrow .ribbons path { stroke-width: 9; }
  .flow-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); position: relative; z-index: 1; }
  .flow-icons li { display: grid; justify-items: center; gap: 5px; }
  .flow-icons .fl-icon { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
  .fl-cap { font-size: 9.5px; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .flow-narrow .flow-shot { position: relative; margin-top: -10px; }
  .flow-narrow .flow-shot img { border-radius: 10px; }
  .chips-label { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { .ribbons .flowing { display: none; } }

/* ---------------------------------------- More than one of each */
.multi { padding-top: 140px; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.multi-copy .section-title { margin-bottom: 18px; }
.multi-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.multi-rows li { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.35);
  width: min(400px, 84%); margin-left: var(--in, 0); rotate: var(--r, 0deg); animation: m-float 7s ease-in-out infinite; animation-delay: var(--dl, 0s); transition: rotate 0.3s, scale 0.3s; }
.multi-rows li:hover { rotate: 0deg; scale: 1.02; }
.multi-rows li:nth-child(1) { --in: 4%; --r: -1.2deg; --dl: 0s; }
.multi-rows li:nth-child(2) { --in: 16%; --r: 0.8deg; --dl: -1.2s; }
.multi-rows li:nth-child(3) { --in: 0%; --r: 1deg; --dl: -2.4s; }
.multi-rows li:nth-child(4) { --in: 13%; --r: -0.9deg; --dl: -3.6s; }
.multi-rows li:nth-child(5) { --in: 6%; --r: -0.6deg; --dl: -4.8s; }
.multi-rows li:nth-child(6) { --in: 16%; --r: 1.2deg; --dl: -6s; }
@keyframes m-float { 50% { translate: 0 -5px; } }
@media (prefers-reduced-motion: reduce) { .multi-rows li { animation: none; } }
.multi-rows .fl-icon { width: 38px; height: 38px; border-radius: 10px; }
.mr-acc { display: grid; font-size: 13.5px; color: var(--muted); min-width: 0; }
.mr-acc b { font-size: 15px; font-weight: 600; color: var(--text); }
.mr-arrow { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mr-stream { display: inline-flex; align-items: center; gap: 8px; min-width: 6.5em; font-size: 14.5px; font-weight: 500; color: var(--text); }
.mr-stream .orb { width: 14px; height: 14px; }
@media (max-width: 860px) {
  .multi { grid-template-columns: 1fr; gap: 32px; padding-top: 104px; text-align: center; }
  .multi-rows li { text-align: left; gap: 10px; padding: 10px 12px 10px 10px; width: 88%; }
  .multi-rows li:nth-child(even) { --in: 12%; }
  .multi-rows li:nth-child(odd) { --in: 0%; }
  .mr-stream { min-width: 0; }
}

/* ---------------------------------------- Fold on a phone */
.phone-bento { padding-top: 140px; display: grid; grid-template-columns: 1.05fr 1fr; grid-template-rows: auto 1fr 1fr; gap: 18px; }
.bento-head { grid-column: 1 / -1; margin-bottom: 40px; }
.bento-card { margin: 0; border-radius: 22px; border: 1px solid var(--line-strong); background: var(--card); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.bento-card figcaption { padding: 20px 24px 16px; font-size: 15px; line-height: 1.45; color: var(--text-2); }
.bento-card figcaption b { color: var(--text); font-weight: 600; }
.bento-frame { position: relative; overflow: hidden; margin: 0 28px; flex: none; height: 250px; border-radius: 16px 16px 0 0; box-shadow: 0 0 0 1px var(--line); }
.bento-card.tall .bento-frame { height: 620px; -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.bento-frame.bottom .bento-shot { position: absolute; left: 0; right: 0; bottom: 0; }
.bento-shot { position: relative; container-type: inline-size; --shot-bg: #fdfbf9; --shot-field: #fff; --shot-ink: #161616; --shot-on-ink: #fff; }
@media (prefers-color-scheme: dark) { .bento-shot { --shot-bg: #161616; --shot-field: #1c1c1c; --shot-ink: #f0f0ee; --shot-on-ink: #161616; } }
.bento-shot picture, .bento-shot img { display: block; width: 100%; height: auto; }
.bento-live { position: absolute; inset: 0; }
.bento-live > * { position: absolute; }
.b-hot { border: 0; padding: 0; margin: 0; background: transparent; border-radius: 999px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.b-hot:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.b-cover { background: var(--shot-bg); border-radius: 50%; }
.b-clock { overflow: visible; cursor: pointer; --ui-faint: #d5d3cd; --ui-muted: #96948e; --ui-ink: #161616; }
@media (prefers-color-scheme: dark) { .b-clock { --ui-faint: #3a3936; --ui-muted: #85837e; --ui-ink: #f1f0ec; } }
.b-check { display: grid; place-items: center; border-radius: 50%; background: var(--shot-ink); opacity: 0; transform: scale(0.6); transition: opacity 0.15s, transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); pointer-events: none; }
.b-check svg { width: 80%; height: 80%; fill: none; stroke: var(--shot-bg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-strike { background: #96948e; transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease 0.12s; pointer-events: none; }
.bento-shot.ticked .b-check { opacity: 1; transform: none; }
.bento-shot.ticked .b-strike { transform: none; }
.b-today { display: grid; place-items: center; border-radius: 999px; background: var(--shot-ink); color: var(--shot-on-ink); font: 500 2.75cqw/1 Inter, system-ui, sans-serif; opacity: 0; transform: translateY(4px) scale(0.92); transition: opacity 0.25s, transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); pointer-events: none; box-shadow: 0 0 0 0.35cqw var(--shot-bg); }
.bento-shot.tidied .b-today { opacity: 1; transform: none; }
.bento-shot.tidied .b-today:nth-of-type(2) { transition-delay: 0.08s; }
.b-ring { border-radius: 999px; box-shadow: inset 0 0 0 0.3cqw var(--signal); background: color-mix(in srgb, var(--signal) 12%, transparent); opacity: 0; transform: scale(0.94); transition: opacity 0.2s, transform 0.25s cubic-bezier(0.3, 1.5, 0.5, 1); pointer-events: none; }
.b-ring.on { opacity: 1; transform: none; }
.b-veil { border-radius: 999px; background: var(--shot-bg); opacity: 0; transition: opacity 0.2s; pointer-events: none; mix-blend-mode: normal; }
.b-veil.on { opacity: 0.6; }
.b-date { display: flex; align-items: center; padding-left: 1.2cqw; background: var(--shot-field); color: var(--shot-ink); font: 400 3.4cqw/1 Inter, system-ui, sans-serif; letter-spacing: 0.01em; opacity: 0; pointer-events: none; transition: opacity 0.15s; }
.b-date.on { opacity: 1; }
.b-date.empty { color: #96948e; }
/* The live mini board (bento.js) */
.bento-frame.live-board { background: var(--bg); height: 300px; }
.mini-board { height: 100%; display: flex; flex-direction: column; }
.mb-track { flex: 1; min-height: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 18px 18px 6px; cursor: grab; overscroll-behavior-x: contain; touch-action: pan-x pan-y; }
.mb-track::-webkit-scrollbar { display: none; }
.mb-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.mb-col { flex: 0 0 82%; scroll-snap-align: start; display: grid; align-content: start; gap: 8px; }
.mb-col header { display: flex; align-items: center; gap: 9px; padding: 2px 4px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15px; color: var(--text); }
.mb-col header .orb { width: 13px; height: 13px; }
.mb-col header em { margin-left: auto; font-style: normal; color: var(--muted); font-weight: 400; }
.mb-card { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 11px 12px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line); text-align: left; transition: opacity 0.3s; }
.mb-card.late { box-shadow: inset 3px 0 0 var(--signal), 0 0 0 1px var(--line); }
.mb-tick { width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; padding: 0; cursor: pointer; position: relative; }
.mb-tick.half { background: linear-gradient(90deg, var(--text) 50%, transparent 50%); border-color: var(--text); }
.mb-tick.blocked { border-color: var(--signal); }
.mb-card.done .mb-tick { background: var(--text); border-color: var(--text); }
.mb-card.done .mb-tick::after { content: ""; position: absolute; left: 4.5px; top: 2px; width: 4px; height: 7px; border: solid var(--bg); border-width: 0 1.8px 1.8px 0; rotate: 45deg; }
.mb-card.done .mb-t { text-decoration: line-through; color: var(--muted); }
.mb-card.done { opacity: 0.6; }
.mb-body { display: grid; justify-items: start; gap: 6px; min-width: 0; }
.mb-t { font-size: 14px; line-height: 1.35; color: var(--text); }
.mb-chip { font-size: 11.5px; padding: 1px 8px; border-radius: 99px; border: 1px solid var(--line-strong); color: var(--muted); }
.mb-chip.blocked { border-color: color-mix(in srgb, var(--signal) 60%, transparent); color: var(--signal); }
.mb-note { font-size: 12.5px; font-style: italic; color: var(--muted); }
.mb-ctx { font-size: 12.5px; color: var(--muted); }
.mb-meta { display: flex; align-items: center; gap: 8px; }
.mb-meta b { font-weight: 500; font-size: 12px; padding: 2px 9px; border-radius: 99px; background: var(--line); color: var(--text-2); }
.mb-meta b.today { background: var(--text); color: var(--bg); }
.mb-meta b.late { background: var(--signal); color: #fff; }
.mb-meta i { font-style: normal; font-weight: 700; font-size: 12px; color: #b8860b; }
.mb-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 12px; }
.mb-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: width 0.25s, background 0.25s; }
.mb-dots i.on { width: 18px; border-radius: 3px; background: var(--signal); }
@media (max-width: 760px) {
  .phone-bento { grid-template-columns: 1fr; grid-template-rows: none; gap: 14px; padding-top: 96px; }
  .bento-head { margin-bottom: 18px; }
  .bento-card.tall { grid-row: auto; }
  .bento-card figcaption { padding: 16px 18px 14px; font-size: 14.5px; }
  .bento-frame { margin: 0 18px; height: auto; }
  .bento-frame.live-board { height: 300px; }
  .bento-card.tall .bento-frame { height: 460px; }
  .bento-frame.bottom .bento-shot { position: relative; }
}
.bento-card.tall { grid-row: 2 / 4; }

/* ---------------------------------------- App pages in a modal */
.app-modal { width: min(760px, calc(100% - 32px)); max-height: min(86vh, 900px); padding: 0; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--bg); color: var(--text); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.5); }
.app-modal::backdrop { background: rgba(20, 18, 16, 0.45); backdrop-filter: blur(4px); }
.app-modal[open] { animation: modal-in 0.22s cubic-bezier(0.2, 0.8, 0.3, 1); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.app-modal .modal-body { padding: 36px 40px 40px; }
.app-modal .modal-body > .legal { padding: 0; margin: 0; max-width: none; width: auto; }
.app-modal .crumbs { display: none; }
.app-modal .modal-close { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; z-index: 1; }
.app-modal .modal-full { display: inline-block; margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .app-modal .modal-body { padding: 24px 20px 28px; } }

/* ---------------------------------------- Compare pages (/compare/…) */
.compare { max-width: 880px; }
.compare-kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.compare-kicker a { text-decoration: none; color: var(--muted); }
.compare .lede { font-size: 19px; color: var(--text-2); line-height: 1.55; }
.compare-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 8px; }
.compare-pick > div { border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 22px 8px; background: var(--card); }
.compare-pick h2 { margin: 0 0 8px; font-size: 16px; }
.compare-pick .fold-pick { border-color: color-mix(in srgb, var(--signal) 55%, transparent); }
.compare-pick .fold-pick h2 { color: var(--signal); }
.compare-table-wrap { overflow-x: auto; margin: 12px 0 0; border: 1px solid var(--line-strong); border-radius: 14px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.compare-table th, .compare-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--card); }
.compare-table tbody th { font-weight: 500; color: var(--text); width: 26%; }
.compare-table td { color: var(--text-2); width: 37%; }
.compare-table td:last-child { color: var(--text); }
.compare-note { font-size: 13px !important; color: var(--muted); margin-top: 10px; }
.compare-faq { margin-top: 6px; max-width: none; }
.compare-faq summary { font-size: 16px; }
.compare-faq p { margin: 0 2px 18px; color: var(--text-2); }
.compare-cta { margin-top: 56px; padding: 32px 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-strong); text-align: center; }
.compare-cta h2 { font: 300 32px/1.1 var(--display); margin: 0 0 8px; letter-spacing: -0.015em; }
.compare-cta p { color: var(--text-2); margin: 0 auto 20px; max-width: 32em; }
.compare-cta .ctas { justify-content: center; }
.compare-cta .btn { text-decoration: none; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.compare-card { display: grid; gap: 6px; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--card); text-decoration: none !important; color: var(--text-2); font-size: 14.5px; line-height: 1.5; transition: border-color 0.15s; }
.compare-card b { font-size: 18px; color: var(--text); font-weight: 600; }
.compare-card:hover { border-color: var(--ink); }
.compare-page .top nav { display: flex; align-items: center; gap: 18px; }
@media (max-width: 760px) {
  .compare-pick, .compare-cards { grid-template-columns: 1fr; }
  .compare .lede { font-size: 17px; }
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 10px 12px; }
  .compare-table tbody th { width: 30%; }
}
.foot-links { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.foot-links a { color: inherit; }
.legal-foot { display: grid; gap: 4px; }
.card-logo { display: flex; align-items: center; gap: 10px; }
.card-logo img { width: 22px; height: 22px; object-fit: contain; border-radius: 5px; }

/* Compare and app pages: breadcrumb, logo pair, "people also connect" cards */
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.vs-marks { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vs-marks i { font-style: normal; font-size: 13px; color: var(--muted); }
.mark { width: 28px; height: 28px; object-fit: contain; border-radius: 7px; flex: none; }
.mark.letter { display: inline-grid; place-items: center; background: var(--text); color: var(--bg); font-weight: 600; font-size: 15px; }
.vs-marks.big .mark { width: 44px; height: 44px; border-radius: 11px; }
.vs-marks.big .mark.letter { font-size: 22px; }
.vs-marks.big i { font-size: 15px; }
.compare h1 { font-size: clamp(34px, 5vw, 46px); line-height: 1.08; margin-bottom: 14px; text-wrap: balance; }
.compare-card .vs-marks { margin-bottom: 4px; }
.muted-p { color: var(--text-2); margin-top: -2px; }
.pair-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.pair-card { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--card); text-decoration: none !important; color: var(--text-2); transition: border-color 0.15s, transform 0.15s; }
.pair-card:hover { border-color: var(--ink); transform: translateY(-1px); }
.pair-card .mark { width: 32px; height: 32px; }
.pair-card span { display: grid; gap: 3px; }
.pair-card b { color: var(--text); font-size: 15px; }
.pair-card small { font-size: 13.5px; line-height: 1.45; }
@media (prefers-color-scheme: dark) { .mark[src*="linear"] { filter: invert(1); } }
@media (max-width: 760px) { .pair-cards { grid-template-columns: 1fr; } }

/* Free plan: download and open-in-browser buttons */
.plan-buy .btn.dl { background: var(--text); border-color: var(--text); color: var(--bg); }

/* Download thank-you page */
/* ---------------------------------------- Download thank-you page */
.dl-body { overflow-x: hidden; }
.dl-page { position: relative; max-width: 1000px; padding-top: 40px; padding-bottom: 40px; text-align: center; }
.dl-glow { position: absolute; z-index: -1; left: 50%; top: -60px; width: 900px; height: 520px; translate: -50% 0; filter: blur(80px); opacity: 0.4; pointer-events: none;
  background: radial-gradient(closest-side at 32% 45%, #ff6a3d, transparent), radial-gradient(closest-side at 68% 40%, #a9a3f7, transparent), radial-gradient(closest-side at 50% 75%, #9fd8ad, transparent);
  animation: dl-drift 14s ease-in-out infinite alternate; }
@keyframes dl-drift { to { translate: -46% 20px; scale: 1.08; } }
.dl-hero h1 { font: 300 clamp(40px, 6.5vw, 72px)/1.02 var(--display); letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
.dl-hero .lede { margin-top: 18px; }
.dl-hero .eyebrow { margin-top: 26px; }
.dl-badge { position: relative; width: 120px; height: 120px; margin: 0 auto; display: grid; place-items: center; animation: dl-drop 0.9s cubic-bezier(0.3, 1.5, 0.5, 1) both; }
.dl-badge > img { width: 84px; height: 84px; border-radius: 20px; box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.45); }
.dl-ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.dl-ring circle { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: dl-ring 1.6s cubic-bezier(0.6, 0, 0.2, 1) 0.4s forwards; }
.dl-tick { position: absolute; right: 4px; bottom: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--signal); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--bg); scale: 0; animation: dl-pop 0.45s cubic-bezier(0.3, 1.8, 0.5, 1) 1.9s forwards; }
.dl-tick svg { width: 70%; height: 70%; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes dl-drop { from { opacity: 0; transform: translateY(-40px) scale(0.8); } }
@keyframes dl-ring { to { stroke-dashoffset: 0; } }
@keyframes dl-pop { to { scale: 1; } }
.dl-confetti { position: absolute; left: 50%; top: 100px; pointer-events: none; }
.dl-confetti i { position: absolute; width: 10px; height: 10px; border-radius: 3px; background: var(--c); opacity: 0; animation: dl-burst 1.4s cubic-bezier(0.2, 0.7, 0.3, 1) calc(1.9s + var(--d) * 1s) forwards; }
.dl-confetti i:nth-child(odd) { border-radius: 50%; }
@keyframes dl-burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--x) * 1px), calc(-60px + var(--x) * 0.35px * var(--x) / 120)) rotate(220deg); } }

.dl-steps { counter-reset: s; list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.dl-steps[hidden] { display: none; }
.dl-steps li { counter-increment: s; position: relative; display: grid; align-content: start; gap: 6px; padding: 20px 22px 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: 15px; line-height: 1.5; color: var(--text-2);
  opacity: 0; translate: 0 16px; animation: dl-in 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards; }
.dl-steps li:nth-child(1) { animation-delay: 0.5s; } .dl-steps li:nth-child(2) { animation-delay: 0.65s; } .dl-steps li:nth-child(3) { animation-delay: 0.8s; }
@keyframes dl-in { to { opacity: 1; translate: 0 0; } }
.dl-steps li::before { content: counter(s); position: absolute; top: 16px; left: 16px; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: #fff; font-weight: 600; font-size: 14px; }
.dl-steps b { color: var(--text); font-size: 16.5px; font-weight: 600; }
.dl-art { height: 132px; margin: -4px -6px 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.dl-art .file { position: relative; width: 62px; height: 78px; border-radius: 8px; background: var(--card); border: 1.5px solid var(--line-strong); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.35); animation: dl-bob 3s ease-in-out infinite; }
.dl-art .file::after { content: ""; position: absolute; right: -1.5px; top: -1.5px; width: 18px; height: 18px; background: linear-gradient(225deg, var(--bg) 50%, var(--line-strong) 50%); border-radius: 0 8px 0 4px; }
.dl-art .file span { position: absolute; left: 0; right: 0; bottom: 10px; text-align: center; font: 600 12px/1 Inter, sans-serif; color: var(--signal); }
@keyframes dl-bob { 50% { translate: 0 -6px; } }
.dl-art .drag { position: relative; width: 190px; height: 70px; }
.dl-art .drag .app { position: absolute; left: 6px; top: 8px; width: 54px; height: 54px; animation: dl-drag 3.2s cubic-bezier(0.5, 0, 0.3, 1) infinite; }
.dl-art .drag .app img { width: 100%; height: 100%; border-radius: 13px; box-shadow: 0 10px 18px -10px rgba(0, 0, 0, 0.5); }
.dl-art .drag .arrow { position: absolute; left: 70px; top: 34px; width: 46px; border-top: 2px dashed var(--muted); }
.dl-art .drag .arrow::after { content: ""; position: absolute; right: -2px; top: -6px; width: 8px; height: 8px; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); rotate: 45deg; }
.dl-art .drag .folder { position: absolute; right: 6px; top: 10px; width: 62px; height: 50px; border-radius: 6px 10px 10px 10px; background: linear-gradient(#7fb2f0, #5a93e0); }
.dl-art .drag .folder::before { content: ""; position: absolute; left: 0; top: -7px; width: 26px; height: 10px; border-radius: 5px 5px 0 0; background: #7fb2f0; }
.dl-art .drag .folder::after { content: "A"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, 0.85); font: 700 20px/1 Inter, sans-serif; }
@keyframes dl-drag { 0%, 15% { translate: 0 0; scale: 1; opacity: 1; } 60% { translate: 124px 0; scale: 0.8; opacity: 1; } 75% { translate: 124px 0; scale: 0.5; opacity: 0; } 76%, 100% { translate: 0 0; scale: 1; opacity: 0; } 90%, 100% { opacity: 1; } }
.dl-art .drag.done { width: 70px; }
.dl-art .drag.done .app { left: 8px; animation: dl-bob 3s ease-in-out infinite; }
.dl-art .dialog { width: 180px; padding: 14px 14px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.4); display: grid; gap: 7px; }
.dl-art .dialog i { height: 7px; border-radius: 4px; background: var(--line-strong); }
.dl-art .dialog i + i { width: 65%; }
.dl-art .dialog span { justify-self: end; margin-top: 4px; padding: 6px 12px; border-radius: 8px; background: var(--signal); color: #fff; font: 600 12px/1 Inter, sans-serif; animation: dl-press 2.6s ease-in-out infinite; }
.dl-art .dialog.blue span { background: #2564cf; }
@keyframes dl-press { 0%, 70%, 100% { scale: 1; } 78% { scale: 0.9; } 86% { scale: 1.04; } }
.dl-next { margin-top: 96px; }
.dl-next h2 { font: 300 clamp(28px, 4vw, 40px)/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 10px; }
.dl-next p { margin: 0; color: var(--text-2); font-size: 16.5px; }
.dl-logos { list-style: none; padding: 0; margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dl-logos li { width: 52px; height: 52px; border-radius: 14px; background: #fff; border: 1px solid var(--line-strong); display: grid; place-items: center; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.35); transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1); }
.dl-logos li:hover { transform: translateY(-4px) rotate(-4deg); }
.dl-logos img { width: 60%; height: 60%; object-fit: contain; }
.dl-manual { margin-top: 56px; font-size: 14.5px; color: var(--muted); }
.dl-manual a { color: var(--text-2); }
@media (max-width: 860px) { .dl-steps { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }
@media (prefers-reduced-motion: reduce) {
  .dl-glow, .dl-badge, .dl-art *, .dl-steps li { animation: none !important; opacity: 1; translate: none; }
  .dl-ring circle { animation: none; stroke-dashoffset: 0; } .dl-tick { animation: none; scale: 1; } .dl-confetti { display: none; }
}
@media (max-width: 760px) { .faq { margin-bottom: 72px; } }
.compare-faq { margin-bottom: 0; }

/* ---------------------------------------- Load-in on scroll (site.js) */
.reveal { opacity: 0; transform: translateY(26px) scale(0.985); filter: blur(6px); }
.reveal.in { opacity: 1; transform: none; filter: none; transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease; transition-delay: calc(var(--ri, 0) * 90ms); }
.multi-rows li.reveal.in { transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.8s ease, rotate 0.3s, scale 0.3s; }

/* ---------------------------------------- Hero load-in */
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes shot-in { from { opacity: 0; transform: translateY(-28px) scale(1.025); filter: blur(10px); } 60% { filter: none; } }
.top { animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both; }
.hero .lede { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s both; }
.hero .ctas { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.28s both; }
.hero .fine { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.36s both; }
#shot { animation: shot-in 1.2s cubic-bezier(0.16, 0.9, 0.24, 1) 0.5s both; }
@media (prefers-reduced-motion: reduce) { .top, .hero h1, .hero .lede, .hero .ctas, .hero .fine, #shot { animation: none; } }

/* External links: a small arrow, and they open in a new tab. */
a.ext { display: inline-flex; align-items: center; gap: 3px; }
a.ext svg { width: 0.72em; height: 0.72em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
