@font-face {
  font-family: Inter;
  src: url('assets/fonts/inter-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b0b0f;
  --tint: #15121f;
  --surface: #1a1824;
  --surface-deep: #131219;
  --line: #2a2833;
  --white: #f5f5f7;
  --muted: #8e8e93;
  --quiet: #636366;
  --orange: #ff9f0a;
  --gold: #f4b63f;
  --green: #30d158;
  --red: #ff453a;
  --radius: 17px;
  --max: 1200px;
  font-family: Inter,sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  line-height: 1.52;
}

button,input,textarea,select {
  font: inherit;
}

button,a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

p {
  margin: 0 0 15px;
}

h1,h2,h3 {
  line-height: 1.12;
  letter-spacing: -.045em;
  margin: 0 0 18px;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.8rem,7vw,5.2rem);
}

h2 {
  font-size: clamp(1.9rem,4vw,3rem);
}

h3 {
  font-size: 1.2rem;
  letter-spacing: -.025em;
}

small,.smalltext {
  font-size: .81rem;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  z-index: 1000;
  left: 8px;
  top: 8px;
  background: var(--orange);
  color: var(--ink);
  padding: 12px;
}

#main {
  min-height: 65vh;
}

.app {
  overflow: hidden;
}












.btn.primary:hover {
  background: var(--gold);
  border-color: var(--gold);
}



.previewbar {
  max-width: none;
  min-height: 38px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
  color: var(--white);
  font-size: .73rem;
  flex-wrap: wrap;
}

.previewbar strong {
  font-weight: 800;
}

.previewbar a {
  color: var(--gold);
  text-decoration: underline;
}

.pulse {
  display: inline-block;
  background: var(--gold);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 70px 22px;
}

.section.tight {
  padding-top: 35px;
  padding-bottom: 35px;
}

.eyebrow {
  color: var(--orange);
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .085em;
  margin-bottom: 16px;
}

.lede {
  color: var(--white);
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.muted {
  color: var(--muted);
}

.dim {
  color: var(--muted);
}

.label {
  color: var(--muted);
  font-size: .72rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .085em;
}

.hero {
  padding-top: 75px;
  padding-bottom: 52px;
  position: relative;
}

.hero:after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 80% 0%,var(--tint),transparent 65%);
  pointer-events: none;
}

