/* Landing, privacy and terms pages — dark, TunnelHub AI palette (see docs/BRAND.md). Not used by the app itself. */
.lx { --lx-bg: #0B111B; --lx-card: rgba(23,35,51,.62); --lx-elev: #1D2B3D; --lx-cyan: #00D9F5; --lx-blue: #267BFF; --lx-violet: #A78BFA;
  --lx-text: #F8FAFC; --lx-muted: #94A3B8; --lx-line: #293548; --lx-green: #22C55E;
  margin: 0; font: 15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(0,217,245,.10), transparent 60%), var(--lx-bg); color: var(--lx-text); overflow-x: hidden }
.lx * { box-sizing: border-box }
.lx main { margin: 0; padding: 0; max-width: none }
.lx a { color: var(--lx-cyan) }
.lx :focus-visible { outline: 3px solid rgba(0,217,245,.5); outline-offset: 2px }
.lx img { max-width: 100%; height: auto }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
html { scroll-behavior: smooth; scroll-padding-top: 96px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } }

/* ---- header: page links left, the brand big in the middle, account right ---- */
.lx-top { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px 40px;
  background: linear-gradient(rgba(11,17,27,.94), rgba(11,17,27,.72) 70%, rgba(11,17,27,0)); backdrop-filter: blur(6px) }
.lx-pillnav { justify-self: start; display: flex; gap: 4px; padding: 5px; border: 1px solid rgba(148,163,184,.18); border-radius: 999px; background: rgba(23,35,51,.55); backdrop-filter: blur(12px) }
.lx-pillnav a { color: #cbd5e1 !important; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 999px }
.lx-pillnav a:hover, .lx-pillnav a.on { background: rgba(0,217,245,.12); color: #fff !important }
.lx-brand { justify-self: center; display: flex; align-items: center; gap: 12px; color: var(--lx-text) !important; text-decoration: none }
.lx-brand img { width: 52px; height: 52px; filter: drop-shadow(0 0 18px rgba(0,217,245,.35)) }
.lx-brand > span { display: flex; flex-direction: column; line-height: 1.1 }
.lx-brand b { font-size: 24px; font-weight: 700; letter-spacing: -.02em }
.lx-brand small { font-size: 11.5px; color: var(--lx-muted); letter-spacing: .06em; font-weight: 500; margin-top: 3px; text-transform: uppercase }
.lx-top-actions { justify-self: end; display: flex; gap: 10px; align-items: center }

.lx-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 9px 18px; font: inherit; font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap }
.lx-btn.ghost { color: var(--lx-text) !important; border-color: rgba(148,163,184,.3); background: transparent }
.lx-btn.ghost:hover { background: rgba(148,163,184,.1) }
.lx-btn.glow { color: #04121a !important; background: linear-gradient(180deg, #fff, #d9f8ff); border-color: rgba(255,255,255,.6);
  box-shadow: 0 0 0 1px rgba(0,217,245,.35), 0 0 24px rgba(0,217,245,.35), inset 0 -2px 6px rgba(0,217,245,.25) }
.lx-btn.glow:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(0,217,245,.5), 0 0 36px rgba(0,217,245,.5) }
.lx-btn.lg { padding: 14px 28px; font-size: 16px }

