:root {
  --brand-ink: #0f1a33;
  --brand-muted: #33415c;
  --brand-navy: #112673;
  --brand-navy-hover: #1b3691;
  --brand-sky: #1397e1;
  --brand-link: #0b5e8d;
  --brand-link-hover: #107cb9;
  --brand-focus: #0f74ad;
  --brand-aqua: #83dece;
  --brand-mint: #e1f4f3;
  --brand-surface: #e9f3f5;
  --brand-blue-wash: #eef3fd;
  --brand-blue-soft: #dce5f8;
  --brand-sky-soft: #dcf0fc;
  --brand-line: #d6e4e9;
  --brand-border: #718093;
  --brand-paper: #fbfdfe;
  --brand-white: #fff;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-focus);
  outline-offset: 3px;
}
.site-footer a:focus-visible, footer a:focus-visible, .closing a:focus-visible {
  outline-color: var(--brand-aqua);
}
.book-cover-frame { display: contents; }
.product-stage--mockup {
  perspective: 860px;
  overflow: hidden;
  background: radial-gradient(ellipse at 37% 26%, var(--brand-paper) 0, var(--brand-mint) 50%, var(--brand-blue-soft) 100%);
}
.product-stage--mockup .book-cover-frame {
  isolation: isolate;
  display: block;
  position: relative;
  height: 82%;
  max-width: 76%;
  transform: rotateY(-16deg) rotateZ(-3deg);
  box-shadow: 10px 14px 20px #0f1a3340, 2px 3px 6px #0f1a3320;
  background: var(--brand-paper);
}
.product-stage--mockup .book-cover-frame::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2px;
  bottom: 1px;
  left: 100%;
  width: 11px;
  transform: skewY(-19deg);
  transform-origin: left bottom;
  border-radius: 0 3px 3px 0;
  background: repeating-linear-gradient(0deg, #eef3fd 0 2px, #d6e4e9 2px 3px);
  box-shadow: 4px 2px 4px #0f1a331f;
}
.product-stage--mockup .book-cover-frame img {
  display: block;
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 2px 1px 1px 2px;
}
.level-grid .level-card { align-items: stretch; }
.level-cover {
  width: min(100%, 10rem);
  align-self: center;
  margin-top: 14px;
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--cover-ratio);
  border-radius: 8px;
  background: var(--brand-surface);
}
.level-cover img {
  position: absolute;
  display: block;
  max-width: none;
  width: var(--cover-width);
  height: auto;
  left: var(--cover-left);
  top: var(--cover-top);
}
.level-card .card-body { align-items: flex-start; }
.level-card .card-body p { margin-bottom: 8px; }
@media(max-width:520px) {
  .level-grid.grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .level-cover { width: calc(100% - 18px); }
  .level-card .card-body h3 { font-size: 1.4rem; }
  .level-card .card-body .button { font-size: .75rem; padding-inline: 7px; }
}

.homepage-featured .card{display:flex;flex-direction:column}
.homepage-featured .card>div{flex:1;display:flex;flex-direction:column}
.homepage-featured .card img{object-fit:contain;background:var(--brand-blue-wash);padding:12px}
.homepage-featured .featured-buy{margin-top:auto;padding-top:6px}
.circle-cover{object-fit:contain!important;background:var(--brand-blue-wash);padding:10px}
.google-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.google-links .google-reviews{display:inline-flex;align-items:center;padding:7px 13px;min-height:42px;border:1px solid currentColor;border-radius:6px;text-decoration:none;font-weight:700}
footer>.google-links{width:min(100% - 38px,1184px);margin:14px auto 0;color:var(--brand-blue-wash)}
.site-footer>.google-links{margin:16px auto 0}
main .google-links{margin:0 0 18px;color:var(--brand-navy)}
.contact-area{margin-bottom:6px}
