/* ============================================================
   Lumeon Code — long-form landing page (only used on index.html)
   Sits ON TOP of: site.css + skins/software.css + variants-software.css
   Scope: body[data-variant="lumeon-code"][data-page="landing"]
   ============================================================ */

[data-variant="lumeon-code"][data-page="landing"] .hero { text-align: left; padding-block: clamp(80px, 11vw, 140px); }
[data-variant="lumeon-code"][data-page="landing"] .hero .container > * { margin-left: 0; margin-right: 0; }
[data-variant="lumeon-code"][data-page="landing"] .hero .hero-cta-row { justify-content: flex-start; }

/* ── Hero split layout ───────────────────────────────────── */
.lc-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) { .lc-hero-split { grid-template-columns: 1fr; } }

.lc-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.lc-hero-badges span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}

/* Example transaction card — illustrative pricing visual */
.lc-example {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px -32px rgba(15, 23, 42, 0.22);
  position: relative;
}
.lc-example .ec-tag {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--primary); margin-bottom: 18px;
}
.lc-example .ec-title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.012em; margin: 0;
  color: var(--fg);
}
.lc-example .ec-meta { font-size: 0.88rem; color: var(--fg-muted); margin: 4px 0 22px 0; }
.lc-example .ec-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 12px 0;
  border-top: 1px dashed var(--border);
  font-size: 0.95rem;
}
.lc-example .ec-row:first-of-type { border-top: 0; }
.lc-example .ec-row .k { color: var(--fg-muted); }
.lc-example .ec-row .v { color: var(--fg); font-weight: 500; }
.lc-example .ec-row .v.strike { color: var(--fg-subtle); text-decoration: line-through; font-weight: 400; }
.lc-example .ec-row .v.primary { color: var(--primary); font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.lc-example .ec-row .v.success { color: var(--success); font-weight: 700; }
.lc-example .ec-foot {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px; color: var(--fg-subtle); letter-spacing: 0.06em;
}

/* Floating illustrative note attached to card */
.lc-example::after {
  content: "Illustratives Rechenbeispiel";
  position: absolute; top: -10px; right: 18px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--bg); color: var(--fg-subtle);
  padding: 2px 8px; border: 1px solid var(--border); border-radius: 999px;
}

/* ── Stat strip ──────────────────────────────────────────── */
.lc-stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(40px, 6vw, 72px);
}
@media (max-width: 720px) { .lc-stat-strip { grid-template-columns: repeat(2, 1fr); } }
.lc-stat-strip > div {
  padding: clamp(24px, 3vw, 36px) clamp(20px, 3vw, 32px);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.lc-stat-strip > div:last-child { border-right: 0; }
@media (max-width: 720px) {
  .lc-stat-strip > div:nth-child(2n) { border-right: 0; }
  .lc-stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.lc-stat-strip .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1;
  color: var(--fg);
}
.lc-stat-strip .num em { color: var(--primary); font-style: normal; }
.lc-stat-strip .lbl { font-size: 0.92rem; color: var(--fg-muted); line-height: 1.4; }

/* ── Promise grid (3 numbered cards) ─────────────────────── */
.lc-promise-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
@media (max-width: 900px) { .lc-promise-grid { grid-template-columns: 1fr; } }
.lc-promise {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  position: relative;
}
.lc-promise .pnum {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  background: var(--primary); color: #FFFFFF;
  padding: 4px 9px; border-radius: 4px;
  margin-bottom: 18px;
}
.lc-promise h3 {
  font-family: var(--font-display);
  font-size: 1.2rem; font-weight: 600;
  margin: 0 0 12px 0; color: var(--fg);
  letter-spacing: -0.015em; text-wrap: balance;
}
.lc-promise p { margin: 0; font-size: 0.96rem; color: var(--fg-muted); line-height: 1.6; }
.lc-promise .pfoot {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em; color: var(--primary);
  text-transform: uppercase;
}

/* ── Service detail (4 cards with bullet lists) ──────────── */
.lc-service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (max-width: 760px) { .lc-service-grid { grid-template-columns: 1fr; } }
.lc-service {
  padding: 32px 28px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lc-service h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  margin: 0 0 10px 0; color: var(--fg); letter-spacing: -0.01em;
}
.lc-service p { margin: 0 0 16px 0; font-size: 0.95rem; color: var(--fg-muted); line-height: 1.55; }
.lc-service ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lc-service li {
  padding-left: 22px; position: relative;
  font-size: 0.9rem; color: var(--fg); line-height: 1.5;
}
.lc-service li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--primary);
  border-bottom: 1.5px solid var(--primary);
  transform: rotate(-45deg);
}

/* ── Product category grid ───────────────────────────────── */
.lc-cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
@media (max-width: 1040px) { .lc-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .lc-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .lc-cat-grid { grid-template-columns: 1fr; } }
.lc-cat {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  display: flex; flex-direction: column; gap: 6px;
}
.lc-cat:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -16px rgba(37, 99, 235, 0.2);
}
.lc-cat .ci {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary); background: var(--primary-soft);
  border-radius: 8px;
  margin-bottom: 12px;
}
.lc-cat h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600;
  margin: 0 0 2px 0; color: var(--fg); letter-spacing: -0.005em;
}
.lc-cat .sub { font-size: 0.82rem; color: var(--fg-muted); margin-bottom: 10px; line-height: 1.4; }
.lc-cat .versions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; }
.lc-cat .versions span {
  font-family: var(--font-mono);
  font-size: 11px; padding: 3px 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg-muted);
}
.lc-cat.lc-cat-cta {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px dashed var(--primary);
  justify-content: center; align-items: flex-start;
}
.lc-cat.lc-cat-cta h3 { color: var(--primary); }
.lc-cat.lc-cat-cta:hover { transform: translateY(-2px); box-shadow: none; }

