/* LeftLevel public site v3.3 drop-in build */
:root {
  --ll-void: #050A14;
  --ll-navy: #0B1220;
  --ll-panel: rgba(11, 18, 32, .78);
  --ll-panel-strong: #0B1220;
  --ll-border: rgba(148, 163, 184, .18);
  --ll-border-bright: rgba(34, 211, 238, .34);
  --ll-cyan: #22D3EE;
  --ll-teal: #2DD4BF;
  --ll-blue: #38BDF8;
  --ll-violet: #8B5CF6;
  --ll-white: #E5F0FF;
  --ll-muted: #93A4B8;
  --ll-soft: #C7D7EA;
  --ll-max: 1180px;
  --ll-radius: 24px;
  --ll-shadow: 0 26px 80px rgba(0, 0, 0, .36);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ll-white);
  background:
    radial-gradient(circle at 10% 4%, rgba(34, 211, 238, .13), transparent 26rem),
    radial-gradient(circle at 92% 8%, rgba(139, 92, 246, .13), transparent 29rem),
    linear-gradient(180deg, #050A14 0%, #07101D 45%, #050A14 100%);
  line-height: 1.6;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(229,240,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229,240,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.56), transparent 72%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
a:not(.button):not(.logo-link):not(.brand-link):not(.footer-logo):hover { color: var(--ll-cyan); }
img { max-width: 100%; height: auto; }
code { color: var(--ll-cyan); background: rgba(34,211,238,.08); border: 1px solid rgba(34,211,238,.16); border-radius: 8px; padding: .05rem .32rem; }
.container { width: min(var(--ll-max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; background: var(--ll-cyan); color: #06111D; padding: .75rem 1rem; border-radius: .75rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(5, 10, 20, .74);
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .72rem 0; }
.brand-link { display: inline-flex; align-items: center; gap: .62rem; min-width: max-content; }
.brand-mark { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; background: radial-gradient(circle at 34% 30%, rgba(34,211,238,.15), rgba(34,211,238,.045) 62%, rgba(255,255,255,.025)); border: 1px solid rgba(34,211,238,.16); box-shadow: 0 0 28px rgba(34,211,238,.12); }
.brand-mark svg { width: 32px; height: 32px; display: block; }
.brand-text { font-size: 1.12rem; line-height: 1; font-weight: 850; letter-spacing: -.04em; color: var(--ll-white); }
.brand-sub { display: block; margin-top: .12rem; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ll-muted); font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: .3rem; }
.primary-nav a { color: var(--ll-soft); font-weight: 720; font-size: .94rem; padding: .58rem .78rem; border-radius: 999px; transition: background .18s ease, color .18s ease, transform .18s ease, border-color .18s ease; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { background: rgba(34, 211, 238, .10); color: var(--ll-white); }
.primary-nav a:hover { transform: translateY(-1px); }
.primary-nav .nav-cta { border: 1px solid rgba(45, 212, 191, .42); background: rgba(45, 212, 191, .08); color: var(--ll-white); margin-left: .28rem; }
.nav-toggle { display: none; border: 1px solid var(--ll-border); background: rgba(255,255,255,.04); color: var(--ll-white); border-radius: 999px; padding: .55rem .8rem; font-weight: 800; }
.hero { position: relative; overflow: hidden; padding: 7.2rem 0 5.2rem; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,20,.98) 0%, rgba(5,10,20,.84) 48%, rgba(5,10,20,.32) 100%), url('/assets/img/network-field.svg') right center / auto 100% no-repeat; z-index: -1; opacity: .95; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr); gap: 3.2rem; align-items: center; }
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: .48rem; color: var(--ll-teal); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
.kicker::before, .eyebrow::before { content: ""; width: .54rem; height: .54rem; border-radius: 999px; background: var(--ll-cyan); box-shadow: 0 0 20px rgba(34,211,238,.8); }
h1, h2, h3 { line-height: 1.08; margin: 0 0 1rem; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 8vw, 6.8rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { font-size: 1.25rem; }
p { color: var(--ll-muted); margin: 0 0 1.15rem; }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.36rem); max-width: 760px; color: var(--ll-soft); }
.gradient-text { color: transparent; background: linear-gradient(95deg, var(--ll-cyan), var(--ll-teal) 48%, #B7A3FF); -webkit-background-clip: text; background-clip: text; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border-radius: 999px; padding: .82rem 1.08rem; min-height: 44px; font-weight: 850; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: #03121A; background: linear-gradient(135deg, var(--ll-cyan), var(--ll-teal)); box-shadow: 0 18px 40px rgba(34,211,238,.20); }
.button.ghost { color: var(--ll-white); border-color: rgba(148,163,184,.30); background: rgba(255,255,255,.04); }
.button.subtle { color: var(--ll-white); border-color: rgba(34,211,238,.20); background: rgba(34,211,238,.07); padding: .65rem .86rem; }
.hero-panel { border: 1px solid rgba(34,211,238,.22); background: linear-gradient(180deg, rgba(11,18,32,.84), rgba(11,18,32,.58)); border-radius: 32px; padding: 1.1rem; box-shadow: var(--ll-shadow); }
.signal-card { padding: 1.25rem; border-radius: 24px; background: rgba(5,10,20,.70); border: 1px solid rgba(148,163,184,.16); }
.signal-map { position: relative; min-height: 260px; border-radius: 22px; overflow: hidden; background: radial-gradient(circle at 32% 20%, rgba(34,211,238,.24), transparent 12rem), radial-gradient(circle at 82% 30%, rgba(139,92,246,.18), transparent 14rem), #07101D; border: 1px solid rgba(148,163,184,.12); }
.signal-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.metric-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .8rem; }
.metric { padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(148,163,184,.12); }
.metric strong { display: block; color: var(--ll-white); font-size: 1.25rem; }
.metric span { color: var(--ll-muted); font-size: .86rem; }
.trust-strip { border-top: 1px solid rgba(148,163,184,.12); border-bottom: 1px solid rgba(148,163,184,.12); background: rgba(11,18,32,.42); }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; padding: 1rem 0; }
.pill { display: inline-flex; border: 1px solid rgba(34,211,238,.18); background: rgba(34,211,238,.06); color: var(--ll-soft); border-radius: 999px; padding: .55rem .85rem; font-weight: 750; font-size: .88rem; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
a.pill:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.46); background: rgba(34,211,238,.13); color: var(--ll-white); }
.section { padding: 5.8rem 0; }
.section-tight { padding: 4.2rem 0; }
.section-header { max-width: 780px; margin-bottom: 2rem; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card, .panel, .doc-block, .timeline-item, .article-card { border: 1px solid var(--ll-border); background: linear-gradient(180deg, rgba(11,18,32,.82), rgba(11,18,32,.55)); border-radius: var(--ll-radius); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.card, .article-card { padding: 1.35rem; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.card:hover, .article-card:hover { transform: translateY(-4px); border-color: var(--ll-border-bright); background: linear-gradient(180deg, rgba(11,18,32,.95), rgba(11,18,32,.68)); }
.card .icon { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; border-radius: .85rem; color: #03121A; background: linear-gradient(135deg, var(--ll-cyan), var(--ll-teal)); font-weight: 900; margin-bottom: 1rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr); gap: 2rem; align-items: start; }
.panel, .doc-block { padding: 1.5rem; }
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .72rem; }
.feature-list li { position: relative; padding-left: 1.55rem; color: var(--ll-soft); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .62rem; width: .58rem; height: .58rem; border-radius: 999px; background: var(--ll-teal); box-shadow: 0 0 18px rgba(45,212,191,.5); }
.page-hero { padding: 5.8rem 0 3.4rem; border-bottom: 1px solid rgba(148,163,184,.12); background: radial-gradient(circle at 80% 8%, rgba(139,92,246,.14), transparent 25rem), radial-gradient(circle at 16% 8%, rgba(34,211,238,.10), transparent 24rem); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); }
.breadcrumbs { color: var(--ll-muted); margin-bottom: 1.5rem; font-size: .92rem; }
.breadcrumbs a { color: var(--ll-soft); }
.timeline { display: grid; gap: .92rem; counter-reset: steps; }
.timeline-item { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.2rem; counter-increment: steps; }
.timeline-item::before { content: counter(steps, decimal-leading-zero); position: absolute; left: 1.2rem; top: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: .8rem; background: rgba(34,211,238,.10); border: 1px solid rgba(34,211,238,.30); color: var(--ll-cyan); display: grid; place-items: center; font-weight: 900; }
.notice { margin-top: 1.2rem; border: 1px solid rgba(45,212,191,.26); background: rgba(45,212,191,.08); border-radius: 18px; padding: 1rem; color: var(--ll-soft); }
.link-list { display: grid; gap: .8rem; margin-top: 1rem; }
.link-card { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem; border-radius: 18px; border: 1px solid rgba(148,163,184,.16); background: rgba(255,255,255,.035); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.link-card:hover { transform: translateY(-2px); border-color: rgba(34,211,238,.38); background: rgba(34,211,238,.07); }
.link-card span { color: var(--ll-muted); font-size: .92rem; }
.codebox { overflow: auto; background: rgba(3, 7, 18, .7); border: 1px solid rgba(148,163,184,.16); border-radius: 18px; padding: 1rem; }
.codebox pre { margin: 0; color: var(--ll-soft); font-size: .9rem; }
.article-card .meta { color: var(--ll-teal); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.site-footer { border-top: 1px solid rgba(148,163,184,.12); padding: 3.5rem 0 2rem; background: rgba(5,10,20,.9); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .72fr); gap: 1.5rem; }
.footer-grid h3 { font-size: .92rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ll-soft); }
.footer-grid a { display: block; color: var(--ll-muted); margin: .38rem 0; }
.footer-grid a:hover { color: var(--ll-cyan); }
.footer-logo { display: inline-flex; margin-bottom: .85rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--ll-muted); border-top: 1px solid rgba(148,163,184,.12); margin-top: 2rem; padding-top: 1.2rem; font-size: .92rem; }
@media (max-width: 900px) {
  .hero { padding-top: 5.5rem; }
  .hero-grid, .split, .grid.two, .grid.three, .footer-grid { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(5,10,20,.96), rgba(5,10,20,.7)), url('/assets/img/network-field.svg') center / cover no-repeat; }
  .metric-strip { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + .5rem); display: none; flex-direction: column; align-items: stretch; padding: .8rem; background: rgba(5,10,20,.96); border: 1px solid rgba(148,163,184,.16); border-radius: 20px; box-shadow: var(--ll-shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; }
  .primary-nav .nav-cta { margin-left: 0; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--ll-max)); }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 29px; height: 29px; }
  .brand-text { font-size: 1.02rem; }
  .brand-sub { display: none; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .page-hero, .section { padding-left: 0; padding-right: 0; }
}

