:root {
  --purple: #552ecd;
  --purple-hover: #4624b3;
  --purple-soft: #ede4ff;
  --text: #1a1a1a;
  --muted: #666666;
  --faint: #9ca3af;
  --line: #e5e7eb;
  --bg: #ffffff;
  --green: #22c55e;
  --green-bg: #dcfce7;
  --green-text: #15803d;
  --blue: #3b82f6;
  --blue-soft: #eaf2ff;
  --orange: #f97316;
  --orange-soft: #fff1e6;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  --font: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  --display: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 14px;
  --fs-lg: 15px;
  --fs-xl: 26px;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .btn, .price, .auth-block h1, .auth-block h2 {
  font-family: var(--display);
}

img,
svg {
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
  font-family: inherit;
}

.site-header,
.hero,
.features,
.pricing,
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-mark.sm {
  width: 18px;
  height: 18px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.menu-btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.28);
  z-index: 40;
  display: flex;
  justify-content: flex-end;
}

.nav-overlay[hidden] {
  display: none;
}

.nav-drawer {
  width: min(280px, 86vw);
  height: 100%;
  background: #fff;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.08);
}

.nav-drawer a {
  padding: 12px 10px;
  border-radius: 10px;
  font-weight: 600;
}

.nav-drawer a:hover {
  background: var(--purple-soft);
  color: var(--purple);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 12px;
  padding: 18px 0 28px;
}

