:root {
  --primary: #834284;
  --secondary: #4c9f95;
  --tertiary: #d05e64;
  --quaternary: #cd6028;
  --dark: #22253d;
  --light: #fff;
  --default: #54586b;
  --amber: #ffc368;
  --purple: #834284;
  --ink: #22253d;
  --header-height: 88px;
  --nav-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + var(--nav-height) + 12px);
}

body {
  font-family: Poppins, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
}

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

h1, h2, h3 {
  color: inherit;
  letter-spacing: -.045em;
  text-transform: none;
}

h1 {
  font-size: clamp(44px, 4.7vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.12;
  font-weight: 600;
  margin-bottom: 24px;
}

h3 {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 600;
}

p {
  color: inherit;
}

a {
  color: inherit;
}

a: hover {
  color: var(--purple);
}

a: focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #d05e64;
  outline-offset: 5px;
}

.section-shell {
  max-width: 1560px;
  margin: auto;
  padding-left: clamp(24px, 5vw, 90px);
  padding-right: clamp(24px, 5vw, 90px);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e6e7ed;
}

.header-inner {
  max-width: 1560px;
  min-height: 88px;
  margin: auto;
  padding: 14px clamp(20px, 4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 220px;
  height: auto;
  display: block;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.nav-trial {
  border-radius: 40px !important;
  background: var(--amber);
  padding: 11px 18px;
  border-radius: 6px;
  text-decoration: none;
}

.exam-link {
  text-decoration: none;
}

.login-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 10px 0;
}

.dropdown-menu {
  font-size: 14px;
  padding: 12px;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 15px 40px #22253d15;
}

.dropdown-item {
  padding: 10px;
  border-radius: 5px;
}

.announcement {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #cd6028;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
}

.announcement a {
  color: #fff;
  text-underline-offset: 4px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
}

.hero {
  background: #f3f4f8;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: 6%;
  align-items: center;
  padding: 70px 0 50px;
  min-height: 700px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .15em;
  margin-bottom: 22px;
}

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

.hero-copy > p:not(.eyebrow):not(.hero-meta) {
  max-width: 540px;
  font-size: 18px;
  line-height: 1.8;
  color: #54586b;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
  margin: 30px 0 22px;
}

.csp-button {
  border-radius: 40px!important;
  border: 0;
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 17px 23px;
  border-radius: 6px;
  white-space: normal;
}

.csp-button:hover {
  background: #ffd18b;
  color: var(--ink);
}

.csp-button span {
  margin-left: 16px;
}

.text-link {
  font-weight: 600;
  font-size: 14px;
  text-underline-offset: 6px;
  text-decoration: underline;
}

.hero-meta {
  font-size: 12px;
  color: #606478;
  margin: 0;
}

.hero-meta span {
  padding: 0 8px;
}

.hero-art {
  position: relative;
  padding: 24px 18px 35px;
  isolation: isolate;
}

.hero-orbit {
  position: absolute;
  inset: 5% -8% 8%;
  border-radius: 50%;
  background: #ecdcec;
  z-index: -1;
}

.preview-frame {
  transform: rotate(3deg);
  background: #fff;
  border: 8px solid #fff;
  border-radius: 18px;
  box-shadow: 0 25px 60px #33365320;
  overflow: hidden;
  max-height: 540px;
}

.preview-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.preview-toolbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 9px 16px;
  font-size: 10px;
  color: #686b80;
}

.window-dots {
  color: #999db8;
  letter-spacing: 2px;
}

.hero-badge {
  position: absolute;
  bottom: 0;
  left: -25px;
  background: var(--amber);
  border: 5px solid #f3f4f8;
  border-radius: 13px;
  padding: 18px 25px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 600;
  box-shadow: 0 10px 25px #22253d10;
}

.hero-badge > span {
  float: left;
  font-size: 36px;
  margin-right: 14px;
  line-height: 1.2;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #dadce5;
  padding: 20px 0;
  font-size: 12px;
  color: #595e74;
}

.hero-bottom a {
  text-decoration: none;
}

.trust-section {
  padding: 86px 0 90px;
}

.section-intro h2 {
  font-size: 42px;
}

.section-intro {
  margin-bottom: 40px;
}

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

.trust-card {
  border-top: 3px solid var(--purple);
  background: #f5f5f9;
  padding: 28px 25px;
  border-radius: 0 0 12px 12px;
}

.trust-1 {
  border-color: #cd6028;
  background: #eff5f8;
}

.trust-2 {
  border-color: #d05e64;
  background: #fcf1f5;
}

.trust-3 {
  border-color: #4c9f95;
  background: #eff6f5;
}

.trust-card img {
  object-fit: contain;
  margin-bottom: 22px;
}

.trust-card h3 {
  font-size: 20px;
  letter-spacing: -.025em;
  max-width: 190px;
  min-height: 54px;
}

.trust-card p {
  font-size: 14px;
  line-height: 1.8;
  color: #54586b;
  margin-bottom: 0;
}

#counter-sentinel {
  height: 1px;
}

