/* Passage marketing — "the threshold / passage of light".
   Distinct from siblings: vibrant aurora-gradient portal + horizontal illuminated
   JML timeline. indigo-night base, electric violet primary, aurora accents. */
:root {
  --night: #1A1B3A;
  --night-2: #14152E;
  --violet: #6C4DF6;
  --amber: #FF9E5E;
  --magenta: #E85CCB;
  --mint: #4FE3C1;
  --ink: #F7F6FB;
  --muted: #A9A8CC;
  --line: rgba(167, 166, 204, 0.16);
  --aurora: linear-gradient(110deg, #6C4DF6 0%, #E85CCB 50%, #FF9E5E 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--night);
  font-family: Inter, system-ui, sans-serif; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -0.01em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'JetBrains Mono', monospace; }
.muted { color: var(--muted); }

/* nav */
nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px);
  background: rgba(26,27,58,0.72); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk'; font-weight: 700; font-size: 19px; letter-spacing: 0.03em; }
.portal { width: 22px; height: 22px; border-radius: 50%; background: var(--aurora); position: relative; box-shadow: 0 0 16px rgba(108,77,246,0.7); flex: none; }
.portal::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--night); }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; }
.nav-links a:hover { color: var(--mint); }
.btn { display: inline-block; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 9px; cursor: pointer; transition: all .15s; border: 1px solid transparent; }
.btn-primary { background: var(--violet); color: white; box-shadow: 0 6px 22px rgba(108,77,246,0.45); }
.btn-primary:hover { background: #7d61ff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 60px; text-align: center; }
.hero::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(900px 460px at 50% -10%, rgba(108,77,246,0.35), transparent 60%),
              radial-gradient(700px 380px at 85% 30%, rgba(232,92,203,0.18), transparent 55%),
              radial-gradient(700px 380px at 12% 60%, rgba(255,158,94,0.14), transparent 55%);
  z-index: 0; }
.hero .wrap { position: relative; z-index: 1; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; padding: 5px 14px; border: 1px solid rgba(79,227,193,0.3); border-radius: 999px; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); max-width: 16ch; margin-inline: auto; }
.grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 18px auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* JML timeline (signature visual, scroll-illuminated) */
.tl-section { padding: 30px 0 70px; }
.timeline { display: flex; align-items: center; padding: 40px 10px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(35,36,86,0.45), rgba(26,27,58,0.1)); position: relative; }
.tl-node { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; width: 130px; text-align: center; }
.tl-orb { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center;
  background: var(--night-2); font-size: 26px; transition: all .6s ease; }
.tl-node.lit .tl-orb { background: var(--aurora); border-color: transparent; box-shadow: 0 0 34px rgba(108,77,246,0.8); transform: scale(1.06); }
.tl-node h3 { margin: 0; font-size: 18px; }
.tl-node p { margin: 0; font-size: 13px; color: var(--muted); }
.tl-bar { flex: 1; height: 4px; background: var(--line); border-radius: 3px; position: relative; margin: 0 4px 64px; overflow: hidden; }
.tl-bar .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--aurora); transition: width 1.1s ease; box-shadow: 0 0 14px rgba(108,77,246,0.7); }
.timeline.lit .tl-bar .fill { width: 100%; }

/* sections */
section.band { padding: 70px 0; border-top: 1px solid var(--line); }
section.band.alt { background: linear-gradient(180deg, rgba(35,36,86,0.3), transparent); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); }
.section-head p { color: var(--muted); max-width: 56ch; margin: 8px auto 0; }

.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(35,36,86,0.32); }
.card .icn { font-size: 24px; margin-bottom: 10px; }
.card h3 { font-size: 17px; }
.card p { font-size: 14px; color: var(--muted); margin: 0; }
.card .edge { display: inline-block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); border: 1px solid rgba(79,227,193,0.3); border-radius: 6px; padding: 1px 7px; margin-top: 12px; }

/* risk callout */
.risk { border-left: 3px solid var(--magenta); padding: 4px 0 4px 22px; max-width: 70ch; margin: 0 auto; }
.risk .big { font-size: clamp(28px, 5vw, 44px); font-family: 'Space Grotesk'; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* pricing */
.price-grid { grid-template-columns: repeat(4, 1fr); }
.price { padding: 26px 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(35,36,86,0.3); }
.price.featured { border-color: var(--violet); box-shadow: 0 0 30px rgba(108,77,246,0.25); }
.price h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.price .amt { font-family: 'Space Grotesk'; font-size: 34px; margin: 6px 0; }
.price .amt small { font-size: 14px; color: var(--muted); font-family: Inter; }
.price ul { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.price li { padding: 5px 0 5px 22px; position: relative; }
.price li::before { content: '✓'; position: absolute; left: 0; color: var(--mint); }

/* integrations row */
.logos { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logos span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }

/* cta + footer */
.cta-final { text-align: center; padding: 80px 0; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 380px at 50% 120%, rgba(108,77,246,0.4), transparent 60%); }
.cta-final .wrap { position: relative; }
footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a:hover { color: var(--ink); }

/* footer sitemap grid */
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 28px; align-items: start; }
.foot-col h4 { font-family: 'Space Grotesk'; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink); margin: 0 0 12px; }
.foot-col a { display: block; padding: 4px 0; color: var(--muted); }
.foot-col a:hover { color: var(--mint); }

/* content / landing-page prose */
.page-hero { padding: 64px 0 30px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 420px at 50% -20%, rgba(108,77,246,0.28), transparent 60%); z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); max-width: 20ch; margin-inline: auto; }
.page-hero p.lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 16px auto 24px; }
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { font-size: clamp(22px, 3.4vw, 30px); margin-top: 40px; }
.prose h3 { font-size: 19px; margin-top: 26px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* comparison table */
.cmp { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp th { font-family: 'Space Grotesk'; color: var(--ink); }
.cmp td:first-child { color: var(--ink); font-weight: 500; }
.cmp .yes { color: var(--mint); font-weight: 600; }
.cmp .no { color: var(--muted); }
.cmp tr td.passage-col { background: rgba(108,77,246,0.10); }

/* faq */
.faq { max-width: 72ch; margin: 30px auto 0; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0; background: rgba(35,36,86,0.32); }
.faq summary { font-family: 'Space Grotesk'; font-weight: 600; cursor: pointer; color: var(--ink); }
.faq p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }

/* in-page cta strip */
.cta-strip { text-align: center; padding: 46px 0; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .grid-4, .grid-3, .price-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .timeline { flex-direction: column; gap: 20px; }
  .tl-bar { width: 4px; height: 40px; margin: 0 0 0 0; flex: none; }
  .timeline.lit .tl-bar .fill { width: 100%; height: 100%; }
  .cmp { font-size: 13px; }
  .cmp th, .cmp td { padding: 9px 8px; }
}
