/* =====================================================================
   upclass.ai: Upclass Mock Test, /test-series-software-for-coaching-institutes/
   (website/templates/website/upclass/mocktest.html). Loaded after home.css (tokens and
   v2_* components) and segments.css (v2s_*: the phone frame, crumbs, points, and the
   support and Admisso blocks). Everything new is v2m_* and lives under .v2, so the light
   and dark tokens (--v2-*) apply. Drawings of the institute's app keep the app's own
   indigo (#4f46e5), as in the screenshots.
   ===================================================================== */

/* ============================================================== SHARED */
.v2m_note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--v2-text-3);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-align: center;
  text-wrap: pretty;
}

.v2m_note i {
  margin-top: 1px;
}

/* Two columns: the copy and a visual (--flip puts the visual first on wide screens). */
.v2m_split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.v2m_split--flip .v2m_copy {
  order: 2;
}

.v2m_copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.v2m_visual {
  position: relative;
  min-width: 0;
}

/* Icon, title and a line: the points beside a visual. */
.v2m_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-top: 4px;
}

.v2m_list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.v2m_list .v2_icon {
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
}

.v2m_list p {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.v2m_mini_h {
  margin-bottom: 12px;
  color: var(--v2-text-3);
  font-family: var(--v2-font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* A real screen in a phone frame (segments.css .v2s_device), with its label under it. */
.v2m_phone {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0;
}

.v2m_phone .v2s_device {
  width: 100%;
}

.v2m_phone figcaption {
  padding: 5px 14px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--v2-shadow-sm);
}

/* One phone with two floating chips. */
.v2m_stage {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
  padding: 12px 0 20px;
  font-size: 14px;
}

.v2m_stage .v2m_phone {
  width: 52%;
  max-width: 260px;
  margin-inline: auto;
}

.v2m_chip--tl {
  top: 14%;
  left: 0;
  animation: v2-bob 7s ease-in-out infinite;
}

.v2m_chip--br {
  right: 0;
  bottom: 16%;
  animation: v2-bob 8s ease-in-out 1.2s infinite;
}

/* The pass screen: "Passes" beside the fixed-period passes, the trial beside its plan. */
.v2m_stage--sell .v2m_chip--tl {
  top: 50%;
}

.v2m_stage--sell .v2m_chip--br {
  top: 13%;
  bottom: auto;
}

/* A screenshot with labels: each label's dot sits on the part it names, at (--x, --y) of the
   screenshot, and its line runs out past the phone's right edge to the label. */
.v2m_anatomy {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0 8px;
}

.v2m_anatomy .v2m_phone {
  width: min(250px, 56%);
  margin-right: min(170px, 40%);
}

.v2m_shotbox {
  position: relative;
  display: block;
}

.v2m_anno {
  --reach: 22px;
  position: absolute;
  top: var(--y);
  right: 0;
  left: 0;
  z-index: 3;
  height: 0;
  pointer-events: none;
}

.v2m_anno::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--x);
  z-index: 1;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #3b7de0;
  box-shadow: 0 0 0 4px rgba(59, 125, 224, 0.28), 0 2px 6px rgba(4, 24, 60, 0.35);
}

.v2m_anno::after {
  content: '';
  position: absolute;
  top: -1px;
  right: calc(-1 * var(--reach));
  left: var(--x);
  height: 2px;
  border-radius: 2px;
  background: #3b7de0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.v2m_anno b {
  position: absolute;
  top: 0;
  left: calc(100% + var(--reach));
  padding: 5px 11px;
  border: 1px solid var(--v2-accent-line);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-50%);
}

@media (max-width: 575.98px) {
  .v2m_anno {
    --reach: 14px;
  }

  .v2m_anno b {
    padding: 4px 9px;
    font-size: 0.72rem;
  }
}

/* No room for the labels beside the phone: the plain screenshot, which the points below explain. */
@media (max-width: 359.98px) {
  .v2m_anno {
    display: none;
  }

  .v2m_anatomy .v2m_phone {
    width: 64%;
    margin-right: 0;
  }
}

/* Two phones side by side, the second a little lower. */
.v2m_pair {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 6%;
  padding: 8px 0 12px;
  font-size: 12px;
}