.resource-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 900;
  background: #fff;
  border-block: 1px solid #e3e5ec;
  box-shadow: 0 8px 20px #22253d05;
}

.resource-nav-inner {
  max-width: 1450px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 18px 24px;
  gap: 6px;
}

.resource-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 8px;
  text-decoration: none;
  position: relative;
  text-align: center;
}

.resource-item img {
  object-fit: contain;
}

.resource-item strong {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -.04em;
  font-weight: 600;
}

.resource-item > span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.resource-item:hover, .resource-item[aria-current] {
  background: #f0f0f8;
  color: var(--purple);
}

.resource-item:hover {
  color: #4c9f95;
  text-decoration: none;
}

.resource-nav.is-stuck .resource-nav-inner {
  padding-block: 8px;
}

.resource-nav.is-stuck .resource-item {
  padding: 10px 6px;
  gap: 0;
}

.resource-nav.is-stuck .resource-item img, .resource-nav.is-stuck .resource-item strong {
  display: none;
}

.resource-nav.is-stuck .resource-item > span {
  font-size: 13px;
}

.feature-panel {
  min-height: calc(100svh - var(--header-height) - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 70px 0;
  overflow: hidden;
  scroll-margin-top: 0;
}

.feature-panel > .section-shell {
  width: 100%;
}

.tone-teal {
  --panel: #4c9f95;
  --tint: #eaf4f2;
  background: var(--tint);
}

.tone-purple {
  --panel: #834284;
  --tint: #f0f0f8;
  background: var(--tint);
}

.tone-blue {
  --panel: #cd6028;
  --tint: #edf4f8;
  background: var(--tint);
}

.tone-pink {
  --panel: #d05e64;
  --tint: #fcf0f5;
  background: var(--tint);
}

.feature-layout {
  display: grid;
  grid-template-columns: .9fr 1.15fr;
  gap: 7%;
  align-items: center;
}

.feature-layout.reverse {
  grid-template-columns: 1.15fr .9fr;
}

.feature-layout.reverse .feature-copy {
  order: 2;
}

.feature-copy .eyebrow {
  color: var(--panel);
}

.feature-copy h2 {
  max-width: 560px;
}

.feature-description {
  font-size: 17px;
  line-height: 1.85;
  color: #51586b;
  max-width: 540px;
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}

.benefits li {
  padding: 6px 0;
  font-size: 14px;
}

.benefits li:before {
  content: '✓';
  color: var(--panel);
  font-weight: bold;
  padding-right: 12px;
}

.feature-copy .text-link {
  color: var(--panel);
}

.policy-note {
  font-size: 12px;
  color: #616579;
  max-width: 470px;
}

.feature-visual {
  margin: 0;
  position: relative;
  text-align: center;
}

.feature-visual img {
  width: 100%;
  max-height: 65svh;
  object-fit: contain;
  display: block;
  margin: auto;
  filter: drop-shadow(0 18px 25px #22253d12);
}

.feature-visual figcaption {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #22253d1c;
  margin-top: 20px;
  padding-top: 12px;
  font-size: 11px;
  color: #656a7a;
  text-align: left;
  gap: 16px;
}

.feature-visual figcaption span {
  white-space: nowrap;
}

.pricing-section {
  padding: 100px 0;
  background: #fff;
}

.pricing-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.pricing-heading > p {
  max-width: 440px;
  color: #626678;
  font-size: 16px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  border: 1px solid #dfe0e8;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.trial-card {
  background: #f0f0f8;
  border-color: #834284;
}

.plan-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: #676b80;
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: 28px;
}

.price {
  font-size: 52px;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 600;
}

.price > span {
  font-size: 28px;
  vertical-align: top;
  margin-right: 4px;
}

.price-unit {
  font-size: 12px;
  color: #6a6e7d;
}

.plan-detail {
  font-size: 14px;
  padding-block: 15px;
  flex: 1;
}

.plan-button {
  border: 1px solid #d8dae5;
  padding: 14px;
  color: #22253d;
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
}

.plan-button:hover {
  background: #834284;
  color: #fff;
  border-color: #834284;
}

.payment-note {
  text-align: center;
  max-width: 850px;
  margin: 35px auto 0;
  font-size: 13px;
  color: #626678;
}

.payment-note p {
  margin-bottom: 8px;
}

.footer-cta {
  background: #252943;
  color: #fff;
  padding: 85px 0;
}

.footer-cta .eyebrow {
  color: #c7c9e5;
}

.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.footer-cta h2 {
  margin: 0;
}

.footer-cta h2 span {
  color: #b9bce5;
}

.footer-price-link {
  display: block;
  color: #fff;
  font-size: 14px;
  text-align: center;
  margin-top: 18px;
}

.footer-price-link:hover {
  color: var(--amber);
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 32px;
  padding-bottom: 24px;
  font-size: 12px;
}

.footer-brand {
  font-size: 22px;
  text-decoration: none;
  letter-spacing: -.04em;
}

.footer-brand span {
  font-weight: 600;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > div {
  margin-left: auto;
  display: flex;
  gap: 24px;
}

.billing-wrap {
  padding-bottom: 30px;
  font-size: 13px;
}

summary {
  cursor: pointer;
}

.billing-content {
  display: flex;
  gap: 60px;
  padding: 25px 0;
}

.billing-content p {
  margin: 0;
}

.billing-wrap details {
  border-top: 1px solid #e5e6ed;
  padding-top: 18px;
}

@media (min-width:1700px) {
  .hero-grid {
    min-height: 760px;
  }
  .feature-panel {
    padding: 95px 0;
  }
}

@media (max-width:1100px) {
  .header-inner nav {
    gap: 15px;
  }
  .brand img {
    width: 190px;
  }
  .hero-grid {
    gap: 4%;
    padding-top: 50px;
  }
  .hero-actions {
    gap: 18px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-card h3 {
    min-height: 0;
    max-width: none;
  }
  .feature-layout, .feature-layout.reverse {
    gap: 5%;
  }
  .feature-copy h2 {
    font-size: 42px;
  }
  .resource-item > span {
    font-size: 11px;
  }
}

@media (max-width:760px) {
  :root {
    --header-height: 119px;
    --nav-height: 60px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    justify-content: center;
  }
  .brand img {
    width: 175px;
  }
  .header-inner nav {
    width: 100%;
    justify-content: center;
    gap: 17px;
    font-size: 11px;
  }
  .nav-trial {
    padding: 8px 10px;
  }
  .announcement {
    font-size: 12px;
    gap: 6px;
  }
  .announcement a {
    margin-left: 6px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 0;
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(42px, 9vw, 66px);
  }
  .hero-copy > p:not(.eyebrow):not(.hero-meta) {
    font-size: 16px;
  }
  .hero-art {
    max-width: 510px;
    width: 100%;
    margin: auto;
    padding-inline: 20px;
  }
  .preview-frame {
    max-height: 390px;
  }
  .hero-badge {
    left: 0;
    padding: 14px 18px;
    font-size: 13px;
  }
  .hero-bottom {
    gap: 20px;
    font-size: 11px;
  }
  .hero-bottom > span {
    max-width: 200px;
  }
  .trust-section {
    padding: 55px 0;
  }
  .trust-grid {
    gap: 12px;
  }
  .trust-card {
    padding: 22px 18px;
  }
  .trust-card h3 {
    font-size: 18px;
  }
  .trust-card p {
    font-size: 13px;
  }
  .section-intro h2 {
    font-size: 36px;
  }
  .resource-nav-inner {
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 12px;
    scrollbar-width: thin;
  }
  .resource-item {
    flex: 0 0 108px;
  }
  .resource-item > span {
    font-size: 12px;
  }
  .resource-nav.is-stuck .resource-item {
    flex-basis: 122px;
  }
  .resource-item:hover {
  color: #4c9f95;
  text-decoration: none;
}

.resource-nav.is-stuck .resource-nav-inner {
    padding: 10px;
  }
  .feature-panel {
    padding: 55px 0;
    min-height: calc(100svh - var(--header-height) - var(--nav-height));
  }
  .feature-layout, .feature-layout.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-layout.reverse .feature-copy {
    order: 0;
  }
  .feature-copy h2 {
    font-size: 39px;
  }
  .feature-description {
    font-size: 16px;
  }
  .feature-visual img {
    max-height: 55svh;
  }
  .feature-visual figcaption {
    font-size: 10px;
  }
  .pricing-section {
    padding: 60px 0;
  }
  .pricing-heading {
    display: block;
  }
  .pricing-heading h2 {
    font-size: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .price-card {
    padding: 20px 16px;
  }
  .price-card h3 {
    font-size: 20px;
  }
  .price {
    font-size: 40px;
  }
  .plan-detail {
    font-size: 12px;
  }
  .price-card .btn {
    font-size: 12px;
    padding: 12px 8px;
  }
  .footer-cta {
    padding: 60px 0;
  }
  .footer-cta-row {
    display: block;
  }
  .footer-cta-row > div {
    margin-top: 35px;
    display: inline-block;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-bottom > div {
    margin: 0;
    width: 100%;
    flex-wrap: wrap;
    gap: 18px;
  }
  .billing-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width:390px) {
  .header-inner nav {
    gap: 10px;
    font-size: 10px;
  }
  .trust-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-meta {
    font-size: 11px;
  }
  .hero h1 {
    font-size: 40px;
  }
}

@media (prefers-reduced-motion:no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .btn, .resource-item {
    transition: background-color .18s, color .18s;
  }
  .hero-copy {
    animation: hero-enter .5s ease-out backwards;
  }
  .hero-art {
    animation: hero-enter .6s ease-out .1s backwards;
  }
  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

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

/* Solid VCE surfaces and the product-landing demo's curved section edges. */
.hero {
  position: relative;
  background: #834284;
  color: #fff;
  padding-bottom: 115px;
}

.hero h1 span {
  color: #ecdcec;
}

.hero-copy > p:not(.eyebrow):not(.hero-meta), .hero-meta {
  color: #e3e4f1;
}

.hero-bottom {
  color: #e3e4f1;
  border-color: #ffffff35;
}

.hero .text-link:hover, .hero-bottom a:hover {
  color: #ffc368;
}

.hero-orbit {
  background: #a56aa6;
}

.hero-badge {
  border-color: #834284;
  color: #22253d;
}

.preview-toolbar {
  color: #686b80;
}

.feature-panel {
  position: relative;
  background: var(--panel);
  color: #fff;
  padding-bottom: 155px;
}

.tone-teal {
  --tint: #d5efeb;
}

.tone-purple {
  --tint: #ecdcec;
}

.tone-blue {
  --tint: #f5ddcf;
}

.tone-pink {
  --tint: #f7dfe1;
}

.feature-copy .eyebrow, .feature-description, .policy-note, .feature-visual figcaption {
  color: var(--tint);
}

.feature-copy .text-link, .benefits li:before {
  color: #ffc368;
}

.feature-copy .text-link:hover {
  color: #fff;
}

.feature-visual figcaption {
  border-color: #ffffff35;
}

.feature-layout {
  position: relative;
  z-index: 1;
}

.csp-curve {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 115px;
  display: block;
  pointer-events: none;
}

.resource-nav-slot {
  position: relative;
  overflow-anchor: none;
}

.resource-nav {
  position: relative;
  top: auto;
  overflow-anchor: none;
}

.resource-nav.is-stuck {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
}

.resource-nav-slot+.feature-panel {
  overflow-anchor: none;
}

@media (max-width:760px) {
  .hero {
    padding-bottom: 70px;
  }
  .feature-panel {
    padding-bottom: 105px;
  }
  .csp-curve {
    height: 65px;
  }
}

/* Match information cards to the solid VCE palette. */
.trust-card {
  background: #834284;
  color: #fff;
  border-color: #a56aa6;
}

.trust-1 {
  background: #cd6028;
  border-color: #dc875c;
}

.trust-2 {
  background: #d05e64;
  border-color: #dc8b90;
}

.trust-3 {
  background: #4c9f95;
  border-color: #75b7af;
}

.trust-card p {
  color: #f0f1f8;
}

.trial-card {
  background: #834284;
  color: #fff;
}

.trial-card .plan-label, .trial-card .price-unit {
  color: #ecdcec;
}

/* Requested brand palette and illustrated main background. */
:root {
  --primary: #4c9f95;
  --secondary: #d05e64;
  --tertiary: #834284;
  --quaternary: #cd6028;
  --amber: #ffc368;
}

main {
  background: #4c9f95 url('../images/background-1.jpg') center top / 920px auto repeat;
}

.hero {
  background: #4c9f95 url(../images/background-1.jpg) center top / cover repeat;
  background-size: 600px;
}

.hero h1 span {
  color: #e0f1ee;
}

.hero-copy > p:not(.eyebrow):not(.hero-meta), .hero-meta, .hero-bottom {
  color: #fff;
}

.hero-orbit {
  background: #75b7af;
}

.hero-badge {
  border-color: #4c9f95;
}

.trust-section {
  background: #fff;
}

.announcement {
  background: #834284;
}

.footer-cta {
  background: #4c9f95;
}

.footer-cta .eyebrow, .footer-cta h2 span {
  color: #e0f1ee;
}

.csp-button, .nav-trial, .plan-button {
  background: #ffc368;
  border-color: #ffc368;
  color: #22253d;
}

.csp-button:hover, .nav-trial:hover, .plan-button:hover {
  background: #ffd18b;
  border-color: #ffd18b;
  color: #22253d;
}

.csp-curve {
  filter: drop-shadow(0 -14px 18px rgba(0, 0, 0, .26));
  overflow: visible;
}

#presentations {
  --panel: #f1f2f4;
  --tint: #555c69;
  background: #f1f2f4;
  color: #22253d;
}

#presentations .text-link, #presentations .benefits li:before {
  color: #834284;
}

#presentations .text-link:hover {
  color: #22253d;
}

/* Alternate features and unify the four information cards. */
#presentations, #downloads, #games {
  --panel: #f1f2f4;
  --tint: #555c69;
  background: #f1f2f4;
  color: #22253d;
}

:is(#presentations, #downloads, #games) .text-link, :is(#presentations, #downloads, #games) .benefits li:before {
  color: #834284;
}

:is(#presentations, #downloads, #games) .text-link:hover {
  color: #22253d;
}

.trust-card {
  background: #f1f2f4;
  color: #22253d;
  border: 1px solid #e3e5e9;
  border-radius: 18px;
}

.trust-card p {
  color: #54586b;
}

/* Native-size artwork aligned to each feature's requested corner. */
#examples {
  --panel: #834284;
  --tint: #ecdcec;
  background: #834284 url('../images/background-purple-topleft.jpg') left top / 919px 1079px no-repeat;
}

#videos {
  --panel: #4c9f95;
  --tint: #e0f1ee;
  background: #4c9f95;
}

