/* Schoolbibliotheek: the app's own colours and typefaces, so site and app feel like one product. */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fraunces.7f9d191d99.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/nunito.ba344451ea.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --paper: #fffdf9;
  --sunken: #f5f1ea;
  --ink: #1f2a27;
  --muted: #5c6661;
  --line: #e5ddd0;
  --accent: #0f6e66;
  --accent-deep: #0a4a45;
  --accent-soft: #e2f0ec;
  --sun: #f2b43c;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(31 42 39 / 0.06), 0 12px 40px -12px rgb(31 42 39 / 0.18);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Nunito', ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  font-optical-sizing: auto;
}
p {
  margin: 0;
}
a {
  color: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: min(1180px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(780px, 100% - 32px);
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
}
.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus {
  top: 12px;
}

/* ---------------------------------------------------------------- buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px -10px rgb(15 110 102 / 0.7);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}
.button:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.button-ghost {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.button-ghost:hover {
  background: var(--sunken);
}
.button-light {
  background: var(--paper);
  color: var(--accent-deep);
  box-shadow: 0 10px 30px -12px rgb(0 0 0 / 0.5);
}
.button-light:hover {
  background: #fff;
}
.button-small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.95rem;
}

/* ---------------------------------------------------------------- header */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 253 249 / 0.86);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.top.scrolled {
  border-bottom-color: var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.25rem/1 var(--display);
}
.brand-mark {
  width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
  background: var(--sunken);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.lang:hover {
  color: var(--ink);
  background: var(--sunken);
}
@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .top-actions {
    margin-left: auto;
  }
}
@media (max-width: 520px) {
  .lang span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .brand {
    font-size: 1.1rem;
  }
}

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 88px) 0 clamp(80px, 10vw, 136px);
  background:
    radial-gradient(60% 70% at 85% 10%, rgb(226 240 236 / 0.95), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(242 180 60 / 0.16), transparent 70%), var(--paper);
}
.hero-inner {
  display: grid;
  justify-items: center;
}
.hero-text {
  max-width: 860px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.9rem;
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
}
.hero .lead {
  margin: 24px auto 0;
  max-width: 36em;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--muted);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 600;
}
.facts li,
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.facts .icon,
.checks .icon {
  margin-top: 0.25em;
  color: var(--accent);
}
.hero-visual {
  position: relative;
  width: min(1040px, 100%);
  margin-top: clamp(48px, 7vw, 80px);
  padding-left: clamp(24px, 6vw, 72px);
}
.window {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.window-bar {
  display: flex;
  gap: 7px;
  padding: 11px 14px;
  background: var(--sunken);
  border-bottom: 1px solid var(--line);
}
.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d9cfbf;
}
.hero-desk {
  box-shadow:
    0 2px 4px rgb(31 42 39 / 0.06),
    0 40px 90px -30px rgb(31 42 39 / 0.45);
}
.phone {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: clamp(120px, 22%, 220px);
  margin: 0;
  padding: 7px;
  border-radius: 32px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgb(31 42 39 / 0.6);
}
.phone img {
  border-radius: 26px;
}
.badge {
  position: absolute;
  right: -16px;
  top: 22%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: left;
  animation: float 6s ease-in-out infinite;
}
.badge .icon {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: #e6f4e9;
  color: #15803d;
}
.badge strong {
  display: block;
  font-family: var(--display);
}
.badge span {
  font-size: 0.9rem;
  color: var(--muted);
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 640px) {
  .badge {
    display: none;
  }
  .phone {
    bottom: -24px;
    border-radius: 22px;
    padding: 5px;
  }
  .phone img {
    border-radius: 18px;
  }
}

/* ---------------------------------------------------------------- strip */

.strip {
  background: var(--accent-deep);
  color: #e2f0ec;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-block: 0;
  padding: 34px 0;
  list-style: none;
}
.strip strong {
  display: block;
  color: #fff;
  font: 600 2rem/1.1 var(--display);
}
.strip span {
  font-size: 0.95rem;
}
@media (max-width: 760px) {
  .strip-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------------------------------------------------------- sections */

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}
.section-sunken {
  background: var(--sunken);
}
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.kicker {
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head h2,
.narrow > h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}
.section-head h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 6px;
  margin: 22px auto 0;
  border-radius: 3px;
  background: var(--sun);
}
.section-head .lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* features */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.feature + .feature {
  margin-top: clamp(56px, 8vw, 112px);
}
.feature-flip .feature-text {
  order: 2;
}
.feature h3 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.feature-text > p:not(.kicker) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}
.checks {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-flip .feature-text {
    order: 0;
  }
}

