/* Needt Budget — landing. Pale-sky paper with a fine grain, graphite chambers, Needt cyan for the one action.
   Everything is prefixed lp- so it never collides with the app or the embedded prototype. */
:root {
  --lp-bg: #eaf4f8;
  --lp-cream: #f9fcfd;
  --lp-stone: #d8e8ee;
  --lp-ink: #141517;
  --lp-ink-2: #1d1e21;
  --lp-ink-3: #26272b;
  --lp-fog: #4f5f65;
  --lp-on-dark: #f5f6f7;
  --lp-on-dark-muted: rgba(245, 246, 247, .64);
  --lp-cyan: #7fe0f0;
  --lp-pink: #f6c3d8;
  --lp-sky: #9fe6f3;
  --lp-peach: #efc6aa;
  --lp-mint: #a8ecb0;
  --lp-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --lp-sans: "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --lp-ease: cubic-bezier(.22, 1, .36, 1);
  --lp-spring: cubic-bezier(.34, 1.4, .64, 1);
  --lp-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .2 0 0 0 0 .26 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"), radial-gradient(rgba(20, 60, 75, .07) 1px, transparent 1.2px);
  --lp-dots: 22px 22px;
  --lp-max: 1200px;
  --lp-gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.lp {
  margin: 0; background-color: var(--lp-bg); color: var(--lp-ink);
  font-family: var(--lp-sans); font-size: 16px; line-height: 1.45;
  font-feature-settings: "cv01", "cv02", "cv03", "cv04", "case"; font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* The paper texture sits on its own fixed, composited layer. As a fixed background attachment on
   body it forced a full-page repaint on every scroll frame, which made the header and the whole
   page stutter, worst on phones. */
body.lp::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: var(--lp-texture); background-size: 160px 160px, var(--lp-dots); will-change: transform; }
.lp :where(a) { color: inherit; }
.lp :focus-visible { outline: 2px solid var(--lp-ink); outline-offset: 3px; border-radius: 6px; }
.lp-chamber-dark :focus-visible { outline-color: var(--lp-cyan); }
.lp-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lp-ink); color: var(--lp-cream); padding: 8px 14px; border-radius: 10px; }
.lp-skip:focus { left: 8px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── type ── */
.lp-display, .lp-h, .lp-h3 { font-family: var(--lp-serif); font-weight: 400; margin: 0; text-wrap: balance; }
.lp-display { font-size: clamp(60px, 11vw, 148px); line-height: .88; letter-spacing: -.025em; }
.lp-h { font-size: clamp(42px, 6.4vw, 84px); line-height: .95; letter-spacing: -.02em; }
.lp-h3 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1; letter-spacing: -.015em; }
.lp-display i, .lp-h i { font-style: italic; }
.lp-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-fog); margin: 0 0 18px; }
.lp-lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 34em; margin: 22px 0 0; text-wrap: pretty; }
.lp-fine { font-size: 14px; color: var(--lp-fog); margin: 14px 0 0; }
.lp-fine a { text-decoration: underline; text-underline-offset: 3px; }
.lp-center { text-align: center; margin-left: auto; margin-right: auto; }
.lp-on-dark { color: var(--lp-on-dark); }
.lp-eyebrow.lp-on-dark, .lp-lede.lp-on-dark { color: var(--lp-on-dark-muted); }

