:root {
  --bg: #fff8ef;
  --ink: #1a1230;
  --ink-2: #3f3657;
  --mute: #6e6684;
  --muted: #7d7591;
  --line: #eadfce;
  --hair: #efe5d7;
  --soft: #ffffff;
  --orange: #ff6a2b;
  --lila: #7a4dff;
  --lila-2: #c9b8ff;
  --mint: #2fd3a4;
  --gelb: #ffd23f;
  --rosa: #ff9ec7;
  --accent: var(--lila);
  --blue: var(--lila);
  --acc-bg: #efe9ff;
  --acc-ink: #5a2fe0;
  --display: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: var(--display);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 239, 0.92); backdrop-filter: blur(12px); }
.nav { z-index: 50; }
.nav-inner { height: 76px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; font-size: 25px; white-space: nowrap; color: var(--ink); }
.nav-links { display: flex; gap: 4px; margin-left: auto; font-weight: 700; font-size: 15.5px; }
.nav-links a { padding: 9px 15px; border-radius: 999px; text-decoration: none; color: var(--ink); white-space: nowrap; transition: background 0.15s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { background: #fff; }
.nav-inner > .btn-sm { height: 44px; padding: 0 18px; box-shadow: none; }
@media (max-width: 1020px) { .nav-links a { padding: 9px 10px; font-size: 14.5px; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap; transition: transform 0.15s, background 0.15s; position: relative; }
.btn { font-weight: 800; box-shadow: 0 5px 0 rgba(26, 18, 48, 0.35); }
.btn:hover { background: #2c2147; transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); }

.art-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: center; padding: 32px 0 48px; }
.kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--acc-bg); color: var(--acc-ink); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.art-hero h1, .index-hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.02em; margin: 16px 0 16px; text-wrap: balance; }
.lead { font-size: 21px; line-height: 1.45; color: var(--mute); max-width: 38em; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 20px; font-size: 15px; font-weight: 600; color: var(--muted); }
.art-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: 0 2px 6px rgba(16, 24, 40, 0.1), 0 30px 60px -30px rgba(16, 24, 40, 0.45); }

