/* Public home page (/). Builds on tokens.css + ui.css; everything here is prefixed l-. */
.landing { font-size: 16px; overflow-x: hidden; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.l-skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.l-skip:focus { left: 8px; }

/* top bar */
.l-top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.l-top-in { height: 64px; display: flex; align-items: center; gap: 12px; }
.l-brand-text { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.l-brand-text b { color: var(--brand); }
.l-menu-wrap { position: relative; }
.l-menu { position: absolute; right: 0; top: calc(100% + 8px); width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: 0 18px 50px -12px var(--shadow); animation: fadeIn .18s var(--ease); }
.l-menu-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; color: var(--ink); text-decoration: none; cursor: pointer; }
.l-menu-item:hover { background: var(--state-hover); }
.l-menu-item .i { margin-top: 2px; color: var(--brand); }
.l-menu-item span { display: flex; flex-direction: column; }
.l-menu-item small { color: var(--muted); font-size: 12.5px; }

/* type */
.l-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.l-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 60%, transparent); animation: l-ping 2.2s infinite; }
@keyframes l-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.l-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6.2vw, 72px); line-height: 1.02; letter-spacing: -.035em; }
.l-hl { background: linear-gradient(100deg, var(--brand) 10%, var(--hue-sky) 55%, var(--hue-blue) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; margin-top: 20px; line-height: 1.6; }
.l-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -.03em; }
.l-h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.l-sub { color: var(--ink-2); font-size: 17px; max-width: 40em; margin-top: 12px; }

.l-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.l-btn-xl { min-height: 50px; padding: 0 22px; font-size: 15.5px; border-radius: 14px; }
.btn.l-btn-xl:not(.btn-gh) { box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--brand) 80%, transparent); }

/* hero */
.l-hero { position: relative; padding: 72px 0 88px; }
.l-hero-bg { position: absolute; inset: -64px 0 0; z-index: -1; overflow: hidden; pointer-events: none;
  mask-image: linear-gradient(#000 65%, transparent); -webkit-mask-image: linear-gradient(#000 65%, transparent);
  background:
    radial-gradient(60% 55% at 85% 20%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
    radial-gradient(45% 45% at 10% 80%, color-mix(in srgb, var(--hue-sky) 18%, transparent), transparent 70%); }
.l-hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 60% 30%, #000 10%, transparent 70%); }
.l-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.l-stats { display: flex; gap: 36px; margin-top: 40px; flex-wrap: wrap; }
.l-stats div { display: flex; flex-direction: column; }
.l-stats dt { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.l-stats dd { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* console card */
.l-console { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 40px 80px -30px var(--shadow), 0 0 0 1px color-mix(in srgb, var(--brand) 8%, transparent); transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); transition: transform .6s var(--ease); }
.l-console:hover { transform: none; }
.l-console-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; }
.l-lights { display: flex; gap: 6px; }
.l-lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.l-console-title { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.l-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; }
.l-live .l-dot { width: 7px; height: 7px; }
.l-chart { position: relative; aspect-ratio: 560 / 300; background: color-mix(in srgb, var(--hue-sky-soft) 70%, var(--surface)); }
.l-chart svg { width: 100%; height: 100%; display: block; }
.l-coord { position: absolute; left: 12px; bottom: 10px; font: 600 11.5px var(--font-mono); color: var(--ink-2); background: color-mix(in srgb, var(--surface) 85%, transparent); padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); }
.c-land { fill: color-mix(in srgb, var(--hue-amber-soft) 80%, var(--surface)); stroke: color-mix(in srgb, var(--hue-amber) 45%, transparent); stroke-width: 1.2; }
.c-contour { fill: none; stroke: var(--hue-blue); stroke-width: 1; }
.c-depth { font: 600 9px var(--font-mono); fill: var(--hue-blue); opacity: .7; }
.c-lane { fill: none; stroke: var(--hue-rose); stroke-width: 1.6; stroke-dasharray: 7 7; opacity: .8; animation: l-dash 1.6s linear infinite; }
@keyframes l-dash { to { stroke-dashoffset: -28; } }
.c-ship { fill: var(--hue-rose); }
.c-sweep { transform-box: view-box; animation: l-spin 5s linear infinite; }
@keyframes l-spin { to { transform: rotate(360deg); } }
.c-ring { fill: none; stroke: var(--brand); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: l-ring 2.8s var(--ease) infinite; }
.c-ring:nth-of-type(2) { animation-delay: 1.4s; }
@keyframes l-ring { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.c-pin { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.c-pin-drop { animation: l-drop .9s cubic-bezier(.3, 1.5, .5, 1) .3s both; }
@keyframes l-drop { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }
.c-tag rect { fill: var(--surface); stroke: var(--line-strong); stroke-width: .8; }
.c-tag text { font: 600 10px var(--font-text); fill: var(--ink); }
.c-tag { opacity: 0; transition: opacity .5s var(--ease); }
.c-tag.on { opacity: 1; }

.l-feed { list-style: none; padding: 10px 12px 4px; display: grid; gap: 4px; min-height: 172px; }
.l-feed li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; font-size: 13.5px; }
.l-feed li.new { animation: fadeIn .35s var(--ease) both; }
.l-feed li.run { background: var(--brand-soft); }
.l-feed .f-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.l-feed .f-l { font-weight: 600; }
.l-feed .f-s { margin-left: auto; color: var(--muted); font-size: 12px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.l-feed .f-s.ok { color: var(--success); }
.l-progress { height: 3px; background: var(--line); }
.l-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--hue-sky)); transition: width .6s var(--ease); }