.hero-copy h1 {
  font-size: clamp(26px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #111111;
}

.hero-copy h1 span {
  color: var(--purple);
}

.hero-copy > p {
  margin: 10px 0 16px;
  max-width: 420px;
  color: #71717a;
  font-size: clamp(13px, 2.2vw, 17px);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: var(--purple);
  border-radius: 12px;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
}

.btn:hover {
  background: var(--purple-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(93, 46, 236, 0.22);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-lg {
  padding: 12px 18px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-wide,
.btn-auth {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  position: relative;
}

.btn-auth svg,
.btn-wide svg {
  position: absolute;
  right: 18px;
}

.trust-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--faint);
  font-size: 12px;
}

.trust-line svg {
  width: 18px;
  height: 18px;
}

.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow {
  position: absolute;
  width: min(340px, 90%);
  height: min(340px, 90%);
  border-radius: 50%;
  background: radial-gradient(circle, #efe7ff 0%, rgba(239, 231, 255, 0.4) 48%, transparent 70%);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(220px, 46vw);
  height: min(450px, 94vw);
  background: #111;
  border-radius: 32px;
  padding: 8px;
  box-shadow: 16px 28px 48px rgba(17, 24, 39, 0.18);
  transform: rotate(6deg);
  border: 2px solid #2a2a2e;
}

.phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 20px;
  background: #111;
  border-radius: 12px;
  z-index: 3;
}

.phone-screen {
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  padding: 32px 12px 14px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
}

.app-menu {
  width: 18px;
  display: grid;
  gap: 3px;
}

.app-menu i {
  display: block;
  height: 1.6px;
  background: #111;
  border-radius: 2px;
}

.app-label {
  font-size: 12px;
  font-weight: 700;
  color: #1f2937;
  margin: 10px 2px 8px;
}

.subject-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.subject-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 4px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.subject-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.subject-icon svg {
  width: 17px;
  height: 17px;
}

.subject-icon.bio { background: #e8f8ee; }
.subject-icon.phy { background: #efe8ff; }
.subject-icon.chem { background: #fff1e6; }

.test-list {
  display: grid;
  gap: 8px;
}

.test-item {
  background: #fff;
  border-radius: 14px;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.test-item strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.2;
}

.test-item small {
  color: #9ca3af;
  font-size: 9.5px;
}

.test-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.test-ico svg {
  width: 15px;
  height: 15px;
}

.test-ico.mock { background: #efe8ff; }
.test-ico.chapter { background: #e8f8ee; }

.test-item .chev {
  margin-left: auto;
  color: #c4c8d0;
  font-size: 18px;
  line-height: 1;
}

.recent-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.recent-card strong {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.recent-card small {
  color: #9ca3af;
  font-size: 9px;
}

.recent-card b {
  color: #22c55e;
  font-size: 13px;
  flex: 0 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.features article {
  padding: 22px 12px;
  text-align: center;
}

.features article + article {
  border-left: 1px solid #eef0f4;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-icon.purple { background: #f1ebff; }
.feature-icon.blue { background: var(--blue-soft); }
.feature-icon.orange { background: var(--orange-soft); }

.features h2 {
  font-size: 15px;
  margin-bottom: 6px;
}

.features p {
  color: var(--muted);
  font-size: 12px;
  max-width: 160px;
  margin-inline: auto;
}

.pricing {
  margin-top: 20px;
  border: 1px solid #e7e9ee;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.crown {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--purple);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.crown svg {
  width: 24px;
  height: 24px;
}

.pricing-info h2 {
  font-size: 16px;
  letter-spacing: -0.03em;
}

.pricing-info p {
  color: var(--muted);
  font-size: 12px;
}

.price-block {
  text-align: right;
}

.offer-pill {
  display: inline-block;
  background: var(--green-bg);
  color: var(--green-text);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.price {
  color: var(--purple);
  font-weight: 700;
  font-size: 18px;
}

.price span {
  font-size: 32px;
  letter-spacing: -0.04em;
  line-height: 1;
}

.old-price {
  color: var(--faint);
  text-decoration: line-through;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  font-size: 15px;
}

.perk-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 14px 0 16px;
  padding: 12px 0;
  border-top: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
}

.perk-row li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.perk-row li + li {
  border-left: 1px solid #eef0f4;
}

.perk-row svg {
  width: 18px;
  height: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer svg {
  width: 16px;
  height: 16px;
}

.auth-body {
  background: #fff;
}

.app {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 16px 22px 28px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 8px;
}

.auth-header .brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #1a1a2e;
}

.back-btn {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
}

.back-btn svg {
  width: 22px;
  height: 22px;
}

.auth-block {
  text-align: center;
  padding: 22px 0 0;
}

.auth-block[hidden] {
  display: none !important;
}

.auth-icon {
  width: 72px;
  height: 72px;
  margin: 8px auto 18px;
  border-radius: 50%;
  background: var(--purple-soft);
  display: grid;
  place-items: center;
}

.auth-icon svg {
  width: 30px;
  height: 30px;
}

.auth-block h1,
.auth-block h2 {
  font-size: 28px;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #0a1128;
  line-height: 1.15;
}

.auth-block h2 {
  font-size: 26px;
}

.auth-sub {
  color: var(--muted);
  margin: 10px 0 28px;
  font-size: 14.5px;
  line-height: 1.45;
}

.phone-field {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 3px 14px;
  margin-bottom: 16px;
  background: #fff;
}

.phone-field:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(93, 46, 236, 0.12);
}

.cc-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  padding: 12px 4px;
  font-family: var(--display);
}

.cc-btn svg {
  width: 10px;
  height: 10px;
}

.phone-divider {
  width: 1px;
  height: 22px;
  background: #e5e7eb;
  margin: 0 12px;
}

.phone-field input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 12px 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.phone-field input::placeholder {
  color: #c0c4cc;
  font-weight: 400;
}

.field-error {
  color: #dc2626;
  font-size: 13px;
  margin: -6px 0 12px;
  text-align: left;
}

.otp-block .field-error {
  text-align: center;
  margin: 12px 0 0;
}

.btn-auth {
  height: 54px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.btn-auth span {
  pointer-events: none;
}

.auth-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 28px 0 8px;
}

.auth-split span {
  height: 1px;
  background: #e8eaef;
}

.auth-split svg {
  width: 18px;
  height: 18px;
}

.otp-block {
  padding-top: 22px;
}

.otp-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 16px;
}

.otp-box {
  flex: 1;
  max-width: 72px;
  height: 64px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  outline: none;
  background: #fff;
  font-family: var(--display);
}

.otp-box::placeholder {
  color: #c5c9d2;
  font-weight: 500;
  font-size: 22px;
}

.otp-box:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(93, 46, 236, 0.12);
}

.otp-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2px 2px 18px;
  font-size: 14px;
}

.link-btn {
  border: 0;
  background: none;
  color: var(--purple);
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.resend {
  color: var(--muted);
}

.resend span,
.resend button {
  color: var(--purple);
  font-weight: 600;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.auth-foot {
  margin-top: auto;
  padding: 28px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9aa0ad;
  font-size: 13px;
}

.auth-foot svg {
  width: 15px;
  height: 15px;
}

.auth-shell {
  min-height: 100%;
}

.auth-aside {
  display: none;
}

.auth-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #111827;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  z-index: 50;
}

.toast[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .hero {
    padding: 36px 0 48px;
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 52px;
  }

  .hero-copy > p {
    font-size: 17px;
    margin: 16px 0 24px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone {
    width: 250px;
    height: 520px;
  }

  .landing-body .hero-visual {
    min-height: 280px;
  }

  .landing-body .phone {
    width: 148px;
    height: 304px;
  }

  .features article {
    padding: 32px 24px;
  }

  .feature-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .crown {
    width: 52px;
    height: 52px;
  }

  .features h2 {
    font-size: 18px;
  }

  .features p {
    font-size: 14px;
  }

  .pricing {
    padding: 28px;
  }

  .pricing-info h2 {
    font-size: 22px;
  }

  .pricing-info p {
    font-size: 14px;
  }

  .price span {
    font-size: 42px;
  }

  .perk-row li {
    font-size: 14px;
  }
}

/* Mobile-only layout for now */
.landing-body,
.auth-body,
.dash-body {
  max-width: 430px;
  margin: 0 auto;
  background: #fff;
}

@media (min-width: 768px) {
  .auth-body {
    max-width: none;
    margin: 0;
    background:
      radial-gradient(circle at 18% 12%, rgba(109, 62, 234, 0.14), transparent 32%),
      radial-gradient(circle at 88% 88%, rgba(85, 46, 205, 0.1), transparent 36%),
      #f5f2fb;
  }

  .auth-shell {
    min-height: 100vh;
  }

  .auth-body .app {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: 40px 24px;
    background: transparent;
    align-items: center;
    justify-content: center;
  }

  .auth-card {
    width: min(440px, 100%);
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #eeeaf6;
    border-radius: 28px;
    box-shadow: 0 24px 60px rgba(48, 24, 110, 0.12);
    padding: 22px 28px 20px;
  }

  .auth-header {
    padding: 2px 0 4px;
  }

  .auth-block {
    padding-top: 12px;
  }

  .otp-block {
    padding-top: 12px;
  }

  .auth-foot {
    margin-top: 8px;
    padding: 18px 0 6px;
  }
}

@media (min-width: 1024px) {
  .auth-body {
    background: #f4f1fb;
  }

  .auth-shell {
    display: grid;
    grid-template-columns: minmax(380px, 1.05fr) minmax(480px, 1fr);
  }

  .auth-aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 44px 56px 36px;
    color: #fff;
    background:
      radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.18), transparent 28%),
      radial-gradient(circle at 8% 88%, rgba(0, 0, 0, 0.12), transparent 34%),
      linear-gradient(165deg, #4c22c6 0%, #5d2eec 46%, #7b4de8 100%);
  }

  .auth-aside::before,
  .auth-aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }

  .auth-aside::before {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -70px;
    background: rgba(255, 255, 255, 0.08);
  }

  .auth-aside::after {
    width: 160px;
    height: 160px;
    left: -50px;
    top: 120px;
    background: rgba(255, 255, 255, 0.07);
  }

  .auth-aside-brand {
    position: relative;
    z-index: 1;
    width: fit-content;
  }

  .auth-aside-brand .brand-mark {
    width: 36px;
    height: 36px;
    padding: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.16);
  }

  .auth-aside-brand .brand-name {
    color: #fff;
    font-size: 22px;
  }

  .auth-body .back-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f4f0fc;
  }

  .auth-aside-copy {
    position: relative;
    z-index: 1;
    max-width: 440px;
  }

  .auth-kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .auth-aside-copy h2 {
    font-family: var(--display);
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.045em;
    font-weight: 800;
  }

  .auth-aside-copy > p {
    margin: 16px 0 28px;
    max-width: 380px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    line-height: 1.55;
  }

  .auth-points {
    list-style: none;
    display: grid;
    gap: 14px;
  }

  .auth-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
  }

  .auth-points svg {
    width: 22px;
    height: 22px;
  }

  .auth-aside-foot {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
  }

  .auth-body .app {
    padding: 48px 40px;
    background: #f6f3fc;
  }

  .auth-card {
    width: min(460px, 100%);
    padding: 28px 36px 22px;
  }

  .auth-header {
    justify-content: flex-end;
  }

  .auth-header .brand {
    display: none;
  }

  .auth-block h1,
  .auth-block h2 {
    font-size: 30px;
  }

  .otp-box {
    height: 68px;
    max-width: 78px;
    font-size: 24px;
  }
}

.landing-body .hero {
  grid-template-columns: minmax(0, 1fr) 158px;
  align-items: center;
  gap: 10px 8px;
  padding: 10px 0 28px;
  overflow: visible;
}

.landing-body .hero-copy h1 {
  font-size: 26px;
}

.landing-body .hero-copy > p {
  margin: 8px 0 12px;
  font-size: 12px;
}

.landing-body .hero-copy .btn-lg {
  padding: 10px 14px;
  font-size: 13px;
}

.landing-body .hero-visual {
  min-height: 280px;
  margin-top: 0;
}

.landing-body .phone-glow {
  width: 170px;
  height: 170px;
}

.landing-body .phone {
  width: 148px;
  height: 304px;
  padding: 6px;
  border-radius: 26px;
  transform: rotate(8deg);
}

.landing-body .phone-island {
  top: 12px;
  width: 56px;
  height: 14px;
}

.landing-body .phone-screen {
  border-radius: 20px;
  padding: 24px 8px 8px;
}

.landing-body .phone-screen .app-head {
  margin-bottom: 8px;
}

.landing-body .phone-screen .app-brand {
  font-size: 10px;
}

.landing-body .phone-screen .app-label {
  font-size: 8px;
  margin: 6px 0 5px;
}

.landing-body .phone-screen .subject-row {
  gap: 4px;
  margin-bottom: 8px;
}

.landing-body .phone-screen .subject-card {
  font-size: 7px;
  padding: 6px 1px 5px;
  gap: 3px;
  border-radius: 8px;
}

.landing-body .phone-screen .subject-icon {
  width: 18px;
  height: 18px;
}

.landing-body .phone-screen .subject-icon svg {
  width: 10px;
  height: 10px;
}

.landing-body .phone-screen .test-item {
  padding: 6px 5px;
  gap: 5px;
  border-radius: 8px;
}

.landing-body .phone-screen .test-ico {
  width: 20px;
  height: 20px;
}

.landing-body .phone-screen .test-item strong {
  font-size: 7px;
}

.landing-body .phone-screen .test-item small {
  font-size: 6px;
}

.landing-body .phone-screen .recent-card,
.landing-body .phone-screen .app-label:nth-of-type(3) {
  display: none;
}

.landing-body .features {
  grid-template-columns: repeat(3, 1fr);
}

.landing-body .features article {
  padding: 16px 6px;
}

.landing-body .features h2 {
  font-size: 12px;
}

.landing-body .features p {
  font-size: 10px;
  max-width: none;
}

.landing-body .features article + article {
  border-left: 1px solid #eef0f4;
  border-top: 0;
}

.landing-body .pricing-top {
  flex-direction: column;
  align-items: flex-start;
}

.landing-body .price-block {
  text-align: left;
}

.landing-body .perk-row {
  grid-template-columns: 1fr 1fr;
  gap: 10px 0;
}

.landing-body .perk-row li {
  justify-content: flex-start;
  padding: 4px;
  font-size: 13px;
}

.landing-body .perk-row li + li {
  border-left: 0;
}

.auth-switch {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.auth-switch a {
  color: var(--purple);
  font-weight: 600;
}

.drawer-logout {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 12px 10px;
  font-weight: 600;
  color: #b91c1c;
  cursor: pointer;
}

.hello {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  margin: 8px 0 18px;
}

.dash-app .app-label {
  font-size: 15px;
}

.home-subjects .subject-card,
.home-tests .test-item,
.home-recent {
  font-size: 14px;
}

.home-subjects .subject-icon {
  width: 40px;
  height: 40px;
}

.home-tests .test-item strong,
.home-recent strong {
  font-size: 14px;
}

.home-tests .test-item small,
.home-recent small {
  font-size: 12px;
}

.home-recent b {
  font-size: 16px;
}

a.subject-card,
a.test-item {
  color: inherit;
  text-decoration: none;
}

.practice-body {
  background: #f4f4f8;
}

.practice-app {
  padding: 8px 16px 28px;
  background: #f4f4f8;
}

.practice-block {
  background: linear-gradient(#f6f0ff 0%, #fff 38%);
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.05);
  padding: 12px 12px 14px;
  margin-bottom: 12px;
}

.practice-block .practice-step {
  margin-top: 0;
}

.practice-top {
  display: grid;
  grid-template-columns: 40px 40px 1fr 40px;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
}

.practice-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #1a1a1a;
  cursor: pointer;
}

.practice-icon-btn svg {
  width: 22px;
  height: 22px;
}

.practice-profile {
  border: 1.5px solid #d7d8de;
  border-radius: 50%;
  color: #1a1a1a;
  list-style: none;
}

.practice-profile::-webkit-details-marker {
  display: none;
}

.practice-account {
  position: relative;
}

.practice-account form {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
  min-width: 120px;
  z-index: 4;
}

.practice-account button {
  width: 100%;
  border: 0;
  background: none;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.practice-nav-title {
  margin: 0;
  text-align: center;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
}

.practice-hero {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
}

.practice-sub {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 22px;
}

.practice-step {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  margin: 18px 0 10px;
}

.practice-step span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
}

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

.practice-modes {
  grid-template-columns: 1fr 1fr;
}

.practice-counts {
  grid-template-columns: repeat(4, 1fr);
}

.practice-card,
.practice-count {
  border: 1.5px solid #ececef;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(17, 24, 39, 0.05);
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.practice-card .practice-ico {
  width: 28px;
  height: 28px;
  color: #8b8f99;
}

.practice-card .practice-ico svg,
.practice-start svg {
  width: 100%;
  height: 100%;
}

.practice-card.is-on,
.practice-count.is-on {
  border-color: var(--purple);
  background: #f4edff;
  color: var(--purple);
  box-shadow: none;
}

.practice-card.is-on .practice-ico {
  color: var(--purple);
}

.practice-count {
  min-height: 56px;
  justify-content: center;
  font-size: 18px;
  font-family: var(--display);
}

.practice-select-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.practice-select {
  position: relative;
}

.practice-select select {
  width: 100%;
  height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 0 40px 0 14px;
  font: inherit;
  font-weight: 600;
  appearance: none;
  color: var(--text);
}

.practice-select svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
}

.practice-start {
  width: 100%;
  margin-top: 22px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(90deg, #552ecd 0%, #7b4de8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
}

.practice-start:hover {
  background: linear-gradient(90deg, #4c28b8 0%, #6f42d9 100%);
}

.practice-start svg {
  width: 22px;
  height: 22px;
}

.practice-continue {
  width: 100%;
  margin-top: 14px;
  border: 0;
  background: none;
  color: var(--purple);
  font: inherit;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.practice-continue svg {
  width: 18px;
  height: 18px;
}

.practice-foot {
  margin-top: 22px;
  background: #f1f2f6;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.practice-foot svg {
  width: 18px;
  height: 18px;
}

.quiz-progress {
  min-width: 40px;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
}

.quiz-app .practice-nav-title {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quiz-meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 10px;
}

.quiz-question {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.4;
  margin: 0 0 16px;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  width: 100%;
  border: 1.5px solid #ececef;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  cursor: pointer;
}

.quiz-option b {
  flex: 0 0 22px;
  color: var(--purple);
}

.quiz-option.is-right {
  border-color: #16a34a;
  background: #f0fdf4;
}

.quiz-option.is-wrong {
  border-color: #dc2626;
  background: #fef2f2;
}

.quiz-result {
  text-align: center;
  padding: 28px 8px 8px;
}

.quiz-result .btn + .btn {
  margin-top: 10px;
}

.quiz-score {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hist-mobile-list {
  display: grid;
  gap: 10px;
}

.hist-mobile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1.5px solid #ececef;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}

.hist-mobile-empty {
  color: var(--muted);
  text-align: center;
  padding: 28px 8px;
}

.hist-mobile-card strong {
  display: block;
  font-size: 14px;
}

.hist-mobile-card small {
  color: var(--muted);
  font-size: 12px;
}

.hist-mobile-card b {
  font-size: 16px;
}

.hist-score.good { color: #16a34a; }
.hist-score.mid { color: #ea580c; }
.hist-score.low { color: #dc2626; }

.landing-desktop {
  display: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: #2f46f5;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 12px;
}

@media (min-width: 1024px) {
  .landing-body {
    max-width: none;
    margin: 0;
    background: #fff;
  }

  .landing-mobile {
    display: none !important;
  }

  .landing-desktop {
    --desk: #2f46f5;
    --desk-dark: #2439d4;
    --desk-purple: #552ecd;
    display: block;
    color: #111827;
    background: #fff;
    font-family: var(--font);
  }

  html {
    scroll-behavior: smooth;
  }

  #desk-offer,
  #neet-features,
  #desk-about,
  #desk-contact,
  #desk-support {
    scroll-margin-top: 72px;
  }

  .desk-wrap {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
  }

  .desk-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #f0f1f5;
  }

  .desk-header-inner {
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
  }

  .desk-header-inner .brand {
    justify-self: start;
  }

  .desk-header-inner .desk-signin {
    justify-self: end;
  }

  .desk-header .brand-name {
    font-size: 22px;
    letter-spacing: -0.05em;
  }

  .desk-logo {
    width: 32px;
    height: 32px;
  }

  .desk-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
  }

  .desk-nav a {
    position: relative;
    padding: 10px 0;
  }

  .desk-nav a.is-active {
    color: #ff8a1f;
  }

  .desk-nav a.is-active::after {
    display: none;
  }

  .desk-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 4px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6b7280;
    vertical-align: middle;
  }

  .desk-nav a:hover,
  .desk-help:hover {
    color: #ff8a1f;
  }

  .desk-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .desk-signin {
    background: #552ecd;
    min-width: 118px;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 700;
  }

  .desk-signin svg {
    width: 16px;
    height: 16px;
  }

  .desk-signin:hover {
    background: #4524b0;
    box-shadow: 0 10px 22px rgba(85, 46, 205, 0.24);
  }

  .desk-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-weight: 600;
    font-size: 14px;
  }

  .desk-help svg {
    width: 18px;
    height: 18px;
  }

  .desk-btn-outline,
  .desk-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    font-family: var(--display);
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  }

  .desk-btn-outline {
    border: 1.6px solid var(--desk);
    color: var(--desk);
    background: #fff;
  }

  .desk-btn-solid {
    background: var(--desk);
    color: #fff;
    border: 0;
  }

  .desk-btn-solid svg {
    width: 16px;
    height: 16px;
  }

  .desk-btn-outline:hover,
  .desk-btn-solid:hover {
    transform: translateY(-1px);
  }

  .desk-btn-solid:hover {
    background: var(--desk-dark);
    box-shadow: 0 10px 22px rgba(47, 70, 245, 0.22);
  }

  .desk-hero {
    position: relative;
    padding: 28px 0 16px;
    overflow: hidden;
    background: #fff;
  }

  .desk-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(620px, 50vw);
    height: 380px;
    background-image: radial-gradient(#cfd4dc 1.2px, transparent 1.2px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to bottom right, #000 0%, transparent 78%);
    pointer-events: none;
  }

  .desk-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
    gap: 36px;
    align-items: center;
  }

  .desk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    background: #fff4e8;
    color: #ff8a1f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .desk-hero-badge svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .desk-hero-copy h1 {
    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -0.05em;
    font-weight: 800;
    color: #111827;
  }

  .desk-hero-copy h1 span {
    color: #552ecd;
  }

  .desk-hero-copy > p {
    margin: 12px 0 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
    max-width: 440px;
  }

  .desk-hero-points {
    list-style: none;
    max-width: 280px;
  }

  .desk-hero-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #eceff3;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
  }

  .desk-point-ico {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .desk-point-ico svg {
    width: 22px;
    height: 22px;
  }

  .desk-offer {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1);
    border: 1px solid #eef0f5;
    border-bottom: 3px solid #1b8a3e;
    padding: 14px 24px 58px;
  }

  .desk-sparkler {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 2;
  }

  .desk-sparkler-l {
    top: 12px;
    left: 16px;
  }

  .desk-sparkler-r {
    top: 14px;
    right: 18px;
  }

  .desk-offer-ribbon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 12px;
  }

  .desk-offer-ribbon p {
    margin: 0;
    padding: 7px 16px;
    border-radius: 999px;
    background: #fff4e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ff8a1f;
  }

  .landing-desktop .desk-flag {
    display: inline-flex;
    width: 56px;
    height: 16px;
    border-radius: 2px;
    overflow: hidden;
    transform: skewX(-18deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .landing-desktop .desk-flag i {
    flex: 1;
  }

  .landing-desktop .desk-flag i:nth-child(1) { background: #ff9933; }
  .landing-desktop .desk-flag i:nth-child(2) { background: #fff; }
  .landing-desktop .desk-flag i:nth-child(3) { background: #138808; }

  .landing-desktop .desk-flag-right {
    transform: skewX(18deg);
  }

  .desk-offer-body {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 2px 8px 12px;
  }

  .desk-offer-heading {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .desk-crown {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--desk-purple);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 16px rgba(85, 46, 205, 0.28);
  }

  .desk-crown svg {
    width: 24px;
    height: 24px;
  }

  .desk-offer-copy h2 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .desk-offer-copy p {
    color: #6b7280;
    font-size: 14px;
  }

  .desk-offer-checks {
    list-style: none;
    display: grid;
    gap: 8px;
  }

  .desk-offer-checks li {
    position: relative;
    padding-left: 28px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
  }

  .desk-offer-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M3.2 9.2 7 13l7.8-8.2' stroke='%23552ECD' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
  }

  .desk-offer-price {
    text-align: right;
    min-width: 168px;
    padding-top: 4px;
  }

  .desk-old-price {
    color: #9ca3af;
    font-size: 16px;
  }

  .desk-old-price s {
    text-decoration-color: #e11d48;
    text-decoration-thickness: 2px;
  }

  .desk-zero {
    font-family: var(--display);
    font-size: 60px;
    font-weight: 800;
    line-height: 0.88;
    color: #552ecd;
    letter-spacing: -0.06em;
    margin: 2px 0 6px;
  }

  .desk-offer-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: #ffe8d2;
    color: #c2410c;
    font-size: 12px;
    font-weight: 700;
  }

  .desk-offer-actions {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
  }

  .desk-offer-cta {
    display: inline-flex;
    width: auto;
    min-width: 168px;
    height: 40px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    background: #552ecd;
  }

  .desk-offer-cta:hover {
    background: #4524b0;
    box-shadow: 0 10px 22px rgba(85, 46, 205, 0.24);
  }

  .desk-offer-login {
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    color: #4b5563;
  }

  .desk-offer-login a {
    color: #2f46f5;
    font-weight: 700;
  }

  .desk-offer-login a:hover {
    text-decoration: underline;
  }

  .desk-offer-art {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  .desk-chakra {
    position: absolute;
    right: 8px;
    bottom: 20px;
    width: 132px;
    height: 132px;
    opacity: 0.18;
  }

  .desk-bird {
    position: absolute;
    width: 28px;
    height: 16px;
  }

  .desk-bird-a {
    right: 92px;
    bottom: 108px;
  }

  .desk-bird-b {
    right: 46px;
    bottom: 82px;
  }

  .desk-waves {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 42px;
    opacity: 0.55;
  }

  .desk-trust {
    background: #fff;
    padding: 8px 0 12px;
  }

  .desk-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.07);
    padding: 12px 8px;
  }

  .desk-trust-grid article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 22px;
    position: relative;
  }

  .desk-trust-grid article:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #eceff3;
  }

  .desk-trust-ico {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff7f0;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .desk-trust-ico svg {
    width: 22px;
    height: 22px;
  }

  .desk-trust h2 {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  .desk-trust p {
    color: #6b7280;
    font-size: 13px;
  }

  .desk-features {
    padding: 36px 0 40px;
    background: #fff;
  }

  .desk-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    color: #111;
  }

  .desk-section-title span {
    color: #ff8a1f;
  }

  .desk-section-title::before,
  .desk-section-title::after {
    content: "";
    width: 86px;
    height: 12px;
    background:
      linear-gradient(#552ecd, #552ecd) center / 64px 2px no-repeat,
      linear-gradient(#552ecd, #552ecd) var(--arrow-x) center / 8px 2px no-repeat;
    clip-path: polygon(0 40%, 78% 40%, 78% 10%, 100% 50%, 78% 90%, 78% 60%, 0 60%);
  }

  .desk-section-title::before {
    --arrow-x: right;
    transform: scaleX(-1);
  }

  .desk-section-title::after {
    --arrow-x: left;
  }

  .desk-feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
  }

  .desk-feature-grid article {
    background: #fff;
    border: 1px solid #eef0f5;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.05);
    padding: 16px 12px 14px;
    text-align: center;
    min-height: 120px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }

  .desk-feature-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
  }

  .desk-feature-ico {
    width: 44px;
    height: 44px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
  }

  .desk-feature-ico svg {
    width: 32px;
    height: 32px;
  }

  .desk-feature-grid h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
  }

  .desk-footer {
    padding: 8px 0 28px;
    color: #9ca3af;
    font-size: 12px;
    background: #fff;
  }

  .desk-seo-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .desk-footer-inner {
    text-align: center;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .desk-hero-copy h1 {
    font-size: 38px;
  }

  .desk-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    gap: 24px;
  }

  .desk-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .desk-nav {
    gap: 14px;
    font-size: 13px;
  }

  .desk-zero {
    font-size: 52px;
  }

  .desk-trust-grid article {
    padding: 6px 12px;
  }

  .desk-offer-price {
    min-width: 132px;
  }
}