/* ── buttons ── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 56px; padding: 0 26px; border-radius: 14px; border: 2px solid var(--lp-ink); font: 600 16px/1 var(--lp-sans); text-decoration: none; white-space: nowrap; transition: transform 160ms var(--lp-ease), box-shadow 160ms var(--lp-ease), background-color 160ms; }
.lp-btn:active { transform: translateY(1px) scale(.98); }
.lp-btn-primary { background: var(--lp-cyan); color: var(--lp-ink); box-shadow: 0 4px 0 var(--lp-ink); }
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--lp-ink); }
.lp-btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lp-ink); }
.lp-btn-primary s { opacity: .55; font-weight: 500; margin-left: 2px; }
.lp-btn-ghost { background: transparent; color: var(--lp-ink); }
.lp-btn-ghost:hover { background: var(--lp-stone); }
.lp-btn-sm { height: 42px; padding: 0 16px; border-radius: 11px; font-size: 14px; box-shadow: 0 3px 0 var(--lp-ink); }
.lp-btn-block { width: 100%; }
.lp-btn-off { background: transparent; color: #5b6770; box-shadow: none; cursor: default; }
.lp-chamber-dark .lp-btn-primary { border-color: var(--lp-cyan); box-shadow: 0 4px 0 #0b1f24; }

/* ── announce + nav ── */
.lp-announce { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px var(--lp-gutter); background: var(--lp-ink); color: var(--lp-on-dark); font-size: 14px; text-align: center; }
.lp-announce b { color: var(--lp-cyan); font-weight: 600; }
.lp-announce a { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; text-decoration: none; }
.lp-announce svg, .lp-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-nav { position: sticky; top: 14px; z-index: 50; display: flex; align-items: center; gap: 20px; max-width: 1080px; margin: 14px auto 0; padding: 10px 10px 10px 18px; background: var(--lp-cream); border: 2px solid var(--lp-ink); border-radius: 20px; transition: transform 360ms var(--lp-ease), box-shadow 300ms var(--lp-ease); will-change: transform; width: calc(100% - 2 * var(--lp-gutter)); }
/* no width change on scroll: animating max-width re-lays the bar every frame and stutters */
.lp-nav.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.lp-nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.lp-brand em { font-style: normal; font-weight: 500; color: var(--lp-fog); }
.lp-mark { width: 34px; height: 34px; }
.lp-mark rect, .lp-pill svg rect { fill: var(--lp-cyan); }
.lp-mark path, .lp-pill svg path { fill: none; stroke: var(--lp-ink); stroke-width: 7; stroke-linecap: round; }
.lp-mark circle, .lp-pill svg circle { fill: var(--lp-ink); }
.lp-links { display: flex; gap: 4px; margin-left: auto; background: var(--lp-stone); border-radius: 12px; padding: 4px; }
.lp-links a { padding: 8px 14px; border-radius: 9px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color 160ms; }
/* six links and the buy button share one line down to 981px, where the links give way */
@media (max-width: 1120px) { .lp-nav { gap: 12px; } .lp-links { gap: 0; } .lp-links a { padding: 8px 9px; font-size: 14px; } .lp-brand, .lp-signin { white-space: nowrap; } }
.lp-links a:hover, .lp-links a[aria-current="page"] { background: var(--lp-cream); }
.lp-nav-cta { display: flex; align-items: center; gap: 14px; }
.lp-signin { font-size: 15px; font-weight: 500; text-decoration: none; }
.lp-signin:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── hero ── */
.lp-hero { position: relative; padding: clamp(48px, 9vh, 110px) var(--lp-gutter) 0; text-align: center; }
.lp-hero .lp-lede, .lp-hero .lp-cta-row { margin-left: auto; margin-right: auto; }
.lp-hero .lp-lede { max-width: 30em; }
.lp-hero .lp-display { padding-bottom: .14em; } /* room for the italic J descender */
.lp-line { display: inline-block; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; justify-content: center; }
.lp-flow { position: relative; height: clamp(260px, 32vw, 420px); margin: clamp(20px, 4vw, 48px) calc(-1 * var(--lp-gutter)) 0; }
.lp-flow > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lp-ribbon { fill: none; stroke: var(--lp-ink); stroke-width: 46; stroke-linecap: round; }
.lp-raw-text { font: 600 15px ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace; letter-spacing: .02em; }
.lp-sorted-text { font: 600 19px var(--lp-sans); }
/* Text on a curve: each glyph is rotated on its own. Without geometricPrecision Chrome snaps every
   rotated glyph to whole pixels, which reads as a staircase on the steep part and shimmers while the
   offset moves. Kerning and ligatures stay off so each glyph advances the same everywhere.
   This rule comes after the `font` shorthands above, which would otherwise reset kerning. */