#examai {
  --panel: #cd6028;
  --tint: #f5ddcf;
  background: #cd6028 url('../images/background-orange-topleft.jpg') left top / 919px 1079px no-repeat;
}

#courseguide {
  --panel: #834284;
  --tint: #ecdcec;
  background: #834284 url('../images/background-purple-bottomright.jpg') right bottom / 919px 1079px no-repeat;
}

/* Completed video artwork and responsive hero coverage. */
#videos {
  background: #4c9f95 url('../images/background-bottomright.jpg') right bottom / 919px 1079px no-repeat;
}

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Reversible, isolated copy of the course's Gestalt worked example. */
.live-worked-example {
  background: #4c9f95;
  color: #fff;
  text-align: left;
  border-radius: 20px;
  box-shadow: 0 24px 60px #0003;
  font-size: 14px;
  line-height: 1.75;
  min-width: 0;
}

.live-worked-example .aspectsdropdown {
  background: #ffffff18;
  border-radius: 14px;
}

.live-worked-example .display-6 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.03em;
}

.live-worked-example .lead {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.live-worked-example p {
  color: inherit;
}

.live-worked-example .veryround {
  border-radius: 14px;
}

.live-worked-example .btn-group {
  vertical-align: baseline;
}

.live-worked-example .dropdown-toggle {
  padding: 3px 8px;
  font-size: 13px;
  color: #fff;
  border-color: #ffffffaa;
}

.live-worked-example .dropdown-menu {
  color: #22253d;
  max-width: min(290px, 80vw);
  font-size: 14px;
  line-height: 1.65;
  z-index: 1050;
}

.live-worked-example .dropdown-menu p {
  margin: 0;
}

.live-worked-example .yellow {
  background: #ffc368;
  color: #22253d;
  overflow: hidden;
}

.live-worked-example .accordion-button {
  color: #22253d!important;
  font-size: 14px;
  line-height: 1.5;
  padding: 16px;
  letter-spacing: 0;
  box-shadow: none;
}

.live-worked-example .accordion-body {
  font-size: 14px;
  background: #0000000d;
}

.live-worked-example .accordion-item {
  border-color: #00000014;
}

.live-worked-example .magnifier-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.live-worked-example .magnifier-container > img {
  height: auto;
  display: block;
}

.live-worked-example .magnifier-glass {
  position: absolute;
  display: none;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 5;
  border: 3px solid #fff;
  box-shadow: 0 6px 25px #0005;
}

.live-worked-example .magnifier-glass img {
  position: absolute;
  max-width: none;
  pointer-events: none;
}

@media (hover:none) {
  .live-worked-example .magnifier-glass {
    display: none!important;
  }
}

/* Interactive course modal inside a restrained digital whiteboard surround. */
#presentations .feature-layout.reverse {
  grid-template-columns: 1.35fr .85fr;
  gap: 5%;
}

