/* The public homepage (/welcome): a short, classic page. Dark by default, with a light theme. Loaded after style.css. */

.lp {
  --lp-bg: #040b1c;
  --lp-band: #071330;
  --lp-card: rgba(15, 27, 53, .72);
  --lp-card-solid: #0f1b35;
  --lp-accent: #2fe4d3;
  --lp-accent-ink: #2fe4d3;
  --lp-on-accent: #03201d;
  --lp-accent-2: #4da3ff;
  --lp-text: #f8fafc;
  --lp-muted: #94a3b8;
  --lp-ok: #22c55e;
  --lp-warn: #f5b041;
  --lp-line: rgba(255, 255, 255, .08);
  --lp-line-strong: rgba(255, 255, 255, .16);
  --lp-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3);
  --lp-glow: radial-gradient(55% 60% at 85% 10%, rgba(47, 228, 211, .14), transparent 70%),
             radial-gradient(45% 50% at 5% 0%, rgba(77, 163, 255, .12), transparent 70%);
  background: var(--lp-bg);
  color: var(--lp-text);
  min-height: 100vh;
}
:root[data-theme="light"] .lp {
  --lp-bg: #f5f8fc;
  --lp-band: #ffffff;
  --lp-card: rgba(255, 255, 255, .82);
  --lp-card-solid: #ffffff;
  --lp-accent-ink: #0b7f75;
  --lp-accent-2: #2563eb;
  --lp-text: #0b1730;
  --lp-muted: #4b5b72;
  --lp-ok: #15803d;
  --lp-warn: #b45309;
  --lp-line: rgba(15, 27, 53, .1);
  --lp-line-strong: rgba(15, 27, 53, .18);
  --lp-shadow: 0 24px 60px rgba(15, 31, 61, .12), 0 2px 6px rgba(15, 31, 61, .06);
  --lp-glow: radial-gradient(55% 60% at 85% 10%, rgba(47, 228, 211, .2), transparent 70%),
             radial-gradient(45% 50% at 5% 0%, rgba(77, 163, 255, .14), transparent 70%);
}
html:has(body.lp) { background: #040b1c; }
:root[data-theme="light"]:has(body.lp) { background: #f5f8fc; }
.lp a { color: inherit; }
.lp .icon { width: 18px; height: 18px; flex: none; }
.lp h1, .lp h2 { color: var(--lp-text); }
.lp main { max-width: none; padding: 0; }
.lp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.lp-narrow { max-width: 1120px; }
.lp-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lp-accent); color: var(--lp-on-accent); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.lp-skip:focus { left: 8px; }
.lp :focus-visible { outline: 2px solid var(--lp-accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap; }
.lp-btn-lg { padding: 13px 22px; font-size: 15.5px; }
.lp-btn-primary { background: var(--lp-accent); color: var(--lp-on-accent) !important; box-shadow: 0 8px 24px rgba(47, 228, 211, .22); }
.lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(47, 228, 211, .32); }
.lp-btn-ghost { border-color: var(--lp-line-strong); color: var(--lp-text); }
.lp-btn-ghost:hover { background: var(--lp-card); transform: translateY(-1px); }
.lp-icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--lp-line); background: transparent; color: var(--lp-text); cursor: pointer; }
.lp-icon-btn:hover { background: var(--lp-card); }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--lp-bg) 80%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.lp-header.is-scrolled { border-bottom-color: var(--lp-line); }
.lp-header-row { display: flex; align-items: center; gap: 16px; height: 66px; }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 800; font-size: 18px; text-decoration: none; color: var(--lp-text) !important; }
.lp-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-signin { text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 8px 6px; }

/* Hero */
.lp-hero { background: var(--lp-glow); padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--lp-line); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.lp-eyebrow { display: inline-block; padding: 6px 12px; border: 1px solid var(--lp-line-strong); border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--lp-accent-ink); background: var(--lp-card); margin: 0; }
.lp-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 0; }
.lp-lede { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--lp-muted); margin: 18px 0 0; max-width: 580px; line-height: 1.6; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lp-actions-center { justify-content: center; }
.lp-assurances { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--lp-muted); font-size: 14px; }
.lp-assurances li { display: inline-flex; align-items: center; gap: 6px; }
.lp-assurances .icon { color: var(--lp-ok); width: 16px; height: 16px; }

