/* The lesson, in motion: a midnight studio and clear white product chapters. */

.quizzia-landing {
  --q-ink: var(--brand-ink);
  --q-blue: var(--brand-primary);
  --q-mint: #74f5d1;
  --q-paper: #fff;
  --q-muted: var(--brand-muted);
  background: #fff;
  color: var(--q-ink);
}

[dir="rtl"] .quizzia-landing {
  font-family: QuizziaCairo, Tahoma, sans-serif;
}

.quizzia-landing * {
  box-sizing: border-box;
}

.quizzia-landing section[id], .quizzia-landing #features {
  scroll-margin-top: 95px;
}

.q-wrap {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}

.quizzia-landing .lp-navbar {
  height: 80px !important;
  background: #ffffffed;
  border-bottom: 1px solid #dce6f6;
  backdrop-filter: blur(20px);
  overflow: visible;
}

.quizzia-landing .lp-navbar .container {
  max-width: 1280px;
}

.quizzia-landing .lp-navbar .navbar-brand img {
  width: 122px;
}

.quizzia-landing .lp-navbar .nav-link {
  color: #526b8c;
  font-size: 13px;
}

.quizzia-landing .lp-navbar .nav-link:hover {
  background: #edf3ff;
  color: #2d5be3;
}

.quizzia-landing .lp-navbar .btn-login {
  background: #2d5be3;
  border: 1px solid #2d5be3;
  border-radius: 9px;
}

.quizzia-landing .navbar-toggler {
  filter: none;
}

.q-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  margin-bottom: 22px;
}

.q-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--q-mint);
  border-radius: 50%;
  box-shadow: 0 0 15px #74f5d170;
}

.q-hero {
  position: relative;
  background: #f0f5ff;
  color: var(--q-ink);
  overflow: hidden;
  isolation: isolate;
}

.q-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 24% 40%, #bad0ff45, transparent 48%), radial-gradient(ellipse at 90% 0, #dde9ff88, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.q-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 45px;
  align-items: center;
}

.q-hero-copy {
  position: relative;
  z-index: 3;
}

.q-hero .q-eyebrow {
  color: #3864a3;
}

.q-hero h1 {
  font-weight: 850;
  letter-spacing: -1.7px;
  color: var(--q-ink);
  margin: 0 0 25px;
}

.q-hero h1 span {
  color: #2d5be3;
}

.q-lead {
  font-size: 16px;
  line-height: 2.1;
  color: var(--q-muted);
  max-width: 550px;
}

.q-hero .q-lead {
  color: #526b8c;
}

.q-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 31px;
}

.q-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 16px 26px;
  border: 1px solid #ffffff20;
  border-radius: 10px;
  color: #fff;
  background: var(--q-blue);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 8px 30px #3264ff24;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.q-button:hover {
  color: white;
  background: #214df0;
  transform: translateY(-3px);
  box-shadow: 0 10px 35px #3264ff45;
}

.q-button>span {
  font-size: 23px;
}

.q-text-link {
  color: var(--q-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.q-text-link:hover {
  color: var(--q-blue);
}

.q-hero .q-text-link {
  color: #315ca0;
}

.q-hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #56708f;
  font-size: 11px;
}

.q-hero-promises span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.q-hero-promises i {
  color: #17836b;
  font-size: 9px;
}

.q-scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #56708f;
  font-size: 10px;
  gap: 9px;
  text-decoration: none;
  padding-bottom: 28px;
}

.q-scroll-cue span {
  border: 1px solid #b9cdec;
  border-radius: 20px;
  padding: 5px 8px;
  color: #4b70aa;
  animation: q-scroll 2s ease-in-out infinite;
}

.q-hero-bottom {
  border-top: 1px solid #d4e0f4;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding-block: 25px;
}

.q-hero-bottom>span {
  color: #56708f;
  font-size: 9px;
  letter-spacing: 2px;
}

.q-hero-bottom>div {
  font-size: 12px;
  color: #526d91;
  display: flex;
  gap: 24px;
}

.q-hero-bottom b {
  color: #7c97bf;
}

/* CSS 3D: extruded textbook, paper edges, orbital planes and floating outcomes. */

.q-universe {
  height: 500px;
  position: relative;
  perspective: 1100px;
  direction: ltr;
}

.q-scene-camera {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-y,0deg)) rotateY(var(--tilt-x,0deg));
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.q-book-object {
  width: 214px;
  height: 285px;
  position: absolute;
  top: 85px;
  left: calc(50% - 107px);
  transform-style: preserve-3d;
  transform: rotateX(15deg) rotateY(var(--book-y, -28deg)) rotateZ(var(--book-z, -12deg));
  animation: q-book-drift 7s ease-in-out infinite;
}

.q-book-cover {
  position: absolute;
  inset: 0;
  border-radius: 6px 15px 15px 6px;
  background: linear-gradient(135deg,#426dff,#2443bd 70%,#14275d);
  transform: translateZ(22px);
  border: 1px solid #8cafff70;
  padding: 24px;
  color: #fff;
  box-shadow: inset 6px 0 10px #183f8d25, 20px 25px 45px #395b8d24;
  overflow: hidden;
}

.q-book-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,transparent 20%,#ffffff15 48%,transparent 70%);
}