.hero h1 {
  max-width: 780px;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero .lede {
  margin-bottom: 30px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 16px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  color: var(--white);
  font-weight: 710;
  font-size: .84rem;
}

.btn:hover {
  background: var(--line);
}

.btn.primary {
  background: var(--orange);
  color: var(--ink);
  border-color: var(--orange);
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  font-size: .74rem;
  padding: 8px 12px;
  min-height: 34px;
}

.btn.plain {
  background: transparent;
  border: none;
  padding: 8px;
  color: var(--orange);
}

.btn[aria-pressed=true] {
  background: var(--line);
  border-color: var(--orange);
  color: var(--gold);
}

.statsstrip {
  display: flex;
  gap: 0;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 37px;
  overflow: hidden;
}

.statsstrip>div {
  flex: 1;
  min-width: 0;
  padding: 18px 21px;
  border-right: 1px solid var(--line);
}

.statsstrip>div:last-child {
  border-right: 0;
}

.statnum {
  font-size: 1.37rem;
  font-weight: 810;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.statlabel {
  font-size: .74rem;
  color: var(--muted);
  margin-top: 5px;
}

.statnote {
  font-size: .7rem;
  color: var(--muted);
  margin-top: 7px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.grid.three {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

.grid.four {
  grid-template-columns: repeat(4,minmax(0,1fr));
}

.card {
  background: linear-gradient(145deg,var(--surface),var(--surface-deep));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.card:hover.cardlink {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.cardlink {
  display: block;
  transition: transform .17s,border-color .17s;
}

.card p {
  color: var(--white);
  font-size: .9rem;
  line-height: 1.6;
}

.card h3 {
  margin-bottom: 9px;
}

.accentline {
  height: 3px;
  width: 40px;
  border-radius: 3px;
  background: var(--orange);
  margin: 12px 0 17px;
}

.card-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--white);
  padding: 4px 9px;
  border-radius: 99px;
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.pill.orange {
  color: var(--gold);
}

.pill.green {
  color: var(--green);
}

.pill.blue {
  color: var(--white);
}

.pill.red {
  color: var(--red);
}

.cardfoot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .77rem;
  color: var(--orange);
  font-weight: 730;
  margin-top: 20px;
  gap: 8px;
}

.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.sectionhead h2 {
  margin: 0;
}

.sectionhead .muted {
  font-size: .9rem;
}

.featurecard {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.featurecard h3 {
  font-size: 1.9rem;
}

.featurecard p {
  max-width: 520px;
}

.visual {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  line-height: 1;
  color: var(--orange);
  border-radius: 14px;
  background: linear-gradient(135deg,var(--tint),var(--surface-deep));
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

.visual:after {
  content: '';
  width: 180px;
  height: 180px;
  border-radius: 50%;
  position: absolute;
  right: -50px;
  top: -70px;
  border: 22px solid var(--line);
}

.visual b {
  font-size: 4rem;
  letter-spacing: -.09em;
}

.visual small {
  position: absolute;
  left: 15px;
  bottom: 15px;
  letter-spacing: .085em;
  font-size: .67rem;
  font-weight: 600;
  color: var(--gold);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.filter {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .79rem;
  font-weight: 740;
}

.filter[aria-pressed=true],.filter:hover {
  background: var(--tint);
  border-color: var(--orange);
  color: var(--gold);
}

.formrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  min-width: 140px;
}

.field label {
  font-size: .78rem;
  color: var(--white);
  font-weight: 730;
}

.field input,.field select,.field textarea {
  width: 100%;
  padding: 13px 13px;
  background: var(--surface);
  border: 1px solid var(--quiet);
  border-radius: 10px;
  color: var(--white);
  font-size: .88rem;
}

.field textarea {
  min-height: 105px;
  resize: vertical;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 27px 0;
}

.subtlepanel {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 25px;
  align-items: stretch;
}

.callout {
  border: 1px solid var(--line);
  background: var(--tint);
  border-radius: 15px;
  padding: 23px;
}

.callout p {
  font-size: .87rem;
  color: var(--white);
}

.latestcard {
  display: flex;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  align-items: start;
  min-width: 0;
}

.latestcard:hover {
  border-color: var(--orange);
}

.latesticon {
  width: 38px;
  height: 38px;
  background: var(--tint);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.latestcard h3 {
  font-size: .91rem;
  line-height: 1.35;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

.latestcard p {
  font-size: .73rem;
  color: var(--muted);
  margin: 0;
}

.tagline {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--orange);
  font-size: .77rem;
  font-weight: 800;
}

.progressbar {
  background: var(--line);
  border-radius: 9px;
  height: 8px;
  overflow: hidden;
  margin: 9px 0;
}

.progressbar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,var(--orange),var(--gold));
  border-radius: 9px;
}

.quiz {
  max-width: 760px;
}

.quiz-choice {
  display: flex;
  gap: 14px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--surface);
  text-align: left;
  width: 100%;
  color: var(--white);
  font-size: .92rem;
  margin-top: 11px;
}

.quiz-choice:hover {
  border-color: var(--orange);
}

.quiz-choice.correct {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
}

.quiz-choice.wrong {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red) 12%, var(--surface));
}

.quiz-choice .letter {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--line);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-weight: 850;
  color: var(--white);
}

.kbdhint {
  font-size: .78rem;
  color: var(--muted);
}

.quizfeedback {
  margin: 16px 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--line);
}