.lp-raw-text, .lp-sorted-text { text-rendering: geometricPrecision; font-kerning: none; font-variant-ligatures: none; fill: var(--lp-on-dark); dominant-baseline: central; }
.lp-flow .lp-neg { fill: #ff8a8a; }
.lp-flow .lp-pos { fill: #7ee89a; }
/* landing.js draws the ribbon text on this canvas; the SVG text stays for no-JS and reduced motion */
.lp-flow-canvas { position: absolute; left: 0; width: 100%; pointer-events: none; z-index: 1; }
.lp-flow.is-canvas .lp-raw-text, .lp-flow.is-canvas .lp-sorted-text { visibility: hidden; }
.lp-pill { position: absolute; left: 50%; top: 62.4%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; height: 74px; padding: 0 22px 0 14px; background: var(--lp-cream); border: 2px solid var(--lp-ink); border-radius: 999px; z-index: 2; }
.lp-pill svg { width: 44px; height: 44px; flex: none; }
.lp-pill-chip { min-width: 112px; padding: 8px 14px; border-radius: 999px; background: var(--lp-mint); font-weight: 600; font-size: 15px; text-align: center; }
.lp-pill-chip.pop { animation: lp-pop 420ms var(--lp-spring); }
@keyframes lp-pop { 0% { transform: scale(.7) translateY(6px); opacity: 0; } }
.lp-pill::after { content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid var(--lp-cyan); opacity: 0; animation: lp-ring 1.6s var(--lp-ease) infinite; }
@keyframes lp-ring { 0% { opacity: .9; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.16); } }

/* ── chambers ── */
.lp-chamber { position: relative; margin: 0 clamp(0px, 1vw, 12px); border-radius: clamp(40px, 6vw, 80px); padding: clamp(72px, 10vw, 128px) var(--lp-gutter); }
.lp-chamber-dark { background: var(--lp-ink); color: var(--lp-on-dark); }
.lp-works { text-align: center; margin-top: -4px; }
/* the edge fade is painted by two overlays, not mask-image: a mask over a moving layer makes Safari
   repaint it every frame instead of sliding it */
.lp-marquee { position: relative; overflow: hidden; margin: 0 calc(-1 * var(--lp-gutter)); }
.lp-marquee::before, .lp-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.lp-marquee::before { left: 0; background: linear-gradient(90deg, var(--lp-ink), transparent); }
.lp-marquee::after { right: 0; background: linear-gradient(270deg, var(--lp-ink), transparent); }
.lp-marquee-track { display: flex; align-items: center; gap: 40px; padding-right: 40px; width: max-content; animation: lp-marquee 36s linear infinite; will-change: transform; }
.lp-marquee-track.is-js { animation: none; } /* trailing gap = one gap per copy, so -50% is exactly one copy */
.lp-marquee span { font: 400 clamp(34px, 4vw, 56px)/1 var(--lp-serif); color: var(--lp-on-dark); white-space: nowrap; }
.lp-marquee i { color: var(--lp-cyan); font-style: normal; font-size: 22px; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* comparison */
.lp-compare-head { max-width: 760px; margin: clamp(80px, 10vw, 140px) auto 0; }
.lp-compare-head .lp-lede { margin-left: auto; margin-right: auto; }
.lp-compare { display: grid; grid-template-columns: 1fr 1.25fr; gap: 16px; max-width: 1040px; margin: 56px auto 0; text-align: left; }
.lp-cmp { position: relative; min-height: 380px; border-radius: 32px; padding: 26px; overflow: hidden; }
.lp-cmp-sheet { border: 2px solid rgba(245, 246, 247, .2); }
.lp-cmp-needt { background: var(--lp-ink-2); border: 2px solid var(--lp-cyan); }
.lp-cmp-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; font-size: 17px; font-weight: 500; }
.lp-timer { font: 400 44px/1 var(--lp-serif); font-variant-numeric: tabular-nums; }
.lp-cmp-needt .lp-timer { color: var(--lp-cyan); }
.lp-sheet { font: 13px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: var(--lp-on-dark-muted); }
.lp-sheet .r { display: grid; grid-template-columns: 54px 1fr 74px 84px; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(245, 246, 247, .12); }
.lp-sheet .r.h { color: var(--lp-on-dark); font-weight: 600; }
.lp-sheet .caret { display: inline-block; width: 7px; height: 14px; background: var(--lp-cyan); vertical-align: -2px; animation: lp-blink .9s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-sortlist { display: grid; gap: 8px; }
.lp-op { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--lp-ink-3); transition: transform 500ms var(--lp-ease), opacity 400ms; }
.lp-op .m { flex: 1; font-size: 15px; font-weight: 500; }
.lp-op .v { font-variant-numeric: tabular-nums; font-size: 15px; color: var(--lp-on-dark-muted); }
.lp-op .c { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--lp-ink); transform: scale(0); transition: transform 380ms var(--lp-spring); }
.lp-op.on .c { transform: none; }
.lp-op.on { transform: translateX(6px); }
.lp-done { position: absolute; left: 26px; bottom: 22px; padding: 8px 14px; border-radius: 999px; background: var(--lp-mint); color: var(--lp-ink); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(10px); transition: all 500ms var(--lp-spring); }
.lp-done.on { opacity: 1; transform: none; }

