/* Landing-only product preview, launch trial and phone pricing controls. */

.product-tour {
  position: relative;
  isolation: isolate;
  padding-block: clamp(2.8rem, 7vw, 5rem);
}

.product-tour::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(760px, 86vw);
  aspect-ratio: 1.7;
  inset: 12% -18% auto auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .18), rgba(124, 77, 255, .11) 42%, transparent 72%);
  filter: blur(40px);
  pointer-events: none;
}

[dir="rtl"] .product-tour::before {
  inset: 12% auto auto -18%;
}

.product-tour-layout {
  display: grid;
  grid-template-columns: minmax(240px, .76fr) minmax(0, 1.34fr);
  align-items: center;
  gap: clamp(1.4rem, 5vw, 4.2rem);
}

.product-tour-copy {
  display: grid;
  justify-items: start;
  gap: .9rem;
}

.product-tour-copy h2 {
  max-width: 13ch;
  color: var(--navy);
}

.product-tour-copy > p:not(.product-tour-demo-note) {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: clamp(.94rem, 2vw, 1.04rem);
  line-height: 1.7;
}

.product-tour-kicker {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  color: #5b3fd1;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.product-tour-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), #22d3ee);
}

[dir="rtl"] .product-tour-kicker {
  letter-spacing: 0;
}

.product-tour-tabs {
  display: inline-flex;
  max-width: 100%;
  gap: .28rem;
  margin-top: .25rem;
  padding: .3rem;
  border: 1px solid rgba(124, 77, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 12px 28px -22px rgba(42, 25, 90, .65), inset 0 1px 0 rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.product-tour-tab {
  min-height: 38px;
  padding: .56rem .78rem;
  border: 0;
  border-radius: 10px;
  color: var(--ink-soft);
  background: transparent;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-tour-tab:hover {
  color: var(--navy);
}

.product-tour-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, #7c4dff, #4f46e5);
  box-shadow: 0 10px 18px -11px rgba(79, 70, 229, .72), inset 0 1px 0 rgba(255, 255, 255, .34);
}

.product-tour-demo-note {
  display: flex;
  align-items: center;
  gap: .45rem;
  color: #716b86;
  font-size: .69rem;
  font-weight: 650;
  line-height: 1.45;
}

.product-tour-demo-note > span {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20b995;
  box-shadow: 0 0 0 4px rgba(32, 185, 149, .12);
}

.product-device {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 26px;
  background: rgba(255, 255, 255, .62);
  box-shadow:
    0 36px 80px -42px rgba(32, 17, 80, .8),
    0 14px 30px -25px rgba(67, 49, 145, .58),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(24px) saturate(175%);
  -webkit-backdrop-filter: blur(24px) saturate(175%);
}

.product-device::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 0, rgba(124, 77, 255, .17), transparent 32%),
    radial-gradient(circle at 94% 100%, rgba(45, 212, 191, .14), transparent 34%);
}

.product-device-bar {
  position: relative;
  z-index: 1;
  direction: ltr;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  min-height: 42px;
  padding-inline: .85rem;
  border-bottom: 1px solid rgba(35, 29, 74, .08);
  background: rgba(255, 255, 255, .45);
}

.product-device-lights {
  display: flex;
  gap: 5px;
}

.product-device-lights i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff7c8a;
}

