:root {
  --bg: #fff8f2;
  --panel: #fff;
  --ink: #2b2430;
  --muted: #746b75;
  --accent: #f28c28;
  --accent2: #ffb246;
  --border: #f0ded0;
  --good: #12845f;
  --bad: #c64747;
  --shadow: 0 18px 50px rgba(93, 52, 26, 0.1);
}
.waitlist-card {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  padding: 28px 34px;
  background: linear-gradient(110deg, #fff 0%, #fff4e8 100%);
  border: 2px solid #ffd0ad;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(93, 52, 26, 0.1);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr;
  align-items: center;
  gap: 28px;
}
.waitlist-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: -1.5px;
}
.waitlist-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 16px;
}
.countdown-heading .eyebrow {
  color: #c76613;
  font-weight: 950;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.countdown span {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown b {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  font-weight: 950;
}
.countdown small {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.countdown i {
  font-size: 24px;
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}
.waitlist-input-row {
  display: flex;
  gap: 10px;
}
.waitlist-input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.waitlist-input-row .primary-btn {
  padding: 11px 16px;
  white-space: nowrap;
}
.waitlist-message {
  min-height: 18px;
}
.waitlist-message.success {
  color: var(--good);
  font-weight: 700;
}
.waitlist-message.error {
  color: var(--bad);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.confetti {
  position: fixed;
  top: -18px;
  width: 10px;
  height: 18px;
  z-index: 50;
  pointer-events: none;
  animation: confetti-fall 2800ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes confetti-fall {
  to {
    transform: translate(var(--drift), 105vh) rotate(900deg);
    opacity: 0;
  }
}
:root {
  --bg: #fff8f2;
  --panel: #fff;
  --ink: #2b2430;
  --muted: #746b75;
  --accent: #f28c28;
  --accent2: #ffb246;
  --border: #f0ded0;
  --good: #12845f;
  --bad: #c64747;
  --shadow: 0 18px 50px rgba(93, 52, 26, 0.1);
}
.waitlist-card {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0;
  padding: 28px 34px;
  background: linear-gradient(110deg, #fff 0%, #fff4e8 100%);
  border: 2px solid #ffd0ad;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(93, 52, 26, 0.1);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.5fr;
  align-items: center;
  gap: 28px;
}
.waitlist-card h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 950;
  letter-spacing: -1.5px;
}
.waitlist-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 5px 0 16px;
}
.countdown-heading .eyebrow {
  color: #c76613;
  font-weight: 950;
}
.countdown {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.countdown span {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.countdown b {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
  font-weight: 950;
}
.countdown small {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.countdown i {
  font-size: 24px;
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
}
.waitlist-input-row {
  display: flex;
  gap: 10px;
}
.waitlist-input-row input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}
.waitlist-input-row .primary-btn {
  padding: 11px 16px;
  white-space: nowrap;
}
.waitlist-message {
  min-height: 18px;
}
.waitlist-message.success {
  color: var(--good);
  font-weight: 700;
}
.waitlist-message.error {
  color: var(--bad);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.confetti {
  position: fixed;
  top: -18px;
  width: 10px;
  height: 18px;
  z-index: 50;
  pointer-events: none;
  animation: confetti-fall 2800ms cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes confetti-fall {
  to {
    transform: translate(var(--drift), 105vh) rotate(900deg);
    opacity: 0;
  }
}
@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }
  .topbar {
    height: 64px !important;
  }
  .brand {
    font-size: 18px !important;
  }
  .brand-mark {
    width: 30px !important;
    height: 30px !important;
  }
  .wallet-btn {
    font-size: 12px;
    white-space: nowrap;
  }
  .hero {
    gap: 30px !important;
    padding: 38px 6vw 48px !important;
  }
  .hero h1 {
    font-size: 42px !important;
    line-height: 1.02 !important;
    margin-bottom: 18px !important;
  }
  .hero-copy {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-bottom: 24px !important;
  }
  .hero .primary-btn {
    min-height: 48px;
    width: 100%;
  }
  .waitlist-card {
    gap: 18px !important;
    padding: 21px 18px !important;
    border-radius: 18px !important;
  }
  .waitlist-card h2 {
    font-size: 28px !important;
  }
  .countdown {
    justify-content: space-between !important;
    gap: 5px !important;
  }
  .countdown b {
    font-size: 27px !important;
  }
  .countdown i {
    font-size: 19px !important;
  }
  .waitlist-input-row {
    flex-direction: column !important;
  }
  .waitlist-input-row input,
  .waitlist-input-row .primary-btn {
    width: 100%;
    min-height: 48px;
  }
  .payment-marquee {
    margin-inline: -6vw !important;
    width: calc(100% + 12vw) !important;
  }
  .payment-marquee-set {
    gap: 24px !important;
    padding: 10px 14px !important;
  }
  .payment-method {
    font-size: 13px !important;
  }
  .payment-method img {
    width: 24px !important;
    height: 24px !important;
  }
  .hero-card {
    padding: 20px !important;
    border-radius: 20px !important;
  }
  .hero-stat {
    padding: 12px 0 !important;
  }
  .hero-stat strong {
    font-size: 22px !important;
  }
  .hero-art {
    width: 100% !important;
    max-width: 390px !important;
    justify-self: center !important;
  }
  .reward-pop {
    right: 0 !important;
    top: 5% !important;
    padding: 8px 10px !important;
  }
  .reward-coin {
    width: 31px !important;
    height: 31px !important;
    font-size: 17px !important;
  }
  .section {
    padding: 54px 6vw !important;
  }
  .section-head {
    align-items: flex-start !important;
    gap: 14px;
  }
  .section-head h2 {
    font-size: 31px !important;
  }
  .challenge-card {
    padding: 20px !important;
    border-radius: 19px !important;
  }
  .passage-text {
    font-size: 18px !important;
    line-height: 1.55 !important;
    margin: 22px 0 !important;
  }
  .timer-row {
    gap: 9px !important;
  }
  .timer-row div {
    padding: 13px !important;
  }
  .typing-card textarea {
    min-height: 190px !important;
    font-size: 16px !important;
  }
  .primary-btn,
  .secondary-btn {
    min-height: 48px !important;
    font-size: 15px !important;
  }
  .dashboard {
    gap: 11px !important;
  }
  .dashboard-card {
    padding: 17px !important;
  }
  .dashboard-card strong {
    font-size: 24px !important;
  }
  .plan {
    padding: 22px !important;
    border-radius: 19px !important;
  }
  .plan.featured {
    transform: none !important;
  }
  .plan h3 {
    font-size: 28px !important;
  }
  .price {
    font-size: 42px !important;
  }
  .payment-features {
    margin: 0 0 20px !important;
  }
  .rule-grid {
    gap: 12px !important;
  }
  .rule-grid > div {
    padding: 18px !important;
  }
  footer {
    padding: 22px 6vw !important;
    text-align: center !important;
  }
}
.payment-features {
  display: grid;
  gap: 9px;
  margin: -6px 0 22px;
  padding: 14px;
  border: 1px solid #f4dfd0;
  border-radius: 13px;
  background: #fff9f4;
}
.payment-features span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5f5860;
  font-size: 14px;
  font-weight: 800;
}
.payment-features i {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 24px;
  border-radius: 7px;
  font-style: normal;
}
.upi-icon {
  background: linear-gradient(135deg, #58369b, #d65a34);
  color: #fff;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.2px;
}
.withdraw-icon {
  width: 24px !important;
  background: #eaf8f3;
  color: #12845f;
  font-size: 19px;
  font-weight: 900;
}
.plan > a.full {
  display: block;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}
.plan h3 {
  font-size: 28px !important;
}
.price {
  font-size: 44px !important;
}
.plan p {
  font-size: 16px !important;
}
.plan li {
  font-size: 15px !important;
}
.plan.featured .payment-features {
  border-color: #ffd5b5;
  background: #fffaf6;
}
.upi-logo {
  display: block;
  width: 32px;
  height: 24px;
  object-fit: contain;
}
.withdrawal-promise {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}
.withdrawal-promise img {
  width: 54px;
  height: 38px;
  object-fit: contain;
}
.withdrawal-promise span {
  display: flex;
  flex-direction: column;
}
.withdrawal-promise strong {
  color: #56e3a7;
  font-size: 14px;
}
.withdrawal-promise small {
  margin: 2px 0 0;
  color: #a8ead0;
  font-size: 11px;
}
@media (max-width: 560px) {
  .withdrawal-promise {
    padding: 11px;
  }
  .withdrawal-promise img {
    width: 47px;
    height: 34px;
  }
  .withdrawal-promise strong {
    font-size: 12px;
  }
}
.language-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #f3d6bf;
  border-radius: 999px;
  background: #fffaf6;
  box-shadow: 0 8px 18px rgba(93, 52, 26, 0.07);
  font-size: 12px;
  font-weight: 850;
}
.language-selector > span {
  color: #746b75;
  margin-right: 4px;
}
.language-btn {
  min-height: 36px;
  padding: 6px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #665c65;
  font: 800 13px inherit;
  cursor: pointer;
}
.language-btn[aria-pressed="true"] {
  border-color: #f28c28;
  background: #f28c28;
  color: #fff;
  box-shadow: 0 5px 12px rgba(242, 140, 40, 0.25);
}
.hero.hero > .language-selector {
  grid-column: 1/-1 !important;
  grid-row: 1 !important;
  justify-self: center;
}
.hero.hero > .waitlist-card {
  grid-column: 1/-1 !important;
  grid-row: 2 !important;
}
.hero.hero > .payment-marquee {
  grid-row: 2 !important;
}
.hero.hero > div:first-child {
  grid-row: 3 !important;
}
.hero.hero > .hero-card {
  grid-column: 2 !important;
  grid-row: 3 !important;
  align-self: center;
  max-width: 430px;
}
.hero.hero > .hero-art {
  grid-column: 1/-1 !important;
  grid-row: 4 !important;
  width: min(100%, 520px);
  justify-self: center;
  align-self: center;
}
@media (max-width: 900px) {
  .hero.hero > .language-selector,
  .hero.hero > .waitlist-card,
  .hero.hero > .payment-marquee,
  .hero.hero > .hero-card,
  .hero.hero > .hero-art,
  .hero.hero > div:first-child {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: none;
  }
}
@media (max-width: 560px) {
  .language-selector {
    justify-content: space-between;
    width: 100%;
    border-radius: 16px;
  }
  .language-selector > span {
    font-size: 11px;
  }
  .language-btn {
    min-height: 38px;
    padding-inline: 12px;
  }
}
.payment-marquee {
  grid-column: 1/-1 !important;
  grid-row: 2 !important;
  width: 100%;
  overflow: hidden;
  border-block: 1px solid #f4d7c1;
  background: #fffaf6;
  box-shadow: 0 10px 24px rgba(93, 52, 26, 0.06);
}
.payment-marquee-track {
  display: flex;
  width: max-content;
  animation: payment-scroll 22s linear infinite;
}
.payment-marquee-set {
  display: flex;
  align-items: center;
  gap: 34px;
  min-width: max-content;
  padding: 12px 17px;
}
.payment-label {
  color: #a95012;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.3px;
}
.payment-method {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #413946;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}
.payment-method img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
}
.payment-method .bank-icon {
  padding: 4px;
  border-radius: 7px;
  background: #edf4ff;
  filter: invert(25%) sepia(18%) saturate(1215%) hue-rotate(177deg)
    brightness(93%);
}
.hero > div:first-child {
  grid-row: 3 !important;
}
.hero > .hero-card {
  grid-row: 3 !important;
}
.hero > .hero-art {
  grid-column: 2 !important;
  grid-row: 3 !important;
}
@keyframes payment-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .payment-marquee-track {
    animation: none;
  }
}
@media (max-width: 900px) {
  .hero > .payment-marquee {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .hero > div:first-child,
  .hero > .hero-card,
  .hero > .hero-art {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}
.hero-art {
  position: relative;
}
.typing-student {
  display: block;
  width: 100%;
  height: auto;
  animation: student-float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 24px 25px rgba(93, 52, 26, 0.18));
}
.reward-pop {
  position: absolute;
  top: 11%;
  right: 1%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 2px solid #ffd0ad;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px rgba(93, 52, 26, 0.16);
  animation: reward-pop 3.4s ease-in-out infinite;
}
.reward-pop > span {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #eaf8f3;
  color: #12845f;
  font-size: 14px;
  font-weight: 900;
}
.reward-pop b {
  display: block;
  color: #12845f;
  font-size: 15px;
  line-height: 1.1;
}
.reward-pop small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.reward-coin {
  position: absolute;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #ffb246;
  color: #fff;
  box-shadow: 0 9px 18px rgba(242, 140, 40, 0.28);
  font-size: 21px;
  font-weight: 900;
  animation: coin-drift 3.2s ease-in-out infinite;
}
.coin-one {
  left: 7%;
  top: 19%;
}
.coin-two {
  right: 10%;
  bottom: 15%;
  animation-delay: -1.6s;
}
@keyframes student-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-11px);
  }
}
@keyframes reward-pop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.035);
  }
}
@keyframes coin-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-16px) rotate(12deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .typing-student,
  .reward-pop,
  .reward-coin {
    animation: none;
  }
}
.challenge-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dev-only {
  display: none;
  font-size: 11px;
  padding: 8px 10px;
}
.dev-only:not([hidden]) {
  display: inline-flex;
}
.wallet-btn {
  border-color: #ffd0ad;
  background: #fff1e6;
  color: #c76613;
}
.hero {
  grid-template-columns: 1.05fr 0.95fr;
  gap: 45px;
  padding: 70px 8vw;
  background:
    radial-gradient(circle at 85% 15%, #ffe6d1 0, transparent 38%),
    linear-gradient(145deg, #fff 0, #fff8f2 80%);
}
.hero-art {
  max-width: 520px;
  justify-self: end;
}
.hero-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.primary-btn {
  box-shadow: 0 10px 24px rgba(242, 140, 40, 0.28);
}
.primary-btn:hover {
  background: #dc7617;
}
.timer-ring {
  background: #fff1e6;
  border-color: #ffd0ad;
}
.typing-card textarea:focus {
  box-shadow: 0 0 0 4px rgba(242, 140, 40, 0.12);
}
@media (max-width: 900px) {
  .hero-art {
    justify-self: center;
  }
}
.hero > div:first-child {
  grid-column: 1;
  grid-row: 2;
}
.hero > .hero-card {
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 900px) {
  .hero > div:first-child,
  .hero > .hero-card,
  .hero > .hero-art,
  .waitlist-card {
    grid-column: 1;
    grid-row: auto;
  }
  .waitlist-card {
    grid-template-columns: 1fr;
  }
  .countdown {
    justify-content: flex-start;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
.topbar {
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.4px;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  margin-right: 8px;
}
.topbar nav {
  display: flex;
  gap: 28px;
}
.topbar a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.wallet-btn {
  border: 1px solid #cfd4ff;
  background: #f1f0ff;
  color: #4841d8;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.hero {
  min-height: 560px;
  padding: 90px 8vw 70px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  align-items: center;
  gap: 70px;
  background:
    radial-gradient(circle at 85% 15%, #e9e7ff 0, transparent 38%),
    linear-gradient(145deg, #fff 0, #f6f7ff 80%);
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.96;
  letter-spacing: -4px;
  margin: 0 0 24px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 30px;
}
.hero-card {
  background: var(--ink);
  color: #fff;
  padding: 30px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-stat {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-stat span {
  color: #bfc6d8;
}
.hero-stat strong {
  font-size: 24px;
}
.hero-card small {
  display: block;
  color: #9fa8bd;
  margin-top: 18px;
}
.primary-btn,
.secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}
.primary-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 85, 245, 0.24);
}
.primary-btn:hover {
  transform: translateY(-1px);
  background: #4d47df;
}
.secondary-btn {
  background: #eef0f6;
  color: var(--ink);
}
.secondary-btn:disabled,
.primary-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}
.full {
  width: 100%;
}
.section {
  padding: 78px 8vw;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}
.section-head h2 {
  margin: 0;
  font-size: 36px;
  letter-spacing: -1.2px;
}
.section-head p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 0;
}
.center {
  text-align: center;
  justify-content: center;
}
.status-pill {
  padding: 8px 13px;
  background: #eaf8f3;
  color: var(--good);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}
.challenge-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}
.challenge-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
}
.card-top {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  text-transform: uppercase;
}
.difficulty {
  color: #b77a00;
  background: #fff4d7;
  padding: 5px 8px;
  border-radius: 999px;
}
.passage-text {
  font-size: 23px;
  line-height: 1.65;
  min-height: 260px;
  margin: 30px 0;
  color: #273451;
}
.timer-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.timer-row div {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 15px;
}
.timer-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.timer-row strong {
  font-size: 20px;
}
.typing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.timer-ring {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: #f0efff;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
  margin: 0 auto 6px;
  border: 7px solid #dad7ff;
}
.typing-card textarea {
  width: 100%;
  min-height: 250px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 16px;
  font: inherit;
  color: var(--ink);
  outline: none;
}
.typing-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 85, 245, 0.1);
}
.inline-challenge-grid {
  grid-template-columns: minmax(0, 1fr);
}
.practice-inline {
  position: relative;
  height: clamp(160px, 32dvh, 260px);
  background: #fafafd;
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
}
.practice-inline:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(242 140 40 / 12%);
}
.practice-inline .practice-overlay,
.typing-card .practice-inline textarea {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 18px;
  border: 0;
  font:
    400 18px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  letter-spacing: 0;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  tab-size: 4;
  scrollbar-width: none;
}
.practice-inline .practice-overlay {
  color: #687080;
  overflow: hidden;
  pointer-events: none;
}
.typing-card .practice-inline textarea {
  resize: none;
  background: transparent;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: transparent;
  box-shadow: none;
  overflow-y: auto;
}
.practice-inline textarea::-webkit-scrollbar {
  display: none;
}
.practice-inline .typed-correct {
  color: #187348;
  background: #dcfce7;
}
.practice-inline .typed-error {
  color: #b42318;
  background: #fee4e2;
  text-decoration: underline;
}
.practice-inline:focus-within .typing-caret {
  border-left: 2px solid var(--accent);
  margin-left: -2px;
}
.progress-wrap {
  height: 7px;
  background: #edf0f6;
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.1s;
}
.small-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.dashboard {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.dashboard-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 18px;
}
.dashboard-card span {
  color: var(--muted);
  font-size: 13px;
}
.dashboard-card strong {
  display: block;
  font-size: 28px;
  margin: 4px 0;
}
.dashboard-card small {
  color: var(--muted);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.plan.featured {
  border: 2px solid var(--accent);
  transform: translateY(-5px);
}
.plan-tag {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: var(--accent);
}
.plan h3 {
  font-size: 26px;
  margin: 10px 0;
}
.price {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
}
.price span {
  font-size: 13px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 700;
}
.plan p {
  color: var(--muted);
  min-height: 68px;
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
}
.plan li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f1f5;
}
.rules {
  background: #141a2e;
  color: #fff;
}
.rules h2 {
  font-size: 38px;
  margin: 0;
}
.rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}
.rule-grid > div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
}
.rule-grid b {
  color: #8c87ff;
  font-size: 12px;
}
.rule-grid h3 {
  margin: 8px 0;
}
.rule-grid p {
  color: #aeb6ca;
  margin: 0;
}
.warning {
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 15px;
  color: #c4c9d8;
  font-size: 13px;
}
.warning strong {
  color: #fff;
}
footer {
  padding: 24px 8vw;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7f879a;
  font-size: 12px;
  background: #0f1424;
}
@media (max-width: 900px) {
  .hero,
  .challenge-grid {
    grid-template-columns: 1fr;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .dashboard {
    grid-template-columns: repeat(2, 1fr);
  }
  .rule-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .topbar nav {
    display: none;
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 60px 6vw;
  }
  .section {
    padding: 58px 6vw;
  }
  .hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .dashboard,
  .rule-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    padding: 0 5vw;
  }
  .wallet-btn {
    padding: 8px 12px;
  }
  .passage-text {
    font-size: 19px;
    min-height: auto;
  }
  .timer-row {
    grid-template-columns: 1fr;
  }
}
