@font-face {
  font-family: SVHindi;
  src: url("fonts/devanagari.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0900-097F,U+200C-200D;
}

@font-face {
  font-family: SVHindi;
  src: url("fonts/devanagari-bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+0900-097F,U+200C-200D;
}

:root {
  --paper: #faf9f5;
  --ink: #142436;
  --navy: #11233c;
  --mute: #52606b;
  --gold: #f6ca70;
  --line: #dedfd9;
  --green: #195a4b;
  --sans: Inter,"Nirmala UI",SVHindi,Arial,sans-serif;
  --display: "Baskervville","Iowan Old Style",Georgia,"Times New Roman",serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none!important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

button,select,input {
  font: inherit;
  color: inherit;
}

button:disabled {
  cursor: default;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible+span {
  outline: 3px solid #ab6b0c;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

h1,h2,h3,p {
  margin: 0;
}

.wrap {
  width: min(1220px,calc(100% - 96px));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: #fff;
  padding: 10px 16px;
  z-index: 10;
}

.skip:focus {
  top: 8px;
}

.topbar {
  background: #fffefa;
  border-bottom: 1px solid #e4e5df;
  position: relative;
  z-index: 5;
}

.top-inner {
  display: flex;
  align-items: center;
  min-height: 78px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 36px/.95 var(--display);
  letter-spacing: -1.8px;
  white-space: nowrap;
}

.brand img {
  border-radius: 50%;
  width: 45px;
  height: 45px;
}

.brand .viva {
  color: #94611a;
}

.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.desktop-nav a {
  font-weight: 600;
  font-size: .94rem;
  color: #46515d;
  position: relative;
  padding: 10px 0;
}

.desktop-nav a[aria-current=page] {
  color: var(--navy);
}

.desktop-nav a[aria-current=page]::after {
  content: "";
  position: absolute;
  height: 2px;
  bottom: 3px;
  left: 0;
  right: 0;
  background: #be862f;
}

.desktop-nav a:hover,.contact-link:hover {
  color: #845519;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  border: 1px solid #c9c9bf;
  border-radius: 7px;
  padding: 6px 16px;
  background: #fffefb;
  font-size: .93rem;
}

.ico {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  flex: none;
}

.ico.mail {
  width: 17px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.ico.mail::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 1.4px 1.4px 0;
  transform: rotate(45deg);
  top: -5px;
  left: 2.5px;
}

.ico.book {
  width: 18px;
  height: 14px;
}

.ico.book::before,.ico.book::after {
  content: "";
  position: absolute;
  top: 1px;
  width: 8px;
  height: 11px;
  border: 1.6px solid currentColor;
  border-radius: 1px 3px 1px 1px;
  transform: skewY(7deg);
  left: 0;
}

.legal-card {
  max-width: 820px;
  margin: 2rem auto 4rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: #fff;
  border: 1px solid rgba(16,31,53,.1);
  border-radius: 18px;
  box-shadow: 0 16px 45px rgba(16,31,53,.08);
}
.legal-card h1 { margin: .45rem 0 1.4rem; }
.legal-card h2 { margin: 1.8rem 0 .45rem; font-size: 1.15rem; }
.legal-card p { line-height: 1.8; }
.legal-card a { color: #0b6670; font-weight: 700; }
.contact-large { font-size: clamp(1.15rem, 3vw, 1.6rem); }

.ico.book::after {
  left: 9px;
  transform: skewY(-7deg);
  border-radius: 3px 1px 1px 1px;
}

.ico.lock {
  width: 12px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  margin-top: 4px;
}

.ico.lock::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  left: 1.5px;
  bottom: 6.5px;
}

.ico.list {
  width: 17px;
  height: 20px;
  border: 1.6px solid currentColor;
  border-radius: 3px;
}

.ico.list::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 5px;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 4px currentColor,0 8px currentColor;
}

.menu-toggle,.mobile-menu {
  display: none;
}

.hero-wrap {
  margin-top: 26px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border-radius: 19px;
  background: radial-gradient(ellipse at 83% 71%,#204266 0,transparent 42%),linear-gradient(110deg,#0b192c 3%,#112540 58%,#162e4c 100%);
  box-shadow: 0 12px 32px -22px #0a192f75;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg,transparent 54%,#ffffff04 54.1%,transparent 76%);
}

.slide {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  min-height: 427px;
  padding: 45px clamp(30px,5.7vw,82px) 54px;
  gap: 10px;
  position: relative;
}

.slide.reveal {
  animation: fade-slide .42s ease-out;
}

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

.hero-edition,.eyebrow {
  font-family: Inter,Arial,sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .18em;
  line-height: 1.5;
}

.hero-edition {
  color: #edcd82;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.hero-edition i {
  height: 2px;
  width: 27px;
  background: #e4b858;
}

.hero h1,.hero h2 {
  font-family: var(--display),"Nirmala UI",SVHindi,serif;
  font-size: clamp(4rem,5.5vw,5.75rem);
  font-weight: 500;
  line-height: .97;
  letter-spacing: -.057em;
}

.hero h1 em,.hero h2 em {
  display: inline-block;
  font-size: .82em;
  line-height: 1.02;
  font-weight: 400;
  color: #f3d79f;
  letter-spacing: -.055em;
}

.hero-description {
  margin-top: 15px;
  color: #dbe4eb;
  font-size: clamp(1rem,1.28vw,1.12rem);
  line-height: 1.65;
}

.hero-description strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  margin-top: 24px;
}

.btn {
  border: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  padding: 10px 18px;
  min-height: 44px;
  font: 700 1rem/1.6 var(--sans);
  max-width: 100%;
  transition: background-color .18s,transform .18s,box-shadow .18s;
}

.btn:hover {
  transform: translateY(-1px);
}

.gold {
  background: #f5c56b;
  color: #19232f;
  box-shadow: 0 3px 10px #11192335;
}

.gold:hover {
  background: #ffda85;
}

.price-cut {
  border-left: 1px solid #967b4a99;
  padding-left: 11px;
  font-family: Arial,sans-serif;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  align-self: stretch;
  min-width: 0;
}

.featured-book {
  position: relative;
  width: clamp(233px,25vw,333px);
  aspect-ratio: 1;
  transform: perspective(1100px) rotateY(-10deg) rotateZ(3deg);
  z-index: 1;
  filter: drop-shadow(7px 21px 13px #02091682);
}

.featured-book::before {
  content: "";
  position: absolute;
  inset: 5px -7px -6px 7px;
  background: repeating-linear-gradient(0deg,#c4baa5 0 1px,#e6dfca 1px 3px);
  border-radius: 2px 6px 6px 2px;
  border: 1px solid #d6bf88;
  transform: skewY(-.4deg);
}

.featured-book img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 1px solid #d7c897;
  border-radius: 3px 4px 4px 3px;
}

.orbit-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.stage-orbit {
  position: absolute;
  right: -3.4%;
  top: 50%;
  width: 49%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid #b7c9c526;
  border-radius: 50%;
}

.stage-orbit.second {
  right: -.5%;
  width: 43%;
  border-color: #e8c78a31;
}

.stage-orbit.third {
  right: 3.5%;
  width: 35%;
  border-style: dashed;
  border-color: #c6b17a30;
}

.orbit-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 47%;
  height: 100%;
  background-image: radial-gradient(#d8c79947 .8px,transparent 1px);
  background-size: 20px 20px;
  opacity: .35;
  mask-image: linear-gradient(90deg,transparent,#000);
}

.star {
  width: 12px;
  height: 12px;
  position: absolute;
  z-index: 1;
  background: #e5c37d;
  clip-path: polygon(50% 0,60% 38%,100% 50%,60% 61%,50% 100%,39% 61%,0 50%,39% 39%);
}

.star-a {
  right: 6%;
  top: 17%;
}

.star-b {
  right: 45%;
  bottom: 20%;
  width: 9px;
  height: 9px;
}

.star-c {
  right: 11%;
  bottom: 9%;
  width: 7px;
  height: 7px;
}

.carousel-controls {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  bottom: 10px;
  left: clamp(25px,5.7vw,80px);
}

.carousel-controls button {
  border: 0;
  background: transparent;
  color: #c4d1dd;
  padding: 0;
  width: 28px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 4px;
}

.carousel-controls button:hover {
  background: #ffffff14;
}

.chev {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 1.5px 1.5px 0 0;
  transform: rotate(45deg);
}

.chev.left {
  transform: rotate(-135deg);
}

.dots {
  display: flex;
  align-items: center;
  gap: 0;
}

.dots button {
  width: 16px;
}

.dots button::after {
  content: "";
  background: #8a9caf;
  width: 5px;
  height: 5px;
  border-radius: 10px;
}

.dots button[aria-pressed=true] {
  width: 27px;
}

.dots button[aria-pressed=true]::after {
  background: #e9c578;
  width: 21px;
}

.control-rule {
  width: 1px;
  height: 10px;
  background: #bfcad44d;
  margin-inline: 6px;
}

.pause-mark {
  width: 6px;
  height: 8px;
  border-inline: 2px solid currentColor;
}

.play-mark {
  width: 0;
  height: 0;
  border-block: 4px solid transparent;
  border-left: 6px solid currentColor;
}

.keyboard-art {
  padding: 21px;
  background: linear-gradient(155deg,#f9f8ef,#dddcd0);
  color: #264e45;
  border: 1px solid #cad4bb;
  border-radius: 13px;
  box-shadow: 3px 8px 0 #747b71,7px 21px 30px #070f21aa;
  transform: rotate(-5deg);
  width: min(100%,340px);
  position: relative;
}

.kbd-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin: 0 0 13px;
  font: 700 18px/1.4 var(--display);
}

.kbd-head span {
  font: 700 12px/1.4 Arial,sans-serif;
  letter-spacing: .15em;
}

.key-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 7px;
}

.key-grid i {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fbfbf6;
  border: 1px solid #b9bfae;
  border-radius: 6px;
  box-shadow: 0 3px #99a190;
  min-height: 47px;
  font: 700 22px/1.2 var(--sans);
}

.key-grid i.lit {
  background: #276952;
  color: white;
}

.key-grid small {
  position: absolute;
  top: 4px;
  left: 5px;
  font: 10px Arial,sans-serif;
}

.group {
  padding-block: 42px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.eyebrow {
  color: #785a2d;
  display: block;
  letter-spacing: .16em;
  margin-bottom: 5px;
}

.section-head h2,.detail-contents h2 {
  font: 700 clamp(1.65rem,2.5vw,2.2rem)/1.35 var(--sans);
  letter-spacing: -.035em;
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.practice-card {
  border: 1px solid;
  border-radius: 14px;
  padding: 24px 25px 22px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 222px;
  display: flex;
}

.typing-card {
  background: #e7f1e9;
  border-color: #c7dbca;
  color: #173d33;
}

.course-card {
  background: #f4eddc;
  border-color: #dfd3b4;
  color: #473820;
}

.card-content {
  z-index: 2;
  position: relative;
  max-width: 64%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.65;
  width: fit-content;
}

.free-tag {
  background: #d1e7d6;
  color: #285c3a;
}

.course-tag {
  background: #eadfbf;
  color: #665027;
}

.practice-card h3 {
  font-size: clamp(1.45rem,2.35vw,2rem);
  line-height: 1.29;
  letter-spacing: -.04em;
  margin-top: 11px;
}

.practice-card p {
  font-size: .98rem;
  line-height: 1.5;
  margin: 8px 0 14px;
  color: #42594d;
}

.course-card p {
  color: #66593f;
}

.dark-teal {
  background: #204f40;
  color: #fff;
  font-size: .92rem;
  padding: 7px 14px;
  min-height: 38px;
  margin-top: auto;
}

.dark-teal:hover {
  background: #153f32;
}

.course-price {
  font: 600 28px/1.1 var(--display);
  margin-top: auto;
  letter-spacing: -.02em;
}

.typing-illustration {
  position: absolute;
  right: -34px;
  bottom: 15px;
  width: 40%;
  transform: rotate(-5deg);
  z-index: 0;
  pointer-events: none;
}

.mini-app-shell {
  padding: 6px 5px 5px;
  background: #eaf1eb;
  border: 1px solid #a7b8ab;
  border-radius: 7px;
  box-shadow: 5px 7px 0 #7d968553,0 16px 25px #536e5c33;
  overflow: hidden;
}

.mini-bar {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 9px;
  padding-left: 2px;
}

.mini-bar b {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #799a86;
}

.mini-frame-clip {
  height: 107px;
  overflow: hidden;
  position: relative;
  border: 1px solid #c6d2c6;
  background: #f3f7f4;
}

.mini-frame-clip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.course-illustration {
  position: absolute;
  right: 6%;
  width: clamp(80px,10vw,131px);
  aspect-ratio: .81;
  align-self: center;
  z-index: 0;
}

.file-back,.notebook {
  position: absolute;
  inset: 0;
  border: 1px solid #b69a58;
  border-radius: 3px 7px 7px 3px;
}

.file-back {
  background: repeating-linear-gradient(0deg,#e6dbb7 0 2px,#faf3d9 2px 4px);
  transform: rotate(12deg) translate(7%,-2%);
}

.notebook {
  transform: rotate(5deg);
  background: linear-gradient(110deg,#c1a061,#d9bd7e 20%,#ead59f 75%,#d8bb7f);
  box-shadow: 4px 9px 14px #7260393a;
  padding: 24% 12% 8% 18%;
  color: #614d28;
}

.notebook .spine {
  position: absolute;
  left: 8%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #87734777;
}

.notebook>span {
  display: block;
  font: 600 clamp(16px,2vw,27px)/1 var(--display);
  letter-spacing: -.02em;
}

.notebook>i {
  display: block;
  height: 1px;
  width: 78%;
  background: #937b49;
  margin-top: 9%;
}

.notebook>i+i {
  width: 58%;
}

.notebook-lock {
  margin-top: 14%;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid #a18a58;
  border-radius: 50%;
}

.mock-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #d6dedf;
  border-radius: 10px;
  padding: 12px 18px;
  margin-top: 16px;
  background: #f1f4f4;
  transition: border-color .18s;
}

.mock-strip:hover {
  border-color: #9aaeb4;
}

.mock-icon {
  width: 37px;
  height: 37px;
  border-radius: 8px;
  background: #dce7e9;
  color: #365862;
  display: grid;
  place-items: center;
}

.mock-strip b,.mock-strip small {
  display: block;
}

.mock-strip b {
  font-size: 1rem;
}

.mock-strip small {
  color: #4d6168;
  font-size: .86rem;
}

.mock-strip strong {
  margin-left: auto;
  white-space: nowrap;
  color: #264956;
  font-size: .9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.library-section {
  border-block: 1px solid #dedfd6;
  background: #f3f3ed;
}

.catalog-list {
  display: grid;
  gap: 14px;
}

.catalog-item {
  display: grid;
  grid-template-columns: 72px minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 17px 24px;
  background: #fffefa;
  border: 1px solid #dcded4;
  border-radius: 12px;
}

.catalog-thumb {
  display: block;
  width: 63px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(2px 4px 3px #1522372a);
}

.catalog-item h3 {
  font: 700 1.32rem/1.4 var(--sans);
  letter-spacing: -.032em;
}

.catalog-item p {
  font-size: .95rem;
  color: var(--mute);
  margin-top: 4px;
}

.catalog-cta {
  display: flex;
  align-items: center;
  gap: 21px;
}

.catalog-cta b {
  font: 700 1.58rem var(--display);
}

.outline-btn {
  background: transparent;
  border: 1px solid #aeb7b7;
  border-radius: 7px;
  padding: 7px 14px;
  font-size: .94rem;
  font-weight: 700;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
}

.outline-btn:hover {
  background: #f3f4ef;
}

.site-footer {
  background: #0e1e32;
  color: #d6dee3;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.45fr .7fr 1fr;
  gap: 40px;
  padding: 36px 0 25px;
}

.footer-brand {
  color: #fff;
  font-size: 29px;
  letter-spacing: -1.3px;
}

.footer-brand .viva {
  color: #e7c079;
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer p,.author {
  font-size: .92rem;
  color: #bbc9d2;
  display: block;
  margin-top: 10px;
}

.author b {
  color: #fff3d9;
  font-weight: 600;
  margin-left: 4px;
}

.footer-main h2 {
  font: 700 1rem/1.6 var(--sans);
  color: #f0d49a;
  margin-bottom: 6px;
}

.footer-main>div>a:not(.brand),[data-social] a {
  display: table;
  font-size: .93rem;
  line-height: 1.85;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot-bottom {
  padding: 13px 0 17px;
  border-top: 1px solid #b6cbd129;
  display: flex;
  justify-content: space-between;
  color: #a4b4bf;
  font: 400 .8rem/1.5 Arial,sans-serif;
}

.support-mail {
  overflow-wrap: anywhere;
}

[data-social] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.inner-page {
  padding: 28px 0 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--mute);
  font-size: .9rem;
  margin-bottom: 24px;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.detail-grid {
  display: grid;
  grid-template-columns: .85fr 1.3fr;
  gap: clamp(30px,5vw,72px);
  align-items: center;
}

.detail-visual {
  background: radial-gradient(ellipse at 60% 45%,#284563,#12253d 75%);
  border: 1px solid #152944;
  border-radius: 15px;
  min-height: 345px;
  display: grid;
  place-items: center;
  padding: 24px;
}

.detail-visual img {
  max-height: 300px;
  width: auto;
  max-width: 90%;
  transform: rotate(-3deg);
  box-shadow: 8px 12px 20px #0914268c;
}

.detail-copy h1,.quiz-intro h1 {
  font: 600 clamp(2.05rem,4vw,3.65rem)/1.08 var(--display),"Nirmala UI",SVHindi,serif;
  letter-spacing: -.045em;
  color: var(--navy);
  margin: 8px 0 15px;
}

.detail-copy>p,.quiz-intro p {
  font-size: 1.05rem;
  color: var(--mute);
}

.facts {
  display: flex;
  list-style: none;
  margin: 17px 0 23px;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
}

.facts li {
  font-size: .96rem;
  padding: 0 13px;
  border-right: 1px solid #c5c9c6;
}

.facts li:first-child {
  padding-left: 0;
}

.facts li:last-child {
  border: 0;
}

.buy-row {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.buy-row>b {
  font: 700 2.1rem var(--display);
}

.navy {
  background: #19314a;
  color: white;
}

.navy:hover {
  background: #253f5d;
}

.detail-copy .byline {
  font-size: .9rem;
  margin-top: 15px;
}

.detail-contents {
  margin-top: 35px;
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
}

.chapter {
  padding: 11px 3px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: .97rem;
  justify-content: space-between;
}

.chapter small {
  white-space: nowrap;
  color: var(--mute);
  font-size: .82rem;
}

.quiz-page {
  max-width: 840px;
}

.quiz-intro h1 {
  margin-top: 6px;
}

.quiz-box {
  padding: clamp(18px,4vw,38px);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fffefa;
  margin-top: 22px;
}

.quiz-meta,.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.quiz-meta {
  font-size: .92rem;
  color: #56676c;
}

.progress-track {
  height: 4px;
  background: #e6e8e1;
  border-radius: 10px;
  margin: 8px 0 21px;
  overflow: hidden;
}

.progress-track i {
  height: 100%;
  width: 20%;
  background: #a38143;
  display: block;
  transition: width .2s;
}

.quiz-box fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.quiz-box legend {
  font-size: 1.3rem;
  font-weight: 700;
  color: #182b3a;
  margin: 0 0 12px;
  line-height: 1.55;
}

.quiz-choice {
  display: block;
  position: relative;
  cursor: pointer;
  margin: 8px 0;
}

.quiz-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.quiz-choice>span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 13px;
  border: 1px solid #c6ceca;
  border-radius: 7px;
}

.quiz-choice b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: #eff2ed;
  border: 1px solid #dce1da;
  border-radius: 50%;
  font: 600 .8rem Arial;
}

.quiz-choice input:checked+span {
  background: #e6f0e9;
  border-color: #648c73;
}

.quiz-choice input:checked+span b {
  background: #24553e;
  color: white;
  border-color: #24553e;
}

.quiz-nav {
  margin-top: 18px;
}

.quiz-nav button:disabled {
  opacity: .44;
}

.plain-action {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.review-item {
  margin: 11px 0;
  padding: 13px 15px;
  border-left: 3px solid #397355;
  background: #f0f6ef;
  border-radius: 4px;
}

.review-item.wrong {
  border-color: #b8823b;
  background: #faf2e5;
}

.review-item h3 {
  font-size: 1rem;
}

.review-item p {
  font-size: .94rem;
  color: #3f5156;
  margin-top: 4px;
}

#quiz-restart {
  margin-top: 14px;
}

@keyframes fade-slide {
  from {
    opacity: .79;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(min-width:1450px) {
  .slide {
    min-height: 440px;
  }
  .hero-art .featured-book {
    width: 338px;
  }
}

@media(max-width:1000px) {
  .wrap {
    width: calc(100% - 54px);
  }
  .desktop-nav {
    gap: 18px;
  }
  .top-inner {
    gap: 18px;
  }
  .slide {
    min-height: 376px;
    padding: 35px 37px 54px;
  }
  .carousel-controls {
    left: 35px;
  }
  .hero h1,.hero h2 {
    font-size: 4.2rem;
  }
  .practice-card {
    padding: 20px;
  }
  .card-content {
    max-width: 67%;
  }
  .typing-illustration {
    right: -29px;
  }
  .course-illustration {
    right: 6%;
    width: 85px;
  }
  .catalog-item {
    gap: 16px;
  }
  .group {
    padding-block: 33px;
  }
}

@media(max-width:720px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .top-inner {
    min-height: 63px;
    gap: 15px;
  }
  .brand {
    font-size: 30px;
    gap: 8px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .desktop-nav {
    display: none;
  }
  .contact-link {
    margin-left: auto;
    padding: 4px 11px;
    font-size: .88rem;
  }
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    border: 1px solid #c8cdc4;
    border-radius: 7px;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
  }
  .menu-toggle i {
    height: 1.5px;
    width: 15px;
    background: var(--navy);
  }
  .mobile-menu:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto;
    background: #fffefa;
    display: grid;
    padding: 7px 16px 13px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 9px 16px #15203015;
  }
  .mobile-menu a {
    padding: 8px 3px;
    font-weight: 600;
  }
  .hero-wrap {
    margin-top: 16px;
  }
  .slide {
    padding: 24px 24px 47px;
    min-height: 295px;
    grid-template-columns: 1.05fr .85fr;
    gap: 6px;
  }
  .hero h1,.hero h2 {
    font-size: clamp(2.6rem,7.7vw,4.1rem);
  }
  .hero-edition {
    font-size: .65rem;
    margin-bottom: 10px;
    gap: 6px;
    letter-spacing: .12em;
  }
  .hero-edition i {
    width: 15px;
  }
  .hero h1 em,.hero h2 em {
    font-size: .8em;
  }
  .hero-description {
    font-size: .91rem;
    margin-top: 9px;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .hero-actions .btn {
    font-size: .89rem;
    min-height: 37px;
    padding: 6px 12px;
    gap: 6px;
  }
  .hero .price-cut {
    padding-left: 7px;
  }
  .featured-book {
    width: min(95%,240px);
  }
  .carousel-controls {
    left: 21px;
    bottom: 8px;
  }
  .hero {
    border-radius: 13px;
  }
  .group {
    padding-block: 27px;
  }
  .section-head {
    margin-bottom: 15px;
  }
  .practice-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .practice-card {
    padding: 19px 20px;
    min-height: 188px;
  }
  .practice-card p {
    margin: 6px 0 12px;
  }
  .card-content {
    max-width: 67%;
  }
  .typing-illustration {
    right: 1%;
    bottom: 21px;
    width: 29%;
    min-width: 126px;
  }
  .course-illustration {
    right: 9%;
    width: 90px;
  }
  .mock-strip {
    padding: 10px 13px;
    gap: 10px;
  }
  .catalog-item {
    padding: 14px;
    gap: 13px;
    grid-template-columns: 56px minmax(0,1fr) auto;
  }
  .catalog-thumb {
    width: 52px;
    height: 72px;
  }
  .catalog-item h3 {
    font-size: 1.13rem;
  }
  .catalog-item p {
    font-size: .86rem;
  }
  .catalog-cta {
    gap: 7px;
    flex-direction: column;
    align-items: flex-end;
  }
  .catalog-cta .outline-btn {
    font-size: .82rem;
    padding: 4px 8px;
    min-height: 32px;
  }
  .catalog-cta b {
    font-size: 1.3rem;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 28px 0 20px;
  }
  .footer-main>div:first-child {
    grid-column: 1/-1;
  }
  .detail-grid {
    grid-template-columns: .8fr 1.2fr;
    gap: 20px;
  }
  .detail-visual {
    min-height: 216px;
    padding: 16px;
  }
  .detail-visual img {
    max-height: 198px;
  }
  .detail-copy h1 {
    font-size: 2rem;
  }
  .detail-copy>p {
    font-size: .95rem;
  }
  .chapter-grid {
    grid-template-columns: 1fr;
  }
  .key-art .keyboard-art {
    padding: 11px;
  }
  .key-grid {
    gap: 4px;
  }
  .key-grid i {
    min-height: 35px;
    font-size: 17px;
  }
  .key-grid small {
    font-size: 8px;
    top: 2px;
    left: 3px;
  }
  .kbd-head {
    font-size: 15px;
  }
}

@media(max-width:500px) {
  .wrap {
    width: calc(100% - 26px);
  }
  .hero-wrap {
    margin-top: 12px;
  }
  .slide {
    min-height: 354px;
    padding: 21px 18px 48px;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
  }
  .hero h1,.hero h2 {
    font-size: clamp(2.6rem,11.8vw,3.55rem);
  }
  .hero h1 em {
    font-size: .78em;
  }
  .hero-description {
    font-size: .91rem;
    line-height: 1.6;
  }
  .hero-description strong {
    display: block;
  }
  .hero-art {
    align-self: center;
  }
  .featured-book {
    width: 100%;
    max-width: 186px;
  }
  .hero-actions {
    margin-top: 14px;
  }
  .carousel-controls {
    bottom: 10px;
    left: 15px;
  }
  .stage-orbit {
    width: 66%;
    right: -14%;
  }
  .stage-orbit.second {
    width: 59%;
    right: -10%;
  }
  .stage-orbit.third {
    width: 48%;
    right: -5%;
  }
  .star-a {
    right: 9%;
    top: 15%;
  }
  .section-head h2 {
    font-size: 1.58rem;
  }
  .practice-card h3 {
    font-size: 1.55rem;
  }
  .typing-illustration {
    right: -26px;
    bottom: 21px;
    width: 35%;
    min-width: 126px;
  }
  .course-illustration {
    right: 8%;
    width: 75px;
  }
  .tag {
    font-size: .79rem;
  }
  .practice-card {
    min-height: 188px;
    padding: 18px;
  }
  .mock-strip strong {
    font-size: .82rem;
  }
  .mock-strip small {
    font-size: .81rem;
  }
  .mock-icon {
    width: 31px;
    height: 34px;
  }
  .catalog-item {
    grid-template-columns: 54px minmax(0,1fr);
    align-items: start;
  }
  .catalog-cta {
    grid-column: 2;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e9e9e1;
    padding-top: 8px;
  }
  .footer-main {
    grid-template-columns: .74fr 1.26fr;
    gap: 18px 12px;
  }
  .site-footer p,.footer-main>div>a:not(.brand),[data-social] a {
    font-size: .86rem;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-visual {
    min-height: 198px;
  }
  .detail-visual img {
    height: 190px;
  }
  .breadcrumbs {
    margin-bottom: 15px;
  }
  .inner-page {
    padding: 18px 0 32px;
  }
  .quiz-box {
    padding: 17px 14px;
  }
  .key-art .keyboard-art {
    padding: 9px;
  }
  .key-grid i {
    min-height: 27px;
    font-size: 14px;
  }
  .kbd-head {
    font-size: 13px;
  }
  .kbd-head span {
    font-size: 9px;
  }
  .key-grid small {
    font-size: 7px;
  }
}

@media(max-width:355px) {
  .contact-link {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .slide {
    padding-inline: 13px;
  }
  .card-content {
    max-width: 67%;
  }
  .mock-icon {
    display: none;
  }
  .typing-illustration {
    right: -38px;
  }
  .practice-card {
    padding-inline: 14px;
  }
  .catalog-item {
    gap: 9px;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-main>div:first-child {
    grid-column: auto;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    animation-duration: .01ms!important;
    transition: none!important;
  }
}

@media(max-width:500px) {
  .slide {
    grid-template-columns: 1fr .92fr;
    grid-template-rows: auto minmax(140px,1fr) auto auto;
    align-content: center;
    gap: 6px 10px;
    padding: 21px 18px 18px;
    min-height: 320px;
  }
  .hero-copy {
    display: contents;
  }
  .hero-edition {
    grid-column: 1/-1;
    grid-row: 1;
    margin: 0;
    white-space: nowrap;
  }
  .hero h1,.hero h2 {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }
  .hero-art {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .hero-description {
    grid-column: 1/-1;
    grid-row: 3;
    margin: 4px 0 0;
    line-height: 1.65;
  }
  .hero-description strong {
    display: inline;
  }
  .hero-actions {
    grid-column: 1/-1;
    grid-row: 4;
    margin: 5px 0 0;
  }
  .carousel-controls {
    left: auto;
    right: 13px;
    bottom: 21px;
    gap: 0;
  }
  .carousel-controls button {
    width: 24px;
  }
  .dots button {
    width: 12px;
  }
  .dots button[aria-pressed=true] {
    width: 23px;
  }
  .carousel-controls .control-rule {
    margin-inline: 3px;
  }
}

@media(max-width:345px) {
  .hero-edition {
    font-size: .62rem;
  }
  .slide {
    padding-inline: 13px;
  }
  .carousel-controls {
    right: 6px;
  }
  .carousel-controls button {
    width: 22px;
  }
  .dots button {
    width: 10px;
  }
  .dots button[aria-pressed=true] {
    width: 21px;
  }
}

