:root {
  --paper: #ffffff;
  --ink: #0f1f33;
  --muted: #566174;
  --line: #e2dfd8;
  --green: #2448df;
  --pale: #e9edff;
  --blue: #3455ef;
  --coral: #ff715b;
  --yellow: #ffd447;
}
body {
  color: var(--ink);
  background: var(--paper);
}
.brand {
  font-family: Georgia, serif;
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -1px;
  color: var(--ink) !important;
  white-space: nowrap;
}
.brand img {
  flex-shrink: 0;
  object-fit: contain;
}
.sidebar {
  background: var(--paper);
  border-color: #dde2f5;
}
.sidebar .brand {
  font-size: 23px;
  gap: 4px;
}
.sidebar .brand-icon {
  width: 28px;
  height: 29px;
}
.primary,
button[type='submit'] {
  background: #2448df;
  color: #fff;
  border-color: #2448df;
}
.secondary {
  background: #e9edff;
  color: #1b39b8;
  border-color: #c8d0fc;
}
.quiet {
  color: #2543b2;
}
.eyebrow {
  color: #334cbb;
}
.badge,
.chip {
  border-radius: 20px;
}
.book-card {
  border-radius: 12px;
  overflow: hidden;
}
.public-page {
  background: var(--paper);
  color: var(--ink);
}
.public-nav a,
.public-footer a {
  color: #2543b2;
}
.public-nav {
  border-color: var(--line);
}
.public-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.parade-intro {
  min-height: 260px;
  padding: 25px 28px;
  margin-top: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  gap: 15px;
}
.parade-intro > div {
  flex: 1;
}
.parade-intro h1 {
  font-size: clamp(32px, 3.3vw, 54px);
  line-height: 1.06;
}
.parade-readers {
  width: 47%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 12px;
  mix-blend-mode: multiply;
}
.ai-coming {
  border: 1px solid #cbd4ff;
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ai-coming > span {
  background: #2949d5;
  color: #0f1f33;
  font:
    700 10px system-ui,
    sans-serif;
  letter-spacing: 1px;
  border-radius: 20px;
  padding: 7px 10px;
  white-space: nowrap;
}
.ai-coming p {
  margin: 0;
  color: #40506c;
  font-size: 13px;
  line-height: 1.6;
}
.ai-coming p strong {
  display: block;
  color: #0f1f33;
  font-size: 15px;
}
.ai-coming h2 {
  color: #0f1f33;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #3455ef;
  outline-offset: 3px;
}
body:has(#beta-form) {
  background: var(--paper);
  color: #0f1f33;
}
body:has(#beta-form) main {
  gap: 56px;
  align-items: start;
  margin-top: 22px;
}
body:has(#beta-form) .brand {
  font-size: 30px;
}
body:has(#beta-form) h1 {
  color: #0f1f33;
}
body:has(#beta-form) .lead,
body:has(#beta-form) .consent,
body:has(#beta-form) .fine {
  color: #33476a;
}
body:has(#beta-form) .eyebrow,
body:has(#beta-form) .label {
  color: #2944b5;
}
body:has(#beta-form) aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 12px;
  overflow: hidden;
}
body:has(#beta-form) .beta-readers {
  display: block;
  width: 100%;
  border-radius: 20px;
}
body:has(#beta-form) .beta-art-caption {
  padding: 20px 10px 5px;
}
body:has(#beta-form) .beta-art-caption > span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #2944b5;
}
body:has(#beta-form) aside p {
  font-size: 24px;
  margin: 13px 0;
  line-height: 1.3;
}
body:has(#beta-form) .ai-coming {
  display: block;
  background: white;
  border: 1px solid var(--line);
  margin: 10px 0 0;
  padding: 24px;
  text-align: left;
}
body:has(#beta-form) .ai-coming > span {
  display: inline-block;
}
body:has(#beta-form) .ai-coming h2 {
  font-size: 28px;
  line-height: 1.15;
  margin: 15px 0;
}
body:has(#beta-form) .ai-coming p {
  font:
    14px/1.65 system-ui,
    sans-serif;
  color: #33476a;
}
body:has(#beta-form) .entry button {
  background: #2448df;
}
body:has(#beta-form) .consent input {
  accent-color: #2448df;
}
body:has(#beta-form) input {
  border-color: #c8d0e3;
}
body:has(#beta-form) footer {
  flex-wrap: wrap;
}
body:has(#beta-form) footer a {
  color: #2543b2;
}
@media (max-width: 750px) {
  .parade-intro {
    padding: 24px 18px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .parade-readers {
    width: 100%;
    max-height: 260px;
  }
  .ai-coming {
    flex-direction: column;
    gap: 10px;
  }
  .sidebar .brand {
    font-size: 25px;
  }
  body:has(#beta-form) main {
    gap: 30px;
  }
  body:has(#beta-form) aside {
    max-width: 550px;
  }
  .brand img {
    width: 27px;
    height: 28px;
  }
  body:has(#beta-form) .brand {
    font-size: 24px;
  }
}

.welcome-hero {
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 36px;
}
.welcome-library-art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}
@media (max-width: 750px) {
  .welcome-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.contact-support {
  font: inherit;
  background: transparent !important;
  border: 0;
  padding: 0;
  color: #2543b2 !important;
  text-decoration: underline;
  cursor: pointer;
}
.contact-support:focus-visible {
  outline: 3px solid #3455ef;
  outline-offset: 4px;
}

.rating-star {
  display: inline-block;
  color: #cbd0df;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: 0;
}
.rating-star.full {
  color: #966500;
}
.rating-star.half {
  background: linear-gradient(90deg, #2949d5 50%, #cbd0df 50%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.personal-rating {
  display: flex;
  align-items: center;
  gap: 1px;
}
.personal-rating small {
  font: 12px system-ui;
  color: #33476a;
  margin-left: 5px;
}

.getting-started {
  width: min(680px, calc(100vw - 32px));
  border: 1px solid #cdd8ff;
  border-radius: 24px;
  padding: 30px;
  color: #102039;
  background: var(--paper);
}
.getting-started h2 {
  font-size: 30px;
  line-height: 1.15;
}
.getting-started progress {
  width: 100%;
  height: 10px;
  accent-color: #3455ef;
  margin-bottom: 12px;
}
.getting-step {
  background: #fff;
  margin: 10px 0;
  padding: 16px;
  border: 1px solid #dde4ff;
  border-radius: 14px;
}
.getting-step input {
  accent-color: #3455ef;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.getting-soon {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 14px;
  line-height: 1.6;
}
.getting-soon strong {
  color: #3455ef;
}
@media (max-width: 560px) {
  .getting-step {
    flex-wrap: wrap;
  }
  .getting-step span {
    min-width: 180px;
  }
  .getting-step button {
    margin-left: 34px;
  }
  .getting-started {
    padding: 20px;
  }
}

.about-bookmaestro {
  max-width: 1184px;
  margin: 32px auto 60px;
  padding: 36px 40px;
  background: var(--paper);
  border: 2px solid #8198ee;
  border-radius: 24px;
  color: #102039;
  width: calc(100% - 48px);
}
.about-bookmaestro h2 {
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 1.15;
  margin: 14px 0 22px;
}
.about-bookmaestro p {
  font-family: system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  max-width: 950px;
}
.about-bookmaestro .about-roadmap {
  padding-top: 18px;
  border-top: 1px solid #8198ee;
  font-size: 15px;
}
@media (max-width: 650px) {
  .about-bookmaestro {
    padding: 24px;
  }
  .about-bookmaestro h2 {
    font-size: 30px;
  }
}