/* ── how (sticky scroller) ── */
.lp-how { padding: clamp(96px, 12vw, 160px) var(--lp-gutter) 0; max-width: var(--lp-max); margin: 0 auto; }
.lp-how-head { text-align: center; margin-bottom: 48px; }
.lp-how-grid { position: relative; display: grid; grid-template-columns: 1fr 360px 1fr; gap: 48px; align-items: start; height: 420vh; }
.lp-steps, .lp-phone-col, .lp-step-copy { position: sticky; top: calc(50vh - 290px); }
.lp-steps { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--lp-stone); }
.lp-steps li { position: relative; padding: 10px 0 10px 22px; cursor: pointer; }
.lp-steps li span { font: 400 30px/1.1 var(--lp-serif); color: #5a6f76; transition: color 300ms; } /* 4.7:1 on --lp-bg (was #8ea2a8, 2.4:1); the open step stays --lp-ink */
.lp-steps li p { display: none; }
.lp-steps li::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--lp-ink); transform: scaleY(0); transform-origin: top; transition: transform 400ms var(--lp-ease); }
.lp-steps li.on span { color: var(--lp-ink); }
.lp-steps li.on::before { transform: none; background: var(--lp-cyan); box-shadow: 0 0 0 1px var(--lp-ink); }
.lp-phone-col { display: grid; justify-items: center; gap: 12px; }
.lp-phone { position: relative; width: 324px; height: 680px; border-radius: 52px; background: var(--lp-ink); padding: 12px; border: 2px solid var(--lp-ink); box-shadow: 0 0 0 6px var(--lp-stone); }
.lp-phone-screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #141517; isolation: isolate; }
.lp-phone-host { position: absolute; left: 0; top: 0; width: 390px; height: 844px; transform-origin: 0 0; transform: scale(.759); transition: opacity 260ms var(--lp-ease); }
/* opacity only: a blur filter over the whole phone repaints it on every frame of the swap */
.lp-phone-host.swap { opacity: 0; }
.lp-phone-note { font-size: 13px; color: var(--lp-fog); margin: 0; }
.lp-step-copy { align-self: start; padding-top: 220px; }
.lp-step-copy h3 { font: 400 48px/1 var(--lp-serif); margin: 0 0 14px; }
.lp-step-copy p { font-size: 18px; line-height: 1.5; margin: 0; max-width: 22em; text-wrap: pretty; }
.lp-step-copy.swap h3, .lp-step-copy.swap p { animation: lp-in 520ms var(--lp-ease) both; }
.lp-step-copy.swap p { animation-delay: 60ms; }
@keyframes lp-in { from { opacity: 0; transform: translateY(14px); } }