.q-book-pages {
  position: absolute;
  inset: 6px 0 0 3px;
  background: repeating-linear-gradient(0deg,#d7dfed 0 1px,#f6f8ff 1px 3px);
  border-radius: 5px 13px 13px 5px;
  transform: translateZ(-12px);
  box-shadow: 0 24px 50px #395b8d24;
}

.q-book-pages::after {
  content: "";
  position: absolute;
  top: 2px;
  right: -17px;
  width: 34px;
  bottom: 1px;
  background: repeating-linear-gradient(90deg,#c3cede 0 1px,#edf1fa 1px 3px);
  transform: rotateY(90deg);
  border-radius: 0 7px 7px 0;
}

.q-book-spine {
  position: absolute;
  width: 35px;
  height: 285px;
  left: -17px;
  top: 0;
  transform: rotateY(-90deg) translateZ(0px);
  background: linear-gradient(90deg,#152557,#3154ca);
  color: #9bb4ff;
  font-size: 8px;
  writing-mode: vertical-rl;
  padding: 20px 10px;
  border: 1px solid #6681d980;
}

.q-cover-brand {
  position: relative;
  font-size: 26px;
  font-weight: 900;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.q-cover-brand>span {
  color: #a4fbe5;
  font-size: 20px;
}

.q-cover-title {
  position: absolute;
  right: 24px;
  left: 24px;
  font-weight: 800;
  direction: rtl;
  text-align: right;
}

[dir="ltr"] .q-cover-title {
  direction: ltr;
  text-align: left;
  font-size: 21px;
}

.q-book-cover>small {
  position: absolute;
  left: 24px;
  color: #a5bcff;
}

.q-orbit {
  position: absolute;
  border: 1px solid #7291ff35;
  border-radius: 50%;
  width: 460px;
  height: 460px;
  top: 16px;
  left: calc(50% - 230px);
  transform: rotateX(64deg) rotateZ(-22deg);
  pointer-events: none;
}

.q-orbit::after {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: 60px;
  top: 68px;
  background: var(--q-mint);
  border-radius: 50%;
  box-shadow: 0 0 25px #74f5d1;
}

.q-orbit-b {
  width: 380px;
  height: 380px;
  left: calc(50% - 190px);
  top: 55px;
  transform: rotateY(62deg) rotateZ(25deg);
  border-color: #7291ff25;
}

.q-orbit-b::after {
  background: #678cff;
}

.q-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg,#fff,#eaf0ff);
  color: var(--q-ink);
  border: 1px solid #fff9;
  box-shadow: 0 14px 30px #4969991c, inset 0 -4px 0 #bbc9e54d;
  direction: rtl;
  animation: q-card-float 6s ease-in-out infinite;
  z-index: 2;
}

[dir="ltr"] .q-float-card {
  direction: ltr;
}

.q-float-card small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: #7889a6;
  margin-bottom: 5px;
  direction: ltr;
}

.q-float-card strong {
  font-size: 13px;
  white-space: nowrap;
  font-weight: 800;
}

.q-float-icon {
  display: grid;
  place-items: center;
  width: 37px;
  height: 40px;
  border-radius: 10px;
  background: #e1e9ff;
  color: #3264ff;
  font-size: 16px;
  flex-shrink: 0;
}

.q-float-homework {
  top: 35px;
  right: -3px;
  transform: rotate(7deg) translateZ(70px);
  --float-turn: 7deg;
}

.q-card-check {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  background: #74f5d1;
  border-radius: 50%;
  margin-inline-start: 4px;
}

.q-float-exam {
  top: 228px;
  left: -12px;
  transform: rotate(-8deg) translateZ(100px);
  --float-turn: -8deg;
  animation-delay: -2s;
}

.q-float-progress {
  bottom: 42px;
  right: -8px;
  transform: rotate(4deg) translateZ(120px);
  --float-turn: 4deg;
  animation-delay: -4s;
}

.q-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
  padding: 3px;
}

.q-mini-chart i {
  width: 7px;
  background: #3264ff;
  border-radius: 3px 3px 0 0;
  height: 45%;
}

.q-mini-chart i:nth-child(2) {
  height: 70%;
}

.q-mini-chart i:nth-child(3) {
  height: 55%;
}

.q-mini-chart i:nth-child(4) {
  height: 100%;
  background: #11b995;
}

.q-float-cube {
  position: absolute;
  bottom: 65px;
  left: 95px;
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border-radius: 13px;
  color: #154645;
  font-size: 30px;
  background: linear-gradient(135deg,#b0ffe8,#29cfa9);
  transform: rotate(-15deg) translateZ(40px);
  box-shadow: -5px 6px 0 #179f87, 0 12px 24px #517fa51c;
}

.q-scene-caption {
  position: absolute;
  bottom: -1px;
  width: 100%;
  text-align: center;
  font-size: 9px;
  color: #587294;
}

/* Interactive editorial chapter: one example, three outcomes. */

.q-journey {
  padding-block: 110px;
}

.q-section-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: end;
  column-gap: 70px;
  margin-bottom: 48px;
}

.q-section-heading .q-eyebrow {
  grid-column: 1/-1;
  color: var(--q-blue);
}

.q-section-heading h2, .q-centers h2 {
  font-size: clamp(30px,3.5vw,46px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: -.7px;
  margin-bottom: 0;
  color: var(--q-ink);
}

.q-section-heading h2 span {
  color: #7f8ba1;
}

.q-section-heading>p:last-child {
  font-size: 15px;
  color: #6c7991;
  line-height: 2;
  max-width: 380px;
  margin-bottom: 8px;
}

.q-workflow {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: 55px;
  align-items: center;
}

.q-workflow-controls {
  display: grid;
  gap: 13px;
}

.q-workflow-button {
  width: 100%;
  background: #fff;
  border: 1px solid transparent;
  border-bottom-color: #e9edf5;
  display: flex;
  gap: 19px;
  align-items: center;
  padding: 25px 22px;
  text-align: start;
  border-radius: 12px;
  color: var(--q-ink);
  transition: background .25s, box-shadow .25s, transform .25s;
}

.q-workflow-button.is-active {
  background: #f1f5ff;
  border-color: #dbe4ff;
  box-shadow: 0 10px 24px #2146b108;
}

.q-workflow-button:hover {
  transform: translateY(-2px);
  background: #f7f9ff;
}

.q-step-number {
  font-size: 12px;
  color: #8796af;
  font-weight: 700;
}

.q-workflow-button.is-active .q-step-number {
  color: var(--q-blue);
}

.q-workflow-button strong {
  display: block;
  font-size: 19px;
  line-height: 1.7;
}

.q-workflow-button small {
  display: block;
  font-size: 12px;
  line-height: 1.9;
  margin-top: 7px;
  color: #74829a;
}

.q-step-arrow {
  margin-inline-start: auto;
  color: #a8b5cc;
  font-size: 22px;
}

.q-workflow-button.is-active .q-step-arrow {
  color: var(--q-blue);
}

.q-workflow-stage {
  border-radius: 24px;
  background: #edf2ff;
  padding: 25px 30px 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid #e5ebf8;
}

.q-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7785a0;
  font-size: 9px;
  margin-bottom: 26px;
}

.q-stage-top>span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.q-stage-top .q-dot {
  background: var(--q-blue);
  width: 5px;
  height: 5px;
}

.q-workflow-panel[hidden] {
  display: none;
}

.q-workflow-panel:not([hidden]) {
  animation: q-panel-in .45s cubic-bezier(.2,.8,.2,1) both;
}

.q-demo-sheet {
  background: white;
  border-radius: 13px;
  padding: 25px;
  box-shadow: 0 20px 35px #244ca412, 0 4px 0 #d9e2f4;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
}

.q-sheet-label {
  display: flex;
  justify-content: space-between;
  color: #647ba7;
  font-size: 10px;
  border-bottom: 1px solid #eef1f6;
  padding-bottom: 15px;
}

.q-demo-sheet h3 {
  font-weight: 800;
  font-size: 23px;
  margin: 20px 0 13px;
  line-height: 1.8;
}

.q-demo-sheet>p {
  font-size: 13px;
  color: #6b7b94;
  line-height: 1.9;
}

.q-answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-block: 20px;
}

