/* ══════════════════════════════════════════════════════════
   Sema Legacy — Landing Page Styles (Red Dark Premium)
   Requires styles.css to be loaded first
   ══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.lp-hero {
  padding: 96px 0 80px;
  position: relative; overflow: hidden;
}
:root[data-theme="dark"] .lp-hero {
  background: #08080C;
}
:root[data-theme="light"] .lp-hero {
  background: var(--surface-alt);
}
.lp-hero::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 800px 400px at 50% -40px, rgba(230,57,70,.14) 0%, transparent 70%),
    radial-gradient(ellipse 500px 300px at 90% 50%, rgba(230,57,70,.06) 0%, transparent 60%);
}
:root[data-theme="light"] .lp-hero::before {
  background:
    radial-gradient(ellipse 800px 400px at 50% -40px, rgba(212,47,59,.08) 0%, transparent 70%);
}
.lp-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); background: var(--red-dim);
  border: 1px solid rgba(230,57,70,.25);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.lp-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  max-width: 680px; line-height: 1.12; margin-bottom: 20px;
  font-weight: 600; letter-spacing: -.02em;
}
:root[data-theme="dark"] .lp-hero h1 { color: #fff; }
.lp-hero h1 em { font-style: italic; color: var(--primary); }
.lp-hero__sub {
  font-size: 1.08rem; line-height: 1.68;
  color: var(--text-muted); max-width: 520px; margin-bottom: 40px;
}
.lp-hero__cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.lp-hero__proof { font-size: .76rem; color: var(--text-muted); letter-spacing: .02em; }

/* ── Stats strip ── */
.lp-stats {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-stats__grid { display: flex; justify-content: center; flex-wrap: wrap; }
.lp-stat {
  text-align: center; padding: 40px 48px;
  border-right: 1px solid var(--border);
  flex: 1; min-width: 140px;
  transition: background .2s;
}
.lp-stat:hover { background: var(--surface-alt); }
.lp-stat:last-child { border-right: none; }
.lp-stat__num {
  font-family: var(--font-serif); font-size: 2.3rem; font-weight: 600;
  color: var(--primary); line-height: 1; margin-bottom: 8px;
}
.lp-stat__label { font-size: .76rem; color: var(--text-muted); line-height: 1.4; max-width: 120px; margin: 0 auto; }

/* ── Risk section ── */
.lp-risk { padding: 88px 0; }
.lp-risk__header { margin-bottom: 56px; }
.lp-risk__header h2 { margin-bottom: 12px; }
.lp-risk__list { max-width: 820px; }
.lp-risk-item {
  display: flex; gap: 32px; padding: 32px 0;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  transition: background .15s, padding-left .2s;
  border-radius: 0;
}
.lp-risk-item:first-child { border-top: 1px solid var(--border); }
.lp-risk-item:hover { background: rgba(230,57,70,.04); padding-left: 6px; }
:root[data-theme="light"] .lp-risk-item:hover { background: rgba(212,47,59,.04); }
.lp-risk-item__num {
  font-family: var(--font-serif); font-size: 1.6rem;
  color: var(--border); flex-shrink: 0; line-height: 1;
  width: 40px; padding-top: 3px;
}
.lp-risk-item__body { flex: 1; }
.lp-risk-item__title {
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  margin-bottom: 6px; font-family: var(--font);
}
.lp-risk-item__desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.lp-risk-item__tag {
  display: inline-block; font-size: .65rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 8px;
}
.lp-risk-item__tag--critical { background: var(--danger-bg); color: var(--danger); }
.lp-risk-item__tag--high { background: var(--warning-bg); color: var(--warning); }
.lp-risk-item__tag--medium { background: var(--info-bg); color: var(--primary-light); }

/* ── Discover section ── */
.lp-discover { padding: 88px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-discover__header { margin-bottom: 48px; }
.lp-discover__header h2 { margin-bottom: 12px; }
.lp-discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface);
}
.lp-discover-item {
  display: flex; gap: 14px; padding: 20px 22px;
  border-bottom: 1px solid var(--border); border-right: 1px solid var(--border);
  transition: background .15s, color .15s;
}
.lp-discover-item:hover { background: var(--info-bg); }
.lp-discover-item:hover .lp-discover-item__check {
  background: rgba(34,197,94,.18);
  border-color: var(--success);
  transform: scale(1.1);
  transition: transform .15s, background .15s;
}
.lp-discover-item__check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--success-bg); border: 1.5px solid var(--success);
  flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--success); font-weight: bold;
}
.lp-discover-item__text { font-size: .88rem; color: var(--text); line-height: 1.5; }