/* ── Sourcing channels (6 colored stripes) ───────────────── */
.lc-channels {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (max-width: 880px) { .lc-channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .lc-channels { grid-template-columns: 1fr; } }
.lc-channel {
  padding: 26px 24px 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: 8px;
}
.lc-channel:nth-child(2) { border-top-color: #0EA5E9; }
.lc-channel:nth-child(3) { border-top-color: #6366F1; }
.lc-channel:nth-child(4) { border-top-color: #8B5CF6; }
.lc-channel:nth-child(5) { border-top-color: #14B8A6; }
.lc-channel:nth-child(6) { border-top-color: #F59E0B; }
.lc-channel h3 {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  margin: 0 0 10px 0; color: var(--fg); letter-spacing: -0.01em;
}
.lc-channel p { margin: 0 0 14px 0; font-size: 0.92rem; color: var(--fg-muted); line-height: 1.55; }
.lc-channel .tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary);
}
.lc-channel:nth-child(2) .tag { color: #0284C7; }
.lc-channel:nth-child(3) .tag { color: #4F46E5; }
.lc-channel:nth-child(4) .tag { color: #7C3AED; }
.lc-channel:nth-child(5) .tag { color: #0F766E; }
.lc-channel:nth-child(6) .tag { color: #D97706; }

/* ── Market dynamics dark callout ────────────────────────── */
.lc-market-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .lc-market-stats { grid-template-columns: repeat(2, 1fr); } }
.lc-market-stats > div {
  padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.lc-market-stats > div:last-child { border-right: 0; }
@media (max-width: 720px) {
  .lc-market-stats > div:nth-child(2n) { border-right: 0; }
  .lc-market-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
.lc-market-stats .v {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 700; letter-spacing: -0.025em;
  color: var(--primary); line-height: 1; margin-bottom: 6px;
}
.lc-market-stats .k { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.4; }

.lc-market-box {
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #F8FAFC;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}
.lc-market-box::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(37, 99, 235, 0.25), transparent 60%),
    radial-gradient(40% 50% at 0% 100%, rgba(252, 211, 77, 0.10), transparent 60%);
  pointer-events: none;
}
.lc-market-box > * { position: relative; }
.lc-market-box .mb-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(252, 211, 77, 0.16); color: #FCD34D;
  padding: 4px 10px; border-radius: 4px;
  margin-bottom: 18px;
}
.lc-market-box h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 700; margin: 0 0 16px 0;
  color: #FFFFFF; letter-spacing: -0.015em; text-wrap: balance;
}
.lc-market-box p {
  margin: 0; font-size: 1.02rem;
  color: #CBD5E1; line-height: 1.6; max-width: 64ch;
}

/* ── FAQ accordion ───────────────────────────────────────── */
.lc-faq {
  display: grid; gap: 8px;
  max-width: 880px;
}
.lc-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: background 180ms ease, border-color 180ms ease;
}
.lc-faq details[open] {
  background: #FFFFFF;
  border-color: var(--border-strong);
}
.lc-faq summary {
  cursor: pointer; padding: 20px 56px 20px 24px;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--fg); letter-spacing: -0.01em;
  list-style: none; position: relative;
}
.lc-faq summary::-webkit-details-marker { display: none; }
.lc-faq summary::after {
  content: "+"; position: absolute;
  right: 24px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 1.5rem; color: var(--primary);
  line-height: 1; font-weight: 300;
  transition: transform 200ms ease;
}
.lc-faq details[open] summary::after { content: "−"; }
.lc-faq details > p {
  padding: 0 24px 22px 24px; margin: 0;
  font-size: 0.97rem; color: var(--fg-muted); line-height: 1.62;
  max-width: 70ch;
}

/* ── Team strip ──────────────────────────────────────────── */
.lc-team {
  display: grid; grid-template-columns: 80px 1fr; gap: 20px;
  align-items: start; max-width: 720px;
  margin-top: 32px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.lc-team .avatar {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary) 0%, #0EA5E9 100%);
  color: #FFFFFF;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.lc-team .quote {
  font-family: var(--font-display);
  font-size: 1.02rem; line-height: 1.55;
  color: var(--fg); margin: 0 0 10px 0;
  font-style: italic;
}
.lc-team .who {
  font-size: 0.88rem; color: var(--fg-muted);
}
.lc-team .who strong { color: var(--fg); font-weight: 600; font-style: normal; }

/* ── Section heads centered on landing ──────────────────── */
[data-variant="lumeon-code"][data-page="landing"] .section-head {
  margin-inline: auto; text-align: center;
}
[data-variant="lumeon-code"][data-page="landing"] .section-head p {
  margin-inline: auto;
}

/* Two-column TOC anchor row above sections */
.lc-anchor-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center;
  margin: 0 auto clamp(40px, 5vw, 64px) auto;
  max-width: 960px;
}
.lc-anchor-row a {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg-muted);
  transition: all 180ms ease;
}
.lc-anchor-row a:hover {
  border-color: var(--primary); color: var(--primary); background: var(--primary-soft);
}
