/* landing.css — the home page only. Rules: design-system/sheppardsocial/pages/landing.md.
 * Built on app.css's tokens (--st-*), re-coloured here from the logo: ink
 * #0f1820, lime #9cdc30, paper #f5f6f4. Light by default; Platform › Site ›
 * Look sets light, dark, or the visitor's device. Lime is a fill (buttons,
 * the cycling word's highlight, the chart), never text on a light ground. */

body.sl:has(.lp), .lp, .lp-bar {
  --lp-ink: #0f1820; --lp-paper: #f5f6f4; --lp-lime: #9cdc30; --lp-lime-hi: #aee64f;
  --st-bg: #f7f8f5; --st-surface: #ffffff; --st-surface-2: #eef1ea;
  --st-border: #e1e5dc; --st-border-strong: #c7cebe;
  --st-text: #0f1820; --st-muted: #46525c; --st-subtle: #5a6670;
  --st-accent: #3f6b06; --st-accent-bg: rgba(156, 220, 48, .22);
  --st-focus: 3px solid rgba(63, 107, 6, .45);
  --lp-wash: 245, 246, 244;
}
.lp {
  --n-ig: #e1306c; --n-fb: #1877f2; --n-th: #101010; --n-li: #0a66c2; --n-x: #0f1419; --n-yt: #ff0000; --n-tt: #0f1820;
  --lp-gap: clamp(64px, 9vw, 128px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body.sl:has(.lp), :root:not([data-theme="light"]) .lp, :root:not([data-theme="light"]) .lp-bar {
    --st-bg: #0b1117; --st-surface: #121b23; --st-surface-2: #18232d;
    --st-border: #22303b; --st-border-strong: #32434f;
    --st-text: #f5f6f4; --st-muted: #b9c3cb; --st-subtle: #9aa7b1;
    --st-accent: #9cdc30; --st-accent-bg: rgba(156, 220, 48, .14);
    --st-focus: 3px solid rgba(156, 220, 48, .5);
    --lp-wash: 11, 17, 23;
  }
  :root:not([data-theme="light"]) .lp { --n-th: #f5f5f5; --n-x: #e7e9ea; --n-tt: #f5f6f4; }
}
:root[data-theme="dark"] body.sl:has(.lp), :root[data-theme="dark"] .lp, :root[data-theme="dark"] .lp-bar {
  --st-bg: #0b1117; --st-surface: #121b23; --st-surface-2: #18232d;
  --st-border: #22303b; --st-border-strong: #32434f;
  --st-text: #f5f6f4; --st-muted: #b9c3cb; --st-subtle: #9aa7b1;
  --st-accent: #9cdc30; --st-accent-bg: rgba(156, 220, 48, .14);
  --st-focus: 3px solid rgba(156, 220, 48, .5);
  --lp-wash: 11, 17, 23;
}
:root[data-theme="dark"] .lp { --n-th: #f5f5f5; --n-x: #e7e9ea; --n-tt: #f5f6f4; }

/* Buttons in the logo's colours: lime with ink type (about 11:1), and a quiet outline. */
.lp .sl-btn-primary, .lp-bar .sl-btn-primary { background: var(--lp-lime); color: var(--lp-ink) !important; }
.lp .sl-btn-primary:hover, .lp-bar .sl-btn-primary:hover { background: var(--lp-lime-hi); box-shadow: 0 6px 18px rgba(156, 220, 48, .35); }

/* ── The header over the hero: clear until the page scrolls, solid after ── */
.lp-bar { position: fixed; inset: 0 0 auto; z-index: var(--sl-z-bar); background: transparent; border-bottom-color: transparent;
          transition: background-color .25s ease, border-color .25s ease; }
.lp-bar .sl-pub-nav > a:not(.sl-btn) { color: var(--st-text); }
.lp-bar .sl-pub-nav > a:not(.sl-btn):hover { color: var(--st-accent); }
.lp-bar.is-solid { background: var(--st-surface); border-bottom-color: var(--st-border); }
.lp-bar .sl-pub-nav > a { white-space: nowrap; }
/* A phone keeps the mark and the actions; the name is in the hero's logo just below. */
@media (max-width: 480px) {
  .lp-bar .sl-pub-nav > a[href="/pricing"] { display: none; }
  .lp-bar .sl-brandname { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ── Hero: the full logo centred over the video, a wash in the page's own tone ── */
.lp-hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden;
           background: var(--st-bg); color: var(--st-text); isolation: isolate; text-align: center; }
/* No video or still: the logo's dots, faint and still. */
.lp-hero:not(.has-media)::before {
  content: ""; position: absolute; inset: 0; z-index: -2; opacity: .5;
  background:
    radial-gradient(circle at 50% 42%, rgba(156, 220, 48, .22), transparent 42%),
    radial-gradient(circle, color-mix(in srgb, var(--st-text) 14%, transparent) 1.5px, transparent 2px) 0 0 / 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 80%);
}
.lp-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* The wash keeps text at 4.5:1 or better over any frame: paper in light, ink in dark. */
.lp-hero-scrim { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 48%, rgba(var(--lp-wash), .9), rgba(var(--lp-wash), .78) 70%),
              linear-gradient(180deg, rgba(var(--lp-wash), .55), rgba(var(--lp-wash), .25) 40%, rgba(var(--lp-wash), .7) 100%); }
.lp-hero:not(.has-media) .lp-hero-scrim { display: none; }
.lp-hero-in { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 112px; padding-bottom: clamp(56px, 9vh, 104px); }
.lp-kicker { margin: 0 0 var(--sl-space-md); color: var(--st-muted); font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
/* Without the logo (no video yet): the original hero, the words large, set
   left and low, as Julian had it (Inter 600, uppercase, up to 112px). */
.lp-hero:not(.has-logo) { align-items: flex-end; text-align: left; }
.lp-hero:not(.has-logo) .lp-hero-in { align-items: flex-start; padding-top: 140px; padding-bottom: clamp(56px, 9vh, 112px); }
.lp-hero:not(.has-logo) .lp-h1 { max-width: none; font-size: clamp(44px, 8vw, 112px); line-height: .98; text-transform: uppercase; }
.lp-hero:not(.has-logo) .lp-word { justify-self: start; margin-left: -.14em; }
.lp-hero:not(.has-logo) .lp-lede { margin: var(--sl-space-lg) 0 0; font-size: clamp(17px, 1.6vw, 20px); }
.lp-hero:not(.has-logo) .lp-ctas { justify-content: flex-start; }
.lp-logo { margin: 0 0 clamp(20px, 3.5vh, 36px); line-height: 0; }
.lp-logo img { width: clamp(240px, 32vw, 440px); height: auto; }
.lp-h1 { max-width: 20ch; margin: 0; font-family: var(--st-font); font-weight: 600; font-size: clamp(30px, 4.2vw, 54px); line-height: 1.08;
         letter-spacing: -.025em; color: var(--st-text); text-wrap: balance; }
/* The cycling word on a full lime highlight with ink type (about 11:1), in light and dark. */
.lp-cycle { display: inline-grid; vertical-align: bottom; }
.lp-word { grid-area: 1 / 1; justify-self: center; padding: .02em .14em .04em; border-radius: .1em; background: var(--lp-lime); color: var(--lp-ink);
           -webkit-box-decoration-break: clone; box-decoration-break: clone;
           opacity: 0; transform: translateY(.35em); animation: lp-word 10s cubic-bezier(.2, .7, .2, 1) infinite; animation-delay: calc(var(--i) * 2.5s); }
@keyframes lp-word {
  0%   { opacity: 0; transform: translateY(.35em); }
  4%   { opacity: 1; transform: none; }
  22%  { opacity: 1; transform: none; }
  25%  { opacity: 0; transform: translateY(-.35em); }
  100% { opacity: 0; transform: translateY(-.35em); }
}
.lp-lede { max-width: 46ch; margin: var(--sl-space-md) auto 0; color: var(--st-muted); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; }
.lp-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: var(--sl-space-xl) 0 0; }
.lp-btn { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 999px; transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
.lp-btn-ghost { background: color-mix(in srgb, var(--st-surface) 70%, transparent); border: 1px solid var(--st-border-strong); color: var(--st-text) !important; }
.lp-btn-ghost:hover { background: var(--st-surface); border-color: var(--st-text); }
.lp-pause { position: absolute; right: 24px; bottom: 24px; display: grid; place-items: center; width: 44px; height: 44px;
            border: 1px solid var(--st-border-strong); border-radius: 50%; background: color-mix(in srgb, var(--st-surface) 80%, transparent); color: var(--st-text); cursor: pointer;
            transition: background-color .2s ease; }
.lp-pause:hover { background: var(--st-surface); }

/* ── Where it publishes ── */
.lp-nets { border-bottom: 1px solid var(--st-border); background: var(--st-surface); }
.lp-nets-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sl-space-lg); flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
.lp-nets ul { display: flex; flex-wrap: wrap; gap: clamp(16px, 4vw, 48px); margin: 0; padding: 0; list-style: none; }
.lp-net { display: inline-flex; align-items: center; gap: 10px; color: var(--st-text); font-weight: 600; font-size: 17px; }
.lp-net i { font-size: 26px; }
.lp-net-ig i { color: var(--n-ig); } .lp-net-fb i { color: var(--n-fb); } .lp-net-th i { color: var(--n-th); }
.lp-net-li i { color: var(--n-li); } .lp-net-x i { color: var(--n-x); }
.lp-net-yt i { color: var(--n-yt); } .lp-net-tt i { color: var(--n-tt); }

.lp-label { margin: 0 0 var(--sl-space-md); color: var(--st-muted); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.lp-h2 { margin: 0; font-family: var(--st-font); font-weight: 600; font-size: clamp(34px, 5vw, 64px); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }

/* ── How it works: big type beside the product ── */
.lp-how { padding: var(--lp-gap) 0; }
.lp-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: var(--lp-gap); }
.lp-step.is-flip .lp-step-text { order: 2; }
.lp-step-n { display: block; color: var(--st-accent); font-weight: 600; font-size: 15px; letter-spacing: .12em; }
.lp-step h3 { margin: 8px 0 var(--sl-space-md); font-family: var(--st-font); font-weight: 600; font-size: clamp(40px, 5.5vw, 76px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.lp-step p { margin: 0; max-width: 40ch; color: var(--st-muted); font-size: 18px; line-height: 1.6; }

.lp-mock { position: relative; padding: 18px; border: 1px solid var(--st-border); border-radius: 20px; background: var(--st-surface);
           box-shadow: 0 30px 60px -30px rgba(27, 21, 37, .35); }
.lp-mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.lp-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--st-border-strong); }
.lp-mock-prompt { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 14px 16px; border: 1px solid var(--st-border-strong);
                  border-radius: 14px; color: var(--st-text); font-size: 15px; }
.lp-mock-prompt i { color: var(--st-accent); font-size: 18px; }
.lp-drafts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-draft { padding: 14px; border-radius: 14px; background: var(--st-surface-2); }
.lp-draft p { margin: 10px 0 0; color: var(--st-text); font-size: 14px; line-height: 1.5; max-width: none; }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--st-surface);
           border: 1px solid var(--st-border); color: var(--st-text); font-size: 12.5px; font-weight: 600; }