/* ── How it works ── */
.lp-how { padding: 88px 0; }
.lp-how__header { text-align: center; margin-bottom: 64px; }
.lp-how__header h2 { margin-bottom: 10px; }
.lp-how-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; max-width: 860px; margin: 0 auto; position: relative;
}
.lp-how-steps::before {
  content: ""; position: absolute;
  top: 28px; left: calc(16.67% + 28px); right: calc(16.67% + 28px);
  height: 1px; background: var(--border);
}
.lp-step { text-align: center; padding: 0 32px; }
.lp-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--red-dim);
}
.lp-step h3 { font-size: 1rem; color: var(--text); margin-bottom: 8px; font-family: var(--font); font-weight: 600; }
.lp-step p { font-size: .85rem; }

/* ── Bottom CTA ── */
.lp-cta {
  padding: 100px 0;
  text-align: center; position: relative; overflow: hidden;
}
:root[data-theme="dark"] .lp-cta { background: #08080C; }
:root[data-theme="light"] .lp-cta { background: var(--surface-alt); }
.lp-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 800px 500px at 50% 50%, rgba(230,57,70,.12) 0%, transparent 65%);
}
:root[data-theme="light"] .lp-cta::before {
  background: radial-gradient(ellipse 800px 500px at 50% 50%, rgba(212,47,59,.07) 0%, transparent 65%);
}
.lp-cta__eyebrow {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 20px;
}
.lp-cta h2 { margin-bottom: 16px; max-width: 600px; margin-left: auto; margin-right: auto; }
:root[data-theme="dark"] .lp-cta h2 { color: #fff; }
.lp-cta__sub { color: var(--text-muted); margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto; font-size: .95rem; }
.lp-cta__proof { margin-top: 18px; font-size: .76rem; color: var(--text-muted); letter-spacing: .02em; }

/* ── What Is Sema Legacy (LP) ── */
.lp-what {
  padding: 88px 0;
  position: relative; overflow: hidden;
}
:root[data-theme="dark"] .lp-what { background: #0A0A0E; }
:root[data-theme="light"] .lp-what { background: var(--surface-alt); }
.lp-what::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 400px at 50% 100%, rgba(230,57,70,.10) 0%, transparent 70%),
    radial-gradient(ellipse 400px 250px at 10% 0%, rgba(230,57,70,.05) 0%, transparent 60%);
}
:root[data-theme="light"] .lp-what::before {
  background: radial-gradient(ellipse 700px 400px at 50% 100%, rgba(212,47,59,.05) 0%, transparent 70%);
}
.lp-what__inner {
  max-width: 800px; margin: 0 auto; text-align: center;
  position: relative; z-index: 1;
}
.lp-what__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--red-dim);
  border: 1px solid rgba(230,57,70,.25);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 24px;
}
:root[data-theme="light"] .lp-what__eyebrow {
  border-color: rgba(212,47,59,.2);
}
.lp-what__title {
  font-family: var(--font-serif, 'Fraunces', Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text); font-weight: 600; line-height: 1.2;
  margin-bottom: 16px; letter-spacing: -.02em;
  max-width: 640px; margin-left: auto; margin-right: auto;
}
:root[data-theme="dark"] .lp-what__title { color: #fff; }
.lp-what__desc {
  font-size: .95rem; color: var(--text-muted); line-height: 1.7;
  max-width: 580px; margin: 0 auto 40px;
}
.lp-what__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; text-align: left;
}
.lp-what__item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px); padding: 26px 22px;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.lp-what__item::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(230,57,70,.2));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.lp-what__item:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}
:root[data-theme="light"] .lp-what__item:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.lp-what__item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--red-dim); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.lp-what__item-icon i { width: 20px; height: 20px; }
.lp-what__item-title {
  font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.lp-what__item-desc {
  font-size: .82rem; color: var(--text-muted); line-height: 1.6;
}
.lp-what__note {
  margin-top: 32px; font-size: .78rem; color: var(--text-muted);
  letter-spacing: .02em;
}
.lp-what__note strong { color: var(--text); }
@media (max-width: 640px) {
  .lp-what__grid { grid-template-columns: 1fr; }
  .lp-what { padding: 64px 0; }
}

/* ── Document Vault Strip (LP) ── */
.lp-vault {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-vault__inner {
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: 16px;
  padding: 32px 36px;
  position: relative; overflow: hidden;
  margin: 0 auto;
}
:root[data-theme="dark"] .lp-vault__inner {
  background: #0D0D14;
}
.lp-vault__inner::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: radial-gradient(ellipse 400px 300px at 100% 50%, rgba(230,57,70,.07) 0%, transparent 70%);
  pointer-events: none;
}
.lp-vault__top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.lp-vault__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--red-dim); color: var(--primary);
  border: 1px solid rgba(230,57,70,.25); border-radius: 100px;
  padding: 5px 12px; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.lp-vault__badge svg { width: 12px; height: 12px; }