.v2m_pair .v2m_phone {
  width: 44%;
  max-width: 250px;
}

.v2m_pair .v2m_phone--low {
  margin-top: 56px;
}

@media (max-width: 991.98px) {
  .v2m_split {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .v2m_split--flip .v2m_copy {
    order: 0;
  }

  .v2m_visual {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .v2m_stage {
    font-size: 12px;
  }

  .v2m_stage .v2m_phone {
    width: 62%;
  }

  .v2m_pair .v2m_phone--low {
    margin-top: 36px;
  }
}

/* ============================================================== HERO */
.v2m_hero_visual {
  min-width: 0;
}

.v2m_hphones_wrap {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  container-type: inline-size;
}

.v2m_hphones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1.2em 0 2.2em;
  font-size: clamp(8px, 2.05cqw, 14px);
}

.v2m_hphones .v2s_device {
  flex: none;
}

.v2m_hphone--l {
  z-index: 1;
  order: 1;
  width: 33%;
  margin-top: 4.2em;
  margin-right: -7.5%;
  transform: rotate(-7deg);
}

.v2m_hphone--c {
  z-index: 3;
  order: 2;
  width: 40%;
}

.v2m_hphone--r {
  z-index: 2;
  order: 3;
  width: 33%;
  margin-top: 4.2em;
  margin-left: -7.5%;
  transform: rotate(7deg);
}

.v2m_hchip {
  z-index: 4;
}

.v2m_hchip--1 {
  bottom: 13%;
  left: -1%;
  animation: v2-bob 7s ease-in-out infinite;
}

.v2m_hchip--2 {
  top: 7%;
  right: -1%;
  animation: v2-bob 8s ease-in-out 1.2s infinite;
}

.v2m_swap {
  margin-inline: 0.15em;
  font-size: 0.8em;
  opacity: 0.6;
}

@container (max-width: 420px) {
  .v2m_hchip {
    display: none;
  }
}

.v2m_hero .v2m_jump {
  max-width: none;
  margin-top: clamp(36px, 4vw, 52px);
}

/* On phones the jump links are one row that scrolls sideways, fading out at the edge. */
@media (max-width: 767.98px) {
  .v2m_hero .v2m_jump {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -16px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }

  .v2m_hero .v2m_jump::-webkit-scrollbar {
    display: none;
  }

  .v2m_hero .v2m_jump a,
  .v2m_hero .v2m_jump .v2s_jump_label {
    flex: none;
  }
}

/* ============================================================== THE TEST ENGINE */
.v2m_engine {
  background: var(--v2-bg);
}

.v2m_timing {
  width: 100%;
  margin-top: 4px;
}

.v2m_tf_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.v2m_tf {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

/* A little clock bar for each format: the paper, its sections, its questions. */
.v2m_tf_bar {
  display: flex;
  gap: 4px;
  height: 12px;
  margin-bottom: 8px;
}

.v2m_tf_bar i {
  position: relative;
  flex: 1;
  border-radius: 999px;
  background: var(--v2-surface-2);
  box-shadow: inset 0 0 0 1px var(--v2-border-2);
}

.v2m_tf_bar .is-done {
  background: var(--v2-border-2);
  box-shadow: none;
}

.v2m_tf_bar .is-run {
  background: linear-gradient(90deg, var(--v2-primary) 0 58%, var(--v2-accent-soft) 58% 100%);
  box-shadow: inset 0 0 0 1px var(--v2-accent-line);
}

.v2m_tf--question .v2m_tf_bar {
  gap: 3px;
}

.v2m_tf_bar b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--v2-text-2);
  font-size: 8px;
}

