/*
 * The landing, v2 (the Designer's final vibe-landing-takeover.html; the owner via the Designer: "make the site look extremely good and
 * elegant"; A's TASK 6615950689), the landing page's own stylesheet beside site.css. Ported: the prototype's inline styles are classes,
 * its fonts the site's own self-hosted Sora and JetBrains Mono (both variable, 100 to 800: Sora 300 and Mono 500 are there; no other
 * host), its script src/app/landing.ts. One 12-column measure, 1200 max with a 16 px floor gutter. The hero tilts back as panel 2 rises
 * (the owner's pick, 8); every panel after slides up over the last. With no script or with reduced motion: stacked, fully drawn.
 */
.tk-page {
  --tk-ink: #0B0C0A; --tk-ink2: #121310; --tk-ink3: #1A1C18; --tk-paper: #F6F7F2;
  --tk-lime: #C6F432; --tk-up: #12E36D; --tk-down: #FF4D4D;
  --tk-muted: #8E9386; --tk-line: #262922;
  --tk-up-l: #0A7339; --tk-down-l: #BF2626; --tk-muted-l: #5C6156;
  --tk-risk: #E5484D; --tk-macro: #3B82F6; --tk-filings: #D97706;
  --tk-gx: max(16px, env(safe-area-inset-left, 0px)); --tk-gxr: max(16px, env(safe-area-inset-right, 0px));
  background: var(--tk-ink); color: var(--tk-paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.tk-page a { color: inherit; }
.tk-svg-figure { font-family: var(--font-figure); }

/* the top bar: a ground of its own, the ink at 88% under a blur, one tone over every panel (owner 8 Nov review item 13) */
.tk-topbar { position: fixed; z-index: 60; inset: 0 0 auto; background: rgb(11 12 10 / 0.88); -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--tk-line);
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--tk-gxr) 14px var(--tk-gx); }
.tk-topbar-in { width: min(1200px, 100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
/* the lockup on Night (site.css .vm-lockup; style guide p.5, owner 9 Nov) */
.tk-page { --wm-strong: #F7F8F3; --wm-soft: #8F9486; }
.tk-nav { display: flex; align-items: center; gap: 8px; }
.tk-nav a { font-size: 14px; text-decoration: none; padding: 10px 14px; border-radius: 22px; color: var(--tk-paper); }
.tk-nav .tk-pill { background: var(--tk-lime); color: var(--tk-ink); font-weight: 600; }
.tk-nav a:focus-visible, .tk-mark:focus-visible { outline: 2px solid var(--tk-paper); outline-offset: 3px; }
/* the side dots: which panel is on screen */
.tk-dots { position: fixed; z-index: 60; right: calc(var(--tk-gxr) + 2px); top: 50%; transform: translateY(-50%); display: grid; gap: 10px;
  mix-blend-mode: difference; pointer-events: none; }
.tk-dots i { pointer-events: auto; cursor: pointer; display: block; width: 6px; height: 6px; border-radius: 3px; background: #fff; opacity: 0.3; transition: height 0.35s, opacity 0.35s; }
.tk-dots i.on { height: 22px; opacity: 1; }
.tk-dots.tk-on-light { mix-blend-mode: normal; }   /* ink drawn as ink: the difference blend would turn it pale on paper */
.tk-dots.tk-on-light i { background: var(--tk-ink); }
/* 44 px targets (review 8 Nov, 24) */
.tk-page .tk-mark { min-height: 44px; }
.tk-nav a { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
/* a phone (06, 15): Sign in in the pill's slot; the hero keeps its invite. No Sign in (anon site): the pill */
@media (max-width: 640px) {
  .tk-dots { display: none; }
  .tk-nav .tk-ghost, .tk-nav .tk-pill { display: none; }
  .tk-nav :is(.tk-ghost[href="/app/"], .tk-pill:not([href="/app/"] ~ *)) { display: inline-flex; }
}

/* the panels: by default plain, at least one screen tall and never clipped (Bmin's P1-1 on #54). The takeover stack, the sink and the
   tilt are only for a frame 700 px tall or more with motion allowed, once the script has armed the page: the media block below */
.tk-stack { position: relative; }
/* owner 8 Nov review item 10: the browser scrolls, momentum and all; a proximity snap rests the page on each panel */
html:has(.tk-stack) { scroll-snap-type: y proximity; }
.tk-panel {
  position: relative; min-height: 100vh; min-height: 100svh; box-sizing: border-box;
  display: grid; align-content: center;
  padding-block: clamp(84px, 11vh, 120px) clamp(40px, 7vh, 80px); padding-left: var(--tk-gx); padding-right: var(--tk-gxr);
  border-radius: 32px 32px 0 0; box-shadow: 0 -30px 80px rgba(0, 0, 0, 0.45);
  scroll-snap-align: start;
}
.tk-panel:first-child { border-radius: 0; box-shadow: none; }
.tk-w { width: min(1200px, 100%); margin: 0 auto; min-width: 0; }
.tk-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .tk-split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.tk-col { display: grid; gap: clamp(18px, 3vh, 28px); min-width: 0; }
.tk-dark { background: var(--tk-ink); color: var(--tk-paper); }
.tk-ink2 { background: var(--tk-ink2); color: var(--tk-paper); }
.tk-paper { background: var(--tk-paper); color: var(--tk-ink); }
.tk-lime { background: var(--tk-lime); color: var(--tk-ink); }

.tk-eyebrow { font-family: var(--font-figure); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.tk-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.6; }
.tk-eyebrow-muted { color: var(--tk-muted); }
.tk-eyebrow-muted-l { color: var(--tk-muted-l); }
.tk-h1, .tk-h2, .tk-wordmark { margin: 0; font-family: var(--font-text); letter-spacing: -0.05em; line-height: 0.92; text-wrap: balance; font-weight: 800; }
/* the prototype's 8.6vw (132 max) runs "happened" at 800 into the chart beside it at 1440; 6.2vw (108 max) keeps it in its 5 columns */
.tk-h1 { font-size: clamp(46px, 6.2vw, 108px); }
.tk-h2 { font-size: clamp(38px, 6vw, 92px); }
.tk-h2-sm { font-size: clamp(30px, 4.2vw, 58px); }
.tk-lt { font-weight: 300; letter-spacing: -0.045em; }
.tk-lead { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; max-width: 34ch; opacity: 0.72; margin: 0; }
/* what the app does, three plain lines (item 07) */
.tk-how { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; line-height: 1.4; max-width: 44ch; }
.tk-how li { padding-left: 18px; position: relative; }
.tk-how li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 8px; height: 2px; background: var(--tk-lime); }
/* .tk-page .tk-cta, as the mark: its ink must beat .tk-page a (color: inherit), or the words go pale on the lime */
.tk-page .tk-cta { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 10px 0 26px; border-radius: 27px; font-weight: 600; font-size: 16px;
  text-decoration: none; background: var(--tk-lime); color: var(--tk-ink); justify-self: start; transition: transform 0.25s; }
.tk-cta b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 18px; background: var(--tk-ink); color: var(--tk-lime); font-weight: 600; }
.tk-cta:hover { transform: translateY(-2px); }
.tk-cta:focus-visible { outline: 2px solid var(--tk-paper); outline-offset: 3px; }

/* the hero */
.tk-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .tk-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.tk-hero-copy { display: grid; gap: clamp(20px, 3.4vh, 32px); min-width: 0; }
.tk-chartbox { position: relative; min-width: 0; }
.tk-hero-chart { width: 100%; height: auto; display: block; overflow: visible; }
/* below 820 px the hero fits one screen, so the tilt starts on the first scroll (the Designer, on the live beta: A's NOTE 6616202691):
   a smaller h1, 16 px gaps, and the chart above the CTA at 34svh (its lines carry their names: no legend) */
@media (max-width: 820px) {
  .tk-hero-grid { gap: 16px; }
  .tk-hero-copy { display: contents; }
  .tk-hero-copy > .tk-eyebrow { order: 1; }
  .tk-hero-copy > .tk-h1 { order: 2; font-size: clamp(40px, 11vw, 64px); }
  .tk-hero-copy > .tk-lead, .tk-hero-copy > .tk-how { order: 3; }
  .tk-how { font-size: 14px; gap: 4px; }
  .tk-chartbox { order: 4; display: grid; gap: 8px; }
  .tk-hero-copy > .tk-cta { order: 5; }
  .tk-hero-chart { max-height: 34svh; width: 100%; }
}
/* on a phone the chart scales down (0.536 at 375): 24 draws the four grey labels at 12.9 px and 26 the two end figures at 13.9
   (owner 8 Nov review item 12: 12 px at least). Wider, the 13 and 18 stand */
@media (max-width: 640px) { .tk-hero-chart .tk-grey-label { font-size: 24px; } .tk-hero-chart .tk-end-figure { font-size: 26px; } }
.tk-hero-chart .draw { --dur: 0.6s; }
.tk-glow { filter: drop-shadow(0 0 10px currentColor); }
.tk-glow-up { color: var(--tk-up); }
.tk-glow-down { color: var(--tk-down); }
/* the Counting hero (v3, the owner's pick 1): the count in Mono 600, lime, tabular, 3ch wide and right-aligned, so "before" never moves */
.tk-count { display: inline-block; min-width: 3ch; text-align: right; font-family: var(--font-figure); font-weight: 600; letter-spacing: 0;
  font-variant-numeric: tabular-nums; color: var(--tk-lime); }
/* the 79 past days, drawn at their resting .13 (.26 at half the group's opacity): the draw-in starts them at .26 and dims them once the
   two bold lines are in */
.tk-past { opacity: 0.5; }

/* the hero's draw-in on load: only once the script arms it (motion allowed); before, and without it, everything is drawn. The whole
   chart in about 1.5 s, each label with its line (owner 8 Nov review item 12): today's line 0 to 0.6 s with "now" and "30 days"; past
   day j from 0.5 + 0.008j s over 0.4 s (its delay set by the script), the count rolling with them, with "past days" and "+5d"; the
   past days dim from 1.1 s; the two bold lines 0.9 to 1.5 s, their end figures with them */
@keyframes tk-draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes tk-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tk-ring { 0% { r: 7; opacity: 0.6; } 100% { r: 30; opacity: 0; } }
@keyframes tk-dim { from { opacity: 1; } to { opacity: 0.5; } }
.tk-anim .draw { stroke-dasharray: var(--len); animation: tk-draw var(--dur, 1s) cubic-bezier(0.3, 0.7, 0.2, 1) var(--d, 0s) both; }
.tk-anim .fade { animation: tk-fade 0.7s ease var(--d, 0s) both; }
.tk-anim .tk-ring { animation: tk-ring 1.8s ease-out 0.6s 2 both; }
.tk-anim .tk-past { animation: tk-dim 0.4s linear 1.1s both; }
.tk-anim .tk-past path { stroke-dasharray: var(--len); animation: tk-draw 0.4s cubic-bezier(0.33, 1, 0.68, 1) var(--d, 0.5s) both; }
.tk-ring { opacity: 0; }
/* focus never sits in a hero not drawn yet */
.tk-anim:focus-within .draw, .tk-anim:focus-within .fade { animation: none; }
.tk-anim:focus-within .tk-past, .tk-anim:focus-within .tk-past path { animation: none; }

/* the hand-over: the owner's pick, 8 "Tilt back". Off by default (the stage is no box, the room not there): the two are plain panels.
   The script adds .tk-tilt when motion is allowed and sets --p (0 to 1, eased) on the stage. */
.tk-stage { display: contents; }
.tk-room { display: none; }
@media (prefers-reduced-motion: no-preference) and (min-height: 700px) {
  /* the takeover stack: one screen each, sticky; the next slides up over the last, which sinks back by --sink */
  .tk-armed .tk-panel {
    position: sticky; top: 0;
    height: 100vh; height: 100svh; overflow: hidden;
    contain: paint;   /* each panel paints alone: no half-painted frame on a slower phone (A's NOTE 6616202691) */
    scroll-snap-align: none;
    transform-origin: 50% 0;
    transform: scale(calc(1 - var(--sink, 0) * 0.07));
    filter: brightness(calc(1 - var(--sink, 0) * 0.5));
  }
  .tk-tilt .tk-stage { display: block; position: sticky; top: 0; height: 100vh; height: 100svh; perspective: 1400px; overflow: hidden; }
  .tk-tilt .tk-room { display: block; height: 220vh; }
  .tk-tilt .tk-stage > .tk-panel { position: absolute; inset: 0; height: auto; }
  /* the rests (item 10) are the room's five marks, as a sticky panel's snap place is where it sticks: the hero, 79× (the room's foot
     less a frame), then the three covers, a frame apart */
  .tk-tilt .tk-room { position: relative; }
  .tk-tilt .tk-room i { position: absolute; left: 0; width: 1px; height: 100svh; scroll-snap-align: start; }
  .tk-tilt .tk-room i:nth-child(1) { top: -100svh; }
  .tk-tilt .tk-room i:nth-child(2) { top: calc(100% - 100svh); }
  .tk-tilt .tk-room i:nth-child(3) { top: 100%; }
  .tk-tilt .tk-room i:nth-child(4) { top: calc(100% + 100svh); }
  .tk-tilt .tk-room i:nth-child(5) { top: calc(100% + 200svh); }
  /* no half-painted frame on a slower phone (A's NOTE 6616202691): the tilted layers keep their back faces out of the paint */
  .tk-tilt #hero, .tk-tilt #today { backface-visibility: hidden; }
  .tk-tilt #hero {
    transform-origin: 50% 0;
    transform: translateY(calc(-18% * var(--p, 0))) rotateX(calc(38deg * var(--p, 0))) scale(calc(1 - 0.22 * var(--p, 0)));
    opacity: calc(1 - 0.75 * var(--p, 0));
    filter: none;
  }
  /* the hand-over done (p is 1): the hero is gone, so the sinking panel 2 never shows it behind (the Planner's P3 on #52) */
  .tk-tilt .tk-handed > #hero { visibility: hidden; }
  .tk-tilt #today {
    z-index: 1;
    transform-origin: 50% 100%;
    transform: translateY(calc((1 - var(--p, 0)) * 100%)) rotateX(calc(-24deg * (1 - var(--p, 0)))) scale(calc(1 - var(--sink, 0) * 0.07));
    border-radius: calc(32px * (1 - var(--p, 0))) calc(32px * (1 - var(--p, 0))) 0 0;
  }
}
/* under 700 px tall with motion allowed (A's TASK 6623104644): #51's entrance. Each panel after the hero fades and lifts in, in 600 ms,
   once landing.ts marks it tk-in as it comes in (tk-enter-js: the script is watching). Reduced motion or no script: nothing hidden */
@media (prefers-reduced-motion: no-preference) and (max-height: 699.98px) {
  .tk-enter-js .tk-panel:not(#hero) > * { transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
  .tk-enter-js .tk-panel:not(#hero):not(.tk-in) > * { opacity: 0; transform: translateY(40px); }
  /* focus never sits in a panel with nothing drawn; last, so it wins */
  .tk-stack .tk-panel:not(#hero):focus-within > * { opacity: 1; transform: none; }
}

/* panel 2: 79× and its barcode (v3, the owner's pick 4). The head (the count left, the line right) over a strip the full measure wide;
   one column under 820. It fits a 700 px frame, where the takeover clips a panel to one screen */
.tk-bc { display: grid; gap: clamp(20px, 4vh, 44px); }
.tk-bc-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
@media (max-width: 820px) { .tk-bc-head { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.tk-figure { display: grid; gap: 6px; }
.tk-figure-n { font-family: var(--font-figure); font-weight: 500; font-size: clamp(84px, 15vw, 220px); letter-spacing: -0.06em; line-height: 0.8; }
.tk-figure-u { font-family: var(--font-figure); font-size: 13px; color: var(--tk-muted-l); letter-spacing: 0.04em; }
.tk-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-figure); font-size: 13px; color: var(--tk-muted-l); }
.tk-down-l { color: var(--tk-down-l); }
.tk-up-l { color: var(--tk-up-l); }
/* the strip: its title, the share up and down at the left, the day read at the right, the plot, the years. About 260 px tall at 1440 and
   200 at 390 */
.tk-strip { display: grid; gap: 10px; min-width: 0; }
.tk-strip-title { margin: 0; font-family: var(--font-text); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; line-height: 1.2; }
/* the share and the readout share a row while they fit; at 200% text on a phone the readout drops under the share, never cut (H's P2-1
   on #57) */
.tk-strip-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; row-gap: 4px;
  font-family: var(--font-figure); }
.tk-strip-sum { margin: 0; display: flex; gap: 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tk-strip-read { margin: 0; display: flex; gap: 10px; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-strip-day { color: var(--tk-muted-l); }
.tk-strip-move { font-weight: 600; }
/* touch-action: a finger's sideways drag reads the days, its up-and-down still scrolls the page */
.tk-strip-plot { position: relative; height: clamp(150px, 14.6vw, 210px); touch-action: pan-y; border-radius: 4px; }
.tk-strip-plot:focus-visible { outline: 2px solid var(--tk-ink); outline-offset: 4px; }
/* the plot stretches to its box (preserveAspectRatio none); every line keeps its own width in pixels */
.tk-barcode { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.tk-barcode line, .tk-barcode path { vector-effect: non-scaling-stroke; }
.tk-strip-ring { position: absolute; display: none; left: calc(var(--rx, 0) * 1%); top: calc(var(--ry, 50) * 1%); width: 10px; height: 10px;
  box-sizing: border-box; border: 1.5px solid var(--tk-ink); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.tk-strip-ring.on { display: block; }
/* the years under the strip, each at its first day on the strip's scale (mid-2005 to 2027) */
.tk-years { position: relative; height: 16px; font-family: var(--font-figure); font-size: 12px; color: var(--tk-muted-l); }
.tk-years span { position: absolute; top: 0; transform: translateX(-50%); }
.tk-years span:nth-child(1) { left: 2.34%; }
.tk-years span:nth-child(2) { left: 20.94%; }
.tk-years span:nth-child(3) { left: 39.55%; }
.tk-years span:nth-child(4) { left: 58.15%; }
.tk-years span:nth-child(5) { left: 76.75%; }
.tk-years span:nth-child(6) { left: 95.35%; }

/* panel 3: the owner's pick 6, "Gap fill" (landing v3). site/index.html draws the final state; with motion allowed landingReplay.ts
   plays it once the panel is fully in */
.tk-figures { display: flex; gap: 28px; flex-wrap: wrap; font-family: var(--font-figure); font-size: 15px; }
.tk-figures b { font-size: 28px; letter-spacing: -0.03em; }
.tk-faint { opacity: 0.6; }
.tk-replay { width: 100%; height: auto; display: block; overflow: visible; }
/* on a phone the chart takes the frame's rest, about 60% of it (item 14: the script stretches its drawing to the box), the figures one
   row, and its labels draw at 23 (12.3 px) */
@media (max-width: 640px) {
  .tk-replay text { font-size: 23px; }
  .tk-replay.tk-fill { height: calc(100svh - 322px); min-height: 240px; }
  .tk-lime .tk-split { gap: 16px; }
  .tk-figures { gap: 16px; font-size: 13px; }
  .tk-figures b { font-size: 22px; }
}

/* panel 4: the owner's pick 8, "Carousel" (landing v3). By default, with no script and with reduced motion, v2's static row: three
   across, and on a phone a stack whose cards read glyph, name and figure, drawing */
.tk-widgets { display: grid; gap: clamp(24px, 5vh, 48px); }
/* the eyebrow over its heading, on its left edge (owner 8 Nov review item 20) */
.tk-head { display: grid; justify-items: start; gap: clamp(18px, 3vh, 28px); }
.tk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); }
.tk-card { box-sizing: border-box; display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 10px; min-height: clamp(200px, 40vh, 380px);
  padding: clamp(18px, 2.2vw, 28px); border-radius: 20px; background: var(--tk-ink3); border: 1px solid var(--tk-line);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6); container-type: inline-size; }
.tk-card-g { width: 40px; height: 40px; }
.tk-card-n { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; }
/* the figure is 44 where the card has room for it (at 340 px wide), and never wider than the card: "CPI 3.2%" is 4.8em of mono */
.tk-card-v { font-family: var(--font-figure); font-weight: 600; font-size: 36px; font-size: min(44px, 18cqw); line-height: 1; letter-spacing: -0.02em; }
/* each card's one line (items 18 and 19) */
.tk-card-d { margin: 0; font-size: 14px; line-height: 1.4; color: var(--tk-muted); }
.tk-card-art { width: 100%; height: auto; align-self: end; max-height: 150px; }
.tk-risk { color: var(--tk-risk); }
.tk-macro { color: var(--tk-macro); }
.tk-filings { color: var(--tk-filings); }
@media (max-width: 640px) {
  .tk-cards { grid-template-columns: minmax(0, 1fr); }
  .tk-card { min-height: 0; grid-template-columns: auto minmax(0, 1fr) 90px; grid-template-rows: auto auto auto; align-items: center; column-gap: 14px; row-gap: 4px; }
  .tk-card-g { grid-area: 1 / 1 / 3 / 2; width: 30px; height: 30px; }
  .tk-card-d { grid-area: 3 / 1 / 4 / 4; }
  .tk-card-n { grid-area: 1 / 2; font-size: 17px; }
  .tk-card-v { grid-area: 2 / 2; font-size: 22px; }
  .tk-card-art { grid-area: 1 / 3 / 3 / 4; max-height: 56px; }
}
/* the turn (.tk-turn, armed by landingCarousel.ts; never with reduced motion): the cards share one cell under an 1100 px perspective,
   each 1.45 times as tall as wide, or taller where its words need it. At offset u (--u, |u| as --a) a card moves aside by 115% of its
   width, back 140 px and turns 30° per step; --o its opacity, --zi its z-index. The cell clips the cards beside it at the measure */
@media (prefers-reduced-motion: no-preference) {
  .tk-cards.tk-turn { grid-template-columns: minmax(0, 1fr); place-items: center; perspective: 1100px; overflow: hidden;
    padding-block: 28px; margin-block: -28px; touch-action: pan-y; border-radius: 24px; }
  .tk-turn .tk-card { grid-area: 1 / 1; width: clamp(240px, min(26vw, calc((100vh - 330px) / 1.45)), 340px);
    width: clamp(240px, min(26vw, calc((100svh - 330px) / 1.45)), 340px); aspect-ratio: 1 / 1.45; min-height: auto;
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto 1fr; align-items: start; gap: 10px;
    transform: translateX(calc(var(--u, 0) * 115%)) translateZ(calc(var(--a, 0) * -140px)) rotateY(calc(var(--u, 0) * -30deg));
    opacity: var(--o, 1); z-index: var(--zi, 10); user-select: none; -webkit-user-select: none; }
  .tk-turn .tk-card > * { grid-area: auto; }
  .tk-turn .tk-card-g { width: 40px; height: 40px; }
  .tk-turn .tk-card-n { font-size: 22px; }
  .tk-turn .tk-card-v { font-size: 36px; font-size: min(44px, 18cqw); }
  .tk-turn .tk-card-art { align-self: end; max-height: none; }
  .tk-turn .tk-card:not(.tk-front) { cursor: pointer; }
  .tk-cards.tk-turn:focus-visible { outline: 2px solid var(--tk-paper); outline-offset: -2px; }
  /* on a phone (item 18): the cards beside the front one at full strength, and a pager under them */
  @media (max-width: 640px) {
    .tk-turn .tk-card { opacity: clamp(0, calc(var(--o, 1) / 0.55), 1); }
    .tk-turn + .tk-pager { display: flex; justify-content: center; gap: 8px; }
  }
}
.tk-pager { display: none; }
.tk-pager i { width: 6px; height: 6px; border-radius: 3px; background: var(--tk-paper); opacity: 0.3; transition: width 0.3s, opacity 0.3s; }
.tk-pager i.on { width: 22px; opacity: 1; }

/* the last panel: the wordmark, what the app gives, the invite form (invite.css; it was "Invites open soon" for the old email field, review 8 Nov, 01 and 05), the footer */
.tk-final-in { display: grid; gap: clamp(24px, 5vh, 48px); }
.tk-wordmark { font-size: clamp(64px, 15vw, 240px); letter-spacing: 0; line-height: 0.95; font-weight: 700; color: var(--wm-strong); }
.tk-wordmark .tk-lt { font-weight: 400; letter-spacing: 0; color: var(--wm-soft); }
.tk-invite { display: grid; gap: 8px; max-width: 520px; }
.tk-invite-what { margin: 0; font-size: 17px; line-height: 1.5; color: var(--tk-muted); }
.tk-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-text); font-size: 12px; color: var(--tk-muted);
  border-top: 1px solid var(--tk-line); padding-top: 18px; }
.tk-foot-note { margin: 0; max-width: 72ch; line-height: 1.6; }
/* Privacy, Terms (08): plain words while pending (build.mjs OWNER_PENDING) */
.tk-foot-links { margin: 0; line-height: 1.6; }
.tk-foot-links a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -12px; color: var(--tk-paper); }
.tk-copy { white-space: nowrap; }

/* the 404 (the Designer's beta check, A's TASK 6626636253): one dark panel under the landing's top bar, one screen even at 390x664;
   the hero's today line at 40%, in from the left to its now-dot and no further; "404" in the figure face, "Page not found" light */
.tk-404 { min-height: 100vh; min-height: 100svh; box-sizing: border-box; display: grid; grid-template-rows: 1fr auto; gap: 24px;
  padding: clamp(84px, 11vh, 120px) var(--tk-gxr) 20px var(--tk-gx); background: var(--tk-ink); color: var(--tk-paper); }
.tk-404-in { width: min(1200px, 100%); margin: 0 auto; align-self: center; display: grid; gap: clamp(14px, 2.6vh, 24px); }
.tk-404-line { display: block; width: 100%; height: auto; opacity: 0.4; }
.tk-404-code { margin: 0; font-family: var(--font-figure); font-weight: 600; font-size: clamp(96px, 18vw, 200px); line-height: 0.9;
  letter-spacing: -0.04em; color: var(--tk-paper); }
.tk-404-title { margin: 0; font-family: var(--font-text); font-weight: 300; font-size: clamp(28px, 4vw, 40px); line-height: 1.1;
  letter-spacing: -0.02em; }
.tk-404-foot { width: min(1200px, 100%); margin: 0 auto; }

@media (prefers-reduced-motion: no-preference) { html:has(.tk-stack) { scroll-behavior: smooth; } }
@media (max-width: 767px) { .tk-foot-links { flex-basis: 100%; } }