/* Short laptop viewports — baseline 1366 × 650 */
@media (min-width: 1024px) and (max-height: 700px) {
  .desk-header-inner {
    min-height: 52px;
  }

  .desk-hero {
    padding: 18px 0 12px;
  }

  .desk-hero::before {
    height: 260px;
  }

  .desk-hero-copy h1 {
    font-size: 40px;
  }

  .desk-hero-copy > p {
    margin: 8px 0 12px;
  }

  .desk-hero-points li {
    padding: 7px 0;
  }

  .desk-offer {
    padding: 12px 20px 52px;
  }

  .desk-offer-ribbon {
    margin: 0 0 8px;
  }

  .desk-offer-body {
    padding: 0 8px 8px;
  }

  .desk-offer-heading {
    margin-bottom: 8px;
  }

  .desk-crown {
    width: 40px;
    height: 40px;
  }

  .desk-zero {
    font-size: 52px;
  }

  .desk-offer-cta {
    height: 38px;
  }

  .desk-trust {
    padding: 4px 0 8px;
  }

  .desk-trust-grid {
    padding: 8px 6px;
  }

  .desk-features {
    padding: 28px 0 32px;
  }
}

@media (min-width: 1440px) and (min-height: 800px) {
  .desk-wrap {
    width: min(1200px, calc(100% - 72px));
  }

  .desk-header-inner {
    min-height: 68px;
  }

  .desk-hero {
    padding: 48px 0 24px;
  }

  .desk-hero-copy h1 {
    font-size: 56px;
  }

  .desk-hero-grid {
    gap: 48px;
  }

  .desk-zero {
    font-size: 76px;
  }

  .desk-offer {
    padding: 22px 32px 64px;
  }

  .desk-offer-cta {
    height: 50px;
  }
}

