/* SEED Legacy app page concept. Loads after seed.css and app-kit.css; seed-kit v2 tokens only. */

/* 1 · Hero */
.lg-hero { position: relative; overflow: hidden; background: var(--seed-bg); color: var(--seed-ink); padding: 64px 0 0; isolation: isolate; }
.lg-hero::before { content: ""; position: absolute; inset: 20% -20% auto; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--seed-color-mineral-teal) 40%, transparent), transparent); z-index: -1; pointer-events: none; }
.lg-app { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.lg-app .app-icon { --s: 64px; }
.lg-app-name { font: 500 1.375rem/1.1 var(--seed-font-display); letter-spacing: -0.01em; }
.lg-app-meta { color: var(--seed-muted); font-size: 0.875rem; margin-top: 4px; }
.lg-hero h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
.lg-hero h1 span { display: block; color: var(--seed-accent); }
.lg-hero .lead { margin-top: 20px; }
.lg-hero .signup { margin-top: 28px; }
.lg-hero .proof { margin-top: 72px; padding-bottom: 72px; }


/* 2 · The moment */
.lg-moment .split { gap: 80px; }
.lg-moment-media { position: relative; margin: 0 0 40px; }
.lg-moment-media > img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 45% 50%; border-radius: var(--seed-radius-lg); }
.lg-letter { position: absolute; right: -28px; bottom: -40px; width: min(340px, 78%); margin: 0; padding: 20px 22px; border-radius: var(--seed-radius-md); background: var(--seed-surface); color: var(--seed-ink); box-shadow: 0 24px 60px -24px color-mix(in srgb, var(--seed-color-ink) 45%, transparent), 0 0 0 1px var(--seed-line); }
.lg-letter p { font-size: 1rem; line-height: 1.55; }
.lg-letter footer { margin-top: 10px; font-size: 0.75rem; color: var(--seed-muted); }
.lg-moment-copy h2 { max-width: 13em; }
.lg-moment-copy > p { margin-top: 20px; color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.lg-gifts { display: grid; gap: 20px; margin-top: 32px; }
.lg-gifts li { display: flex; gap: 14px; align-items: flex-start; }
.lg-gifts svg { box-sizing: content-box; width: 20px; height: 20px; padding: 10px; border-radius: 12px; background: var(--seed-success-bg); color: var(--seed-link); }
.lg-gifts div { display: grid; }
.lg-gifts strong { font-weight: 600; }
.lg-gifts span { color: var(--seed-muted); font-size: 0.9375rem; }

/* 3 · How it works: three steps, then when anything is shared */
.lg-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lg-step { display: flex; flex-direction: column; padding: 32px; border-radius: var(--seed-radius-lg); background: var(--seed-bg); }
.lg-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.lg-step-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--seed-radius-md); background: var(--seed-color-ink); color: var(--seed-color-pale-mint); }
.lg-step-icon svg { width: 22px; height: 22px; }
.lg-step-n { font: 400 0.8125rem var(--seed-font-mono); color: var(--seed-link); }
.lg-step h3 { font-size: 1.375rem; }
.lg-step > p { margin-top: 10px; color: var(--seed-muted); font-size: 0.9375rem; }
.lg-step > p { margin-bottom: 24px; }
.lg-step .lg-perm { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--seed-line); font-size: 0.9375rem; }
.lg-perm { display: grid; gap: 6px; }
.lg-perm li { display: flex; gap: 10px; align-items: flex-start; }
.lg-perm svg { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.lg-perm .yes svg { color: var(--seed-success); }
.lg-perm .no, .lg-perm .no svg { color: var(--seed-muted); }
.lg-when { display: flex; gap: 16px; align-items: flex-start; margin-top: 24px; padding: 24px 32px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); color: var(--seed-muted); }
.lg-when svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--seed-link); }
.lg-when strong { color: var(--seed-ink); font-weight: 600; }

/* 4 · Identity wishes (dark) */
.lg-wishes { background: var(--seed-bg); color: var(--seed-ink); }
.lg-wishes-copy > p:not(.eyebrow):not(.fine) { margin-top: 20px; color: var(--seed-muted); font-size: 1.0625rem; max-width: 34em; }
.lg-choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.lg-choice li { padding: 8px 16px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-pill); font-size: 0.875rem; font-weight: 500; }
.lg-wishes .fine { margin-top: 12px; max-width: 40em; }
.lg-wish-list { display: grid; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--seed-line); }
.lg-wish-list li { display: flex; gap: 12px; align-items: flex-start; }
.lg-wish-list svg { color: var(--seed-accent); margin-top: 2px; }
.lg-wishes-media { margin: 0; }
.lg-wishes-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--seed-radius-lg); }

