:root {
  color-scheme: light;
  --bee-midnight: oklch(18% 0.11 292);
  --bee-violet: oklch(49% 0.25 292);
  --bee-aqua: oklch(80% 0.13 195);
  --bee-yellow: oklch(93% 0.17 105);
  --ink: oklch(39% 0.008 285);
  --muted: oklch(53% 0.015 260);
  --paper: oklch(98.8% 0.014 195);
  --surface: oklch(99.8% 0.004 195);
  --surface-tint: oklch(97% 0.025 292);
  --line: oklch(86% 0.045 292);
  --focus: oklch(63% 0.19 292);
  --shadow: 0 14px 36px oklch(18% 0.11 292 / 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration-color: var(--bee-aqua);
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.16em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 8px;
}

.notice {
  border-bottom: 1px solid oklch(87% 0.13 105);
  background: oklch(97% 0.09 105);
  color: oklch(35% 0.05 95);
}

.notice__inner,
.shell {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
}

.notice__inner {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 0;
  font-size: 0.82rem;
  line-height: 1.48;
}

.notice__mark {
  display: grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--bee-yellow);
  color: var(--bee-midnight);
  font-size: 0.92rem;
  font-weight: 900;
}

header {
  position: relative;
  overflow: hidden;
  background: var(--bee-midnight);
  color: var(--surface);
}

header::before {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='390' height='440' viewBox='0 0 390 440' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23FAEC22'%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(160 38) scale(1.35)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(348 8) scale(.95)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(148 160) scale(1.2)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(56 340) scale(.9)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(116 330) scale(.9)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(346 470) scale(1.2)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(332 360) scale(.7)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(366 150) scale(1.3)'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(202 68) scale(.75)' fill-opacity='.25'/%3E%3Cpath d='M8 4.6018L5.56 4.8104L4.344 7L3.397 4.6727L1 4.1555L2.855 2.5091L2.591 0L4.684 1.3099L6.917 .2756L6.355 2.7317L8 4.6018Z' transform='translate(18 260) scale(.7)' fill-opacity='.25'/%3E%3C/g%3E%3C/svg%3E");
  background-position: center;
  background-size: 390px 440px;
  content: "";
  pointer-events: none;
}

.masthead {
  position: relative;
  z-index: 1;
  padding: 28px 0 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--surface);
  text-decoration: none;
}

.brand__logo {
  width: 37px;
  height: 37px;
  filter: brightness(0) invert(1);
}

.brand--full {
  display: block;
}

.brand__full-logo {
  display: block;
  width: min(100%, 158px);
  height: auto;
}

.brand__name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.eyebrow {
  margin: 38px 0 8px;
  color: var(--bee-aqua);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: inherit;
}

h1 {
  max-width: 13ch;
  margin: 0;
  color: var(--surface);
  font-size: clamp(2.3rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: 23px 0 0;
  color: oklch(91% 0.025 280);
  font-size: 0.8rem;
}

.metadata strong {
  color: var(--bee-yellow);
}

.related {
  margin: 17px 0 0;
  color: oklch(91% 0.025 280);
  font-size: 0.85rem;
}

.related a {
  color: var(--surface);
}

main {
  padding: 36px 0 64px;
}

.intro {
  margin: 0 0 34px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.65;
}

.contents {
  margin: 0 0 48px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 5px 16px oklch(18% 0.11 292 / 0.05);
}

.contents h2 {
  margin: 0 0 13px;
  color: var(--bee-midnight);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contents ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4px 26px;
  margin: 0;
  padding-left: 19px;
}

.contents a {
  color: var(--ink);
  font-size: 0.92rem;
  text-decoration-color: transparent;
}

.contents a:hover {
  color: var(--bee-violet);
  text-decoration-color: currentColor;
}

section {
  padding-top: 5px;
  scroll-margin-top: 22px;
}

section + section {
  margin-top: 38px;
}

h2 {
  margin: 0 0 12px;
  color: var(--bee-midnight);
  font-size: 1.38rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

p {
  margin: 0 0 15px;
}

ul {
  margin: 0 0 16px;
  padding-left: 1.3rem;
}

li + li {
  margin-top: 7px;
}

.contact {
  padding: 24px;
  border-radius: 24px;
  background: var(--bee-violet);
  box-shadow: var(--shadow);
  color: var(--surface);
}

.contact h2 {
  color: var(--bee-yellow);
}

.contact p {
  margin-bottom: 0;
}

.contact a {
  text-decoration-color: var(--bee-aqua);
}

.site-home .masthead {
  min-height: 333px;
  padding-bottom: 48px;
}

.site-home h1 {
  max-width: 9ch;
}

.page-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-document;
}

.page-list li {
  margin: 0;
  counter-increment: legal-document;
}

.page-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 6px 18px oklch(18% 0.11 292 / 0.06);
  text-decoration: none;
  transition: transform 160ms ease-out, border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.page-list a::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--bee-yellow);
  color: var(--bee-midnight);
  content: counter(legal-document, decimal-leading-zero);
  font-size: 0.71rem;
  font-weight: 900;
}

.page-list a::after {
  color: var(--bee-violet);
  content: "→";
  font-size: 1.35rem;
  font-weight: 800;
}

.page-list a:hover {
  border-color: var(--bee-violet);
  box-shadow: 0 11px 26px oklch(18% 0.11 292 / 0.11);
  transform: translateY(-2px);
}

.page-list strong,
.page-list span {
  display: block;
}

.page-list strong {
  color: var(--bee-midnight);
  font-size: 1.06rem;
  font-weight: 800;
}

.page-list span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

footer {
  padding: 23px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 560px) {
  .notice__inner,
  .shell {
    width: min(100% - 32px, 760px);
  }

  .masthead {
    padding-top: 23px;
    padding-bottom: 36px;
  }

  .brand__full-logo {
    width: 135px;
  }

  .eyebrow {
    margin-top: 33px;
  }

  main {
    padding-top: 30px;
  }

  .contents {
    padding: 19px;
    border-radius: 20px;
  }

  .contents ol {
    grid-template-columns: 1fr;
  }

  .page-list a {
    min-height: 102px;
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-list a {
    transition: none;
  }
}