.q-answer-grid>span {
  font-size: 12px;
  padding: 12px;
  background: #f7f9fc;
  border: 1px solid #edf0f5;
  border-radius: 7px;
}

.q-answer-grid .q-answer-selected {
  background: #e8faf4;
  border-color: #a9e6d4;
  color: #13775a;
}

.q-answer-selected i {
  font-size: 9px;
  margin-inline-end: 5px;
}

.q-sheet-foot {
  color: #8b98ad;
  font-size: 9px;
  border-top: 1px dashed #dce4f2;
  padding-top: 15px;
  line-height: 1.8;
}

.q-panel-caption {
  padding-top: 28px;
}

.q-panel-caption strong {
  font-size: 17px;
}

.q-panel-caption p {
  color: #6d7d96;
  font-size: 12px;
  line-height: 2;
  margin: 8px 0 0;
}

.q-exam-scene {
  min-height: 270px;
  perspective: 800px;
  display: grid;
  place-items: center;
  position: relative;
}

.q-exam-paper {
  width: 210px;
  min-height: 255px;
  padding: 24px;
  background: white;
  border-radius: 10px;
  transform: rotateY(-15deg) rotateZ(-7deg);
  box-shadow: 7px 7px 0 #d0dbf0, 14px 14px 0 #dce5f7, 0 20px 35px #29488020;
}

.q-exam-paper>span {
  display: block;
  font-size: 7px;
  color: #7b8cac;
  letter-spacing: 1px;
}

.q-exam-paper>i {
  display: block;
  margin-top: 21px;
  color: var(--q-blue);
  font-size: 31px;
}

.q-exam-paper h3 {
  font-size: 17px;
  line-height: 1.8;
  font-weight: 800;
  margin-block: 12px;
}

.q-paper-rule {
  height: 5px;
  background: #e9edf7;
  margin-bottom: 7px;
  border-radius: 3px;
}

.q-paper-rule:nth-last-of-type(1) {
  width: 60%;
}

.q-exam-paper>b {
  display: inline-block;
  font-size: 9px;
  background: #ecf1ff;
  color: #3264ff;
  padding: 5px 10px;
  margin-top: 12px;
  border-radius: 4px;
}

.q-online-chip {
  position: absolute;
  bottom: 6px;
  inset-inline-end: 15px;
  background: #3264ff;
  color: #fff;
  padding: 14px 20px;
  font-size: 12px;
  border-radius: 10px;
  box-shadow: 0 10px 25px #3264ff30;
}

.q-progress-demo {
  min-height: 280px;
  padding: 27px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 10px 30px #29488012;
}

.q-progress-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.q-progress-heading h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

.q-skill-row {
  margin-block: 20px;
}

.q-skill-row>span {
  font-size: 12px;
  color: #687b9b;
}

.q-skill-row>div {
  height: 10px;
  border-radius: 5px;
  background: #edf2fb;
  margin-top: 10px;
  overflow: hidden;
}

.q-skill-row i {
  display: block;
  width: var(--bar);
  height: 100%;
  background: #3264ff;
  border-radius: inherit;
  animation: q-bar-in .8s ease-out;
}

.q-skill-row:nth-child(3) i {
  background: #92acf8;
}

.q-insight {
  padding: 12px;
  background: #eafaf5;
  color: #25775f;
  font-size: 10px;
  border-radius: 7px;
  line-height: 1.8;
}

.q-insight>span {
  margin-inline-end: 5px;
}

/* A center's connected team, on an isometric plane. */

.q-centers {
  background: #edf4ff;
  padding-block: 90px 65px;
  color: var(--q-ink);
  overflow: hidden;
  position: relative;
}

.q-center-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.q-centers .q-eyebrow {
  color: #2d5be3;
}

.q-centers h2 {
  color: var(--q-ink);
}

.q-centers h2 span {
  color: #2d5be3;
}

.q-centers .q-lead {
  color: #526b8c;
  font-size: 15px;
  margin-top: 24px;
}

.q-button-mint {
  background: #3264ff;
  color: white;
  margin-top: 14px;
}

.q-center-features {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  margin-top: 55px;
  border-top: 1px solid #cfddf2;
  padding-top: 38px;
}

.q-center-features article {
  border-inline-end: 1px solid #cfddf2;
  padding-inline-end: 20px;
}

.q-center-features article:last-child {
  border: 0;
}

.q-center-features i {
  font-size: 20px;
  color: #3767ce;
  margin-bottom: 18px;
}

.q-center-features h3 {
  font-size: 17px;
  color: var(--q-ink);
  font-weight: 750;
  line-height: 1.8;
}

.q-center-features p {
  color: #526b8c;
  font-size: 12px;
  line-height: 1.95;
  margin: 0;
}

/* Consistent supporting sections and existing working signup. */

.quizzia-landing .pricing-section, .quizzia-landing .register-section, .quizzia-landing .faq-section {
  padding: 85px max(30px,calc((100% - 1200px)/2));
  overflow: visible;
  background: white;
}

.quizzia-landing .text-section {
  gap: 8px;
  margin-bottom: 34px;
}

.quizzia-landing .section-title {
  color: var(--q-ink);
  line-height: 1.7;
  font-weight: 800;
}