/* sections */
.l-section { padding: 88px 0; }
.l-tight { padding: 32px 0; }
.l-section-head { margin-bottom: 40px; }
.l-band { background: var(--surface); border-block: 1px solid var(--line); }

.l-lenses { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.l-lens { position: relative; padding: 18px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; min-height: 168px; overflow: hidden;
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); opacity: 0; transform: translateY(14px); }
.l-lens.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.l-lens:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--lc) 50%, var(--line)); box-shadow: 0 20px 40px -24px var(--shadow); }
.l-lens-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lcs); color: var(--lc); margin-bottom: 14px; }
.l-lens b { display: block; font-size: 15px; line-height: 1.25; }
.l-lens p { color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.45; }
.l-lens::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 140px; height: 140px; border-radius: 50%; background: var(--lcs); opacity: 0; transition: opacity .3s; z-index: -1; }
.l-lens:hover::after { opacity: 1; }

.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.l-points { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.l-points li { display: flex; gap: 14px; color: var(--ink-2); }
.l-points .i { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.l-points b { color: var(--ink); }
.l-rose-card { background: var(--canvas); border: 1px solid var(--line); border-radius: 24px; padding: 18px; }
.l-rose-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; font-size: 12.5px; }
.l-seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.l-seg button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 600; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s; }
.l-seg button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.l-rose-grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: 14px; align-items: center; }
.l-rose-grid svg { width: 100%; display: block; }
#minimap { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.m-sea { fill: color-mix(in srgb, var(--hue-sky-soft) 75%, var(--surface)); }
.m-grid { stroke: var(--hue-blue); stroke-opacity: .18; stroke-width: 1; stroke-dasharray: 2 4; }
.m-land { fill: color-mix(in srgb, var(--hue-amber-soft) 80%, var(--surface)); stroke: color-mix(in srgb, var(--hue-amber) 45%, transparent); stroke-width: 1.2; }
.m-cell { fill: var(--map-point); fill-opacity: .1; stroke: var(--map-point); stroke-width: 1.4; stroke-dasharray: 4 3; transition: x .18s, y .18s; }
.m-link { stroke: var(--map-point); stroke-width: 1.4; stroke-dasharray: 5 4; }
.m-site { fill: var(--map-site); stroke: var(--surface); stroke-width: 2; }
.m-txt { font: 600 10px var(--font-text); fill: var(--ink-2); }
.m-pt { fill: var(--map-point); stroke: var(--surface); stroke-width: 2.5; }
.m-halo { fill: var(--map-point); opacity: .18; transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.m-dp.dragging .m-halo { transform: scale(1.5); }
.m-hand { fill: var(--ink); stroke: var(--surface); stroke-width: 1.2; opacity: 0; transition: opacity .25s; }
.m-hand.on { opacity: .9; }
.l-rose-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12.5px; }
.l-legend { display: inline-flex; gap: 10px; flex-wrap: wrap; color: var(--ink-2); }
.l-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.r-grid { fill: none; stroke: var(--viz-grid); stroke-width: .8; }
.r-lbl { font: 600 11px var(--font-text); fill: var(--muted); text-anchor: middle; dominant-baseline: middle; }