.lp-chip i { font-size: 15px; }

.lp-review { display: grid; gap: 14px; }
.lp-review-head { display: flex; align-items: center; gap: 12px; }
.lp-review-head div { display: grid; flex: 1; }
.lp-review-head small { color: var(--st-muted); font-size: 13px; }
.lp-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--st-accent-bg); color: var(--st-accent); font-weight: 600; }
.lp-pill { padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; }
.lp-pill.is-warn { background: var(--st-warn-bg); color: var(--st-warn); }
.lp-review-post { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--st-surface-2); }
.lp-review-post .lp-art { min-height: 0; aspect-ratio: 1; padding: 0; border-radius: 10px; }
.lp-review-post p { margin: 0; color: var(--st-text); font-size: 15px; max-width: none; }
.lp-review-acts { display: flex; justify-content: flex-end; gap: 10px; }
.lp-fake-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border: 1px solid var(--st-border-strong); border-radius: 999px;
               color: var(--st-text); font-size: 14px; font-weight: 600; }
.lp-fake-btn.is-primary { border-color: transparent; background: var(--lp-lime); color: var(--lp-ink); }

.lp-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.lp-cal-day { display: grid; align-content: start; gap: 6px; min-height: 170px; padding: 10px 8px; border-radius: 12px; background: var(--st-surface-2); }
.lp-cal-day small { color: var(--st-muted); font-size: 12px; font-weight: 600; }
.lp-cal-post { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 8px; background: var(--st-surface); border: 1px solid var(--st-border);
               color: var(--st-text); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lp-cal-post i { font-size: 14px; }

/* ── Example posts: the wall ── */
.lp-wall { padding: var(--lp-gap) 0; background: var(--st-surface-2); }
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 18px; margin-top: var(--sl-space-2xl); }
.lp-post { display: flex; flex-direction: column; margin: 0; overflow: hidden; border: 1px solid var(--st-border); border-radius: 20px; background: var(--st-surface); }
.lp-post figcaption { display: grid; gap: 10px; justify-items: start; padding: 18px; }
.lp-post figcaption p { margin: 0; color: var(--st-text); font-size: 15.5px; line-height: 1.5; }
.lp-post .lp-post-big { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.lp-post-tall { grid-row: span 2; }
.lp-post-wide { grid-column: span 2; flex-direction: row; }
.lp-post-wide .lp-art { flex: 1.2; }
.lp-post-wide figcaption { flex: 1; align-content: center; }
.lp-art { position: relative; display: flex; align-items: flex-end; flex: 1; min-height: 160px; padding: 20px; }
.lp-art b { color: #fff; font-size: clamp(26px, 3vw, 40px); font-weight: 600; line-height: 1; letter-spacing: -.02em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.lp-art-1 { background: linear-gradient(160deg, #ff9a4d, #dd2a7b 70%); }
.lp-art-2 { background: linear-gradient(135deg, #8134af, #f58529); }
.lp-art-3 { background: linear-gradient(135deg, #0a66c2, #515bd4); }
.lp-art-4 { background: linear-gradient(150deg, #1877f2, #8cc63f); }
.lp-art-5 { background: linear-gradient(120deg, #1b1525, #7b2fbe 60%, #f472b6); }
.lp-fine { margin: var(--sl-space-md) 0 0; color: var(--st-muted); font-size: 13px; }

/* ── Measure ── */
.lp-measure { padding: var(--lp-gap) 0; }
.lp-measure-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-facts { display: grid; gap: 20px; margin: var(--sl-space-xl) 0 0; padding: 0; list-style: none; }
.lp-facts li { display: flex; gap: 14px; }
.lp-facts i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--st-accent-bg); color: var(--st-accent); font-size: 20px; }
.lp-facts span { display: grid; color: var(--st-muted); font-size: 15.5px; }
.lp-facts strong { color: var(--st-text); font-size: 17px; }
.lp-chart-h { display: flex; justify-content: space-between; margin: 0 0 16px; color: var(--st-text); font-weight: 600; }
.lp-chart-h small { color: var(--st-muted); font-weight: 500; }
.lp-bars { display: flex; align-items: flex-end; gap: 10px; height: 240px; padding-top: 10px; border-bottom: 1px solid var(--st-border); }
.lp-bars span { flex: 1; height: var(--v); border-radius: 8px 8px 0 0; background: var(--st-accent-bg); }
.lp-bars span.is-now { background: var(--lp-lime); }

/* ── Closing band ── */
.lp-end { padding: var(--lp-gap) 0; background: var(--lp-ink); color: var(--lp-paper); }
.lp-end-h { margin: 0; font-family: var(--st-font); font-weight: 600; font-size: clamp(44px, 7.5vw, 104px); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; color: var(--lp-paper); }
.lp-end-h span { color: var(--lp-lime); }
.lp-end .lp-btn-ghost { background: transparent; border-color: rgba(245, 246, 244, .4); color: var(--lp-paper) !important; }
.lp-end .lp-btn-ghost:hover { background: rgba(245, 246, 244, .08); border-color: var(--lp-paper); }
.lp-end .lp-ctas { margin-top: var(--sl-space-2xl); }

/* ── Smaller screens ── */
@media (max-width: 900px) {
  .lp-step, .lp-measure-in { grid-template-columns: 1fr; }
  .lp-step.is-flip .lp-step-text { order: 0; }
  .lp-drafts { grid-template-columns: 1fr; }
  .lp-grid { grid-template-columns: 1fr 1fr; }
  .lp-post-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .lp-grid { grid-template-columns: 1fr; }
  .lp-post-tall { grid-row: auto; }
  .lp-post-wide { grid-column: auto; flex-direction: column; }
  .lp-cal { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-review-post { grid-template-columns: 1fr; }
}

/* ── Less motion: the first word stays, nothing slides ── */
@media (prefers-reduced-motion: reduce) {
  .lp-word { animation: none; }
  .lp-word:first-child { opacity: 1; transform: none; }
  .lp-bar, .lp-btn, .lp-pause { transition: none; }
}
