/* The owner-OK'd landing's CSS (Q-191, D-269): web/src/components/landing-margin/landing.css on claude/join-gaps (7b4770ed),
   lines 13-600 copied unchanged. Left out: lines 3-11 (a reset against the app's Tailwind globals; this page has none, so it
   already sits on the browser defaults the design was made on) and lines 601-736 (the pinned email scene, not on this page).
   The only edit: next/font's variables (--lp-geist and friends) are set to the same woff2 files through @font-face below. */
@font-face { font-family: "Geist"; src: url("fonts/geist-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url("fonts/geist-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin.woff2") format("woff2"); font-weight: 100 900; font-display: block;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: block;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
.lp { --lp-geist: "Geist"; --lp-geist-ext: "Geist"; --lp-geist-mono: "Geist Mono"; --lp-geist-mono-ext: "Geist Mono"; }

/* CEMA landing page (round 3: the whole page, one version per width). Layout: Attio's home-page order and grid (1392 box, 24 px sides), in Margin.
   Colours, type, radii and spacing: vault/approved/margin-brand/tokens.css, unchanged (OK14, R01).
   Motion: vault/research/U9 Attio motion.md part 1 and part 5.1. The landing is always light (D-237 Q3). */
.lp {
  /* Margin, light (tokens.css:4-21) */
  --bg: #FFFFFF; --surface: #F7F7F8; --sunken: #F0F1F3; --border: #E3E4E8; --border-strong: #CDD0D6;
  --text: #101114; --text-2: #4B505B; --text-3: #646A78;
  --primary: #101114; --on-primary: #FFFFFF;
  --accent: #0B7A55; --accent-tint: #E7F4EE; --accent-ink: #0A5F43;
  --warn-tint: #FFF4E0; --warn-ink: #8A5100;
  /* primary hover: Margin's own dark --sunken (tokens.css:39); no new colour */
  --primary-hover: #1D2025;
  --font-sans: var(--lp-geist), var(--lp-geist-ext), ui-sans-serif, system-ui, sans-serif;
  --font-mono: var(--lp-geist-mono), var(--lp-geist-mono-ext), ui-monospace, monospace;
  --display-weight: 600; --display-track: -0.035em;
  --radius-sm: 4px; --radius-md: 6px; --radius-lg: 10px; --radius-pill: 6px;
  /* Motion, U9 part 5.1 */
  --ease-out: cubic-bezier(.33,1,.68,1);
  --ease-reveal: cubic-bezier(0,0,.58,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --ease-emph: cubic-bezier(.2,0,0,1);
  --ease-std: cubic-bezier(.4,0,.2,1);
  /* Display size: Margin's 64 px, growing to 80 px on large screens (owner, 2026-11-27, "Grow on big screens", D-239).
     64 up to 1440 wide; then the smaller of 4.444vw (80 at 1800 wide) and Attio's height rule 16px + 5.333svh (80 at 1200 tall). */
  --text-display: 64px; --text-display-max: 80px;
  --text-display-fluid: clamp(64px, min(4.444vw, calc(16px + 5.333svh)), 80px);
  --header-h: 68px; /* Attio 68 (spec-public part 0 re-measure, U9 header row); Review UI5 asked for one number */
  font-family: var(--font-sans); color: var(--text); background: var(--bg);
  font-size: 14px; line-height: 20px; min-width: 0;
  -webkit-font-smoothing: antialiased;
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); }
.lp .box { max-width: 1440px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* Header: sticky, never hides or shrinks; hairline and glass appear on scroll (U9: colours 250 ms, (.4,0,.2,1)) */
.lp .hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; height: var(--header-h);
  background: rgba(255,255,255,0); border-bottom: 1px solid rgba(227,228,232,0);
  transition: background-color 250ms var(--ease-std), border-color 250ms var(--ease-std), backdrop-filter 250ms var(--ease-std); }
.lp .hdr[data-scrolled] { background: rgba(255,255,255,.95); border-bottom-color: var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lp .hdr .box { height: 100%; display: flex; align-items: center; gap: 32px; }
.lp .logo { display: flex; align-items: center; height: 36px; flex-shrink: 0; }
.lp .logo img { height: 30px; width: auto; display: block; }
.lp .links { display: flex; gap: 4px; flex: 1; }
.lp .links a { font-weight: 500; color: var(--text-2); padding: 8px 10px; border-radius: var(--radius-pill);
  transition: color 300ms var(--ease-emph), background-color 300ms var(--ease-emph); }
.lp .links a:hover { color: var(--text); background: var(--sunken); transition-duration: 50ms; }
.lp .hdr-actions { display: flex; gap: 8px; align-items: center; }
.lp .hdr-actions .menu-btn { display: none; }

/* Buttons: 36 tall (Attio), Margin radius 6, fast in 50 ms, slow out 300 ms, (.2,0,0,1); no scale, no lift */
.lp .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: var(--radius-pill); font: 500 14px/20px var(--font-sans); white-space: nowrap; cursor: pointer; border: 1px solid transparent;
  transition: background-color 300ms var(--ease-emph), border-color 300ms var(--ease-emph), color 300ms var(--ease-emph), box-shadow 300ms var(--ease-emph); }
.lp .btn:hover { transition-duration: 50ms; }
.lp .btn-primary { background: var(--primary); color: var(--on-primary); }
.lp .btn-primary:hover { background: var(--primary-hover); }
.lp .btn-primary:active { background: var(--text-2); }
.lp .btn-secondary { background: var(--bg); color: var(--text); border-color: var(--border-strong); }
.lp .btn-secondary:hover { background: var(--sunken); }
.lp .btn-ghost { background: transparent; color: var(--text); }
.lp .btn-ghost:hover { background: var(--sunken); }
.lp .btn-lg { height: 44px; padding: 0 18px; font-size: 16px; }
/* Secondary arrow: slides 1 px and brightens, 300 ms in / 50 ms out (U9 part 2) */
.lp .arrow { display: inline-block; color: var(--text-3); transition: transform 50ms var(--ease-emph), color 50ms var(--ease-emph); }
.lp .btn:hover .arrow { transform: translateX(1px); color: var(--text); transition-duration: 300ms; }

/* Hero */
.lp .hero { padding-top: 96px; text-align: center; }
.lp .badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border: 1px solid var(--border);
  border-radius: var(--radius-pill); font-size: 13px; color: var(--text-2); background: var(--bg); }
.lp .badge b { font-weight: 500; color: var(--text); }
.lp .badge .sep { width: 1px; height: 12px; background: var(--border-strong); }
.lp h1 { font: var(--display-weight) var(--text-display-fluid)/0.95 var(--font-sans); letter-spacing: var(--display-track); margin: 36px auto 0; max-width: 820px; text-wrap: balance; }
.lp .sub { font-size: 18px; line-height: 1.3; color: var(--text-2); margin: 20px auto 0; max-width: 620px; text-wrap: pretty; }
.lp .cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lp .cta-row { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.lp .quiet { font-size: 13px; color: var(--text-3); }
.lp .quiet b { font-weight: 500; color: var(--text-2); }

/* Product window: CEMA's Review screen (spec-public 1.2), Starter honest (Review UI5 point 5) */
.lp .stage { margin-top: 56px; }
.lp .win { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); overflow: hidden; text-align: left;
  box-shadow: 0 1px 2px rgba(16,17,20,.04), 0 12px 32px -12px rgba(16,17,20,.10); }
.lp .win-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid var(--border); background: var(--surface); font-size: 12px; color: var(--text-3); }
.lp .win-bar .crumb b { color: var(--text); font-weight: 500; }
.lp .win-body { display: grid; grid-template-columns: 208px 300px minmax(0, 1fr) 296px; height: 640px; }
.lp .side { background: var(--surface); border-right: 1px solid var(--border); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.lp .side .who { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; font-weight: 500; }
.lp .side .who img { width: 20px; height: 20px; }
.lp .nav-i { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 8px; border-radius: var(--radius-sm); color: var(--text-2); }
.lp .nav-i.on { background: var(--bg); color: var(--text); font-weight: 500; box-shadow: inset 0 0 0 1px var(--border); }
.lp .count { font: 400 12px/16px var(--font-mono); color: var(--text-3); white-space: nowrap; }
.lp .grp { font: 500 12px/16px var(--font-mono); color: var(--text-3); padding: 16px 8px 6px; letter-spacing: .02em; }
.lp .chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; background: var(--sunken); color: var(--text-2); white-space: nowrap; }
.lp .chip-src { background: var(--accent-tint); color: var(--accent-ink); }
.lp .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.lp .side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-top: 1px solid var(--border); }
.lp .plan-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--text-2); }
.lp .soon { font: 500 12px/16px var(--font-mono); color: var(--text-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1px 6px; }
.lp .queue { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-width: 0; }
.lp .q-head { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--border); font-weight: 500; }
.lp .q-row { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.lp .q-row.on { background: var(--surface); box-shadow: inset 2px 0 0 var(--text); }
.lp .av { width: 32px; height: 32px; border-radius: 50%; background: var(--sunken); color: var(--text-2); font: 500 12px/32px var(--font-sans); text-align: center; }
.lp .q-name { font-weight: 500; }
.lp .q-role { font-size: 12px; color: var(--text-3); line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .q-meta { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.lp .draft { display: flex; flex-direction: column; min-width: 0; }
.lp .d-head { padding: 16px 24px 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.lp .d-to { font-size: 12px; color: var(--text-3); }
.lp .d-subj { font-weight: 600; font-size: 16px; line-height: 22px; }
.lp .d-body { padding: 16px 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 22px; flex: 1; }
.lp .d-body p { margin: 0; }
.lp .mark { border-radius: var(--radius-sm); padding: 1px 3px; margin: 0 -3px; background: var(--accent-tint); color: var(--text); }
.lp .note { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; color: var(--accent-ink); margin-top: 4px; }
.lp .note span { color: var(--text-3); }
.lp .followup { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.lp .appr { display: flex; align-items: center; gap: 8px; padding: 12px 24px; border-top: 1px solid var(--border); background: var(--surface); flex-wrap: wrap; }
.lp .appr .btn { height: 32px; font-size: 13px; padding: 0 12px; }
.lp .appr .spacer { flex: 1; }
.lp .check { position: relative; display: inline-grid; font-size: 12px; color: var(--text-2); }
.lp .check > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lp .srcs { background: var(--bg); display: flex; flex-direction: column; min-width: 0; }
.lp .s-head { height: 44px; display: flex; align-items: center; padding: 0 16px; border-bottom: 1px solid var(--border); font-weight: 500; }
.lp .s-item { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.lp .s-kind { display: flex; align-items: center; gap: 6px; font: 500 12px/16px var(--font-mono); color: var(--accent-ink); }
.lp .s-quote { font-size: 13px; line-height: 18px; color: var(--text); }
.lp .s-where { font-size: 12px; line-height: 16px; color: var(--text-3); }
.lp .q-row.wait .q-name { color: var(--text-2); }
.lp .chip-wait { background: var(--warn-tint); color: var(--warn-ink); }
.lp .rules { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.lp .rules-h { font: 500 12px/16px var(--font-mono); color: var(--text-3); }
.lp .rule { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--text-2); }
.lp .rule svg { width: 16px; height: 16px; color: var(--text); flex-shrink: 0; }
.lp .caption { margin-top: 12px; font-size: 12px; color: var(--text-3); text-align: center; }


/* Hero window, round 3: one plan in the sidebar, no price (owner, 2026-11-27); notes under lines only on phones */
.lp .grp-plan { padding: 4px 0 2px; }
.lp .plan-row { font-size: 13px; font-weight: 500; color: var(--text); }
.lp .notes { display: none; flex-direction: column; gap: 2px; }
.lp .sig { color: var(--text); }
.lp .tick, .lp .chip-st, .lp .check { display: inline-grid; }
.lp .tick > span, .lp .chip-st > span { grid-area: 1 / 1; }
.lp .tick .t4, .lp .tick .t5, .lp .chip-st .s-r { opacity: 0; }

/* Sections: Attio's rhythm (96 px apart at 1440, 64 at 390), Margin sizes only */
.lp .sec { padding-top: 120px; }
.lp .sec-head { margin-bottom: 32px; max-width: 720px; }
.lp .sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lp .sec-h { margin: 0; font: var(--display-weight) 40px/1.1 var(--font-sans); letter-spacing: var(--display-track); text-wrap: balance; }
.lp .sec-sub { margin: 12px 0 0; font-size: 18px; line-height: 26px; color: var(--text-2); max-width: 620px; text-wrap: pretty; }
.lp .grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp .ico { width: 20px; height: 20px; color: var(--text); }

/* 2. Promises band (Attio's logo-wall slot) */
.lp .band { margin-top: 96px; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp .band .box { padding-top: 56px; padding-bottom: 56px; }
.lp .card, .lp .pcard { position: relative; isolation: isolate; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.lp .card:hover, .lp .pcard:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: 0 8px 24px -16px rgba(16,17,20,.18); transition-duration: 200ms; }
.lp .card h3, .lp .pcard h3, .lp .step h3 { margin: 0; font-size: 16px; line-height: 22px; font-weight: 600; letter-spacing: -0.01em; }
.lp .card p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 20px; }
/* Pointer light (Bolder, U9 part 6): in 200 ms, out 300 ms */
.lp .glow::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), #F0F1F3, rgba(240,241,243,0) 70%);
  opacity: 0; transition: opacity 300ms var(--ease-out); }
.lp .glow:hover::before { opacity: 1; transition-duration: 200ms; }
/* Border light that travels round a card, always on (U9 part 2, "card border light": loop; speed not measured, 6 s is mine) */
@property --lp-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.lp .lit { position: relative; isolation: isolate; }
.lp .lit::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--lp-ang), rgba(16,17,20,0) 0deg, rgba(16,17,20,0) 280deg, rgba(16,17,20,.55) 320deg, rgba(16,17,20,0) 350deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lpAng 6000ms linear infinite; }
@keyframes lpAng { to { --lp-ang: 360deg; } }

/* 3. How it works: four rows; a rail marker slides to the lit step (U9 sticky section nav) */
.lp .steps { position: relative; display: flex; flex-direction: column; gap: 56px; padding-left: 28px; }
.lp .rail { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--border); }
.lp .rail-mark { position: absolute; left: 0; top: 0; width: 2px; height: var(--rail-h, 0px); background: var(--text);
  transform: translateY(var(--rail-y, 0px)); transition: transform 320ms var(--ease-out), height 320ms var(--ease-out); }
.lp .step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.lp .step-txt { display: flex; flex-direction: column; gap: 8px; max-width: 440px; }
.lp .step-txt h3 { font-size: 24px; line-height: 30px; letter-spacing: -0.02em; color: var(--text-3); transition: color 320ms var(--ease-out); }
.lp .step-txt p { margin: 0; font-size: 16px; line-height: 24px; color: var(--text-3); transition: color 320ms var(--ease-out); }
.lp .step-n { width: 28px; height: 28px; border-radius: var(--radius-md); border: 1px solid var(--border); font: 500 13px/26px var(--font-mono); text-align: center; color: var(--text-3);
  transition: background-color 320ms var(--ease-out), color 320ms var(--ease-out), border-color 320ms var(--ease-out); }
.lp .step[data-lit] .step-txt h3 { color: var(--text); }
.lp .step[data-lit] .step-txt p { color: var(--text-2); }
.lp .step[data-lit] .step-n { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.lp .mock { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; justify-content: center;
  box-shadow: 0 1px 2px rgba(16,17,20,.04), 0 12px 32px -12px rgba(16,17,20,.10); }
.lp .m-file, .lp .m-fact, .lp .m-in, .lp .m-row, .lp .m-mail { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-md); }
.lp .m-file { display: flex; align-items: center; gap: 12px; padding: 12px; }
.lp .m-t { font-weight: 500; }
.lp .m-s { font-size: 13px; line-height: 18px; color: var(--text-3); }
.lp .m-fact { display: grid; grid-template-columns: 6px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; font-size: 13px; }
.lp .m-src { font: 400 12px/16px var(--font-mono); color: var(--accent-ink); }
.lp .m-l { font-size: 13px; color: var(--text-2); font-weight: 500; }
.lp .m-in { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; }
.lp .m-in .m-l { flex-shrink: 0; }
.lp .m-ph { color: var(--text-3); font-size: 13px; }
.lp .m-in-on { border-color: var(--text); box-shadow: 0 0 0 3px var(--sunken); font-size: 16px; gap: 1px; }
.lp .typed:empty:not([data-typing])::before { content: attr(data-text); }
.lp .caret { display: inline-block; width: 1px; height: 20px; background: var(--text); animation: lpBlink 1050ms steps(1) infinite; }
@keyframes lpBlink { 50% { opacity: 0; } }
.lp .m-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
.lp .m-row .q-role { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .m-mail { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.lp .m-mail-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lp .m-lines { display: flex; flex-direction: column; gap: 8px; }
.lp .m-lines span { display: block; height: 8px; border-radius: var(--radius-sm); background: var(--sunken); }
.lp .m-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.lp .m-btns .btn { height: 32px; font-size: 13px; padding: 0 12px; cursor: default; }
/* Status chip (U9 status chip: 2,000 ms cycle; the new state fades in over 500 ms) */
.lp .st-chip { display: inline-grid; height: 24px; border-radius: var(--radius-sm); background: var(--warn-tint); color: var(--warn-ink); font-size: 12px; line-height: 24px; padding: 0 8px; white-space: nowrap; flex-shrink: 0;
  transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out); }
.lp .st-chip .st { grid-area: 1 / 1; opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.lp .st-chip:not([data-s]) .st1, .lp .st-chip[data-s="0"] .st0, .lp .st-chip[data-s="1"] .st1, .lp .st-chip[data-s="2"] .st2, .lp .st-chip[data-s="3"] .st3 { opacity: 1; transform: none; }
.lp .st-chip:not([data-s]), .lp .st-chip[data-s="1"], .lp .st-chip[data-s="2"], .lp .st-chip[data-s="3"] { background: var(--sunken); color: var(--text); }
/* Thinking shimmer on a Drafting chip: a white sheen crosses it (U9 "thinking" shimmer, 1,600 ms, ease-in-out); the text never fades */
.lp .chip-wait, .lp .shim, .lp .chip-st { color: var(--warn-ink); background: linear-gradient(100deg, var(--warn-tint) 30%, #FFFFFF 50%, var(--warn-tint) 70%) 0 0 / 300% 100%; animation: lpSheen 1600ms var(--ease-in-out) infinite; }
@keyframes lpSheen { from { background-position: 100% 0; } to { background-position: 0% 0; } }

/* 4. Statement: words darken one by one as you read down (U9 quote highlight: 600 ms per word, (.2,0,0,1)) */
.lp .statement { padding-top: 120px; }
.lp .big { margin: 0 auto; max-width: 960px; text-align: center; font: var(--display-weight) 40px/1.15 var(--font-sans); letter-spacing: var(--display-track); text-wrap: balance; }
.lp .w { transition: color 600ms var(--ease-emph); }
.lp[data-armed="full"] .w:not([data-on]) { color: var(--border-strong); }

/* 5. Example */
.lp .ex { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.lp .mail { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); box-shadow: 0 1px 2px rgba(16,17,20,.04), 0 12px 32px -12px rgba(16,17,20,.10); overflow: hidden; }
.lp .mail-h { padding: 16px 24px; border-bottom: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 18px; }
.lp .mail-k { display: inline-block; width: 64px; color: var(--text-3); }
.lp .mail-b { padding: 24px; font-size: 16px; line-height: 26px; }
.lp .mail-b p { margin: 0 0 14px; } .lp .mail-b p:last-child { margin: 0; }
.lp .xm { border-radius: var(--radius-sm); padding: 1px 3px; margin: 0 -3px; background: var(--accent-tint); box-shadow: inset 0 -1px 0 rgba(11,122,85,0);
  transition: background-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.lp .ex-srcs { display: flex; flex-direction: column; gap: 10px; }
.lp .xs { position: relative; isolation: isolate; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px;
  transition: border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out); }
.lp .ex-note { margin: 6px 0 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
/* live: one line and its source light together, every 2.4 s (300 ms cross-fade) */
.lp .ex[data-k] .xm { background: var(--surface); }
.lp .ex[data-k="0"] .x0, .lp .ex[data-k="1"] .x1, .lp .ex[data-k="2"] .x2, .lp .ex[data-k="3"] .x3 { background: var(--accent-tint); box-shadow: inset 0 -2px 0 var(--accent); }
.lp .ex[data-k="0"] .xs.x0, .lp .ex[data-k="1"] .xs.x1, .lp .ex[data-k="2"] .xs.x2, .lp .ex[data-k="3"] .xs.x3 { background: var(--bg); box-shadow: 0 8px 24px -16px rgba(16,17,20,.18); border-color: var(--accent); transform: translateX(-4px); }

/* 6. Pricing: billing switch slides, prices roll (U9: 500 ms; switch (.2,0,0,1), numbers (0,0,0,1)) */
.lp .bill { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--radius-md); background: var(--sunken); }
.lp .bill-opt { position: relative; z-index: 1; height: 30px; padding: 0 16px; border: 0; background: transparent; border-radius: var(--radius-sm); font: 500 14px/20px var(--font-sans); color: var(--text-2); cursor: pointer;
  transition: color 500ms var(--ease-emph); }
.lp .bill-opt[aria-pressed="true"] { color: var(--text); }
.lp .bill-thumb { position: absolute; top: 3px; left: 3px; width: calc(50% - 3px); height: 30px; border-radius: var(--radius-sm); background: var(--bg); box-shadow: 0 1px 2px rgba(16,17,20,.10);
  transition: transform 500ms var(--ease-emph); }
.lp .pricing[data-year] .bill-thumb { transform: translateX(100%); }
.lp .pcard { padding: 24px; gap: 12px; }
.lp .p-top { display: flex; align-items: center; justify-content: space-between; }
.lp .p-open { font: 500 12px/16px var(--font-mono); color: var(--accent-ink); background: var(--accent-tint); border-radius: var(--radius-sm); padding: 2px 6px; }
.lp .roll { display: inline-grid; overflow: hidden; }
.lp .roll > span { grid-area: 1 / 1; transition: transform 500ms cubic-bezier(0,0,0,1), opacity 500ms cubic-bezier(0,0,0,1); }
.lp .roll .py { transform: translateY(100%); opacity: 0; }
.lp .pricing[data-year] .roll .pm { transform: translateY(-100%); opacity: 0; }
.lp .pricing[data-year] .roll .py { transform: none; opacity: 1; }
.lp .price { font-size: 14px; line-height: 48px; color: var(--text-2); }
.lp .price b { font: var(--display-weight) 40px/48px var(--font-sans); letter-spacing: var(--display-track); color: var(--text); margin-right: 4px; }
.lp .price-soon b { color: var(--text-2); }
.lp .p-note { margin: -6px 0 0; font-size: 13px; color: var(--text-3); display: grid; }
.lp .p-note > span { grid-area: 1 / 1; transition: opacity 150ms cubic-bezier(0,0,0,1); }
.lp .p-note .py, .lp .pricing[data-year] .p-note .pm { opacity: 0; }
.lp .pricing[data-year] .p-note .py { opacity: 1; }
.lp .p-list { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--border); padding-top: 16px; }
.lp .p-list li { position: relative; padding-left: 22px; font-size: 14px; line-height: 20px; color: var(--text-2); }
.lp .p-list li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 9px; height: 5px; border-left: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(-45deg); }
.lp .p-btn { margin-top: auto; }
.lp .p-ref { margin: 0; text-align: center; font-size: 13px; color: var(--text-3); }

/* 7. Questions: 300 ms height, plus to minus with no turn (U9 FAQ) */
.lp .faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.lp .faq-list { border-top: 1px solid var(--border); }
.lp .faq-i { border-bottom: 1px solid var(--border); }
.lp .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 12px 0; border: 0; background: none; cursor: pointer; text-align: left; font: 500 16px/24px var(--font-sans); color: var(--text); }
.lp .pm-ico { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lp .pm-ico .v { transition: opacity 300ms var(--ease-in-out); }
.lp .faq-i[data-open] .pm-ico .v { opacity: 0; }
.lp .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease-in-out); }
.lp .faq-a > div { overflow: hidden; }
.lp .faq-a p { margin: 0; padding: 0 40px 20px 0; font-size: 14px; line-height: 22px; color: var(--text-2); }
.lp .faq-i[data-open] .faq-a { grid-template-rows: 1fr; }

/* 8. Last call and footer */
.lp .end { padding-top: 120px; }
.lp .end-box { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 64px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.lp .end-box .sec-sub { margin-left: auto; margin-right: auto; }
.lp .end-box .cta-row { margin-top: 28px; }
.lp .ftr { margin-top: 96px; border-top: 1px solid var(--border); }
.lp .ftr .box { padding-top: 40px; padding-bottom: 40px; }
.lp .ftr-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp .ftr-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.lp .ftr-cols > div { display: flex; flex-direction: column; gap: 8px; }
.lp .ftr-h { font: 500 12px/16px var(--font-mono); color: var(--text-3); }
.lp .ftr-cols a { font-size: 14px; color: var(--text-2); transition: color 300ms var(--ease-emph); }
.lp .ftr-cols a:hover { color: var(--text); transition-duration: 50ms; }
.lp .ftr-small { margin: 32px 0 0; font-size: 12px; color: var(--text-3); }

/* ---------- Motion: entrance (CSS, plays on load) ---------- */
@keyframes lpRise { from { opacity: 0; filter: blur(1.5px); transform: translateY(12px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes lpWin { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lpFade { from { opacity: 0; } to { opacity: 1; } }
/* Hero copy rises 12 px as it blurs in: 600 ms, delays 0/100/200/300/400 (U9 part 2 row 1, plus part 6's 12 px rise) */
.lp .rv { animation: lpRise 600ms var(--ease-reveal) both; }
.lp .rv1 { animation-delay: 100ms; } .lp .rv2 { animation-delay: 200ms; } .lp .rv3 { animation-delay: 300ms; } .lp .rv4 { animation-delay: 400ms; }
/* Product window: 900 ms at 450, scale .98 to 1 (U9 part 2 row 2) */
.lp .win { animation: lpWin 900ms var(--ease-reveal) 450ms both; transform-origin: 50% 0; }

/* ---------- Motion: in view (the engine adds data-in once; U9 "reveals inside mock-ups" and part 6) ---------- */
/* Headings and sublines rise 12 px, 500 ms; cards rise 600 ms, 60 ms apart; mock-up parts blur 2 px to 0, 600 ms, 40 ms cascade */
.lp .rise { transition: opacity 500ms var(--ease-out) var(--d, 0ms), transform 500ms var(--ease-out) var(--d, 0ms), filter 500ms var(--ease-out) var(--d, 0ms); }
.lp .rise-c { transition: opacity 600ms var(--ease-out) var(--d, 0ms), filter 600ms var(--ease-out) var(--d, 0ms), translate 600ms var(--ease-out) var(--d, 0ms), transform 300ms var(--ease-out), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.lp .bl { transition: opacity 600ms var(--ease-out) var(--d, 0ms), filter 600ms var(--ease-out) var(--d, 0ms), border-color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out), background-color 300ms var(--ease-out); }
.lp[data-armed="full"] [data-io]:not([data-in]) .rise { opacity: 0; transform: translateY(12px); filter: blur(1.5px); transition: none; }
.lp[data-armed="full"] [data-io]:not([data-in]) .rise-c { opacity: 0; translate: 0 12px; filter: blur(1.5px); transition: none; }
.lp[data-armed="full"] [data-io]:not([data-in]) .bl { opacity: 0; filter: blur(2px); transition: none; }

/* ---------- Motion: live hero demo (engine sets data-live and steps through write, mark, ok, q1, q2, out) ---------- */
/* Lines write in 500 ms, 90 ms apart; old view out in 250 ms (U9 hero demo: old view out 200 to 250 ms, new in 400 to 500) */
.lp .win .ln { transition: opacity 500ms var(--ease-out) calc(var(--i, 0) * 90ms), filter 500ms var(--ease-out) calc(var(--i, 0) * 90ms); }
.lp .win[data-live]:not([data-write]) .ln, .lp .win[data-out] .ln { opacity: 0; filter: blur(2px); }
.lp .win[data-out] .ln { transition-duration: 250ms; transition-delay: 0ms; }
/* Sources attach 340 ms each, 350 ms apart (U9 reveals inside mock-ups) */
.lp .win .mark { transition: background-color 340ms var(--ease-out); }
.lp .win .s-item, .lp .win .note { transition: opacity 340ms var(--ease-out), filter 340ms var(--ease-out); }
.lp .win .k1 { transition-delay: 350ms; } .lp .win .k2 { transition-delay: 700ms; } .lp .win .k3 { transition-delay: 1050ms; }
.lp .win[data-live]:not([data-mark]) .mark, .lp .win[data-out] .mark { background-color: rgba(231,244,238,0); transition-delay: 0ms; }
.lp .win[data-live]:not([data-mark]) .s-item, .lp .win[data-live]:not([data-mark]) .note, .lp .win[data-out] .s-item { opacity: 0; filter: blur(2px); transition-delay: 0ms; }
/* Checker chip: Checking, then Checks passed (U9 status chip: 500 ms) */
.lp .check > span { transition: opacity 500ms var(--ease-out); }
.lp .check .c-run { opacity: 0; }
.lp .win[data-live]:not([data-ok]) .c-run { opacity: 1; }
.lp .win[data-live]:not([data-ok]) .c-ok { opacity: 0; }
.lp .appr .btn-primary.ready { transition: box-shadow 600ms var(--ease-out); }
.lp .win[data-ok]:not([data-q1]) .appr .btn-primary.ready { box-shadow: 0 0 0 4px rgba(16,17,20,.12); }
/* Queue: a Drafting chip turns Ready (500 ms) and the count ticks up (U9 status chip) */
.lp .chip-st > span, .lp .tick > span { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.lp .chip-st { transition: background-color 500ms var(--ease-out), color 500ms var(--ease-out); }
.lp .win[data-q1] .qa .chip-st, .lp .win[data-q2] .qb .chip-st { animation: none; background: var(--sunken); color: var(--text); }
.lp .win[data-q1] .qa .s-d, .lp .win[data-q2] .qb .s-d { opacity: 0; transform: translateY(-6px); }
.lp .win[data-q1] .qa .s-r, .lp .win[data-q2] .qb .s-r { opacity: 1; }
.lp .win[data-q1] .qa .q-name, .lp .win[data-q2] .qb .q-name { color: var(--text); }
.lp .q-row .q-name { transition: color 500ms var(--ease-out); }
.lp .win[data-q1] .tick .t3 { opacity: 0; transform: translateY(-6px); }
.lp .win[data-q1]:not([data-q2]) .tick .t4 { opacity: 1; }
.lp .win[data-q2] .tick .t5 { opacity: 1; }
.lp .win[data-out] .chip-st > span, .lp .win[data-out] .tick > span { transition-duration: 250ms; }

/* ---------- Reduced motion: opacity only, 100 ms, loops stopped, nothing travels (U9 part 5.9) ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp .rv, .lp .win { animation: lpFade 100ms linear both !important; }
  .lp .lit::after, .lp .caret, .lp .chip-wait, .lp .shim, .lp .chip-st { animation: none !important; }
  .lp .card:hover, .lp .pcard:hover { transform: none; }
  .lp .glow::before { display: none; }
  .lp .btn:hover .arrow { transform: none; }
}
.lp.m-reduced .rv, .lp.m-reduced .win { animation: lpFade 100ms linear both !important; }
.lp[data-armed="reduced"] .lit::after, .lp[data-armed="reduced"] .caret, .lp[data-armed="reduced"] .chip-wait, .lp[data-armed="reduced"] .shim, .lp[data-armed="reduced"] .chip-st { animation: none !important; }
.lp[data-armed="reduced"] .glow::before { display: none; }
.lp[data-armed="reduced"] .card:hover, .lp[data-armed="reduced"] .pcard:hover, .lp[data-armed="reduced"] .btn:hover .arrow { transform: none; }
.lp[data-armed="reduced"] .rise, .lp[data-armed="reduced"] .rise-c, .lp[data-armed="reduced"] .bl { transition: opacity 100ms linear !important; transform: none !important; translate: none !important; filter: none !important; }
.lp[data-armed="reduced"] .rail-mark, .lp[data-armed="reduced"] .bill-thumb, .lp[data-armed="reduced"] .roll > span, .lp[data-armed="reduced"] .st-chip .st { transition: opacity 100ms linear !important; }
.lp[data-armed="reduced"] .roll .py, .lp[data-armed="reduced"] .pricing[data-year] .roll .pm { transform: none; }
.lp[data-armed="reduced"] .faq-a { transition: none; }
.lp[data-armed="reduced"] .w { transition: none; }

/* ---------- Narrow screens ---------- */
@media (max-width: 1100px) {
  .lp .win-body { grid-template-columns: 208px minmax(0,1fr) 280px; }
  .lp .queue { display: none; }
}
@media (max-width: 820px) {
  .lp .win-body { grid-template-columns: minmax(0,1fr); height: auto; }
  .lp .side, .lp .srcs { display: none; }
  .lp .notes { display: flex; margin-top: 4px; }
  .lp .grid3, .lp .ex, .lp .faq-grid { grid-template-columns: minmax(0,1fr); }
  .lp .step { grid-template-columns: minmax(0,1fr); gap: 16px; min-height: 0; }
  .lp .faq-grid { gap: 8px; }
}
@media (max-width: 640px) {
  .lp .box { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .lp .links, .lp .hdr-actions .btn-secondary, .lp .hdr-actions .btn-primary { display: none; }
  .lp .hdr .box { justify-content: space-between; }
  .lp .hdr-actions .menu-btn { display: inline-flex; width: 44px; height: 44px; padding: 0; }
  .lp .hero { padding-top: 48px; text-align: left; }
  .lp h1 { font-size: 40px; line-height: 1.0; margin-top: 24px; }
  .lp .sub { font-size: 16px; line-height: 1.4; margin-top: 16px; }
  .lp .cta { align-items: stretch; margin-top: 24px; }
  .lp .cta-row { flex-direction: column; align-items: stretch; }
  .lp .cta-row > .btn { width: 100%; height: 44px; }
  .lp .quiet { text-align: center; }
  .lp .stage { margin-top: 40px; }
  .lp .d-head, .lp .d-body, .lp .followup, .lp .appr { padding-left: 16px; padding-right: 16px; }
  .lp .appr .spacer { display: none; }
  .lp .appr .check { width: 100%; }
  .lp .caption { text-align: left; }
  .lp .band { margin-top: 64px; }
  .lp .band .box { padding-top: 40px; padding-bottom: 40px; }
  .lp .sec, .lp .statement, .lp .end { padding-top: 80px; }
  .lp .sec-head { margin-bottom: 24px; }
  .lp .sec-h { font-size: 24px; line-height: 30px; }
  .lp .sec-sub { font-size: 16px; line-height: 24px; margin-top: 8px; }
  .lp .steps { padding-left: 20px; gap: 32px; }
  .lp .step-txt h3 { font-size: 18px; line-height: 24px; }
  .lp .mock { padding: 12px; min-height: 0; }
  .lp .m-fact { grid-template-columns: 6px minmax(0, 1fr); }
  .lp .m-fact .m-src { display: none; }
  .lp .m-in { flex-wrap: wrap; height: auto; min-height: 44px; padding: 10px 12px; row-gap: 2px; }
  .lp .m-row { grid-template-columns: 32px minmax(0, 1fr); }
  .lp .m-row .chip { grid-column: 2; justify-self: start; }
  .lp .m-mail-h { flex-direction: column; }
  .lp .big { font-size: 24px; line-height: 30px; text-align: left; }
  .lp .mail-b { padding: 16px; font-size: 14px; line-height: 22px; }
  .lp .mail-h { padding: 12px 16px; }
  .lp .ex[data-k="0"] .xs.x0, .lp .ex[data-k="1"] .xs.x1, .lp .ex[data-k="2"] .xs.x2, .lp .ex[data-k="3"] .xs.x3 { transform: none; }
  .lp .sec-head-row { align-items: flex-start; }
  .lp .end-box { padding: 40px 16px; text-align: left; align-items: stretch; }
  .lp .end-box .cta-row { margin-top: 20px; }
  .lp .ftr { margin-top: 64px; }
  .lp .ftr-cols { gap: 32px; }
}

/* ---------- Round 4 (D-243): floating hero cards, Starter in numbers with a node cascade, the dark live band ----------
   Margin only (OK14, R01): the band uses Margin's own dark values from vault/approved/margin-brand/tokens.css:36-54.
   Motion values cite vault/research/U9 Attio motion.md part 2; "mine" marks a value Attio's site did not give. */

/* A. Floating cards round the product picture: fade 900 ms at 1,200 / 1,350 / 1,500, (0,0,.58,1) (U9 "floating app windows"),
      then bob 5 px, 3.8 to 4.85 s, staggered (U9 "tags bob") */
.lp .stage { position: relative; }
.lp .fc { position: absolute; z-index: 2; width: 236px; display: flex; flex-direction: column; gap: 6px; padding: 12px; text-align: left;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 1px 2px rgba(16,17,20,.06), 0 16px 40px -16px rgba(16,17,20,.24);
  animation: lpFade 900ms var(--ease-reveal) var(--fd) both, lpBob var(--bob) ease-in-out calc(var(--fd) + 900ms) infinite alternate; }
@keyframes lpBob { from { translate: 0 0; } to { translate: 0 -5px; } }
.lp .fc-k { display: flex; align-items: center; gap: 6px; font: 500 12px/16px var(--font-mono); color: var(--text-3); }
.lp .fc-p { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; align-items: center; }
.lp .fc-t { font-size: 13px; line-height: 18px; color: var(--text-2); }
.lp .fc-reply .fc-k { color: var(--accent-ink); }
.lp .fc-check { flex-direction: row; align-items: center; gap: 10px; width: 260px; }
.lp .fc-ok { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--accent-tint); color: var(--accent-ink); }
.lp .fc-ok svg { width: 16px; height: 16px; }
/* Placed over the window's empty lower areas so no line of the draft, queue or sources is covered:
   the person card over the sidebar, "Checks passed" under the queue, the reply under the sources */
.lp .fc-person { --fd: 1200ms; --bob: 3800ms; left: -12px; bottom: 196px; }
.lp .fc-check  { --fd: 1350ms; --bob: 4300ms; left: 228px; bottom: 64px; }
.lp .fc-reply  { --fd: 1500ms; --bob: 4850ms; right: -12px; bottom: 64px; }

/* B. Starter in numbers: blur and fade, 600 ms, 150 / 250 / 350 / 450, (0,0,.58,1); numbers count up from 0 (U9 "stats row") */
.lp .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 72px; padding-top: 32px; border-top: 1px solid var(--border); }
.lp .stat { display: flex; flex-direction: column; gap: 8px; min-width: 0; transition: opacity 600ms var(--ease-reveal) var(--d, 0ms), filter 600ms var(--ease-reveal) var(--d, 0ms); }
.lp .stat-n { display: flex; align-items: baseline; gap: 6px; font: var(--display-weight) 64px/1 var(--font-sans); letter-spacing: var(--display-track); font-variant-numeric: tabular-nums; }
.lp .stat-n b { font-weight: inherit; }
.lp .stat-u { font-size: 24px; letter-spacing: -0.02em; color: var(--text-2); }
.lp .stat-pre { margin-right: -4px; }
.lp .stat-l { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-2); max-width: 240px; }
.lp[data-armed="full"] [data-io]:not([data-in]) .stat { opacity: 0; filter: blur(2px); transition: none; }

/*    How it works: the mock-up lights up piece by piece when its step lights: a 7 px glow and 1.5 px blur fade out,
      600 ms each, 40 ms apart, (.33,1,.68,1) (U9 "workflow builder mock-up"; Margin's green instead of Attio's blue) */
@keyframes lpNode { 0%, 100% { box-shadow: 0 0 0 1px rgba(11,122,85,0), 0 0 7px 1px rgba(11,122,85,0); }
  35% { box-shadow: 0 0 0 1px rgba(11,122,85,.55), 0 0 7px 1px rgba(11,122,85,.4); } }
.lp[data-armed="full"] .step[data-in][data-lit] .mock .bl { animation: lpNode 900ms var(--ease-in-out) var(--d, 0ms); }

/* C. The dark live band (Margin dark, tokens.css:36-54; the rest of the page stays light) */
.lp .live { --bg: #0E0F12; --surface: #16181C; --sunken: #1D2025; --border: #2A2D34; --border-strong: #3B3F48;
  --text: #F2F3F5; --text-2: #A9AEB9; --text-3: #8C92A0; --accent: #3CC58E; --accent-tint: #10291F; --accent-ink: #7FDDB5;
  margin-top: 120px; background: var(--bg); color: var(--text); overflow: hidden; }
.lp .live-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.lp .live-txt { display: flex; flex-direction: column; align-items: flex-start; }
.lp .live-k { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 500 12px/16px var(--font-mono); color: var(--text-3); letter-spacing: .02em; }
.lp .live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(60,197,142,.5); animation: lpPulse 2400ms var(--ease-out) infinite; }
@keyframes lpPulse { 0% { box-shadow: 0 0 0 0 rgba(60,197,142,.5); } 70%, 100% { box-shadow: 0 0 0 6px rgba(60,197,142,0); } }
.lp .live .sec-sub { color: var(--text-2); }
/*    Three items that auto-advance with the feed: old text blurs out in 125 ms, the new one fades in over 300 ms with 1.5 px blur (U9 "Signals") */
.lp .live-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; width: 100%; max-width: 440px; border-top: 1px solid var(--border); }
.lp .li { position: relative; display: flex; flex-direction: column; padding: 14px 0 14px 16px; border-bottom: 1px solid var(--border); }
.lp .li::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--border); }
.lp .li::after { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 2px; background: var(--text); transform: scaleY(0); transform-origin: 50% 0; opacity: 0;
  transition: opacity 400ms var(--ease-in-out), transform 0s linear 400ms; }
.lp .li-h { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--text); transition: color 500ms var(--ease-in-out); }
.lp .li-b { display: grid; grid-template-rows: 1fr; }
.lp .li-b > span { overflow: hidden; min-height: 0; font-size: 14px; line-height: 20px; color: var(--text-2); }
.lp .live-list[data-a] .li-h { color: var(--text-3); }
.lp .live-list[data-a] .li-b { grid-template-rows: 0fr; opacity: 0; filter: blur(1px); transition: grid-template-rows 500ms var(--ease-in-out), opacity 300ms var(--ease-in-out), filter 300ms var(--ease-in-out); }
.lp .live-list[data-a] .li[data-on] .li-h { color: var(--text); }
.lp .live-list[data-a] .li[data-on] .li-b { grid-template-rows: 1fr; opacity: 1; filter: none; transition: grid-template-rows 500ms var(--ease-in-out), opacity 400ms var(--ease-in-out) 100ms, filter 400ms var(--ease-in-out) 100ms; }
.lp .live-list[data-a] .li[data-on]::after { transform: scaleY(1); opacity: 1; transition: opacity 400ms var(--ease-in-out), transform 3000ms linear; }
/*    The art: dotted perspective rings turning slowly (U9 "Signals": canvas of dotted rings; speed not measured, 90 s a turn is mine) */
.lp .live-art { position: relative; height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; perspective: 900px; }
.lp .dots { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; pointer-events: none;
  transform: rotateX(62deg) rotate(0deg); animation: lpTurn 90000ms linear infinite; }