.illustration {
  font-size: 5rem;
  text-align: center;
  min-height: 200px;
  display: grid;
  place-items: center;
  background: var(--tint);
}

.badgegrid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  min-width: 170px;
}

.achievement.locked {
  opacity: .54;
}

.achievement .symbol {
  font-size: 1.45rem;
}

.achievement strong {
  font-size: .85rem;
}

.achievement small {
  color: var(--muted);
  display: block;
}

.empty {
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: var(--tint);
  color: var(--white);
}

.linklist {
  display: grid;
  gap: 12px;
}

.linkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 17px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.linkrow:hover {
  border-color: var(--orange);
}

.linkrow b {
  font-size: .91rem;
}

.linkrow small {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 42px max(22px,calc((100vw - var(--max))/2));
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 25px;
}

.footbrand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 19px;
}

.footbrand p {
  font-size: .875rem;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

.footlinks {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: end;
  align-items: center;
  font-size: .78rem;
  color: var(--white);
  font-weight: 600;
}

.footlinks a:hover {
  color: var(--orange);
}

.footfine {
  grid-column: 1/-1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.8;
  font-weight: 600;
}

.dialogback {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--ink) 85%, transparent);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 25px;
  backdrop-filter: blur(6px);
}

.dialogback[hidden] {
  display: none;
}

.searchdialog {
  width: min(690px,100%);
  background: var(--surface);
  border: 1px solid var(--quiet);
  border-radius: 17px;
  box-shadow: 0 30px 80px color-mix(in srgb, var(--ink) 75%, transparent);
  overflow: hidden;
}

.searchinputrow {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.searchinputrow>span {
  color: var(--orange);
  font-size: 1.55rem;
}

.searchinputrow input {
  background: transparent;
  border: 0;
  color: var(--white);
  outline: none;
  font-size: 1rem;
  flex: 1;
  min-width: 0;
}

.searchinputrow button {
  border: 1px solid var(--quiet);
  background: var(--surface);
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 6px;
  font-size: .72rem;
}

.searchdialog .filters {
  margin: 12px 17px;
  gap: 6px;
}

.searchresults {
  max-height: 48vh;
  overflow: auto;
  padding: 4px 16px 16px;
}

.searchresult {
  display: block;
  border-radius: 11px;
  padding: 11px 13px;
  border: 1px solid transparent;
}

.searchresult:hover,.searchresult:focus {
  background: var(--surface);
  border-color: var(--line);
}

.searchresult b {
  display: block;
  font-size: .89rem;
}

.searchresult span {
  color: var(--muted);
  font-size: .75rem;
}

.dialogfoot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  padding: 10px 18px;
}

.dialogfoot kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--white);
  padding: 12px 18px;
  box-shadow: 0 8px 28px color-mix(in srgb, var(--ink) 70%, transparent);
  border: 1px solid var(--line);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: .23s;
}

.toast.show {
  opacity: 1;
  transform: none;
}

.sessionmetrics {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}

.sessionmetrics .card {
  padding: 19px;
}

.sessionmetrics strong {
  font-size: 1.5rem;
  display: block;
}

.sessionmetrics span {
  color: var(--muted);
  font-size: .75rem;
}

.readmore {
  color: var(--orange);
  font-weight: 730;
  font-size: .84rem;
}

.notice {
  border-left: 3px solid var(--gold);
  padding: 12px 17px;
  background: var(--tint);
  color: var(--white);
  border-radius: 0 9px 9px 0;
  font-size: .82rem;
}

.chart-bars {
  height: 150px;
  display: flex;
  gap: 11px;
  align-items: end;
  padding: 18px 0 0;
}

.chart-bars>div {
  background: var(--orange);
  border-radius: 7px 7px 2px 2px;
  flex: 1;
  min-width: 0;
  max-width: 55px;
  position: relative;
}

.chart-bars>div span {
  position: absolute;
  bottom: -24px;
  text-align: center;
  left: -10px;
  right: -10px;
  font-size: .68rem;
  color: var(--muted);
}

