/*
 * DGCS Studio · Stage 8A: landing page sections (lp-*), added to the page head only by pages that use them.
 * Built on the site's own variables (site.css), so light and dark mode follow the theme switch. Everything is scoped
 * to lp- class names; no existing class is changed.
 */

.lp-wrap { max-width: 1200px; margin: 0 auto; }
.lp-sec { padding: 80px 24px; }
.lp-sec.lp-bg-tint { background: var(--surface-panel); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.lp-sec.lp-bg-tint + .lp-sec.lp-bg-tint { border-top: 0; }
.lp-sec.lp-sec-flush { padding-top: 0; }
.lp-sec.lp-bg-tint + .lp-sec-flush.lp-bg-tint { margin-top: -1px; }

.lp-eyebrow { margin: 0; font-size: 0.8125rem; line-height: 1.25rem; font-weight: 600; letter-spacing: 0.14em; color: var(--text-link); text-transform: uppercase; }
.lp-h2 { margin: 12px 0 0; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; color: var(--text-primary); }
.lp-lead { margin: 16px 0 0; max-width: 640px; font-size: 1.0625rem; line-height: 1.6; color: var(--text-secondary); }
.lp-head { margin-bottom: 40px; }
.lp-cap { margin: 20px 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--text-muted); }
.lp-textlink { display: inline-block; margin-top: 24px; font-size: 0.9375rem; font-weight: 600; color: var(--text-link); text-decoration: none; }
.lp-textlink:hover { text-decoration: underline; }
.lp-textlink.lp-inline { margin-top: 0; }

/* Hero */
.lp-hero { padding: 88px 24px 64px; }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.lp-hero-center .lp-hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; }
.lp-hero-center .lp-btns { justify-content: center; }
.lp-h1 { margin: 16px 0 0; font-size: clamp(2.375rem, 5vw, 3.75rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; color: var(--text-primary); }
.lp-hero-intro { margin: 24px 0 0; max-width: 600px; font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.6; color: var(--text-secondary); }
.lp-btns { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-note { margin: 12px 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--text-muted); }
.lp-facts { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border-subtle); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.lp-facts li { font-size: 0.875rem; line-height: 1.45; color: var(--text-secondary); }
.lp-facts strong { display: block; margin-bottom: 2px; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); }
.lp-stack { position: relative; width: 100%; aspect-ratio: 1.18 / 1; }
.lp-stack-img { position: absolute; width: 47%; height: auto; border-radius: 6px; box-shadow: var(--shadow-xl); background: #fff; }
.lp-stack-img.s1 { left: 0; top: 12%; }
.lp-stack-img.s3 { right: 0; top: 12%; }
.lp-stack-img.s2 { left: 26.5%; top: 0; z-index: 2; }
.lp-hero-single img { display: block; width: 100%; max-width: 460px; height: auto; margin: 0 auto; border-radius: 8px; box-shadow: var(--shadow-xl); }

/* Media and text */
.lp-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.lp-split.lp-rev { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.lp-split.lp-rev .lp-figure { order: 2; }
.lp-split.lp-split-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.lp-text-over { margin-bottom: 40px; }
.lp-figure { margin: 0; }
.lp-frame { position: relative; max-width: 440px; margin: 0 auto; }
.lp-split-two .lp-frame { max-width: 100%; }
.lp-frame img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lp-img-d { display: none !important; }
[data-theme="dark"] .lp-has-dark .lp-img-d { display: block !important; }
[data-theme="dark"] .lp-has-dark .lp-img-l { display: none !important; }
.lp-mark { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--brand-blue, #2f6fed); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); font-size: 0.8125rem; font-weight: 700; line-height: 24px; text-align: center; }
.lp-items { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.lp-items li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: var(--text-secondary); }
.lp-items strong { display: block; font-weight: 600; color: var(--text-primary); }
.lp-items-num { counter-reset: lpn; }
.lp-items-num li { counter-increment: lpn; }
.lp-items-num li::before { content: counter(lpn); flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--brand-blue, #2f6fed); color: #fff; font-size: 0.8125rem; font-weight: 700; line-height: 28px; text-align: center; }
.lp-items-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Cards */
.lp-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.lp-cols-1 { grid-template-columns: minmax(0, 1fr); }
.lp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card-pic img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: var(--shadow-md); background: #fff; }
.lp-card-pic h3 { margin: 14px 0 0; font-size: 1rem; line-height: 1.4; font-weight: 600; color: var(--text-primary); }
.lp-card-pic p { margin: 2px 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--text-secondary); }
.lp-card-pic .lp-kicker { margin-top: 12px; }
.lp-card { display: block; height: 100%; box-sizing: border-box; padding: 22px 24px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface-panel); text-decoration: none; }
.lp-bg-tint .lp-card { background: var(--bg-app); }
.lp-card h3 { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; color: var(--text-primary); }
.lp-card p { margin: 6px 0 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }
.lp-card .lp-kicker + h3 { margin-top: 6px; }
.lp-card-link { transition: border-color 0.15s ease, transform 0.15s ease; }
.lp-card-link:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.lp-card-link:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.lp-kicker { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-link); }

/* Steps */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.lp-steps li { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--border-subtle); border-radius: 16px; background: var(--surface-panel); }
.lp-bg-tint .lp-steps li { background: var(--bg-app); }
.lp-shot { margin-bottom: 18px; }
.lp-shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border-subtle); }
.lp-step-n { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; color: var(--text-link); }
.lp-steps h3 { margin: 6px 0; font-size: 1.1875rem; line-height: 1.4; font-weight: 600; color: var(--text-primary); }
.lp-steps p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }

/* Pricing (the Pricing page's own cards and size tiles, two cards side by side) */
.lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.lp-fhead { margin-bottom: 40px; }
.lp-pricing-note { margin-top: 24px; }

/* FAQ and call to action */
.lp-faq .dg-faq-a .lp-textlink { white-space: nowrap; }
.lp-cta { padding: 24px 24px 88px; }

/* Phones and small tablets */
@media (max-width: 900px) {
  .lp-sec { padding: 56px 24px; }
  .lp-sec.lp-sec-flush { padding-top: 0; }
  .lp-hero { padding: 56px 24px 48px; }
  .lp-hero-grid, .lp-split, .lp-split.lp-rev, .lp-split.lp-split-two, .lp-plans { grid-template-columns: minmax(0, 1fr) !important; gap: 32px; }
  .lp-split.lp-rev .lp-figure { order: 0; }
  .lp-facts, .lp-items, .lp-items-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lp-head { margin-bottom: 28px; }
  .lp-cols-3, .lp-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cards-panels .lp-grid, .lp-cards-links .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-swipe { display: flex !important; overflow-x: auto; gap: 14px; margin-right: -24px; padding-right: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lp-swipe::-webkit-scrollbar { display: none; }
  .lp-swipe > li { flex: 0 0 62%; scroll-snap-align: start; }
  .lp-steps.lp-swipe > li { flex-basis: 78%; padding: 14px; }
  .lp-shot { margin-bottom: 12px; }
  .lp-cta { padding: 8px 16px 56px; }
  .lp-cta .dg-band { padding: 56px 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-card-link { transition: none; }
  .lp-card-link:hover { transform: none; }
}