.practice-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .practice-body {
    max-width: none;
    margin: 0;
    height: 100vh;
    overflow: hidden;
    background: #f6f7fb;
  }

  .practice-body .app.practice-app {
    width: 100%;
    max-width: none;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background: #f6f7fb;
    overflow: hidden;
  }

  .practice-mobile {
    display: none !important;
  }

  .practice-desktop {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    background: #f6f7fb;
    font-family: var(--font);
    overflow: hidden;
  }

  .desk-side {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fff;
    border-right: 1px solid #eceef4;
    padding: 20px 16px 18px;
    overflow: hidden;
  }

  .desk-side-brand {
    margin: 0 8px 22px;
  }

  .desk-side-nav {
    display: grid;
    gap: 10px;
  }

  .desk-side-nav a,
  .desk-side-settings {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
  }

  .desk-side-nav a svg,
  .desk-side-settings svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .desk-side-nav a:hover,
  .desk-side-settings:hover {
    background: #f5f3ff;
    color: #552ecd;
  }

  .desk-side-nav a.is-active {
    background: #ede4ff;
    color: #552ecd;
  }

  .desk-side-settings {
    margin-top: auto;
    flex: 0 0 auto;
  }

  .desk-practice-shell {
    display: grid;
    grid-template-rows: 64px 1fr;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  .desk-practice-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 28px;
    background: #fff;
    border-bottom: 1px solid #eceef4;
  }

  .desk-icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #4b5563;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
  }

  .desk-icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .desk-icon-btn:hover {
    background: #f3f4f6;
  }

  .desk-page-title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 0;
    font-family: var(--display);
  }

  .desk-practice-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }

  .desk-user {
    position: relative;
  }

  .desk-user summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
    font-family: var(--font);
  }

  .desk-user summary::-webkit-details-marker {
    display: none;
  }

  .desk-user summary svg {
    width: 12px;
    height: 12px;
    color: #6b7280;
  }

  .desk-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #552ecd;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 14px;
  }

  .desk-user form {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #ececef;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
    min-width: 140px;
    z-index: 8;
  }

  .desk-user button {
    width: 100%;
    border: 0;
    background: none;
    padding: 10px 14px;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }

  .desk-practice-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 24px 28px 32px;
    align-items: start;
    min-height: 0;
    overflow: auto;
  }

  .desk-create h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 6px 0 8px;
    font-family: var(--display);
  }

  .desk-create h1 span {
    color: #f97316;
  }

  .desk-crumbs {
    color: #9ca3af;
    font-size: 13px;
  }

  .desk-crumbs a {
    color: inherit;
  }

  .desk-crumbs-top {
    margin: 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
  }

  .desk-crumbs .is-current,
  .desk-crumbs-top .is-current {
    color: #552ecd;
    font-weight: 600;
  }

  .desk-crumb-sep {
    margin: 0 6px;
    color: #d1d5db;
  }

  .desk-create-sub {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 24px;
  }

  .desk-create {
    overflow: visible;
    min-width: 0;
  }

  .desk-step {
    margin-bottom: 24px;
  }

  .desk-step h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .desk-step h2 span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #552ecd;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
  }

  .desk-subjects,
  .desk-counts {
    display: grid;
    gap: 12px;
  }

  .desk-subjects {
    grid-template-columns: repeat(3, 1fr);
  }

  .desk-counts {
    grid-template-columns: repeat(3, 1fr);
    max-width: 420px;
  }

  .desk-pick,
  .desk-count {
    position: relative;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    font-family: var(--font);
  }

  .desk-count {
    min-height: 72px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

  .desk-pick.is-on,
  .desk-count.is-on {
    border-color: #552ecd;
    background: #f6f2ff;
    box-shadow: 0 0 0 3px rgba(85, 46, 205, 0.12);
  }

  .desk-tick {
    display: none;
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #552ecd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 4.7 8.4 9.5 3.5' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
  }

  .desk-pick.is-on .desk-tick,
  .desk-count.is-on .desk-tick {
    display: block;
  }

  .desk-pick-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
  }

  .desk-pick-ico svg {
    width: 22px;
    height: 22px;
  }

  .desk-pick-ico.bio {
    background: #ede4ff;
    color: #552ecd;
  }

  .desk-pick-ico.chem {
    background: #e8f1ff;
    color: #2563eb;
  }

  .desk-pick-ico.phy {
    background: #fff1e6;
    color: #ea580c;
  }

  .desk-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
  }

  .desk-hint svg {
    width: 16px;
    height: 16px;
    color: #552ecd;
  }

  .desk-chapter {
    position: relative;
    max-width: 560px;
    z-index: 12;
  }

  .desk-chapter select {
    width: 100%;
    min-height: 52px;
    border: 1.5px solid #e5e7eb;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 4.4 6 8.1l3.8-3.7' fill='none' stroke='%238A8F9C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
    border-radius: 12px;
    padding: 0 44px 0 16px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    cursor: pointer;
    appearance: none;
  }

  .desk-chapter select:focus {
    outline: none;
    border-color: #552ecd;
    box-shadow: 0 0 0 3px rgba(85, 46, 205, 0.12);
  }

  .desk-preview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: none;
    padding: 18px 16px 16px;
    position: sticky;
    top: 84px;
  }

  .desk-preview h2 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 14px;
  }

  .desk-preview ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
  }

  .desk-preview li {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .desk-preview small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
  }

  .desk-preview strong {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
  }

  .desk-preview-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .desk-preview-ico svg {
    width: 18px;
    height: 18px;
  }

  .desk-preview-ico.purple { background: #ede4ff; color: #552ecd; }
  .desk-preview-ico.blue { background: #e8f1ff; color: #2563eb; }
  .desk-preview-ico.orange { background: #fff1e6; color: #ea580c; }
  .desk-preview-ico.green { background: #e8f8ee; color: #16a34a; }
  .desk-preview-ico.pink { background: #fde8f2; color: #db2777; }

  .desk-preview-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #f4efff;
    color: #4c1d95;
    border-radius: 10px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 16px;
  }

  .desk-preview-note svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 1px;
  }

  .desk-start {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
  }

  .desk-start svg {
    width: 22px;
    height: 22px;
  }

  .quiz-mobile {
    display: none !important;
  }

  .desk-quiz-wrap {
    min-height: 0;
    overflow: auto;
  }

  .desk-quiz-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 24px;
    padding: 22px 28px 32px;
    align-items: start;
  }

  .desk-quiz-main h1 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
    margin: 4px 0 6px;
    font-family: var(--display);
  }

  .desk-quiz-meta {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
  }

  .desk-progress-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  }

  .desk-progress-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ede4ff;
    color: #552ecd;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .desk-progress-ico svg {
    width: 20px;
    height: 20px;
  }

  .desk-progress-copy {
    flex: 1;
    min-width: 0;
  }

  .desk-progress-copy p {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
  }

  .desk-progress-track {
    height: 8px;
    background: #eceef4;
    border-radius: 99px;
    overflow: hidden;
  }

  .desk-progress-track span {
    display: block;
    height: 100%;
    width: 0;
    background: #552ecd;
    border-radius: inherit;
  }

  .desk-progress-card strong {
    font-size: 13px;
    color: #6b7280;
    min-width: 40px;
    text-align: right;
  }

  .desk-q-card {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 18px;
    padding: 22px 22px 20px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
  }

  .desk-q-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  .desk-q-head h2 {
    font-size: 14px;
    font-weight: 600;
    color: #552ecd;
  }

  .desk-flag-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
  }

  .desk-flag-btn svg {
    width: 16px;
    height: 16px;
  }

  .desk-flag-btn.is-on {
    border-color: #f97316;
    background: #fff7ed;
    color: #c2410c;
  }

  .desk-q-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #111827;
    margin: 0 0 16px;
  }

  .desk-q-options {
    display: grid;
    gap: 10px;
  }

  .desk-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 56px;
    text-align: left;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    font: inherit;
    cursor: pointer;
  }

  .desk-opt-key {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    color: #6b7280;
    flex: 0 0 auto;
  }

  .desk-opt-text {
    flex: 1;
    font-weight: 600;
  }

  .desk-opt-check {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.2 4.6 8.5 9.8 3.2' fill='none' stroke='%23552ECD' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  }

  .desk-opt.is-on {
    border-color: #552ecd;
    background: #f6f2ff;
    box-shadow: 0 0 0 3px rgba(85, 46, 205, 0.1);
  }

  .desk-opt.is-on .desk-opt-key {
    background: #552ecd;
    border-color: #552ecd;
    color: #fff;
  }

  .desk-q-actions {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
  }

  .desk-q-actions .desk-btn-ghost:first-of-type {
    justify-self: start;
  }

  .desk-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
  }

  .desk-btn-ghost svg {
    width: 18px;
    height: 18px;
  }

  .desk-btn-ghost:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }

  .desk-btn-ghost.is-on {
    border-color: #ff8a1f;
    color: #e67700;
    background: #fff4e8;
  }

  .desk-btn-next {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    white-space: nowrap;
  }

  .desk-btn-next[hidden],
  .btn.desk-btn-next.is-hidden {
    display: none !important;
  }

  .desk-btn-next svg {
    width: 18px;
    height: 18px;
  }

  .desk-quiz-aside {
    display: grid;
    gap: 14px;
  }

  .desk-timer-card,
  .desk-palette-card,
  .desk-summary-card {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  }

  .desk-timer-card {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .desk-timer-ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fee2e2;
    color: #dc2626;
    display: grid;
    place-items: center;
  }

  .desk-timer-ico svg {
    width: 20px;
    height: 20px;
  }

  .desk-timer-card strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .desk-timer-card small {
    color: #6b7280;
    font-size: 12px;
  }

  .desk-palette-head,
  .desk-summary-card h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .desk-palette-hide {
    border: 0;
    background: none;
    color: #552ecd;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .desk-palette-hide svg {
    width: 12px;
    height: 12px;
    transition: transform 0.15s ease;
  }

  .desk-palette-hide.is-collapsed svg {
    transform: rotate(180deg);
  }

  .desk-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 4px 2px 6px;
  }

  .desk-pal-btn {
    position: relative;
    aspect-ratio: 1;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    display: grid;
    place-items: center;
    overflow: visible;
  }

  .desk-pal-btn.is-answered,
  .desk-pal-btn.is-correct {
    background: #eaf7ee;
    border-color: #1b8a3e;
    color: #1b8a3e;
  }

  .desk-pal-btn.is-wrong {
    background: #fdecec;
    border-color: #e11d48;
    color: #dc2626;
  }

  .desk-pal-btn.is-skipped {
    background: #fff4e8;
    border-color: #ff8a1f;
    color: #e67700;
  }

  .desk-pal-btn.is-current {
    border-color: #552ecd;
    box-shadow: 0 0 0 2px rgba(85, 46, 205, 0.18);
    color: #552ecd;
  }

  .rev-pal-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 0 0 2px #fff;
  }

  .rev-pal-badge svg {
    width: 8px;
    height: 8px;
    display: block;
  }

  .rev-pal-badge.is-correct { background: #1b8a3e; }
  .rev-pal-badge.is-wrong { background: #e11d48; }
  .rev-pal-badge.is-skipped { background: #ff8a1f; }
  .rev-pal-badge.is-flag {
    top: -5px;
    right: -5px;
    bottom: auto;
    background: #ff8a1f;
  }
  .rev-pal-badge.is-empty {
    background: #fff;
    border: 1.5px solid #c5cad3;
    box-shadow: none;
  }
  .rev-pal-badge.is-now {
    background: #fff;
    border: 2px solid #552ecd;
    box-shadow: none;
  }

  .rev-legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
  }

  .rev-legend li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .rev-legend .rev-pal-badge {
    position: static;
    width: 16px;
    height: 16px;
    box-shadow: none;
    flex: 0 0 auto;
  }

  .rev-legend .rev-pal-badge svg {
    width: 9px;
    height: 9px;
  }

  .desk-legend {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-top: 12px;
    font-size: 12px;
    color: #6b7280;
  }

  .desk-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .desk-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    border: 1.5px solid #d1d5db;
    flex: 0 0 auto;
  }

  .desk-dot.green {
    background: #e8f8ee;
    border-color: #86efac;
  }

  .desk-dot.current {
    border-color: #552ecd;
    background: #fff;
  }

  .desk-dot.gray {
    background: #fff;
  }

  .desk-dot.red {
    background: #fee2e2;
    border-color: #fca5a5;
  }

  .desk-dot.orange {
    background: #fff7ed;
    border-color: #fdba74;
  }

  .desk-dot.flag {
    border: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 1.5v9M3 1.5h6L7.4 4.2 9 6.8H3' fill='%23f97316'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  .desk-summary-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
  }

  .desk-summary-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .desk-summary-card small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
  }

  .desk-summary-card strong {
    font-size: 14px;
    font-weight: 700;
  }

  .desk-submit {
    width: 100%;
    min-height: 48px;
    border: 1.5px solid #552ecd;
    background: #fff;
    color: #552ecd;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  .desk-submit svg {
    width: 18px;
    height: 18px;
  }

  .desk-submit-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
  }

  .desk-submit-note svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 1px;
  }

  .desk-quiz-done {
    padding: 80px 28px;
    text-align: center;
  }

  .desk-quiz-done-kicker {
    color: #552ecd;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .desk-quiz-done h1 {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .desk-quiz-done-score {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
  }

  .desk-quiz-done .desk-start {
    max-width: 280px;
    margin: 0 auto;
  }

  .history-desktop .desk-practice-shell {
    grid-template-rows: 72px 1fr;
  }

  .hist-main {
    min-height: 0;
    overflow: auto;
    padding: 8px 28px 32px;
  }

  .hist-tabs {
    display: flex;
    gap: 28px;
    border-bottom: 1px solid #eceef4;
    margin-bottom: 18px;
  }

  .hist-tabs button {
    border: 0;
    background: none;
    padding: 0 0 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    position: relative;
  }

  .hist-tabs button.is-on {
    color: #552ecd;
  }

  .hist-tabs button.is-on::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: #552ecd;
    border-radius: 2px 2px 0 0;
  }

  .hist-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr)) minmax(180px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 18px;
  }

  .hist-filters label span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
  }

  .hist-filters select,
  .hist-search input {
    width: 100%;
    height: 42px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 0 36px 0 12px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    appearance: none;
  }

  .hist-filters select {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 4.4 6 8.1l3.8-3.7' fill='none' stroke='%238A8F9C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  }

  .hist-date-select {
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='4.5' y='6' width='15' height='14' rx='2' fill='none' stroke='%238A8F9C' stroke-width='1.7'/%3E%3Cpath d='M8 4.5v3M16 4.5v3M4.5 10h15' fill='none' stroke='%238A8F9C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 10px center / 16px no-repeat !important;
    padding-right: 38px;
  }

  .hist-search {
    position: relative;
  }

  .hist-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    color: #9ca3af;
    transform: translateY(-50%);
  }

  .hist-search input {
    padding-left: 36px;
    font-weight: 500;
  }

  .hist-filter-btn {
    height: 42px;
    padding: 0 14px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
  }

  .hist-filter-btn svg {
    width: 16px;
    height: 16px;
  }

  .hist-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
  }

  .hist-stats article {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  }

  .hist-stats strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
  }

  .hist-stats small {
    color: #6b7280;
    font-size: 12px;
  }

  .hist-stat-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .hist-stat-ico svg {
    width: 18px;
    height: 18px;
  }

  .hist-stat-ico.blue { background: #e8f1ff; color: #2563eb; }
  .hist-stat-ico.green { background: #e8f8ee; color: #16a34a; }
  .hist-stat-ico.gold { background: #fff7e0; color: #d97706; }
  .hist-stat-ico.purple { background: #ede4ff; color: #552ecd; }

  .hist-table-card {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
    overflow: hidden;
  }

  .hist-table-wrap {
    overflow-x: auto;
  }

  .hist-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
  }

  .hist-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    padding: 14px 16px;
    background: #f8f9fc;
    border-bottom: 1px solid #eceef4;
    white-space: nowrap;
  }

  .hist-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
  }

  .hist-table tbody tr:last-child td {
    border-bottom: 0;
  }

  .hist-table tbody tr:nth-child(n + 7) {
    display: none;
  }

  .hist-table tbody tr.is-on {
    display: table-row !important;
  }

  .hist-table tbody tr.is-off {
    display: none !important;
  }

  .hist-test {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
  }

  .hist-test-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .hist-test-ico svg {
    width: 18px;
    height: 18px;
  }

  .hist-test-ico.green { background: #e8f8ee; color: #16a34a; }
  .hist-test-ico.blue { background: #e8f1ff; color: #2563eb; }
  .hist-test-ico.purple { background: #ede4ff; color: #552ecd; }
  .hist-test-ico.orange { background: #fff1e6; color: #ea580c; }

  .hist-test strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
  }

  .hist-test small,
  .hist-sub {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
  }

  .hist-pill {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
  }

  .hist-pill.full {
    background: #e8f8ee;
    color: #15803d;
  }

  .hist-pill.chapter {
    background: #e8f1ff;
    color: #1d4ed8;
  }

  .hist-pill.unit {
    background: #ede4ff;
    color: #552ecd;
  }

  .hist-score {
    display: block;
    font-weight: 800;
  }

  .hist-score.good { color: #16a34a; }
  .hist-score.mid { color: #ea580c; }
  .hist-score.low { color: #dc2626; }

  .hist-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
  }

  .hist-view {
    border: 1.5px solid #552ecd;
    background: #fff;
    color: #552ecd;
    border-radius: 8px;
    padding: 6px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .hist-more {
    position: relative;
  }

  .hist-more summary {
    list-style: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #6b7280;
  }

  .hist-more summary::-webkit-details-marker {
    display: none;
  }

  .hist-more summary svg {
    width: 16px;
    height: 16px;
  }

  .hist-more summary:hover {
    background: #f3f4f6;
  }

  .hist-more div {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    background: #fff;
    border: 1px solid #ececef;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.1);
    min-width: 140px;
    z-index: 8;
    padding: 6px;
  }

  .hist-more button,
  .hist-more a {
    width: 100%;
    border: 0;
    background: none;
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: block;
  }

  .hist-more button:hover,
  .hist-more a:hover {
    background: #f6f2ff;
    color: #552ecd;
  }

  .hist-empty {
    text-align: center;
    color: #6b7280;
    padding: 32px 16px;
  }

  .hist-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-top: 1px solid #eceef4;
  }

  .hist-pager p {
    color: #6b7280;
    font-size: 13px;
  }

  .hist-pages {
    display: flex;
    gap: 6px;
  }

  .hist-pages button {
    min-width: 32px;
    height: 32px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
  }

  .hist-pages button.is-on {
    background: #552ecd;
    border-color: #552ecd;
    color: #fff;
  }

  .hist-pages button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .hist-alt {
    padding-bottom: 12px;
  }

  .hist-snapshot-card,
  .hist-analytics {
    background: #fff;
    border: 1px solid #eceef4;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
  }

  .hist-snapshot-card h2,
  .hist-analytics h2 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .hist-snapshot-card ul {
    list-style: none;
    display: grid;
    gap: 14px;
  }

  .hist-snapshot-card li {
    display: grid;
    grid-template-columns: 120px 56px 1fr;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
  }

  .hist-snapshot-card b {
    text-align: right;
    color: #552ecd;
  }

  .hist-snapshot-card i {
    display: block;
    height: 8px;
    background: #552ecd;
    border-radius: 99px;
    font-style: normal;
  }

  .hist-analytics p {
    color: #6b7280;
    max-width: 520px;
  }

  .hist-analytics-list {
    list-style: none;
    display: grid;
    gap: 4px;
  }

  .hist-analytics-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
  }

  .hist-analytics-list li:last-child {
    border-bottom: 0;
  }

  .hist-analytics-list small {
    display: block;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
  }

  .hist-analytics-list b {
    color: #552ecd;
  }

  .review-desktop .desk-practice-shell {
    grid-template-rows: 64px 1fr;
  }

  .rev-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    padding: 24px 28px 36px;
    min-height: 0;
    overflow: auto;
    align-items: start;
    background: #f6f7fb;
  }

  .rev-head {
    margin: 0 0 20px;
  }

  .rev-head h1 {
    font-family: var(--display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.15;
    color: #111827;
    margin: 0 0 8px;
  }

  .review-desktop .desk-quiz-meta {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
  }

  .rev-btn-outline,
  .rev-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1.5px solid #552ecd;
    background: #fff;
    color: #552ecd;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
  }

  .rev-btn-outline svg,
  .rev-btn-solid svg {
    width: 16px;
    height: 16px;
  }

  .rev-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    background: #552ecd;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
  }

  .rev-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
  }

  .rev-metrics article {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: none;
  }

  .rev-metrics small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 2px;
  }

  .rev-metrics strong {
    display: block;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 2px;
  }

  .rev-metrics em {
    font-style: normal;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
  }

  .rev-metrics em.is-accent {
    color: #ff8a1f;
    font-weight: 600;
  }

  .rev-metric-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .rev-metric-ico svg {
    width: 22px;
    height: 22px;
  }

  .rev-metric-ico.purple { background: #ede4ff; color: #552ecd; }
  .rev-metric-ico.green { background: #e8f6ec; color: #1b8a3e; }
  .rev-metric-ico.orange { background: #fff4e8; color: #ff8a1f; }
  .rev-metric-ico.blue { background: #ede4ff; color: #552ecd; }

  .rev-questions {
    display: grid;
    gap: 20px;
  }

  .rev-q {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px 18px;
    box-shadow: none;
    scroll-margin-top: 16px;
  }

  .rev-q-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }

  .rev-q-top h3 {
    font-size: 14px;
    color: #552ecd;
    font-weight: 700;
  }

  .rev-q-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .rev-status.is-flagged {
    background: #fff4e8;
    color: #e67700;
  }

  .rev-status.is-flagged .rev-status-ico {
    background: #ff8a1f;
  }

  .rev-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 10px 4px 6px;
  }

  .rev-status-ico {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
  }

  .rev-status-ico svg {
    width: 9px;
    height: 9px;
  }

  .rev-status.is-correct { background: #e8f6ec; color: #1b8a3e; }
  .rev-status.is-correct .rev-status-ico { background: #1b8a3e; }
  .rev-status.is-wrong { background: #fdecec; color: #dc2626; }
  .rev-status.is-wrong .rev-status-ico { background: #e11d48; }
  .rev-status.is-skipped { background: #fff4e8; color: #e67700; }
  .rev-status.is-skipped .rev-status-ico { background: #ff8a1f; }

  .rev-q-text {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: #111827;
    margin: 0 0 14px;
  }

  .rev-opts {
    display: grid;
    gap: 10px;
  }

  .rev-opt {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1f2937;
  }

  .rev-opt-key {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    flex: 0 0 auto;
    background: #fff;
  }

  .rev-opt-text {
    flex: 1;
    min-width: 0;
  }

  .rev-opt-tag {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
  }

  .rev-opt.is-right,
  .rev-opt.is-answer {
    border-color: #86efac;
    background: #f0fdf4;
    font-weight: 600;
  }

  .rev-opt.is-right .rev-opt-key,
  .rev-opt.is-answer .rev-opt-key {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
  }

  .rev-opt.is-right .rev-opt-tag,
  .rev-opt.is-answer .rev-opt-tag {
    color: #15803d;
  }

  .rev-opt.is-wrong {
    border-color: #fca5a5;
    background: #fef2f2;
    font-weight: 600;
  }

  .rev-opt.is-wrong .rev-opt-key {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
  }

  .rev-opt.is-wrong .rev-opt-tag {
    color: #dc2626;
  }

  .rev-explain {
    margin-top: 14px;
    background: #f0fdf4;
    border-radius: 10px;
    padding: 12px 14px 12px 16px;
    border-left: 4px solid #22c55e;
  }

  .rev-q.is-wrong .rev-explain {
    background: #fef2f2;
    border-left-color: #ef4444;
  }

  .rev-q.is-skipped .rev-explain {
    background: #fff7ed;
    border-left-color: #ff8a1f;
  }

  .rev-explain-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 4px;
  }

  .rev-q.is-wrong .rev-explain-title {
    color: #dc2626;
  }

  .rev-q.is-skipped .rev-explain-title {
    color: #c2410c;
  }

  .rev-explain-title svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
  }

  .rev-explain p:last-child {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0;
  }

  .rev-empty {
    color: #6b7280;
    padding: 12px 0;
  }

  .rev-aside {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 16px;
  }

  .rev-side-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    box-shadow: none;
  }

  .rev-side-card h2 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 0;
  }

  .review-desktop .desk-palette-head {
    margin-bottom: 12px;
  }

  .rev-summary {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 12px;
  }

  .rev-summary li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
  }

  .rev-summary li span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .rev-summary svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
    flex: 0 0 auto;
  }

  .rev-summary b {
    color: #111827;
    font-size: 13px;
    font-weight: 700;
  }

  .rev-good {
    color: #16a34a !important;
  }

  .rev-bad {
    color: #dc2626 !important;
  }

  .rev-back,
  .rev-aside .rev-btn-solid {
    width: 100%;
  }

  .rev-keep-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    font-weight: 500;
  }

  .rev-keep-note svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
  }
}

