:root {
  color-scheme: light;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #221640;
  background: #f9f7ff;
  --plum: #231640;
  --violet: #5424ad;
  --muted: #544566;
  --line: #dfd5f2;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a44d00; outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.15rem, 5.5vw, 5rem); line-height: 1.13; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); line-height: 1.25; }
h3 { font-size: 1.17rem; line-height: 1.35; }
.wrap { width: min(73rem, 100% - 2.5rem); margin-inline: auto; }
.topbar, .footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; padding-block: 1.15rem; }
.brand { display: inline-flex; gap: .65rem; align-items: center; direction: ltr; font-size: 1.3rem; font-weight: 850; letter-spacing: -.045em; }
.logo { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: .75rem .75rem .75rem .25rem; background: #6332b8; }
.logo::after { content: ""; width: .35rem; height: .35rem; margin-inline-end: .55rem; border-radius: 50%; background: #ffda9f; box-shadow: .55rem 0 #ffda9f; }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 4vw, 2.5rem); font-weight: 690; }
.nav a:hover, .footer a:hover { color: var(--violet); }
.languages { position: relative; z-index: 2; }
.languages summary { display: flex; align-items: center; gap: .55rem; padding: .55rem .75rem; border: 1px solid var(--line); border-radius: .7rem; cursor: pointer; font-weight: 690; }
.languages summary::-webkit-details-marker { display: none; }
.languages summary::after { content: ""; width: .47rem; height: .47rem; border: solid var(--violet); border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.languages ul { position: absolute; inset-inline-end: 0; top: 100%; min-width: 12rem; max-height: 55vh; overflow: auto; margin: .4rem 0 0; padding: .35rem; border: 1px solid var(--line); border-radius: .85rem; background: white; box-shadow: 0 .8rem 2rem #22164024; list-style: none; }
.languages a { display: block; padding: .4rem .65rem; border-radius: .4rem; }
.languages a:hover, .languages a[aria-current] { background: #eee5ff; color: var(--violet); }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 1.5rem; padding: clamp(1.55rem, 5vw, 4.5rem); border-radius: clamp(1.25rem, 3vw, 2.4rem); background: #281b48; color: #fff9ff; isolation: isolate; }
.hero-copy { position: relative; z-index: 1; }
.hero p { max-width: 46ch; margin-block-start: 1rem; color: #eee2ff; font-size: clamp(1.04rem, 1.9vw, 1.25rem); }
.hero-art { position: relative; display: grid; place-items: center; min-height: 16rem; aspect-ratio: 1; }
.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: radial-gradient(circle, #955cdf 0, #533186 53%, #281b4800 72%); }
.hero-art img { width: 100%; max-width: 25rem; max-height: 25rem; object-fit: contain; filter: drop-shadow(0 1.5rem 1.2rem #170d3250); }
.hero-baloot .hero-art img, .hero-fruit .hero-art img { width: 78%; max-height: 20rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-start: 1.5rem; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .6rem 1rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 780; }
.primary { background: #ffd498; color: var(--plum); }
.primary:hover { background: #ffe5bb; }
.secondary { border-color: #ac87e6; }
.secondary:hover { background: #4b346f; }
.reading { margin-block: 1.25rem 0; padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1.25rem; background: white; }
.reading p { max-width: 80ch; color: var(--muted); font-size: 1.08rem; }
.room-link { display: inline-flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; padding: .65rem .9rem; margin-block-start: 1rem; border: 1px solid #f0c893; border-radius: .65rem; background: #fff5e7; }
.room-link:hover { background: #ffebce; }
.text-link { color: var(--violet); text-decoration: underline; text-underline-offset: .18em; font-weight: 720; }
.reading .text-link { display: inline-block; margin-block-start: .7rem; }
.guides { padding-block: clamp(2rem, 5vw, 3.7rem); }
.guide-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.guide { display: block; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: white; }
.guide:hover { border-color: #8e6bc8; }
.guide:hover h3 { color: var(--violet); }
.guide-art { display: grid; place-items: center; height: 9.5rem; background: #f3e8ff; }
.guide-art img { width: 8.2rem; height: 8.2rem; object-fit: contain; }
.art-baloot { background: #efe7ff; }
.art-fruit { background: #ffece7; }
.guide-copy { padding: 1rem; }
.guide-copy p { margin-block-start: .35rem; color: var(--muted); }
.comparisons { display: flex; flex-wrap: wrap; gap: .9rem 2rem; justify-content: space-between; align-items: center; padding: 1.15rem 1.35rem; border-radius: 1rem; background: #efe8fb; }
.comparisons h2 { font-size: 1.14rem; }
.comparisons div { display: flex; flex-wrap: wrap; gap: .45rem; }
.comparisons a { display: inline-flex; align-items: center; min-height: 42px; padding-inline: .8rem; border: 1px solid #d8c9ed; border-radius: .65rem; background: #fbf8ff; }
.comparisons a:hover { border-color: #8e6bc8; }
.footer { margin-block-start: 2rem; border-block-start: 1px solid var(--line); }
@media (max-width: 44rem) {
  .wrap { width: calc(100% - 1.5rem); }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { min-height: 0; max-height: 14rem; margin-inline: auto; }
  .hero-art img { max-height: 14rem; }
  .nav { order: 1; width: 100%; }
}
