/* Landing page. Built on the app tokens, so every theme applies here too. */

.lp { overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .lp-wrap { padding: 0 16px; } }

.lp .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.lp .brand__mark { width: 36px; height: 36px; }
.lp .brand__mark .mk-bg { fill: var(--mark-bg); } .lp .brand__mark .mk-1 { fill: var(--mark-1); }
.lp .brand__mark .mk-2 { fill: var(--mark-2); } .lp .brand__mark .mk-3 { fill: var(--mark-3); }
.lp .brand__name { font-family: var(--font-display); font-size: 18px; font-weight: 800; letter-spacing: 0.01em; line-height: 1; white-space: nowrap; }
.lp .brand__pro {
  display: inline-grid; place-items: center; padding: 4px 7px 3px; border-radius: 6px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-ui); font-size: 11px; font-weight: 800; letter-spacing: 0.12em; line-height: 1;
}

.lp-btn-lg { min-height: 52px; padding: 0 24px; font-size: var(--text-base); border-radius: 14px; }
.lp-btn-lg:hover { transform: translateY(-2px); }
.lp-arr { transition: transform 0.25s var(--ease); }
.lp-btn-go:hover .lp-arr { transform: translateX(4px); }
.lp-hide-sm { }
@media (max-width: 720px) { .lp-hide-sm { display: none; } }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--text-sm); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-ink);
}
.lp-eyebrow--on-dark { color: var(--accent); }
.lp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 45%, transparent); animation: lp-pulse 2.4s ease-in-out infinite; }
.lp-lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.lp-lead--sm { font-size: var(--text-base); max-width: 380px; }
.lp-label { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lp-label--on-dark { color: var(--on-dark-muted); }
.lp-label--primary { color: var(--primary-ink); }
.lp-label--accent { color: var(--accent); }

/* Lime highlighter that sweeps under "pas cu pas" */
.lp-mark {
  padding: 0 4px; margin: 0 -4px;
  background: linear-gradient(transparent 62%, color-mix(in oklab, var(--accent) 80%, transparent) 62% 92%, transparent 92%) no-repeat 0 0 / 0% 100%;
  animation: lp-swipe 1.1s 0.5s var(--ease) forwards;
}

.lp-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-pills li { padding: 8px 12px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--text-sm); font-weight: 700; color: var(--ink-2); }
.lp-pills--center { justify-content: center; }

/* ---------- Nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--topbar-bg); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease);
}
.lp-nav.is-scrolled { border-bottom-color: var(--line); }
.lp-nav__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.lp-nav__links { display: flex; gap: 4px; margin-left: 16px; }
.lp-nav__links a { white-space: nowrap; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: var(--text-md); font-weight: 650; }
.lp-nav__links a:hover { background: var(--surface-2); color: var(--ink); }
.lp-nav__cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.lp-nav__cta .btn { white-space: nowrap; }
@media (max-width: 1180px) { .lp-nav__links { display: none; } }
@media (max-width: 480px) {
  .lp-nav__inner { gap: 12px; }
  .lp-nav__cta { gap: 4px; }
  .lp-nav .btn--ghost { padding: 0 8px; }
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.lp-hero__grid { position: relative; display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.lp-hero__text { display: flex; flex-direction: column; gap: 22px; }
.lp-hero h1 { font-size: clamp(38px, 5.4vw, 70px); line-height: 1.02; letter-spacing: -0.045em; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 960px) {
  .lp-hero { padding: 40px 0 64px; }
  .lp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 520px) { .lp-hero__actions .btn { width: 100%; } }

/* Rising "steps" behind the hero: the logo motif at page scale */
.lp-bgsteps { position: absolute; right: -40px; bottom: 0; width: 46%; height: 88%; display: flex; align-items: flex-end; gap: 20px; opacity: 0.6; pointer-events: none; }
.lp-bgsteps span { flex: 1; border-radius: 36px 36px 0 0; transform-origin: bottom; animation: lp-grow 1.2s var(--ease) both; }
.lp-bgsteps span:nth-child(1) { height: 34%; background: color-mix(in oklab, var(--sage) 22%, var(--paper)); animation-delay: 0.1s; }
.lp-bgsteps span:nth-child(2) { height: 58%; background: color-mix(in oklab, var(--mint) 40%, var(--paper)); animation-delay: 0.25s; }
.lp-bgsteps span:nth-child(3) { height: 80%; background: color-mix(in oklab, var(--accent) 35%, var(--paper)); animation-delay: 0.4s; }
.lp-bgsteps span:nth-child(4) { height: 100%; background: color-mix(in oklab, var(--accent) 75%, var(--paper)); animation-delay: 0.55s; }
@media (max-width: 960px) { .lp-bgsteps { width: 80%; height: 40%; opacity: 0.4; } }

