/* ============================================================
   Umety — shared stylesheet
   ============================================================ */

/* Self-hosted fonts (no external font CDN dependency) */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-latin-800-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/caveat-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/caveat-latin-700-normal.woff2') format('woff2');
}

:root {
  --umety-blue: #1450ff;
  --umety-blue-dark: #0b1d3a;
  --umety-blue-light: #eaf1ff;
  --umety-text: #33415c;
  --umety-border: #e6ebf5;
  --font-main: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --max-width: 1536px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--umety-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease;
}
.btn:hover { opacity: .85; }
.btn-primary { background: var(--umety-blue); color: #fff; }
.btn-outline { background: transparent; color: var(--umety-blue); border-color: var(--umety-blue); }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- Utility bar ---------- */
.utility-bar {
  border-bottom: 1px solid var(--umety-border);
  padding: 14px 0;
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--umety-blue);
  line-height: 1;
}
.logo small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--umety-blue-dark);
  margin-top: 2px;
}
.utility-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}
.utility-nav a.link-plain { color: var(--umety-blue-dark); }
.utility-nav .btn { font-size: 14px; padding: 10px 20px; }

/* ---------- Main nav ---------- */
.main-nav-bar { padding: 14px 0; }
.main-nav-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 15px;
  color: var(--umety-blue);
}
.main-nav a.current { color: var(--umety-blue-dark); border-bottom: 2px solid var(--umety-blue); padding-bottom: 3px; }
.main-nav svg { width: 10px; height: 10px; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--umety-border);
  display: flex; align-items: center; justify-content: center;
  background: #fff; cursor: pointer;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; color: var(--umety-blue-dark); }

/* ---------- Mobile menu panel ---------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 20px 24px 28px;
  border-bottom: 1px solid var(--umety-border);
  background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 16px; }
.mobile-menu nav a { font-weight: 700; font-size: 16px; color: var(--umety-blue-dark); }
.mobile-menu-divider { height: 1px; background: var(--umety-border); margin: 18px 0; }

/* ---------- Hero / section image banners ---------- */
.section-banner { position: relative; }
.section-banner img { width: 100%; height: auto; display: block; }
.section-banner .hotspot {
  position: absolute;
  display: block;
  z-index: 2;
  border-radius: 999px;
}
.section-banner .hotspot:hover { background: rgba(255,255,255,0.12); }
.section-banner .hotspot:focus-visible {
  outline: 3px solid #1450ff;
  outline-offset: 2px;
  background: rgba(255,255,255,0.15);
}
.section-placeholder {
  padding: 120px 32px;
  text-align: center;
  background: var(--umety-blue-light);
  color: var(--umety-blue-dark);
}
.section-placeholder h1 { font-size: 32px; margin-bottom: 12px; }
.section-placeholder p { font-size: 16px; max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--umety-blue-dark);
  color: #cfd9f7;
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .5px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-logo { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; line-height: 1.6; color: #9fb0dd; max-width: 260px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; font-size: 13px; color: #8ea0d0; flex-wrap: wrap; gap: 10px;
}

/* ---------- Request a Demo form page ---------- */
.demo-page {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  min-height: 640px;
}
.demo-aside {
  background: var(--umety-blue-light);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.demo-aside h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--umety-blue-dark);
  line-height: 1.2;
  margin: 0 0 18px;
}
.demo-aside p {
  font-size: 16px;
  color: var(--umety-text);
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 340px;
}
.demo-aside .demo-image-wrap {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
.demo-aside .demo-image-wrap img {
  max-width: 260px;
  width: 100%;
  height: auto;
}
.demo-form-panel {
  padding: 64px 56px;
}
.demo-form-panel h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--umety-blue-dark);
  margin: 0 0 8px;
}
.demo-form-panel > p {
  font-size: 15px;
  color: var(--umety-text);
  margin: 0 0 32px;
}
.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--umety-blue-dark);
}
.form-field label .req { color: #e0374b; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  font-family: var(--font-main);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--umety-border);
  border-radius: 8px;
  color: var(--umety-text);
  background: #fff;
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--umety-blue);
  box-shadow: 0 0 0 3px rgba(20,80,255,.12);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--umety-border);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--umety-text);
}
.form-checkbox input { width: 17px; height: 17px; accent-color: var(--umety-blue); }
.demo-disclaimer {
  font-size: 12px;
  color: #b3495c;
  line-height: 1.6;
  margin: 18px 0 0;
}
.demo-form-panel .btn-primary {
  margin-top: 22px;
  padding: 13px 34px;
  border: none;
  font-size: 15px;
}
@media (max-width: 900px) {
  .demo-page { grid-template-columns: 1fr; }
  .demo-aside { padding: 44px 28px; }
  .demo-form-panel { padding: 44px 28px; }
  .demo-form-grid { grid-template-columns: 1fr; }
}

