* { box-sizing: border-box; }
:root { color: #27233c; background: #fcfaff; font: 16px/1.65 system-ui, sans-serif; }
body { margin: 0; }
a { color: #5431a0; text-underline-offset: .2em; }
a:hover { color: #301762; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #8255d1; outline-offset: 3px; }
header, footer { background: white; border-block: 1px solid #ebe4f4; }
.site-header { position: sticky; top: 0; z-index: 10; }
.header-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem 1rem; align-items: center; padding-block: .5rem; }
.header-bar .brand { font-size: 1.5rem; white-space: nowrap; }
.header-bar .brand img { width: 34px; }
.header-search { display: flex; width: min(100%, 23rem); justify-self: center; border: 1px solid #bdb0d1; border-radius: 999px; }
.header-search:focus-within { outline: 2px solid #8255d1; outline-offset: 2px; }
.header-search input { min-width: 0; border: 0; border-radius: 999px 0 0 999px; }
.header-search input:focus-visible { outline: none; }
.header-search button { flex: none; justify-content: center; width: 44px; padding: 0; border: 0; border-radius: 0 999px 999px 0; color: #5431a0; background: #f3edf9; }
.header-search button:hover { background: #e8daf7; }
.header-search svg, .header-menu svg { width: 22px; height: 22px; }
.header-menu { position: relative; }
.header-menu summary { display: grid; place-items: center; width: 44px; min-height: 44px; border-radius: 50%; cursor: pointer; list-style: none; }
.header-menu summary::-webkit-details-marker { display: none; }
.header-menu summary:hover { background: #f3edf9; }
.header-menu nav { position: absolute; right: 0; top: 100%; display: grid; gap: .5rem; padding: .8rem; background: white; border: 1px solid #ebe4f4; border-radius: .7rem; white-space: nowrap; }
html { scroll-padding-top: 5rem; }
.shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.bar, nav, .section-head, .pills { display: flex; gap: .8rem 1.2rem; align-items: center; flex-wrap: wrap; }
.bar, .section-head { justify-content: space-between; }
.bar { padding-block: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .4rem; font-weight: 850; font-size: 1.2rem; color: #342354; text-decoration: none; }
nav a { font-size: .9rem; font-weight: 650; }
main { padding-block: 2rem 4rem; min-height: 75vh; }
h1, h2 { line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 5vw, 3rem); margin: .6em 0 .45em; }
h2 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
section { margin-bottom: 2.8rem; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 1rem; background: #eee5ff; padding: clamp(1.2rem, 5vw, 3rem); border-radius: 2rem; }
.hero h1 { font-size: clamp(2rem, 5.7vw, 4.2rem); letter-spacing: -.04em; }
.hero-art { background: #f9f3ff; border-radius: 50%; max-width: 320px; justify-self: center; }
.eyebrow { color: #5d399f; font-weight: 800; font-size: .9rem; letter-spacing: .06em; }
.search { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap; margin-block: 1.2rem; }
.search label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; }
.search label:first-child { flex: 1 1 220px; }
input, select, button, .button { border-radius: .7rem; padding: .65rem .85rem; min-height: 44px; font: inherit; }
input, select { border: 1px solid #bdb0d1; background: white; color: inherit; width: 100%; }
button, .button { display: inline-flex; align-items: center; border: 1px solid #5431a0; color: white; background: #5431a0; text-decoration: none; font-weight: 750; cursor: pointer; }
button:hover, .button:hover { background: #392070; color: white; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 235px), 1fr)); gap: 1rem; }
.card { display: block; overflow: hidden; border: 1px solid #e3daef; border-radius: 1rem; background: white; text-decoration: none; color: inherit; }
.card:hover { border-color: #8255d1; }
.caption { display: grid; gap: .25rem; padding: .85rem 1rem; }
small { color: #605572; }
img { display: block; max-width: 100%; height: auto; }
.checker { background: repeating-conic-gradient(#ece7f2 0% 25%, #faf8fd 0% 50%) 0 0 / 24px 24px; display: grid; place-items: center; }
.card img { width: min(100%, 200px); }
.pills { gap: .55rem; margin: .9rem 0 1.2rem; }
.pills a, .count { background: #eee5ff; border-radius: 99px; padding: .3rem .75rem; text-decoration: none; font-size: .88rem; }
.pills a[aria-current] { background: #5431a0; color: white; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin-block: 1rem 2rem; }
.preview { border-radius: 1.2rem; }
.notice { background: white; border: 1px solid #e3daef; border-radius: 1rem; padding: 1.2rem; }
.terms { white-space: pre-wrap; }
@media (max-width: 720px) {
  .header-bar { gap: .4rem; width: calc(100% - 1rem); }
  .header-bar .brand { font-size: 1.25rem; }
  .header-bar .brand img { width: 28px; }
  .header-search input { padding-inline: .55rem; }
}
@media (max-width: 640px) {
  .hero, .detail { grid-template-columns: 1fr; }
  .hero-art { max-width: 150px; }
  .preview { grid-row: 2; }
  .preview img { width: min(100%, 300px); }
}