/* ── split ── */
.lp-split { max-width: var(--lp-max); margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--lp-gutter); display: grid; gap: clamp(64px, 8vw, 120px); }
.lp-split-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-split-row:nth-child(2) .lp-tile { order: 2; }
.lp-tile { min-height: 300px; border-radius: 32px; background: var(--lp-stone); box-shadow: inset 0 0 0 1px rgba(20, 60, 75, .06); display: grid; place-items: center; align-content: center; gap: 20px; padding: 32px; overflow: hidden; }
.lp-split-copy p { font-size: 18px; line-height: 1.5; margin: 16px 0 0; max-width: 26em; text-wrap: pretty; }
.lp-currency { display: grid; justify-items: center; gap: 8px; padding: 22px 34px; background: var(--lp-cream); border: 2px solid var(--lp-ink); border-radius: 24px; min-width: 300px; }
.lp-cur-wallet { font-size: 14px; color: var(--lp-fog); }
.lp-cur-amt { display: flex; align-items: baseline; gap: 10px; }
.lp-cur-code { font-weight: 700; font-size: 18px; }
.lp-cur-val { font: 400 48px/1 var(--lp-serif); font-variant-numeric: tabular-nums; }
.lp-currency.flip .lp-cur-amt, .lp-currency.flip .lp-cur-wallet { animation: lp-roll 520ms var(--lp-ease); }
@keyframes lp-roll { 0% { transform: translateY(-60%); opacity: 0; } }
.lp-cur-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lp-cur-chips span { padding: 6px 12px; border: 2px solid var(--lp-ink); border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--lp-cream); transition: background-color 300ms; }
.lp-cur-chips span.on { background: var(--lp-cyan); }
.lp-merchants { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 380px; }
.lp-merchants span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: var(--lp-cream); font-weight: 500; }
.lp-merchants span b { padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.lp-merchants span.new { animation: lp-pop 520ms var(--lp-spring); }
.lp-merch-add { flex-basis: 100%; max-width: max-content; margin: 6px auto 0; height: 44px; padding: 0 18px; border-radius: 12px; border: 0; background: var(--lp-ink); color: var(--lp-cream); font: 600 15px var(--lp-sans); cursor: pointer; transition: transform 160ms var(--lp-ease); }
.lp-merch-add:active { transform: scale(.96); }

/* ── runway calc ── */
.lp-runway { text-align: center; }
.lp-calc { display: grid; grid-template-columns: 340px 1fr; gap: 16px; max-width: 1040px; margin: 56px auto 0; padding: 18px; border-radius: 36px; background: var(--lp-ink-2); text-align: left; }
.lp-calc > *, .lp-calc-inputs label, .lp-input { min-width: 0; }
.lp-calc-inputs { display: grid; gap: 18px; padding: 22px; align-content: start; }
.lp-calc-inputs label { display: grid; gap: 8px; font-size: 15px; color: var(--lp-on-dark-muted); }
.lp-calc-inputs label b { color: var(--lp-cyan); font-weight: 600; }
.lp-input { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border-radius: 14px; background: var(--lp-cream); color: var(--lp-ink); border: 2px solid transparent; }
.lp-input:focus-within { border-color: var(--lp-cyan); }
.lp-input em { font-style: normal; font-weight: 600; font-size: 15px; color: var(--lp-fog); }
.lp-input input { flex: 1; min-width: 0; width: 100%; border: 0; background: none; font: 500 20px var(--lp-sans); color: var(--lp-ink); outline: none; font-variant-numeric: tabular-nums; }
.lp-range-wrap input { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--lp-cyan) var(--f, 25%), var(--lp-ink-3) var(--f, 25%)); outline: none; margin: 10px 0; }
.lp-range-wrap input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lp-cream); border: 2px solid var(--lp-ink); cursor: grab; }
.lp-range-wrap input::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--lp-cream); border: 2px solid var(--lp-ink); }
.lp-range-wrap input:focus-visible { outline: 2px solid var(--lp-cyan); outline-offset: 6px; }
.lp-calc-out { border-radius: 24px; background: #2d4a4e00; padding: 22px; display: grid; gap: 16px; }
.lp-calc-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-calc-figs div { padding: 18px 20px; border-radius: 20px; background: var(--lp-ink-3); display: grid; gap: 4px; }
.lp-calc-figs span { font-size: 14px; color: var(--lp-on-dark-muted); }
.lp-calc-figs b { font: 400 clamp(40px, 4.4vw, 60px)/1 var(--lp-serif); font-variant-numeric: tabular-nums; }
.lp-calc-figs em { font-style: normal; font-size: 14px; color: var(--lp-on-dark-muted); }
.lp-gain b { color: var(--lp-cyan); }
.lp-gain em { color: var(--lp-mint); }
.lp-calc-chart { display: block; width: 100%; height: 220px; overflow: visible; }
.lp-axis { stroke: rgba(245, 246, 247, .22); stroke-width: 1; }
.lp-grid line { stroke: rgba(245, 246, 247, .07); stroke-width: 1; }
.lp-line1 { fill: none; stroke: var(--lp-cyan); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lp-line2 { fill: none; stroke: var(--lp-mint); stroke-width: 2; stroke-dasharray: 5 7; stroke-linecap: round; opacity: .9; }
.lp-start { fill: var(--lp-cyan); }
.lp-end { fill: var(--lp-ink); stroke: var(--lp-cyan); stroke-width: 3; }
.lp-end2 { fill: var(--lp-ink); stroke: var(--lp-mint); stroke-width: 2; }
.lp-chart-l { font: 500 12px var(--lp-sans); fill: rgba(245, 246, 247, .45); letter-spacing: .02em; }
.lp-calc-note { max-width: 36em; margin: 28px auto 0; color: var(--lp-on-dark-muted); font-size: 16px; }
.lp-calc-note a { color: var(--lp-cyan); text-underline-offset: 3px; }

/* ── privacy ── */
.lp-privacy { max-width: var(--lp-max); margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--lp-gutter) 0; }
.lp-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.lp-card { padding: 32px; border-radius: 32px; border: 2px solid var(--lp-ink); background: var(--lp-cream); transition: transform 300ms var(--lp-ease); }
.lp-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.lp-card h3 { font: 400 30px/1.05 var(--lp-serif); margin: 22px 0 10px; }
.lp-card p { margin: 0; font-size: 16px; line-height: 1.5; color: #33434a; }
.lp-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; border: 2px solid var(--lp-ink); }
.lp-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--lp-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-bg-cyan { background: var(--lp-sky); } .lp-bg-mint { background: var(--lp-mint); } .lp-bg-peach { background: var(--lp-peach); } .lp-bg-pink { background: var(--lp-pink); }

/* ── pricing ── */
.lp-pricing { max-width: var(--lp-max); margin: 0 auto; padding: clamp(96px, 12vw, 160px) var(--lp-gutter); }
.lp-price-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 56px auto 0; padding: clamp(28px, 4vw, 48px); border: 2px solid var(--lp-ink); border-radius: 40px; background: var(--lp-cream); box-shadow: 0 10px 0 var(--lp-ink); }
.lp-sticker { position: absolute; top: -22px; left: 48px; padding: 8px 16px; border: 2px solid var(--lp-ink); border-radius: 999px; background: var(--lp-peach); font-weight: 700; font-size: 15px; transform: rotate(-6deg); }
.lp-price { display: flex; align-items: baseline; gap: 14px; margin: 4px 0 8px; }
.lp-price s { font: 400 40px/1 var(--lp-serif); color: #7d9197; }
.lp-price b { font: 400 120px/.85 var(--lp-serif); letter-spacing: -.03em; }
.lp-price span { font-size: 18px; color: var(--lp-fog); }
.lp-price-sub { margin: 0 0 24px; font-size: 16px; }
/* Two plans: side by side, stacked on a phone. The plan card keeps the price-card look, one column. */
.lp-plans { display: grid; gap: 40px; max-width: 900px; margin: 56px auto 0; }
.lp-plans-two { grid-template-columns: 1fr 1fr; }
.lp-plans .lp-price-card { margin: 0; max-width: none; grid-template-columns: 1fr; gap: 0; }
.lp-plan .lp-price-top { display: flex; flex-direction: column; height: 100%; }
.lp-plan .lp-price-sub { flex: 1; }
.lp-plan .lp-sticker + .lp-price-top { padding-top: 14px; }
.lp-plans-more { max-width: 900px; margin: 48px auto 0; }
.lp-plans-more .lp-checks { grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.lp-plans-more .lp-fine { margin-top: 24px; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: center; }
.lp-checks li { position: relative; padding-left: 32px; font-size: 16px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--lp-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141517' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; border: 1.5px solid var(--lp-ink); }

/* ── faq ── */
.lp-faq { max-width: var(--lp-max); margin: 0 auto; padding: 0 var(--lp-gutter) clamp(96px, 12vw, 160px); }
.lp-faq-box { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: 48px; background: var(--lp-ink); }
.lp-faq-list details { border-bottom: 1px solid rgba(245, 246, 247, .14); }
.lp-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 500; color: var(--lp-on-dark); }
.lp-faq-list summary::-webkit-details-marker { display: none; }
.lp-faq-list summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--lp-cyan); transition: transform 300ms var(--lp-ease); }
.lp-faq-list details[open] summary::after { transform: rotate(45deg); }
.lp-faq-list p { margin: 0; padding: 0 0 22px; color: var(--lp-on-dark-muted); font-size: 16px; line-height: 1.55; max-width: 36em; }
.lp-faq-list .ans { overflow: hidden; }