/* ---------- Simple content pages (thank-you, etc.) ---------- */
.simple-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 32px;
  text-align: center;
}
.simple-page h1 { font-size: 30px; color: var(--umety-blue-dark); margin: 0 0 16px; }
.simple-page p { font-size: 16px; line-height: 1.6; margin: 0 0 28px; }

/* ============================================================
   Redesign example (rd-) — coded sections, no flattened images
   ============================================================ */
.rd-hero {
  padding: 80px 32px;
}
.rd-hero .wrap { max-width: 780px; }
.rd-hero.rd-hero-split .wrap {
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}
.rd-hero-split .rd-hero-ctas,
.rd-hero-split .rd-stat-line { justify-content: flex-start; }
.rd-hero-split p.rd-lede { margin-left: 0; margin-right: 0; }
.rd-hero-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(11,29,58,0.25);
  aspect-ratio: 4 / 3;
}
.rd-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rd-hero-banner-wrap { padding: 0; position: relative; }
.rd-hero-banner-wrap img { width: 100%; height: auto; display: block; max-height: 560px; object-fit: cover; }
.rd-hero-banner-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 38px 24px 26px;
  text-align: center;
  background: linear-gradient(to top, rgba(11,29,58,0.75), rgba(11,29,58,0));
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.15;
  color: #fff;
  -webkit-text-stroke: 1.75px #000;
  paint-order: stroke fill;
}
.rd-hero-caption {
  padding: 44px 32px 56px;
  text-align: center;
  background: var(--umety-blue-light);
}
.rd-hero-caption .wrap { max-width: 720px; }
.rd-hero-caption h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--umety-blue-dark);
  margin: 0 0 14px;
}
.rd-hero-caption h1 span { color: var(--umety-blue); }
.rd-hero-caption p.rd-lede { margin: 0 auto 28px; }

.rd-product-shot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-product-shot img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px -14px rgba(11,29,58,0.3);
}
.rd-product-shot ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.rd-product-shot li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--umety-text); }
.rd-product-shot li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) {
  .rd-hero.rd-hero-split .wrap, .rd-product-shot, .rd-split-media { grid-template-columns: 1fr; text-align: center; }
  .rd-hero-split .rd-hero-ctas, .rd-hero-split .rd-stat-line { justify-content: center; }
}
.rd-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--umety-blue);
  background: var(--umety-blue-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.rd-hero h1 {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--umety-blue-dark);
  margin: 0 0 20px;
}
.rd-hero h1 span { color: var(--umety-blue); }
.rd-hero p.rd-lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--umety-text);
  max-width: 700px;
  margin: 0 auto 36px;
}
.rd-tagline-script {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: var(--umety-blue);
  margin: -6px 0 32px;
}
.rd-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.rd-stat-line {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--umety-blue-dark);
}
.rd-stat-line span { color: var(--umety-blue); }

.rd-section { padding: 64px 32px; }
.rd-section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}
.rd-section-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--umety-blue-dark);
  margin: 0 0 12px;
}
.rd-section-head p { font-size: 16px; color: var(--umety-text); margin: 0; line-height: 1.6; }

