:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --studio-blue: #263bc5;
  --studio-ink: #18246d;
  --studio-pale: #e4e9ff;
  --studio-signal: #ffd176;
}
[hidden] {
  display: none !important;
}

.launch {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(25px, 4.6vw, 70px);
  align-items: center;
  padding-block: 34px 22px;
}
.launch-empty {
  grid-template-columns: minmax(0, 1fr);
}
.launch-copy {
  min-width: 0;
}
.launch h1 {
  margin: 0 0 0.22em;
  max-width: 11ch;
  color: #17205a;
  font-family: var(--display);
  font-size: clamp(3.9rem, 5.82vw, 6.9rem);
  font-weight: 790;
  line-height: 0.89;
  letter-spacing: -0.054em;
  text-wrap: pretty;
}
.launch h1 span {
  display: block;
}
.launch-copy > p {
  max-width: 44ch;
  margin-bottom: 23px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}
.launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.launch-actions .button {
  min-height: 48px;
}
.launch-primary {
  background: var(--studio-signal);
  border-color: #f3ba58;
  color: #171b35;
}
.launch-primary:hover {
  background: #ffe0a0;
}
.launch-trust {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
}
.launch-trust .icon {
  color: var(--studio-blue);
}
.theatre {
  min-width: 0;
  border: 1px solid #2235ae;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 25px 36px -29px #1f2d8999;
  background: #f9f8f0;
  align-self: stretch;
}
.theatre-stage {
  position: relative;
  width: 100%;
  isolation: isolate;
  aspect-ratio: 1.73;
  min-height: 305px;
  background: var(--studio-blue);
  overflow: hidden;
  touch-action: pan-y;
}
.studio-art,
.learning-art {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.stage-heading {
  position: absolute;
  top: 14px;
  left: 15px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f6f4ff;
  font-weight: 780;
  font-size: 0.81rem;
}
.stage-heading > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--studio-signal);
}
.theatre-plate {
  position: absolute;
  top: 16%;
  left: 50%;
  display: block;
  width: 43%;
  max-width: 310px;
  text-decoration: none;
  color: #17215c;
  transform-origin: center 65%;
  transition:
    transform 480ms var(--ease-in-out),
    opacity 300ms var(--ease-out);
}
.theatre-plate[data-position="front"] {
  transform: translateX(-50%) rotate(-5deg);
  z-index: 4;
}
.theatre-plate[data-position="right"] {
  transform: translate(2%, 9%) rotate(13deg) scale(0.84);
  z-index: 2;
  opacity: 0.85;
  pointer-events: none;
}
.theatre-plate[data-position="left"] {
  transform: translate(-99%, 9%) rotate(-16deg) scale(0.84);
  z-index: 1;
  opacity: 0.86;
  pointer-events: none;
}
.theatre-plate:focus-visible {
  outline-color: #ffdc7e;
}
.theatre[data-instant] .theatre-plate {
  transition: none;
}
.plate-inner {
  display: block;
  padding: 7px;
  overflow: hidden;
  border: 1px solid #131d75;
  border-radius: 9px 12px 12px 9px;
  border-left-width: 6px;
  background: #fff9ea;
  box-shadow:
    5px 8px 0 #17247d,
    0 23px 28px -18px #10194f;
}
.plate-cover {
  border-radius: 4px 5px 5px 4px;
  aspect-ratio: 1.52;
}
.plate-label {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 9px 4px 3px;
  line-height: 1.14;
}
.plate-label span {
  color: #4f5685;
  font-size: 0.75rem;
  font-weight: 760;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.plate-label strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: var(--display);
  font-weight: 790;
  font-size: clamp(0.98rem, 1.65vw, 1.43rem);
  letter-spacing: -0.035em;
}
.theatre-console {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 67px;
  padding: 9px 12px;
}
.theatre-text {
  min-width: 0;
  flex: 1;
  line-height: 1.25;
}
.theatre-text a {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 0.91rem;
  text-decoration: none;
}
.theatre-text a:hover {
  text-decoration: underline;
}
.theatre-text a .icon {
  color: var(--studio-blue);
}
.theatre-text div > span {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 9px;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.77rem;
}
.theatre-text div > span strong {
  color: var(--studio-ink);
  font-variant-numeric: tabular-nums;
}
.theatre-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}
.theatre-controls .icon-button {
  min-height: 42px;
  width: 42px;
}
.theatre-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.theatre-count strong {
  color: var(--studio-ink);
}