.whiteboard-preview {
  min-width: 0;
  position: relative;
}

.whiteboard-bezel {
  background: #30333b;
  padding: 21px 12px 0;
  border-radius: 19px;
  box-shadow: 0 25px 55px #22253d30, 0 2px 3px #0004;
  position: relative;
  border: 1px solid #484c55;
}

.whiteboard-camera {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15171d;
  box-shadow: inset 0 0 0 2px #474d58;
}

.whiteboard-bezel iframe {
  display: block;
  width: 100%;
  height: 690px;
  height: clamp(480px, 72svh, 780px);
  border: 0;
  border-radius: 4px;
  background: #c03a71;
  color-scheme: light;
}

.whiteboard-controls {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  color: #b9bdc7;
  font: 10px Arial, sans-serif;
  letter-spacing: .06em;
}

.board-status {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #75b7af;
}

.whiteboard-tray {
  width: 38%;
  height: 10px;
  background: #a6aab1;
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
  box-shadow: 0 7px 10px #0002;
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding-right: 16px;
  position: relative;
}

.whiteboard-tray span {
  display: block;
  width: 43px;
  height: 5px;
  background: #f4f4f5;
  border-right: 8px solid #834284;
  border-radius: 3px;
  transform: translateY(-2px);
}

.whiteboard-tray span+span {
  border-right-color: #4c9f95;
}