/* Target tracker */
.lp-track { margin: 0; padding: 26px; border-radius: 20px; background: var(--lp-card); border: 1px solid var(--lp-line-strong); box-shadow: var(--lp-shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: transform .3s ease; }
.lp-track:hover { transform: translateY(-3px); }
.lp-track-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--lp-muted); font-size: 14px; font-weight: 600; }
.lp-track-top em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; border: 1px solid var(--lp-line-strong); }
.lp-figure { margin: 8px 0 18px; color: var(--lp-muted); font-weight: 600; font-size: 15px; }
.lp-figure b { font-size: clamp(34px, 3.4vw, 44px); color: var(--lp-text); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lp-rail { position: relative; height: 40px; border-radius: 12px; background: var(--lp-line); overflow: visible; }
.lp-rail-fill { position: absolute; inset: 0 auto 0 0; width: var(--won); border-radius: 12px; background: linear-gradient(90deg, #14b8a6, var(--lp-accent)); box-shadow: 0 0 24px rgba(47, 228, 211, .35); transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.lp-rail-pace { position: absolute; top: -7px; bottom: -7px; left: var(--pace); width: 2px; border-radius: 2px; background: var(--lp-text); }
.lp-rail-ticks { position: absolute; inset: 0; display: flex; pointer-events: none; }
.lp-rail-ticks s { flex: 1; border-right: 1px solid var(--lp-line); }
.lp-rail-ticks s:last-child { border-right: 0; }
.lp-note { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; color: var(--lp-accent-ink); font-weight: 700; font-size: 14px; }
.lp-note .icon { width: 16px; height: 16px; }
.lp-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--lp-line); }
.lp-mini span { display: block; font-size: 12px; color: var(--lp-muted); font-weight: 600; }
.lp-mini b { display: block; margin-top: 4px; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lp-mini .lp-warn { color: var(--lp-warn); }

/* Main body */
.lp-body { padding: clamp(48px, 6vw, 80px) 0; }
.lp-pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-pillar { padding: 22px; border-radius: 16px; background: var(--lp-card); border: 1px solid var(--lp-line); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.lp-pillar:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lp-accent) 45%, transparent); box-shadow: var(--lp-shadow); }
.lp-pillar-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--lp-accent-ink); background: color-mix(in srgb, var(--lp-accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--lp-accent) 28%, transparent); }
.lp-pillar-icon .icon { width: 21px; height: 21px; }
.lp-pillar h2 { font-size: 17px; line-height: 1.3; margin: 14px 0 8px; letter-spacing: -.01em; }
.lp-pillar p { color: var(--lp-muted); font-size: 14px; line-height: 1.6; margin: 0; }
.lp-also { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 820px; color: var(--lp-muted); font-size: 14.5px; line-height: 1.6; text-align: left; }
.lp-also .icon { color: var(--lp-accent-ink); margin-top: 3px; }
.lp-also b { color: var(--lp-text); }

.lp-compare { max-width: 880px; margin: clamp(48px, 6vw, 72px) auto 0; }
.lp-compare h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; text-align: center; margin: 0 0 20px; }
.lp-table-wrap { border-radius: 16px; border: 1px solid var(--lp-line); background: var(--lp-card); overflow: hidden; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.lp-table th, .lp-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--lp-line); }
.lp-table tr:last-child th, .lp-table tr:last-child td { border-bottom: 0; }
.lp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-muted); font-weight: 700; }
.lp-table tbody th { font-weight: 600; color: var(--lp-text); }
.lp-table td { color: var(--lp-muted); }
.lp-table .lp-yes { color: var(--lp-accent-ink); font-weight: 700; white-space: nowrap; }
.lp-table .lp-yes .icon { width: 16px; height: 16px; vertical-align: -3px; }
.lp-table tbody tr { transition: background .15s ease; }
.lp-table tbody tr:hover { background: color-mix(in srgb, var(--lp-accent) 5%, transparent); }
.lp-footnote { text-align: center; font-size: 12.5px; color: var(--lp-muted); margin: 12px 0 0; }

/* Call to action */
.lp-cta { padding: clamp(48px, 6vw, 80px) 0; text-align: center; background: var(--lp-glow), var(--lp-band); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }
.lp-cta h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.025em; margin: 0; }
.lp-cta p { color: var(--lp-muted); font-size: 16px; line-height: 1.6; max-width: 620px; margin: 12px auto 0; }

/* Footer */
.lp-footer { padding: 26px 0 30px; color: var(--lp-muted); font-size: 13.5px; }
.lp-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.lp-footer p { margin: 0; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.lp-footer nav a { text-decoration: none; color: var(--lp-muted); }
.lp-footer nav a:hover { color: var(--lp-text); }
.lp-legal-line { margin-top: 14px !important; font-size: 12.5px; }

/* Reveal on scroll (only when JavaScript runs, so the page is complete without it) */
.js .lp-reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .lp-reveal.is-in { opacity: 1; transform: none; }
.js .lp-track:not(.is-in) .lp-rail-fill { width: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .lp-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lp-pillars { grid-template-columns: 1fr; }
  .lp-header-actions .lp-btn { display: none; }
  .lp-logo { font-size: 16px; gap: 8px; }
  .lp-btn-lg { width: 100%; }
  .lp-mini { grid-template-columns: 1fr 1fr; }
  .lp-table th, .lp-table td { padding: 10px; font-size: 13.5px; white-space: normal; }
  .lp-table thead th { font-size: 11px; letter-spacing: .03em; }
  .lp-footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .js .lp-reveal { opacity: 1; transform: none; }
}