.quizzia-landing .text-section .section-subtitle {
  line-height: 1.95;
  margin: 0;
  max-width: 650px;
  font-size: 14px;
}

.quizzia-landing .pricing-section .cards-section {
  align-items: stretch;
  gap: 20px;
  margin-top: 14px;
}

.quizzia-landing .pricing-card {
  background: #fff;
  border-radius: 17px;
  padding: 40px 28px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 35px #18295506;
  min-width: 0;
  border-color: #e4eaf4;
}

.quizzia-landing .pricing-card.featured {
  border: 1px solid #3264ff !important;
  transform: none;
  background: #f5f8ff;
  box-shadow: 0 12px 35px #3264ff10;
}

.quizzia-landing .pricing-card .btn-pricing-primary, .quizzia-landing .pricing-card .btn-pricing-outline {
  border-radius: 9px;
  margin-top: 24px;
  font-size: 13px;
}

.quizzia-landing .pricing-card .pricing-price-sub {
  line-height: 1.8;
}

.q-pricing-center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 25px 30px;
  background: #f1f5ff;
  border: 1px solid #e4eaff;
  border-radius: 14px;
  margin-top: 25px;
}

.q-pricing-center strong {
  font-size: 16px;
}

.q-pricing-center p {
  font-size: 12px;
  color: #71809a;
  margin: 7px 0 0;
  line-height: 1.9;
}

.q-pricing-center a {
  white-space: nowrap;
}

.quizzia-landing .register-section {
  background: #f7f9ff;
}

.quizzia-landing .content-section {
  overflow: visible;
  gap: 55px;
  max-width: 1200px;
}

.quizzia-landing .register-form-card {
  border: 1px solid #e3eaf7;
  border-radius: 18px;
  box-shadow: 0 15px 40px #1c346509;
}

.quizzia-landing .form-tab-btn {
  min-height: 52px;
}

.quizzia-landing .btn-register {
  border-radius: 9px;
  background: var(--q-blue);
}

.quizzia-landing .register-benefit-list {
  padding-inline-start: 0;
}

.quizzia-landing .benefits-heading h3 {
  line-height: 1.8;
}

.quizzia-landing .faq-inner {
  max-width: 850px;
}

.quizzia-landing .faq-item {
  border-radius: 0;
  background: white;
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid #e4eaf4;
  margin: 0;
}

.quizzia-landing .faq-item[open] {
  border-bottom-color: #9cb3ff;
}

.quizzia-landing .faq-question {
  font-size: 15px;
  line-height: 1.9;
  padding: 23px 5px;
}

.quizzia-landing .faq-answer {
  font-size: 13px;
  line-height: 2;
  padding: 0 5px 23px;
}

.q-final {
  padding-block: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.q-final::before, .q-final::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border: 1px solid #87a9ea2e;
  border-radius: 50%;
  top: -100px;
  left: -170px;
  pointer-events: none;
}

.q-final::after {
  left: auto;
  right: -150px;
  top: 50px;
  width: 500px;
  height: 500px;
}

.q-final .q-eyebrow {
  justify-content: center;
  font-size: 10px;
}

.q-final h2 {
  line-height: 1.6;
  font-weight: 850;
  color: var(--q-ink);
}

.q-final>div>p:not(.q-eyebrow) {
  font-size: 14px;
  color: #526b8c;
  line-height: 1.9;
}

.q-final .q-actions {
  justify-content: center;
}

.q-final .q-button {
  background: #2d5be3;
  color: #fff;
}

.q-final .q-text-link {
  color: #315ca0;
}

.quizzia-landing .lp-footer {
  background: #edf4ff;
}

.quizzia-landing .lp-footer .brand-tagline {
  max-width: 330px;
  line-height: 1.95;
  font-size: 12px;
}

.quizzia-landing a:focus-visible, .quizzia-landing button:focus-visible, .quizzia-landing summary:focus-visible {
  outline: 3px solid #7395ff;
  outline-offset: 5px;
}

.q-skip-link {
  position: fixed;
  top: 8px;
  inset-inline-start: 12px;
  background: #fff;
  color: var(--q-ink);
  padding: 12px 20px;
  z-index: 2000;
  transform: translateY(-180%);
  border-radius: 8px;
}

.q-skip-link:focus {
  transform: translateY(0);
}

.q-reveal {
  opacity: 1;
  transform: none;
}

@keyframes q-book-drift {
  0%, 100% {
    transform: rotateX(15deg) rotateY(var(--book-y, -28deg)) rotateZ(var(--book-z, -12deg)) translateY(0);
  }

  50% {
    transform: rotateX(12deg) rotateY(var(--book-y-peak, -20deg)) rotateZ(var(--book-z-peak, -9deg)) translateY(-14px);
  }
}

@keyframes q-card-float {
  0%, 100% {
    transform: rotate(var(--float-turn)) translateY(0) translateZ(80px);
  }

  50% {
    transform: rotate(var(--float-turn)) translateY(-10px) translateZ(80px);
  }
}