/* ── final ── */
.lp-final { overflow: hidden; min-height: 720px; display: grid; place-content: center; text-align: center; }
.lp-final .lp-display { position: relative; z-index: 1; }
.lp-float { position: absolute; inset: 0; pointer-events: none; }
.lp-fcard { position: absolute; left: 50%; top: 50%; display: grid; gap: 4px; width: 200px; padding: 18px 20px; border-radius: 22px; border: 2px solid var(--lp-ink); color: var(--lp-ink); font-size: 14px; font-weight: 500; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + var(--py, 0px))) rotate(var(--r)); }
.lp-fcard b { font: 400 32px/1 var(--lp-serif); }

/* ── footer ── */
.lp-footer { max-width: var(--lp-max); margin: 0 auto; padding: clamp(72px, 10vw, 120px) var(--lp-gutter) 40px; }
.lp-foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-foot-cols div { display: grid; gap: 10px; align-content: start; }
.lp-foot-cols a { text-decoration: none; font-size: 16px; }
.lp-foot-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-wordmark { display: block; margin: clamp(56px, 8vw, 96px) 0 32px; }
.lp-wordmark svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-wordmark .t { fill: var(--lp-cyan); stroke: var(--lp-ink); stroke-width: 1.5; }
.lp-wordmark .o { fill: none; stroke: var(--lp-ink); stroke-width: 7; stroke-linecap: round; }
.lp-wordmark .d { fill: var(--lp-ink); }
.lp-wordmark .m { transform-box: fill-box; transform-origin: center; }
.lp-js .lp-wordmark:not(.in) .m { transform: scale(.4) rotate(-12deg); opacity: 0; }
.lp-wordmark .m { transition: transform 800ms var(--lp-spring), opacity 300ms; }
.lp-wordmark .w > * { fill: none; stroke: var(--lp-ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.lp-wordmark .w2 > * { stroke: var(--lp-fog); }
.lp-wordmark .w .x { stroke: var(--lp-cyan); }
.lp-js .lp-wordmark:not(.in) .w > * { stroke-dashoffset: 100; opacity: 0; }
.lp-js .lp-wordmark .w > * { transition: stroke-dashoffset 900ms var(--lp-ease), opacity 1ms; }
.lp-wordmark .w > :nth-child(1) { transition-delay: 200ms; } .lp-wordmark .w > :nth-child(2) { transition-delay: 270ms; } .lp-wordmark .w > :nth-child(3) { transition-delay: 340ms; } .lp-wordmark .w > :nth-child(4) { transition-delay: 410ms; } .lp-wordmark .w > :nth-child(5) { transition-delay: 480ms; } .lp-wordmark .w > :nth-child(6) { transition-delay: 550ms; } .lp-wordmark .w > :nth-child(7) { transition-delay: 620ms; } .lp-wordmark .w2 > :nth-child(1) { transition-delay: 760ms; } .lp-wordmark .w2 > :nth-child(2) { transition-delay: 830ms; } .lp-wordmark .w2 > :nth-child(3) { transition-delay: 900ms; } .lp-wordmark .w2 > :nth-child(4) { transition-delay: 970ms; } .lp-wordmark .w2 > :nth-child(5) { transition-delay: 1040ms; } .lp-wordmark .w2 > :nth-child(6) { transition-delay: 1110ms; } .lp-wordmark .w2 > :nth-child(7) { transition-delay: 1180ms; } .lp-wordmark .w2 > :nth-child(8) { transition-delay: 1250ms; } .lp-wordmark .w2 > :nth-child(9) { transition-delay: 1320ms; } .lp-wordmark .w2 > :nth-child(10) { transition-delay: 1390ms; } .lp-wordmark .w2 > :nth-child(11) { transition-delay: 1460ms; } .lp-wordmark .w2 > :nth-child(12) { transition-delay: 1530ms; } .lp-wordmark .w2 > :nth-child(13) { transition-delay: 1600ms; }
.lp-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--lp-fog); }