.lp-vault__title {
  font-size: 1rem; font-weight: 700; color: var(--text);
}
.lp-vault__desc {
  font-size: .88rem; color: var(--text-muted); line-height: 1.6;
  max-width: 620px; margin-bottom: 22px;
}
.lp-vault__pills {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px;
}
.lp-vault__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 100px; padding: 7px 14px;
  font-size: .79rem; color: var(--text-muted); line-height: 1;
}
.lp-vault__pill svg { width: 13px; height: 13px; color: var(--primary); flex-shrink: 0; }
.lp-vault__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.lp-vault__trust {
  display: flex; align-items: center; gap: 6px;
  font-size: .72rem; color: var(--text-dim);
}
.lp-vault__trust svg { width: 12px; height: 12px; color: var(--primary); flex-shrink: 0; }
@media (max-width: 640px) {
  .lp-vault__inner { padding: 24px 20px; }
  .lp-vault__title { font-size: .9rem; }
}

/* ── Nav override ── */
.lp-nav .nav__logo { color: var(--text); }
.lp-nav .nav__logo span { color: var(--primary); }

/* ── Responsive ── */
@media (max-width: 720px) {
  .lp-hero { padding: 64px 0 56px; }
  .lp-stat { padding: 28px 24px; }
  .lp-stat__num { font-size: 1.8rem; }
  .lp-how-steps { grid-template-columns: 1fr; }
  .lp-how-steps::before { display: none; }
  .lp-step { padding: 20px 0; }
  .lp-risk-item { gap: 20px; }
  .lp-risk-item__num { display: none; }
  .lp-discover-grid { grid-template-columns: 1fr; }
}

/* ── ROI / Value Section ── */
.roi-section {
  padding: 88px 0 80px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.roi-section .section-sub {
  color: var(--text-muted);
  font-size: .95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.roi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0 40px;
}
.roi-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.roi-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}
:root[data-theme="light"] .roi-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.roi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.roi-card__topic {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: 8px;
}
.roi-card__loss {
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}
.roi-card__amount {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
}
.roi-card__sub {
  font-size: .77rem;
  color: var(--text-dim, var(--text-muted));
  line-height: 1.5;
}
/* Callout */
.roi-callout {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.roi-callout__math {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.roi-callout__item { text-align: center; }
.roi-callout__label {
  font-size: .74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 4px;
}
.roi-callout__val {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.roi-callout__va