/* Lost Tribes
   One typeface (Mona Sans), two grounds (night and paper), one accent.
   Sections: hero · product · records · generations · sources · trust · pricing · questions · end */

@font-face { font-family: Mona; src: url(/fonts/mona-sans-wdth.woff2) format("woff2-variations"); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --bg: #13110f;
  --panel: #1b1916;
  --raise: #23201c;
  --text: #f4eee6;
  --muted: rgba(244, 238, 230, .7);
  --faint: rgba(244, 238, 230, .45);
  --line: rgba(244, 238, 230, .12);
  --accent: #f2b38a;
  --mark: rgba(242, 179, 138, .28);
  --amber: #e0a23c;
  --page: min(1200px, 100% - 48px);
  --gap: 160px;
  --r: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 50px 120px -60px rgba(0, 0, 0, .9);
}
.paper {
  --bg: #f3eee6;
  --panel: #fbf8f3;
  --raise: #ffffff;
  --text: #17150f;
  --muted: rgba(23, 21, 15, .66);
  --faint: rgba(23, 21, 15, .42);
  --line: rgba(23, 21, 15, .11);
  --accent: #b0532a;
  --mark: rgba(176, 83, 42, .16);
  --amber: #9a6a07;
  --shadow: 0 0 0 1px rgba(23, 21, 15, .07), 0 30px 70px -40px rgba(23, 21, 15, .35);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 Mona, system-ui, sans-serif; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2 { font-weight: 500; font-stretch: 108%; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.4vw, 60px); }