/* ── reveal ── */
/* reveal moves content, never hides it: the page reads complete before any script runs */
.lp-js .lp-reveal:not(.in) { transform: translateY(26px); }
.lp-reveal { transition: transform 800ms var(--lp-ease); }
.lp-js .lp-display.lp-reveal:not(.in) .lp-line { transform: translateY(24%); }
.lp-display.lp-reveal .lp-line { transition: transform 900ms var(--lp-ease); }
.lp-display.lp-reveal.in .lp-line + .lp-line { transition-delay: 140ms; }
.lp-display.lp-reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .lp-js .lp-reveal:not(.in), .lp-js .lp-display.lp-reveal:not(.in) .lp-line { transform: none; }
  .lp-marquee-track { animation: none; }
}

/* ── responsive ── */
@media (max-width: 980px) {
  .lp-links { display: none; }
  .lp-nav-cta { margin-left: auto; }
  .lp-how-grid { grid-template-columns: 1fr; height: auto; gap: 24px; }
  .lp-steps, .lp-phone-col, .lp-step-copy { position: static; }
  .lp-steps { display: flex; gap: 6px; border: 0; overflow-x: auto; scrollbar-width: none; }
  .lp-steps li { padding: 8px 16px; border: 2px solid var(--lp-ink); border-radius: 999px; flex: none; white-space: nowrap; }
  .lp-steps li::before { display: none; }
  .lp-steps li span { font: 600 15px var(--lp-sans); }
  .lp-steps li.on { background: var(--lp-cyan); }
  .lp-step-copy { padding-top: 0; }
  .lp-phone-col { order: 2; }
  .lp-split-row, .lp-calc, .lp-price-card, .lp-faq-box { grid-template-columns: 1fr; }
  .lp-plans-two, .lp-plans-more .lp-checks { grid-template-columns: 1fr; }
  .lp-split-row:nth-child(2) .lp-tile { order: 0; }
  .lp-cards3 { grid-template-columns: 1fr; }
  .lp-compare { grid-template-columns: 1fr; }
  .lp-fcard { display: none; }
}
@media (max-width: 560px) {
  .lp-nav-cta { gap: 10px; }
  .lp-nav-price { display: none; }
  .lp-signin { font-size: 13px; white-space: nowrap; }
  .lp-nav .lp-btn-sm { font-size: 13px; white-space: nowrap; }
  .lp-brand { font-size: 15px; gap: 7px; white-space: nowrap; }
  .lp-brand .lp-mark { width: 30px; height: 30px; }
  .lp-nav { gap: 10px; padding-left: 12px; }
  .lp-nav .lp-btn-sm { padding: 0 12px; }
  .lp-phone { width: 290px; height: 610px; border-radius: 46px; }
  .lp-phone-screen { border-radius: 36px; }
  .lp-phone-host { transform: scale(.6718); }
  .lp-pill { height: 60px; }
  .lp-pill svg { width: 34px; height: 34px; }
  .lp-pill-chip { min-width: 96px; font-size: 13px; }
  /* the hero SVG is cropped by height here (scale ≈ .62), so the ribbon text gets bigger units */
  .lp-raw-text { font-size: 20px; }
  .lp-sorted-text { font-size: 26px; }
  .lp-cmp { min-height: 0; }
  .lp-sheet .r { grid-template-columns: 44px 1fr 64px; }
  .lp-sheet .r span:nth-child(4) { display: none; }
  .lp-calc-figs { grid-template-columns: 1fr; }
  .lp-price b { font-size: 96px; }
  .lp-foot-cols { grid-template-columns: 1fr 1fr; }
}