@media (min-width: 1024px) and (max-width: 1280px) {
  .desk-quiz-body {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
    padding: 18px 18px 28px;
  }

  .desk-quiz-main h1 {
    font-size: 26px;
  }

  .hist-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto auto;
  }

  .hist-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rev-main {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 16px;
    padding: 16px 18px 28px;
  }

  .rev-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rev-head {
    flex-direction: column;
  }
}

@media (min-width: 1024px) {
  .landing-desktop,
  .practice-desktop,
  .auth-shell {
    font-size: var(--fs-md);
    font-weight: var(--fw-regular);
  }

  .practice-desktop h1,
  .practice-desktop .desk-page-title,
  .practice-desktop .desk-create h1,
  .practice-desktop .desk-quiz-main h1,
  .practice-desktop .rev-head h1 {
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    letter-spacing: -0.03em;
  }

  .practice-desktop h2,
  .practice-desktop h3,
  .practice-desktop .desk-step h2,
  .practice-desktop .desk-preview h2,
  .practice-desktop .desk-palette-head,
  .practice-desktop .desk-summary-card h2,
  .practice-desktop .rev-side-card h2,
  .practice-desktop .desk-q-head h2 {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
  }

  .practice-desktop .desk-q-text,
  .practice-desktop .rev-q-text {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
  }

  .practice-desktop .desk-opt,
  .practice-desktop .desk-opt-text,
  .practice-desktop .rev-opt,
  .practice-desktop .rev-opt-text {
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
  }

  .practice-desktop .desk-opt-key,
  .practice-desktop .rev-opt-key {
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
  }

  .practice-desktop .btn,
  .practice-desktop .desk-btn-next,
  .practice-desktop .desk-btn-ghost,
  .practice-desktop .desk-start,
  .practice-desktop .desk-submit,
  .practice-desktop .rev-btn-solid,
  .practice-desktop .rev-btn-outline,
  .practice-desktop .rev-back,
  .landing-desktop .desk-btn-solid,
  .landing-desktop .desk-btn-outline {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
  }

  .practice-desktop .desk-side-nav a,
  .practice-desktop .desk-side-settings,
  .landing-desktop .desk-nav a,
  .landing-desktop .desk-help {
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
  }

  .practice-desktop .desk-quiz-meta,
  .practice-desktop .desk-create-sub,
  .practice-desktop .desk-crumbs,
  .practice-desktop .desk-user summary {
    font-size: var(--fs-md);
    font-weight: var(--fw-regular);
  }

  .practice-desktop small,
  .practice-desktop .desk-hint,
  .practice-desktop .rev-legend,
  .practice-desktop .desk-legend,
  .practice-desktop .rev-metrics small,
  .practice-desktop .rev-metrics em,
  .practice-desktop .rev-keep-note,
  .practice-desktop .desk-submit-note,
  .practice-desktop .desk-preview-note,
  .practice-desktop .desk-preview small {
    font-size: var(--fs-xs);
    font-weight: var(--fw-regular);
  }

  .practice-desktop .rev-metrics strong,
  .practice-desktop .hist-stat-ico + div strong,
  .practice-desktop .desk-count,
  .practice-desktop .desk-timer-card strong {
    font-size: 22px;
    font-weight: var(--fw-bold);
  }

  .practice-desktop .desk-pick,
  .practice-desktop .hist-tabs button,
  .practice-desktop .rev-summary li,
  .practice-desktop .rev-summary b {
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
  }

  .practice-desktop .desk-pal-btn {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
  }

  .landing-desktop .desk-section-title {
    font-size: 26px;
    font-weight: var(--fw-bold);
  }

  .landing-desktop .desk-hero-copy h1 {
    font-weight: var(--fw-bold);
  }

  .landing-desktop .desk-hero-copy > p,
  .landing-desktop .desk-hero-points li {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
  }

  .landing-desktop .desk-feature-grid h3,
  .landing-desktop .desk-trust h2 {
    font-size: var(--fs-md);
    font-weight: var(--fw-semibold);
  }

  .auth-block h1,
  .auth-block h2 {
    font-size: 26px;
    font-weight: var(--fw-bold);
  }
}