.reviewline {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
  font-size: .77rem;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}

.reviewline strong {
  font-size: .84rem;
}

.reviewline.header {
  color: var(--muted);
  font-weight: 780;
}

.two-col-text {
  column-count: 2;
  column-gap: 25px;
}

.hide {
  display: none!important;
}



@media(max-width:995px) {






  .section {
    padding: 54px 21px;
  }

  .grid.four {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .split {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 35px 22px;
  }

  .statsstrip {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .statsstrip>div {
    border-bottom: 1px solid var(--line);
  }

  .statsstrip>div:nth-child(even) {
    border-right: 0;
  }



}

@media(max-width:610px) {







  .section {
    padding: 43px 17px;
  }

  .hero {
    padding-top: 47px;
  }

  .grid.three,.grid.two,.grid.four {
    grid-template-columns: 1fr;
  }

  .sectionhead {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }

  .statsstrip>div {
    padding: 13px;
  }

  .statnum {
    font-size: 1.22rem;
  }

  .card {
    padding: 18px;
  }

  .previewbar {
    font-size: .67rem;
  }

  .footer {
    grid-template-columns: 1fr;
    padding: 32px 19px;
  }

  .footlinks {
    justify-content: start;
  }

  .split {
    gap: 14px;
  }

  .sessionmetrics {
    grid-template-columns: repeat(2,1fr);
  }

  .formrow {
    flex-direction: column;
  }

  .field {
    min-width: 100%;
  }

  .two-col-text {
    column-count: 1;
  }

}



@media(prefers-reduced-motion:reduce) {

  *,*::before,*::after {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }

}

.footbrand .brand-logo { display: block; width: auto; height: 40px; }
@media (max-width: 610px) {
  .footbrand .brand-logo { height: 34px; }
}

@media (min-width: 1241px) {
  .grid.home-topics { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* A single compact filter on touch-sized layouts, full chips on desktop. */
#search-filters .pb-search-desktop{display:flex;flex-wrap:wrap;gap:.375rem}
#search-filters .pb-search-mobile{display:none}
#search-results .pb-search-suggestions{display:flex;flex-wrap:wrap;gap:.4rem .8rem;justify-content:center}
#search-results .pb-search-suggestions a,
#search-results .pb-search-empty button{color:#ffba72;font:inherit;text-decoration:underline;background:none;border:0;padding:.3rem;cursor:pointer}
@media(max-width:610px),(max-height:520px){
  #search-layer{padding:max(.5rem,env(safe-area-inset-top)) .5rem .5rem}
  #search-layer :is(.searchdialog,.pb-se-dialog){display:flex;flex-direction:column;max-height:calc(100dvh - max(.5rem,env(safe-area-inset-top)) - .5rem)}
  #search-layer :is(.searchinputrow,.pb-se-inputrow){padding:.5rem .75rem;flex:none}
  #search-layer #close-search{min-height:44px;min-width:50px}
  #search-filters{flex:none;margin:0;padding:.25rem .8rem}
  #search-filters .pb-search-desktop{display:none}
  #search-filters .pb-search-mobile{display:flex;align-items:center;gap:.6rem;width:100%;font-size:.875rem}
  #search-filters .pb-search-mobile select{flex:auto;min-width:0;min-height:44px;border:1px solid #5a505d;border-radius:.5rem;padding:0 .65rem;background:#131219;color:#f5f5f7;font:inherit}
  #search-results{min-height:0;max-height:none;overscroll-behavior:contain;padding:.25rem .55rem .65rem}
  #search-results :is(.searchresult,.pb-se-result){min-height:44px}
  #search-results .pb-search-suggestions a, #search-results .pb-search-empty button{display:inline-flex;align-items:center;min-height:44px}
  #search-layer :is(.dialogfoot,.pb-se-foot){display:none}
}
