/* LNX marketing / SEO landing pages — page-specific components.
   The shared design system (tokens, nav, buttons, .claim, .uc-* hero/grid/
   cta/footer, .eyebrow, .wrap) lives in lnx.css, which is loaded FIRST.
   This file only holds the spoke-page components lnx.css doesn't ship:
   the comparison table, FAQ accordion, idea/benefit cards, callout, the
   internal-link grid and the tinted section — all on the new violet/warm
   tokens + Plus Jakarta Sans, matching LNX Use Cases.html. */

:root {
  /* mirror the tokens used below so this sheet is self-consistent even if
     load order ever changes; values are copied 1:1 from lnx.css */
  --violet:      #6655F0;
  --violet-700:  #5341DA;
  --violet-100:  #ECE9FE;
  --violet-50:   #F4F2FF;
  --peach:       #FF9D6C;
  --ink:         #1B1A2E;
  --ink-2:       #4A4860;
  --muted:       #6E6C84;
  --line:        #ECE9E3;
  --line-2:      #E4E1EE;
  --bg:          #FBFAF7;
  --surface:     #FFFFFF;
  --surface-2:   #F5F3EE;
  --cool:        #F3F2FB;
  --navy:        #15152C;
  --radius:      22px;
  --radius-sm:   14px;
  --shadow-sm:   0 2px 8px rgba(27,26,46,.05);
  --shadow:      0 18px 50px -24px rgba(27,26,46,.22);
}

/* ---------- centered marketing section ---------- */
.section { padding: 80px 0 90px; text-align: center; }
.section h2 {
  font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  letter-spacing: -.025em; margin: 0; color: var(--ink); line-height: 1.04;
}
.section .sub {
  font-size: 18px; color: var(--ink-2); font-weight: 500;
  max-width: 600px; margin: 14px auto 0; line-height: 1.6; text-wrap: pretty;
}
.section--tint { background: var(--surface-2); }

/* ---------- callout (their-catch) ---------- */
.callout {
  max-width: 760px; margin: 24px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 4px solid var(--violet); border-radius: var(--radius-sm);
  padding: 18px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6;
  box-shadow: var(--shadow-sm);
}
.callout strong { color: var(--ink); font-weight: 700; }

/* ---------- comparison table ---------- */
.cmp {
  max-width: 840px; margin: 28px auto 0; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm);
}
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td {
  padding: 16px 20px; text-align: left; font-size: 15px;
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.cmp thead th {
  background: var(--navy); color: #fff; font-weight: 700;
  font-size: 14px; letter-spacing: .01em;
}
.cmp thead th.is-lnx { background: var(--violet); }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:nth-child(even) td { background: rgba(243,242,251,.5); }
.cmp td:first-child { font-weight: 700; color: var(--ink); width: 30%; }
.cmp .lnx-cell { color: var(--ink); font-weight: 600; }
.cmp .lnx-cell::before {
  content: "✓"; color: var(--violet); font-weight: 800; margin-right: .45rem;
}
.cmp .them-cell { color: var(--muted); }
.cmp__legend {
  text-align: center; color: var(--muted); font-size: 13.5px;
  font-weight: 500; margin-top: 14px;
}

/* ---------- idea / benefit / why-switch cards ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 940px; margin: 44px auto 0; text-align: left;
}
.cards--4 { grid-template-columns: repeat(4, 1fr); max-width: 1040px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px 22px;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-3px); border-color: var(--violet);
  box-shadow: 0 18px 40px -22px rgba(102,85,240,.4);
}
.card h3 {
  font-size: 17px; font-weight: 700; margin: 0 0 8px;
  color: var(--ink); letter-spacing: -.01em; line-height: 1.3;
}
.card p { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 44px auto 0; text-align: left; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px; margin-bottom: 12px; background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.faq details[open] { border-color: var(--violet-100); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 16px; color: var(--ink);
  padding: 18px 0; list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--violet); font-size: 22px;
  font-weight: 400; line-height: 1; flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p {
  padding: 0 0 18px; color: var(--ink-2); font-size: 15px;
  line-height: 1.6; margin: 0;
}

/* ---------- internal-link grid (hub + spoke) ---------- */
.alt-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px; max-width: 940px; margin: 44px auto 0; text-align: left;
}
.alt-grid a {
  display: block; padding: 20px 22px; min-height: 64px;
  border: 1px solid var(--line); border-radius: 16px; text-decoration: none;
  font-weight: 700; font-size: 16px; color: var(--ink); background: var(--surface);
  letter-spacing: -.01em; line-height: 1.3;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s;
}
.alt-grid a:hover {
  border-color: var(--violet); transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(102,85,240,.4);
}
.alt-grid a span {
  display: block; font-weight: 500; font-size: 13.5px;
  color: var(--muted); margin-top: 4px; letter-spacing: 0;
}

/* ---------- contained dark CTA card ---------- */
.cta-band {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  text-align: center; padding: 70px 32px; border-radius: 30px;
  max-width: 100%; margin: 0 auto;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 90% at 50% 0%, rgba(102,85,240,.45), transparent 60%);
}
.cta-band h2 {
  position: relative; color: #fff; font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800; letter-spacing: -.025em; margin: 0; line-height: 1.04;
}
.cta-band p {
  position: relative; color: #B7B3D8; font-size: 17px; font-weight: 500;
  margin: 16px auto 30px; max-width: 520px; line-height: 1.6;
}
.cta-band .btn { position: relative; }

@media (max-width: 920px) {
  .section { padding: 64px 0 72px; }
}
@media (max-width: 900px) {
  .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards, .cards--4 { grid-template-columns: 1fr; }
  .cmp th, .cmp td { padding: 13px 14px; font-size: 14px; }
  .cta-band { padding: 56px 24px; border-radius: 24px; }
}