/* ---- hero ---- */
.lx-hero { position: relative; text-align: center; padding: 56px 24px 0 }
.lx-sphere { position: absolute; left: 0; right: 0; top: 500px; width: 100%; height: 520px; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent) }
.lx-hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto }
.lx-hero::before { content: ""; position: absolute; left: 50%; top: 600px; width: 900px; max-width: 110%; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0,217,245,.22), rgba(38,123,255,.10) 55%, transparent); filter: blur(10px); pointer-events: none }
.lx-badge { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: #cbd5e1; padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.25); background: rgba(23,35,51,.5) }
.lx-badge i { font-style: normal; color: var(--lx-violet) }
.lx h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; margin: 22px 0 18px;
  background: linear-gradient(180deg, #fff 40%, #a9c7dc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.lx-lead { font-size: 18px; color: var(--lx-muted); max-width: 640px; margin: 0 auto 28px; line-height: 1.6 }

.lx-form { display: flex; gap: 6px; max-width: 480px; margin: 0 auto; padding: 6px; border-radius: 999px; border: 1px solid rgba(148,163,184,.25);
  background: rgba(15,23,36,.75); backdrop-filter: blur(10px); box-shadow: 0 10px 40px rgba(0,0,0,.35) }
.lx-form input[type=email] { flex: 1; min-width: 0; background: transparent; border: none; outline: none; color: var(--lx-text); font: inherit; font-size: 15px; padding: 10px 16px }
.lx-form input[type=email]::placeholder { color: #64748b }
.lx-form:focus-within { border-color: rgba(0,217,245,.6); box-shadow: 0 0 0 3px rgba(0,217,245,.15), 0 10px 40px rgba(0,0,0,.35) }
.lx-form-note { font-size: 13.5px; color: var(--lx-muted); margin: 14px 0 0 }
.lx-dot { margin: 0 6px; opacity: .6 }

/* real app screens in a browser frame */
.lx-preview { position: relative; z-index: 2; max-width: 1120px; margin: 440px auto 0; padding: 0 24px }
.lx-frame, .lx-shot { border-radius: 16px; overflow: hidden; background: #0F1724; border: 1px solid var(--lx-line) }
.lx-frame { box-shadow: 0 -1px 0 rgba(0,217,245,.9), 0 -12px 60px rgba(0,217,245,.25), 0 40px 80px rgba(0,0,0,.5) }
.lx-frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #111a28; border-bottom: 1px solid var(--lx-line) }
.lx-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155 }
.lx-frame-bar span { margin: 0 auto; font-size: 12px; color: var(--lx-muted); padding-right: 44px }
.lx-frame img, .lx-shot img { display: block; width: 100% }
.lx-preview figcaption { margin-top: 12px; font-size: 13px; color: var(--lx-muted) }
.lx-shot { margin: 0; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(0,217,245,.08) }

.lx-facts { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1080px; margin: 80px auto 0; padding: 0 24px }
.lx-facts div { padding: 22px 18px; border-left: 1px solid var(--lx-line) }
.lx-facts div:first-child { border-left: none }
.lx-facts b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.03em; background: linear-gradient(90deg, var(--lx-cyan), var(--lx-blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.lx-facts span { color: var(--lx-muted); font-size: 14px }

/* ---- sections ---- */
.lx-section { max-width: 1080px; margin: 0 auto; padding: 110px 24px 0 }
.lx-section.narrow { max-width: 800px }
.lx-eyebrow { text-align: center; margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-cyan) }
.lx h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin: 0 0 32px; color: var(--lx-text) }
.lx-section h2, .lx-final h2 { text-align: center }
.lx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.lx-card { border: 1px solid var(--lx-line); border-radius: 16px; padding: 24px; background: var(--lx-card); backdrop-filter: blur(8px); transition: border-color .2s, transform .2s }
.lx-card:hover { border-color: rgba(0,217,245,.4); transform: translateY(-2px) }
.lx-card h3 { font-size: 18px; margin: 14px 0 8px; color: var(--lx-text) }
.lx-card p { color: var(--lx-muted); margin: 0; font-size: 14.5px }
.lx-card p b { color: #e2e8f0 }
.lx-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(0,217,245,.08); border: 1px solid rgba(0,217,245,.25) }
.lx-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--lx-cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.lx-chip { display: inline-block; font-size: 12px; font-weight: 600; color: var(--lx-cyan); padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(0,217,245,.3); background: rgba(0,217,245,.06) }
.lx-chip.ai { color: var(--lx-violet); border-color: rgba(167,139,250,.35); background: rgba(167,139,250,.08) }

.lx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s }
.lx-steps li { position: relative; padding: 24px; border-radius: 16px; border: 1px solid var(--lx-line); background: linear-gradient(160deg, rgba(0,217,245,.06), rgba(23,35,51,.45)) }
.lx-steps b { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; color: #04121a;
  background: linear-gradient(180deg, #7DF3FF, var(--lx-cyan)); box-shadow: 0 0 18px rgba(0,217,245,.4) }
.lx-steps h3 { font-size: 18px; margin: 14px 0 6px }
.lx-steps p { margin: 0; color: var(--lx-muted); font-size: 14.5px }

/* full-width feature sections: text beside a real screen */
.lx-feature { max-width: 1180px; margin: 0 auto; padding: 130px 24px 0; display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center }
.lx-feature.flip .lx-feature-text { order: 2 }
.lx-feature h2 { margin: 16px 0 14px }
.lx-feature-text > p { color: var(--lx-muted); font-size: 16.5px; margin: 0 0 18px; line-height: 1.6 }
.lx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px }
.lx-list li { position: relative; padding-left: 28px; color: #cbd5e1; font-size: 15px }
.lx-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0,217,245,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%2300D9F5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat }
.lx-feature.ai .lx-list li::before { background-color: rgba(167,139,250,.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23A78BFA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") }

.lx-flow { position: relative; display: grid; gap: 18px; padding: 28px; border-radius: 20px; border: 1px solid rgba(167,139,250,.3);
  background: radial-gradient(500px 260px at 80% 0, rgba(167,139,250,.14), transparent), rgba(15,23,36,.8) }
.lx-flow::before { content: ""; position: absolute; left: 47px; top: 52px; bottom: 52px; width: 2px; background: linear-gradient(var(--lx-violet), var(--lx-cyan), var(--lx-green)); opacity: .45 }
.lx-flow-step { position: relative; margin-left: 42px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--lx-line); background: #111a28 }
.lx-flow-step::before { content: ""; position: absolute; left: -32px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--lx-violet); box-shadow: 0 0 0 4px rgba(167,139,250,.2) }
.lx-flow-step:nth-child(2)::before { background: var(--lx-cyan); box-shadow: 0 0 0 4px rgba(0,217,245,.2) }
.lx-flow-step.done::before { background: var(--lx-green); box-shadow: 0 0 0 4px rgba(34,197,94,.2) }
.lx-flow-step small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-muted) }
.lx-flow-step p { margin: 6px 0 8px; color: var(--lx-text); font-size: 15px }
.lx-src { font-size: 12.5px; color: var(--lx-violet) }
.lx-ok { font-size: 12.5px; font-weight: 600; color: var(--lx-cyan) }
.lx-new { display: inline-block; font-size: 12px; font-weight: 700; color: var(--lx-green); padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(34,197,94,.4) }

/* ---- pricing ---- */
.lx-tabs { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: -8px auto 28px; padding: 5px; border-radius: 999px;
  border: 1px solid rgba(148,163,184,.2); background: rgba(23,35,51,.55) }
.lx-tabs[hidden] { display: none }
.lx-tabs button { font: inherit; font-size: 14px; font-weight: 600; color: #cbd5e1; background: transparent; border: none; padding: 9px 18px; border-radius: 999px; cursor: pointer }
.lx-tabs button[aria-selected="true"] { color: #04121a; background: linear-gradient(180deg, #fff, #d9f8ff) }
.lx-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch }
.lx-plans:has(> .lx-card:nth-child(2):last-child) { grid-template-columns: 1fr 1fr }
.lx-plans:has(> .lx-card:nth-child(4)) { grid-template-columns: repeat(4, 1fr) }
.lx-seat { font-size: 14px; color: var(--lx-muted) }
.lx-plans .lx-card p { margin-top: 12px; line-height: 1.7 }
.lx-plan-card { display: flex; flex-direction: column; gap: 6px; padding: 26px }
.lx-plan-card.featured { border-color: rgba(0,217,245,.55); background: linear-gradient(170deg, rgba(0,217,245,.12), rgba(23,35,51,.7) 60%);
  box-shadow: 0 0 0 1px rgba(0,217,245,.2), 0 20px 60px rgba(0,217,245,.12) }
.lx-plan-card h3 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px }
.lx-plan-card h3 em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lx-cyan);
  border: 1px solid rgba(0,217,245,.4); border-radius: 999px; padding: 2px 8px }