.whiteboard-instruction {
  font-size: 12px;
  text-align: center;
  color: #626678;
  margin: 18px 0 0;
}

@media (max-width:760px) {
  #presentations .feature-layout.reverse {
    grid-template-columns: 1fr;
  }
  .whiteboard-bezel {
    padding: 18px 7px 0;
    border-radius: 12px;
  }
  .whiteboard-bezel iframe {
    height: 620px;
    max-height: 78svh;
  }
}

/* Keep the embedded modal at desktop width and scale the complete screen. */
.whiteboard-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 850;
  overflow: hidden;
  border-radius: 4px;
  background: #c03a71;
}

.whiteboard-bezel .whiteboard-viewport iframe {
  position: absolute;
  inset: 0;
  width: 1200px;
  height: 850px;
  max-height: none;
  border: 0;
  transform: scale(var(--whiteboard-scale, .5));
  transform-origin: top left;
  border-radius: 0;
}

/* Video player keeps its native widescreen proportions inside the board. */
.whiteboard-video-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #85888d;
  border-radius: 4px;
  overflow: hidden;
}

.whiteboard-bezel .whiteboard-video-screen iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  border-radius: 0;
  background: #85888d;
}

.whiteboard-viewport, .whiteboard-bezel .whiteboard-viewport iframe {
  background: #85888d;
}