.rd-icon-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.rd-icon-circle svg { width: 22px; height: 22px; }
.rd-c-blue { background: var(--umety-blue); }
.rd-c-green { background: #1caa5c; }
.rd-c-purple { background: #8b2fd1; }
.rd-c-orange { background: #ef7d1f; }
.rd-c-pink { background: #e0367f; }

.rd-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-benefit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rd-benefit h3 { font-size: 16px; font-weight: 700; color: var(--umety-blue-dark); margin: 0; }
.rd-benefit p { font-size: 14px; color: var(--umety-text); margin: 0; line-height: 1.55; }

.rd-subject-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.rd-subject-card {
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rd-subject-card h3 { font-size: 18px; font-weight: 700; color: var(--umety-blue-dark); margin: 0; }
.rd-subject-card p { font-size: 14px; color: var(--umety-text); margin: 0; line-height: 1.55; flex-grow: 1; }
.rd-subject-example {
  font-size: 12px;
  font-weight: 600;
  color: var(--umety-blue);
  background: var(--umety-blue-light);
  border-radius: 8px;
  padding: 8px 10px;
}
.rd-subject-card a.rd-card-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--umety-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.rd-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-step { text-align: center; }
.rd-step-num {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--umety-blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.rd-step h3 { font-size: 15px; font-weight: 700; color: var(--umety-blue-dark); margin: 0 0 6px; }
.rd-step p { font-size: 13px; color: var(--umety-text); margin: 0; line-height: 1.5; }

.rd-testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.rd-testimonial blockquote {
  font-size: 22px;
  font-weight: 600;
  color: var(--umety-blue-dark);
  line-height: 1.45;
  margin: 0 0 18px;
}
.rd-testimonial cite {
  font-style: normal;
  font-size: 14px;
  color: var(--umety-text);
}

.rd-cta-banner {
  background: var(--umety-blue-dark);
  padding: 64px 32px;
  text-align: center;
}
.rd-cta-banner h2 { color: #fff; font-size: 28px; font-weight: 800; margin: 0 0 12px; }
.rd-cta-banner p { color: #cfd9f7; font-size: 15px; margin: 0 0 28px; }

.rd-stat-callout {
  background: var(--umety-blue-dark);
  padding: 56px 24px 40px;
  text-align: center;
}
.rd-stat-callout .rd-eyebrow { color: #7fa8ff; }
.rd-stat-callout h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  max-width: 640px;
  margin: 10px auto 38px;
  line-height: 1.4;
}
.rd-stat-callout-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin: 0 auto 28px;
}
.rd-stat-callout-item { max-width: 260px; }
.rd-stat-callout-item .num {
  display: block;
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}
.rd-stat-callout-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin: 0;
}
.rd-stat-callout-source {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}
.rd-stat-callout-source a { color: rgba(255,255,255,0.72); }

.rd-icon-circle-sm { width: 30px; height: 30px; }
.rd-icon-circle-sm svg { width: 15px; height: 15px; }

/* Subject grid v2 — header photo + checklist + example chip, 5 subjects */
.rd-subject-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
}
.rd-subject-card-v2 {
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.rd-subject-card-v2 img { width: 100%; height: 120px; object-fit: cover; display: block; }
.rd-subject-card-v2 .rd-subject-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.rd-subject-card-v2 .rd-subject-title { display: flex; align-items: center; gap: 8px; }
.rd-subject-card-v2 h3 { font-size: 15px; font-weight: 700; color: var(--umety-blue-dark); margin: 0; }
.rd-subject-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.rd-subject-checklist li {
  font-size: 12px;
  color: var(--umety-text);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}
.rd-subject-checklist li svg { flex-shrink: 0; margin-top: 2px; }
.rd-subject-card-v2 .rd-subject-example {
  margin-top: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--umety-blue);
  background: var(--umety-blue-light);
  border-radius: 8px;
  padding: 7px 9px;
}
.rd-subject-card-v2 a.rd-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--umety-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* How it works — real product screenshots */
.rd-steps-photo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-step-photo { display: flex; flex-direction: column; }
.rd-step-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(11,29,58,0.12);
}
.rd-step-photo .rd-step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--umety-blue-dark);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.rd-step-photo h3 { font-size: 16px; font-weight: 700; color: var(--umety-blue-dark); margin: 0 0 6px; }
.rd-step-photo p { font-size: 13.5px; color: var(--umety-text); margin: 0; line-height: 1.5; }

/* Lesson example cards — "Explore This Lesson" row */
.rd-lesson-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
}
.rd-lesson-card {
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.rd-lesson-card img { width: 100%; height: 130px; object-fit: cover; display: block; }
.rd-lesson-card .rd-lesson-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.rd-lesson-card .rd-lesson-title { display: flex; align-items: center; gap: 8px; }
.rd-lesson-card h3 { font-size: 14.5px; font-weight: 700; color: var(--umety-blue-dark); margin: 0; line-height: 1.3; }
.rd-lesson-card .rd-lesson-subject { font-size: 11px; color: var(--umety-text); opacity: 0.75; margin: -4px 0 0; }
.rd-lesson-card p { font-size: 12.5px; color: var(--umety-text); margin: 0; line-height: 1.5; }
.rd-lesson-card a.rd-card-link {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--umety-blue-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Testimonials grid — educators + students */
.rd-testimonial-groups { display: flex; flex-direction: column; gap: 28px; max-width: 1100px; margin: 0 auto; }
.rd-testimonial-group-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--umety-blue-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.rd-testimonial-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.rd-testimonial-card {
  border: 1px solid var(--umety-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.rd-testimonial-card img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rd-testimonial-card blockquote { margin: 0 0 6px; font-size: 13.5px; color: var(--umety-text); line-height: 1.5; }
.rd-testimonial-card cite { font-style: normal; font-size: 12px; color: var(--umety-blue); font-weight: 600; }

/* Before / after comparison (passive vs. active learning) */
.rd-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-before-after figure { margin: 0; }
.rd-before-after img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(11,29,58,0.14);
}
.rd-before-after figcaption {
  font-size: 13.5px;
  color: var(--umety-text);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
  padding: 0 8px;
}
.rd-before-after-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 148px;
  flex-shrink: 0;
}
.rd-before-after-arrow-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--umety-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(37,99,235,0.28);
}
.rd-before-after-arrow-caption {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.2;
  color: var(--umety-blue);
  text-align: center;
}

/* Generic photo-card grids (reuse .rd-lesson-card styling) */
.rd-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
}
.rd-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1300px;
  margin: 0 auto;
}
.rd-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.rd-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Section-head + decorative image split (e.g. Key Benefits header) */
.rd-split-media {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* Simple icon-only learner-type grid */
.rd-learner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}
.rd-learner-card { text-align: center; }
.rd-learner-card h3 { font-size: 14.5px; font-weight: 700; color: var(--umety-blue-dark); margin: 12px 0 6px; }
.rd-learner-card p { font-size: 12.5px; color: var(--umety-text); margin: 0; line-height: 1.5; }

/* Compact 2-column benefit checklist (for educators section) */
.rd-benefit-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.rd-benefit-grid-2col .rd-benefit { flex-direction: row; align-items: flex-start; gap: 12px; }
.rd-benefit-grid-2col .rd-benefit h3 { font-size: 14.5px; margin-bottom: 3px; }
.rd-benefit-grid-2col .rd-benefit p { font-size: 13px; }

/* Section banner photo strip (full-width, cropped tall) */
.rd-banner-photo { width: 100%; }
.rd-banner-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .rd-benefit-grid, .rd-subject-grid, .rd-steps { grid-template-columns: 1fr 1fr; }
  .rd-subject-grid-5, .rd-lesson-grid, .rd-grid-6, .rd-grid-5, .rd-grid-4, .rd-learner-grid { grid-template-columns: repeat(3, 1fr); }
  .rd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .rd-steps-photo, .rd-testimonial-grid-3 { grid-template-columns: 1fr; }
  .rd-before-after { grid-template-columns: 1fr; }
  .rd-before-after-arrow { width: auto; margin: 4px auto; }
  .rd-before-after-arrow-icon { transform: rotate(90deg); }
  .rd-benefit-grid-2col { grid-template-columns: 1fr; }
  .rd-hero h1 { font-size: 32px; }
}
@media (max-width: 600px) {
  .rd-benefit-grid, .rd-subject-grid, .rd-steps { grid-template-columns: 1fr; }
  .rd-subject-grid-5, .rd-lesson-grid, .rd-grid-6, .rd-grid-5, .rd-grid-4, .rd-learner-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-grid-3 { grid-template-columns: 1fr; }
  .rd-grid-2 { grid-template-columns: 1fr; }
  .rd-hero { padding: 64px 20px 48px; }
  .rd-section { padding: 44px 20px; }
  .rd-stat-callout-grid { gap: 32px; }
  .rd-stat-callout-item .num { font-size: 38px; }
  .rd-banner-photo img { height: 160px; }
}