.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-bottom: 72px; }
.prose { background: transparent; padding: 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--display); font-weight: 600; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--acc-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue); }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose em { color: var(--mute); font-size: 17px; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--blue); font-weight: 600; }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.35; }
.prose th, .prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--hair); }
.prose th { font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:last-child { white-space: nowrap; font-weight: 600; color: var(--ink); }

.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 32px 0; padding: 22px 24px; border-radius: 16px; background: var(--acc-bg); box-shadow: inset 0 0 0 1px #d6e2ff; }
.cta-box div { display: flex; flex-direction: column; }
.cta-box b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.cta-box span { font-size: 16.5px; color: var(--mute); line-height: 1.4; }
.prose .cta-box .btn { color: #fff; text-decoration: none; }

.faq { margin-top: 48px; padding-top: 8px; }
.faq details { border-radius: 14px; background: var(--soft); margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 600; font-size: 18.5px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 20px 18px; font-size: 18px; }

.art-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.toc { background: var(--soft); border-radius: 16px; padding: 20px 22px; }
.toc b { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; margin-top: 10px; display: flex; flex-direction: column; gap: 2px; counter-reset: t; }
.toc a { display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; text-decoration: none; font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ink-2); }
.toc a:hover { background: var(--soft); color: var(--acc-ink); }
.side-cta { display: flex; flex-direction: column; gap: 6px; background: var(--ink); color: #c9d0db; border-radius: 16px; padding: 14px 14px 18px; }
.side-cta img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.side-cta b { color: #fff; font-family: var(--display); font-size: 19px; padding: 0 4px; }
.side-cta span { font-size: 15.5px; line-height: 1.4; padding: 0 4px 8px; }
.side-cta .btn { background: #fff; color: var(--ink); height: 44px; font-size: 15.5px; }
.side-cta .btn:hover { background: #fff; }

.related { padding-bottom: 80px; }
.related h2 { font-family: var(--display); font-size: 30px; margin-bottom: 20px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; background: #fff; border-radius: 18px; padding: 10px 10px 20px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { background: var(--soft); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%; border-radius: 12px; margin-bottom: 10px; }
.card-cat { padding: 0 10px; font-size: 13.5px; font-weight: 600; color: var(--acc-ink); }
.card-title { padding: 0 10px; font-family: var(--display); font-weight: 600; font-size: 21px; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.card-text { padding: 0 10px; font-size: 16.5px; line-height: 1.4; color: var(--mute); }

.index-hero { padding: 40px 0 40px; max-width: 820px; }
.cards-all { padding-bottom: 40px; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 80px; padding: 32px 36px; border-radius: 20px; background: var(--soft); }
.band div { display: flex; flex-direction: column; }
.band b { font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.band span { color: var(--mute); }

.footer { background: var(--ink); color: #cfc6e8; padding: 48px 0 36px; border-radius: 40px 40px 0 0; }
.footer .logo { color: #fff; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }

.footer nav { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--gelb); }
.footer .fine { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid #342a4d; font-size: 13.5px; color: #a99fc4; }

@media (max-width: 980px) {
  .art-hero, .art-grid { grid-template-columns: 1fr; }
  .art-hero { gap: 28px; }
  .art-img { max-width: 360px; aspect-ratio: 16 / 11; }
  .art-side { position: static; }
  .toc { display: none; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .nav-inner { height: 60px; }
  .logo { font-size: 21px; }
  .btn-sm { padding: 0 14px; }
  .prose { font-size: 17.5px; }
  .prose h2 { font-size: 24px; }
  .art-img { max-width: none; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .band { padding: 24px; }
}

.wm-logo { display: block; height: 2em; width: auto; }
.nav .wm-logo { height: 2.75em; }
@media (max-width: 640px) { .nav .wm-logo { height: 52px; } }

.kicker { background: var(--mint); color: var(--ink); }
.art-hero h1, .index-hero h1 { font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; }
.prose h2 { font-weight: 800; letter-spacing: -0.035em; }
.art-img { border: 5px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); transform: rotate(2deg); }
.toc { background: var(--gelb); }
.card { border-radius: 28px; }
.card:nth-child(4n + 1) { background: var(--rosa); }
.card:nth-child(4n + 2) { background: var(--mint); }
.card:nth-child(4n + 3) { background: var(--lila-2); }
.card:nth-child(4n + 4) { background: var(--gelb); }
.card:hover { background: inherit; transform: translateY(-4px) rotate(-0.6deg); }
.card:nth-child(4n + 1):hover { background: var(--rosa); } .card:nth-child(4n + 2):hover { background: var(--mint); } .card:nth-child(4n + 3):hover { background: var(--lila-2); } .card:nth-child(4n + 4):hover { background: var(--gelb); }
.card img { border-radius: 20px; }
.card-cat { color: var(--ink); }
.card-text { color: var(--ink-2); }
.band { background: var(--orange); color: #fff; border-radius: 40px; }
.band span { color: rgba(255, 255, 255, 0.9); }
.band .btn { background: #fff; color: var(--ink); }

.legal { font-size: 18px; }
.legal h2 { scroll-margin-top: 92px; }
.legal td:last-child { white-space: normal; font-weight: 600; }
.legal td:first-child { font-weight: 600; color: var(--ink); }
.legal-box { padding: 18px 22px; border-radius: 14px; background: var(--acc-bg); box-shadow: inset 0 0 0 1px #d6e2ff; }
.legal-draft { padding: 12px 16px; border-radius: 12px; background: #fff1f1; box-shadow: inset 0 0 0 1px #ffc9c9; color: #8a1c1c; font-size: 16px; }

.tldr { margin: 0 0 32px; padding: 20px 24px 18px; background: #fff; border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.tldr h2 { margin: 0 0 10px !important; font-size: 19px !important; display: flex; align-items: center; gap: 10px; }
.tldr h2::before { content: ''; width: 14px; height: 14px; border-radius: 4px; background: var(--gelb); border: 2px solid var(--ink); transform: rotate(-8deg); flex: none; }
.tldr ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.tldr li { font-size: 16px; line-height: 1.5; }