.discovery-rail {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 17px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9f8fb;
}
.launch-search {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fffdfa;
  color: var(--studio-blue);
}
.launch-search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.launch-search > .icon {
  margin-left: 8px;
}
.launch-search input[type="search"] {
  flex: 1;
  min-height: 37px;
  padding-inline: 3px;
  border: 0;
  background: transparent;
}
.launch-search input:focus-visible {
  outline: 0;
}
.launch-search .button {
  min-height: 39px;
}
.ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.ledger a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 43px;
  padding-inline: 3px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}
.ledger a + a {
  border-left: 1px solid var(--line);
}
.ledger a:hover {
  color: var(--studio-ink);
  background: var(--studio-pale);
}
.ledger strong {
  color: var(--studio-ink);
  font-variant-numeric: tabular-nums;
}
.ledger .icon {
  color: var(--studio-blue);
}

.shelf {
  padding-top: clamp(38px, 5vw, 68px);
}
.shelf-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  padding: 3px 2px 5px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.shelf-filters a {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--studio-ink);
  font-size: 0.85rem;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
}
.shelf-filters a:hover {
  border-color: #7c8be8;
  background: var(--studio-pale);
}
.shelf-filters a[aria-current] {
  color: #fff;
  background: var(--studio-blue);
  border-color: var(--studio-blue);
}
[data-shelf-grid] {
  min-height: 190px;
}
.cover img {
  transform-origin: center;
  transition: transform 250ms var(--ease-out);
}

.guide-band {
  background: #e7eaff;
  border-block: 1px solid #ccd3f7;
  color: #17215d;
}
.guide-header {
  margin-bottom: 21px;
}
.guide-header h2 {
  margin-bottom: 6px;
}
.guide-header p {
  color: #4e5989;
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr);
  align-items: start;
  gap: clamp(16px, 5vw, 74px);
}
.guide-board {
  display: flex;
  position: sticky;
  top: 14px;
  align-items: end;
  min-width: 0;
  min-height: 310px;
  aspect-ratio: 1.47;
  overflow: hidden;
  border: 1px solid #8998e4;
  border-radius: 11px;
  background: #d8e2fd;
}
.learning-art [data-scene] {
  opacity: 0;
  transform: translateY(9px) scale(0.98);
  transform-origin: center;
  transition:
    opacity 250ms var(--ease-out),
    transform 300ms var(--ease-out);
}
.guide-board[data-active="0"] [data-scene="0"],
.guide-board[data-active="1"] [data-scene="1"],
.guide-board[data-active="2"] [data-scene="2"] {
  opacity: 1;
  transform: none;
}
.guide-board[data-instant] [data-scene] {
  transition: none;
}
.guide-board-caption {
  z-index: 1;
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 9px;
  padding: 5px 8px;
  border-radius: 5px;
  background: #fcf8e8;
  color: #242e75;
  font-size: 0.8rem;
  font-weight: 800;
}
.guide-board-caption span:first-child {
  color: #2d3db4;
  border-right: 1px solid #a9b6dc;
  padding-right: 7px;
  font-variant-numeric: tabular-nums;
}
.guide-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-steps li {
  padding: 12px 2px 14px;
  border-top: 1px solid #b4c0f0;
}
.guide-steps li:last-child {
  padding-bottom: 0;
}
.guide-steps h3 {
  margin-bottom: 5px;
}
.guide-steps button {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 8px;
  width: 100%;
  padding: 5px 3px;
  min-height: 43px;
  border: 0;
  background: none;
  color: #17215d;
  font-weight: 810;
  text-align: start;
}
.guide-steps button:hover {
  color: #364bc8;
}
.guide-steps button .icon {
  margin-left: auto;
  width: 16px;
  color: #455ccf;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 33px;
  height: 31px;
  flex: none;
  border-radius: 6px;
  font-size: 0.81rem;
  font-variant-numeric: tabular-nums;
  background: #d0d8fb;
  color: #2536a2;
}
.guide-steps button[aria-pressed="true"] .step-number {
  background: #263bc5;
  color: #fff;
}
.guide-steps p {
  color: #475482;
  padding-inline: 3px;
  max-width: 45ch;
}
.guide-steps .text-link {
  padding: 5px 2px;
}