@keyframes lpTurn { to { transform: rotateX(62deg) rotate(360deg); } }
.lp .dots circle { fill: none; stroke: #3B3F48; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.1 9; }
.lp .dots circle.dk { stroke: #3CC58E; stroke-opacity: .55; stroke-dasharray: 0.1 13; }
/*    The feed: six events in fixed markup; every 3 s (mine; Attio's demo steps about every 2 s) each moves down one 72 px slot
      in 300 ms and the oldest comes back at the top, fading in with 1.5 px blur, (.33,1,.68,1). The engine only sets data-p */
.lp .feed { position: relative; z-index: 1; width: 100%; max-width: 420px; height: 296px; overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.lp .ev { position: absolute; left: 0; right: 0; top: 0; transition: transform 500ms var(--ease-in-out), opacity 500ms var(--ease-in-out) 150ms, filter 500ms var(--ease-in-out) 150ms; }
.lp .ev:nth-child(2) { transform: translateY(72px); } .lp .ev:nth-child(3) { transform: translateY(144px); } .lp .ev:nth-child(4) { transform: translateY(216px); }
.lp .ev:nth-child(5) { transform: translateY(288px); } .lp .ev:nth-child(6) { transform: translateY(360px); }
.lp .ev[data-p="0"] { transform: none; } .lp .ev[data-p="1"] { transform: translateY(72px); } .lp .ev[data-p="2"] { transform: translateY(144px); }
.lp .ev[data-p="3"] { transform: translateY(216px); } .lp .ev[data-p="4"] { transform: translateY(288px); } .lp .ev[data-p="5"] { transform: translateY(360px); }
.lp .ev[data-new] { opacity: 0; filter: blur(1.5px); transition: none; }
.lp .ev-r { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 62px; padding: 0 14px;
  background: rgba(22,24,28,.92); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.lp .ev-t { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.lp .ev-s { font-size: 12px; line-height: 16px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp .ev-c { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: var(--radius-sm); font-size: 12px; background: var(--sunken); color: var(--text); white-space: nowrap; }
.lp .ev-c.c-ok { background: var(--accent-tint); color: var(--accent-ink); }
.lp .ev-c.c-reply { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
.lp .live-note { position: relative; z-index: 1; margin: 0; font-size: 12px; line-height: 16px; color: var(--text-3); text-align: center; }

/* ---------- Round 4: smoother transitions everywhere (owner, 2026-11-27: "There needs to be smoother animation transitions
   instead of the jump cuts"). Measured with check/check-jumps.js; durations here are mine, longer than Attio's ---------- */
/* Step rail: glides in-out, 700 to 1,800 ms by distance (the engine sets --rail-t); a loop back or a long jump fades out, moves while hidden and fades in (data-wrap) */
.lp .rail-mark { transition: transform var(--rail-t, 900ms) var(--ease-in-out), height var(--rail-t, 900ms) var(--ease-in-out), opacity 300ms var(--ease-in-out); }
.lp .steps[data-wrap] .rail-mark { opacity: 0; }
.lp .steps[data-wrap="move"] .rail-mark { transition: opacity 300ms var(--ease-in-out); }
.lp .step-txt h3, .lp .step-txt p { transition: color 500ms var(--ease-in-out); }
.lp .step-n { transition: background-color 500ms var(--ease-in-out), color 500ms var(--ease-in-out), border-color 500ms var(--ease-in-out); }
/* Drafting chips: the sheen is its own layer, so a chip turning Ready cross-fades instead of snapping, and the loop has no seam */
.lp .chip-wait, .lp .shim, .lp .chip-st { position: relative; overflow: hidden; isolation: isolate; background: var(--warn-tint); animation: none;
  transition: background-color 500ms var(--ease-in-out), color 500ms var(--ease-in-out); }
.lp .chip-wait::after, .lp .shim::after, .lp .chip-st::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.9) 50%, rgba(255,255,255,0) 65%) 0 0 / 300% 100%;
  animation: lpSheen 1600ms var(--ease-in-out) infinite; transition: opacity 500ms var(--ease-in-out); }
.lp .win[data-q1] .qa .chip-st, .lp .win[data-q2] .qb .chip-st { background: var(--sunken); color: var(--text); }
.lp .win[data-q1] .qa .chip-st::after, .lp .win[data-q2] .qb .chip-st::after { opacity: 0; }
.lp .chip-st > span, .lp .tick > span { transition: opacity 500ms var(--ease-in-out), transform 500ms var(--ease-in-out); }
/* The hero's loop: the old draft leaves over 450 ms (was 250) before the next one writes itself */
.lp .win[data-out] .ln { transition-duration: 450ms; }
.lp .win[data-out] .chip-st > span, .lp .win[data-out] .tick > span { transition-duration: 450ms; }
.lp .win .ln { transition-timing-function: var(--ease-in-out); }
/* Example and status chip: 500 ms cross-fades, in-out */
.lp .xm { transition: background-color 500ms var(--ease-in-out), box-shadow 500ms var(--ease-in-out); }
.lp .xs { transition: border-color 500ms var(--ease-in-out), box-shadow 500ms var(--ease-in-out), transform 500ms var(--ease-in-out), background-color 500ms var(--ease-in-out),
  opacity 600ms var(--ease-out) var(--d, 0ms), filter 600ms var(--ease-out) var(--d, 0ms); } /* round 5: keeps .bl's fade-in, which the line above had dropped (the cards popped in when scrolled to) */
.lp .st-chip .st { transition: opacity 500ms var(--ease-in-out), transform 500ms var(--ease-in-out); }

/* ---------- Round 4, reduced motion: opacity only, 100 ms, loops stopped, nothing travels ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp .fc { animation: lpFade 100ms linear both !important; }
  .lp .dots, .lp .live-dot, .lp .chip-wait::after, .lp .shim::after, .lp .chip-st::after { animation: none !important; }
  .lp .chip-wait::after, .lp .shim::after, .lp .chip-st::after { display: none; }
}
.lp.m-reduced .fc, .lp[data-armed="reduced"] .fc { animation: lpFade 100ms linear both !important; }
.lp[data-armed="reduced"] .dots, .lp[data-armed="reduced"] .live-dot { animation: none !important; }
.lp[data-armed="reduced"] .chip-wait::after, .lp[data-armed="reduced"] .shim::after, .lp[data-armed="reduced"] .chip-st::after { display: none; }
.lp[data-armed="reduced"] .rail-mark { transition: opacity 100ms linear !important; }
.lp[data-armed="reduced"] .steps[data-wrap="move"] .rail-mark { transition: none !important; }
.lp[data-armed="reduced"] .stat { transition: opacity 100ms linear !important; filter: none !important; }

/* ---------- Round 4, narrow screens ---------- */
@media (max-width: 1100px) {
  .lp .fc-check { display: none; } /* the queue column is gone, so its free space is too */
  .lp .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}
@media (max-width: 820px) {
  /* The picture is one column: two cards hide, "Checks passed" tucks onto the window's top edge as a small tag */
  .lp .fc-person, .lp .fc-reply { display: none; }
  .lp .fc-check { display: flex; width: auto; left: auto; right: 12px; bottom: auto; top: -16px; padding: 6px 10px 6px 6px; gap: 8px; }
  .lp .fc-check .q-role { display: none; }
  .lp .fc-ok { width: 22px; height: 22px; border-radius: var(--radius-sm); }
  .lp .live-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lp .live-art { height: 400px; }
}
@media (max-width: 640px) {
  .lp .stats { margin-top: 48px; gap: 24px 16px; }
  .lp .stat-n { font-size: 40px; }
  .lp .stat-u { font-size: 18px; }
  .lp .stat-l { font-size: 13px; line-height: 18px; }
  .lp .live { margin-top: 80px; }
  .lp .live-grid { padding-top: 64px; padding-bottom: 64px; }
  .lp .live-art { height: 380px; }
  .lp .dots { width: 560px; height: 560px; margin: -280px 0 0 -280px; }
}

