/* ClasSight front page. One idea carries it: the lab drawn in the logo's own shapes.
   A filled square is a PC that is on, an outlined square is off, and the one being seen becomes the dot. */
.lp {
  --paper: #eef4f0;
  --tile: #0b3b2e;
  --dot: #16a34a;
  --dot-ink: #ffffff;
  --panel: #0b3b2e;
  --panel-ink: #ffffff;
  --panel-soft: #c9e3d8;
  background: var(--paper);
}
@media (prefers-color-scheme: dark) {
  .lp { --paper: #0a1713; --tile: #24483c; --dot: #b8f35a; --dot-ink: #0b3b2e; --panel: #133a2e; --panel-soft: #9dbdb0; }
}
.lp-wrap { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.lp h2 { font: 600 clamp(28px, 3.4vw, 44px)/1.08 var(--font-display); letter-spacing: -.025em; margin: 0 0 16px; }
.lp h3 { font: 600 20px/1.3 var(--font-display); margin: 0 0 4px; }

/* top */
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; padding-bottom: 8px; }
.lp-logo img { display: block; }
.lp-nav nav { display: flex; align-items: center; gap: 26px; }
.lp-nav nav a:not(.btn) { color: var(--ink-2); font-weight: 500; }
.lp .btn { padding: 10px 18px; font-size: 15px; border-radius: 10px; }

/* hero: words, then the lab across the whole width */
.lp-hero { padding-top: clamp(36px, 7vh, 84px); padding-bottom: 72px; }
.lp-hero h1 { font: 600 clamp(46px, 8.2vw, 116px)/.95 var(--font-display); letter-spacing: -.045em; margin: 0 0 26px; max-width: 11ch; }
.lp-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 54ch; margin: 0 0 28px; }
.lp-lab { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(6px, 1.1vw, 15px); margin-top: clamp(40px, 7vh, 72px); }
.lp-lab i {
  aspect-ratio: 1; border-radius: 24%; background: var(--tile); display: grid; place-items: center; font-style: normal;
  transition: border-radius .55s cubic-bezier(.3, 1.4, .5, 1), background-color .4s, transform .55s cubic-bezier(.3, 1.4, .5, 1);
}
.lp-lab i.off { background: none; box-shadow: inset 0 0 0 clamp(2px, .28vw, 4px) var(--tile); }
.lp-lab i.seen { border-radius: 50%; background: var(--dot); transform: scale(1.1); }
.lp-lab span { opacity: 0; color: var(--dot-ink); font: 600 clamp(8px, .95vw, 13px)/1.2 var(--font-text); text-align: center; transition: opacity .3s .3s; }
.lp-lab span b { display: block; font-variant-numeric: tabular-nums; font-size: 1.15em; }
.lp-lab i.seen span { opacity: 1; }
.lp-key { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 22px 0 0; padding: 0; color: var(--ink-2); font-size: 14.5px; }
.lp-key li { display: flex; align-items: center; gap: 10px; }
.lp-key .k { width: 16px; height: 16px; border-radius: 24%; background: var(--tile); flex: none; }
.lp-key .k.off { background: none; box-shadow: inset 0 0 0 2px var(--tile); }
.lp-key .k.seen { border-radius: 50%; background: var(--dot); }

/* setup: a path of tiles that ends in the dot (the lab is now seen) */
.lp-setup, .lp-questions { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); padding-top: 80px; padding-bottom: 80px; align-items: start; }
.lp-setup { border-top: 1px solid var(--line); }
.lp-side p { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; margin: 0 0 14px; max-width: 38ch; }
.lp-side .lp-after { color: var(--ink); }
.lp-path { list-style: none; margin: 0; padding: 0; position: relative; }
.lp-path::before { content: ""; position: absolute; left: 21px; top: 30px; bottom: 34px; width: 2px; background: var(--tile); opacity: .22; }
.lp-path > li { display: grid; grid-template-columns: 44px 1fr; gap: 24px; padding-bottom: 40px; position: relative; }
.lp-path > li:last-child { padding-bottom: 0; }
.lp-path .n { width: 44px; height: 44px; border-radius: 24%; background: var(--tile); color: #fff; display: grid; place-items: center; font: 600 18px/1 var(--font-display); }
.lp-path .n.dot { border-radius: 50%; background: var(--dot); }
.lp-path h3 { margin-top: 8px; }
.lp-path p { margin: 0 0 12px; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 52ch; }
.lp-path p b { color: var(--ink); }
.lp-addr { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; }
.lp-side .btn { margin-top: 8px; }
.lp-file { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); }
.lp-file i { width: 30px; height: 30px; border-radius: 24%; background: var(--tile); position: relative; flex: none; }
.lp-file i::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--dot); }
.lp-file b { display: block; }
.lp-file small { color: var(--muted); font-size: 12.5px; }
.lp-did { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; max-width: 560px; }
.lp-did li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); font-size: 15.5px; }
.lp-did li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--dot); flex: none; transform: translateY(-1px); }