/* ---------- Home page: passive vs active compare cards ---------- */
.rd-compare-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 40px;
}
.rd-compare-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 12px 30px rgba(11,29,58,0.14);
}
.rd-compare-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-compare-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(to top, rgba(11,29,58,0.88), rgba(11,29,58,0));
  color: #fff;
}
.rd-compare-label .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.rd-compare-label.passive .tag { background: #5b6472; }
.rd-compare-label.active .tag { background: var(--umety-blue); }
.rd-compare-label p { margin: 0; font-size: 13px; line-height: 1.45; color: #e7ecfb; }
.rd-compare-arrow {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--umety-blue);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(37,99,235,0.28);
}

/* Flow row: Observe -> Explore, Memorize -> Understand, etc */
.rd-flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-flow-pair { display: flex; align-items: center; gap: 8px; }
.rd-flow-pill { font-size: 12.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.rd-flow-pill.old { background: #eef1f6; color: #6b7688; }
.rd-flow-pill.new { background: var(--umety-blue-light); color: var(--umety-blue); font-weight: 700; }
.rd-flow-arrow { color: var(--umety-blue); flex-shrink: 0; }

/* Pathway explorer cards (Explore STEM / World / Careers / Language) */
.rd-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
}
.rd-pathway-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: 0 12px 30px rgba(11,29,58,0.18);
}
.rd-pathway-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rd-pathway-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,29,58,0.94) 8%, rgba(11,29,58,0.4) 52%, rgba(11,29,58,0.05) 80%);
  z-index: 1;
}
.rd-pathway-body { position: relative; z-index: 2; padding: 20px 18px; }
.rd-pathway-card h3 { font-size: 19px; font-weight: 800; margin: 0 0 6px; }
.rd-pathway-card p { font-size: 12.5px; color: #dbe4fb; margin: 0 0 14px; line-height: 1.42; }
.rd-pathway-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.rd-pathway-tags span { font-size: 10.5px; font-weight: 600; background: rgba(255,255,255,0.16); padding: 4px 9px; border-radius: 999px; }
.rd-pathway-card a.btn { width: 100%; justify-content: center; font-size: 13px; padding: 10px 14px; }

/* Testimonial 4-col + trusted-by + mini stat row */
.rd-testimonial-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rd-benefit-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; max-width: 1300px; margin: 0 auto; }
.rd-trusted-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}
.rd-trusted-row span { font-size: 14px; font-weight: 700; color: var(--umety-blue-dark); opacity: 0.68; }
.rd-steps-3col { grid-template-columns: repeat(3, 1fr); }