/* 5 · Control and privacy */
.lg-trust { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.lg-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lg-trust-grid svg { width: 28px; height: 28px; color: var(--seed-link); }
.lg-trust-grid h3 { margin-top: 20px; }
.lg-trust-grid p { margin-top: 8px; color: var(--seed-muted); font-size: 0.9375rem; }
.lg-roadmap { background: var(--seed-color-paper); }
.lg-roadmap h3 { margin-bottom: 8px; }
.lg-roadmap li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--seed-line); }
.lg-roadmap li:last-child { border-bottom: 0; padding-bottom: 0; }
.lg-roadmap li div { display: grid; gap: 2px; }
.lg-roadmap strong { font-weight: 600; }
.lg-roadmap li div span { font-size: 0.875rem; color: var(--seed-muted); }
.lg-state { align-self: start; justify-self: start; padding: 3px 10px; border-radius: var(--seed-radius-pill); border: 1px solid var(--seed-line); background: var(--seed-surface); font: 400 0.75rem var(--seed-font-mono); color: var(--seed-muted); white-space: nowrap; }
.lg-state-now { background: var(--seed-success-bg); border-color: transparent; color: var(--seed-success); }

/* 6 · Works with */
.lg-works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lg-works-grid a { display: flex; flex-direction: column; gap: 20px; height: 100%; padding: 28px; border: 1px solid var(--seed-line); border-radius: var(--seed-radius-lg); background: var(--seed-bg); color: var(--seed-ink); text-decoration: none; transition: border-color var(--seed-duration-fast), transform var(--seed-duration-base) var(--seed-ease); }
.lg-works-grid a:hover { border-color: var(--seed-control-border); transform: translateY(-2px); }
.lg-works-grid .app-icon { --s: 56px; }
.lg-works-grid div { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lg-works-grid strong { font: 500 1.25rem var(--seed-font-display); letter-spacing: -0.01em; }
.lg-works-grid p { color: var(--seed-muted); font-size: 0.9375rem; }
.lg-flow { margin-top: auto; padding-top: 12px; font: 400 0.75rem var(--seed-font-mono); color: var(--seed-link); }
@media (prefers-reduced-motion: reduce) { .lg-works-grid a:hover { transform: none; } }

/* Signup contract helpers (kit.js posts the form on the live site) */
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup-note a { color: inherit; text-underline-offset: 0.2em; }
.form-status { flex-basis: 100%; font-size: 0.8125rem; color: var(--seed-success); }
.form-status:empty { display: none; }

/* Pricing tweaks */
.plan-featured .pill { background: color-mix(in srgb, var(--seed-color-pale-mint) 12%, transparent); border-color: transparent; color: var(--seed-color-pale-mint); }
.dock a[aria-current="page"] { box-shadow: 0 0 0 2px var(--seed-color-pale-mint); }

/* Responsive */
@media (max-width: 1080px) {
  .lg-trust { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .lg-moment .split { gap: 72px; }
  .lg-letter { right: 16px; }
  .lg-works-grid { grid-template-columns: minmax(0, 1fr); }
  .lg-wishes-media img { aspect-ratio: 3 / 2; }
  .lg-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lg-step { padding: 28px; }
}
@media (max-width: 720px) {
  .lg-hero { padding: 40px 0 0; }
  .lg-hero .proof { margin-top: 56px; padding-bottom: 56px; }
  .lg-app { margin-bottom: 24px; }
  .lg-app .app-icon { --s: 60px; }
  .lg-letter { position: relative; right: auto; bottom: auto; width: auto; margin: -48px 16px 0; }
  .lg-moment-media { margin-bottom: 0; }
  .lg-when { padding: 20px; }
  .lg-trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .lg-trust-grid .card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; padding: 24px; }
  .lg-trust-grid .card svg { grid-row: span 2; }
  .lg-trust-grid h3 { margin-top: 0; }
  .lg-trust-grid p { margin-top: 0; }
}
@media (max-width: 520px) {
  .lg-hero h1 { font-size: 2.375rem; }
  .lg-app .app-icon { --s: 52px; }
  .lg-step { padding: 24px; }
  .lg-when { flex-direction: column; gap: 12px; }
  .lg-choice { display: grid; grid-template-columns: 1fr 1fr; }
  .lg-choice li { text-align: center; }
  .lg-roadmap li { grid-template-columns: 1fr; gap: 8px; }
}