@keyframes q-scroll {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

@keyframes q-panel-in {
  from {
    opacity: .5;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes q-bar-in {
  from {
    width: 0;
  }

  to {
    width: var(--bar);
  }
}

@media(max-width:1100px) {
  .q-wrap {
    width: calc(100% - 56px);
  }

  .q-hero-grid {
    gap: 20px;
  }

  .q-hero h1 {
    font-size: 48px;
  }

  .q-universe {
    transform: scale(.88);
    transform-origin: center;
  }

  .q-float-homework {
    right: -20px;
  }

  .q-float-exam {
    left: -25px;
  }

  .q-workflow {
    gap: 25px;
  }

  .q-workflow-button {
    padding: 24px 16px;
  }

  .q-workflow-button strong {
    font-size: 17px;
  }
}

@media(max-width:991px) {
  .quizzia-landing .lp-navbar {
    height: auto !important;
    min-height: 70px;
  }

  .quizzia-landing .lp-navbar .navbar-collapse {
    padding-block: 15px;
  }

  .q-hero-grid {
    min-height: 570px;
    padding-block: 35px;
  }

  .q-hero h1 {
    font-size: 39px;
    letter-spacing: -.7px;
  }

  .q-hero .q-lead {
    font-size: 14px;
  }

  .q-universe {
    transform: scale(.76);
  }

  .q-hero-bottom>div {
    gap: 12px;
    font-size: 11px;
  }

  .q-workflow {
    grid-template-columns: .9fr 1.2fr;
    gap: 20px;
  }

  .q-workflow-stage {
    padding: 22px;
  }

  .q-workflow-button {
    gap: 12px;
  }

  .q-workflow-button strong {
    font-size: 15px;
  }

  .q-workflow-button small {
    font-size: 11px;
  }

  .q-section-heading {
    gap: 20px;
  }

  .q-center-grid {
    gap: 20px;
  }

  .q-center-features {
    gap: 20px;
  }

  .q-center-features h3 {
    font-size: 15px;
  }

  .quizzia-landing .pricing-section .cards-section {
    max-width: 600px;
  }

  .quizzia-landing .content-section {
    grid-template-columns: 1fr;
    max-width: 640px;
  }

  .q-pricing-center {
    max-width: 600px;
  }
}

@media(max-width:720px) {
  .q-wrap {
    width: calc(100% - 40px);
  }

  .q-hero-grid {
    grid-template-columns: 1fr;
    padding-block: 35px 0;
    gap: 0;
  }

  .q-hero h1 {
    font-size: 43px;
    line-height: 1.5;
  }

  .q-hero .q-eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }

  .q-hero .q-lead {
    font-size: 14px;
    line-height: 2;
  }

  .q-actions {
    gap: 20px;
    margin-top: 25px;
  }

  .q-button {
    font-size: 13px;
    padding: 14px 20px;
  }

  .q-hero-promises {
    font-size: 10px;
    margin-top: 22px;
  }

  .q-universe {
    height: 450px;
    transform: none;
    margin: 10px -4px 0;
  }

  .q-book-object {
    width: 175px;
    height: 240px;
    left: calc(50% - 87px);
    top: 85px;
  }

  .q-book-spine {
    height: 240px;
  }

  .q-cover-title {
    font-size: 20px;
    bottom: 40px;
  }

  .q-book-cover {
    padding: 18px;
  }

  .q-book-cover>small {
    left: 18px;
    font-size: 6px;
  }

  .q-cover-brand {
    font-size: 22px;
  }

  .q-float-card {
    padding: 12px;
    gap: 8px;
  }

  .q-float-card strong {
    font-size: 11px;
  }

  .q-float-card small {
    font-size: 6px;
  }

  .q-float-icon {
    width: 29px;
    height: 33px;
    font-size: 13px;
  }

  .q-float-homework {
    top: 35px;
    right: 0;
  }

  .q-float-exam {
    top: 225px;
    left: 0;
  }

  .q-float-progress {
    right: 0;
    bottom: 32px;
  }

  .q-float-cube {
    left: 58px;
    bottom: 48px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .q-orbit {
    width: 340px;
    height: 340px;
    left: calc(50% - 170px);
    top: 45px;
  }

  .q-orbit-b {
    width: 280px;
    height: 280px;
    left: calc(50% - 140px);
    top: 80px;
  }

  .q-scene-caption {
    font-size: 8px;
  }

  .q-scroll-cue {
    display: none;
  }

  .q-hero-bottom {
    flex-direction: column;
    gap: 13px;
    padding-block: 22px;
  }

  .q-hero-bottom>span {
    font-size: 7px;
  }

  .q-hero-bottom>div {
    gap: 12px;
    font-size: 10px;
  }

  .q-journey {
    padding-block: 60px;
  }

  .q-section-heading {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }

  .q-section-heading .q-eyebrow {
    margin-bottom: 0;
    font-size: 10px;
  }

  .q-section-heading h2, .q-centers h2 {
    font-size: 31px;
  }

  .q-section-heading>p:last-child {
    font-size: 13px;
  }

  .q-workflow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .q-workflow-controls {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 7px;
  }

  .q-workflow-button {
    display: block;
    padding: 13px 9px;
    text-align: center;
    border: 1px solid #e7edf7;
  }

  .q-workflow-button strong {
    font-size: 11px;
    line-height: 1.9;
  }

  .q-workflow-button small, .q-step-arrow {
    display: none;
  }

  .q-step-number {
    display: block;
    font-size: 10px;
    margin-bottom: 7px;
  }

  .q-workflow-stage {
    padding: 20px 17px;
    border-radius: 18px;
  }

  .q-demo-sheet {
    padding: 20px;
  }

  .q-demo-sheet h3 {
    font-size: 20px;
  }

  .q-demo-sheet>p {
    font-size: 12px;
  }

  .q-stage-top {
    font-size: 8px;
    margin-bottom: 20px;
  }

  .q-answer-grid>span {
    font-size: 11px;
    padding: 10px;
  }

  .q-panel-caption strong {
    font-size: 16px;
  }

  .q-center-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .q-centers {
    padding-block: 55px 45px;
  }

  .q-centers .q-lead {
    font-size: 13px;
  }

  .q-center-features {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    margin-top: 15px;
    padding-top: 30px;
  }

  .q-center-features article {
    border: 0;
    padding: 0;
  }

  .q-center-features h3 {
    font-size: 15px;
  }

  .q-center-features p {
    font-size: 11px;
  }

  .quizzia-landing .pricing-section, .quizzia-landing .register-section, .quizzia-landing .faq-section {
    padding: 50px 20px;
  }

  .quizzia-landing .text-section {
    margin-bottom: 25px;
  }

  .quizzia-landing .text-section .section-subtitle {
    font-size: 12px;
  }

  .q-pricing-center {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 15px;
  }

  .quizzia-landing .register-form-card {
    min-width: 0;
  }

  .quizzia-landing .trust-strip {
    flex-wrap: wrap;
  }

  .quizzia-landing .faq-question {
    font-size: 13px;
  }

  .quizzia-landing .faq-answer {
    font-size: 12px;
  }

  .q-final {
    padding-block: 50px;
  }

  .q-final .q-actions {
    flex-direction: column;
  }
}

@media(prefers-reduced-motion:reduce) {
  .quizzia-landing *, .quizzia-landing *::before, .quizzia-landing *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Signals link each part of the center to its shared workspace. */

@media(max-width:720px) {
  .q-float-homework {
    right: 12px;
  }

  .q-float-exam {
    left: 12px;
  }

  .q-float-progress {
    right: 8px;
  }
}

/* Republic identity: curriculum at the entrance; useful services, not an ad break. */

.q-hero-grid {
  padding-block: 54px 40px;
  min-height: 740px;
}

.q-hero h1 {
  font-size: clamp(39px,4vw,55px);
  line-height: 1.5;
  margin-bottom: 18px;
}

.q-hero .q-lead {
  font-size: 14px;
  line-height: 2;
  max-width: 570px;
}

.q-hero .q-eyebrow {
  letter-spacing: .09em;
  font-size: 12px;
}

.q-hero-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 18px;
  margin-top: 24px;
  color: #456384;
  font-size: 11px;
}

.q-hero-value-grid>span {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.9;
}

.q-hero-value-grid i {
  color: #2d5be3;
  font-size: 12px;
}

.q-hero-promises {
  margin-top: 19px;
}

.q-hero .q-actions {
  gap: 22px;
  margin-top: 26px;
}

.q-cover-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  outline-offset: -8px;
}

.q-cover-title {
  font-size: 21px;
  bottom: 32px;
  line-height: 1.6;
}

.q-book-cover>small {
  bottom: 14px;
  font-size: 5px;
  letter-spacing: 1px;
}

.q-curriculum {
  padding-block: 95px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.q-curriculum .q-eyebrow {
  color: var(--q-blue);
}

.q-curriculum h2 {
  line-height: 1.7;
  font-weight: 800;
  color: var(--q-ink);
}

.q-curriculum h2 span {
  color: #788ba9;
}

.q-curriculum-intro>p:not(.q-eyebrow) {
  color: #6a7c98;
}

.q-journey {
  border-top: 1px solid #e5ebf7;
  padding-top: 80px;
}

.q-republic-services {
  background: #f5f8ff;
  border-top: 1px solid #dbe5f5;
}

.quizzia-landing .q-republic-services .pricing-section {
  background: transparent;
  padding-top: 75px;
  padding-bottom: 65px;
}

.q-republic-services .text-section {
  align-items: flex-start;
  text-align: start;
}

.q-republic-services .text-section .section-title {
  color: var(--q-ink);
  font-size: 42px;
}

.q-republic-services .text-section .section-subtitle {
  color: #526b8c;
  font-size: 13px;
}

.q-republic-services .q-eyebrow {
  color: #3f67ad;
  font-size: 10px;
}

.q-plan-purpose {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
  color: #36557f;
  padding-inline: 4px;
  margin-bottom: 20px;
}

.q-plan-purpose>span {
  color: #587294;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.quizzia-landing .q-republic-services .pricing-section .cards-section>div {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quizzia-landing .q-republic-services .pricing-card {
  background: #fff;
  color: #526b8c;
  border: 1px solid #d4e1f5;
  border-radius: 4px 4px 18px 4px;
  box-shadow: none;
  height: auto;
  flex: 1;
  padding-top: 40px;
}

.quizzia-landing .q-republic-services .pricing-card.featured {
  background: #edf3ff;
  border-color: #769aeb !important;
  box-shadow: 0 -3px 0 #769aeb;
}

.q-republic-services .pricing-plan-name {
  color: var(--q-ink);
}

.q-republic-services .pricing-price {
  color: #2d5be3;
}

.q-republic-services .pricing-price-sub {
  color: #56708f;
}

.q-republic-services .pricing-feature {
  color: #526b8c;
  font-size: 12px;
  line-height: 1.9;
}

.q-republic-services .pricing-feature.disabled {
  color: #7184a1;
}

.q-republic-services .pricing-divider {
  border-color: #d4e1f5;
}

.q-republic-services .btn-pricing-outline {
  border: 1px solid #9cb6e6;
  color: #2c5598;
}

.q-republic-services .btn-pricing-outline:hover {
  background: #e3edff;
  color: #204993;
}

.q-republic-services .q-pricing-center {
  background: #edf4ff;
  border: 1px solid #cbdcf5;
  border-radius: 4px;
  border-inline-start: 3px solid #638de4;
  color: #284365;
}

.q-republic-services .q-pricing-center p {
  color: #526b8c;
}

.q-republic-services .q-text-link {
  color: #315ca0;
}

.quizzia-landing .q-republic-services .faq-section {
  background: transparent;
  padding-top: 45px;
  padding-bottom: 75px;
}

.quizzia-landing .q-republic-services .faq-inner {
  max-width: none;
  display: grid;
  grid-template-columns: .75fr 1.3fr;
  gap: 70px;
  padding-top: 50px;
  border-top: 1px solid #d4e1f5;
}

.q-republic-services .q-faq-heading .section-title {
  color: var(--q-ink);
  text-align: start;
  font-size: 29px;
  line-height: 1.7;
}

.q-republic-services .q-faq-heading .section-subtitle {
  color: #526b8c;
  text-align: start;
  font-size: 13px;
  line-height: 2;
}

.quizzia-landing .q-republic-services .faq-item {
  background: transparent;
  border-color: #d3e0f4;
}

.quizzia-landing .q-republic-services .faq-question {
  color: #36557f;
  font-size: 13px;
  padding: 18px 4px;
}

.quizzia-landing .q-republic-services .faq-answer {
  color: #526b8c;
  font-size: 12px;
  padding-bottom: 20px;
}

.q-final {
  background: #e8f0ff;
}

.q-final h2 {
  font-size: 50px;
}

.q-final .q-eyebrow {
  color: #56708f;
}

@media(max-width:991px) {
  .q-hero-grid {
    padding-top: 35px;
  }

  .q-hero h1 {
    font-size: 38px;
  }

  .q-hero-value-grid {
    font-size: 10px;
    gap: 10px;
  }

  .q-hero .q-lead {
    font-size: 12px;
  }

  .q-curriculum {
    gap: 35px;
    padding-block: 65px;
  }

  .quizzia-landing .q-republic-services .faq-inner {
    gap: 35px;
  }

  .q-republic-services .text-section {
    width: min(600px,100%);
  }

  .q-republic-services .q-plan-purpose {
    margin-top: 16px;
  }
}

@media(max-width:720px) {
  .q-hero-grid {
    min-height: 0;
  }

  .q-hero h1 {
    font-size: 38px;
    line-height: 1.5;
  }

  .q-hero .q-lead {
    font-size: 13px;
  }

  .q-hero .q-eyebrow {
    font-size: 10px;
  }

  .q-hero-value-grid {
    font-size: 10px;
    margin-top: 20px;
    gap: 12px 10px;
  }

  .q-hero .q-actions {
    gap: 17px;
  }

  .q-hero .q-text-link {
    font-size: 11px;
  }

  .q-cover-seal {
    width: 85px;
    height: 85px;
    margin-top: 9px;
  }

  .q-cover-title {
    font-size: 18px;
    bottom: 30px;
  }

  .q-book-cover>small {
    font-size: 4px;
  }

  .q-curriculum {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 55px;
  }

  .q-curriculum h2 {
    font-size: 29px;
  }

  .q-curriculum-intro>p:not(.q-eyebrow) {
    font-size: 13px;
    margin-block: 18px 22px;
  }

  .q-journey {
    padding-top: 50px;
  }

  .q-republic-services .text-section .section-title {
    font-size: 31px;
  }

  .quizzia-landing .q-republic-services .pricing-section {
    padding-top: 45px;
    padding-bottom: 35px;
  }

  .quizzia-landing .q-republic-services .faq-section {
    padding-block: 20px 45px;
  }

  .quizzia-landing .q-republic-services .faq-inner {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-top: 35px;
  }

  .q-republic-services .q-faq-heading .section-subtitle {
    margin-bottom: 18px;
  }

  .q-plan-purpose {
    font-size: 16px;
  }

  .q-final h2 {
    font-size: 35px;
  }
}

.q-curriculum .stats-section {
  grid-column: 1/-1;
  background: white;
  padding: 25px 0 0;
  gap: 20px;
  border-top: 1px solid #e4ebf8;
}

.q-curriculum .stat-card {
  box-shadow: none;
  border-radius: 0;
  padding: 5px 10px;
}

.q-curriculum .stat-card:hover {
  transform: none;
  box-shadow: none;
}

.q-curriculum .stat-icon-wrap {
  display: none;
}

.q-curriculum .stat-value {
  font-size: 27px;
  color: #3264ff;
  margin-bottom: 10px;
}

.q-curriculum .stat-label {
  font-size: 11px;
  line-height: 1.8;
}

/* Use the original Quizzia artwork on the 3D book cover. */

.q-cover-seal {
  border: 0;
  outline: none;
  border-radius: 0;
  width: 160px;
  height: 100px;
  margin: 6px auto;
}

.q-cover-seal img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
}

.q-cover-brand>small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #b8ceff;
}

@media(max-width:720px) {
  .q-cover-seal {
    width: 135px;
    height: 82px;
  }

  .q-cover-brand>small {
    font-size: 5px;
  }
}

/* Arabic captions use natural direction and connected letter spacing. */

[dir="rtl"] .q-cover-brand>small, [dir="rtl"] .q-book-cover>small, [dir="rtl"] .q-hero-bottom>span, [dir="rtl"] .q-float-card small, [dir="rtl"] .q-plan-purpose>span {
  letter-spacing: 0;
}

[dir="rtl"] .q-float-card small {
  direction: rtl;
}

[dir="rtl"] .q-book-cover>small {
  font-size: 7px;
}

[dir="rtl"] .q-hero-bottom>span {
  font-size: 11px;
}

[dir="rtl"] .q-plan-purpose>span {
  font-size: 10px;
}

/* An explicit curriculum-to-questions example replaces decorative book spines. */

.q-curriculum {
  gap: 65px;
}

.q-curriculum h2 {
  font-size: clamp(30px,3vw,42px);
}

.q-curriculum-intro>p:not(.q-eyebrow) {
  font-size: 16px;
  line-height: 2;
  margin-block: 22px;
}

.q-curriculum-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}

