/* The lounge: where a new organisation waits for approval, and the help area afterwards. */
.lg-head { background-color: var(--navy); background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px; color: #fff; padding: 28px 0 30px; }
.lg-head h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; overflow-wrap: anywhere; }
.lg-head p { margin: 10px 0 0; max-width: 46em; color: var(--on-navy); font-size: 15.5px; }
.lg-head .lg-acts { margin-top: 18px; }
.lg-crumbs ol { display: flex; flex-wrap: wrap; gap: 3px 0; list-style: none; margin: 0 0 12px; padding: 0; font: 500 13px/1.4 var(--sans); }
.lg-crumbs li { color: #e3e8f0; overflow-wrap: anywhere; }
.lg-crumbs li + li::before { content: "/"; margin: 0 9px; color: #7f8ba3; }
.lg-crumbs a { color: #b2bcd0; text-decoration: underline; text-decoration-color: rgba(178, 188, 208, .5); text-underline-offset: 3px; }
.lg-crumbs a:hover { color: #fff; text-decoration-color: #fff; }

section.band.lg-first { padding: 30px 0 34px; }
h2.lg-h { font-size: 21px; margin: 0 0 14px; }
.lg-acts { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.lg-first .note { margin: 16px 0 0; max-width: 46em; color: var(--ink2); font-size: 14px; }

/* Where you stand: four steps in a row. Done is filled, the current one is outlined in blue, the rest are quiet. */
.lg-stand { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border: 1px solid #c5cad3; border-radius: 4px;
  box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 14px 28px -18px rgba(16, 36, 74, .35); counter-reset: lg; overflow: hidden; }
.lg-stand li { counter-increment: lg; position: relative; padding: 16px 18px 18px 56px; border-left: 1px solid var(--line); min-width: 0; }
.lg-stand li:first-child { border-left: 0; }
.lg-stand li::before { content: counter(lg); position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 600 13px var(--sans); background: #fff; color: var(--muted); box-shadow: inset 0 0 0 1.5px #b4bac4; }
.lg-stand li.done::before { content: ""; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M7.5 13.4l3.6 3.6 7.4-7.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; box-shadow: none; }
.lg-stand li.now { background: #f4f7fe; box-shadow: inset 0 3px 0 var(--accent); }
.lg-stand li.now::before { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.lg-stand b { display: block; font: 600 15px/1.3 var(--sans); color: var(--ink); }
.lg-stand span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.lg-stand li.next b { color: var(--ink2); font-weight: 500; } .lg-stand li.next span { color: var(--muted); }

.lg-resend { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 18px 0 0; max-width: 620px; }
.lg-resend label { flex: 1 1 320px; } .lg-resend .btn { flex: 0 0 auto; }

/* The demo call: the offer on the left, the card that books it on the right. */
.lg-demo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.lg-demo .intro { margin-bottom: 12px; }
.lg-opt { margin: 0; max-width: 44em; padding-left: 14px; border-left: 3px solid #b4bac4; color: var(--ink2); font-size: 14.5px; }
.lg-card { background: #fff; border: 1px solid #c5cad3; border-top: 3px solid var(--navy); border-radius: 4px; padding: 20px 22px 22px;
  box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 18px 34px -20px rgba(16, 36, 74, .4); }
.lg-card b { display: block; font: 500 19px/1.25 var(--serif); color: var(--ink); }
.lg-card p { margin: 8px 0 0; color: var(--ink2); font-size: 14.5px; } .lg-card p + p { margin-top: 14px; }
.lg-card .note { font-size: 13px; color: var(--muted); }

/* The workspace's own menu, kept on the lounge for someone who is signed in. */
.lg-wsnav { background: #fff; border-bottom: 1px solid #c5cad3; }
.lg-wsnav .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.lg-wsnav a { display: inline-flex; align-items: center; min-height: 46px; font: 500 14px var(--sans); color: var(--ink2); text-decoration: none; border-bottom: 3px solid transparent; border-top: 3px solid transparent; white-space: nowrap; }
.lg-wsnav a:hover { color: var(--accent); }
.lg-wsnav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--navy); }

/* Step by step. A rail down the left carries a node for each step; each step is a card that says where it stands,
   how long it takes, who does it and where, with a button for the step and one that opens its help. */
.lg-ghead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 22px 40px; align-items: end; margin-bottom: 24px; }
.lg-ghead .intro { margin-bottom: 0; }
.lg-prog { background: #fff; border: 1px solid #c5cad3; border-radius: 6px; padding: 14px 16px 15px; box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 16px 30px -20px rgba(16, 36, 74, .4); }
.lg-prog p { margin: 0; font-size: 13.5px; color: var(--ink2); } .lg-prog p b { font: 600 17px var(--sans); color: var(--ink); margin-right: 3px; }
.lg-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin: 10px 0 0; }
.lg-bar i { height: 6px; border-radius: 3px; background: #dfe5f0; }
.lg-bar i.done { background: var(--accent); } .lg-bar i.now { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.lg-prog .lg-nextup { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 12px; font-size: 13.5px; }
.lg-prog .lg-nextup a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 8px 0 12px; border-radius: 16px; background: #eef3fd; color: var(--navy); text-decoration: none; transition: background-color .14s ease, color .14s ease; }
.lg-prog .lg-nextup a b { font: 600 13.5px var(--sans); color: inherit; margin: 0; } .lg-prog .lg-nextup a svg { width: 15px; height: 15px; }
.lg-prog .lg-nextup a:hover { background: var(--navy); color: #fff; }
.lg-nextup span { flex: none; font-size: 12px; font-weight: 600; color: var(--muted); } .lg-nextup a { font-weight: 600; color: var(--accent); }

.lg-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lg-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 18px; align-items: start; }
.lg-step::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: -14px; width: 2px; background: #d3dbea; }
.lg-step.done::before { background: var(--accent); } .lg-step:last-child::before { content: none; }
.lg-node { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink2); font: 600 15px var(--sans); box-shadow: inset 0 0 0 2px #c5cad3; }
.lg-node svg { width: 20px; height: 20px; }
.lg-step.done .lg-node { background: var(--accent); color: #fff; box-shadow: none; }
.lg-step.now .lg-node { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 5px rgba(24, 78, 202, .14); }
.lg-step.locked .lg-node { background: #f1f3f7; color: #7b8494; box-shadow: inset 0 0 0 1.5px #d3d8df; }
.lg-step article { background: #fff; border: 1px solid #c5cad3; border-radius: 6px; padding: 16px 20px 16px; box-shadow: 0 1px 2px rgba(16, 36, 74, .05), 0 14px 26px -20px rgba(16, 36, 74, .35); }
.lg-step.now article { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 2px 4px rgba(16, 36, 74, .06), 0 22px 40px -22px rgba(24, 78, 202, .55); }
.lg-step.locked article { background: #fafbfd; box-shadow: none; }
.lg-st { display: flex; align-items: center; gap: 13px; }
.lg-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; background: #eef3fd; color: var(--navy); }
.lg-ic svg { width: 22px; height: 22px; }
.lg-step.now .lg-ic { background: var(--navy); color: #fff; } .lg-step.locked .lg-ic { background: #eef0f4; color: #7b8494; }
.lg-step .lg-st .lg-no { margin: 0; }
.lg-no { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; font: 600 12.5px/1.3 var(--sans); color: var(--muted); }
.lg-chip { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 10px; font: 600 11.5px/1 var(--sans); background: #eef0f4; color: #525968; }
.lg-step.done .lg-chip { background: #e6eefc; color: #123e9f; } .lg-step.now .lg-chip { background: var(--accent); color: #fff; }
.lg-step h3 { margin: 2px 0 0; font: 500 19px/1.25 var(--serif); letter-spacing: -.005em; color: var(--ink); }
.lg-step.locked h3 { color: var(--ink2); }
.lg-gt { margin: 11px 0 0; max-width: 54em; font-size: 14.5px; line-height: 1.55; color: var(--ink2); }
.lg-meta2 { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 11px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.lg-meta2 li { display: inline-flex; align-items: center; gap: 6px; } .lg-meta2 svg { width: 15px; height: 15px; }
.lg-do { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 14px 0 0; }
.lg-do .btn { min-height: 38px; padding: 0 14px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; } .lg-do .btn svg { width: 16px; height: 16px; }
.lg-how { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 10px 0 8px; border: 0; border-radius: 6px; background: none; font: 600 13.5px var(--sans); color: var(--accent); cursor: pointer; }
.lg-how svg { width: 18px; height: 18px; } .lg-how:hover { background: #eef3fd; } .lg-how:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* A step that is done folds to its heading: the reader's eye goes to the one they are on. */
.lg-step.done .lg-gt, .lg-step.done .lg-meta2 { display: none; } .lg-step.done .lg-do { margin: 0; } .lg-step.done article { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 20px; }
.lg-step.done .lg-ic { width: 38px; height: 38px; } .lg-step.done h3 { font-size: 17px; } .lg-step.done { align-items: center; } .lg-step.done .lg-st { flex: 1 1 300px; min-width: 0; }

/* A word with a line of explanation behind it. It opens on hover and on focus, so it works by keyboard and by touch. */
.lg-term { position: relative; border-bottom: 1.5px dotted #7f95c9; cursor: help; color: var(--ink); font-weight: 500; }
.lg-term:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
.lg-term [role="tooltip"] { position: absolute; left: 50%; bottom: calc(100% + 9px); z-index: 30; width: min(290px, 78vw); transform: translate(-50%, 4px); padding: 10px 12px 11px; border-radius: 6px; background: var(--navy); color: #fff;
  font: 400 13px/1.45 var(--sans); text-align: left; box-shadow: 0 14px 30px -10px rgba(10, 22, 50, .6); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .12s ease, transform .12s ease; }
.lg-term [role="tooltip"]::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy); }
.lg-term:hover [role="tooltip"], .lg-term:focus [role="tooltip"] { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* The help behind a step: a short dialog that does not scroll. */
dialog.lg-dlg { width: min(560px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 8px; overflow: hidden; color: var(--ink); background: #fff; box-shadow: 0 0 0 1px rgba(8, 15, 27, .5), 0 32px 90px rgba(8, 15, 27, .5); }
dialog.lg-dlg::backdrop { background: rgba(10, 18, 31, .64); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.lg-dlg header { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--navy); color: #fff; }
.lg-dlg header > i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .12); } .lg-dlg header > i svg { width: 23px; height: 23px; }
.lg-dlg header p { margin: 0; font: 600 12.5px var(--sans); color: #a9b9da; } .lg-dlg header h3 { margin: 2px 0 0; font: 500 20px/1.25 var(--serif); color: #fff; }
.lg-x { margin-left: auto; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 6px; background: none; color: #c9d2e3; cursor: pointer; } .lg-x svg { width: 15px; height: 15px; }
.lg-x:hover { background: rgba(255, 255, 255, .12); color: #fff; } .lg-x:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.lg-dbody { padding: 18px 22px 6px; }
.lg-dlede { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.lg-dbody dl { margin: 14px 0 0; border-top: 1px solid var(--line); }
.lg-dbody dl div { display: grid; grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr); gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.lg-dbody dt { font: 600 14px/1.4 var(--sans); color: var(--ink); } .lg-dbody dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }
.lg-dlg footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 22px 18px; background: none; color: var(--muted); font-size: 13px; }
.lg-dlg footer > span { display: inline-flex; align-items: center; gap: 6px; } .lg-dlg footer > span svg { width: 15px; height: 15px; }
.lg-dlg footer p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; } .lg-dlg footer em { font-style: normal; color: var(--ink2); }
.lg-dlg footer .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .lg-term [role="tooltip"] { transition: none; } }

/* Decks: three cards, each with its first slide. */
.lg-decks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lg-deck { display: flex; flex-direction: column; background: #fff; border: 1px solid #c5cad3; border-radius: 4px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 18px 34px -20px rgba(16, 36, 74, .4); }
.lg-thumb { display: block; border-bottom: 1px solid #c5cad3; background: var(--navy); aspect-ratio: 16 / 9; overflow: hidden; }
.lg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lg-mini { pointer-events: none; }
.lg-deck h3 { margin: 16px 18px 0; font-size: 18px; } .lg-deck h3 a { color: var(--ink); text-decoration: none; } .lg-deck h3 a:hover { color: var(--accent); }
.lg-deck > p { margin: 6px 18px 0; color: var(--ink2); font-size: 14px; }
.lg-deck > p.lg-meta { color: var(--muted); font-size: 13px; }
.lg-deck > p.lg-acts { margin: auto 18px 18px; padding-top: 16px; }
.lg-deck .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Videos. */
.lg-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lg-video { margin: 0; background: #fff; border: 1px solid #c5cad3; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 18px 34px -20px rgba(16, 36, 74, .4); }
.lg-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy); }
.lg-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding: 11px 16px 12px; font-size: 14px; }
.lg-video figcaption b { font-weight: 600; color: var(--ink); } .lg-video figcaption span { color: var(--muted); font-size: 13px; }
.lg-video.lg-wide { max-width: 880px; margin: 0 auto 26px; }

/* More help: a plain list of links, two columns. */
.lg-sub { margin: 4px 0 18px; color: var(--ink2); font-size: 15px; }
.lg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lg-tile { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 148px; padding: 16px 16px 14px; background: #fff; border: 1px solid #c5cad3; border-radius: 6px; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(16, 36, 74, .05), 0 14px 26px -20px rgba(16, 36, 74, .35); transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.lg-tile > i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; background: #eef3fd; color: var(--navy); transition: background-color .14s ease, color .14s ease; } .lg-tile > i svg { width: 21px; height: 21px; }
.lg-tile > span { display: grid; gap: 4px; padding-right: 6px; } .lg-tile b { font: 600 15.5px/1.3 var(--sans); color: var(--ink); } .lg-tile em { font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.lg-tile > u { position: absolute; right: 14px; top: 18px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #8a93a3; text-decoration: none; transition: background-color .14s ease, color .14s ease, transform .14s ease; } .lg-tile > u svg { width: 16px; height: 16px; }
.lg-tile:hover { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 2px 4px rgba(16, 36, 74, .06), 0 20px 34px -22px rgba(24, 78, 202, .55); transform: translateY(-1px); }
.lg-tile:hover > i { background: var(--navy); color: #fff; } .lg-tile:hover > u { background: var(--accent); color: #fff; transform: translateX(2px); }
.lg-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 1000px) { .lg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lg-tiles { grid-template-columns: 1fr; } .lg-tile { min-height: 0; flex-direction: row; align-items: flex-start; } .lg-tile > span { padding-right: 34px; } }
@media (prefers-reduced-motion: reduce) { .lg-tile, .lg-tile > i, .lg-tile > u { transition: none; } .lg-tile:hover { transform: none; } }

/* One deck, read on the page. */
section.band.lg-read { padding: 30px 0 46px; }
.lg-slides { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.lg-slides .dk-slide { border: 1px solid #c5cad3; border-radius: 4px; box-shadow: 0 1px 2px rgba(16, 36, 74, .06), 0 22px 40px -24px rgba(16, 36, 74, .45); }

@media (max-width: 960px) {
  .lg-stand { grid-template-columns: 1fr 1fr; } .lg-stand li:nth-child(odd) { border-left: 0; } .lg-stand li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lg-demo { grid-template-columns: 1fr; gap: 22px; }
  .lg-ghead { grid-template-columns: 1fr; align-items: start; }
  .lg-decks, .lg-videos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .lg-head { padding: 22px 0 24px; }
  .lg-stand { grid-template-columns: 1fr; } .lg-stand li { border-left: 0; } .lg-stand li + li { border-top: 1px solid var(--line); }
  .lg-decks, .lg-videos { grid-template-columns: 1fr; }
  .lg-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0 12px; } .lg-step::before { left: 16px; top: 34px; } .lg-node { width: 34px; height: 34px; font-size: 13.5px; } .lg-node svg { width: 16px; height: 16px; }
  .lg-step article, .lg-step.done article { padding: 14px 15px; } .lg-step h3 { font-size: 17.5px; } .lg-ic { width: 36px; height: 36px; } .lg-do .btn { flex: 1 1 auto; justify-content: center; }
  .lg-dbody dl div { grid-template-columns: 1fr; gap: 2px; } .lg-dlg header { padding: 15px 16px; } .lg-dbody { padding: 15px 16px 4px; } .lg-dlg footer { padding: 12px 16px 16px; }
  .lg-acts .btn { flex: 1 1 auto; }
}
