@font-face { font-family: 'Kalam'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/kalam-bold.ttf') format('truetype'); }
:root { color-scheme: light; --paper: #faf9f6; --ink: #252521; --muted: #706d65; --accent: #926900; --line: #e7e4dc; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.skip { position: absolute; left: 20px; top: -60px; padding: 10px; background: var(--paper); z-index: 2; }
.skip:focus { top: 12px; }
.notebook { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: 1320px; min-height: 100svh; margin: auto; }
.sidebar { padding: 48px 20px 30px; border-right: 1px solid var(--line); background: #f4f2ed; }
.brand { display: block; margin: 0 12px 48px; color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.6px; text-decoration: none; }
.brand span { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; font-weight: 400; letter-spacing: .1px; }
.folder { text-decoration: none; display: flex; align-items: center; gap: 9px; margin: 0 12px 18px; color: var(--accent); }
.folder svg { width: 21px; height: 21px; }
h1 { font-size: 17px; margin: 0; font-weight: 500; }
.count { margin-left: auto; color: var(--muted); font-size: 13px; }
nav { display: grid; gap: 4px; }
.note-link, .overview-link { padding: 14px 13px; border-radius: 7px; text-decoration: none; color: var(--ink); font-size: 14px; line-height: 1.4; }
.note-link strong { font-weight: 500; }
.note-link:hover, .overview-link:hover { background: #ece8df; }
nav [aria-current="page"] { background: #f2e6b9; }
main { min-width: 0; padding: 48px 40px 36px; scroll-margin-top: 20px; }
main:focus, .detail:focus { outline: none; }
.board-title { margin: 0 0 32px; font-family: 'Kalam', cursive; font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.3; letter-spacing: -.5px; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.sticky { --note-paper: #f5e8a7; --tilt: -.7deg; position: relative; isolation: isolate; min-height: 220px; scroll-margin-top: 24px; transform: rotate(var(--tilt)); }
.sticky:nth-child(3n + 2) { --note-paper: #e3ead3; --tilt: .8deg; }
.sticky:nth-child(3n) { --note-paper: #edddd3; --tilt: -.4deg; }
.sticky::before, .sticky::after { content: ""; position: absolute; z-index: -1; bottom: 9px; width: 46%; height: 35%; background: #463c2838; filter: blur(7px); pointer-events: none; }
.sticky::before { left: 7px; transform: skewY(-6deg); }
.sticky::after { right: 7px; transform: skewY(6deg); }
.sticky a { display: block; height: 100%; padding: 30px 23px; text-decoration: none; color: var(--ink); background: linear-gradient(to bottom, #6e5b1710, #6e5b1705 24px, #ffffff16 25px, transparent 65%, #ffffff28), var(--note-paper); border-top: 1px solid #ffffff70; border-radius: 1px 1px 10px 2px / 1px 1px 3px 2px; box-shadow: 1px 3px 4px #302b1520, 4px 12px 14px -7px #302b1550, inset 0 -1px #ffffff55; }
.sticky h2 { margin: 0 0 18px; font-size: 23px; line-height: 1.2; letter-spacing: -.6px; font-weight: 700; }
.sticky p { margin: 0; font-size: 15px; line-height: 1.6; letter-spacing: -.1px; }
.sticky:hover, .sticky:focus-within { transform: translateY(-3px) rotate(0deg); }
.detail { max-width: 600px; min-height: 460px; padding: 0 12px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; text-decoration: none; margin-bottom: 70px; }
.back span { font-size: 30px; line-height: 20px; }
.detail h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.2; letter-spacing: -1px; margin: 0 0 24px; }
.detail p { font-size: 17px; color: var(--muted); line-height: 1.6; }
footer { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 40px; }
footer p { max-width: 340px; color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0 0 14px; }
footer a { display: block; width: fit-content; font-size: 14px; }
footer .company-link { margin-top: 16px; color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) { .board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .notebook { display: block; }
  .sidebar { padding: max(26px, env(safe-area-inset-top)) 22px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0 0 24px; }
  .folder { display: none; }
  nav { display: flex; overflow-x: auto; gap: 6px; padding: 5px; margin: -5px; }
  .note-link, .overview-link { white-space: nowrap; flex-shrink: 0; padding: 10px 12px; }
  main { padding: 28px 22px 36px; }
  .board { gap: 26px; }
  .sticky a { padding: 24px; }
  .detail { padding: 0; min-height: 360px; }
  .back { margin-bottom: 44px; }
}
@media (max-width: 480px) { .board { grid-template-columns: 1fr; } .sticky { min-height: 0; } .sticky a { padding: 26px; } }
@media (prefers-reduced-motion: no-preference) { .sticky { transition: transform .18s ease; } }