.product-device-lights i:nth-child(2) { background: #ffc65c; }
.product-device-lights i:nth-child(3) { background: #45d6ae; }

.product-device-address {
  justify-self: center;
  color: #6f6885;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.product-device-secure {
  justify-self: end;
  color: #26ad88;
  font-size: .54rem;
}

.product-device-viewport {
  position: relative;
  z-index: 1;
  min-height: 430px;
  background: #f5f6fa;
}

.product-screen {
  min-height: 430px;
  padding: 0;
  color: #1a1a2e;
  background: #f5f6fa;
}

.product-screen[hidden] {
  display: none;
}

.product-screen.is-entering {
  animation: product-screen-in .32s cubic-bezier(.2, .72, .3, 1);
}

@keyframes product-screen-in {
  from { opacity: .25; transform: translateY(8px) scale(.992); }
  to { opacity: 1; transform: none; }
}

/* Faithful, fictional miniatures of the real Scolara workspaces. */
.sc-demo-appbar {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 52px;
  padding: .52rem .8rem;
  border-bottom: 1px solid rgba(26, 26, 46, .07);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 18px rgba(36, 26, 82, .045);
}

.sc-demo-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  min-width: 0;
}

.sc-demo-brand img {
  width: 27px;
  height: 27px;
  border-radius: 8px;
  box-shadow: 0 5px 12px -7px rgba(79, 70, 229, .8);
}

.sc-demo-brand > span {
  display: grid;
  line-height: 1;
  text-align: start;
}

.sc-demo-brand b {
  color: #1a1a2e;
  font-size: .78rem;
  letter-spacing: -.02em;
}

.sc-demo-brand small {
  margin-top: .18rem;
  color: #6c5ce7;
  font-size: .43rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.sc-demo-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #8b8ba3;
  font-size: .61rem;
  font-weight: 700;
}

.sc-demo-nav i {
  position: relative;
  font-style: normal;
  white-space: nowrap;
}

.sc-demo-nav i.is-current { color: #5d50d6; }
.sc-demo-nav i.is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.42rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: #6c5ce7;
}

.sc-demo-user,
.sc-demo-person {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 700;
}

.sc-demo-user { width: 27px; height: 27px; font-size: .56rem; }
.sc-demo-user.student { background: linear-gradient(135deg, #14b8a6, #4f46e5); }
.sc-demo-person { width: 27px; height: 27px; font-size: .6rem; }
.sc-demo-person.teal { background: linear-gradient(135deg, #14b8a6, #0f8f83); }
.sc-demo-person.amber { background: linear-gradient(135deg, #f59e0b, #ea580c); }

.sc-demo-page {
  padding: .9rem 1rem 1rem;
  text-align: start;
}

.sc-demo-page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .72rem;
}

.sc-demo-page-head small {
  display: block;
  margin-bottom: .16rem;
  color: #8b8ba3;
  font-size: .49rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

[dir="rtl"] .sc-demo-page-head small { letter-spacing: 0; }

.sc-demo-page-head h3 {
  margin: 0;
  color: #1a1a2e;
  font-size: clamp(1rem, 2.3vw, 1.26rem);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.sc-demo-soft-action,
.sc-demo-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: .34rem .62rem;
  border-radius: 9px;
  font-size: .57rem;
  font-weight: 800;
  white-space: nowrap;
}

.sc-demo-soft-action { color: #5d50d6; background: #eeecff; }
.sc-demo-primary-action { color: #fff; background: linear-gradient(135deg, #7c4dff, #5b5ce9); box-shadow: 0 7px 13px -8px #4f46e5; }

.sc-center-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  min-height: 60px;
  padding: .72rem .85rem;
  border: 1px solid rgba(26, 26, 46, .06);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(30, 41, 59, .035);
}

.sc-center-summary strong { color: #1a1a2e; font-size: .75rem; line-height: 1.45; }
.sc-center-summary strong bdi { color: #6366f1; font-size: .98rem; }
.sc-center-summary > span { padding: .25rem .48rem; border-radius: 999px; color: #b91c1c; background: #fee2e2; font-size: .55rem; font-weight: 800; white-space: nowrap; }

.sc-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .72rem;
}

.sc-demo-section {
  min-width: 0;
  padding: .7rem .75rem;
  border: 1px solid rgba(26, 26, 46, .06);
  border-radius: 11px;
  background: #fff;
}

.sc-demo-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .45rem;
  padding-bottom: .42rem;
  border-bottom: 1px solid rgba(26, 26, 46, .06);
}

.sc-demo-section-head b { font-size: .65rem; }
.sc-demo-section-head span { color: #8b8ba3; font-size: .49rem; }

.sc-roster-row,
.sc-live-person {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .48rem;
  padding-block: .5rem;
}

.sc-roster-row + .sc-roster-row { border-top: 1px solid rgba(26, 26, 46, .05); }
.sc-roster-row > span:nth-child(2), .sc-live-person > span:nth-child(2) { display: grid; min-width: 0; }
.sc-roster-row b, .sc-live-person b { overflow: hidden; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-roster-row small, .sc-live-person small { overflow: hidden; margin-top: .12rem; color: #8b8ba3; font-size: .48rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-roster-row > bdi { color: #6b7280; font-family: ui-monospace, monospace; font-size: .49rem; }

.sc-activity-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: .42rem;
  margin-top: .42rem;
  padding: .42rem .48rem;
  border-inline-start: 2px solid #ef4444;
  border-radius: 0 6px 6px 0;
  background: #fafbfc;
}

[dir="rtl"] .sc-activity-row { border-radius: 6px 0 0 6px; }
.sc-activity-row.work { border-inline-start-color: #6366f1; }
.sc-activity-row time { color: #8b8ba3; font-family: ui-monospace, monospace; font-size: .45rem; }
.sc-activity-row > span { display: grid; min-width: 0; }
.sc-activity-row b { overflow: hidden; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-activity-row small { overflow: hidden; margin-top: .1rem; color: #8b8ba3; font-size: .45rem; text-overflow: ellipsis; white-space: nowrap; }

.sc-class-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}

.sc-class-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  min-height: 260px;
  padding: .9rem;
  border: 1px solid rgba(99, 102, 241, .16);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(238, 242, 255, .96), rgba(255, 255, 255, .9));
  box-shadow: 0 10px 24px rgba(30, 41, 59, .035);
}

.sc-class-card.math { border-color: rgba(16, 185, 129, .18); background: linear-gradient(135deg, rgba(236, 253, 245, .98), rgba(255, 255, 255, .9)); }
.sc-class-ghost { position: absolute; z-index: -1; inset-inline-end: -.25rem; bottom: -.65rem; color: #6366f1; font-size: 5.2rem; line-height: 1; opacity: .13; transform: rotate(-8deg); }
.sc-class-card.math .sc-class-ghost { color: #10b981; }
.sc-class-card h4 { overflow: hidden; margin: 0 0 .45rem; color: #37306d; font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-class-card.math h4 { color: #145a47; }
.sc-class-subject,
.sc-class-code { display: table; max-width: 100%; border-radius: 6px; font-size: .49rem; font-weight: 750; }
.sc-class-subject { padding: .2rem .42rem; color: #5d50d6; background: rgba(99, 102, 241, .08); }
.sc-class-card.math .sc-class-subject { color: #08795f; background: rgba(16, 185, 129, .09); }
.sc-class-code { margin-top: .42rem; padding: .25rem .42rem; color: #6b7280; background: #f4f4f0; }
.sc-class-code bdi { margin-inline-start: .25rem; color: #5d50d6; font-family: ui-monospace, monospace; font-weight: 850; letter-spacing: .04em; }
.sc-class-card > div { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1rem; }
.sc-class-card > div b, .sc-class-card > div span { padding: .22rem .42rem; border-radius: 999px; font-size: .49rem; }
.sc-class-card > div b { color: #4f46e5; background: #eef2ff; }
.sc-class-card > div span { color: #b91c1c; background: #fee2e2; font-weight: 750; }
.sc-class-card footer { position: absolute; right: .9rem; bottom: .82rem; left: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .4rem; padding-top: .55rem; border-top: 1px solid rgba(26, 26, 46, .06); color: #8b8ba3; font-size: .49rem; }

.sc-live-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .48rem;
  padding: .55rem .68rem;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #991b1b;
  background: #fef2f2;
  font-size: .58rem;
}

.sc-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .12); }
.sc-live-banner > span:last-child { padding: .3rem .55rem; border-radius: 7px; color: #fff; background: #dc2626; font-weight: 800; }

.sc-progress-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-top: .65rem;
}

.sc-progress-grid > div {
  min-width: 0;
  padding: .58rem .32rem;
  border: 1px solid rgba(26, 26, 46, .06);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.sc-progress-grid strong { display: block; color: #6366f1; font-size: .9rem; }
.sc-progress-grid > div:nth-child(2) strong { color: #059669; }
.sc-progress-grid > div:nth-child(3) strong { color: #d97706; }
.sc-progress-grid > div:nth-child(4) strong { color: #9333ea; }
.sc-progress-grid span { display: block; overflow: hidden; margin-top: .15rem; color: #8b8ba3; font-size: .46rem; text-overflow: ellipsis; white-space: nowrap; }

.sc-student-tabs {
  display: flex;
  gap: .75rem;
  margin-top: .68rem;
  padding: 0 .2rem .42rem;
  border-bottom: 1px solid rgba(26, 26, 46, .08);
  color: #8b8ba3;
  font-size: .49rem;
  white-space: nowrap;
}

.sc-student-tabs b { position: relative; color: #5d50d6; }
.sc-student-tabs b::after { content: ""; position: absolute; right: 0; bottom: -.48rem; left: 0; height: 2px; border-radius: 999px; background: #6c5ce7; }
.sc-student-work { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .55rem; margin-top: .62rem; padding: .65rem .7rem; border: 1px solid rgba(26, 26, 46, .06); border-radius: 10px; background: #fff; }
.sc-student-work > span { display: grid; min-width: 0; }
.sc-student-work b { overflow: hidden; font-size: .58rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-student-work small { margin-top: .12rem; color: #8b8ba3; font-size: .47rem; }
.sc-student-work > strong { font-size: .62rem; }
.sc-student-work i { padding: .22rem .4rem; border-radius: 999px; color: #047857; background: #d1fae5; font-size: .46rem; font-style: normal; font-weight: 800; }

.product-screen-board { background: #111827; }
.sc-live-room { direction: ltr; display: flex; min-height: 430px; overflow: hidden; background: #111827; }
.sc-live-sidebar { display: flex; width: 29%; min-width: 150px; flex-direction: column; gap: .42rem; padding: .5rem; color: #1f2937; background: #111827; }
.sc-live-side-head,
.sc-live-person,
.sc-live-chat { border: 1px solid #e5e7eb; background: #fff; }
.sc-live-side-head { display: flex; align-items: center; justify-content: space-between; padding: .55rem .62rem; border-radius: 9px 9px 0 0; font-size: .55rem; }
.sc-live-side-head span { padding: .12rem .35rem; border-radius: 999px; color: #4b5563; background: #e5e7eb; }
.sc-live-person { margin-top: -.42rem; padding: .45rem .55rem; border-top: 0; }
.sc-live-person:nth-of-type(4) { border-radius: 0 0 9px 9px; }
.sc-live-person > i { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; }
.sc-live-person > i.online { background: #10b981; }
.sc-live-chat { display: flex; min-height: 0; flex: 1; flex-direction: column; padding: .58rem; border-radius: 9px; }
.sc-live-chat > b { padding-bottom: .42rem; border-bottom: 1px solid #e5e7eb; font-size: .55rem; }
.sc-live-chat p { display: grid; align-self: flex-start; max-width: 92%; margin: .55rem 0 auto; padding: .42rem .5rem; border-radius: 4px 8px 8px; background: #eef2ff; }
.sc-live-chat p strong { color: #4f46e5; font-size: .46rem; }
.sc-live-chat p span { margin-top: .12rem; color: #4b5563; font-size: .48rem; line-height: 1.35; }
.sc-live-chat > div { display: flex; align-items: center; justify-content: space-between; gap: .3rem; margin-top: .5rem; padding: .4rem .5rem; border: 1px solid #d1d5db; border-radius: 7px; color: #9ca3af; font-size: .44rem; }
.sc-live-chat > div span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: #fff; background: #4f46e5; font-size: .62rem; }

.sc-board-main { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; background: #111827; }
.sc-board-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 42px; padding: .48rem .7rem; color: #fff; background: linear-gradient(90deg, #111827, #1f2937); }
.sc-board-head > span { display: flex; align-items: center; gap: .48rem; min-width: 0; }
.sc-board-head .sc-live-dot { display: block; flex: none; box-shadow: none; }
.sc-board-head b { overflow: hidden; font-size: .64rem; text-overflow: ellipsis; white-space: nowrap; }
.sc-board-head strong { padding: .18rem .38rem; border-radius: 999px; color: #fecaca; background: rgba(239, 68, 68, .16); font-size: .44rem; letter-spacing: .08em; }
.sc-board-toolbar { display: flex; align-items: center; gap: .23rem; overflow: hidden; min-height: 39px; padding: .32rem .45rem; border-block: 1px solid #374151; background: #1f2937; }
.sc-board-toolbar > span { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 6px; background: rgba(55, 65, 81, .9); }
.sc-board-toolbar > span.active { background: #059669; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.sc-board-toolbar img { width: 18px; height: 18px; object-fit: contain; }
.sc-board-toolbar small { min-width: 28px; color: #d1d5db; font-family: ui-monospace, monospace; font-size: .45rem; text-align: center; }
.sc-board-color { width: 15px; height: 15px; flex: none; border: 2px solid #9ca3af; border-radius: 50%; background: #fff; }
.sc-board-canvas { position: relative; min-height: 0; flex: 1; overflow: hidden; background: radial-gradient(circle at 48% 44%, #172033 0, #111827 64%, #0b101b 100%); }
.sc-board-canvas::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size: 25px 25px; }
.sc-board-canvas svg { position: absolute; inset: 12% 5% 14%; width: 90%; height: 74%; overflow: visible; }
.sc-board-canvas text { fill: rgba(255,255,255,.92); font-family: "Comic Sans MS", cursive; font-size: 22px; }
.sc-board-canvas .chalk { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px currentColor); }
.sc-board-canvas .chalk.cyan { color: #22d3ee; stroke: #22d3ee; }
.sc-board-canvas .chalk.amber { color: #facc15; stroke: #facc15; stroke-width: 2.5; }
.sc-board-canvas .chalk.violet { color: #c084fc; stroke: #c084fc; }
.sc-board-canvas .chalk.white { color: #fff; stroke: rgba(255,255,255,.86); stroke-width: 2.2; }
.sc-board-canvas .point { fill: #22d3ee; }
.sc-board-topic { position: absolute; top: .65rem; left: .75rem; z-index: 1; color: #9ca3af; font-size: .46rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.sc-board-pointer { position: absolute; right: 23%; top: 43%; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #14b8a6; box-shadow: 0 0 0 7px rgba(20, 184, 166, .16); }
.sc-board-controls { position: absolute; right: 0; bottom: .6rem; left: 0; display: flex; align-items: center; justify-content: center; gap: .36rem; pointer-events: none; }
.sc-board-controls .control { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #4b5563; border-radius: 50%; color: #fff; background: rgba(31, 41, 55, .92); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.sc-board-controls .control.mic { background: #374151; }
.sc-board-controls .control.end { border-color: #dc2626; background: #dc2626; }
.sc-board-controls svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-board-controls bdi { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 14px; height: 14px; padding: 0 2px; border-radius: 999px; color: #fff; background: #6366f1; font-size: .4rem; font-weight: 800; }

/* Trial facts stay separate from the plan cards: one quiet launch banner. */
.pricing-trial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.8rem);
  margin-top: 1.5rem;
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 0, rgba(45, 212, 191, .34), transparent 34%),
    linear-gradient(125deg, #21124f 0%, #32217a 56%, #174756 100%);
  box-shadow: 0 26px 58px -34px rgba(25, 11, 67, .82), inset 0 1px 0 rgba(255, 255, 255, .17);
}

[dir="rtl"] .pricing-trial {
  background:
    radial-gradient(circle at 14% 0, rgba(45, 212, 191, .34), transparent 34%),
    linear-gradient(235deg, #21124f 0%, #32217a 56%, #174756 100%);
}

.pricing-trial::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -90% 58% 30% -14%;
  transform: rotate(-12deg);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .14), transparent);
  filter: blur(4px);
  pointer-events: none;
}

.pricing-trial-number {
  display: grid;
  place-items: center;
  width: 78px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 22px;
  background: rgba(255, 255, 255, .11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 28px -22px rgba(0, 0, 0, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pricing-trial-number strong {
  align-self: end;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
}

.pricing-trial-number span {
  align-self: start;
  color: rgba(255, 255, 255, .72);
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pricing-trial-copy {
  min-width: 0;
}

.pricing-trial-copy > span {
  display: block;
  margin-bottom: .25rem;
  color: #a8fff0;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

[dir="rtl"] .pricing-trial-copy > span {
  letter-spacing: 0;
}

.pricing-trial-copy h3 {
  color: #fff;
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.pricing-trial-copy p {
  max-width: 64ch;
  margin-top: .38rem;
  color: rgba(255, 255, 255, .72);
  font-size: .76rem;
  line-height: 1.55;
}

.pricing-trial-facts {
  display: grid;
  min-width: 170px;
}

.pricing-trial-facts span {
  padding-block: .44rem;
  color: rgba(255, 255, 255, .78);
  font-size: .7rem;
  font-weight: 700;
}

.pricing-trial-facts span + span {
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.pricing-trial-facts b {
  color: #fff;
  font-family: var(--display);
  font-size: 1rem;
}

.pricing-carousel-controls {
  display: none;
}

.pricing-carousel-controls[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .product-tour-layout {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .product-tour-copy {
    justify-items: center;
    text-align: center;
  }

  .product-tour-copy h2,
  .product-tour-copy > p:not(.product-tour-demo-note) {
    max-width: 620px;
  }

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

  .pricing-trial-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .pricing-trial-facts span + span {
    border-top: 0;
    border-inline-start: 1px solid rgba(255, 255, 255, .14);
    padding-inline-start: 1rem;
  }
}

@media (max-width: 699px) {
  .product-tour {
    padding-block: 2.35rem 2.7rem;
  }

  .product-tour-layout {
    gap: 1.15rem;
  }

  .product-tour-copy {
    gap: .72rem;
  }

  .product-tour-copy h2 {
    max-width: 17ch;
    font-size: clamp(1.75rem, 8.4vw, 2.3rem);
  }

  .product-tour-copy > p:not(.product-tour-demo-note) {
    font-size: .88rem;
    line-height: 1.62;
  }

  .product-tour-tabs {
    width: 100%;
    justify-content: stretch;
  }

  .product-tour-tab {
    flex: 1 1 0;
    padding-inline: .3rem;
    font-size: .68rem;
  }

  .product-device {
    border-radius: 21px;
  }

  .product-device-bar {
    min-height: 37px;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    padding-inline: .72rem;
  }

  .product-device-viewport,
  .product-screen,
  .sc-live-room {
    min-height: 405px;
  }

  .product-screen {
    padding: 0;
  }

  .sc-demo-appbar {
    min-height: 47px;
    padding: .45rem .62rem;
  }

  .sc-demo-nav {
    gap: .55rem;
    font-size: .52rem;
  }

  .sc-demo-page {
    padding: .72rem;
  }

  .sc-demo-page-head {
    margin-bottom: .58rem;
  }

  .sc-center-summary {
    min-height: 52px;
    padding: .58rem .65rem;
  }

  .sc-center-summary strong {
    font-size: .62rem;
  }

  .sc-center-summary strong bdi {
    font-size: .8rem;
  }

  .sc-center-grid,
  .sc-class-grid {
    gap: .55rem;
    margin-top: .55rem;
  }

  .sc-demo-section {
    padding: .55rem;
  }

  .sc-roster-row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .35rem;
    padding-block: .42rem;
  }

  .sc-roster-row > bdi {
    display: none;
  }

  .sc-activity-row {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: .35rem .4rem;
  }

  .sc-class-card {
    min-height: 245px;
    padding: .72rem;
  }

  .sc-class-card footer {
    right: .72rem;
    bottom: .68rem;
    left: .72rem;
  }

  .sc-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    margin-top: .5rem;
  }

  .sc-progress-grid > div {
    padding: .43rem .28rem;
  }

  .sc-student-tabs {
    gap: .55rem;
    overflow: hidden;
    margin-top: .54rem;
  }

  .sc-live-sidebar {
    display: none;
  }

  .sc-board-toolbar {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sc-board-toolbar::-webkit-scrollbar {
    display: none;
  }

  .sc-board-canvas svg {
    inset: 10% 3% 14%;
    width: 94%;
    height: 76%;
  }

  .pricing-trial {
    margin: 1rem var(--gutter) .25rem;
    padding: .9rem;
    border-radius: 19px;
    gap: .72rem;
  }

  .pricing-trial-number {
    width: 64px;
    border-radius: 18px;
  }

  .pricing-trial-number strong {
    font-size: 1.65rem;
  }

  .pricing-trial-copy h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  .pricing-trial-copy p {
    font-size: .68rem;
    line-height: 1.48;
  }

  .pricing-trial-facts span {
    padding-block: .52rem .05rem;
    text-align: center;
    font-size: .62rem;
  }

  .pricing-grid {
    scroll-behavior: smooth;
  }

  .pricing-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .28rem;
    min-height: 32px;
    margin-top: -.45rem;
  }

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

  .pricing-dot {
    position: relative;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .pricing-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(76, 47, 181, .22);
    transition: width .24s ease, background .24s ease, box-shadow .24s ease;
  }

  .pricing-dot.on::before {
    width: 20px;
    background: linear-gradient(90deg, #7c4dff, #22d3ee);
    box-shadow: 0 4px 10px -5px rgba(79, 70, 229, .8);
  }

  .pricing-motion-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    margin-inline-start: .15rem;
    padding: 0;
    border: 1px solid rgba(124, 77, 255, .14);
    border-radius: 50%;
    color: #6652d8;
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 8px 18px -13px rgba(42, 25, 90, .8);
    cursor: pointer;
  }

  .pricing-motion-toggle > span,
  .pricing-motion-toggle > span::after {
    width: 2px;
    height: 9px;
    border-radius: 2px;
    background: currentColor;
  }

  .pricing-motion-toggle > span {
    position: relative;
    transform: translateX(-2px);
  }

  .pricing-motion-toggle > span::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 4px;
  }

  .pricing-motion-toggle.is-paused > span {
    width: 0;
    height: 0;
    border-block: 5px solid transparent;
    border-inline-start: 8px solid currentColor;
    border-radius: 0;
    background: transparent;
    transform: translateX(1px);
  }

  .pricing-motion-toggle.is-paused > span::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .sc-demo-nav {
    display: none;
  }

  .sc-center-grid,
  .sc-class-grid {
    grid-template-columns: 1fr;
  }

  .sc-class-card:nth-child(2) {
    display: none;
  }

  .sc-center-summary > span {
    display: none;
  }

  .sc-demo-section {
    padding-block: .45rem;
  }

  .sc-roster-row,
  .sc-activity-row {
    padding-block: .33rem;
  }

  .sc-class-card {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-screen.is-entering {
    animation: none;
  }

  .pricing-grid {
    scroll-behavior: auto;
  }

  .pricing-motion-toggle {
    display: none;
  }
}