.lx-price { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin: 6px 0 2px }
.lx-price small { font-size: 14px; font-weight: 500; color: var(--lx-muted); letter-spacing: 0 }
.lx-plan-card ul { list-style: none; margin: 12px 0 20px; padding: 0; display: grid; gap: 8px; flex: 1; align-content: start }
.lx-plan-card li { position: relative; padding-left: 22px; color: #cbd5e1; font-size: 14px }
.lx-plan-card li::before { content: "✓"; position: absolute; left: 0; color: var(--lx-cyan); font-weight: 700 }
.lx-plan-card .lx-btn { width: 100% }
.lx-fine { text-align: center; color: var(--lx-muted); font-size: 13px; margin: 18px 0 0 }

/* ---- FAQ ---- */
.lx-faq { display: grid; gap: 10px }
.lx-faq details { border: 1px solid var(--lx-line); border-radius: 14px; background: var(--lx-card); padding: 0 20px; transition: border-color .2s }
.lx-faq details[open] { border-color: rgba(0,217,245,.35) }
.lx-faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 600; font-size: 15.5px }
.lx-faq summary::-webkit-details-marker { display: none }
.lx-faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; font-weight: 400; color: var(--lx-cyan); transition: transform .2s }
.lx-faq details[open] summary::after { transform: rotate(45deg) }
.lx-faq details p { margin: 0 0 18px; color: var(--lx-muted); line-height: 1.65 }