.v2m_tf_title {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.v2m_tf_text {
  color: var(--v2-text-2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.v2m_points {
  margin-top: clamp(48px, 5vw, 64px);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .v2m_tf_list {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2m_tf {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
  }

  .v2m_tf_bar {
    grid-row: span 2;
    margin: 0;
  }
}

@media (max-width: 575.98px) {
  .v2m_tf_list {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2m_tf {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    padding: 14px;
  }

  .v2m_tf_bar {
    grid-row: span 2;
    margin: 0;
  }
}

/* ============================================================== ANSWERS ARE NEVER LOST (dark) */
.v2m_safe .v2m_list p {
  color: var(--v2-text-2);
}

.v2m_log_card {
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid rgba(160, 190, 240, 0.18);
  border-radius: var(--v2-r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -40px rgba(0, 0, 0, 0.8);
}

.v2m_log_head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--v2-font-h);
  font-size: 1.05rem;
  font-weight: 600;
}

.v2m_log_head i {
  color: #8cb8ff;
}

.v2m_log {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v2m_log li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* The line from each step's dot down to the next one. */
.v2m_log li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 36px;
  bottom: -12px;
  left: 16px;
  width: 2px;
  border-radius: 2px;
  background: rgba(160, 190, 240, 0.2);
}

.v2m_log li > i {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1rem;
}

.v2m_log .is-ok > i {
  background: rgba(60, 207, 142, 0.16);
  color: #7ee2b8;
}

.v2m_log .is-warn > i {
  background: rgba(245, 165, 36, 0.16);
  color: #f5c451;
}

.v2m_log .is-stop > i {
  background: rgba(224, 66, 74, 0.2);
  color: #ff9aa0;
}

.v2m_log li > span:not(.v2m_resume) {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.v2m_log b {
  color: #eef3fb;
  font-size: 0.95rem;
  font-weight: 600;
}

.v2m_log small {
  color: var(--v2-text-3);
  font-size: 0.8rem;
}

/* The app's resume card: the institute's app UI stays light, as in the screenshots. */
.v2m_resume {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

.v2m_resume_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef0ff;
  color: #4f46e5;
  font-size: 1.05rem;
}

.v2m_resume_text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.v2m_log .v2m_resume_text b {
  color: #0b1b33;
}

.v2m_log .v2m_resume_text small {
  color: #5b6b82;
}

.v2m_resume_btn {
  flex: none;
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 399.98px) {
  .v2m_resume_btn {
    display: none;
  }
}

/* ============================================================== RESULTS */
.v2m_results {
  background: var(--v2-bg);
}

/* ============================================================== THE DOUBT FORUM */
.v2m_forum {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2m_eyebrows {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Ten compact features, two to a row. */
.v2m_feats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
  width: 100%;
  margin-top: 4px;
}

.v2m_feats li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.v2m_feat_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--v2-accent-line);
  border-radius: 10px;
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  font-size: 0.95rem;
}

.v2m_feat_title {
  margin-bottom: 2px;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.v2m_feats p {
  color: var(--v2-text-2);
  font-size: 0.875rem;
  line-height: 1.5;
}

.v2m_stage--forum .v2m_chip--tl {
  top: 30%;
}

/* Clear of the screen's own Ask button, bottom right. */
.v2m_stage--forum .v2m_chip--br {
  bottom: 27%;
}

@media (max-width: 479.98px) {
  .v2m_feats {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}

/* ============================================================== PRACTICE & CATALOGUE */
.v2m_catalogue {
  background: var(--v2-bg);
}

.v2m_exams {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px dashed var(--v2-border-2);
  border-radius: var(--v2-r);
  background: var(--v2-bg-soft);
}

.v2m_exams .v2s_exams_list {
  justify-content: flex-start;
}

.v2m_exams .v2s_exams_list li {
  padding: 4px 11px;
  font-size: 0.8125rem;
}

.v2m_builder {
  margin-top: clamp(56px, 6vw, 80px);
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-xl);
  background: radial-gradient(60% 120% at 100% 0%, var(--v2-accent-soft), transparent 60%), var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2m_builder_head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.v2m_builder_head p {
  max-width: 64ch;
  margin-top: 6px;
  color: var(--v2-text-2);
  font-size: 0.975rem;
  line-height: 1.55;
}

.v2m_steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.v2m_step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-bg-soft);
}

.v2m_step_n {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--v2-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.v2m_step_label {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1rem;
  font-weight: 600;
}

.v2m_step_opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v2m_opt {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--v2-border-2);
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.v2m_opt.is-on {
  border-color: transparent;
  background: var(--v2-primary);
  color: #fff;
}

[data-theme="dark"] .v2m_opt.is-on {
  background: #2f6fe0;
}

@media (max-width: 1199.98px) {
  .v2m_steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .v2m_step {
    display: grid;
    grid-template-columns: 24px 120px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    padding: 12px 14px;
  }
}

@media (max-width: 575.98px) {
  .v2m_builder_head .v2_icon {
    display: none;
  }

  .v2m_step {
    grid-template-columns: 24px minmax(0, 1fr);
    row-gap: 8px;
  }

  .v2m_step_opts {
    grid-column: 2;
  }
}

/* ============================================================== SELL YOUR WAY */
.v2m_sell {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2m_packs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.v2m_pack {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
}

/* Each pack drawn as tiles: one series, two in a combo, combos in a combo, a timed pass. */
.v2m_pack_art {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 66px;
  height: 54px;
  border-radius: 14px;
  background: var(--v2-accent-soft);
  box-shadow: inset 0 0 0 1px var(--v2-accent-line);
}

.v2m_pack_art i {
  display: block;
  width: 13px;
  height: 19px;
  border-radius: 3px;
  background: linear-gradient(180deg, #3b7de0 0%, #044FC0 100%);
  box-shadow: 0 2px 5px rgba(4, 79, 192, 0.3);
}

.v2m_pack_group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1.5px dashed var(--v2-accent);
  border-radius: 7px;
}

.v2m_pack--combos .v2m_pack_group .v2m_pack_group {
  padding: 2px;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
}

.v2m_pack--combos i {
  width: 8px;
  height: 13px;
  border-radius: 2px;
}

.v2m_pack--pass i {
  width: 11px;
  height: 17px;
}

.v2m_pack_art b {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid var(--v2-surface);
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  font-size: 11px;
}

.v2m_pack_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.v2m_pack_text b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1rem;
  font-weight: 600;
}

.v2m_pack_text small {
  color: var(--v2-text-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

.v2m_trial {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(15, 138, 85, 0.25);
  border-radius: var(--v2-r);
  background: rgba(15, 138, 85, 0.07);
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.v2m_trial b {
  color: var(--v2-text);
}

.v2m_trial_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v2-ok);
  color: #fff;
}

[data-theme="dark"] .v2m_trial {
  border-color: rgba(60, 207, 142, 0.3);
  background: rgba(60, 207, 142, 0.08);
}

[data-theme="dark"] .v2m_trial_icon {
  color: #06281a;
}

@media (max-width: 479.98px) {
  .v2m_packs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================== THE STAFF CONSOLE */
.v2m_staff {
  background: var(--v2-bg);
}

.v2m_console {
  overflow: hidden;
  border: 1px solid var(--v2-border-2);
  border-radius: 18px;
  background: var(--v2-surface);
  font-size: 14px;
  box-shadow: var(--v2-shadow-lg);
}

.v2m_console_bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-surface-2);
}

.v2m_console_title {
  color: var(--v2-text-2);
  font-size: 0.8rem;
  font-weight: 600;
}

.v2m_console_body {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
}

.v2m_console_nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 10px;
  border-right: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2m_console_nav li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--v2-text-2);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.v2m_console_nav li.is-on {
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  box-shadow: inset 0 0 0 1px var(--v2-accent-line);
}

.v2m_console_main {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
}

.v2m_console_head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.v2m_console_head b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.1rem;
  font-weight: 600;
}

.v2m_console_test {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--v2-surface-2);
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2m_field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.v2m_field small {
  color: var(--v2-text-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.v2m_seg {
  display: flex;
  padding: 3px;
  border-radius: 11px;
  background: var(--v2-surface-2);
  box-shadow: inset 0 0 0 1px var(--v2-border);
}

.v2m_seg span {
  flex: 1;
  padding: 7px 6px;
  border-radius: 8px;
  color: var(--v2-text-2);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.v2m_seg .is-on {
  background: var(--v2-surface);
  color: var(--v2-accent);
  box-shadow: var(--v2-shadow-sm), inset 0 0 0 1px var(--v2-accent-line);
}

.v2m_timers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.v2m_timers span,
.v2m_field--row > span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--v2-border);
  border-radius: 10px;
  color: var(--v2-text-2);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2m_timers b,
.v2m_field--row b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.v2m_field--row {
  flex-direction: row;
  gap: 8px;
}

.v2m_field--row > span {
  flex: 1;
}

.v2m_console_actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.v2m_cbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--v2-primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.v2m_cbtn--ghost {
  background: var(--v2-surface);
  color: var(--v2-text);
  box-shadow: inset 0 0 0 1px var(--v2-border-2);
}

.v2m_console_foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
  color: var(--v2-text-3);
  font-size: 0.75rem;
  font-weight: 600;
}

.v2m_role {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--v2-surface);
  color: var(--v2-text-2);
  box-shadow: inset 0 0 0 1px var(--v2-border-2);
}

.v2m_role.is-on {
  background: var(--v2-accent-soft);
  color: var(--v2-accent);
  box-shadow: inset 0 0 0 1px var(--v2-accent-line);
}

@media (max-width: 575.98px) {
  .v2m_console {
    font-size: 13px;
  }

  .v2m_console_body {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2m_console_nav {
    display: none;
  }

  .v2m_console_main {
    padding: 14px;
  }
}

/* ============================================================== YOUR OWN ANDROID APP */
.v2m_app {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2m_stage--app .v2m_phone {
  width: 58%;
  margin-right: 4%;
  margin-left: auto;
}

/* The build request, followed from Requested to Delivered. */
.v2m_build {
  position: absolute;
  bottom: 12%;
  left: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 52%;
  max-width: 230px;
  padding: 14px;
  border: 1px solid var(--v2-border);
  border-radius: 16px;
  background: var(--v2-surface);
  font-size: 13px;
  box-shadow: var(--v2-shadow-lg);
  animation: v2-bob 8s ease-in-out infinite;
}

.v2m_build_head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2m_build_logo {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.v2m_build_name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.v2m_build_name b {
  color: var(--v2-text);
  font-size: 0.95rem;
}

.v2m_build_name small {
  color: var(--v2-text-3);
  font-size: 0.78rem;
}

.v2m_build_steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2m_build_steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--v2-text-2);
  font-size: 0.85rem;
  font-weight: 600;
}

.v2m_build_steps i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(15, 138, 85, 0.12);
  color: var(--v2-ok);
  font-size: 0.75rem;
}

.v2m_build_steps .is-on {
  color: var(--v2-text);
}

.v2m_build_steps .is-on i {
  background: var(--v2-ok);
  color: #fff;
}

.v2m_build_dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

@media (max-width: 575.98px) {
  .v2m_stage--app .v2m_phone {
    width: 60%;
    margin-right: 0;
  }

  .v2m_build {
    bottom: 10%;
    width: 54%;
    padding: 12px;
    font-size: 12px;
  }
}

/* ============================================================== FAIR BY DESIGN */
.v2m_fair {
  background: var(--v2-bg);
}

.v2m_fair_grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.v2m_fair_card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-lg);
  background: linear-gradient(180deg, var(--v2-accent-soft), transparent 55%), var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
  transition: transform 0.3s var(--v2-ease), box-shadow 0.3s ease;
}

.v2m_fair_card:hover {
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-3px);
}