.live-examai {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px #0003;
  background: #cd6028;
}

.live-examai iframe {
  width: 100%;
  height: 714px;
  max-height: 90svh;
  display: block;
  border: 0;
}

/* The embedded panel supplies its own rounded edge; leave its scrollbar gutter clear. */
.live-examai {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.live-examai iframe {
  background: transparent;
}

/* Playable sorting game within a proportionally scaled laptop display. */
.laptop-preview {
  min-width: 0;
  padding: 0 10px 18px;
}

.laptop-lid {
  position: relative;
  background: #30333b;
  border: 1px solid #51545c;
  border-radius: 19px 19px 7px 7px;
  padding: 22px 12px 0;
  box-shadow: 0 20px 45px #22253d25;
}

.laptop-camera {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #15171d;
  box-shadow: inset 0 0 0 2px #484d58;
  top: 8px;
  left: 50%;
}

.laptop-screen {
  position: relative;
  aspect-ratio: 1100 / 850;
  overflow: hidden;
  background: #eee;
  border-radius: 4px;
}

.laptop-screen iframe {
  position: absolute;
  inset: 0;
  width: 1100px;
  height: 850px;
  border: 0;
  transform: scale(var(--laptop-scale, .5));
  transform-origin: top left;
}

.laptop-label {
  height: 24px;
  text-align: center;
  color: #b9bdc7;
  font: 10px/24px Arial, sans-serif;
}

.laptop-base {
  position: relative;
  height: 19px;
  margin: 0 -18px;
  border-radius: 2px 2px 50% 50% / 2px 2px 14px 14px;
  background: linear-gradient(#d9dce1, #a3a8b1 65%, #7b818c);
  box-shadow: 0 16px 20px #22253d20;
}

.laptop-base span {
  position: absolute;
  top: 0;
  left: 40%;
  width: 20%;
  height: 6px;
  background: #888e98;
  border-radius: 0 0 8px 8px;
}

@media (max-width:760px) {
  .laptop-preview {
    padding-inline: 4px;
  }
  .laptop-lid {
    padding: 18px 7px 0;
    border-radius: 12px 12px 4px 4px;
  }
  .laptop-base {
    margin-inline: -10px;
    height: 14px;
  }
}

/* Slightly smaller laptop preview, centred within the feature column. */
#games .laptop-preview {
  width: 90%;
  margin-inline: auto;
}

/* Wider virtual desktop, fitted into a more generous laptop column. */
#games .feature-layout.reverse {
  grid-template-columns: 1.4fr .8fr;
  gap: 5%;
}

#games .laptop-preview {
  width: 100%;
}

.laptop-screen {
  aspect-ratio: 1440 / 960;
}

.laptop-screen iframe {
  width: 1440px;
  height: 960px;
}

@media (max-width:760px) {
  #games .feature-layout.reverse {
    grid-template-columns: 1fr;
  }
}

/* Compact resource menu: retain icons and animate the counter collapse. */
.resource-nav-slot {
  background: #834284;
}

.resource-nav, .resource-nav.is-stuck {
  background: #fff;
}

.resource-nav-inner {
  transition: padding .3s ease;
}

.resource-item {
  transition: padding .3s ease, gap .3s ease, background-color .18s, color .18s;
}

.resource-item img {
  display: block;
  width: 46px;
  height: 46px;
  transition: width .3s ease, height .3s ease;
  border-radius: 40px;
}

.resource-item strong {
  display: block;
  max-height: 44px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .3s ease, opacity .2s ease, transform .3s ease;
}

.resource-nav.is-stuck .resource-item {
  gap: 4px;
  padding: 7px 6px;
}

.resource-nav.is-stuck .resource-item img {
  display: block;
  width: 26px;
  height: 26px;
}

.resource-nav.is-stuck .resource-item strong {
  display: block;
  max-height: 0;
  opacity: 0;
  transform: translateY(-5px);
}

.resource-nav.is-measuring, .resource-nav.is-measuring * {
  transition: none!important;
}

/* Small prompts sit above, rather than over, the interactive controls. */
.has-interaction-prompt {
  position: relative;
  margin-top: 56px;
}

.interaction-prompt {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
}

.interaction-prompt span {
  padding: 7px 13px;
  background: #fff;
  color: #834284;
  border-radius: 20px;
  box-shadow: 0 3px 12px #22253d18;
  transform: rotate(-4deg);
}

.interaction-prompt svg {
  width: 58px;
  height: 42px;
  overflow: visible;
}

#presentations .interaction-prompt, #games .interaction-prompt {
  color: #834284;
}

@media (max-width:760px) {
  .feature-layout, .feature-layout.reverse {
    row-gap: 56px;
  }
  .interaction-prompt {
    left: 10px;
    font-size: 14px;
  }
  .resource-nav.is-stuck .resource-item {
    flex-basis: 122px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .resource-nav-inner, .resource-item, .resource-item img, .resource-item strong {
    transition: none!important;
  }
}

/* Membership introduction above the classroom information cards. */
.membership-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin-bottom: 48px;
}

