/* =============================================================================
   landing.css — the smaller landing page (/gift/). Pricing and its FAQ live
   on the home page (index.html, self-contained); /pricing/ only redirects.
   The same dusk-to-paper world as the home page, in fewer moving parts:
   a dusk hero, the real meadow (an example, inside a frame), then paper.
   ============================================================================= */
body { margin: 0; background: var(--lm-cream); color: var(--lm-ink); font: 400 1rem/1.6 var(--lm-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
.lp-wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

/* ------------------------------------------------------------------ nav */
.lp-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--lm-moon); font: 400 1rem/1 var(--lm-serif); letter-spacing: .02em; }
.lp-brand svg { width: 18px; height: auto; color: var(--lm-moon); }
.lp-nav nav { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.lp-nav nav a { color: var(--lm-moon-60); text-decoration: none; font-size: .92rem; display: inline-block; padding: 12px 4px; }
@media (hover: hover) { .lp-nav nav a:hover { color: var(--lm-moon); } }
.lp-nav nav a:active { color: var(--lm-moon); }
@media (max-width: 520px) { .lp-nav nav .lp-hide-sm { display: none; } }

/* ----------------------------------------------------------------- hero */
.lp-hero { position: relative; color: var(--lm-moon); background:
  radial-gradient(70% 55% at 75% 100%, rgba(226,146,84,.32), transparent 70%),
  linear-gradient(180deg, #0f1c27 0%, #1d2433 45%, #2b3242 75%, #4a3b3a 100%);
  padding: 120px 0 72px; overflow: hidden; }
.lp-hero .lp-wrap { position: relative; z-index: 2; }
.lp-kicker { margin: 0 0 14px; font: 500 .78rem/1.2 var(--lm-sans); letter-spacing: .3em; text-transform: uppercase; color: var(--lm-ember); }
.lp-hero h1 { margin: 0; max-width: 15ch; font: 300 clamp(2.5rem, 7vw, 4.4rem)/1.02 var(--lm-serif); letter-spacing: -.02em; }
.lp-hero h1 em { font-style: italic; color: var(--lm-ember); }
.lp-sub { margin: 20px 0 0; max-width: 34rem; font-size: clamp(1.05rem, 2.4vw, 1.2rem); line-height: 1.65; color: var(--lm-moon-60); }
.lp-cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.lp-note { margin: 0; font-size: .92rem; color: var(--lm-moon-60); }
.lp-hero .lp-lanterns { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.lp-hero .lp-lanterns span { position: absolute; width: 22px; color: var(--lm-ember); opacity: .8; animation: lm-drift 7s ease-in-out infinite; }
.lp-hero .lp-lanterns .lm-lantern { width: 100%; height: auto; }
/* off screen, they rest */
.lp-hero.is-off .lp-lanterns span { animation-play-state: paused; }

/* ------------------------------------------------- the example meadow */
.lp-demo { background: linear-gradient(180deg, #4a3b3a 0%, var(--lm-cream) 38%); padding: 8px 0 56px; }
.lp-frame { position: relative; border-radius: 22px; overflow: hidden; background: #141a26; box-shadow: 0 40px 80px -40px rgba(20, 12, 4, .6), 0 0 0 1px rgba(241, 233, 218, .12); }
.lp-frame iframe { display: block; width: 100%; height: min(78vh, 640px); border: 0; }
/* a solid label: a live blur over the meadow behind it would be recomputed every frame */
.lp-frame-label { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(15, 28, 39, .85); color: var(--lm-moon); font: 500 .78rem/1.2 var(--lm-sans); letter-spacing: .04em; }
.lp-caption { margin: 14px 4px 0; font: italic 400 1rem/1.5 var(--lm-serif); color: var(--lm-ink-60); text-align: center; }

/* --------------------------------------------------------------- paper */
.lp-section { padding: 56px 0; }
.lp-section h2 { margin: 0 0 8px; font: 300 clamp(1.9rem, 4.5vw, 2.6rem)/1.1 var(--lm-serif); letter-spacing: -.01em; }
.lp-section > .lp-wrap > p { max-width: 40rem; color: var(--lm-ink-80); }
.lp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.lp-steps li { counter-increment: s; background: var(--lm-card); border: 1px solid var(--lm-line); border-radius: var(--lm-r); padding: 22px; }
.lp-steps li::before { content: "0" counter(s); display: block; margin-bottom: 8px; font: 500 .78rem/1 var(--lm-sans); letter-spacing: .25em; color: var(--lm-amber-ink); }
.lp-steps h3 { margin: 0 0 6px; font: 400 1.25rem/1.25 var(--lm-serif); }
.lp-steps p { margin: 0; color: var(--lm-ink-80); font-size: .96rem; }

/* FAQ */
.lp-faq { margin-top: 24px; max-width: 46rem; }
.lp-faq details { box-sizing: border-box; border-top: 1px solid var(--lm-line); padding: 4px 0; }
.lp-faq details.is-moving { overflow: hidden; }
.lp-faq details:last-child { border-bottom: 1px solid var(--lm-line); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; position: relative; font: 400 1.12rem/1.4 var(--lm-serif); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 300 1.4rem/1 var(--lm-sans); color: var(--lm-amber-ink); }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details.is-closing summary::after { content: "+"; }
.lp-faq summary:focus-visible { outline: 2px solid var(--lm-amber-ink); outline-offset: 2px; border-radius: 4px; }
.lp-faq p { margin: 0 0 16px; color: var(--lm-ink-80); }

/* the last word, and the footer */
.lp-close { text-align: center; padding: 40px 0 72px; }
.lp-close h2 { margin: 0 auto 22px; max-width: 22ch; font: 300 clamp(1.8rem, 4.5vw, 2.5rem)/1.15 var(--lm-serif); }
.lp-foot { border-top: 1px solid var(--lm-line); padding: 28px 0 40px; font-size: .9rem; color: var(--lm-ink-60); }
.lp-foot .lp-wrap { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lp-foot a { color: var(--lm-ink-60); text-decoration: none; display: inline-block; padding: 10px 2px; }
@media (hover: hover) { .lp-foot a:hover { color: var(--lm-ink); text-decoration: underline; } }
.lp-foot a:active { color: var(--lm-ink); }
.lp-foot button { background: none; border: 0; padding: 10px 2px; color: var(--lm-ink-60); font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) { .lp-hero .lp-lanterns span { animation: none; } }
@media (max-width: 760px) { .lp-hero .lp-lanterns { display: none; } }

/* "Instead of flowers": the second framing, between the hero and the example meadow */
.lp-instead { padding: 48px 0 8px; background: var(--lm-cream); }
.lp-instead h2 { max-width: 20ch; }
.lp-instead > .lp-wrap > p { font-size: 1.08rem; }
.lp-instead .lp-cta-row { margin-top: 22px; }
.lp-note-ink { color: var(--lm-ink-60); }
/* the example meadow follows on paper now, not straight out of the dusk */
.lp-instead + .lp-demo { background: var(--lm-cream); padding-top: 24px; }

/* the founding price line (price.js; hidden at the regular price): its own line, plain small print */
.lp-founding { flex-basis: 100%; margin: 0; }
.lp-founding[hidden] { display: none; }
.lp-close .lp-founding { margin-top: 14px; }