.v2m_fair_card .v2s_point_title {
  margin: 4px 0 0;
}

.v2m_fair_card p {
  color: var(--v2-text-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

@media (max-width: 1199.98px) {
  .v2m_fair_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .v2m_fair_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2m_fair_card {
    padding: 20px;
  }
}

/* ============================================================== EVERY DAY */
.v2m_daily {
  border-top: 1px solid var(--v2-border);
  border-bottom: 1px solid var(--v2-border);
  background: var(--v2-bg-soft);
}

.v2m_daily_row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  max-width: 640px;
  margin: 0 auto;
}

.v2m_daily_item figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.v2m_daily_item .v2s_device {
  width: 100%;
  max-width: 250px;
  font-size: 12px;
}

.v2m_daily_item figcaption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 270px;
}

.v2m_daily_item figcaption b {
  display: block;
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: 1.02rem;
  font-weight: 600;
}

.v2m_daily_item figcaption small {
  display: block;
  margin-top: 2px;
  color: var(--v2-text-2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.v2m_daily_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

[data-theme="dark"] .v2m_daily_icon {
  color: #fcd34d;
}

.v2m_note--center {
  margin-top: 32px;
}

@media (max-width: 575.98px) {
  .v2m_daily_row {
    gap: 16px;
  }

  .v2m_daily_item figcaption {
    gap: 8px;
  }

  .v2m_daily_icon {
    display: none;
  }

  .v2m_note--center {
    margin-top: 20px;
  }
}

/* ============================================================== THE UPCLASS LMS */
.v2m_lms {
  padding: 0 0 clamp(72px, 8vw, 112px);
  background: var(--v2-bg);
}

.v2m_lms_card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-xl);
  background: var(--v2-bg-soft);
}