.q-curriculum-benefits li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: #465e84;
  font-size: 14px;
  line-height: 1.9;
}

.q-curriculum-benefits i {
  color: #3264ff;
  font-size: 11px;
}

.q-curriculum-map {
  background: #eff4ff;
  color: var(--q-ink);
  padding: 30px;
  border: 1px solid #d0def5;
  border-radius: 22px;
  box-shadow: 0 20px 50px #1b35551a;
}

.q-curriculum-map-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.q-curriculum-map-heading h3 {
  font-size: 23px;
  color: var(--q-ink);
  font-weight: 800;
  line-height: 1.7;
  margin: 0;
}

.q-curriculum-map-heading>span {
  color: #526f99;
  font-size: 11px;
  border: 1px solid #c0d2ef;
  border-radius: 20px;
  padding: 5px 10px;
}

.q-curriculum-path {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 15px;
}

.q-curriculum-path li {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 13px 17px;
  background: #fff;
  border: 1px solid #d2e0f5;
  border-radius: 11px;
  position: relative;
}

.q-curriculum-path li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline-start: 35px;
  height: 17px;
  border-inline-start: 1px solid #779fee;
}

.q-path-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: #315db4;
  background: #e2ecff;
  border-radius: 50%;
  font-weight: 750;
  font-size: 16px;
}