.membership-intro h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  margin: 0;
}

.membership-intro-copy p {
  font-size: 16px;
  line-height: 1.85;
  color: #54586b;
  margin-bottom: 20px;
}

.membership-intro-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.membership-intro-copy .csp-button {
  margin-top: 4px;
  text-align: left;
}

.membership-modal .modal-dialog {
  max-width: 620px;
}

.membership-modal .modal-content {
  background: #fff;
  color: var(--ink);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 24px 70px #22253d30;
  overflow: hidden;
}

.membership-modal .modal-header {
  background: #834284;
  color: #fff;
  padding: 25px 28px;
  gap: 20px;
  border: 0;
  align-items: flex-start;
}

.membership-modal .modal-title {
  font-size: 26px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
  margin: 0;
}

.membership-modal .btn-close {
  filter: invert(1);
  opacity: 1;
  flex-shrink: 0;
}

.membership-modal .modal-body {
  padding: 28px 28px 8px;
  font-size: 16px;
  line-height: 1.8;
}

.membership-modal .modal-footer {
  padding: 8px 28px 28px;
  border: 0;
}

@media (max-width:760px) {
  .membership-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 36px;
  }
  .membership-intro h2 {
    max-width: 520px;
  }
  .membership-modal .modal-dialog {
    margin: 16px;
  }
  .membership-modal .modal-header {
    padding: 22px;
  }
  .membership-modal .modal-body {
    padding: 22px 22px 8px;
  }
  .membership-modal .modal-footer {
    padding: 8px 22px 22px;
  }
}

/* Illustrated membership catalogue, with a scrollable body and persistent close controls. */
.membership-modal .modal-dialog {
  width: calc(100% - 48px);
  max-width: 1440px;
  margin: 24px auto;
  height: calc(100% - 48px);
}

.membership-modal .modal-body {
  padding: 28px;
  scrollbar-width: thin;
  scrollbar-color: #834284 #f0e8f0;
  overscroll-behavior: contain;
}

.membership-modal .modal-body::-webkit-scrollbar {
  width: 9px;
}

.membership-modal .modal-body::-webkit-scrollbar-track {
  background: #f0e8f0;
}

.membership-modal .modal-body::-webkit-scrollbar-thumb {
  background: #834284;
  border: 2px solid #f0e8f0;
  border-radius: 10px;
}

.membership-overview-intro {
  margin: 0 0 24px;
  color: #54586b;
}

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

.membership-resource {
  background: #f5f5f7;
  border: 1px solid #e9e5eb;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.membership-resource > img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.membership-resource-copy {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}

.membership-resource h3 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: #834284;
  margin: 0 0 12px;
}

.membership-resource h3 {
  width: 100%;
}

.membership-resource-logo {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
}

.membership-resource p {
  font-size: 14px;
  line-height: 1.8;
  color: #54586b;
  margin: 0 0 20px;
}

.membership-resource-link {
  display: inline-block;
  margin-top: auto;
  color: #834284;
  font-size: 14px;
  font-weight: 600;
  text-underline-offset: 4px;
}

.membership-resource-link:hover {
  color: #603061;
}

.membership-coming-soon {
  margin-top: auto;
  font-size: 13px;
  color: #626678;
}

.membership-modal .modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #e9e5eb;
  background: #fff;
}

@media (max-width:1080px) {
  .membership-resources {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .membership-modal .modal-dialog {
    width: calc(100% - 32px);
    margin: 16px;
    height: calc(100% - 32px);
  }
}

@media (max-width:640px) {
  .membership-resources {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .membership-modal .modal-body {
    padding: 20px;
  }
  .membership-resource-copy {
    padding: 20px;
  }
  .membership-modal .modal-title {
    font-size: 23px;
  }
  .membership-modal .modal-footer {
    padding: 14px 20px;
  }
}

/* Eighth resource: the forthcoming VCE student guide. */
.resource-nav-inner {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.resource-item .resource-coming-soon {
  font-size: 24px;
  line-height: 1.7;
}

#vce-students {
  --panel: #834284;
  --tint: #54586b;
  background: #f1f2f4;
  color: #22253d;
}

#vce-students .eyebrow, #vce-students .benefits li:before {
  color: #834284;
}

#vce-students .feature-description {
  color: #54586b;
}

#vce-students .coming-soon-button:disabled {
  background: #ffc368;
  color: #22253d;
  opacity: 1;
  cursor: default;
}

/* Quieter purchase / renewal actions alongside the primary trial buttons. */
.btn.renewal-secondary {
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  white-space: normal;
}
.btn.renewal-secondary:hover {
  background: rgba(131, 66, 132, .08);
  border-color: currentColor;
  color: inherit;
}
.renewal-secondary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.membership-intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}
.membership-intro-actions .btn {
  white-space: normal;
}

