/* Sitewide notebook shell — all public pages */
.hn-shell {
  --gutter: 26px;
  --paper: #fffdf7;
  --rule: #c5d9ee;
  --red: #e45b6a;
  --ink: #1e1830;
  --muted: #5d5a6a;
  --purple: #6f63c7;
  --yellow: #ffe56a;
  --orange: #e07a32;
  background-color: var(--paper) !important;
  background-image:
    linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% - var(--gutter)),
      var(--red) calc(100% - var(--gutter)),
      var(--red) calc(100% - var(--gutter) + 2px),
      transparent calc(100% - var(--gutter) + 2px)
    ),
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px) !important;
  color: var(--ink);
  overflow-x: hidden;
}
@media (max-width: 980px) {
  .hn-shell { --gutter: 14px; }
}

/* Soften default dark UI cards on notebook paper */
.hn-shell main,
.hn-shell .jz-page {
  position: relative;
  z-index: 1;
}
.hn-shell .jz-page {
  background: transparent !important;
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.hn-shell .jz-sheet {
  background: rgba(255, 253, 247, .92) !important;
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(197, 217, 238, .35) 31px 32px) !important;
  border: 2px dashed #d5cfe8 !important;
  border-radius: 16px 20px 14px 18px !important;
  box-shadow: 0 8px 22px rgba(70, 55, 100, .06) !important;
}
.hn-shell .jz-title {
  font-family: Gandom, Tahoma, sans-serif !important;
  background: linear-gradient(transparent 48%, rgba(255, 229, 106, .85) 48%, rgba(255, 229, 106, .85) 92%, transparent 92%);
  display: inline;
  padding: 0 .12em;
}
.hn-shell .jz-lead,
.hn-shell .jz-kicker b {
  font-family: Gandom, Tahoma, sans-serif;
}
.hn-shell .jz-body strong,
.hn-shell .jz-mark {
  background: linear-gradient(transparent 55%, var(--yellow) 55%) !important;
}

/* Course listing / generic cards on notebook */
.hn-shell .bg-gradient-to-l.from-secondary {
  background: rgba(255, 245, 154, .55) !important;
  border: 2px dashed #e0c64a !important;
  border-radius: 18px !important;
}
.hn-shell .bg-secondary {
  background: rgba(255, 255, 255, .72) !important;
}
.hn-shell .rounded-2xl.bg-background,
.hn-shell .rounded-3xl.bg-background,
.hn-shell .rounded-b-3xl.bg-background {
  background: rgba(255, 253, 247, .9) !important;
  border: 1.5px solid #e6e0f0;
  box-shadow: 0 6px 16px rgba(70, 55, 100, .05);
}
.hn-shell .text-primary {
  color: var(--purple) !important;
}
.hn-shell .font-black,
.hn-shell .font-bold {
  font-family: Gandom, Tahoma, sans-serif;
}

/* Consulting page on notebook */
.hn-shell .bf-consult-page,
.hn-shell .bf-c-hero {
  background: transparent !important;
}
.hn-shell .bf-c-hero-copy h1 {
  font-family: Gandom, Tahoma, sans-serif;
  background: linear-gradient(transparent 48%, rgba(255, 229, 106, .8) 48%);
  display: inline;
}
.hn-shell .bf-c-fact,
.hn-shell .bf-c-card,
.hn-shell .bf-consult-card {
  background: rgba(255, 253, 247, .92) !important;
  border: 2px dashed #d5cfe8 !important;
  border-radius: 16px !important;
}

/* Decorative page stickers (optional hooks) */
.hn-shell-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 72px;
  opacity: .9;
}
.hn-shell-deco.d1 { top: 110px; left: 18px; transform: rotate(-8deg); }
.hn-shell-deco.d2 { top: 160px; right: 36px; width: 56px; transform: rotate(10deg); }

@media (max-width: 900px) {
  .hn-shell-deco { display: none; }
}