.l-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.l-steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.l-steps::after { content: ""; position: absolute; top: 22px; left: 22px; height: 2px; width: 0; background: linear-gradient(90deg, var(--brand), var(--hue-sky)); transition: width 1.6s var(--ease); }
.l-steps.in::after { width: calc(100% - 44px); }
.l-steps li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.l-step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand); color: var(--brand); font: 700 17px var(--font-display); position: relative; z-index: 1; margin-bottom: 10px; }
.l-steps .i { color: var(--brand); }
.l-steps b { font-size: 17px; }
.l-steps p { color: var(--muted); font-size: 14.5px; }

.l-layers { display: flex; align-items: center; gap: 20px 28px; flex-wrap: wrap; padding: 22px 26px; border: 1px dashed var(--line-strong); border-radius: 20px; }
.l-layers .i { color: var(--brand); }
.l-layers ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.l-layers li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }

.l-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--p-navy-950), var(--p-teal-950) 60%, #23474A); color: var(--p-parchment-100); }
.l-cta .l-actions { margin-top: 0; position: relative; }
.l-cta-copy { position: relative; max-width: 30em; }
.l-cta-copy p { color: var(--p-parchment-200); margin-top: 10px; font-size: 17px; }
.l-cta-waves { position: absolute; inset: 0; opacity: .35;
  background: repeating-radial-gradient(circle at 100% 120%, transparent 0 22px, rgba(157, 194, 192, .35) 22px 23px); animation: l-drift 14s linear infinite alternate; }