/* what stays and what travels: outlined = stays put, filled = arrives */
.lp-door { padding-top: 84px; padding-bottom: 84px; border-top: 1px solid var(--line); }
.lp-door h2 { max-width: 16ch; margin-bottom: 34px; }
.lp-flow { display: grid; grid-template-columns: minmax(0, 1fr) clamp(70px, 11vw, 150px) minmax(0, 1.15fr); align-items: stretch; }
.lp-stay, .lp-go { border-radius: 26px; padding: clamp(22px, 3vw, 36px); }
.lp-stay { box-shadow: inset 0 0 0 3px var(--tile); }
.lp-go { background: var(--panel); color: var(--panel-ink); }
.lp-flow ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 16px; line-height: 1.45; }
.lp-stay ul { color: var(--ink-2); }
.lp-go ul { color: var(--panel-soft); }
.lp-wire { position: relative; display: grid; place-items: center; }
/* the arrow sits in the gap between the two panels and touches neither */
.lp-wire::before { content: ""; position: absolute; left: 16px; right: 19px; top: 50%; height: 3px; background: var(--tile); transform: translateY(-50%); }
.lp-wire::after { content: ""; position: absolute; right: 18px; top: 50%; width: 12px; height: 12px; border-top: 3px solid var(--tile); border-right: 3px solid var(--tile); transform: translateY(-50%) rotate(45deg); }
.lp-wire span { position: relative; top: -18px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.lp-foot-note { margin: 26px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.55; max-width: 66ch; }

/* questions */
.lp-questions { border-top: 1px solid var(--line); }
.lp-questions .lp-side { position: sticky; top: 24px; }
.lp-find { display: grid; gap: 6px; margin: 6px 0 22px; max-width: 300px; }
.lp-find span { font-size: 13px; color: var(--muted); font-weight: 600; }
.lp-find .input { padding: 10px 12px; font-size: 15px; width: 100%; }
.lp-groups { display: grid; gap: 8px; justify-items: start; }
.lp-groups a { color: var(--ink-2); font-weight: 500; }
.lp-faq h3 { font: 600 14px/1.3 var(--font-text); color: var(--muted); margin: 36px 0 2px; scroll-margin-top: 20px; }
.lp-faq h3:first-child { margin-top: 0; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; padding: 17px 40px 17px 0; font: 600 18px/1.35 var(--font-display); list-style: none; position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
/* closed: a tile. open: the dot */
.lp-faq summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 13px; height: 13px; border-radius: 24%; background: var(--tile); transition: border-radius .25s, background-color .25s; }
.lp-faq details[open] summary::after { border-radius: 50%; background: var(--dot); }
.lp-faq details p { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 64ch; }
.lp-faq details p b { color: var(--ink); }
.lp-faq code { font: 13.5px Consolas, "Cascadia Mono", monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 5px; }
.lp-none { color: var(--ink-2); padding: 18px 0; }

.lp-end { display: flex; gap: 26px; padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); }
.lp-end a { color: var(--ink-2); font-weight: 500; }

@media (max-width: 900px) {
  .lp-setup, .lp-questions { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-top: 56px; padding-bottom: 56px; }
  .lp-questions .lp-side { position: static; }
  .lp-flow { grid-template-columns: minmax(0, 1fr); }
  .lp-wire { height: 74px; }
  .lp-wire::before { left: 50%; right: auto; top: 14px; bottom: 17px; width: 3px; height: auto; transform: translateX(-50%); }
  .lp-wire::after { right: auto; left: 50%; top: auto; bottom: 16px; transform: translateX(-50%) rotate(135deg); }
  .lp-wire span { top: 0; left: 46px; }
  .lp-nav nav a:not(.btn) { display: none; }
}
@media (max-width: 620px) {
  .lp-wrap { padding-left: 20px; padding-right: 20px; }
  .lp-lab { grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .lp-lab i:nth-child(n+25) { display: none; }
  .lp-lab span { font-size: 10.5px; }
  .lp-did { grid-template-columns: minmax(0, 1fr); }
  .lp-path > li { grid-template-columns: 38px 1fr; gap: 16px; }
  .lp-path .n { width: 38px; height: 38px; }
  .lp-path::before { left: 18px; }
}
