* {
  box-sizing: border-box;
}
:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #23212b;
  background: #f8f7fa;
  font-synthesis: none;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button,
a,
select,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a386ec;
  outline-offset: 4px;
}
header {
  height: 84px;
  border-bottom: 1px solid #e9e6ee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 20px);
  background: #fff;
}
.brand {
  font-weight: 850;
  font-size: 27px;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: #77717f;
  padding-left: 24px;
  border-left: 1px solid #ded9e4;
}
.app-link {
  font-size: 13px;
  font-weight: 600;
}
main {
  max-width: 1480px;
  margin: auto;
  padding: 0 max(4vw, 20px);
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 74px 0 58px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: #7954b9;
}
h1 {
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.07;
  letter-spacing: -2.7px;
  margin: 20px 0;
}
h1 span {
  color: #8359bd;
}
.lead {
  max-width: 510px;
  color: #746d7c;
  line-height: 1.75;
  font-size: 15px;
}
.progress {
  background: #fff;
  border: 1px solid #e9e4ed;
  border-radius: 22px;
  padding: 26px 30px;
  min-width: 248px;
  box-shadow: 0 8px 35px #30243c04;
  color: #7a7282;
  font-size: 12px;
}
.dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #5c9a72;
  border-radius: 100%;
  margin-right: 6px;
}
.progress strong {
  display: block;
  font-size: 50px;
  font-weight: 650;
  color: #33273e;
  letter-spacing: -2px;
  margin: 17px 0 2px;
}
.progress small {
  font-size: 22px;
  font-weight: 450;
  color: #c0b4ca;
  letter-spacing: -0.5px;
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  border: 0;
  border-radius: 6px;
  margin-top: 22px;
  overflow: hidden;
}
progress::-webkit-progress-bar {
  background: #f1ebf5;
}
progress::-webkit-progress-value {
  background: #a280cc;
}
progress::-moz-progress-bar {
  background: #a280cc;
}
.toolbar {
  display: flex;
  gap: 12px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e4dfea;
  border-radius: 12px;
  padding: 0 16px;
  flex: 1;
}
.search span {
  font-size: 26px;
  color: #a294b3;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  height: 48px;
  font-size: 13px;
  color: #332a3f;
  outline-offset: 0;
}
input::placeholder {
  color: #a099a9;
}
.select {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #92869f;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.select select {
  height: 30px;
  min-width: 130px;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #4a3d58;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 23px 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  border: 1px solid #e6e0eb;
  padding: 9px 16px;
  border-radius: 100px;
  color: #82718f;
  background: transparent;
  font-size: 12px;
  min-height: 38px;
}
.chip[aria-pressed="true"] {
  background: #30233c;
  border-color: #30233c;
  color: white;
}
#count {
  color: #a093aa;
  font-size: 12px;
  white-space: nowrap;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px 22px;
}
.card {
  text-align: left;
  padding: 0;
  border: 1px solid #e9e3ef;
  border-radius: 17px;
  background: #fff;
  overflow: hidden;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px #30243c0d;
}
.visual {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #e9e4ec;
}
.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge,
.length {
  position: absolute;
  font-size: 10px;
  border-radius: 6px;
  padding: 6px 8px;
  backdrop-filter: blur(12px);
}
.badge {
  top: 12px;
  left: 12px;
  background: #fffffff0;
  color: #435546;
}
.length {
  bottom: 12px;
  right: 12px;
  background: #22172f99;
  color: #fff;
}
.play-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 42px;
  color: #fff;
  text-shadow: 0 1px 12px #0009;
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover .play-icon,
.card:focus-visible .play-icon {
  opacity: 1;
}
.card-copy {
  padding: 18px;
}
.category {
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #a18aad;
  font-size: 9px;
  font-weight: 650;
}
.card h2 {
  font-size: 16px;
  font-weight: 650;
  margin: 9px 0;
  letter-spacing: -0.3px;
}
.card p {
  color: #9a8da3;
  font-size: 12px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
}
.empty {
  text-align: center;
  padding: 80px 15px;
  color: #897491;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding: 65px 0 45px;
  margin-top: 50px;
  border-top: 1px solid #e4deea;
}
.how span {
  font-size: 11px;
  color: #a28db4;
}
.how h2 {
  font-size: 17px;
  letter-spacing: -0.3px;
  margin: 13px 0 9px;
}
.how p,
footer {
  font-size: 12px;
  color: #96899e;
  line-height: 1.7;
}
.how p {
  max-width: 320px;
}
footer {
  padding: 25px 0 35px;
  border-top: 1px solid #e4deea;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
footer p {
  max-width: 600px;
  margin: 0;
}
footer span {
  white-space: nowrap;
}
dialog {
  border: 0;
  border-radius: 22px;
  width: min(950px, calc(100% - 28px));
  max-height: 94dvh;
  padding: 0;
  box-shadow: 0 35px 120px #140a2a55;
  color: #32253e;
}
dialog::backdrop {
  background: #1c132eb3;
  backdrop-filter: blur(6px);
}
.dialog-inner {
  padding: 30px;
}
.close {
  position: absolute;
  right: 18px;
  top: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  background: #f1edf6;
  border-radius: 50%;
  font-size: 26px;
  color: #746080;
}
dialog h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 10px 45px 10px 0;
}
.muted {
  font-size: 13px;
  color: #97879e;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 18px;
}
figure {
  margin: 0;
  min-width: 0;
}
figcaption {
  font-size: 12px;
  margin-bottom: 9px;
  color: #8a7996;
}
video {
  width: 100%;
  height: min(48vh, 450px);
  object-fit: contain;
  background: #17121e;
  border-radius: 12px;
  display: block;
}
.play-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #8c7998;
}
.play-controls select {
  border: 1px solid #e5dced;
  border-radius: 6px;
  padding: 8px;
  background: white;
}
.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  padding: 13px 17px;
  font-size: 12px;
  font-weight: 650;
  min-height: 44px;
}
.primary {
  background: #8257b7;
  color: white;
  border: 0;
}
.secondary {
  background: #f6f2fa;
  color: #725189;
  border: 1px solid #e9e0ef;
}
details {
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.7;
  color: #8c7998;
}
summary {
  cursor: pointer;
  color: #5d466f;
  padding: 10px 0;
}
details p {
  max-width: 780px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #ebe3f0;
  margin-top: 20px;
  padding-top: 22px;
}
.dialog-actions span {
  font-size: 11px;
  color: #9e8da9;
}
.modal-open {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1450px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .intro {
    padding-top: 50px;
  }
  .progress {
    min-width: 210px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
}
@media (max-width: 700px) {
  header {
    height: 70px;
  }
  .brand {
    font-size: 23px;
    gap: 12px;
  }
  .brand span {
    padding-left: 12px;
    font-size: 11px;
  }
  .app-link {
    font-size: 11px;
  }
  .intro {
    display: block;
    padding: 35px 0;
  }
  .lead {
    font-size: 13px;
  }
  .progress {
    margin-top: 25px;
    padding: 17px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px;
  }
  .progress .dot {
    display: none;
  }
  .progress strong {
    grid-column: 2;
    grid-row: 1/4;
    margin: 0;
    font-size: 35px;
  }
  .progress > span {
    grid-column: 1;
  }
  .progress progress {
    margin-top: 8px;
    width: 90%;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .select {
    flex: 1;
  }
  .filter-row {
    display: block;
  }
  .chips {
    gap: 7px;
  }
  #count {
    display: block;
    margin-top: 15px;
  }
  .chip {
    padding: 8px 13px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 12px;
  }
  .card-copy {
    padding: 13px;
  }
  .card h2 {
    font-size: 14px;
  }
  .card p {
    font-size: 11px;
  }
  .badge {
    font-size: 8px;
    top: 8px;
    left: 8px;
  }
  .how {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 35px 0;
    margin-top: 35px;
  }
  .how p {
    max-width: none;
  }
  footer {
    display: block;
    font-size: 11px;
  }
  footer p {
    margin-top: 10px;
  }
  .dialog-inner {
    padding: 20px 14px;
  }
  .comparison {
    gap: 10px;
  }
  video {
    height: 32vh;
  }
  .dialog-actions {
    gap: 9px;
  }
  .primary,
  .secondary {
    font-size: 11px;
    padding: 11px 13px;
  }
  .play-controls {
    gap: 10px;
  }
  dialog h2 {
    font-size: 24px;
  }
  .comparison figcaption {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
