/* tinydt.com. The dashboard's own tokens and parts (app/globals.css in the app), so the page reads as the same
   product: one elevated surface (the visit panel), ink marks, and one accent that only ever means "now". */
@font-face { font-family: Geist; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-latin.woff2) format('woff2'); }
/* shortcut: Caveat (OFL, Google Fonts) cut to "Only 0123456789 left!" and "so I made it a product"; fetch it again if the note's words change */
@font-face { font-family: Caveat; font-weight: 500; font-display: swap; src: url(fonts/caveat-note.woff2) format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/geist-mono-latin.woff2) format('woff2'); }

:root {
  /* Every colour is a light/dark pair. data-theme picks: light by default (index.html), dark or the system's from the header button. */
  color-scheme: light dark;
  --bg: light-dark(#f6f6f3, #141413);
  --card: light-dark(#ffffff, #1c1c1b);
  --line: light-dark(#e4e4df, #2c2c2a);
  --line-2: light-dark(#ecece7, #262624);
  --line-strong: light-dark(#c9c9c2, #3d3d3a);
  --chip: light-dark(#f1f1ed, #282826);
  --ink: light-dark(#151515, #f0efec);
  --ink-2: light-dark(#4a4a45, #c3c2b7);
  --muted: light-dark(#6b6b64, #8f8f87);
  --on-ink: light-dark(#ffffff, #151515);
  --soft: light-dark(#c4c4bc, #55554f);
  /* The live ping and a conversion's dot. As text it's --accent-text: the bright one fails contrast on the light ground. */
  --accent: #ff5a1f;
  --accent-text: light-dark(#c2410c, #ff5a1f);
  --bar: light-dark(rgb(21 21 21 / 0.065), rgb(255 255 255 / 0.075));
  /* the Live page's globe */
  --globe-halo: light-dark(rgb(21 21 21 / 0.08), rgb(255 232 208 / 0.13));
  --globe-sea: light-dark(#fdfdfb, #1d1e22);
  --globe-shade: light-dark(#ecece6, #131417);
  --globe-land: light-dark(#e1e1d9, #33343a);
  --globe-coast: light-dark(#cdcdc4, #45464d);
  --globe-border: light-dark(#d3d3ca, #45464d);
  --globe-grid: light-dark(#ebebe5, #24252a);
  --globe-edge: light-dark(#d8d8d1, #2c2d33);
  --globe-label: light-dark(#86867e, #9a9aa2);
  --globe-label-soft: light-dark(#a9a9a1, #6c6d76);
  --up: light-dark(#0b7a55, #4cc38a);
  --down: light-dark(#b23a1d, #f0765a);
  --selection: light-dark(#ffe0d3, #5c2b17);
  --radius: 16px;
  --sans: Geist, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
:root[data-theme='light'] { color-scheme: light; }
:root[data-theme='dark'] { color-scheme: dark; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--selection); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.muted { color: var(--muted); }
.ident { font-family: var(--mono); font-size: 0.9em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* the first screen: the header, then the hero in the middle of what's left */
.page { display: flex; flex-direction: column; max-width: 1120px; min-height: 100dvh; margin: 0 auto; padding: 0 24px 40px; }
main { flex: 1; }
html { scroll-behavior: smooth; }
/* the story: chapters down the left, and the visitor's own visit staying beside them as they scroll */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 432px); column-gap: 48px; align-items: start; }
.chapter { grid-column: 1; padding: 64px 0 80px; border-top: 1px solid var(--line); scroll-margin-top: 0; }
.chapter h2 { display: flex; flex-wrap: wrap; align-items: baseline; font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12; }
.chapter h2 .ping { width: 0.19em; height: 0.19em; margin-left: 0.09em; }
.chapter .summary { margin: 12px 0 28px; }
/* the visitor's own country, in the globe's sentence: the one word on the page that's about them */
.where { font-weight: 600; color: var(--ink); white-space: nowrap; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.where .flag { display: inline-block; width: auto; margin-right: 6px; text-decoration: none; }
.chapter .ident { color: var(--ink); white-space: nowrap; }
.chapter > .kicker { margin-bottom: 10px; }

/* --- header ----------------------------------------------------------------------------------- */
.top { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.logo-mark { width: 25px; height: 20px; flex: none; }
.top-right { display: flex; align-items: center; gap: 6px; }
.theme { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); cursor: pointer; transition: color 0.2s, background-color 0.2s; }
.theme:hover { color: var(--ink); background: var(--chip); }
.theme svg { display: none; width: 16px; height: 16px; }
.theme[data-theme='system'] [data-for='system'], .theme[data-theme='light'] [data-for='light'], .theme[data-theme='dark'] [data-for='dark'], .theme:not([data-theme]) [data-for='system'] { display: block; }

/* the live dot: a solid dot with a ring that pings outwards */
.ping { position: relative; display: inline-flex; width: 8px; height: 8px; flex: none; }
.ping::before, .ping::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); }
.ping::before { animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(3.2); opacity: 0; } }

/* --- hero: the pitch and the form, beside the visitor's own visit ------------------------------- */
/* 68px is the header; the 96px left over shows the next chapter's line, so the page reads as going on */
/* the hero: the words, and beside them a replay of an onboarding as Live sees it. Across both columns: the visit
   panel starts beside the first chapter. */
.hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 1fr); gap: 48px; align-items: center; min-height: min(calc(100dvh - 68px - 96px), 700px); padding: 24px 0 64px; border-top: 0; }
.hero-for { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.hero-for span { padding: 3px 10px; border-radius: 999px; background: var(--chip); color: var(--ink-2); }
.hero h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; }
.h1-more { display: block; color: light-dark(#7a7a72, #8f8f87); }
.hero .summary { margin: 20px 0 0; }
.hero-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 28px; }
.hero-agent { display: flex; align-items: flex-start; gap: 6px; margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-agent img { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; background: light-dark(transparent, #e8e8e4); }
.hero-agent > span { margin-left: 4px; }
.hero-agent .ink { color: var(--ink); }
.hero-private { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.hero-private svg { flex: none; margin: 2px 1px 0; color: var(--ink); }
.hero-private .ink { color: var(--ink); }

/* the replay. One pass is --t; each part says when it shows, as a share of it. Off with reduced motion: it rests on the end. */
.demo { --t: 14s; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; min-width: 0; }
.demo-phone { flex: none; width: 250px; height: 512px; padding: 8px; border-radius: 42px; background: #1b1b1a; box-shadow: 0 0 0 1px light-dark(transparent, #3d3d3a), 0 30px 60px -24px rgb(21 21 21 / 0.45); }
.demo-screen { position: relative; height: 100%; overflow: hidden; border-radius: 34px; background: #fff; color: #151515; }
.demo-island { position: absolute; z-index: 1; top: 10px; left: 50%; width: 82px; height: 23px; margin-left: -41px; border-radius: 99px; background: #1b1b1a; }
.demo-clock { position: absolute; z-index: 1; top: 13px; left: 22px; font-size: 12px; font-weight: 600; }
.demo-track { height: 400%; animation: demo-slide var(--t) cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.demo-page { display: flex; flex-direction: column; height: 25%; padding: 52px 18px 24px; font-size: 13px; }
.demo-dots { display: flex; justify-content: center; gap: 5px; margin-bottom: 18px; }
.demo-dots i { width: 6px; height: 6px; border-radius: 3px; background: #d6d6cf; }
.demo-dots[data-at='0'] i:nth-child(1), .demo-dots[data-at='1'] i:nth-child(2), .demo-dots[data-at='2'] i:nth-child(3), .demo-dots[data-at='3'] i:nth-child(4) { width: 16px; background: #151515; }
.demo-sun { width: 112px; height: 112px; margin: 22px auto 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd0bb, #ff8a5c); }
.demo-big { font-size: 22px; letter-spacing: -0.03em; line-height: 1.15; text-align: center; }
.demo-title { font-size: 20px; letter-spacing: -0.03em; line-height: 1.2; }
.demo-sub { margin-top: 6px; color: #6b6b64; }
.demo-centre { text-align: center; }
.demo-opt, .demo-plan { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 12px 13px; border: 1px solid #e4e4df; border-radius: 12px; font-weight: 500; }
.demo-opt i { width: 15px; height: 15px; border: 1.5px solid #c9c9c2; border-radius: 50%; }
.demo-opt[data-on], .demo-plan[data-on] { border: 1.5px solid #151515; }
.demo-opt[data-on] i { border-color: #151515; background: #151515; box-shadow: inset 0 0 0 3px #fff; }
.demo-plan { flex-direction: column; align-items: flex-start; gap: 1px; }
.demo-plan small { font-size: 12px; color: #6b6b64; }
.demo-plan b { font-size: 16px; }
.demo-plan[data-on] b { font-size: 18px; }
.demo-alert { display: block; margin: 18px 4px 0; overflow: hidden; border-radius: 14px; background: rgb(242 242 238 / 0.97); box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.35); text-align: center; }
.demo-alert > b { display: block; padding: 15px 12px 0; font-size: 13px; line-height: 1.3; }
.demo-alert small { display: block; padding: 4px 12px 12px; font-size: 11.5px; color: #4a4a45; line-height: 1.35; }
.demo-alert > span { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #d6d6cf; color: #2f6fe4; font-size: 13.5px; white-space: nowrap; }
.demo-alert i { padding: 9px 4px; font-style: normal; }
.demo-alert i + i { border-left: 1px solid #d6d6cf; }
.demo-cta { display: flex; align-items: center; justify-content: center; height: 44px; margin-top: auto; border-radius: 14px; background: #151515; color: #fff; font-size: 14px; font-weight: 600; }
.demo-cta-plain { background: none; color: #4a4a45; }

.demo-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.demo-card { padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 16px 40px -24px rgb(21 21 21 / 0.25); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.demo-head > span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; }
.demo-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.demo-who { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; }
.demo-who b { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.demo-who small { font-size: 12px; font-weight: 500; color: var(--muted); }
.demo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; font-size: 12px; color: var(--muted); }
.demo-meta .favicon, .demo-feed .favicon { width: 14px; height: 14px; vertical-align: -2px; }
.demo-steps { margin: 4px 0 6px; }
.demo-steps li { display: grid; grid-template-columns: 58px 12px minmax(0, 1fr); gap: 6px; align-items: baseline; padding: 4px 0; font-size: 13px; font-weight: 500; }
.demo-steps time { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.demo-steps li i { width: 8px; height: 8px; border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--card); translate: 0 1px; }
.demo-steps li[data-kind] { font-weight: 600; }
.demo-steps li[data-kind] i { border-color: var(--accent); background: var(--accent); }
.demo-feed { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); }
.demo-feed > span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demo-feed b { color: var(--ink); font-weight: 600; }
.demo-place { flex: none; color: var(--muted); }
.demo-funnel { display: flex; flex-direction: column; gap: 7px; }
.demo-drop { color: var(--down) !important; }
.demo-drop::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.demo-bar { display: grid; grid-template-columns: 112px minmax(0, 1fr) 36px; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); }
.demo-bar span { white-space: nowrap; }
.demo-bar i { height: 6px; border-radius: 3px; background: linear-gradient(var(--ink-2), var(--ink-2)) no-repeat 0 0 / var(--w) 100%, var(--line-2); }
.demo-bar[data-leak] i { background: linear-gradient(var(--down), var(--down)) no-repeat 0 0 / var(--w) 100%, var(--line-2); }
.demo-bar b { color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.demo-version { display: flex; align-items: center; gap: 8px; margin-top: 3px; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.demo-version span { flex: none; padding: 1px 7px; border-radius: 99px; background: var(--chip); font-family: var(--mono); font-size: 11px; color: var(--ink); }

/* when each part shows: the screens move at 25%, 50% and 75% of the pass, the steps and the feed follow them */
@keyframes demo-slide { 0%, 22% { translate: 0 0; } 25%, 47% { translate: 0 -25%; } 50%, 72% { translate: 0 -50%; } 75%, 97% { translate: 0 -75%; } 100% { translate: 0 0; } }
.demo-at0, .demo-at1, .demo-at1b, .demo-at2, .demo-at2b, .demo-at3, .demo-at4 { animation: var(--t) infinite; }
.demo-at0 { animation-name: demo-at0; } .demo-at1 { animation-name: demo-at1; } .demo-at2 { animation-name: demo-at2; }
.demo-at1b { animation-name: demo-at1b; } .demo-at2b { animation-name: demo-at2b; } .demo-at3 { animation-name: demo-at3; } .demo-at4 { animation-name: demo-at4; }
@keyframes demo-at0 { 0%, 11% { opacity: 0; translate: 0 5px; } 13%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at1 { 0%, 24% { opacity: 0; translate: 0 5px; } 26%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at1b { 0%, 36% { opacity: 0; translate: 0 5px; } 38%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at2 { 0%, 49% { opacity: 0; translate: 0 5px; } 51%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at2b { 0%, 61% { opacity: 0; translate: 0 5px; } 63%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at3 { 0%, 74% { opacity: 0; translate: 0 5px; } 76%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
@keyframes demo-at4 { 0%, 87% { opacity: 0; translate: 0 5px; } 89%, 99% { opacity: 1; translate: 0 0; } 100% { opacity: 0; } }
.summary { margin-top: 22px; max-width: 46ch; font-size: 17px; color: var(--ink-2); }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 10px; background: var(--ink); color: var(--on-ink); font: inherit; font-size: 15px; font-weight: 550; white-space: nowrap; cursor: pointer; transition: opacity 0.15s; }
.btn:hover { opacity: 0.88; }
.btn:disabled { opacity: 0.55; cursor: default; }

.chapter > .fine { margin-top: 14px; }
.start-lead { max-width: 480px; margin-top: 14px; font-size: 17px; color: var(--ink-2); }
.start-lead strong { font-weight: 600; color: var(--ink); }
.start-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 18px; }
/* the line under the field: what's wrong and what to do. It keeps its height, so nothing below jumps. */
.fine { margin-top: 8px; font-size: 13px; color: var(--muted); }
@keyframes settle { from { opacity: 0; translate: 0 6px; } }

/* --- the visit panel: Live's journey panel, with the visitor in it ---------------------------- */
/* beside the chapters it stays on screen; when the journey outgrows the screen, the steps scroll inside it */
.you { grid-column: 2; grid-row: 2 / span 7; position: sticky; top: 24px; display: flex; flex-direction: column; max-height: calc(100dvh - 48px); margin: 24px 0; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: 0 1px 2px rgb(21 21 21 / 0.04), 0 16px 40px -28px rgb(21 21 21 / 0.25); }
.you-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px 10px; border-bottom: 1px solid var(--line-2); }
.you-head h2 { font-size: 14px; font-weight: 600; }
.you-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.visitor-title { display: flex; align-items: center; gap: 12px; padding: 14px 16px 6px; }
.visitor-title-text { min-width: 0; }
.kicker { font-size: 12px; color: var(--muted); }
.visitor-status { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.visitor-name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
/* the visitor's face, as the dashboard shows it; until it loads (or if it can't), a disc in their own colour */
.avatar { flex: none; position: relative; width: 40px; height: 40px; overflow: hidden; border-radius: 50%; background: color-mix(in oklab, var(--c, var(--soft)) 30%, white); }
.avatar::after { content: ''; position: absolute; inset: 13px; border-radius: 50%; background: var(--c, var(--soft)); }
.avatar[data-face]::after { display: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.2s; }
.avatar[data-face] img { opacity: 1; }

.facts > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }
.you .facts { padding: 0 16px; }
.you .facts > div { grid-template-columns: 104px minmax(0, 1fr); padding: 7px 0; font-size: 13px; }
.you .facts dt { font-size: 12.5px; }
.you .facts dd .muted { font-weight: 400; }
.with-icon { display: inline-flex; align-items: center; gap: 6px; vertical-align: bottom; }
.with-icons { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.favicon { flex: none; width: 16px; height: 16px; border-radius: 4px; }
/* a dark favicon (X, GitHub, Apple) would vanish on the dark ground, so icons get a light backing there */
img.favicon { padding: 1px; background: light-dark(transparent, #e8e8e4); }
.favicon-letter { display: inline-flex; align-items: center; justify-content: center; background: var(--chip); color: var(--ink-2); font-size: 10px; font-weight: 600; line-height: 1; }
.favicon-mark { color: var(--muted); }
.flag { flex: none; width: 18px; font-size: 15px; line-height: 1; text-align: center; }

.journey-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 16px 16px 0; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); }
.journey-head h3 { font-size: 14px; font-weight: 600; }
.journey-head .muted { font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }
.jsteps { min-height: 84px; padding: 2px 16px 10px; overflow-y: auto; }
.you > :not(.jsteps) { flex: none; }
.jstep { display: grid; grid-template-columns: 58px 14px minmax(0, 1fr) auto; gap: 0 10px; }
.jstep-time, .jstep-delta { padding-top: 11px; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.jstep-delta { text-align: right; }
.jstep-rail { display: flex; flex-direction: column; align-items: center; }
.jstep-rail::before { content: ''; width: 1px; height: 14px; background: var(--line); }
.jstep-rail::after { content: ''; width: 1px; flex: 1; min-height: 20px; background: var(--line); }
.jstep:first-child .jstep-rail::before, .jstep:last-child .jstep-rail::after { background: transparent; }
.jstep-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--soft); background: var(--card); }
.jstep[data-kind='goal'] .jstep-dot { border-color: var(--accent); background: var(--accent); }
.jstep-rail .ping { margin: 1px 0; }
.jstep-body { min-width: 0; padding: 8px 0 12px; }
.jstep-title { display: block; font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.jstep-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.jstep-meta:empty { display: none; }
.jstep-new { animation: settle 0.5s var(--ease) both; }

/* --- the chapters' examples: the globe, the posts table, the funnel, the projects ---------------- */
.globe { max-width: 520px; margin: -8px auto 0 0; }
.globe > svg { display: block; width: 100%; height: auto; overflow: visible; touch-action: pan-y; cursor: grab; user-select: none; -webkit-tap-highlight-color: transparent; }
.globe > svg:active { cursor: grabbing; }
.globe-sphere { stroke: var(--globe-edge); stroke-width: 1; }
.globe-grid { fill: none; stroke: var(--globe-grid); stroke-width: 0.7; }
.globe-land { fill: var(--globe-land); stroke: var(--globe-coast); stroke-width: 0.6; stroke-linejoin: round; }
.globe-borders { fill: none; stroke: var(--globe-border); stroke-width: 0.5; stroke-linejoin: round; }
.globe-label { fill: var(--globe-label); font-family: var(--sans); text-rendering: geometricPrecision; font-size: calc(10.5px * var(--k, 1)); font-weight: 500; text-anchor: middle; dominant-baseline: middle; pointer-events: none; paint-order: stroke; stroke: var(--globe-land); stroke-width: 2.5px; stroke-linejoin: round; }
.globe-label-continent { font-size: calc(12px * var(--k, 1)); font-weight: 600; letter-spacing: 0.18em; fill: var(--globe-label-soft); stroke: none; }
.globe-label-ocean { font-size: calc(11px * var(--k, 1)); font-style: italic; letter-spacing: 0.16em; fill: var(--globe-label-soft); stroke: none; }
.globe-marker { cursor: pointer; outline: none; }
.globe-hit { fill: transparent; }
.globe-marker:focus-visible .globe-hit { stroke: var(--ink); stroke-width: 1.5; }
.globe-face { transition: scale 0.25s var(--ease); }
.globe-marker:hover .globe-face, .globe-marker:focus-visible .globe-face { scale: 1.15; }
.globe-face { transform-box: fill-box; transform-origin: center; animation: pop 0.4s var(--ease) backwards; }
.globe-avatar { fill: var(--card); filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.28)); }
.globe-ring { display: none; fill: none; stroke: var(--ink); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.globe-marker.followed .globe-ring { display: inline; animation: pop 0.35s var(--ease) both; }
.globe-ping { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.globe-marker.blip .globe-ping { animation: ping 1.6s ease-out 2 both; }
.globe-you { fill: var(--ink); font-size: 13px; font-weight: 600; text-anchor: middle; paint-order: stroke; stroke: var(--globe-land); stroke-width: 3px; stroke-linejoin: round; }
@keyframes pop { from { opacity: 0; scale: 0.4; } }

/* Live's visitor card (.vcard in the app), holding the followed person's journey: over the globe's lower right,
   under the globe on a phone. Four steps tall from the start, so it doesn't grow as they arrive. */
.stage { position: relative; }
.vcard { position: absolute; z-index: 1; right: 0; bottom: 4px; width: 264px; padding: 12px 14px 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 1px 2px rgb(21 21 21 / 0.05), 0 18px 40px -18px rgb(21 21 21 / 0.45); font-size: 13px; animation: settle 0.3s var(--ease) backwards; }
.vcard[hidden] { display: none; }
.vcard-head { display: flex; align-items: center; gap: 10px; }
.vcard-name { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.vcard-name strong { font-weight: 600; }
.vcard-name .muted { font-size: 12.5px; }
.vcard-x { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -5px -7px 0 -4px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.vcard-x:hover { background: var(--chip); color: var(--ink); }
.vcard-x svg { width: 14px; height: 14px; }
.vcard-tag { align-self: flex-start; margin-left: auto; padding: 1px 8px; border-radius: 999px; background: var(--chip); font-size: 11.5px; color: var(--ink-2); }
.vcard-now { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 5px; margin-top: 8px; color: var(--ink-2); }
.vcard-now .favicon { width: 13px; height: 13px; }
.vsteps { height: 100px; margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--line-2); overflow: hidden; }
.vsteps li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 9px; height: 24px; font-weight: 500; white-space: nowrap; }
.vsteps li.new { animation: settle 0.4s var(--ease) backwards; }
.vsteps li > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
.vsteps .jstep-dot { width: 9px; height: 9px; }
.vsteps li[data-kind] .jstep-dot { border-color: var(--accent); background: var(--accent); }
.vsteps li[data-kind='sale'] .jstep-dot { border-color: var(--up); background: var(--up); }
.vsteps small { font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--muted); }
.avatar-md { width: 36px; height: 36px; }
.avatar-md::after { inset: 11px; }

.live { max-width: 480px; margin-top: 12px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); font-size: 13px; }
.live-head strong { font-family: var(--mono); font-size: 15px; font-weight: 500; }
/* five rows tall from the start, so the page doesn't move as the replay fills and empties */
.feed { height: 285px; overflow: hidden; }
.lrow { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: start; height: 57px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; line-height: 1.4; }
.lrow-new { animation: settle 0.5s var(--ease) both; }
.lrow-text { min-width: 0; }
.lrow-what { display: block; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow-what strong { font-weight: 600; color: var(--ink); }
.lrow-meta { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.lrow-meta .favicon { width: 13px; height: 13px; }
.lrow-when { padding-top: 1px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lrow[data-kind] .lrow-when::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
.lrow[data-kind='sale'] .lrow-when::before { background: var(--up); }
.avatar-sm { width: 26px; height: 26px; }
.avatar-sm::after { inset: 8px; }

.chapter table { width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.chapter caption { padding-bottom: 10px; font-size: 12px; color: var(--muted); text-align: left; }
.chapter :is(th, td) { padding: 10px 0 10px 16px; border-bottom: 1px solid var(--line-2); font-weight: 500; text-align: right; }
.chapter :is(th, td):first-child { padding-left: 0; text-align: left; }
.chapter thead th { padding-top: 0; padding-bottom: 6px; border-color: var(--line-strong); font-size: 12px; font-weight: 400; color: var(--muted); }

/* the Project page's App users block: four numbers, each with what it's out of */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; margin-top: 18px; }
.stats > div { display: flex; flex-direction: column; }
.stats dt { font-size: 13px; color: var(--ink-2); }
.stats dd { font-size: 12.5px; color: var(--muted); }
.stats .stat-v { margin: 2px 0 4px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }

.projects { border-top: 1px solid var(--line-strong); }
.projects li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 84px; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.projects svg { width: 18px; height: 18px; fill: var(--ink); }
.projects svg[fill='none'] { fill: none; }
.pj-name { display: flex; flex-direction: column; font-weight: 550; overflow-wrap: anywhere; }
.pj-name small, .pj-money small { font-size: 12px; font-weight: 400; color: var(--muted); }
.pj-on { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-money { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pj-total { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); }

/* the dashboard's funnel chart (.fc in the app's globals.css), without the live parts */
.fc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); font-size: 13px; }
.fc-top h3 { font-size: 14px; font-weight: 600; }
.fc-sentence { margin: 10px 0 18px; color: var(--muted); }
.fc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fc-row > * { position: relative; display: flex; flex-direction: column; min-width: 0; padding-right: 24px; }
.fc-count { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fc-label { color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-chart { position: relative; isolation: isolate; height: 88px; margin: 14px 0 12px; }
.fc-chart > div { padding: 0; }
.fc-chart svg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; padding: 0; fill: var(--bar); }
.fc-bar { position: absolute; left: 0; top: 50%; width: 58%; border-radius: 6px; transform: translateY(-50%); background: var(--ink-2); }
.fc-shares > div { font-size: 13px; }
.fc-pct { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fc-rate { color: var(--muted); }
.fc-rate[data-leak] { color: var(--down); }
.fc-rate[data-leak]::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; }
.fc-arrow, .fc-short { display: none; }
.fc-chart .fc-leak { fill: color-mix(in srgb, var(--down) 22%, transparent); }
.fc-shares .fc-pct + .fc-of { display: block; }


/* --- motion ------------------------------------------------------------------------------------
   On load the hero rises in, a line at a time (CSS alone, so it needs no script). Further down, page.js marks the
   page .motion, each chapter .in as it comes on screen (its parts rise in one after the other) and .seen once it's
   properly reached (the funnel's bars grow from nothing and the numbers count up). Without the script, or with reduced motion, everything just shows. */
@keyframes rise { from { opacity: 0; translate: 0 14px; } }
.hero-text > *, .demo, .you { animation: rise 0.7s var(--ease) both; }
.hero-text > h1 { animation-delay: 0.08s; }
.hero-text > .summary { animation-delay: 0.2s; }
.hero-text > .hero-go, .hero-text > .hero-agent { animation-delay: 0.3s; }
.demo { animation-delay: 0.25s; }
.you { animation-delay: 0.35s; }
.motion .chapter:not(.hero) > * { opacity: 0; translate: 0 18px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 0.09s); }
.motion .chapter:not(.hero) > :nth-child(2) { --i: 1; }
.motion .chapter:not(.hero) > :nth-child(3) { --i: 2; }
.motion .chapter:not(.hero) > :nth-child(n + 4) { --i: 3; }
.motion .chapter.in > * { opacity: 1; translate: none; }
.motion .fc-bar { transition: scale 0.9s var(--ease) calc(0.35s + var(--n, 0) * 0.16s); }
.motion .fc-chart > :nth-child(2) { --n: 1; }
.motion .fc-chart > :nth-child(3) { --n: 2; }
.motion .fc-chart > :nth-child(4) { --n: 3; }
.motion .fc-chart svg { transition: opacity 0.8s ease 1s; }
.motion .chapter:not(.seen) .fc-bar { scale: 1 0; }
.motion .chapter:not(.seen) .fc-chart svg { opacity: 0; }

/* between a laptop and a tablet: narrower words, a smaller phone, so the Live cards stay beside it */
@media (max-width: 1180px) {
  .hero { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 36px; }
  .demo { gap: 18px; }
  .demo-phone { zoom: 0.86; }
  .demo-side { flex-basis: 250px; }
}
@media (max-width: 960px) {
  /* one column: the chapters, then the visit they added up to, then the sign-up */
  .story { display: block; }
  /* one column, in the order the phone reads it: the claim, the replay, then what it means and the button */
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 12px 0 48px; }
  .hero-text { display: contents; }
  .hero-for { order: 1; } .hero h1 { order: 2; } .demo { order: 3; margin-top: 28px; } .hero .summary { order: 4; } .hero-go { order: 5; } .hero-agent { order: 6; } .hero-private { order: 7; }
  .chapter { padding: 44px 0 52px; }
  .you { position: static; max-height: none; margin: 0 0 8px; }
  .jsteps { overflow: visible; }
  .you { max-width: 520px; }
}
@media (max-width: 640px) {
  .page { padding: 0 16px; }
  .summary { font-size: 16px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcard { position: static; width: auto; margin: 4px 0 20px; }
  .fc-row > * { padding-right: 12px; }
  .fc-of { display: none; }
  .fc-label { white-space: normal; line-height: 1.3; } /* two short lines beat a cut-off step name */
  .fc-arrow, .fc-short { display: inline; }
  .jstep { grid-template-columns: 56px 14px minmax(0, 1fr) auto; }
  /* the phone smaller, and the Live card over its lower half */
  .demo { display: block; }
  .demo-phone { zoom: 0.8; margin: 0 auto; }
  .demo-side { position: relative; z-index: 1; margin-top: -170px; }
  .hero-go .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 420px) {
}
@media (prefers-reduced-motion: reduce) {
  .ping::before, .globe-face, .globe-marker.blip .globe-ping, .globe-marker.followed .globe-ring, .vcard, .vsteps li.new, .jstep-new, .lrow-new, .hero-text > *, .demo, .you, [class*='demo-at'] { animation: none; }
  .demo-track { animation: none; translate: 0 -75%; }
  html { scroll-behavior: auto; }
}

/* one line: who made it, and the legal pages */
.foot { padding: 28px 0 36px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.foot-links { white-space: nowrap; }
@media (max-width: 640px) { .foot-links { display: block; } .foot-dot { display: none; } }
.foot a { display: inline-block; padding: 12px 2px; color: var(--ink-2); text-underline-offset: 3px; }

/* two-tone headings: the claim, then a grey line that finishes it */
.h2-more { flex-basis: 100%; margin-top: 4px; font-size: 0.7em; font-weight: 500; letter-spacing: -0.02em; color: light-dark(#7a7a72, #8f8f87); }


/* the founder price: one card, the price and a dot for each of the 10 places; a hand-written note on its corner points
   at the dots that are left */
.founder { position: relative; width: fit-content; max-width: 100%; margin-top: 46px; }
.founder-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 18px 22px; border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: var(--radius); background: var(--card); box-shadow: 0 16px 40px -28px rgb(21 21 21 / 0.3); }
.founder-main { display: flex; flex-direction: column; gap: 2px; max-width: 370px; }
.founder-label { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-text); }
.founder-price { margin-top: 2px; font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; }
.founder-price s { margin-right: 6px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; color: var(--muted); text-decoration-thickness: 1.5px; }
.founder-price small { font-size: 16px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.founder-what { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.founder-gets { display: flex; flex-wrap: wrap; gap: 5px 16px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); }
.founder-gets li { display: inline-flex; align-items: center; gap: 6px; }
.founder-gets li::before { content: ''; width: 10px; height: 6px; border: solid var(--up); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -2px; }
.founder-spots { display: grid; grid-template-columns: repeat(5, 12px); gap: 8px; }
.founder-spots i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.founder-spots i[data-taken] { background: var(--line-strong); box-shadow: none; }
/* the hero's line points down to it */
.hero-go a:not(.btn) { white-space: nowrap; color: var(--accent-text); font-weight: 500; text-underline-offset: 3px; }
.hand { position: absolute; right: -6px; top: -42px; display: flex; align-items: flex-start; gap: 4px; font-family: Caveat, cursive; font-size: 26px; font-weight: 500; line-height: 1; color: var(--accent-text); white-space: nowrap; transform: rotate(-4deg); pointer-events: none; }
.hand svg { flex: none; width: 34px; height: 32px; margin-top: 4px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  .founder { width: auto; }
  /* the dots go under the price here, so the note is a tag on the corner, without its arrow */
  .hand { right: 4px; top: -30px; }
  .hand svg { display: none; }
  .start-go .btn { flex: 1 1 100%; justify-content: center; }
}

/* Why tinydt: the list it was built to, each with the marks of what it means, then the people who asked on X */
/* the first app, named: its own icon, and a link to its site in a new tab */
.why-app { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.why-app:hover { text-decoration-color: currentColor; }
.why-app img { width: 0.8em; height: 0.8em; margin-right: 0.18em; border-radius: 0.2em; vertical-align: -0.06em; }
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 22px 0 26px; }
.why-list li { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.why-list b { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.why-icons { display: flex; align-items: center; gap: 6px; height: 18px; }
.why-icons svg { width: 16px; height: 16px; fill: var(--ink); }
.why-icons svg[fill='none'], .why-icons .g-line { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-icons img { width: 16px; height: 16px; border-radius: 4px; }
.why-live { width: 9px; height: 9px; margin: 0 3px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.why-ver { padding: 0 6px; border-radius: 99px; background: var(--chip); font-family: var(--mono); font-size: 11px; line-height: 18px; color: var(--ink); }
.replies { columns: 2; column-gap: 14px; margin-top: 18px; }
.replies li { break-inside: avoid; margin-bottom: 14px; }
.replies a { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 12px 30px -24px rgb(21 21 21 / 0.35); transition: border-color 0.15s; }
.replies a:hover { border-color: var(--line-strong); }
.reply-who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.reply-who > img:first-child { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--chip); }
.reply-who b { font-weight: 600; }
.reply-who .muted { flex: 1; min-width: 0; }
.reply-x { flex: none; width: 14px; height: 14px; border-radius: 3px; }
.reply-said { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.45; }
.reply-told { font-style: italic; color: var(--ink-2); }
.why-sign { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.why-sign b { display: block; color: var(--ink); font-weight: 600; }
.why-me { display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.why-me img { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--chip); }
.why-me:hover b { text-decoration: underline; text-underline-offset: 3px; }
.why-hand { font-family: Caveat, cursive; font-size: 26px; font-weight: 500; line-height: 1; color: var(--accent-text); transform: rotate(-3deg); transform-origin: left; }
@media (max-width: 640px) {
  /* two short columns: the names and their marks, without the line under each */
  .why-list { column-gap: 16px; }
  .why-list li > span:last-child { display: none; }
  .why-list b { font-size: 14px; }
  .replies { columns: 1; }
}

/* --- What you add: the three clients' first lines, and what's kept about users ------------------- */
.add-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.add-what { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin-bottom: 10px; font-size: 13.5px; color: var(--muted); }
.add-what b { font-size: 15px; font-weight: 600; color: var(--ink); }
.add-list pre { margin: 0; padding: 12px 14px; overflow-x: auto; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; line-height: 1.6; color: var(--ink); }
.add-paste { white-space: pre-wrap; overflow-wrap: anywhere; }
.add-h3 { margin-top: 36px; font-size: 15px; font-weight: 600; }
.add-privacy { margin: 10px 0 0; padding-left: 18px; list-style: disc; color: var(--ink-2); }
.add-privacy li { padding: 3px 0; }
#add .fine a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .add-list pre { padding: 10px 12px; font-size: 11.5px; }
}

/* the journey's replay, still: a screen picture with the tap, and the player beside it */
.rp { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.rp-phone { width: 230px; height: 470px; }
.rp-page { height: 100%; }
.rp-page .demo-opt { position: relative; }
.rp-tap { position: absolute; right: 3.5px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: rgb(21 21 21 / 0.14); box-shadow: 0 0 0 2px rgb(21 21 21 / 0.35); animation: rp-tap 1.6s ease-out infinite; }
@keyframes rp-tap { 0% { scale: 0.4; opacity: 1; } 70%, 100% { scale: 1.3; opacity: 0; } }
.rp-card { flex: 1 1 300px; min-width: 0; }
.rp-live { padding: 2px 9px; border: 1px solid var(--line); border-radius: 99px; }
.rp-steps li[data-now] { margin: 0 -8px; padding: 4px 8px; border-radius: 8px; background: var(--chip); font-weight: 600; }
.rp-steps li[data-now] i { border-color: var(--accent); background: var(--accent); }
.rp-bar { height: 6px; margin: 10px 0 8px; border-radius: 3px; background: var(--line-2); }
.rp-bar i { display: block; width: 25%; height: 100%; border-radius: 3px; background: var(--ink-2); }
.rp-controls { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.rp-time { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

/* the project page's App Store block: stars and the latest reviews */
.stars { font-size: 15px; letter-spacing: 1px; color: var(--ink); vertical-align: 3px; }
.stars span { color: var(--line-strong); }
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.reviews article { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: 13.5px; }
.reviews h3 { margin-top: 4px; font-size: 14.5px; font-weight: 600; }
.reviews p { color: var(--ink-2); }
.reviews .muted { margin-top: 4px; font-size: 12px; }
@media (max-width: 640px) { .reviews { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .rp-tap { animation: none; opacity: 0.6; } }

/* See the demo (app.tinydt.com/demo): beside Start free, quieter; and each example's way into the demo */
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.to-demo { white-space: nowrap; color: var(--ink); text-underline-offset: 2px; }

/* the demo tour's modal: the app's /demo framed over the page; a sheet from the bottom on a phone */
.tour-modal { width: min(1180px, calc(100vw - 48px)); height: min(880px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 20px; background: var(--bg); box-shadow: 0 40px 90px -30px rgb(0 0 0 / 0.55); overflow: hidden; }
.tour-modal::backdrop { background: rgb(21 21 21 / 0.45); }
.tour-modal iframe { display: block; width: 100%; height: 100%; border: 0; }
.tour-x { position: absolute; top: 14px; right: 14px; z-index: 1; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font: 400 26px/1 inherit; cursor: pointer; }
.tour-x:hover { background: var(--chip); color: var(--ink); }
@media (max-width: 640px) {
  .tour-modal { width: 100vw; height: calc(100dvh - 24px); margin: auto 0 0; border-radius: 20px 20px 0 0; }
}

/* private first: said plainly where the replay is */
.private { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.private svg { flex: none; margin-top: 2px; color: var(--ink); }
.private b { color: var(--ink); font-weight: 600; }