/* ---------- 3D Interactive page ---------- */
.rd-benefit-grid-3col { grid-template-columns: repeat(3, 1fr); max-width: 980px; }

.rd-subject-chip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.rd-subject-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--umety-border);
  border-radius: 12px;
  padding: 12px 14px;
}
.rd-subject-chip span { font-size: 13.5px; font-weight: 600; color: var(--umety-blue-dark); }
.rd-subject-chip.more { justify-content: center; color: var(--umety-blue); font-weight: 700; background: var(--umety-blue-light); border: none; }

.rd-grade-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.rd-grade-step {
  position: relative;
  text-align: center;
  padding: 0 14px;
}
.rd-grade-step::before {
  content: "";
  position: absolute;
  top: 32px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--umety-border);
  z-index: 0;
}
.rd-grade-step:first-child::before { display: none; }
.rd-grade-step img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--umety-blue-light);
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}
.rd-grade-step h3 { font-size: 15px; font-weight: 700; color: var(--umety-blue-dark); margin: 0 0 6px; }
.rd-grade-step p { font-size: 12.5px; color: var(--umety-text); margin: 0; line-height: 1.5; }

.rd-feature-card-photo {
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.rd-feature-card-photo img { width: 100%; height: 170px; object-fit: cover; display: block; }
.rd-feature-card-photo .rd-feature-body { padding: 18px; }
.rd-feature-card-photo h3 { font-size: 15.5px; font-weight: 700; color: var(--umety-blue-dark); margin: 10px 0 6px; }
.rd-feature-card-photo p { font-size: 13px; color: var(--umety-text); margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
  .rd-compare-row { grid-template-columns: 1fr; }
  .rd-compare-arrow { transform: rotate(90deg); margin: 0 auto; }
  .rd-pathway-grid, .rd-testimonial-grid-4, .rd-benefit-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .rd-benefit-grid-3col, .rd-subject-chip-grid, .rd-grade-timeline { grid-template-columns: repeat(2, 1fr); }
  .rd-grade-step::before { display: none; }
}
@media (max-width: 600px) {
  .rd-pathway-grid, .rd-testimonial-grid-4, .rd-benefit-grid-5 { grid-template-columns: 1fr; }
  .rd-benefit-grid-3col, .rd-subject-chip-grid, .rd-grade-timeline { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .utility-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-placeholder { padding: 70px 20px; }
}

/* ---------- ELL page: headset-required callout + video frame ---------- */
.rd-callout-box {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--umety-blue-dark);
  border-radius: 16px;
  padding: 20px 26px;
  max-width: 620px;
}
.rd-callout-box .rd-icon-circle { flex-shrink: 0; }
.rd-callout-box h3 { color: #fff; font-size: 15.5px; font-weight: 700; margin: 0 0 4px; }
.rd-callout-box p { color: rgba(255,255,255,0.75); font-size: 13px; margin: 0; line-height: 1.5; }

.rd-video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -14px rgba(11,29,58,0.3);
  aspect-ratio: 16 / 9;
  background: #0b1d3a;
}
.rd-video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

/* ---------- Resource Center: download cards ---------- */
.rd-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.rd-resource-grid.rd-resource-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.rd-resource-card {
  background: #fff;
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rd-resource-card:hover { box-shadow: 0 18px 36px -16px rgba(11,29,58,0.22); transform: translateY(-2px); }
.rd-resource-thumb { position: relative; background: var(--umety-blue-light); }
.rd-resource-thumb img { width: 100%; height: 190px; object-fit: cover; display: block; }
.rd-resource-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11,29,58,0.85);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}
.rd-resource-badge.rd-badge-video { background: rgba(20,80,255,0.9); }
.rd-resource-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.rd-resource-body h3 { font-size: 15.5px; font-weight: 700; color: var(--umety-blue-dark); margin: 0 0 6px; }
.rd-resource-body p { font-size: 13px; color: var(--umety-text); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.rd-resource-meta { font-size: 12px; color: #8a94a6; font-weight: 600; margin-bottom: 14px; }
.rd-resource-body .btn { align-self: flex-start; }
.rd-resource-category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto 28px;
}
.rd-resource-category-head h2 { font-size: 24px; font-weight: 800; color: var(--umety-blue-dark); margin: 0; }
.rd-resource-category-head p { font-size: 14px; color: var(--umety-text); margin: 2px 0 0; }
.rd-resource-jumpnav {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.rd-resource-jumpnav a {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--umety-blue-dark);
  background: var(--umety-blue-light);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
}
.rd-resource-jumpnav a:hover { background: var(--umety-blue); color: #fff; }

@media (max-width: 900px) {
  .rd-resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .rd-resource-grid, .rd-resource-grid.rd-resource-grid-2 { grid-template-columns: 1fr; }
  .rd-resource-category-head { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- XR Hardware: full-bleed photo hero ---------- */
.rd-c-teal { background: #22c0e0; }
.rd-c-pink { background: #f43f7a; }

.rd-hero-fullbleed {
  position: relative;
  overflow: hidden;
  padding-top: 44px;
  background: #fff;
}
.rd-hero-fullbleed-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 60%;
  z-index: 0;
}
.rd-hero-fullbleed-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-hero-fullbleed-annotation {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: #14306b;
  line-height: 1.15;
  text-align: center;
}
.rd-hero-fullbleed-annotation.a1 { top: 6%; left: 6%; font-size: 26px; }
.rd-hero-fullbleed-annotation.a2 { top: 6%; left: 46%; font-size: 26px; }
.rd-hero-fullbleed-annotation.a3 { top: 4%; right: 3%; font-size: 20px; color: var(--umety-blue-dark); font-family: 'Poppins', sans-serif; font-weight: 800; text-align: right; }
.rd-hero-fullbleed-annotation.a3 svg { display: block; margin: 0 0 6px auto; }
.rd-hero-fullbleed-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: 30px 0 90px;
}
.rd-hero-fullbleed-content p { font-size: 15.5px; line-height: 1.65; color: var(--umety-text); margin: 0 0 16px; max-width: 480px; }
.rd-hero-fullbleed-content .rd-hero-ctas { justify-content: flex-start; margin: 26px 0 24px; }
.rd-hero-fullbleed-wave { display: block; width: 100%; height: auto; position: relative; z-index: 1; margin-top: -6px; }

@media (max-width: 1000px) {
  .rd-hero-fullbleed-bg { position: static; width: 100%; height: 320px; margin-top: 24px; }
  .rd-hero-fullbleed-content { max-width: 100%; padding-bottom: 30px; }
  .rd-hero-fullbleed-annotation { display: none; }
}

/* 6-column icon feature strip */
.rd-icon-strip-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  max-width: 1300px;
  margin: 0 auto;
  text-align: center;
}
.rd-icon-strip-6 .rd-icon-circle { margin: 0 auto 14px; }
.rd-icon-strip-6 h3 { font-size: 13.5px; font-weight: 800; color: var(--umety-blue-dark); margin: 0 0 6px; letter-spacing: 0.02em; }
.rd-icon-strip-6 p { font-size: 12.5px; color: var(--umety-text); margin: 0; line-height: 1.5; }
@media (max-width: 900px) {
  .rd-icon-strip-6 { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; }
}
@media (max-width: 560px) {
  .rd-icon-strip-6 { grid-template-columns: repeat(2, 1fr); }
}

/* Feature-card-photo modifier: show the full product photo instead of cropping to a fixed height */
.rd-feature-card-photo.rd-photo-natural img {
  height: 230px;
  object-fit: contain;
  background: #f4f6fb;
  padding: 18px;
  box-sizing: border-box;
}

/* ---------- Teacher Platform: capability cards (icon + copy + screenshot + checklist) ---------- */
.rd-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
}
.rd-capability-card {
  background: #fff;
  border: 1px solid var(--umety-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.rd-capability-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--umety-blue-dark);
  margin: 12px 0 8px;
  line-height: 1.3;
}
.rd-capability-card > p {
  font-size: 13.5px;
  color: var(--umety-text);
  line-height: 1.6;
  margin: 0 0 16px;
}
.rd-capability-card img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  background: #f4f6fb;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--umety-border);
}
.rd-capability-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rd-capability-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--umety-text);
  line-height: 1.45;
}
.rd-capability-checklist svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 1000px) {
  .rd-capability-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .rd-capability-grid { grid-template-columns: 1fr; }
}