/* Good Design Award announcement above the feature navigation. */
.award-band{background:#444;color:#fff;padding:48px 0}
.award-band-inner{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;align-items:center;gap:clamp(32px,5vw,76px)}
.award-band img{display:block;width:100%;max-width:320px;height:auto;margin:auto}
.award-band h2{color:#fff;font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 16px;font-weight:600}
.award-band p{color:#f0e4f0;font-size:16px;line-height:1.75;margin:0 0 18px;max-width:760px}
.award-band-link{color:#ffc368;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:5px}
.award-band-link[aria-disabled="true"]{cursor:default}
.award-link-status{font-weight:400}
@media(max-width:767px){.award-band-inner{grid-template-columns:1fr;gap:28px}.award-band img{max-width:240px}.award-band{padding:36px 0}}

/* Sticky membership introduction beside two columns of resource cards. */
.membership-modal .membership-catalogue {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-top: 60px;
  align-items: start;
}
.membership-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
}
.membership-sidebar .modal-title {
  color: #834284;
  font-size: clamp(26px, 2.5vw, 36px);
  margin-bottom: 24px;
}
.membership-sidebar .membership-overview-intro {
  margin-bottom: 0;
}
.membership-catalogue .membership-resources {
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.membership-modal .membership-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
  filter: none;
  padding: 10px;
  background-color: #fff;
  border-radius: 50%;
}
@media (max-width:900px) {
  .membership-modal .membership-catalogue {
    grid-template-columns: 1fr;
  }
  .membership-sidebar {
    position: static;
  }
  .membership-catalogue .membership-resources {
    grid-column: auto;
  }
}
@media (max-width:640px) {
  .membership-catalogue .membership-resources {
    grid-template-columns: 1fr;
  }
}
/* 2027 demo announcement, hero award and matching membership catalogue. */
.hero-award-badge { position:absolute; right:-8px; bottom:0; z-index:2; width:clamp(125px,14vw,190px); aspect-ratio:1; display:grid; place-items:center; padding:22px; border-radius:50%; background:#e5e5e5; box-shadow:0 12px 32px #33365325; overflow:hidden; }
.hero-award-badge img { display:block; width:100%; height:100%; object-fit:contain; }
.hero-award-badge::after { content:""; position:absolute; inset:-45%; background:linear-gradient(110deg,transparent 42%,#ffffff65 50%,transparent 58%); transform:translateX(-110%); animation:award-shimmer 7s ease-in-out infinite; pointer-events:none; }
@keyframes award-shimmer { 0%,65% { transform:translateX(-110%); } 90%,100% { transform:translateX(110%); } }
@media (max-width:767px) { .hero-award-badge { right:0; bottom:8px; width:130px; padding:18px; } }
@media (prefers-reduced-motion:reduce) { .hero-award-badge::after { animation:none; display:none; } }
.membership-modal .modal-dialog { max-width:1440px; }
.membership-modal .membership-catalogue { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,3.5fr); gap:20px; }
.membership-modal .membership-resource-groups { min-width:0; display:flex; flex-direction:column; gap:20px; }
.membership-modal .membership-resource-group { min-width:0; padding:18px; border-radius:20px; background:#e9e9eb; }
.membership-modal .membership-resource-group-title { margin:0 0 14px; font-size:15px; font-weight:600; color:#666; }
.membership-modal .membership-resource-group .membership-resources { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:0; }
.membership-modal .membership-resource-group .membership-resource { display:block; background:#fff; text-decoration:none; height:auto; color:#555; }
.membership-modal .membership-resource-copy { display:flex; flex-direction:column; height:100%; padding:16px; }
.membership-modal .membership-resource h3 { margin:0 0 8px; font-size:22px; }
.membership-modal .membership-resource-copy p { font-size:14px; line-height:1.4; margin-bottom:12px; }
.membership-modal .membership-resource-link { display:inline-block; align-self:flex-start; margin-top:auto; padding:8px 14px; border:2px solid #ffc66a; border-radius:23px; background:#fff; font-size:14px; font-weight:700; color:#376f68; }
.membership-modal .membership-sidebar-renew { display:inline-block; margin-top:16px; padding:11px 22px; border-radius:23px; background:#ffc66a; color:#493715; font-weight:600; text-align:center; text-decoration:none; }
.membership-modal .membership-sidebar h2 { color:#4c9f95; }
@media(max-width:991px) { .membership-modal .membership-catalogue { grid-template-columns:1fr; } .membership-modal .membership-resource-group .membership-resources { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .membership-modal .membership-resource-group { padding:12px; } .membership-modal .membership-resource-group .membership-resources { grid-template-columns:1fr; } }

/* Award badge placement refinement. */
.hero-award-badge { background:#444; bottom:-20px; }
@media (max-width:767px) { .hero-award-badge { bottom:-12px; } }

/* Compact membership introduction and content-sized ExamAI preview. */
.membership-modal .membership-sidebar { font-size:80%; }
.membership-modal .membership-sidebar .modal-title { font-size:clamp(20.8px,2vw,28.8px); }
.membership-modal .membership-sidebar-renew { font-size:inherit; }
.live-examai iframe { height:714px; max-height:none; }
.hero .preview-frame { transform:none; }
