/* SSN Learn launch hub and Library (2026-11-08). Pairs with learn.css, home.css and
   ssn-surface-b.css; uses their palette variables only. */
.lc-sec { margin-top: 56px; scroll-margin-top: 80px; }
.lc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 6px; }
.lc-head .h2 { margin: 0; }
.lc-meta { font-size: .95rem; color: var(--ink-3); }
.lc-sec > .sub { max-width: 62ch; }

/* Icon chip */
.lc-ic { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy-wash); color: var(--navy); }
.lc-ic svg { width: 24px; height: 24px; }
.lc-ic.case { background: var(--red-wash); color: var(--red); }
.lc-ic.sm { width: 34px; height: 34px; border-radius: 10px; }
.lc-ic.sm svg { width: 19px; height: 19px; }

/* Choose how to learn */
.lc-ways { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.lc-way { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lc-way:hover, .lc-way:focus-visible { border-color: var(--navy); box-shadow: 0 10px 24px rgba(3, 32, 47, .08); transform: translateY(-2px); outline: none; }
.lc-way .t { font-weight: 700; font-size: 1.06rem; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.lc-way .t i { font-style: normal; color: var(--red); transition: transform .15s; }
.lc-way:hover .t i { transform: translateX(3px); }
.lc-way .b { font-size: .95rem; color: var(--ink-3); line-height: 1.45; }

/* Module path: a numbered rail, each stop a lesson and its case study */
.lc-path { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; position: relative; }
.lc-stop { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; }
.lc-stop::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: -16px; width: 2px; background: var(--navy-tint); }
.lc-stop:last-child::before { display: none; }
.lc-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.6rem; line-height: 1; position: relative; z-index: 1; }
.lc-pair { display: grid; grid-template-columns: 1fr 28px 1fr; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.lc-join { display: grid; place-items: center; color: var(--navy-3); }
.lc-join svg { width: 20px; height: 20px; }

/* Item card (hub pair halves and Library cards) */
.lc-card { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: inherit; border-radius: 12px; padding: 14px; transition: background .15s, box-shadow .15s; min-width: 0; }
.lc-card:hover, .lc-card:focus-visible { background: var(--navy-wash); outline: none; box-shadow: 0 0 0 2px var(--navy); }
.lc-card .body { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.lc-card .k { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.lc-card .t { font-weight: 700; font-size: 1.06rem; line-height: 1.3; color: var(--navy); }
.lc-card .lc-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 2px; }
.lc-set { font-size: .85rem; color: var(--ink-3); }
.lc-tier { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: #fff; color: var(--navy); border: 1.5px solid var(--navy-tint); }
.lc-tier svg { width: 13px; height: 13px; }
.lc-tier.free { background: var(--navy-wash); color: var(--navy); }
.lc-tier.lock { background: var(--navy); color: #fff; border-color: var(--navy); }
/* Progress (Adam, 2026-11-10): brand navy only, never green. */
.lc-done { display: inline-flex; align-items: center; gap: 5px; font-size: .8rem; font-weight: 700; padding: 2px 10px 2px 8px; border-radius: 999px; background: var(--navy); color: #fff; border: 1.5px solid var(--navy); }
.lc-done svg { width: 13px; height: 13px; }
.lc-card.is-done .lc-ic { box-shadow: inset 0 0 0 2px currentColor; }
.lc-num.done svg { width: 22px; height: 22px; }
.lc-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 0; color: var(--navy); }
.lc-progress .lbl { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lc-progress .bar { flex: 1 1 140px; max-width: 280px; height: 8px; border-radius: 999px; background: var(--navy-tint); overflow: hidden; }
.lc-progress .bar i { display: block; height: 100%; background: var(--navy); border-radius: inherit; transition: width .4s ease; }
.lc-progress .n { font-size: .95rem; font-weight: 600; }

/* Coming soon */
.lc-soon { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; background: #fff; border: 1.5px dashed var(--navy-tint); border-radius: 16px; padding: 20px; }
.lc-soon .t { flex: 1 1 220px; font-family: "Bebas Neue", Impact, sans-serif; font-size: 2rem; line-height: 1; color: var(--navy); letter-spacing: .02em; }
.lc-pill { display: inline-block; font-family: "Bebas Neue", Impact, sans-serif; font-size: 1.15rem; letter-spacing: .06em; background: var(--navy); color: #fff; border-radius: 6px; padding: 4px 12px; }

/* Library */
.lc-crumb { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-3); padding-top: 26px; }
.lc-crumb a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--navy-tint); }
.lc-lib-h { padding: 18px 0 6px; }
.lc-lib-h h1 { font-size: clamp(2.6rem, 7vw, 4.2rem); margin: 10px 0 10px; }
.lc-lib-h .lede { color: var(--ink-2); max-width: 56ch; margin: 0; font-size: 1.06rem; }
.lc-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 26px 0 8px; }
.lc-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.lc-tabs button { font: inherit; font-weight: 700; font-size: .95rem; color: var(--navy); background: none; border: 0; border-radius: 9px; padding: 9px 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.lc-tabs button svg { width: 17px; height: 17px; }
.lc-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.lc-tabs button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.lc-tabs .n { font-weight: 600; font-size: .8rem; opacity: .7; }
.lc-find { flex: 1 1 240px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.lc-find:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.lc-grid .lc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.lc-grid .lc-card:hover, .lc-grid .lc-card:focus-visible { background: #fff; box-shadow: 0 10px 24px rgba(3, 32, 47, .08); border-color: var(--navy); }
.lc-topic { margin-top: 30px; }
.lc-topic h2 { display: flex; align-items: center; gap: 12px; font-family: "Bebas Neue", Impact, sans-serif; font-weight: 400; font-size: 1.9rem; line-height: 1; color: var(--navy); margin: 0; }
.lc-topic h2 .n { font-family: Geist, system-ui, sans-serif; font-size: .9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.lc-tchips { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-tchip { font-size: .8rem; font-weight: 600; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.lc-empty { margin-top: 18px; background: #fff; border: 1px dashed var(--line); border-radius: 16px; padding: 28px; text-align: center; color: var(--ink-3); }
.lc-after { margin: 40px 0 70px; }

/* Entrance */
@media (prefers-reduced-motion: no-preference) {
  .lc-rise { animation: lcRise .45s cubic-bezier(.2, .8, .2, 1) both; }
  .lc-path .lc-stop { animation: lcRise .5s cubic-bezier(.2, .8, .2, 1) both; }
  .lc-path .lc-stop:nth-child(2) { animation-delay: .06s; }
  .lc-path .lc-stop:nth-child(3) { animation-delay: .12s; }
  .lc-path .lc-stop:nth-child(4) { animation-delay: .18s; }
  @keyframes lcRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .lc-way, .lc-card, .lc-way .t i { transition: none; } .lc-way:hover { transform: none; } }

@media (max-width: 900px) { .lc-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .lc-pair { grid-template-columns: 1fr; padding: 8px; }
  .lc-join { transform: rotate(90deg); height: 22px; }
  .lc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .lc-ways { grid-template-columns: 1fr; gap: 10px; }
  .lc-way { flex-direction: row; align-items: center; padding: 14px 16px; }
  .lc-way .b { display: none; }
  .lc-stop { grid-template-columns: 36px 1fr; gap: 10px; }
  .lc-num { width: 36px; height: 36px; font-size: 1.3rem; }
  .lc-stop::before { left: 17px; top: 36px; }
  .lc-card { padding: 10px; gap: 12px; }
  .lc-tabs { width: 100%; }
  .lc-tabs button { flex: 1 1 auto; justify-content: center; padding: 9px 8px; }
}
