/* Start From Zero: the lesson pages, on top of the website's own styles (site.css), with its colors and type. */
.sz { max-width: 1240px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) var(--g) clamp(56px, 8vw, 110px); display: grid; gap: clamp(24px, 3vw, 40px); }
.sz h1 { margin: 0; font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; max-width: 18ch; }
.sz-dek { margin: 0; max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.sz-top { display: grid; gap: 16px; }
.sz-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--ink-2); }
.sz-crumbs a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sz-crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.sw-links .sz-on { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* the index: an editorial list of the ten series */
.sz-index { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); }
.sz-row { display: grid; grid-template-columns: clamp(56px, 8vw, 120px) minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); }
.sz-n { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sz-row h2 { margin: 0 0 6px; font-size: var(--fs-2); letter-spacing: -.03em; line-height: 1.15; }
.sz-row h2 a { color: inherit; text-decoration: none; }
.sz-row h2 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sz-row p { margin: 0 0 8px; max-width: 64ch; color: var(--ink-2); line-height: 1.5; }
.sz-row small { color: var(--ink-2); font-size: 14px; }

/* a series: its ten lessons */
.sz-list { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid var(--ink); max-width: 860px; }
.sz-list li { border-bottom: 1px solid var(--line); }
.sz-list a, .sz-list .sz-soon { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 16px 0; color: inherit; text-decoration: none; }
.sz-list a b, .sz-list .sz-soon b { font-weight: 600; font-size: 17px; line-height: 1.35; }
.sz-list a:hover b { text-decoration: underline; text-underline-offset: 4px; }
.sz-list .ic { width: 20px; height: 20px; }
.sz-k { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sz-soon { color: var(--ink-2); }
.sz-soon small { font-size: 13px; }

/* a lesson: the text column and the series beside it */
.sz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 64px); align-items: start; }
.sz-lesson { display: grid; gap: clamp(24px, 3vw, 36px); min-width: 0; max-width: 760px; }
.sz-head { display: grid; gap: 14px; }
.sz-meta { margin: 0; font-size: 14px; color: var(--ink-2); }
.sz-video { margin: 0; display: grid; gap: 8px; }
.sz-video video { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 16px; background: var(--soft); display: block; }
.sz-video figcaption { font-size: 14px; color: var(--ink-2); }
.sz-body { font-size: 18px; line-height: 1.65; }
.sz-body > * + * { margin-top: 1em; }
.sz-body h2 { margin-top: 2em; font-size: var(--fs-2); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
.sz-body h3 { margin-top: 1.6em; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.sz-body h2 + *, .sz-body h3 + * { margin-top: .5em; }
.sz-body p, .sz-body li { max-width: 68ch; }
.sz-body ul, .sz-body ol { padding-left: 1.2em; display: grid; gap: .5em; }
.sz-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.sz-body .sz-lead { font-size: 20px; line-height: 1.55; }
.sz-body figure { margin: 1.6em 0; display: grid; gap: 10px; }
.sz-body figure img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); }
.sz-body figcaption { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.sz-faq h3 { margin-top: 1.4em; }
.sz-cta { display: grid; gap: 12px; padding: clamp(22px, 3vw, 34px); border-radius: 20px; background: var(--lilac); color: var(--on); }
.sz-cta .btn:not(.ghost) { background: var(--on); color: #fff; }
.sz-cta h2 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1.15; }
.sz-cta p { margin: 0; max-width: 56ch; line-height: 1.5; }
.sz-cta-a { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.sz .btn, .sz-foot .btn, .sw-nav .btn, .sw-nav .icon-btn, .sw-nav .sw-lang { border-radius: 6px; }
.sz-cta .btn.ghost { background: transparent; color: var(--on); box-shadow: inset 0 0 0 1.5px var(--on); }
/* the buttons to keep going: the next lesson or series on the right, the one before on the left */
.sz-pn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sz-btn { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 18px; border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color .2s, color .2s; }
.sz-btn span { min-width: 0; }
.sz-btn small { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 500; opacity: .75; }
.sz-btn .ic { width: 22px; height: 22px; flex: none; }
.sz-btn:hover { background: var(--soft); }
.sz-btn.next { grid-column: 2; justify-content: space-between; text-align: right; background: var(--ink); color: var(--bg); box-shadow: none; }
.sz-btn.next:hover { background: var(--ink-2); }
.sz-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sz-begin { margin: 6px 0 0; }
.sz-list + .sz-pn { max-width: 860px; }
.sz-side { position: sticky; top: 88px; display: grid; gap: 12px; }
.sz-side h2 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.sz-side ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sz-side li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.35; }
.sz-side li a { display: contents; color: inherit; text-decoration: none; }
.sz-side li a:hover { text-decoration: underline; }
.sz-side li[aria-current] { font-weight: 700; }
.sz-side .sz-soon { color: var(--ink-2); }
.sz-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 6px; background: var(--soft); font-size: 11.5px; font-weight: 600; color: var(--ink-2); vertical-align: 1px; white-space: nowrap; }
.sz-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; max-width: 1240px; margin: 0 auto; padding: 22px var(--g) 40px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.sz-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.sz-foot a { color: inherit; }
.sz-foot a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .sz-grid { grid-template-columns: 1fr; }
  .sz-side { position: static; }
}
@media (max-width: 560px) {
  .sz-body { font-size: 17px; }
  .sz-pn { grid-template-columns: 1fr; }
  .sz-btn.next { grid-column: auto; order: -1; }
}

/* ---- the whole row of a lesson in the series list is its link */
.sz-side li:has(> a) { padding: 0; }
.sz-side li > a { display: grid; grid-column: 1 / -1; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: center; min-height: 44px; padding: 9px 0; }
/* touch screens: links and buttons at least 44 px tall */
@media (pointer: coarse) {
  .sz-crumbs a, .sz-foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .sz-crumbs, .sz-foot nav { row-gap: 0; }
  .sz .btn, .sw-nav .btn { min-height: 44px; }
  .sw-nav .icon-btn, .sw-nav .sw-lang { min-width: 44px; min-height: 44px; }
}

/* ---- the line that closes each lesson (a band repeated on every lesson is gone, by Eliana's rule) */
.sz-go { margin: clamp(32px, 4vw, 52px) 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-3); font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.sz-go a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.sz-go .ic { width: 18px; height: 18px; }
/* a plain document, such as a legal page */
.sz-doc { max-width: 760px; }

/* ---- the sections for sellers and agencies: the same frame as the lessons, and the list of what hangs from each one */
.hub-list { display: grid; gap: 18px; margin-top: clamp(20px, 3vw, 36px); }
.hub-list > h2 { margin: 0; font-size: var(--fs-1); letter-spacing: -.04em; line-height: 1.05; text-wrap: balance; }
.sz-row h3 { margin: 0 0 6px; font-size: var(--fs-2); letter-spacing: -.03em; line-height: 1.15; }
.sz-row h3 a { color: inherit; text-decoration: none; }
.sz-row h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sz-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.sz-body th, .sz-body td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sz-body th { font-weight: 600; border-bottom: 1.5px solid var(--ink); }
.sz-table { overflow-x: auto; }