/* ---- final call to action and footer ---- */
.lx-final { position: relative; text-align: center; padding: 140px 24px 160px; margin-top: 60px; overflow: hidden }
.lx-water { position: absolute; left: 50%; bottom: -40px; width: 900px; max-width: 120%; height: 260px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,217,245,.35), rgba(38,123,255,.15) 55%, transparent); filter: blur(30px) }
.lx-final h2, .lx-final .lx-btn, .lx-final-mark { position: relative }
.lx-final-mark { display: block; margin: 0 auto 22px; filter: drop-shadow(0 0 24px rgba(0,217,245,.45)) }
.lx-footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; max-width: 1180px; margin: 0 auto; padding: 40px 40px 28px;
  border-top: 1px solid var(--lx-line); color: var(--lx-muted); font-size: 14px }
.lx-footer-brand { display: flex; gap: 12px; align-items: center }
.lx-footer-brand > span { display: flex; flex-direction: column; line-height: 1.2 }
.lx-footer-brand b { color: var(--lx-text); font-size: 17px }
.lx-footer-brand small { font-size: 12px }
.lx-footer nav { display: flex; flex-direction: column; gap: 8px }
.lx-footer nav b { color: var(--lx-text); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px }
.lx-footer nav a { color: var(--lx-muted); text-decoration: none }
.lx-footer nav a:hover { color: var(--lx-cyan) }
.lx-copy { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 20px; border-top: 1px solid rgba(41,53,72,.6); font-size: 13px }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease }
.reveal.in { opacity: 1; transform: none }
.lx-sticky { display: none }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none } }

@media (max-width: 1100px) {
  .lx-top { padding: 12px 20px }
  .lx-pillnav a { padding: 7px 10px }
  .lx-top-cta { display: none }
}
@media (max-width: 960px) {
  .lx-top { grid-template-columns: 40px 1fr 40px; padding: 10px 16px }
  .lx-pillnav { display: none }
  .lx-brand { grid-column: 2 }
  .lx-brand img { width: 40px; height: 40px }
  .lx-brand b { font-size: 20px }
  .lx-brand small { display: none }
  .lx-top-actions { grid-column: 3 }
  .lx-hero { padding-top: 36px }
  .lx-sphere { top: 470px; height: 340px }
  .lx-preview { margin-top: 250px; padding: 0 12px }
  .lx-frame-bar span { display: none }
  .lx-facts { grid-template-columns: 1fr 1fr; margin-top: 60px }
  .lx-facts div:nth-child(3) { border-left: none }
  .lx-cards, .lx-steps, .lx-plans, .lx-plans:has(> .lx-card:nth-child(2):last-child), .lx-plans:has(> .lx-card:nth-child(4)) { grid-template-columns: 1fr }
  .lx-section { padding-top: 80px }
  .lx-feature { grid-template-columns: 1fr; gap: 28px; padding-top: 90px }
  .lx-feature.flip .lx-feature-text { order: 0 }
  .lx-flow { padding: 20px 16px }
  .lx-flow::before { left: 31px }
  .lx-flow-step { margin-left: 30px }
  .lx-flow-step::before { left: -26px }
  .lx-form { flex-direction: column; border-radius: 18px }
  .lx-form .lx-btn { width: 100% }
  .lx-sticky { display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; text-align: center; padding: 14px; border-radius: 999px;
    font-weight: 700; color: #04121a !important; text-decoration: none; background: linear-gradient(180deg, #fff, #d9f8ff); box-shadow: 0 0 30px rgba(0,217,245,.45) }
  body.form-visible .lx-sticky { display: none }
  .lx-footer { grid-template-columns: 1fr 1fr; padding: 32px 16px 96px }
  .lx-footer-brand { grid-column: 1 / -1 }
}

/* Sign in: profile button at the top right with a small sign-in box */
.lx-account { position: relative }
.lx-profile { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: inherit;
  font-size: 14px; font-weight: 600; color: var(--lx-text); background: transparent; border: 1px solid rgba(148,163,184,.3) }
.lx-profile:hover, .lx-profile[aria-expanded="true"] { background: rgba(148,163,184,.1); border-color: rgba(0,217,245,.5) }
.lx-profile svg { color: #00D9F5 }
.lx-signin-pop { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, 88vw); z-index: 50; display: grid; gap: 10px; padding: 16px;
  border-radius: 16px; border: 1px solid rgba(148,163,184,.25); background: #111a28; box-shadow: 0 20px 50px rgba(0,0,0,.5) }
.lx-signin-pop[hidden] { display: none }
.lx-signin-pop label { font-weight: 700; font-size: 15px; color: var(--lx-text) }
.lx-signin-pop input[type=email] { width: 100%; box-sizing: border-box; padding: 11px 14px; border-radius: 12px; border: 1px solid rgba(148,163,184,.3);
  background: #0B111B; color: var(--lx-text); font: inherit; font-size: 15px; outline: none }
.lx-signin-pop input[type=email]:focus { border-color: rgba(0,217,245,.6); box-shadow: 0 0 0 3px rgba(0,217,245,.15) }
.lx-signin-pop .lx-btn { width: 100%; justify-content: center }
.lx-signin-pop p { margin: 0; font-size: 13px; color: var(--lx-muted) }
@media (max-width: 960px) { .lx-profile span { display: none } .lx-profile { width: 40px; padding: 0; justify-content: center } }

/* ---- privacy and terms ---- */
.lx-legal-top { display: flex; justify-content: center; padding: 22px 16px; border-bottom: 1px solid var(--lx-line) }
.lx main.lx-legal { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; color: #cbd5e1; line-height: 1.7 }
.lx-legal h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px }
.lx-legal .lx-updated { color: var(--lx-muted); font-size: 14px; margin: 0 0 32px }
.lx-legal h2 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin: 36px 0 10px; text-align: left }
.lx-legal ul { padding-left: 20px }
.lx-legal li { margin: 6px 0 }
.lx-legal strong { color: var(--lx-text) }
.lx-legal-foot { display: flex; justify-content: center; gap: 20px; padding: 24px 16px; border-top: 1px solid var(--lx-line); font-size: 14px; color: var(--lx-muted) }
.lx-legal-foot a { color: var(--lx-muted) }
.lx-free { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--lx-green); border: 1px solid rgba(34,197,94,.4); border-radius: 999px; padding: 1px 8px }

/* ---- own login page (Zitadel Login V2) ---- */
.lx-login { min-height: 100vh }
.li-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 32px 16px }
.li-brand { justify-self: auto }
.li-card { width: min(420px, 100%); padding: 32px 28px; border-radius: 20px; border: 1px solid rgba(148,163,184,.22);
  background: linear-gradient(170deg, rgba(0,217,245,.06), rgba(17,26,40,.92) 40%); box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(0,217,245,.06) }