.q-curriculum-path small {
  display: block;
  color: #56708f;
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.q-curriculum-path strong {
  display: block;
  color: var(--q-ink);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.7;
}

.q-path-connector {
  color: #4e76ba;
  font-size: 24px;
  padding: 4px 0;
  padding-inline-start: 26px;
}

.q-curriculum-outcome {
  background: #fff;
  border: 1px solid #a8bfee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.q-outcome-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 40px;
  border-radius: 9px;
  background: #d5e1ff;
  color: #3264ff;
  flex-shrink: 0;
  font-size: 19px;
}

.q-curriculum-outcome strong {
  color: #193460;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 800;
}

.q-curriculum-outcome p {
  color: #5d759a;
  font-size: 12px;
  line-height: 1.9;
  margin: 7px 0 12px;
}

.q-outcome-uses {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-outcome-uses span {
  display: inline-block;
  color: #244f9e;
  background: #d5e3ff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.q-curriculum-availability {
  font-size: 11px;
  line-height: 1.9;
  color: #587294;
  margin: 18px 0 0;
}

@media(max-width:991px) {
  .q-curriculum {
    gap: 30px;
  }

  .q-curriculum-map {
    padding: 23px;
  }

  .q-curriculum-map-heading h3 {
    font-size: 21px;
  }
}

@media(max-width:720px) {
  .q-curriculum h2 {
    font-size: 31px;
  }

  .q-curriculum-intro>p:not(.q-eyebrow) {
    font-size: 15px;
  }

  .q-curriculum-benefits li {
    font-size: 13px;
  }

  .q-curriculum-map {
    padding: 23px 18px;
    border-radius: 17px;
  }

  .q-curriculum-map-heading {
    gap: 9px;
  }

  .q-curriculum-map-heading h3 {
    font-size: 22px;
  }

  .q-curriculum-path li {
    padding: 12px 14px;
    gap: 14px;
  }

  .q-curriculum-path li:not(:last-child)::after {
    inset-inline-start: 32px;
  }

  .q-curriculum-path strong {
    font-size: 18px;
  }

  .q-curriculum-outcome {
    padding: 17px 13px;
    gap: 10px;
  }

  .q-curriculum-outcome strong {
    font-size: 16px;
  }

  .q-outcome-icon {
    width: 29px;
    height: 34px;
    font-size: 16px;
  }
}

/* Keep trial and signup adjacent, with a separate curriculum shortcut below. */

.q-hero .q-actions, .q-final .q-actions {
  gap: 12px;
}

.q-button-secondary {
  color: #315ca0;
  background: #fff;
  border-color: #c1d2ef;
  box-shadow: none;
}

.q-button-secondary:hover {
  color: #204993;
  background: #e7efff;
  box-shadow: none;
}

.q-hero .q-actions>.q-text-link {
  flex-basis: 100%;
  margin-top: 6px;
}

.q-final .q-button-secondary {
  color: #315ca0;
  background: #fff;
  border-color: #b3c9ef;
}

.q-final .q-button-secondary:hover {
  background: #e0ebff;
  color: #204993;
}

.quizzia-landing .q-faq-last .faq-section {
  padding-top: 35px;
}

.quizzia-landing .q-faq-last .faq-inner {
  border-top: 0;
  padding-top: 25px;
}

@media(max-width:720px) {
  .q-final .q-actions {
    flex-direction: row;
  }

  .q-final .q-actions>.q-text-link {
    flex-basis: 100%;
    justify-content: center;
    margin-top: 6px;
  }

  .q-hero .q-actions>.q-button, .q-final .q-actions>.q-button {
    padding: 13px 15px;
    gap: 12px;
    font-size: 12px;
  }

  .quizzia-landing section[id], .quizzia-landing #features {
    scroll-margin-top: 85px;
  }
}

html:root {
  scroll-behavior: auto;
}

@media(max-width:991px) {
  .q-hero .q-actions {
    align-items: stretch;
  }

  .q-hero .q-actions>.q-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 13px 10px;
    gap: 8px;
    font-size: 12px;
  }

  .q-hero .q-actions>.q-button>span {
    font-size: 18px;
  }
}