.lp-pill { left: var(--px, 50%); top: var(--py, 62.4%); }
.lp-fcard { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + var(--py, 0px))) rotate(var(--r)); }
@media (max-width: 1180px) { .lp-fcard { width: 168px; } .lp-fcard b { font-size: 26px; } }

/* ── legal pages (/terms, /privacy, /impressum) ── */
.lp-legal { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vh, 96px) var(--lp-gutter) 24px; }
.lp-legal .lp-h { margin-top: 10px; }
.lp-legal h2 { font: 600 19px var(--lp-sans); margin: 36px 0 10px; }
.lp-legal p, .lp-legal dd { font-size: 17px; line-height: 1.55; margin: 0 0 12px; }
.lp-legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 18px 0 0; }
.lp-legal dt { font-weight: 600; }
.lp-legal dd { margin: 0; }
.lp-legal ul { margin: 0 0 12px; padding-left: 1.2em; }
.lp-legal li { font-size: 17px; line-height: 1.55; margin: 0 0 6px; }
.lp-legal-meta { color: #5b6770; font-size: 15px; }
.lp-todo { display: inline-block; padding: 2px 8px; border: 2px dashed #c0392b; border-radius: 8px; background: #fde8e6; color: #8e1b10; font: 600 15px ui-monospace, "SF Mono", Menlo, monospace; }
.lp-legal-back { display: inline-block; margin-top: 40px; font-weight: 500; }
@media (max-width: 560px) { .lp-legal dl { grid-template-columns: 1fr; gap: 2px; } .lp-legal dd { margin-bottom: 12px; } }

/* phone demo: Reserves and Businesses (screens defined in landing.js on top of the app's nd-* styles) */
.lpd-chart { display: block; width: 100%; height: 120px; margin-top: 4px; }
.lpd-chart .ax { stroke: var(--hairline); }
.lpd-chart .ar { fill: var(--accent-soft); }
.lpd-chart .ln { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: lpd-draw 1.1s 200ms var(--ease-out, ease-out) forwards; }
.lpd-chart text { font: 500 10px var(--font-sans, Inter, sans-serif); fill: var(--ink-muted); }
@keyframes lpd-draw { to { stroke-dashoffset: 0; } }
.lpd-row { transition: opacity 360ms, transform 360ms, max-height 420ms 120ms; max-height: 80px; overflow: hidden; }
.lpd-row.gone { opacity: 0; transform: translateX(30%); max-height: 0; min-height: 0; box-shadow: none; }
.lpd-tag { display: inline-block; margin-top: 2px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.lpd-tag.maybe { background: none; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--hairline); }
.lpd-tag.owe { background: rgba(255,138,128,.14); color: var(--danger); }
.lpd-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lpd-tile { padding: 14px; border-radius: var(--radius-lg, 20px); background: var(--surface-1); box-shadow: var(--shadow-raised); }
.lpd-tile b { display: block; margin-top: 6px; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.lpd-tile small { display: block; margin-top: 2px; font-size: 12px; color: var(--ink-muted); }
.lpd-tile.cyan { background: linear-gradient(160deg, var(--card-cyan), var(--card-cyan-2)); color: var(--on-card); }
.lpd-tile.cyan .nd-eyebrow, .lpd-tile.cyan small { color: var(--on-card-muted); }
.lpd-line { padding: 12px 0; }
.lpd-line + .lpd-line { box-shadow: 0 -1px 0 var(--hairline); }
.lpd-line .h { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.lpd-line .h span { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.lpd-line .nd-bar { margin-top: 8px; }
.lpd-line .l { margin-top: 6px; font-size: 12px; color: var(--ink-muted); text-align: right; }
.lpd-line .l.over { color: var(--danger); }

/* Tap targets (20.10): the header and footer links keep their look; their hit area is 40px high */
.lp-brand, .lp-signin, .lp-legal-back { position: relative; }
.lp-brand::after, .lp-signin::after, .lp-legal-back::after { content: ""; position: absolute; inset: -6px -4px; }
.lp-signin::after { inset: -11px -4px; }
.lp-legal-back::after { inset: -9px -4px; }
.lp-skip { padding-block: 12px; }