.li-card h1 { font-size: 26px; margin: 0 0 8px; letter-spacing: -.02em }
.li-muted { color: var(--lx-muted); margin: 0 0 18px; line-height: 1.55 }
.li-who { color: var(--lx-text); font-weight: 600 }
.li-field { display: block; font-size: 13.5px; font-weight: 600; color: #cbd5e1; margin: 0 0 14px }
.li-field input { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(148,163,184,.3);
  background: #0B111B; color: var(--lx-text); font: inherit; font-size: 15px; outline: none }
.li-field input:focus { border-color: rgba(0,217,245,.6); box-shadow: 0 0 0 3px rgba(0,217,245,.15) }
.li-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.li-hint { font-size: 12.5px; color: var(--lx-muted); margin: -6px 0 14px }
.li-btn { width: 100%; padding: 12px 18px; font-size: 15px; margin-top: 4px }
.li-btn:disabled { opacity: .6; cursor: wait }
.li-error { color: #fca5a5; background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.35); border-radius: 10px; padding: 9px 12px; font-size: 13.5px; margin: 0 0 12px }
.li-error[hidden] { display: none }
.li-links { margin-top: 18px; text-align: center; font-size: 14px; color: var(--lx-muted) }
.li-link-btn { background: none; border: none; color: var(--lx-cyan); font: inherit; font-size: 13.5px; cursor: pointer; padding: 0; margin: -4px 0 14px }
.li-link-btn:disabled { color: var(--lx-muted); cursor: default }
.li-foot { font-size: 13px; color: var(--lx-muted) }
.li-foot a { color: var(--lx-muted) }

/* Tunnel Intelligence: the free market section, highlighted */
.lx-market { position: relative }
.lx-market::before { content: ""; position: absolute; inset: 10px -4% -10px; z-index: -1; border-radius: 28px;
  background: radial-gradient(700px 320px at 50% 0%, rgba(0,217,245,.16), transparent 70%), linear-gradient(180deg, rgba(23,35,51,.55), rgba(23,35,51,.15));
  border: 1px solid rgba(0,217,245,.22) }
.lx-market .lx-eyebrow .lx-free { margin-left: 4px }
.lx-sub { max-width: 760px; margin: 0 auto 26px; text-align: center; color: #cbd5e1; font-size: 17px; line-height: 1.6 }
.lx-market-cards .lx-card h3 { margin: 10px 0 6px }
.lx-market-cards .lx-card:hover { border-color: rgba(0,217,245,.55); transform: translateY(-2px) }
.lx-market-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 26px; color: var(--lx-muted) }

.brand-ai { color: #0b9fd1 }
