@font-face { font-family: Lilita; src: url('/assets/lilita-one.ttf') format('truetype'); font-display: swap; }
:root { --family-ink: #221837; --family-muted: #595366; --family-purple: #5633ae; --family-line: #e5def0; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--family-ink); background: #faf8fd; font: 16px/1.65 system-ui, sans-serif; }
a { color: #4a2d96; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8058db; outline-offset: 4px; }
.family-wrap { width: min(1110px, calc(100% - 56px)); margin-inline: auto; }
.family-header { background: #fff; border-bottom: 1px solid var(--family-line); }
.family-header .family-wrap { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.family-header img { display: block; width: 72px; height: auto; }
.family-header nav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(9px, 3vw, 28px); }
.family-header a { color: var(--family-ink); font-size: 14px; font-weight: 730; text-decoration: none; }
.family-header a:hover { text-decoration: underline; }
.family-language { padding: 4px 8px; border: 1px solid var(--family-line); border-radius: 7px; }
.family-skip { position: absolute; transform: translateY(-200%); background: white; z-index: 4; padding: 8px; }
.family-skip:focus { transform: none; }
.family-hero { position: relative; isolation: isolate; background: #eee7fa; border-bottom: 1px solid var(--family-line); overflow: clip; }
.family-hero::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 63%; background: linear-gradient(90deg, #eee7fa, #eee7fa88), url('assets/forest.jpg') center 53% / cover; }
.family-hero .family-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(190px, 1fr); align-items: center; gap: 22px; min-height: 385px; padding-block: 35px; }
.family-kicker { color: #543498; font-size: 13px; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.family-hero h1 { font: 400 clamp(45px, 7.3vw, 87px)/.98 Lilita, system-ui; letter-spacing: -.025em; margin: 9px 0 16px; max-width: 12ch; }
.family-hero p { color: #4f445d; font-size: clamp(16px, 2.15vw, 21px); max-width: 49ch; margin: 0 0 19px; }
.family-hero img { display: block; width: min(90%, 330px); justify-self: center; aspect-ratio: 1.1; object-fit: contain; filter: drop-shadow(0 10px 15px #2c22472f); }
.family-button { display: inline-block; border-radius: 9px; background: #5432a6; color: white; font-weight: 760; text-decoration: none; padding: 9px 16px; }
.family-button:hover { background: #432783; }
.family-main { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 67px); padding-block: 32px 55px; }
.family-outline { position: sticky; top: 20px; border: 1px solid var(--family-line); background: #fff; border-radius: 15px; padding: 16px; }
.family-outline summary { cursor: pointer; font-weight: 790; }
.family-outline ol { margin: 10px 0 0; padding-left: 1.1rem; }
.family-outline a { font-size: 14px; }
.family-sections { display: grid; gap: 15px; min-width: 0; }
.family-sections > section { background: #fff; border: 1px solid var(--family-line); border-radius: 17px; padding: clamp(16px, 3.25vw, 32px); scroll-margin-top: 15px; overflow-wrap: anywhere; }
.family-sections h2 { font: 400 clamp(26px, 3.4vw, 37px)/1.07 Lilita, system-ui; margin: 0 0 13px; }
.family-sections :is(p,ul,ol) { margin: 0 0 13px; color: var(--family-muted); }
.family-sections :is(p,ul,ol):last-child { margin-bottom: 0; }
.family-sections li + li { margin-top: .25em; }
.family-sections details { padding: 10px 13px; background: #f5f0fd; border: 1px solid #e3d8f6; border-radius: 9px; margin-block: 9px; }
.family-sections details summary { color: var(--family-ink); cursor: pointer; font-weight: 760; }
.family-sections details[open] summary { margin-bottom: 10px; }
.family-sections .family-note { background: #f4edff; border-left: 4px solid #7957c9; padding: 9px 12px; border-radius: 0 9px 9px 0; }
.family-game { display: flex; gap: 14px; align-items: center; margin-bottom: 15px; padding: 11px; border-radius: 9px; background: #f6f1fc; }
.family-game img { width: 61px; height: auto; border-radius: 9px; }
.family-game h3 { margin: 0; }
.family-game p { margin: 0; font-size: 14px; }
.family-sections > .family-reach { background: #eee6fa; }
@media (max-width: 780px) {
  .family-main { grid-template-columns: 1fr; gap: 17px; }
  .family-outline { position: static; }
  .family-outline ol { columns: 2; }
}
@media (max-width: 540px) {
  .family-wrap { width: calc(100% - 32px); }
  .family-header .family-wrap { gap: 9px; min-height: 58px; }
  .family-header img { width: 54px; }
  .family-header a { font-size: 12px; }
  .family-hero .family-wrap { grid-template-columns: 1fr; min-height: 0; gap: 0; padding-block: 23px; }
  .family-hero h1 { max-width: 12ch; }
  .family-hero img { position: absolute; right: 12px; bottom: 17px; width: 85px; aspect-ratio: 1; pointer-events: none; }
  .family-hero p { max-width: min(100%, 33ch); }
  .family-outline ol { columns: auto; }
}