.v2m_lms_copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.v2m_lms_icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a62d8 0%, #044FC0 100%);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 24px -10px rgba(4, 79, 192, 0.75);
}

.v2m_lms_title {
  margin-bottom: 6px;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.v2m_lms_links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.v2m_lms_link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r);
  background: var(--v2-surface);
  box-shadow: var(--v2-shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--v2-ease);
}

.v2m_lms_link:hover {
  border-color: var(--v2-accent-line);
  box-shadow: var(--v2-shadow-md);
  transform: translateY(-2px);
}

.v2m_lms_link:has(a:focus-visible) {
  outline: 3px solid var(--v2-ring);
  outline-offset: 3px;
}

.v2m_lms_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.v2m_lms_text small {
  color: var(--v2-text-3);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.v2m_lms_text a {
  color: var(--v2-text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

/* The whole card is the link, but the link's own text stays the anchor. */
.v2m_lms_text a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.v2 .v2m_lms_text a:focus-visible {
  outline: none;
}

.v2m_lms_link:hover a {
  color: var(--v2-accent);
}

.v2m_lms_arrow {
  flex: none;
  margin-left: auto;
  color: var(--v2-accent);
  transition: transform 0.2s var(--v2-ease);
}

.v2m_lms_link:hover .v2m_lms_arrow {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .v2m_lms_card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .v2m_lms_links {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2m_lms_copy {
    align-items: flex-start;
  }

  .v2m_lms_icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    font-size: 1.2rem;
  }
}

/* ===================================================== REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .v2m_hchip,
  .v2m_chip--tl,
  .v2m_chip--br,
  .v2m_build {
    animation: none;
  }

  .v2m_fair_card,
  .v2m_lms_link,
  .v2m_lms_arrow {
    transition: none;
  }

  .v2m_fair_card:hover,
  .v2m_lms_link:hover {
    transform: none;
  }
}

/* ============================================================== PRICING
   Its own pricing, separate from the LMS plans: an upfront charge plus a revenue share. */
.v2m_pricing {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.v2m_price_card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--v2-border);
  border-radius: var(--v2-r-xl, 28px);
  background:
    radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--v2-primary) 10%, transparent), transparent 60%),
    var(--v2-surface);
  box-shadow: var(--v2-shadow-md);
}

.v2m_price_copy .v2_lead {
  margin: 12px 0 22px;
}

.v2m_price_figs {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}

.v2m_price_fig {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  padding: 22px 16px;
  border: 1px solid var(--v2-border-2);
  border-radius: var(--v2-r-lg);
  background: var(--v2-bg);
  text-align: center;
}

.v2m_price_fig b {
  color: var(--v2-text);
  font-family: var(--v2-font-h);
  font-size: clamp(1.9rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.v2m_price_fig--share b {
  color: var(--v2-primary);
}

.v2m_price_fig span {
  color: var(--v2-text);
  font-weight: 600;
}

.v2m_price_fig small {
  color: var(--v2-text-2);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.v2m_price_plus {
  align-self: center;
  color: var(--v2-text-3);
  font-size: 1.75rem;
  font-weight: 300;
}

@media (max-width: 991.98px) {
  .v2m_price_card {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .v2m_price_figs {
    flex-direction: column;
  }
}