.more-title {
  margin: clamp(72px, 9vw, 120px) 0 28px;
  text-align: center;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.card {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(31 42 39 / 0.05);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-shot {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sunken);
  border: 1px solid var(--line);
}
.card-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.card h4 {
  margin: 18px 6px 0;
  font-size: 1.25rem;
}
.card p {
  margin: 8px 6px 0;
  color: var(--muted);
  font-size: 0.98rem;
}
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
.orgs {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 32px;
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--accent-soft);
}
.orgs h3 {
  font-size: 1.5rem;
}
.orgs p {
  color: var(--accent-deep);
}
@media (max-width: 760px) {
  .orgs {
    grid-template-columns: 1fr;
  }
}

/* video */
.video {
  max-width: 920px;
  margin: 0 auto;
}
.play,
.soon,
.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
  border: 0;
}
.video figcaption {
  max-width: 44em;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}
.play,
.soon {
  position: relative;
  display: grid;
  /* Below the title on the webinar's still, not over it. */
  place-items: end center;
  padding-bottom: 7% !important;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  color: #fff;
}
.soon {
  cursor: default;
}
.play img,
.soon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.play-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--accent);
  font: 700 1.05rem var(--body);
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / 0.6);
  transition: transform 160ms ease;
}
.play:hover .play-button {
  transform: scale(1.04);
}
.soon p {
  position: relative;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgb(31 42 39 / 0.75);
  font-weight: 700;
}
.video .small {
  margin-top: 10px;
  text-align: center;
}

/* privacy */
.section-dark {
  background:
    radial-gradient(70% 80% at 15% 0%, #1a8a80 0%, transparent 60%),
    linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #e2f0ec;
}
.section-dark .kicker {
  color: var(--sun);
}
.section-dark h2 {
  color: #fff;
}
.privacy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.privacy li {
  padding: 26px;
  border-radius: var(--radius);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.14);
}
.privacy h3 {
  color: #fff;
  font-size: 1.3rem;
}
.privacy p {
  margin-top: 8px;
}
@media (max-width: 900px) {
  .privacy {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .privacy {
    grid-template-columns: 1fr;
  }
}

/* prices */
.prices {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
  align-items: start;
}
.price {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.price-main {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}
.price h3 {
  font-size: 1.5rem;
}
.amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.amount strong {
  font: 600 3.4rem/1 var(--display);
  color: var(--accent-deep);
}
.amount span {
  color: var(--muted);
  font-weight: 600;
}
.price .button {
  margin-top: 10px;
}
.price p:not(.amount):not(.small) {
  color: var(--muted);
}
@media (max-width: 760px) {
  .prices {
    grid-template-columns: 1fr;
  }
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font: 600 1.4rem var(--display);
}
.steps h3 {
  font-size: 1.3rem;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
}
.needs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  align-items: baseline;
  justify-content: center;
  margin-top: 36px;
}
.needs h3 {
  font-size: 1.2rem;
}
.needs .checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* faq */
.faq {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font: 600 1.2rem/1.3 var(--display);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--accent);
  font: 400 1.6rem/1 var(--body);
  transition: transform 200ms ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 4px 24px;
  color: var(--muted);
  max-width: 44em;
}

/* closing call to action */
.cta {
  padding: clamp(64px, 9vw, 112px) 0;
  background:
    radial-gradient(60% 90% at 85% 0%, #1a8a80 0%, transparent 65%),
    linear-gradient(150deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #e2f0ec;
  text-align: center;
}
.cta h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
.cta p {
  margin: 16px 0 32px;
  font-size: 1.2rem;
}

/* footer */
.footer {
  padding: 56px 0 36px;
  background: var(--ink);
  color: #c9d2ce;
}
.footer .brand {
  color: #fff;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}
.footer-inner p {
  margin-top: 12px;
}
.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer a {
  color: #fff;
}
.footer-links a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-note {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  color: #9aa5a0;
}
@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* appear on scroll (only when JavaScript runs; content stays visible without it) */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