.button,
.icon-button,
.nav-icon {
  transition:
    transform 140ms var(--ease-out),
    background-color 150ms,
    color 150ms,
    border-color 150ms;
}
.button:active:not(:disabled),
.icon-button:active:not(:disabled) {
  transform: scale(0.97);
}
.cart-done-icon,
.add-item[data-added] .cart-add-icon {
  display: none;
}
.add-item[data-added] .cart-done-icon {
  display: inline-flex;
}
.add-item[data-added] {
  background: #e4f0d9;
  border-color: #adcf9a;
  color: #345828;
}
.shop-toast {
  position: fixed;
  right: max(12px, calc((100vw - 1272px) / 2));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 12;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  max-width: calc(100% - 24px);
  padding: 11px 12px;
  border: 1px solid #9ca8ec;
  border-radius: 8px;
  background: #fbf9ef;
  color: #233270;
  box-shadow: 0 10px 32px -12px #1824697a;
  font-weight: 760;
  font-size: 0.86rem;
}
.shop-toast > .text-link {
  color: #253ab8;
}
.shop-toast[data-error] {
  border-color: #c6475c;
  color: #881b36;
}

@media (hover: hover) and (pointer: fine) {
  .course-card .cover:hover img {
    transform: scale(1.035);
  }
  .theatre-plate[data-position="front"]:hover {
    transform: translate(-50%, -2.5%) rotate(-3deg);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .theatre[data-ready]:not([data-interacted]) .plate-inner {
    animation: plate-arrive 580ms var(--ease-out) both;
  }
  .theatre[data-ready]:not([data-interacted])
    .theatre-plate[data-position="right"]
    .plate-inner {
    animation-delay: 55ms;
  }
  .theatre[data-ready]:not([data-interacted])
    .theatre-plate[data-position="front"]
    .plate-inner {
    animation-delay: 110ms;
  }
  .theatre[data-ready]:not([data-interacted]) .studio-detail {
    animation: studio-arrive 720ms var(--ease-out) both;
  }
  .studio-detail-two {
    animation-delay: 70ms !important;
  }
  .studio-detail-three {
    animation-delay: 140ms !important;
  }
  .guide-board[data-enter] .learning-art {
    animation: board-reveal 610ms var(--ease-in-out) both;
  }
  .site-header details[open] .header-panel {
    animation: menu-arrive 180ms var(--ease-out) both;
    transform-origin: top right;
  }
  @keyframes plate-arrive {
    from {
      opacity: 0.45;
      transform: translateY(16%) scale(0.96);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes studio-arrive {
    from {
      opacity: 0.2;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes board-reveal {
    from {
      clip-path: inset(0 13% 0 0);
      opacity: 0.5;
    }
    to {
      clip-path: inset(0);
      opacity: 1;
    }
  }
  @keyframes menu-arrive {
    from {
      opacity: 0.65;
      transform: translateY(-6px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1050px) {
  .launch {
    gap: 23px;
  }
  .theatre-stage {
    min-height: 277px;
  }
}
@media (max-width: 870px) {
  .theatre-plate {
    top: 20%;
    width: 55%;
  }
  .theatre-plate[data-position="left"] {
    transform: translate(-86%, 9%) rotate(-16deg) scale(0.76);
  }
  .theatre-plate[data-position="right"] {
    transform: translate(-12%, 9%) rotate(13deg) scale(0.76);
  }
}
@media (max-width: 700px) {
  .launch {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-block: 22px 15px;
  }
  .launch h1 {
    font-size: clamp(3.25rem, 11vw, 5.2rem);
  }
  .launch-copy > p {
    margin-bottom: 11px;
  }
  .launch-trust {
    margin-top: 9px;
  }
  .launch-actions .button {
    min-height: 44px;
    padding-inline: 10px;
  }
  .theatre {
    border-radius: 10px;
  }
  .theatre-stage {
    min-height: 215px;
  }
  .stage-heading {
    top: 8px;
    left: 10px;
    font-size: 0.76rem;
  }
  .theatre-console {
    min-height: 60px;
    padding: 6px 8px;
  }
  .theatre-controls {
    gap: 4px;
  }
  .theatre-controls .icon-button {
    width: 35px;
    min-height: 40px;
  }
  .theatre-text a {
    font-size: 0.85rem;
  }
  .theatre-plate {
    top: 17%;
    width: 47%;
  }
  .plate-inner {
    padding: 5px;
    border-left-width: 4px;
  }
  .plate-label {
    padding: 6px 2px 1px;
  }
  .plate-label span {
    font-size: 0.66rem;
  }
  .plate-label strong {
    font-size: 0.98rem;
  }
  .discovery-rail {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 7px;
  }
  .ledger a {
    min-height: 37px;
    font-size: 0.78rem;
    gap: 4px;
  }
  .ledger .icon {
    width: 15px;
  }
  .shelf-filters {
    margin-bottom: 11px;
  }
  .shelf-filters a {
    min-height: 40px;
    padding-inline: 7px;
  }
  .guide-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide-board {
    position: static;
    min-height: 190px;
    max-height: 260px;
  }
}
@media (max-width: 380px) {
  .launch h1 {
    font-size: 3.12rem;
  }
  .theatre-plate {
    top: 21%;
    width: 52%;
  }
  .launch-search .button {
    padding-inline: 9px;
  }
  .theatre-plate .plate-label strong {
    font-size: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:active,
  .icon-button:active,
  .course-card .cover:hover img {
    transform: none;
  }
  .theatre-plate[data-position="front"]:hover {
    transform: translateX(-50%) rotate(-5deg);
  }
}

.receipt-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #e4f0d9;
  color: #355e28;
}
.receipt-mark .icon {
  width: 27px;
  height: 27px;
}
@media (prefers-reduced-motion: no-preference) {
  .receipt-mark {
    animation: receipt-appear 260ms var(--ease-out) both;
  }
  @keyframes receipt-appear {
    from {
      opacity: 0.42;
      transform: scale(0.88) translateY(5px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

.membership-band {
  border-block: 1px solid #d5daf4;
  background: #eef0fd;
}

.membership-page .membership-grid {
  margin-top: 24px;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 15px;
}

.membership-preview {
  max-width: 390px;
}

.membership-card {
  --plan-panel: #dfe7ff;
  --plan-art-ink: #2941b9;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c9d0ee;
  border-radius: 13px;
  background: var(--surface);
}

.membership-card[data-period="lifetime"] {
  --plan-panel: #f6e8c7;
  --plan-art-ink: #605285;
}

.membership-card.is-recommended {
  --plan-panel: var(--studio-blue);
  --plan-art-ink: #e0e6ff;
  border-color: var(--studio-blue);
  background: #fafaff;
  box-shadow: 0 12px 24px -18px #2339a6a3;
}

.membership-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 2.5;
  min-height: 125px;
  overflow: hidden;
  border-bottom: 1px solid #aab8e1;
  background-color: var(--plan-panel);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 20px, #4e61b322 20px 21px),
    repeating-linear-gradient(0deg, transparent 0 20px, #4e61b322 20px 21px);
  color: var(--plan-art-ink);
}

.is-recommended .membership-visual {
  background-image:
    repeating-linear-gradient(90deg, transparent 0 20px, #e1e8ff30 20px 21px),
    repeating-linear-gradient(0deg, transparent 0 20px, #e1e8ff30 20px 21px);
  border-color: var(--studio-blue);
}

.membership-visual img,
.membership-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.membership-visual img {
  object-fit: cover;
}

.membership-art {
  transition: transform 250ms var(--ease-out);
}

.membership-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--studio-signal);
  color: #25213f;
  font-size: 0.73rem;
  font-weight: 800;
}

.membership-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: clamp(14px, 2.2vw, 24px);
}

.membership-copy h3 {
  margin: 0 0 4px;
  color: var(--studio-ink);
  font-family: var(--display);
  font-size: clamp(1.32rem, 2.25vw, 1.8rem);
}

.membership-summary {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.membership-rate {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin-block: 0 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #dce0f2;
  font-variant-numeric: tabular-nums;
  line-height: 1.18;
}

.membership-rate strong {
  color: var(--studio-ink);
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.047em;
}

.membership-rate span,
.membership-rate s {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 680;
}

.membership-features {
  display: grid;
  gap: 6px;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
}

.membership-features li {
  display: flex;
  align-items: start;
  gap: 7px;
  font-size: 0.87rem;
  overflow-wrap: anywhere;
}

.membership-features .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--studio-blue);
}

.membership-action {
  width: 100%;
  justify-content: space-between;
  margin-top: auto;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .membership-card:hover .membership-art {
    transform: translateY(-2px) scale(1.025);
  }
}

@media (max-width: 700px) {
  .membership-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .membership-visual {
    max-height: 166px;
  }
}

.subject-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.4fr);
  gap: 16px;
}

.subject-atlas,
.faq-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--studio-blue);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 22px, #dae2ff24 22px 23px),
    repeating-linear-gradient(0deg, transparent 0 22px, #dae2ff24 22px 23px);
}

.subject-atlas {
  min-height: 305px;
  border: 1px solid #2638ad;
  border-radius: 13px;
}

.atlas-art,
.faq-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.subject-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.category-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 13px;
  border-color: #d5d9ee;
  text-decoration: none;
  transition:
    border-color 150ms,
    background-color 150ms;
}

.category-card:hover {
  border-color: #8796e6;
  background: #f1f3ff;
}

.index-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 7px;
  background: #e2e8ff;
  color: var(--studio-blue);
}

.subject-grid .category-card:nth-child(3n + 2) .index-icon {
  background: #ffe3a7;
  color: #403259;
}

.category-content > strong {
  color: var(--studio-ink);
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.025em;
}

.category-description {
  color: var(--muted);
  line-height: 1.4;
}

.index-count {
  color: #3f4e9a;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  font-weight: 780;
}

.index-arrow {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: var(--studio-blue);
  transition: transform 160ms var(--ease-out);
}

.index-arrow .icon {
  width: 15px;
  height: 15px;
}

.faq-display {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 16px;
  align-items: start;
}

.faq-intro,
.faq-answers {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #cbd3f0;
  border-radius: 13px;
  background: #f6f6ff;
}

.faq-visual {
  height: clamp(122px, 13vw, 178px);
  border-bottom: 1px solid #3548c2;
}

.faq-intro-copy {
  padding: clamp(15px, 2.3vw, 25px);
}

.faq-intro h2 {
  margin: 0 0 8px;
  color: var(--studio-ink);
  font-size: clamp(2.35rem, 3.7vw, 3.45rem);
}

.faq-intro p {
  color: var(--muted);
  margin-bottom: 9px;
}

.faq-intro .text-link {
  color: var(--studio-ink);
  font-size: 0.9rem;
}

.faq-answers {
  padding: 5px 15px;
  background: var(--surface);
}

.faq-answers .faq-items details {
  border-top: 1px solid #dce0f1;
}

.faq-answers .faq-items details:first-child {
  border-top: 0;
}

.faq-answers .faq-items details:last-child {
  border-bottom: 0;
}

.faq-answers .faq-items summary {
  min-height: 63px;
  padding: 13px 5px;
  color: var(--studio-ink);
  font-size: 0.95rem;
}

.faq-answers .faq-items summary:hover {
  color: var(--studio-blue);
}

.faq-answers .faq-items summary .icon {
  width: 29px;
  height: 29px;
  padding: 6px;
  border-radius: 6px;
  background: #e3e8ff;
  color: var(--studio-blue);
  transition:
    transform 160ms var(--ease-out),
    background-color 150ms;
}

.faq-answers .faq-items details[open] summary .icon {
  border-radius: 50%;
  background: var(--studio-signal);
  color: #232962;
}

.faq-answers .faq-items p {
  max-width: 66ch;
  padding: 0 35px 15px 5px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .category-card:hover .index-arrow {
    transform: translate(2px, -2px);
  }
}

@media (max-width: 920px) {
  .subject-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .subject-atlas {
    min-height: 0;
    height: clamp(150px, 32vw, 232px);
  }
}

@media (max-width: 700px) {
  .faq-display {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .faq-answers {
    padding-inline: 10px;
  }
  .faq-answers .faq-items summary {
    min-height: 56px;
  }
}

@media (max-width: 500px) {
  .subject-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cart-add-icon,
.cart-done-icon {
  align-items: center;
  gap: 6px;
}

.cart-add-icon {
  display: inline-flex;
}

.cart-flight {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 13;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 38px;
  height: 38px;
  border: 2px solid #fff0c9;
  border-radius: 9px;
  background: var(--studio-signal);
  color: var(--studio-ink);
  box-shadow: 0 5px 15px #14226855;
  pointer-events: none;
}

.cart-flight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-toast {
  width: min(350px, calc(100% - 24px));
  flex-wrap: nowrap;
  gap: 9px;
}

.toast-mark {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  flex: none;
  border-radius: 7px;
  background: var(--studio-pale);
  color: var(--studio-blue);
}

.toast-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.toast-copy > span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 650;
}

.shop-toast .button {
  flex: none;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .cart-flight {
    display: none;
  }
}
