/* Lantern Network Monitor public site — mirrors the application UI */
:root {
  color-scheme: dark;
  --bg: #07101f;
  --bg-deep: #050c18;
  --header: #0d192b;
  --panel: #101d31;
  --panel-raised: #13223a;
  --panel-soft: #0c1728;
  --border: #243650;
  --border-soft: #1b2b42;
  --text: #f3f7fc;
  --muted: #8fa2ba;
  --muted-strong: #b8c5d5;
  --blue: #3195ff;
  --blue-hover: #58a9ff;
  --cyan: #28d7e5;
  --green: #22d6a0;
  --amber: #f0bd32;
  --red: #f06472;
  --shadow: 0 10px 25px rgba(0, 0, 0, .18);
  --radius: 7px;
  --max: 1320px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(51, 91, 139, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 91, 139, .025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
a { color: #6bb5ff; text-decoration: none; }
a:hover { color: #98ccff; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #79bdff; outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -50px; z-index: 100; padding: 9px 12px; background: var(--blue); color: #03101e; font-weight: 700; }
.skip-link:focus { top: 10px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 25, 43, .97); border-bottom: 1px solid var(--border); box-shadow: 0 3px 14px rgba(0,0,0,.2); }
.header-inner { max-width: var(--max); min-height: 60px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-logo { width: 29px; height: 29px; object-fit: contain; filter: drop-shadow(0 0 7px rgba(35, 157, 255, .33)); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 11px; color: var(--muted-strong); font-size: 13px; border: 1px solid transparent; border-radius: 4px; }
.site-nav a:hover { color: var(--text); background: #14233a; border-color: var(--border-soft); }
.site-nav a[aria-current="page"] { color: var(--text); background: #162941; border-color: #2d4666; }
.nav-toggle { display: none; width: 38px; height: 36px; border: 1px solid var(--border); border-radius: 4px; background: var(--panel); color: var(--text); font: inherit; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ""; display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; }
main { position: relative; }
.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.page-intro { padding: 62px 0 32px; border-bottom: 1px solid rgba(36,54,80,.5); }
.page-intro.compact { padding-bottom: 24px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, h4 { margin-top: 0; color: var(--text); letter-spacing: -.025em; line-height: 1.2; }
h1 { max-width: 820px; margin-bottom: 14px; font-size: clamp(32px, 5vw, 54px); }
.page-intro h1 { font-size: clamp(29px, 4vw, 42px); }
h2 { margin-bottom: 12px; font-size: clamp(23px, 3vw, 31px); }
h3 { margin-bottom: 8px; font-size: 17px; }
h4 { margin-bottom: 5px; font-size: 14px; }
p { margin: 0 0 16px; }
.lead { max-width: 760px; color: var(--muted-strong); font-size: clamp(16px, 2vw, 19px); }
.meta-line { color: var(--muted); font-size: 13px; }
.hero { padding: 72px 0 54px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .42fr); align-items: center; gap: 54px; }
.hero-logo-wrap { position: relative; display: grid; place-items: center; min-height: 390px; }
.hero-logo-wrap::before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border-radius: 50%; background: rgba(0, 130, 255, .11); filter: blur(45px); }
.hero-logo { position: relative; width: min(100%, 380px); height: auto; filter: drop-shadow(0 15px 30px rgba(0, 0, 0, .38)); }
.hero h1 { font-size: clamp(38px, 5.8vw, 65px); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 7px; padding: 9px 15px; border: 1px solid #3f9bf7; border-radius: 4px; background: var(--blue); color: #04111f; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; box-shadow: 0 4px 12px rgba(32, 143, 255, .15); }
.button:hover { background: var(--blue-hover); color: #04111f; }
.button.secondary { background: #101d31; color: var(--text); border-color: #304766; box-shadow: none; }
.button.secondary:hover { background: #172944; color: var(--text); }
.button[aria-disabled="true"], .button:disabled { background: #172338; border-color: #2c3c53; color: #70839a; cursor: not-allowed; box-shadow: none; }
.button.small { min-height: 32px; padding: 6px 11px; }
[hidden] { display: none !important; }
.status-strip { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid #2d435f; border-radius: 4px; background: #0f1c2e; color: var(--muted-strong); font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.badge.green::before { background: var(--green); }
.badge.amber::before { background: var(--amber); }
.product-frame { position: relative; margin: 0; padding: 6px; border: 1px solid #2b4160; border-radius: var(--radius); background: #0b1627; box-shadow: var(--shadow); overflow: hidden; }
.product-frame img { display: block; width: 100%; height: auto; border-radius: 3px; }
.product-frame figcaption { padding: 10px 8px 5px; color: var(--muted); font-size: 12px; }
.product-frame a { display: block; }
.product-frame .screenshot-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; background: transparent; cursor: zoom-in; }
.product-frame .screenshot-button img { display: block; width: 100%; height: auto; }
.product-frame a::after { content: "View full screenshot"; position: absolute; top: 14px; right: 14px; padding: 5px 8px; border: 1px solid #365275; border-radius: 3px; background: rgba(7,16,31,.88); color: #c4d4e7; font-size: 11px; opacity: 0; transform: translateY(-3px); transition: .15s ease; }
.product-frame:hover a::after, .product-frame a:focus-visible::after { opacity: 1; transform: none; }
.section { padding: 68px 0; }
.section.tight { padding: 42px 0; }
.section + .section { border-top: 1px solid rgba(36,54,80,.5); }
.section-heading { max-width: 720px; margin-bottom: 26px; }
.section-heading p { color: var(--muted); }
.dashboard-showcase { margin-top: -2px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); box-shadow: 0 5px 15px rgba(0,0,0,.1); }
.card-body { padding: 20px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted-strong); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--border-soft); }
.card-head h3 { margin: 0; font-size: 14px; }
.feature-card { min-height: 160px; }
.feature-icon { display: grid; width: 32px; height: 32px; margin-bottom: 16px; place-items: center; border: 1px solid #31547b; border-radius: 4px; background: #112641; color: #57adff; font-size: 13px; font-weight: 800; }
.local-panel { display: grid; grid-template-columns: 1fr .8fr; gap: 30px; align-items: center; }
.technical-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.technical-list li { display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding: 13px 15px; color: var(--muted-strong); border-bottom: 1px solid var(--border-soft); }
.technical-list li:last-child { border-bottom: 0; }
.technical-list li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--green); }
.feature-section { padding: 58px 0; scroll-margin-top: 76px; }
.feature-section + .feature-section { border-top: 1px solid rgba(36,54,80,.62); }
.feature-layout { display: grid; grid-template-columns: minmax(250px, .35fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.feature-copy { position: sticky; top: 88px; }
.feature-copy p { color: var(--muted-strong); }
.screenshot-stack { display: grid; gap: 18px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.screenshot-grid .product-frame:first-child:last-child { grid-column: 1 / -1; }
.subnav { position: sticky; top: 60px; z-index: 20; overflow-x: auto; border-bottom: 1px solid var(--border); background: rgba(7,16,31,.96); scrollbar-width: thin; }
.subnav-inner { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; display: flex; gap: 3px; padding: 9px 0; white-space: nowrap; }
.subnav a { padding: 6px 9px; color: var(--muted); font-size: 12px; border-radius: 3px; }
.subnav a:hover { background: var(--panel); color: var(--text); }
.docs-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 34px; align-items: start; padding: 38px 0 70px; }
.docs-sidebar { position: sticky; top: 84px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel-soft); }
.docs-sidebar strong { display: block; padding: 13px 14px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.docs-sidebar nav { padding: 0 7px 8px; }
.docs-sidebar a { display: block; padding: 6px 8px; color: var(--muted); border-radius: 3px; font-size: 12px; }
.docs-sidebar a:hover { color: var(--text); background: var(--panel-raised); }
.doc-section { scroll-margin-top: 82px; padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--border-soft); }
.doc-section:last-child { border-bottom: 0; }
.doc-section > p, .doc-section > ul, .doc-section > ol { max-width: 820px; color: var(--muted-strong); }
.steps { padding-left: 20px; }
.steps li { margin-bottom: 9px; padding-left: 5px; }
.callout { max-width: 820px; margin: 18px 0; padding: 13px 15px; border: 1px solid #2c4769; border-left: 3px solid var(--blue); border-radius: 4px; background: #0e1d31; color: var(--muted-strong); }
.callout strong { color: var(--text); }
.doc-images { max-width: 960px; margin-top: 22px; }
code, pre { font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; }
code { color: #abd3ff; }
.code-block { margin: 16px 0; padding: 14px 16px; overflow-x: auto; border: 1px solid var(--border); border-radius: 4px; background: #060e1a; color: #bcd1e7; font-size: 13px; }
.release-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; }
.release-card .card-body { padding: 24px; }
.release-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.version { margin: 5px 0 18px; font-family: "Cascadia Code", Consolas, monospace; font-size: 25px; }
.download-option { display: grid; grid-template-columns: 1fr auto; gap: 15px; align-items: center; padding: 17px 0; border-top: 1px solid var(--border-soft); }
.download-option p { margin: 3px 0 0; font-size: 13px; }
.requirements { margin: 0; padding-left: 18px; color: var(--muted-strong); }
.requirements li { margin-bottom: 8px; }
.checksum-row { padding: 13px 0; border-bottom: 1px solid var(--border-soft); }
.checksum-row:last-child { border-bottom: 0; }
.checksum { display: block; margin-top: 6px; overflow-wrap: anywhere; color: var(--muted); font: 12px/1.5 "Cascadia Code", Consolas, monospace; }
.faq-list { display: grid; gap: 10px; max-width: 920px; }
details.faq { border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
details.faq summary { padding: 16px 42px 16px 17px; color: var(--text); font-weight: 700; cursor: pointer; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 17px; top: 14px; color: var(--blue); font-size: 20px; font-weight: 400; }
details.faq[open] summary::after { content: "−"; }
details.faq[open] summary { border-bottom: 1px solid var(--border-soft); }
.faq-answer { padding: 15px 17px 17px; color: var(--muted-strong); }
.faq-answer p:last-child { margin-bottom: 0; }
.site-footer { position: relative; border-top: 1px solid var(--border); background: var(--bg-deep); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 30px 24px; display: flex; justify-content: space-between; gap: 28px; color: var(--muted); font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--muted-strong); font-weight: 700; }
.footer-brand img { width: 24px; height: 24px; object-fit: contain; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: var(--muted); }
.lightbox { width: min(95vw, 1500px); max-height: 94vh; padding: 0; border: 1px solid #365274; border-radius: 7px; background: #07101f; color: var(--text); box-shadow: 0 25px 80px rgba(0,0,0,.7); }
.lightbox::backdrop { background: rgba(1,5,12,.88); }
.lightbox-inner { position: relative; padding: 40px 10px 10px; }
.lightbox img { display: block; max-height: calc(94vh - 54px); margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 6px; right: 8px; width: 30px; height: 28px; border: 1px solid var(--border); border-radius: 3px; background: var(--panel); color: var(--text); cursor: pointer; }
.no-js-note { color: var(--muted); }
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr .34fr; gap: 25px; }
  .hero-logo-wrap { min-height: 260px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-layout { grid-template-columns: 1fr; }
  .feature-copy { position: static; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .docs-sidebar nav { columns: 2; }
  .local-panel, .release-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container, .subnav-inner { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { min-height: 56px; padding: 0 15px; }
  .brand { font-size: 14px; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 56px; padding: 9px 15px 14px; flex-direction: column; align-items: stretch; gap: 3px; border-bottom: 1px solid var(--border); background: #0d192b; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-logo-wrap { min-height: auto; order: -1; }
  .hero-logo { width: 180px; }
  .page-intro { padding-top: 42px; }
  .section { padding: 50px 0; }
  .grid-2, .grid-3, .screenshot-grid { grid-template-columns: 1fr; }
  .download-option { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .subnav { top: 56px; }
}
@media (max-width: 480px) {
  body { font-size: 14px; }
  .brand span { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
  .hero h1 { font-size: 37px; }
  .hero-actions .button { width: 100%; }
  .docs-sidebar nav { columns: 1; }
  .card-body { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
