:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #211d2a;
  --muted: #605969;
  --line: #ded7e4;
  --violet: #6334af;
  font-family: system-ui, -apple-system, "PingFang SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
* { 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 var(--violet); outline-offset: 3px; }
.wrap { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.head, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 74px; padding-block: 8px; }
.head { border-bottom: 1px solid var(--line); }
.head .brand { margin-right: auto; }
.brand { font-weight: 850; font-size: 1.55rem; letter-spacing: -.065em; }
.brand span, .hero h1 span, nav a:hover, nav a[aria-current] { color: var(--violet); }
nav { display: flex; flex-wrap: wrap; column-gap: 18px; }
nav a { display: flex; align-items: center; min-height: 44px; }
.languages { position: relative; border: 0; font-size: .9rem; }
.languages summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 8px;
  list-style: none;
  white-space: nowrap;
}
.languages summary::-webkit-details-marker { display: none; }
.languages summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.languages[open] summary, .languages summary:hover { background: #eee6f5; }
.languages[open] summary::after { transform: translateY(2px) rotate(225deg); }
.languages nav {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  top: calc(100% + 6px);
  display: grid;
  min-width: 150px;
  max-width: calc(100vw - 36px);
  max-height: min(50vh, 320px);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 8px 22px #211d2a20;
}
.languages nav a { padding-inline: 10px; border-radius: 6px; overflow-wrap: anywhere; }
.languages nav a[aria-current], .languages nav a:hover { background: #eee6f5; }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding-block: 66px; }
.hero > * { min-width: 0; }
.label { color: var(--violet); font-size: .9rem; font-weight: 700; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 6vw, 6rem); font-weight: 850; }
h1 span { display: block; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 22px; }
h3 { font-size: 1.45rem; overflow-wrap: anywhere; }
.intro { color: var(--muted); max-width: 34ch; margin: 24px 0; font-size: 1.08rem; }
.cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 8px; background: var(--ink); color: white; font-weight: 650; }
.cta:hover { background: var(--violet); }
.art { margin: 0; overflow: hidden; background: radial-gradient(ellipse at top right,#f6dbf4,transparent 65%), radial-gradient(ellipse at bottom left,#d9e4ff,transparent 65%),#ebdfff; border: 1px solid #d9c8ed; border-radius: 24px; }
.art img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.catalog, .about { border-top: 1px solid var(--line); padding-block: 42px 54px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 350px),1fr)); gap: 14px; align-items: start; }
article { border: 1px solid var(--line); border-radius: 14px; }
.copy { padding: 22px; }
.lilac { background: #f1e9fb; }
.copy > p:not(.label), li, .about p, .foot { color: var(--muted); }
details { border-top: 1px solid #211d2a26; }
summary { cursor: pointer; min-height: 44px; padding-block: 9px; }
ul { padding-inline-start: 1.3rem; margin: 6px 0; }
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.about p { max-width: 55ch; margin: 0 0 10px; }
.foot { border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .cards, .about { grid-template-columns: 1fr; }
  .hero { padding-block: 40px; gap: 26px; }
  .about { gap: 0; }
  .catalog, .about { padding-block: 30px; }
}
@media (max-width: 380px) {
  .head { column-gap: 12px; row-gap: 0; }
  nav { column-gap: 12px; }
}
