/* Bingo! legal pages — candy palette, rounded, light + dark */
:root {
  --canvas: #FFF8F4;
  --surface: #FFFFFF;
  --hairline: #F0E4E8;
  --ink: #3A2F3F;
  --ink-soft: #8A7B8F;
  --rose: #FF9EBD;
  --peach: #FFB09C;
  --cream: #FFD98F;
  --mint: #8ADEC2;
  --sky: #9EC7FA;
  --lavender: #C9B5FF;
  --link: #E8749B;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #17121C;
    --surface: #241E2E;
    --hairline: #332A3E;
    --ink: #F2EAF4;
    --ink-soft: #A99BB0;
    --link: #FFB6CF;
  }
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
               "Segoe UI", "PingFang SC", "Hiragino Sans", Roboto, sans-serif;
  background-color: var(--canvas);
  background-image:
    radial-gradient(60vw 60vw at 88% -8%, rgba(255, 158, 189, .30), transparent 62%),
    radial-gradient(55vw 55vw at 4% 104%, rgba(201, 181, 255, .26), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.75;
  padding: 40px 20px 64px;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 760px; margin: 0 auto; }

.brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 20px; font-weight: 800; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; margin-bottom: 22px;
}
.brand .dot {
  width: 30px; height: 30px; border-radius: 9px;
  display: block; object-fit: cover;
  box-shadow: 0 3px 10px rgba(255, 158, 189, .45);
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 28px;
  padding: 36px 34px 40px;
  box-shadow: 0 8px 28px rgba(190, 150, 170, .10);
}

h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }

.date {
  display: inline-block; margin: 14px 0 20px; padding: 5px 14px;
  border-radius: 999px; background: rgba(158, 199, 250, .22);
  color: var(--ink-soft); font-size: 13px; font-weight: 600;
}

.lede { font-size: 16px; color: var(--ink); }

main { counter-reset: sec; }

h2 {
  counter-increment: sec;
  display: flex; align-items: center; gap: 11px;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em;
  margin: 34px 0 10px;
}
h2::before {
  content: counter(sec);
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--c, var(--rose)); color: #4A2A38;
  font-size: 14px; font-weight: 800;
  display: grid; place-items: center;
}
h2:nth-of-type(6n+1) { --c: var(--rose); }
h2:nth-of-type(6n+2) { --c: var(--peach); }
h2:nth-of-type(6n+3) { --c: var(--cream); }
h2:nth-of-type(6n+4) { --c: var(--mint); }
h2:nth-of-type(6n+5) { --c: var(--sky); }
h2:nth-of-type(6n+6) { --c: var(--lavender); }

h3 { font-size: 16px; font-weight: 700; margin: 20px 0 4px; }

p { margin: 9px 0; font-size: 15.5px; }
ul { margin: 10px 0 10px 4px; list-style: none; }
li { position: relative; padding-left: 22px; margin: 7px 0; font-size: 15.5px; }
li::before {
  content: ""; position: absolute; left: 4px; top: .68em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--mint);
}
strong { font-weight: 700; }
a { color: var(--link); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em; background: rgba(138, 222, 194, .18);
  padding: 2px 6px; border-radius: 6px;
}

.note {
  margin: 22px 0 6px; padding: 18px 20px;
  background: rgba(255, 217, 143, .20);
  border: 1px solid rgba(255, 217, 143, .55);
  border-radius: 18px;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }
.note .tag { font-weight: 800; }

.tldr {
  margin: 4px 0 10px; padding: 20px 22px;
  background: rgba(138, 222, 194, .16);
  border: 1px solid rgba(138, 222, 194, .5);
  border-radius: 20px;
}
.tldr li::before { background: var(--rose); }

.foot {
  margin-top: 26px; text-align: center;
  color: var(--ink-soft); font-size: 13.5px;
}
.foot a { margin: 0 8px; }

/* index */
.hub { text-align: center; }
.hub .big {
  width: 88px; height: 88px; border-radius: 23px;
  display: block; margin: 0 auto 12px; object-fit: cover;
  box-shadow: 0 10px 26px rgba(255, 158, 189, .42);
}
.hub p.sub { color: var(--ink-soft); font-size: 15px; margin-bottom: 26px; }
.links { display: grid; gap: 12px; }
.pill {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-radius: 20px;
  border: 1px solid var(--hairline); background: var(--canvas);
  color: var(--ink); font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(190, 150, 170, .18); text-decoration: none; }
.pill .ico {
  width: 34px; height: 34px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 17px;
}
.pill > span:last-child { text-align: left; }
.pill small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }

@media (max-width: 520px) {
  body { padding: 26px 14px 48px; }
  .card { padding: 26px 20px 30px; border-radius: 22px; }
  h1 { font-size: 25px; }
  h2 { font-size: 17.5px; }
}