/* Live quick check card */
.lp-check {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
  animation: lp-float 6s ease-in-out infinite;
  scroll-margin-top: 96px;
}
.lp-check:focus-within { animation-play-state: paused; }
.lp-check__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-check__note { font-size: var(--text-xs); color: var(--muted); text-align: center; }
.lp-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.lp-q legend { padding: 0; margin-bottom: 10px; font-size: var(--text-base); font-weight: 750; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { position: relative; }
.lp-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lp-chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  font-size: var(--text-md); font-weight: 700; white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.lp-chip:hover span { border-color: var(--ink-2); }
.lp-chip input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--on-dark); transform: translateY(-1px); }
.lp-chip input:focus-visible + span { box-shadow: var(--ring); }

.lp-verdict { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 16px; border-radius: 20px; background: var(--dark); color: var(--on-dark); }
.lp-verdict__text { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-verdict__title { font-family: var(--font-display); font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lp-verdict__title.is-new { animation: lp-fade 0.45s var(--ease); }
.lp-verdict__note { font-size: var(--text-sm); line-height: 1.5; color: var(--on-dark-muted); }
.lp-verdict__note strong { color: var(--on-dark); }

/* Score gauge (arc length set by landing.js from data-gauge) */
.lp-gauge { position: relative; flex-shrink: 0; display: inline-grid; place-items: center; }
.lp-gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lp-gauge circle { fill: none; stroke-width: 12; }
.lp-gauge__track { stroke: color-mix(in oklab, var(--on-dark) 14%, transparent); }
.lp-gauge__arc { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 0 364.4; transition: stroke-dasharray 1s var(--ease); }
.lp-gauge__value { position: relative; font-family: var(--font-display); font-weight: 750; letter-spacing: -0.03em; }
.lp-gauge--sm { width: 96px; height: 96px; } .lp-gauge--sm .lp-gauge__value { font-size: 28px; }
.lp-gauge--md { width: 108px; height: 108px; } .lp-gauge--md .lp-gauge__value { font-size: 30px; }
.lp-gauge--lg { width: 132px; height: 132px; } .lp-gauge--lg .lp-gauge__value { font-size: 40px; }
.lp-gauge--light .lp-gauge__track { stroke: var(--line); }
.lp-gauge--light .lp-gauge__arc { stroke: var(--primary); }

/* ---------- Programme marquee ---------- */
.lp-marquee {
  overflow: hidden; padding: 22px 0; background: var(--dark);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.lp-marquee__track { list-style: none; display: flex; gap: 12px; width: max-content; animation: lp-marquee 70s linear infinite; }
.lp-marquee:hover .lp-marquee__track { animation-play-state: paused; }
.lp-marquee li {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--r-pill);
  border: 1px solid color-mix(in oklab, var(--on-dark) 14%, transparent); color: var(--on-dark);
  font-size: var(--text-md); font-weight: 700; white-space: nowrap;
}
.lp-marquee li span { padding: 3px 8px; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; }

/* ---------- Sections ---------- */
.lp-section { padding: 112px 0; }
.lp-section--tint { background: color-mix(in oklab, var(--surface-2) 75%, transparent); }
.lp-section--dark { background: var(--dark); color: var(--on-dark); }
.lp-section--dark .lp-lead { color: var(--on-dark-muted); }
.lp-section h2 { font-size: clamp(32px, 3.8vw, 48px); letter-spacing: -0.035em; line-height: 1.06; }
.lp-section--dark h2, .lp-section--dark h3 { color: var(--on-dark); }
.lp-stack { display: flex; flex-direction: column; gap: 48px; }
.lp-head { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lp-head--left { margin: 0; text-align: left; align-items: flex-start; }
.lp-split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.lp-split-head .lp-head { max-width: 660px; }
.lp-grid2 { display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lp-grid2--even { gap: 20px; align-items: stretch; }
@media (max-width: 960px) { .lp-grid2 { grid-template-columns: minmax(0, 1fr); gap: 36px; } .lp-grid2--even { gap: 16px; } }
@media (max-width: 640px) { .lp-section { padding: 64px 0; } .lp-stack { gap: 32px; } }

.lp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-tags li { padding: 8px 14px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); font-size: var(--text-md); font-weight: 700; color: var(--ink-2); }
.lp-ticks, .lp-crosses { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.lp-ticks li, .lp-crosses li { position: relative; padding-left: 32px; font-size: var(--text-base); font-weight: 600; line-height: 1.5; }
.lp-ticks li::before, .lp-crosses li::before {
  content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lp-crosses li { color: var(--ink-2); }
.lp-crosses li::before {
  background: var(--danger);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.lp-quote { padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-size: var(--text-md); line-height: 1.55; color: var(--ink-2); }
.lp-quote--dark { background: color-mix(in oklab, var(--on-dark) 7%, transparent); color: var(--on-dark-muted); }

/* Progress bars that fill when they come into view */
.lp-bar { display: flex; flex-direction: column; gap: 8px; }
.lp-bar__head { display: flex; justify-content: space-between; gap: 12px; font-size: var(--text-sm); font-weight: 700; }
.lp-bar__track { height: 10px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.lp-bar__fill { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.3s var(--ease) var(--d, 0s); }
.lp-bar__fill--primary { background: var(--primary); }
.lp-bar__fill--grad { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.is-in .lp-bar__fill, .lp-bar__fill.is-in { transform: none; }

/* ---------- Step by step: stairs ---------- */
.lp-stairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; }
.lp-stair {
  display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-align: left;
  height: calc(150px + var(--i) * 34px); padding: 18px;
  border: 1px solid var(--line); border-radius: 22px 22px 10px 10px;
  background: var(--surface); color: var(--ink-2);
  transform-origin: bottom; animation: lp-grow 0.9s var(--ease) both; animation-delay: calc(0.1s + var(--i) * 0.08s);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), translate 0.3s var(--ease);
}
.lp-stair:hover { translate: 0 -4px; }
.lp-stair.is-done { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.lp-stair[aria-selected='true'] { background: var(--accent); border-color: var(--accent-edge); color: var(--on-accent); box-shadow: 0 24px 48px -24px color-mix(in oklab, var(--ink) 60%, transparent); }
.lp-stair__n { font-family: var(--font-display); font-size: 40px; font-weight: 750; line-height: 1; letter-spacing: -0.04em; }
.lp-stair__t { display: block; font-size: var(--text-base); font-weight: 800; line-height: 1.2; }
.lp-stair__d { display: block; margin-top: 4px; font-size: var(--text-xs); font-weight: 650; opacity: 0.75; }
@media (max-width: 960px) { .lp-stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lp-stair { height: auto; min-height: 132px; } }
@media (max-width: 560px) { .lp-stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lp-stair__n { font-size: 32px; } }

.lp-stair-panel { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; padding: 32px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.lp-stair-panel.is-new { animation: lp-fade 0.45s var(--ease); }
.lp-stair-panel__text { display: flex; flex-direction: column; gap: 10px; }
.lp-stair-panel h3 { font-size: 30px; letter-spacing: -0.03em; }
.lp-stair-panel__text > p:last-child { font-size: var(--text-base); line-height: 1.6; color: var(--ink-2); }
.lp-roles { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-role { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: var(--surface-2); }
.lp-role--primary { background: var(--primary-soft); }
.lp-role p:last-child { font-size: var(--text-base); font-weight: 600; line-height: 1.5; }
@media (max-width: 960px) { .lp-stair-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 520px) { .lp-stair-panel { padding: 20px; } .lp-roles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Audience switch ---------- */
.lp-tabs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6px; margin-top: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.lp-tab { min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: var(--text-base); font-weight: 800; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.lp-tab:hover { color: var(--ink); }
.lp-tab[aria-selected='true'] { background: var(--dark); color: var(--on-dark); }
.lp-seg { display: grid; gap: 56px; align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); animation: lp-fade 0.45s var(--ease); }
.lp-seg[hidden] { display: none; }
.lp-seg__text { display: flex; flex-direction: column; gap: 18px; padding: 8px 0; }
.lp-seg__text h3 { font-size: 34px; letter-spacing: -0.03em; }
@media (max-width: 960px) { .lp-seg { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

.lp-case { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.lp-case__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.lp-case__row { display: flex; align-items: center; gap: 20px; }
.lp-case__name { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lp-case__prog { margin-top: 4px; font-size: var(--text-md); font-weight: 600; color: var(--muted); }
.lp-case--dark { justify-content: center; background: var(--dark); border-color: var(--dark); color: var(--on-dark); box-shadow: none; align-items: flex-start; }
.lp-case__big { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.lp-case__sub { font-size: var(--text-base); line-height: 1.6; color: var(--on-dark-muted); }
@media (max-width: 520px) { .lp-case { padding: 20px; } }

/* ---------- Feasibility score ---------- */
.lp-bands { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin-top: 8px; }
.lp-band { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 18px; background: var(--surface-2); color: var(--ink-2); font-size: var(--text-sm); font-weight: 650; line-height: 1.4; }
.lp-band strong { font-family: var(--font-display); font-size: 22px; font-weight: 750; color: var(--ink-2); }
.lp-band--ok { background: var(--success-soft); } .lp-band--ok strong { color: var(--success); }
.lp-band--warn { background: var(--warn-soft); } .lp-band--warn strong { color: var(--warn); }
@media (max-width: 520px) { .lp-bands { grid-template-columns: minmax(0, 1fr); } }

.lp-scorecard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: 32px; background: var(--dark); color: var(--on-dark); }
.lp-scorecard::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%); }
.lp-scorecard > * { position: relative; }
.lp-scorecard__row { display: flex; align-items: center; gap: 22px; }
.lp-scorecard__title { margin-top: 4px; font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.lp-scorecard__sub { font-size: var(--text-md); font-weight: 600; color: var(--on-dark-muted); }
.lp-criteria { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.lp-criteria .lp-bar__head { margin-bottom: 8px; }
.lp-criteria .lp-bar__head span:last-child { color: var(--accent); }
.lp-criteria .lp-bar__track { height: 8px; background: color-mix(in oklab, var(--on-dark) 10%, transparent); }
.lp-criteria li { --d: 0s; }
.lp-criteria .lp-bar__fill { transition-delay: var(--d); }
@media (max-width: 520px) { .lp-scorecard { padding: 22px; } .lp-scorecard__row { gap: 16px; } .lp-gauge--lg { width: 104px; height: 104px; } .lp-gauge--lg .lp-gauge__value { font-size: 32px; } }

/* ---------- Account ---------- */
.lp-acc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.lp-acc__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-mock { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: var(--surface); color: var(--ink); }
.lp-mock--wide, .lp-feat--wide { grid-column: span 2; }
.lp-mock__head { display: flex; justify-content: space-between; align-items: baseline; }
.lp-mock__count { font-family: var(--font-display); font-size: 18px; font-weight: 750; }
.lp-mock__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.lp-mock__list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--text-md); font-weight: 650; }
.lp-feat { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 22px; background: color-mix(in oklab, var(--on-dark) 6%, transparent); border: 1px solid color-mix(in oklab, var(--on-dark) 10%, transparent); }
.lp-feat__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.lp-feat h3 { font-size: var(--text-base); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lp-feat p { font-size: var(--text-md); line-height: 1.5; color: var(--on-dark-muted); }
@media (max-width: 520px) { .lp-acc__grid { grid-template-columns: minmax(0, 1fr); } .lp-mock--wide, .lp-feat--wide { grid-column: auto; } }

/* ---------- Comparison ---------- */
.lp-cmp { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px dashed var(--line-strong); }
.lp-cmp h3 { font-size: 20px; color: var(--muted); }
.lp-cmp--good { background: var(--primary-soft); border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent); }
.lp-cmp--good h3 { color: var(--primary-ink); }
@media (max-width: 520px) { .lp-cmp { padding: 22px; } }

/* ---------- FAQ ---------- */
.lp-faq { display: grid; gap: 48px; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
.lp-faq__list { display: flex; flex-direction: column; gap: 10px; }
.lp-faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color 0.2s var(--ease); }
.lp-faq__item[open] { border-color: var(--line-strong); }
.lp-faq__item summary {
  position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 650; letter-spacing: -0.01em;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: ''; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2);
  transition: background 0.3s var(--ease);
}
.lp-faq__item[open] summary::after { background: var(--accent); }
.lp-faq__item summary::before {
  content: ''; position: absolute; right: 31px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: var(--ink-2); z-index: 1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.3s var(--ease);
}
.lp-faq__item[open] summary::before { transform: rotate(45deg); background: var(--on-accent); }
.lp-faq__item summary:focus-visible { border-radius: var(--r-lg); }
.lp-faq__item p { padding: 0 22px 22px; color: var(--ink-2); line-height: 1.65; }
.lp-faq__item[open] p { animation: lp-fade 0.35s var(--ease); }
@media (max-width: 960px) { .lp-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Final CTA ---------- */
.lp-cta {
  position: relative; overflow: hidden; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 80px 32px; border-radius: 36px; background: var(--dark); color: var(--on-dark);
}
.lp-cta h2 { position: relative; color: var(--on-dark); font-size: clamp(36px, 5vw, 64px); }
.lp-cta h2 em { font-style: normal; color: var(--accent); }
.lp-cta .lp-lead { position: relative; color: var(--on-dark-muted); }
.lp-cta .lp-hero__actions { position: relative; justify-content: center; margin-top: 8px; }
.lp-cta__steps { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; display: flex; align-items: flex-end; gap: 14px; padding: 0 24px; opacity: 0.16; }
.lp-cta__steps span { flex: 1; border-radius: 20px 20px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--ease); }
.lp-cta__steps span:nth-child(1) { height: 18%; background: var(--sage); }
.lp-cta__steps span:nth-child(2) { height: 32%; background: var(--sage); transition-delay: 0.08s; }
.lp-cta__steps span:nth-child(3) { height: 46%; background: var(--mint); transition-delay: 0.16s; }
.lp-cta__steps span:nth-child(4) { height: 60%; background: var(--mint); transition-delay: 0.24s; }
.lp-cta__steps span:nth-child(5) { height: 78%; background: var(--accent); transition-delay: 0.32s; }
.lp-cta__steps span:nth-child(6) { height: 100%; background: var(--accent); transition-delay: 0.4s; }
.lp-cta.is-in .lp-cta__steps span { transform: none; }
.lp-btn-outline-dark { border: 1px solid color-mix(in oklab, var(--on-dark) 30%, transparent); color: var(--on-dark); background: transparent; }
.lp-btn-outline-dark:hover { background: color-mix(in oklab, var(--on-dark) 8%, transparent); color: var(--on-dark); }
@media (max-width: 640px) { .lp-cta { padding: 56px 20px; border-radius: 24px; } }

/* ---------- Footer ---------- */
.lp-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); }
.lp-footer__inner { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.8fr); }
.lp-footer__tag { margin-top: 14px; max-width: 320px; color: var(--muted); font-size: var(--text-md); }
.lp-footer__links { display: flex; flex-direction: column; gap: 10px; }
.lp-footer__links a, .lp-footer__contact a { color: var(--ink-2); font-weight: 650; font-size: var(--text-md); }
.lp-footer__links a:hover, .lp-footer__contact a:hover { color: var(--primary); }
.lp-footer__label { font-size: var(--text-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.lp-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--text-sm); color: var(--muted); }
@media (max-width: 760px) { .lp-footer__inner { grid-template-columns: minmax(0, 1fr); } }

/* Theme gallery under the landing nav: a full-width panel on phones */
.lp-nav .theme-menu { top: calc(100% + 10px); }
@media (max-width: 960px) {
  .lp-nav .theme-menu { position: fixed; left: 16px; right: 16px; top: 80px; width: auto; max-height: calc(100vh - 110px); overflow-y: auto; }
}

/* ---------- Reveal on scroll (landing.js adds .is-in) ---------- */
.lp-js .lp-rv { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.lp-js .lp-rv.is-in { opacity: 1; transform: none; }

/* ---------- Motion ---------- */
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in oklab, var(--accent) 0%, transparent); } }
@keyframes lp-swipe { to { background-size: 100% 100%; } }
@keyframes lp-grow { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
@keyframes lp-float { 50% { transform: translateY(-10px); } }
@keyframes lp-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lp-mark { background-size: 100% 100%; animation: none; }
  .lp-check, .lp-dot { animation: none; }
  .lp-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .lp-marquee__track [aria-hidden='true'] { display: none; }
  .lp-js .lp-rv { opacity: 1; transform: none; }
  .lp-bar__fill, .lp-cta__steps span { transform: none; }
}