@media(max-width:720px) {
  .q-final .q-actions {
    align-items: stretch;
  }

  .q-final .q-actions>.q-button {
    flex: 1 1 0;
    min-width: 0;
    padding: 13px 8px;
    gap: 8px;
    font-size: 12px;
  }

  .q-final .q-actions>.q-button>span {
    font-size: 18px;
  }
}

.quizzia-landing .lp-navbar .btn-login:hover {
  background: #214df0;
  color: #fff;
}

.quizzia-landing .lp-footer .footer-links a {
  color: #46658d;
}

.quizzia-landing .lp-footer .footer-links a:hover {
  color: #2d5be3;
}

.quizzia-landing .lp-footer .footer-heading {
  color: #385a86;
}

.quizzia-landing .lp-footer .brand-tagline, .quizzia-landing .lp-footer .footer-bottom, .quizzia-landing .lp-footer .footer-meta {
  color: #56708f;
}

.quizzia-landing .lp-footer .footer-divider {
  border-color: #cbdaf0;
}

.quizzia-landing .btn-pricing-primary, .quizzia-landing .footer-install-btn {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.quizzia-landing .btn-pricing-primary:hover, .quizzia-landing .footer-install-btn:hover {
  background: #214ac9;
  border-color: #214ac9;
}

/* Keep the textbook binding consistent with the reading language. */
[dir="rtl"] .q-book-object {
  --book-y: 28deg;
  --book-z: 12deg;
  --book-y-peak: 20deg;
  --book-z-peak: 9deg;
}

[dir="rtl"] .q-book-cover {
  border-radius: 15px 6px 6px 15px;
  box-shadow: inset -6px 0 10px #183f8d25, -20px 25px 45px #395b8d24;
}

[dir="rtl"] .q-book-pages {
  inset: 6px 3px 0 0;
  border-radius: 13px 5px 5px 13px;
}

[dir="rtl"] .q-book-pages::after {
  left: -17px;
  right: auto;
  transform: rotateY(-90deg);
  border-radius: 7px 0 0 7px;
}

[dir="rtl"] .q-book-spine {
  left: auto;
  right: -17px;
  transform: rotateY(90deg);
  background: linear-gradient(270deg, #152557, #3154ca);
}

.q-who {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid #d9e4f7;
  border-radius: 999px;
  box-shadow: 0 8px 24px #1c34650f;
}

.q-who__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  color: #3b4a66;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.q-who__item.is-active {
  background: var(--q-blue);
  color: #fff;
}

a.q-who__item:hover,
a.q-who__item:focus-visible {
  background: #fff4d6;
  color: #7c4a03;
  outline: none;
}

.q-who__tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffd25c;
  color: #4a3200;
  font-size: 11px;
  font-weight: 800;
}

.quizzia-landing .q-nav-students {
  color: #b45309 !important;
  font-weight: 800;
}

@media (max-width: 420px) {
  .q-who { display: flex; }
  .q-who__item { flex: 1; justify-content: center; padding: 9px 10px; font-size: 13px; }
  .q-who__tag { display: none; }
}