@keyframes l-drift { to { transform: translate(-40px, -20px); } }
.btn.l-btn-light { background: var(--p-parchment-100); color: var(--p-navy-950); box-shadow: none; }
.btn.l-btn-light:hover { background: #fff; }
.btn.l-btn-outline { background: transparent; color: var(--p-parchment-100); border-color: rgba(238, 232, 222, .45); box-shadow: none; }
.btn.l-btn-outline:hover { background: rgba(238, 232, 222, .1); }

.l-foot { border-top: 1px solid var(--line); padding: 36px 0 48px; margin-top: 56px; color: var(--muted); font-size: 13.5px; }
.l-foot-in { display: grid; gap: 14px; }
.l-foot b { color: var(--ink-2); }
.l-foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.l-foot-links a, .l-foot-links button { color: var(--ink-2); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; padding: 0; }
.l-foot-links span { margin-left: auto; }

/* request dialog */
.l-rq { border: 1px solid var(--line); border-radius: 22px; padding: 0; width: min(460px, calc(100vw - 32px)); background: var(--surface); color: var(--ink); box-shadow: 0 40px 90px -30px var(--shadow); margin: auto; }
.l-rq::backdrop { background: color-mix(in srgb, var(--p-navy-950) 55%, transparent); backdrop-filter: blur(3px); }
.l-rq[open] { animation: fadeIn .2s var(--ease); }
.l-rq-form { display: grid; gap: 6px; padding: 24px; }
.l-rq-head { display: flex; align-items: center; justify-content: space-between; }
.l-rq-head h2 { font-family: var(--font-display); font-size: 24px; letter-spacing: -.02em; }
.l-rq-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
.l-rq-close:hover { background: var(--state-hover); color: var(--ink); }
.l-rq-intro { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.l-rq label { font-size: 13px; font-weight: 600; margin-top: 8px; }
.l-rq label .opt { color: var(--muted); font-weight: 400; }
.l-rq-input { width: 100%; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--canvas); font-size: 15px; }
.l-rq-input:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
textarea.l-rq-input { resize: vertical; min-height: 84px; }
.l-rq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.l-rq-msg { font-size: 14px; min-height: 1.4em; margin-top: 6px; }
.l-rq-msg.ok { color: var(--success); }
.l-rq-msg.err { color: var(--danger); }
.l-rq-actions { display: flex; justify-content: flex-end; margin-top: 6px; }
.l-rq-actions .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

/* responsive */
/* sample report shown at the end of the hero animation */
.l-console .l-chart, .l-console .l-feed, .l-console .l-progress { transition: opacity .5s var(--ease), filter .5s var(--ease); }
.l-console.show-report .l-chart, .l-console.show-report .l-feed, .l-console.show-report .l-progress { opacity: .15; filter: blur(3px); }
.l-report { position: absolute; inset: 49px 0 0; display: grid; place-items: center; padding: 16px 20px; pointer-events: none; }
.l-page { width: min(100%, 400px); background: #fff; color: #171717; border-radius: 10px; padding: 18px 20px; box-shadow: 0 30px 60px -20px rgba(15, 26, 33, .45), 0 0 0 1px rgba(15, 26, 33, .08);
  opacity: 0; transform: translateY(40px) rotate(-1.5deg) scale(.96); transition: opacity .6s var(--ease), transform .7s cubic-bezier(.2, .9, .2, 1.1); }
.l-console.show-report .l-page { opacity: 1; transform: none; }
.l-page-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #16232C; padding-bottom: 8px; }
.l-logo { display: grid; grid-template-columns: 26px auto; column-gap: 8px; align-items: center; }
.l-logo svg { width: 26px; height: 26px; grid-row: span 2; }
.l-logo b { font: 700 13px var(--font-display); letter-spacing: -.01em; line-height: 1.1; }
.l-logo small { font-size: 9.5px; color: #6E7E8A; letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.l-page-tag { font-size: 9.5px; font-weight: 600; color: #3F6B6D; background: #E2EBEA; padding: 3px 8px; border-radius: 999px; }
.l-page h3 { font: 700 17px var(--font-display); letter-spacing: -.02em; margin-top: 10px; }
.l-page-sub { font-size: 11px; color: #6E7E8A; }
.l-page-h { font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3F6B6D; margin: 10px 0 5px; }
.l-risk div { display: grid; grid-template-columns: 118px 1fr 44px; gap: 8px; align-items: center; font-size: 10.5px; padding: 2px 0; }
.l-risk i { height: 7px; border-radius: 99px; background: #EFEDE8; position: relative; overflow: hidden; }
.l-risk i::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--c); border-radius: 99px; transition: width 1s var(--ease) .5s; }
.l-console.show-report .l-risk i::after { width: var(--w); }
.l-risk b { font-size: 10px; text-align: right; }
.l-page-cols { display: grid; grid-template-columns: 1fr 92px; gap: 12px; align-items: end; }
.l-nums dl { display: grid; grid-template-columns: 1fr auto; font-size: 10.5px; row-gap: 3px; }
.l-nums dt { color: #4D4D49; } .l-nums dd { font-weight: 700; text-align: right; }
.l-page-rose { width: 92px; height: 92px; }
.l-page-rose path { --hue-blue: #46637A; }

@media (max-width: 1000px) {
  .l-lenses { grid-template-columns: repeat(3, 1fr); }
  .l-hero-grid, .l-split { grid-template-columns: 1fr; gap: 40px; }
  .l-console { transform: none; }
}
@media (max-width: 720px) {
  .l-rose-grid { grid-template-columns: 1fr; }
  #minimap { max-width: 320px; margin: 0 auto; }
  .l-page { padding: 14px; }
  .l-risk div { grid-template-columns: 96px 1fr 40px; }
  .l-hero { padding: 40px 0 56px; }
  .l-section { padding: 60px 0; }
  .l-lenses { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .l-lens { min-height: 0; padding: 14px; }
  .l-steps { grid-template-columns: 1fr; gap: 22px; }
  .l-steps::before, .l-steps::after { display: none; }
  .l-steps li { padding-left: 60px; min-height: 44px; }
  .l-step-n { position: absolute; left: 0; top: 0; }
  .l-cta { padding: 32px 24px; }
  .l-stats { gap: 24px; }
  .l-foot-links span { margin-left: 0; }
}
@media (max-width: 480px) {
  .l-brand-text { font-size: 16px; }
  .landing .theme-switch { display: none; }
  .l-btn-xl { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .l-lens { opacity: 1; transform: none; }
}

/* custom topics demo */
.l-custom { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; margin-top: 44px; padding: 32px; border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-soft), color-mix(in srgb, var(--hue-sky-soft) 60%, var(--surface))); border: 1px solid color-mix(in srgb, var(--brand) 18%, var(--line)); }
.l-new { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: var(--brand); color: var(--on-brand); font-size: 13px; line-height: 1; }
.l-h3b { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -.025em; }
.l-custom .l-sub { font-size: 16px; }
.l-points-sm { gap: 12px; margin-top: 18px; font-size: 15px; }
.l-custom-demo { display: grid; grid-template-columns: 1fr 34px 1.1fr; align-items: center; gap: 10px; }
.l-cd-box { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; padding: 10px 12px; min-height: 152px; font-size: 13px; }
.l-cd-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.l-cd-lines div { padding: 4px 0; border-bottom: 1px dashed var(--line); color: var(--ink); min-height: 1.6em; }
.l-cd-lines div.typing::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--brand); margin-left: 1px; vertical-align: -2px; animation: l-blink 1s steps(2) infinite; }
@keyframes l-blink { to { opacity: 0; } }
.l-cd-arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.l-cd-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px; min-height: 152px; opacity: .35; transform: translateX(-6px); transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .5s; }
.l-cd-card.on { opacity: 1; transform: none; box-shadow: 0 18px 40px -24px var(--shadow); }
.l-cd-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.l-cd-head b { flex: 1; min-width: 0; line-height: 1.25; transition: color .3s; }
.l-cd-card.done .l-cd-head b { color: var(--brand); }
.l-cd-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.l-cd-badge { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--c-badge-run-bg, var(--info-soft)); color: var(--c-badge-run-fg, var(--info)); white-space: nowrap; }
.l-cd-card.done .l-cd-badge { background: var(--success-soft); color: var(--success); }
.l-cd-finds { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.l-cd-finds li { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; font-size: 12.5px; line-height: 1.35; animation: fadeIn .35s var(--ease) both; }
.l-cd-finds em { grid-column: 2; font-style: normal; color: var(--muted); font-size: 11.5px; }
.l-cd-n { font: 700 11.5px var(--font-mono); color: var(--brand); }
.l-stats dt small { font-size: .6em; color: var(--brand); margin-left: 1px; vertical-align: super; }
@media (max-width: 1000px) { .l-custom { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .l-custom { padding: 20px 16px; }
  .l-custom-demo { grid-template-columns: 1fr; }
  .l-cd-arrow { justify-self: center; transform: rotate(90deg); }
}

/* measured data */
.l-params { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.l-param { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.l-param-ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--lcs); color: var(--lc); margin-bottom: 12px; }
.l-param h3 { font-size: 17px; }
.l-param-src { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); margin: 4px 0 10px; }
.l-param ul { list-style: none; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.l-param li { padding-left: 16px; position: relative; }
.l-param li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--lc, var(--brand)); opacity: .7; }
.l-sources { margin-top: 22px; }
.l-sources ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.l-sources li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .l-params { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .l-params { grid-template-columns: 1fr; } }