h3 { font-size: 18px; font-weight: 560; letter-spacing: -.015em; }
p, li, dd, summary { text-wrap: pretty; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
svg.ck, .ck svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

main > section { width: var(--page); margin: 0 auto; padding-top: var(--gap); }
main > section > h2 { margin-bottom: 56px; }
main > .paper { background: var(--bg); color: var(--text); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(-2px -100vmax); }
main > .paper:not(:has(+ .paper)) { padding-bottom: var(--gap); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--text); color: var(--bg); font: 560 15px/1 Mona, sans-serif; font-stretch: 104%; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: #fff; }
.paper .btn:hover { background: #000; }
.btn:active { transform: scale(.98); }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-light { background: #f4eee6; color: #13110f; }
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* small pills used inside product views */
.k, .u { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 560; white-space: nowrap; }
.k { background: var(--text); color: var(--bg); transition: background .3s, box-shadow .3s; }
.u { box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.k svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- nav: a floating glass bar that stays with you ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-in { pointer-events: auto; position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(1120px, 100% - 28px); height: 60px; margin: 0 auto; padding: 0 10px 0 22px; border-radius: 999px;
  background: rgba(30, 27, 24, 0); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0); transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.nav.scrolled .nav-in { background: rgba(30, 27, 24, .52); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px rgba(255, 255, 255, .09), 0 18px 40px -18px rgba(0, 0, 0, .55); }
.nav.light .nav-in { background: rgba(255, 252, 247, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 0 0 1px rgba(23, 21, 15, .08), 0 18px 40px -22px rgba(23, 21, 15, .35); }
.nav img { height: 22px; width: auto; transition: filter .3s; }
.nav.light img { filter: invert(1) brightness(.15); }
.nav nav { position: relative; display: flex; gap: 2px; }
.nav nav a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: rgba(244, 238, 230, .78); transition: color .25s; }
.nav nav a:hover, .nav nav a.on { color: #fff; }
.nav.light nav a { color: rgba(23, 21, 15, .62); }
.nav.light nav a:hover, .nav.light nav a.on { color: #17150f; }
.ind { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12); opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; }
.nav.light .ind { background: rgba(23, 21, 15, .06); box-shadow: inset 0 0 0 1px rgba(23, 21, 15, .05); }
.nav .btn { justify-self: end; height: 40px; }
.nav.light .btn { background: #17150f; color: #f4eee6; }
.nav.light .btn:hover { background: #000; }
main > section[id] { scroll-margin-top: 90px; }

/* ---------- hero ---------- */
main > .hero { position: relative; isolation: isolate; width: 100%; padding: 200px 24px 0; text-align: center; overflow: hidden; }
.sky { position: absolute; inset: 0 0 auto; width: 100%; height: 1100px; object-fit: cover; object-position: 50% 100%; z-index: -2; will-change: transform; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 280px; z-index: -1; background: linear-gradient(rgba(19, 17, 15, 0), var(--bg)); pointer-events: none; }
.hero h1 { font-size: clamp(54px, 7vw, 100px); line-height: .96; letter-spacing: -.05em; color: #fff; }
.hero > p { max-width: 540px; margin: 28px auto 36px; font-size: 19px; color: rgba(255, 255, 255, .88); }

/* papers behind the reader, like a box of family records */
.stack { position: relative; width: min(1200px, 100%); height: 0; margin: 0 auto; }
.pg { position: absolute; top: 96px; width: 34%; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.pg1 { left: -3%; transform: rotate(-7deg); }
.pg2 { right: -3%; top: 70px; transform: rotate(6deg); }

/* the reader */
.read { position: relative; display: grid; grid-template-columns: 1.6fr 1fr; width: min(1200px, 100%); margin: 120px auto 0; padding: 8px; border-radius: var(--r); text-align: left;
  background: rgba(27, 25, 22, .78); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 120px -40px rgba(0, 0, 0, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
 }
.letter { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 15px; background: #efebe2; }
.letter img { width: 100%; height: 100%; object-fit: cover; }
.box { position: absolute; border-radius: 4px; box-shadow: 0 0 0 1.5px #d96f3a; background: rgba(217, 111, 58, .1); transition: opacity .5s var(--ease), transform .6s var(--ease), background .2s; }
.box.unclear { box-shadow: 0 0 0 1.5px #b57f12; background: rgba(181, 127, 18, .1); }
.found { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 28px; }
.found li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; white-space: nowrap; cursor: default; transition: opacity .5s var(--ease), transform .6s var(--ease), color .2s; }
.found li.unclear { color: var(--amber); }
.found .btn { align-self: flex-start; margin-top: 24px; transition: opacity .5s var(--ease), background .2s; }
.found .btn.done { background: var(--accent); }
.found li.hot { color: var(--accent); }
.found li.unclear.hot { color: var(--amber); }
.box.hot { background: rgba(217, 111, 58, .24); }
.box.unclear.hot { background: rgba(181, 127, 18, .24); }
.js .read .box, .js .read .found li, .js .read .found .btn { opacity: 0; }
.js .read .box { transform: scale(.97); } .js .read .found li { transform: translateY(6px); }
.js .read.on .box, .js .read.on .found li, .js .read.on .found .btn { opacity: 1; transform: none; }
.read .found li:nth-child(1), .read .box[data-k="2"] { transition-delay: .5s; }
.read .found li:nth-child(2), .read .box[data-k="1"] { transition-delay: .9s; }
.read .found li:nth-child(3), .read .box[data-k="3"] { transition-delay: 1.3s; }
.read .found li:nth-child(4), .read .box[data-k="4"] { transition-delay: 1.7s; }
.read .found .btn { transition-delay: 2.2s; }
.read.ready .box, .read.ready .found li, .read.ready .found .btn { transition-delay: 0s; }

/* ---------- product: pinned, the run follows the scroll ---------- */
main > .product { height: 320vh; padding-top: 0; margin-top: 80px; }
.pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.ph { margin-bottom: 36px; }
.stage { position: relative; isolation: isolate; padding: 40px; border-radius: 28px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.stage-im { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; z-index: -1; filter: saturate(.9); }
.app { display: grid; grid-template-columns: 220px 1fr 300px; height: min(560px, calc(100vh - 300px)); overflow: hidden; border-radius: 16px; background: #171513; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px -30px rgba(0, 0, 0, .8); font-size: 14px; }
.app .bar { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-bottom: 1px solid var(--line); font-weight: 560; }
.side, .srcs { background: #141210; }
.side { display: flex; flex-direction: column; gap: 20px; padding: 18px 14px; border-right: 1px solid var(--line); }
.ws { display: flex; align-items: center; gap: 10px; padding: 0 6px; font-weight: 560; }
.ws img { width: 14px; height: 14px; }
.ask { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 10px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); }
.ask kbd { font: inherit; font-size: 12px; }
.side nav, .hist { display: flex; flex-direction: column; gap: 2px; }
.hist { padding-top: 16px; border-top: 1px solid var(--line); }
.side span { padding: 7px 10px; border-radius: 7px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side span.on { color: var(--text); background: rgba(244, 238, 230, .07); }
.chat { display: flex; flex-direction: column; min-width: 0; }
.st { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 400; color: var(--accent); }
.st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st em { font-style: normal; }
.app.done .st { color: var(--muted); }
.msgs { flex: 1; display: flex; flex-direction: column; gap: 18px; padding: 24px 28px; overflow: hidden; }
.q { align-self: flex-end; padding: 10px 14px; border-radius: 12px; background: rgba(244, 238, 230, .08); }
.steps { display: grid; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); white-space: nowrap; }
.steps small { margin-left: auto; font-size: 12.5px; color: var(--faint); }
.steps svg { width: 14px; height: 14px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ans { max-width: 560px; font-size: 19px; line-height: 1.5; letter-spacing: -.012em; }
.ans sup { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: 4px; border-radius: 5px; background: rgba(242, 179, 138, .16); color: var(--accent); font: 560 11px/1 Mona, sans-serif; vertical-align: 4px; }
.prop { display: flex; align-items: center; gap: 8px; max-width: 560px; padding: 14px 14px 14px 18px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.prop div { flex: 1; } .prop small { display: block; font-size: 12px; color: var(--muted); } .prop b { font-weight: 560; }
.app.kept .prop .k { background: var(--accent); box-shadow: 0 0 0 4px rgba(242, 179, 138, .18); }
.input { display: flex; justify-content: space-between; align-items: center; height: 46px; margin: 0 28px 24px; padding: 0 6px 0 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); color: var(--faint); }
.input span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(244, 238, 230, .1); }
.input svg { width: 14px; height: 14px; fill: none; stroke: var(--text); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.srcs { display: flex; flex-direction: column; gap: 12px; border-left: 1px solid var(--line); }
.sc { margin: 0 14px; padding: 14px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s; }
.sc b { display: flex; align-items: center; gap: 8px; font-weight: 560; white-space: nowrap; }
.sc b i, .t-src i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: rgba(244, 238, 230, .1); font: 560 11px/1 Mona, sans-serif; font-style: normal; }
.sc small { display: block; margin: 2px 0 10px 26px; font-size: 12px; color: var(--muted); white-space: nowrap; }
.sc p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.sc mark { background: linear-gradient(var(--mark), var(--mark)) 0 0 / 0 100% no-repeat; padding: 0; transition: background-size .8s var(--ease); }
.app.cited .sc mark, html:not(.js) .sc mark { background-size: 100% 100%; }
.app.cited .sc { box-shadow: inset 0 0 0 1px rgba(242, 179, 138, .35); }
.js .app .steps li, .js .app .ans, .js .app .prop { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .app .steps li.on, .js .app.answered .ans, .js .app.proposed .prop { opacity: 1; transform: none; }

/* ---------- records: seven objects, each the thing itself ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards article { display: flex; flex-direction: column; padding: 8px 8px 22px; border-radius: var(--r); background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
.cards article.wide { grid-column: span 2; }
.cards h3, .tcards h3 { margin: 20px 14px 0; font-size: 18px; white-space: nowrap; }
.viz { position: relative; isolation: isolate; height: 340px; overflow: hidden; border-radius: 14px; background: var(--bg); }
.viz > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cards article:hover .viz > img { transform: scale(1.04); }

/* old handwriting: the line, found and set in type */
.v-hand .sv { position: absolute; left: -1%; top: -6%; width: max(118%, 560px); transform-origin: 0 0; transition: transform 1.4s var(--ease); }
.v-hand .sv img { width: 100%; height: auto; }
.v-hand .sv span { position: absolute; left: 1.5%; top: 24.5%; width: 50.5%; height: 6.5%; border: 1.5px solid var(--accent); border-radius: 3px; }
.js .v-hand .sv span { clip-path: inset(0 100% 0 0); transition: clip-path 1s .2s var(--ease); }
.js article.in .v-hand .sv span { clip-path: inset(0 0 0 0); }
.cards article:hover .v-hand .sv { transform: scale(1.025); }
.v-hand .lead { display: none; }
.tx { position: absolute; left: 24px; bottom: 24px; padding: 14px 20px 15px; background: var(--raise); box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(23, 21, 15, .08); font-size: 24px; font-weight: 500; font-stretch: 108%; letter-spacing: -.03em; }
.js .tx { opacity: 0; transform: translateY(8px); transition: opacity .6s 1s var(--ease), transform .8s 1s var(--ease); }
.js article.in .tx { opacity: 1; transform: none; }

/* record search: the match, on a library index card */
.v-card { display: grid; place-items: center; }
.v-card > img { filter: brightness(.82) sepia(.25); }
.ic { position: relative; width: 252px; padding: 18px 18px 30px; transform: rotate(-3deg); transition: transform .8s var(--ease); font-size: 14px; color: #2b2721;
  background: #fbf7ee repeating-linear-gradient(transparent 0 27px, rgba(70, 110, 170, .22) 27px 28px) 0 46px / 100% calc(100% - 46px) no-repeat;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .12), 0 24px 40px -18px rgba(0, 0, 0, .55); }
.ic::before { content: ""; position: absolute; left: 0; right: 0; top: 45px; height: 1.5px; background: rgba(196, 72, 52, .55); }
.ic p { display: flex; justify-content: space-between; height: 28px; line-height: 28px; white-space: nowrap; }
.ic p:first-child { height: 30px; margin-bottom: 0; }
.ic b { font-weight: 560; font-size: 15px; }
.ic span { font-size: 12px; color: rgba(43, 39, 33, .5); font-variant-numeric: tabular-nums; }
.ic i { position: absolute; left: 50%; bottom: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #6b6257; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.cards article:hover .ic { transform: rotate(0deg) translateY(-6px); }
.js .ic { opacity: 0; transform: rotate(-3deg) translateY(30px); transition: opacity .7s .15s var(--ease), transform 1s .15s var(--ease); }
.js article.in .ic { opacity: 1; transform: rotate(-3deg); }
.js article.in:hover .ic { transform: rotate(0deg) translateY(-6px); }

/* every spelling: a type specimen */
.v-spec { display: flex; flex-direction: column; justify-content: center; padding: 0 26px; }
.v-spec p { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 0 7px; border-bottom: 1px solid var(--line); font-size: 34px; font-weight: 500; font-stretch: 112%; letter-spacing: -.035em; line-height: 1.05; color: var(--faint); transition: color .4s, padding .6s var(--ease); }
.v-spec p:last-child { border-bottom: 0; }
.v-spec p.on { color: var(--text); }
.v-spec p::after { content: counter(v, decimal-leading-zero); counter-increment: v; font-size: 12px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--faint); }
.v-spec { counter-reset: v; }
.cards article:hover .v-spec p:not(.on) { color: var(--muted); padding-left: 8px; }
.js .v-spec p { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .4s, padding .6s var(--ease); }
.js article.in .v-spec p { opacity: 1; transform: none; }
.js article.in .v-spec p:nth-child(2) { transition-delay: .08s; } .js article.in .v-spec p:nth-child(3) { transition-delay: .16s; }
.js article.in .v-spec p:nth-child(4) { transition-delay: .24s; } .js article.in .v-spec p:nth-child(5) { transition-delay: .32s; }
.cards article:hover .v-spec p { transition-delay: 0s; }

/* whole households: a printed register form */
.v-house { display: flex; align-items: center; padding: 0 22px; }
.v-house table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.v-house th { padding: 0 0 12px; border-bottom: 1.5px solid var(--text); font-size: 11px; font-weight: 560; letter-spacing: .08em; text-transform: uppercase; text-align: left; color: var(--muted); }
.v-house td { padding: 15px 0; border-bottom: 1px solid var(--line); white-space: nowrap; color: var(--muted); }
.v-house td:first-child { color: var(--text); font-weight: 500; }
.v-house th:last-child, .v-house td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.v-house tr.on td:first-child span { background: linear-gradient(var(--mark), var(--mark)) 0 62% / 100% 46% no-repeat; }
.js .v-house tr.on td:first-child span { background-size: 0 46%; transition: background-size .8s .9s var(--ease); }
.js article.in .v-house tr.on td:first-child span { background-size: 100% 46%; }
.js .v-house tbody tr { opacity: 0; transition: opacity .6s var(--ease); }
.js article.in .v-house tbody tr { opacity: 1; }
.js article.in .v-house tbody tr:nth-child(2) { transition-delay: .2s; } .js article.in .v-house tbody tr:nth-child(3) { transition-delay: .4s; }

/* a life in order: a portrait and three dates */
.v-life { display: grid; grid-template-columns: 44% 1fr; }
.v-life > img { position: static; z-index: 0; grid-row: 1; object-position: 62% 40%; filter: sepia(.15); }
.v-life ol { position: relative; align-self: center; display: grid; gap: 22px; padding: 0 20px 0 42px; }
.v-life ol::before, .v-life ol::after { content: ""; position: absolute; left: 24px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.v-life ol::after { background: var(--text); transform-origin: top; transform: scaleY(var(--p, 1)); transition: transform 1.4s .2s var(--ease); }
.js .v-life ol { --p: 0; } .js article.in .v-life ol { --p: 1; }
.v-life li { position: relative; display: grid; font-size: 14px; color: var(--muted); white-space: nowrap; }
.v-life li::before { content: ""; position: absolute; left: -22px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--text); }
.v-life li b { font-size: 26px; font-weight: 500; font-stretch: 108%; letter-spacing: -.03em; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.js .v-life li { opacity: 0; transition: opacity .6s var(--ease); }
.js article.in .v-life li { opacity: 1; }
.js article.in .v-life li:nth-child(2) { transition-delay: .5s; } .js article.in .v-life li:nth-child(3) { transition-delay: 1s; }

/* follow-up questions: one question leads to the next */
.v-follow { display: flex; align-items: center; padding: 0 22px; }
.v-follow ol { width: 100%; }
.v-follow li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; letter-spacing: -.01em; color: var(--faint); white-space: nowrap; transition: color .5s; }
.v-follow li:first-child { border-top: 1.5px solid var(--text); }
.v-follow li span { font-size: 12px; line-height: 22px; font-variant-numeric: tabular-nums; }
.v-follow li.on { color: var(--text); }
.v-follow li.on span { color: var(--accent); }
.cards article:hover .v-follow li:hover { color: var(--text); }

/* read aloud: the line, lit word by word */
.v-read { background: #1a1712; }
.v-read > img { opacity: .06; filter: grayscale(1) contrast(1.2); object-position: 50% 30%; }

.player { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 34px; padding: 0 56px; color: #f4eee6; }
.words { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; letter-spacing: -.025em; font-weight: 500; font-stretch: 108%; text-wrap: balance; }
.words span { color: rgba(244, 238, 230, .3); transition: color .35s; }
.words span.on { color: #f4eee6; }
.ctl { display: flex; align-items: center; gap: 18px; }
.ctl b { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(244, 238, 230, .4); transition: background .3s; }
.ctl b svg { width: 12px; height: 12px; fill: #f4eee6; margin-left: 2px; }
.cards article:hover .ctl b { background: rgba(244, 238, 230, .1); }
.ctl i { flex: 1; height: 1px; background: rgba(244, 238, 230, .22); }
.ctl em { display: block; height: 100%; width: var(--p, 60%); background: #f4eee6; transition: width .42s linear; }
html:not(.js) .words span { color: #f4eee6; }

/* ---------- generations: a full-bleed photograph ---------- */
main > .gens { position: relative; isolation: isolate; width: 100%; padding: 0; min-height: 860px; display: flex; align-items: flex-end; overflow: hidden; }
.gens-im { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 78%; z-index: -1; will-change: transform; }
.gens::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg), rgba(19, 17, 15, 0) 26%, rgba(19, 17, 15, 0) 62%, rgba(19, 17, 15, .55)); }
.gens-in { width: var(--page); margin: 0 auto; padding-bottom: 80px; display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: end; }
.gens-in h2 { margin-bottom: 24px; color: #fff; white-space: nowrap; }
.num { display: block; font-weight: 500; font-stretch: 108%; font-size: clamp(96px, 13vw, 200px); line-height: .85; letter-spacing: -.06em; color: #fff; }
.gens dl { padding: 8px 24px; border-radius: 18px; background: rgba(19, 17, 15, .5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.gens dl div { display: flex; justify-content: space-between; align-items: baseline; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gens dl div:last-child { border-bottom: 0; }
.gens dt { color: rgba(255, 255, 255, .72); white-space: nowrap; }
.gens dd { font-size: 26px; font-weight: 500; letter-spacing: -.03em; color: #fff; }

/* ---------- sources: the tree in a field of rings ---------- */
.field { position: relative; isolation: isolate; padding: 56px 48px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.field::before { content: ""; position: absolute; left: -380px; top: 50%; width: 1200px; height: 1200px; margin-top: -600px; z-index: -1; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 119px, rgba(244, 238, 230, .06) 119px 120px); -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }
.tree { position: relative; }
.tree svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tree path { fill: none; stroke: rgba(244, 238, 230, .2); stroke-width: 1.5; transition: stroke .25s; }
.tree path.on { stroke: var(--accent); }
.tree ol { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.tree li { display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.p { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--raise); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(0, 0, 0, .7); cursor: default; transition: opacity .25s, box-shadow .25s; }
.p i { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(244, 238, 230, .08); font: 560 12px/1 Mona, sans-serif; font-style: normal; color: var(--muted); }
.p b { font-weight: 560; white-space: nowrap; }
.p span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.p.you { grid-template-columns: 1fr; background: var(--text); color: var(--bg); box-shadow: none; }
.p.you i { display: none; }
.p.new { box-shadow: inset 0 0 0 1.5px var(--accent), 0 20px 40px -24px rgba(0, 0, 0, .7); }
.p.new i { background: rgba(242, 179, 138, .16); color: var(--accent); }
.tree.trace .p { opacity: .3; }
.tree.trace .p.on { opacity: 1; }
.js .tree path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease), stroke .25s; }
.js .tree.in path { stroke-dashoffset: 0; }

/* ---------- trust: three principles, each shown on the record itself ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tcards li { display: flex; flex-direction: column; padding: 8px 8px 22px; border-radius: var(--r); background: var(--raise); box-shadow: 0 0 0 1px var(--line); }
.tv { position: relative; isolation: isolate; height: 300px; overflow: hidden; border-radius: 15px; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.tv > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.tcards li:hover .tv > img { transform: scale(1.09); }
.t-src > img { object-position: 0 20%; }
.t-src .g, .t-open .g3 span, .t-unc .g2 span { background: var(--raise); box-shadow: 0 1px 1px rgba(0, 0, 0, .1), 0 20px 36px -20px rgba(0, 0, 0, .5); }
.t-src .g { padding: 16px 18px; border-radius: 6px; }
.t-src small, .t-src .g small { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.t-src small i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: rgba(23, 21, 15, .08); font-size: 11px; font-weight: 560; font-style: normal; }
.t-src p { margin-top: 8px; font-size: 19px; letter-spacing: -.015em; }
.t-unc > img { filter: brightness(.7); }
.t-unc { justify-content: center; }
.g2 { display: grid; justify-items: center; gap: 0; }
.g2 span { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 13px 16px; border-radius: 6px; font-size: 14px; color: var(--muted); outline: 1.5px dashed rgba(154, 106, 7, .7); outline-offset: -1.5px; }
.g2 b { font-weight: 560; color: var(--text); }
.g2 i { position: relative; display: grid; place-items: center; width: 28px; height: 28px; margin: -3px 0; z-index: 1; border-radius: 50%; background: var(--raise); color: var(--amber); font-size: 14px; font-weight: 600; font-style: normal; box-shadow: inset 0 0 0 1.5px var(--amber); }
.g3 { display: grid; gap: 8px; }
.g3 span { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 6px; font-size: 14px; white-space: nowrap; transition: transform .5s var(--ease); }
.g3 span::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--faint); }
.g3 span.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.g3 span.done::before { display: none; }
.g3 span.done svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g3 span:nth-child(2) { background: #fff; box-shadow: 0 0 0 1.5px var(--accent), 0 24px 44px -20px rgba(23, 21, 15, .55); }
.tcards li:hover .g3 span:nth-child(2) { transform: translateY(-3px); }

/* ---------- pricing: three plans ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: var(--raise); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.tier:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(23, 21, 15, .1), 0 40px 80px -40px rgba(23, 21, 15, .45); }
.tier.featured { box-shadow: 0 0 0 1.5px var(--text), 0 40px 80px -40px rgba(23, 21, 15, .45); }
.tier > img { width: 100%; height: 132px; object-fit: cover; object-position: 50% 35%; }
.tier-b { display: flex; flex-direction: column; padding: 32px 32px 36px; }
.tier h3 { font-size: 26px; font-weight: 500; letter-spacing: -.03em; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 32px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); }
.price b { font-size: 64px; font-weight: 500; font-stretch: 108%; letter-spacing: -.055em; line-height: 1; color: var(--text); }
.tier .btn { justify-content: center; gap: 10px; width: 100%; }
.tier ul { margin-top: 32px; }
.tier li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 16px; white-space: nowrap; }
.tier li svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- questions ---------- */
main > .faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq > h2 { position: sticky; top: 64px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 500; letter-spacing: -.012em; white-space: nowrap; cursor: pointer; list-style: none; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { padding: 0 48px 24px 0; font-size: 16.5px; color: var(--muted); }

/* ---------- end ---------- */
main > .end { position: relative; isolation: isolate; margin-top: var(--gap); padding: 64px 56px; min-height: 560px; overflow: hidden; border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.end > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -1; will-change: transform; }
.end h2 { color: #fff; }
.end-card { position: absolute; right: 56px; bottom: 56px; width: 440px; display: grid; grid-template-columns: 1fr auto auto; gap: 6px 8px; align-items: center; padding: 18px; border-radius: 16px;
  background: rgba(27, 25, 22, .72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -20px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.end-card small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.end-card b { grid-column: 1 / -1; margin-bottom: 8px; font-weight: 560; }
.end-card .k { grid-column: 2; } .end-card .u { grid-column: 3; }

/* ---------- footer ---------- */
.foot { width: var(--page); margin: 0 auto; padding: 96px 0 40px; color: var(--muted); font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line); }
.foot-logo img { height: 22px; width: auto; }
.foot h4 { margin: 0 0 14px; font-size: 14px; font-weight: 560; color: var(--text); }
.foot nav a { display: block; padding: 5px 0; transition: color .2s; }
.foot nav a:hover { color: var(--text); }
.foot-b { padding-top: 28px; font-size: 14px; color: var(--faint); }

/* ---------- 404 ---------- */
main > .missing { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; padding-top: 0; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  main > .product { height: auto; } .pin { position: static; height: auto; }
}

/* ---------- tablet ---------- */
@media (max-width: 900px) {
  :root { --gap: 112px; }
  main > .hero { padding: 150px 20px 0; }
  .sky { height: 760px; }
  .stack { display: none; }
  .read { grid-template-columns: 1fr; margin-top: 72px; }
  .found { padding: 20px; }
  .found li { white-space: normal; }
  main > .product { height: auto; margin-top: 0; padding-top: var(--gap); }
  .pin { position: static; height: auto; }
  .stage { padding: 14px; border-radius: 22px; }
  .app { grid-template-columns: 1fr; height: auto; }
  .side { display: none; }
  .srcs { border-left: 0; border-top: 1px solid var(--line); padding-bottom: 14px; }
  .msgs { padding: 20px; } .input { margin: 0 20px 20px; }
  .steps li { white-space: normal; }
  .cards, .tcards { grid-template-columns: 1fr; } .cards article.wide { grid-column: auto; } .viz { height: 260px; }
  main > .gens { min-height: 0; padding-top: 360px; }
  .gens-in { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .field { padding: 20px; }
  .field::before { display: none; }
  .tree ol { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tree svg { display: none; }
  .p span { white-space: normal; }
  .tiers { grid-template-columns: 1fr; }
  main > .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq > h2 { position: static; }
  main > .end { padding: 40px 28px; min-height: 620px; }
  .end-card { left: 20px; right: 20px; bottom: 20px; width: auto; }
  .nav nav { display: none; }
  .nav-in { grid-template-columns: 1fr auto; height: 56px; padding: 0 8px 0 18px; }
  .foot-in { grid-template-columns: 1fr 1fr 1fr; }
  .foot-logo { grid-column: 1 / -1; margin-bottom: 8px; }
}

/* ---------- phone ---------- */
@media (max-width: 560px) {
  .hero h1 { font-size: 46px; }
  h1 br, main > section h2 br { display: none; }
  .gens-in h2 { white-space: normal; }
  .tree ol { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; white-space: normal; }
  .player { padding: 0 24px; gap: 24px; }
  .tx { left: 16px; bottom: 16px; font-size: 19px; }
  .v-spec p { font-size: 30px; }
}
.end-card b { white-space: nowrap; } @media (max-width: 560px) { .end-card b { white-space: normal; } }

/* ---------- hover and press ---------- */
.btn { box-shadow: 0 0 0 0 rgba(244, 238, 230, 0); transition: background .2s, box-shadow .3s var(--ease), transform .2s var(--ease); }
.btn:hover { box-shadow: 0 0 0 4px rgba(244, 238, 230, .14); }
.paper .btn:hover, .nav.light .btn:hover { box-shadow: 0 0 0 4px rgba(23, 21, 15, .1); }
.cards article, .tcards li { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cards article:hover, .tcards li:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(23, 21, 15, .16), 0 30px 60px -40px rgba(23, 21, 15, .4); }
.faq details { transition: background .25s; border-radius: 0; }
.faq summary { padding-left: 0; transition: color .2s, padding .35s var(--ease); }
.faq summary:hover { padding-left: 8px; }
.foot nav a { width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .35s var(--ease); }
.foot nav a:hover { background-size: 100% 1px; }
.found li { transition: color .2s, padding .3s var(--ease), opacity .5s var(--ease), transform .6s var(--ease); }
.found li:hover { padding-left: 6px; }
.p { transition: opacity .25s, box-shadow .25s, transform .35s var(--ease); }
.p:hover { transform: translateY(-2px); }
@media (hover: none) { .cards article:hover, .tcards li:hover, .p:hover { transform: none; } }

/* ---------- arrows ---------- */
.btn svg, .foot nav a svg { width: 13px; height: 13px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn:hover svg, .foot nav a:hover svg { transform: translate(2px, -2px); }
.foot nav a svg { display: inline-block; width: 11px; height: 11px; margin-left: 6px; opacity: .6; vertical-align: 0; }
.btn.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(23, 21, 15, .22); }
.btn.btn-line:hover { background: var(--text); color: var(--bg); box-shadow: inset 0 0 0 1px var(--text), 0 0 0 4px rgba(23, 21, 15, .08); }