/* v3.2 footer brand tightening: keep the logo compact in the footer even if older image markup is cached or reused. */
.site-footer .brand-link.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .72rem;
  max-width: 220px;
}
.site-footer .brand-link.footer-logo .brand-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 11px;
  box-shadow: 0 0 18px rgba(34,211,238,.10);
}
.site-footer .brand-link.footer-logo .brand-mark svg {
  width: 25px;
  height: 25px;
}
.site-footer .brand-link.footer-logo .brand-text {
  font-size: 1rem;
  letter-spacing: -.035em;
}
.site-footer .brand-link.footer-logo .brand-sub {
  font-size: .52rem;
  letter-spacing: .12em;
}
.site-footer .footer-logo img,
.site-footer img[alt="LeftLevel"] {
  display: block;
  width: auto !important;
  max-width: 185px !important;
  max-height: 42px !important;
  object-fit: contain;
}


/* v3.3 footer/logo hardening */
.site-footer .brand-link.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: 170px;
  margin-bottom: .7rem;
}
.site-footer .brand-link.footer-logo .brand-mark {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  border-radius: 10px;
}
.site-footer .brand-link.footer-logo .brand-mark svg {
  width: 24px !important;
  height: 24px !important;
}
.site-footer .brand-link.footer-logo .brand-text {
  font-size: .98rem !important;
  letter-spacing: -.035em;
}
.site-footer .brand-link.footer-logo .brand-sub {
  display: none !important;
}
.site-footer .footer-logo img,
.site-footer img[alt="LeftLevel"],
.site-footer img[alt*="LeftLevel"] {
  width: 150px !important;
  max-width: 150px !important;
  max-height: 36px !important;
  object-fit: contain;
}
