/* Grapevine landing page. Loaded after app.css, whose tokens (colour, type, radius) it uses throughout,
   so the page and the application cannot drift apart in light or dark mode. Every class here is lp-. */
.lp {
  --lp-band: var(--brand-navy); --lp-band-ink: #f2f4f8; --lp-band-muted: #c3c9d6; --lp-band-check: var(--brand-blue);
  --lp-hero-glow: rgba(85, 144, 202, .16);
  font-size: 16px; line-height: 1.6; background: var(--page);
}
@media (prefers-color-scheme: dark) {
  .lp { --lp-band: #131a2b; --lp-band-ink: var(--ink); --lp-band-muted: var(--ink-2); --lp-hero-glow: rgba(85, 144, 202, .12); }
}

.lp-wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .lp-wrap { padding: 0 16px; } }

.lp-skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.lp-skip:focus { left: 16px; }

.btn.lg { padding: 11px 20px; font-size: 15px; border-radius: 10px; }

/* ------------------------------------------------------------------ header */
.lp-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--page) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.lp-nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.lp-brand { display: flex; }
.lp-brand .logo img { height: 34px; width: auto; }
.lp-links { display: flex; gap: 28px; margin-left: auto; }
.lp-links a { color: var(--ink-2); font-size: 15px; }
.lp-links a:hover { color: var(--ink); text-decoration: none; }
.lp-nav > .btn { margin-left: 4px; }
@media (max-width: 760px) {
  .lp-links { display: none; }
  .lp-nav > .btn { margin-left: auto; }
  .lp-brand .logo img { height: 28px; }
}

/* ------------------------------------------------------------------ hero */
.lp-hero { padding: 72px 0 80px; background: radial-gradient(1100px 520px at 85% -10%, var(--lp-hero-glow), transparent 70%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lp-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.lp-hero h1 { font-size: clamp(36px, 5.2vw, 56px); line-height: 1.06; letter-spacing: -.025em; font-weight: 750; color: var(--ink); text-wrap: balance; }
.lp-lede { font-size: 18px; color: var(--ink-2); margin-top: 20px; max-width: 54ch; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp-sources { margin-top: 22px; font-size: 14px; color: var(--muted); letter-spacing: .02em; }
@media (max-width: 960px) {
  .lp-hero { padding: 44px 0 56px; }
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

/* the illustrative product card */
.lp-preview { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 18px 14px; box-shadow: 0 1px 2px rgba(26, 33, 61, .06), 0 18px 48px rgba(26, 33, 61, .10); }
@media (prefers-color-scheme: dark) { .lp-preview { box-shadow: 0 18px 48px rgba(0, 0, 0, .35); } }
.lp-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lp-preview-title { font-size: 14px; font-weight: 600; color: var(--ink); }
.lp-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); border-radius: 99px; padding: 2px 9px; }
.lp-preview .legend { font-size: 12.5px; }
.lp-chart { display: block; width: 100%; height: auto; }
.lp-gridline { stroke: var(--grid); stroke-width: 1; }
.lp-midline { stroke: var(--axis); stroke-width: 1; stroke-dasharray: 3 4; }
.lp-gap { fill: var(--surface-2); stroke: var(--border); stroke-dasharray: 4 4; }
.lp-gap-label { fill: var(--muted); font: 500 11px var(--sans); }
.lp-volume rect { fill: var(--series-1); opacity: .18; }
.lp-line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.lp-line.s1 { stroke: var(--series-1); }
.lp-line.s2 { stroke: var(--series-2); }
.lp-dot { stroke: var(--surface); stroke-width: 2; }
.lp-dot.d1 { fill: var(--series-1); }
.lp-dot.d2 { fill: var(--series-2); }
.lp-preview figcaption { font-size: 13px; color: var(--ink-2); margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }

/* ------------------------------------------------------------------ sections */
.lp-section { padding: 88px 0; }
.lp-section.lp-alt { background: var(--surface-2); border-block: 1px solid var(--border); }
.lp-section h2, .lp-band h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
.lp-section-lede { font-size: 17px; color: var(--ink-2); margin-top: 14px; max-width: 64ch; }
@media (max-width: 640px) { .lp-section { padding: 60px 0; } }

.lp-cards { display: grid; gap: 18px; margin-top: 36px; }
.lp-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .lp-three, .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-three, .lp-features { grid-template-columns: minmax(0, 1fr); } }
.lp-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 22px 24px; }
.lp-card h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.lp-card p { color: var(--ink-2); font-size: 15px; }
.lp-three .lp-card { border-top: 3px solid var(--brand-blue); }
.lp-icon { width: 36px; height: 36px; padding: 7px; margin-bottom: 14px; border-radius: 10px; background: var(--accent-wash); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* numbered steps */
.lp-steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.lp-steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.lp-steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.lp-steps h3 { font-size: 17px; font-weight: 650; margin-bottom: 8px; }
.lp-steps p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 1000px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-steps { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ privacy band */
.lp-band { background: var(--lp-band); color: var(--lp-band-ink); padding: 88px 0; }
@media (prefers-color-scheme: dark) { .lp-band { border-block: 1px solid var(--border); } }
.lp-band .lp-section-lede { color: var(--lp-band-muted); }
.lp-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 860px) { .lp-band-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 640px) { .lp-band { padding: 60px 0; } }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.lp-checks li { position: relative; padding-left: 36px; font-size: 16px; color: var(--lp-band-ink); }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-band-check); }
.lp-checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 10px; border: solid var(--brand-navy); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ------------------------------------------------------------------ closing call and footer */
.lp-cta { text-align: center; }
.lp-cta .lp-section-lede { margin: 12px auto 28px; }
.lp-footer { border-top: 1px solid var(--border); padding: 28px 0; }
.lp-footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.lp-footer .logo img { height: 24px; width: auto; }
.lp-footer-row > :last-child { margin-left: auto; }
