.speaksmart-page {
  --smart-ink: #17283b;
  --smart-muted: #607187;
  --smart-coral: #ff765f;
  --smart-teal: #139f91;
  --smart-yellow: #ffd86f;
  overflow-x: hidden;
}

.speaksmart-page .top-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #fff2bf, #dff8f6, #f2ecff);
  color: var(--smart-ink);
}

.speaksmart-page .top-strip span,
.speaksmart-page .top-strip strong,
.speaksmart-page .top-strip a {
  line-height: 1.2;
}

.speaksmart-page .top-strip a {
  color: #07493f;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.speaksmart-page .speaksmart-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.82fr);
  gap: 22px;
  align-items: stretch;
}

.speaksmart-page .speaksmart-hero-copy,
.speaksmart-page .speaksmart-camera-mock,
.speaksmart-page .smart-profile-card,
.speaksmart-page .smart-video-card,
.speaksmart-page .smart-question-panel,
.speaksmart-page .speaksmart-transcript,
.speaksmart-page .speaksmart-feedback,
.speaksmart-page .speaksmart-progress {
  border-radius: 24px;
}

.speaksmart-page .speaksmart-hero-copy h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 5.8vw, 5.25rem);
  letter-spacing: 0;
}

.speaksmart-page .speaksmart-hero-copy p {
  max-width: 720px;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.speaksmart-page .hero-actions,
.speaksmart-page .smart-controls,
.speaksmart-page .smart-feedback-actions {
  gap: 10px;
}

.speaksmart-page .primary-button,
.speaksmart-page .secondary-button,
.speaksmart-page button {
  min-height: 50px;
  border-radius: 16px;
}

.speaksmart-page .speaksmart-safety-note {
  border: 1px solid rgba(19, 159, 145, 0.22);
  background: linear-gradient(135deg, #e9fff7, #fff8d8);
  color: #075448;
}

.speaksmart-page .speaksmart-features {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
}

.speaksmart-page .speaksmart-features article {
  min-height: 170px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.speaksmart-page .smart-stat-grid article,
.speaksmart-page .smart-score-grid article {
  min-height: 118px;
}

.speaksmart-page .speaksmart-features article::after {
  content: "";
  position: absolute;
  inset: auto 18px 18px auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 216, 111, 0.42);
  transition: transform 0.24s ease;
}

.speaksmart-page .speaksmart-features article:hover::after {
  transform: scale(2.2);
}

.speaksmart-page .smart-profile-card {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 251, 239, 0.78));
}

.speaksmart-page .smart-profile-card label {
  min-width: 0;
}

.speaksmart-page .smart-profile-card input,
.speaksmart-page .smart-profile-card select,
.speaksmart-page .smart-question-panel select,
.speaksmart-page .speaksmart-transcript textarea {
  border: 1px solid rgba(23, 40, 59, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.speaksmart-page .smart-dashboard-head {
  border-radius: 24px;
  background: linear-gradient(135deg, #fff, #eaf8ff);
}

.speaksmart-page .smart-stat-grid,
.speaksmart-page .smart-score-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.speaksmart-page .smart-actions-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.speaksmart-page .smart-actions-grid button {
  min-height: 76px;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 14px 10px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 249, 255, 0.8));
}

.speaksmart-page .smart-actions-grid button::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  opacity: 0.38;
  background: var(--action-glow, #ffd86f);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.speaksmart-page .smart-actions-grid button::before {
  position: relative;
  z-index: 1;
}

.speaksmart-page .smart-actions-grid button:hover::after {
  transform: scale(1.35);
  opacity: 0.56;
}

.speaksmart-page .smart-actions-grid button::before {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #123044;
  background: linear-gradient(135deg, #ffd86f, #e8fbef);
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(31, 49, 66, 0.12);
}

.speaksmart-page .smart-actions-grid button:nth-child(1)::before { content: "01"; }
.speaksmart-page .smart-actions-grid button:nth-child(2)::before { content: "02"; }
.speaksmart-page .smart-actions-grid button:nth-child(3)::before { content: "03"; }
.speaksmart-page .smart-actions-grid button:nth-child(4)::before { content: "04"; }
.speaksmart-page .smart-actions-grid button:nth-child(5)::before { content: "05"; }
.speaksmart-page .smart-actions-grid button:nth-child(6)::before { content: "â†—"; }

.speaksmart-page .smart-actions-grid button:nth-child(1) {
  --action-glow: #ffd86f;
  background: linear-gradient(135deg, #fff4bd, #ffffff 70%);
}

.speaksmart-page .smart-actions-grid button:nth-child(2) {
  --action-glow: #65d8ff;
  background: linear-gradient(135deg, #ddf7ff, #ffffff 70%);
}

.speaksmart-page .smart-actions-grid button:nth-child(3) {
  --action-glow: #c4b5fd;
  background: linear-gradient(135deg, #eee8ff, #ffffff 70%);
}

.speaksmart-page .smart-actions-grid button:nth-child(4) {
  --action-glow: #86efac;
  background: linear-gradient(135deg, #e5fff0, #ffffff 70%);
}

.speaksmart-page .smart-actions-grid button:nth-child(5) {
  --action-glow: #fdba74;
  background: linear-gradient(135deg, #ffe6d5, #ffffff 70%);
}

.speaksmart-page .smart-actions-grid button:nth-child(6) {
  --action-glow: #93c5fd;
  background: linear-gradient(135deg, #e2edff, #ffffff 70%);
}

.speaksmart-page .smart-stat-grid article,
.speaksmart-page .smart-score-grid article {
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 16px;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.speaksmart-page .smart-stat-grid article::after,
.speaksmart-page .smart-score-grid article::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -30px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  opacity: 0.42;
  background: var(--card-glow, #ffd86f);
}

.speaksmart-page .smart-stat-grid article > *,
.speaksmart-page .smart-score-grid article > * {
  position: relative;
  z-index: 1;
}

.speaksmart-page .smart-stat-grid article:nth-child(1) {
  --card-glow: #ffd86f;
  background: linear-gradient(135deg, #fff6c8, #ffffff 68%);
}

.speaksmart-page .smart-stat-grid article:nth-child(2) {
  --card-glow: #34d399;
  background: linear-gradient(135deg, #e5fff3, #ffffff 68%);
}

.speaksmart-page .smart-stat-grid article:nth-child(3) {
  --card-glow: #60a5fa;
  background: linear-gradient(135deg, #e2f2ff, #ffffff 68%);
}

.speaksmart-page .smart-stat-grid article:nth-child(4) {
  --card-glow: #c084fc;
  background: linear-gradient(135deg, #f1e7ff, #ffffff 68%);
}

.speaksmart-page .smart-stat-grid article:nth-child(5) {
  --card-glow: #fb7185;
  background: linear-gradient(135deg, #ffe7ed, #ffffff 68%);
}

.speaksmart-page .smart-stat-grid article:nth-child(6) {
  --card-glow: #2dd4bf;
  background: linear-gradient(135deg, #dcfffb, #ffffff 68%);
}

.speaksmart-page .smart-room-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.72fr);
}

.speaksmart-page .smart-video-frame {
  min-height: 320px;
  border-radius: 22px;
}

.speaksmart-page .smart-camera-switches {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
}

.speaksmart-page .smart-switch {
  pointer-events: auto;
  min-height: 38px;
  width: auto;
  display: inline-grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(11, 24, 48, 0.22);
  backdrop-filter: blur(14px);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.speaksmart-page .smart-switch:hover {
  transform: translateY(-2px);
}

.speaksmart-page .smart-switch span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
  line-height: 1;
}

.speaksmart-page .smart-switch strong,
.speaksmart-page .smart-switch em {
  font-style: normal;
  font-weight: 950;
  line-height: 1;
}

.speaksmart-page .smart-switch strong {
  font-size: 0.78rem;
}

.speaksmart-page .smart-switch em {
  min-width: 32px;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.18);
}

.speaksmart-page .smart-switch.is-on {
  background: rgba(14, 153, 115, 0.82);
  border-color: rgba(137, 255, 210, 0.46);
}

.speaksmart-page .smart-switch.is-off {
  background: rgba(225, 65, 73, 0.84);
  border-color: rgba(255, 190, 190, 0.48);
}

.speaksmart-page .smart-video-card {
  align-self: start;
}

.speaksmart-page .speaksmart-room {
  padding-bottom: clamp(22px, 3vw, 40px);
}

.speaksmart-page .speaksmart-transcript {
  margin-top: clamp(18px, 3vw, 32px);
}

.speaksmart-page .smart-controls {
  margin-top: 16px;
}

.speaksmart-page .smart-quick-result[hidden] {
  display: none !important;
}

.speaksmart-page .smart-quick-result {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 9% 18%, rgba(255, 216, 111, 0.5), transparent 24%),
    linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96) 52%, rgba(239, 246, 255, 0.96));
  box-shadow: 0 20px 44px rgba(18, 48, 68, 0.11);
}

.speaksmart-page .smart-quick-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.speaksmart-page .smart-quick-head span {
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.speaksmart-page .smart-quick-head strong {
  max-width: 340px;
  color: #14233a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.1;
  text-align: right;
}

.speaksmart-page .smart-quick-score-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.speaksmart-page .smart-quick-score-row article {
  min-height: 82px;
  padding: 13px;
  border: 1px solid rgba(18, 48, 68, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.speaksmart-page .smart-quick-score-row small {
  display: block;
  color: #64748b;
  font-weight: 900;
}

.speaksmart-page .smart-quick-score-row b {
  display: block;
  margin-top: 5px;
  color: #0f766e;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1;
}

.speaksmart-page .smart-quick-result .primary-button {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
  min-height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.2);
}

.speaksmart-page .smart-privacy-line {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: clamp(0.88rem, 1.5vw, 1rem);
  line-height: 1.35;
}

.speaksmart-page .mock-video {
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.28), transparent 26%),
    linear-gradient(135deg, #5fd8f0 0%, #73a9ff 45%, #8974ff 100%);
}

.speaksmart-page .mock-video::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.56;
}

.speaksmart-page .mock-video-label {
  z-index: 4;
  top: 24px;
  left: 24px;
  max-width: min(360px, calc(100% - 88px));
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #142748;
  font-size: clamp(0.86rem, 1.5vw, 1rem);
  line-height: 1.15;
  box-shadow: 0 14px 26px rgba(22, 35, 80, 0.18);
  animation: smartLabelCycle 8s ease-in-out infinite;
}

.speaksmart-page .mock-camera-light {
  position: absolute;
  top: 34px;
  right: 34px;
  z-index: 4;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #36f2b7;
  box-shadow: 0 0 0 0 rgba(54, 242, 183, 0.45);
  animation: smartCameraPulse 1.5s ease-out infinite;
}

.speaksmart-page .mock-teleprompter {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 6;
  display: grid;
  grid-template-columns: 0.8fr repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(13, 34, 69, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(10, 22, 45, 0.24);
}

.speaksmart-page .mock-teleprompter strong,
.speaksmart-page .mock-teleprompter span {
  position: static;
  display: grid;
  min-height: 40px;
  place-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
}

.speaksmart-page .mock-teleprompter strong {
  background: rgba(255, 216, 111, 0.22);
}

.speaksmart-page .mock-teleprompter span {
  background: rgba(255, 255, 255, 0.18);
  animation: smartPrompterCue 6s ease-in-out infinite;
}

.speaksmart-page .mock-teleprompter span:nth-child(3) {
  animation-delay: 0.6s;
}

.speaksmart-page .mock-teleprompter span:nth-child(4) {
  animation-delay: 1.2s;
}

.speaksmart-page .mock-student {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  transform: translateY(18px);
  animation: smartStudentEnter 8s ease-in-out infinite;
}

.speaksmart-page .mock-face {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 38% 38% 45% 45%;
  background: linear-gradient(180deg, #fff0b7, #ffbda2);
  box-shadow: 0 18px 0 rgba(22, 35, 80, 0.22);
}

.speaksmart-page .mock-face::before,
.speaksmart-page .mock-face::after {
  content: "";
  position: absolute;
  top: 54px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #26315f;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.speaksmart-page .mock-face::before {
  left: 38px;
}

.speaksmart-page .mock-face::after {
  right: 38px;
}

.speaksmart-page .mock-shoulders {
  width: 210px;
  height: 78px;
  margin-top: -2px;
  border-radius: 70px 70px 26px 26px;
  background: linear-gradient(135deg, #163468, #1aa99b);
  box-shadow: 0 20px 32px rgba(22, 35, 80, 0.25);
}

.speaksmart-page .mock-speech-bubble {
  position: absolute;
  left: 50%;
  top: 16px;
  z-index: 5;
  width: max-content;
  max-width: 220px;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #ffffff;
  color: #17283b;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(22, 35, 80, 0.2);
  transform: translateX(-12px) translateY(2px) scale(0.78);
  opacity: 0;
  animation: smartSpeechBubble 8s ease-in-out infinite;
}

.speaksmart-page .mock-ai-feedback {
  position: absolute;
  right: 26px;
  top: 76px;
  z-index: 5;
  display: grid;
  gap: 9px;
  width: min(210px, 40%);
}

.speaksmart-page .mock-ai-feedback span {
  position: static;
  display: block;
  padding: 10px 12px;
  border-radius: 999px;
  color: #143143;
  font-size: 0.84rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(22, 35, 80, 0.18);
  transform: translateX(42px);
  opacity: 0;
  animation: smartFeedbackChip 8s ease-in-out infinite;
}

.speaksmart-page .mock-ai-feedback span:nth-child(2) {
  animation-delay: 0.4s;
}

.speaksmart-page .mock-ai-feedback span:nth-child(3) {
  animation-delay: 0.8s;
}

.speaksmart-page .mock-panel {
  overflow: hidden;
}

.speaksmart-page .mock-panel::after {
  content: "AI listens, maps words, and suggests one clear improvement.";
  display: block;
  margin-top: 10px;
  color: rgba(22, 37, 80, 0.68);
  font-weight: 850;
  font-size: 0.92rem;
}

.speaksmart-page .mock-meter i {
  width: 38%;
  animation: smartConfidenceMeter 8s ease-in-out infinite;
}

.speaksmart-page .smart-teleprompter {
  position: absolute;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 7;
  width: min(420px, calc(100% - 36px));
  pointer-events: none;
}

.speaksmart-page .smart-teleprompter div {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(15, 36, 68, 0.74), rgba(10, 120, 108, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(11, 24, 48, 0.28);
}

.speaksmart-page .smart-teleprompter strong {
  color: #ffd86f;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.speaksmart-page .smart-teleprompter span {
  display: block;
  font-weight: 950;
  font-size: clamp(0.82rem, 1.35vw, 1rem);
  line-height: 1.25;
  animation: smartRealPrompter 7s ease-in-out infinite;
}

.speaksmart-page.is-prompter-off .smart-teleprompter {
  display: none;
}

@keyframes smartCameraPulse {
  0% { box-shadow: 0 0 0 0 rgba(54, 242, 183, 0.45); }
  75%, 100% { box-shadow: 0 0 0 18px rgba(54, 242, 183, 0); }
}

@keyframes smartStudentEnter {
  0%, 10% { transform: translateY(28px) scale(0.94); opacity: 0.72; }
  24%, 100% { transform: translateY(10px) scale(1); opacity: 1; }
}

@keyframes smartSpeechBubble {
  0%, 22% { opacity: 0; transform: translateX(-12px) translateY(12px) scale(0.78); }
  32%, 64% { opacity: 1; transform: translateX(-12px) translateY(-6px) scale(1); }
  78%, 100% { opacity: 0; transform: translateX(-12px) translateY(-18px) scale(0.92); }
}

@keyframes smartFeedbackChip {
  0%, 34% { opacity: 0; transform: translateX(42px); }
  46%, 78% { opacity: 1; transform: translateX(0); }
  92%, 100% { opacity: 0; transform: translateX(-18px); }
}

@keyframes smartConfidenceMeter {
  0%, 22% { width: 38%; }
  52% { width: 68%; }
  78%, 100% { width: 86%; }
}

@keyframes smartPrompterCue {
  0%, 100% { transform: translateY(0); background: rgba(255, 255, 255, 0.18); }
  45% { transform: translateY(-5px); background: rgba(255, 255, 255, 0.3); }
}

@keyframes smartRealPrompter {
  0%, 100% { transform: translateY(0); opacity: 0.92; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes smartLabelCycle {
  0%, 28% { content: "Camera opening"; }
  29%, 62% { opacity: 1; }
  63%, 100% { opacity: 0.86; }
}

.speaksmart-page .smart-question-card h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.04;
}

.speaksmart-page .smart-reminders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.speaksmart-page .smart-transcript-head,
.speaksmart-page .smart-feedback-head {
  gap: 18px;
}

.speaksmart-page .smart-transcript-console {
  border-radius: 20px;
}

.speaksmart-page .speaksmart-transcript textarea {
  min-height: 160px;
  font-size: 1rem;
  line-height: 1.55;
}

.speaksmart-page .smart-feedback-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.speaksmart-page .smart-feedback-grid article {
  min-height: 190px;
}

@media (max-width: 980px) {
  .speaksmart-page .speaksmart-hero,
  .speaksmart-page .smart-room-grid {
    grid-template-columns: 1fr;
  }

  .speaksmart-page .speaksmart-features,
  .speaksmart-page .smart-stat-grid,
  .speaksmart-page .smart-score-grid,
  .speaksmart-page .smart-actions-grid,
  .speaksmart-page .smart-feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .speaksmart-page .smart-profile-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1120px) {
  .speaksmart-page .speaksmart-skill-constellation {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-top: 12px;
  }

  .speaksmart-page .speaksmart-skill-constellation span {
    min-height: 52px !important;
    padding: 8px 6px;
    border-radius: 16px;
    font-size: clamp(0.82rem, 2.6vw, 1rem);
    transform: none !important;
  }

  .speaksmart-page .smart-actions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .speaksmart-page .smart-actions-grid button {
    min-height: 72px !important;
  }

  .speaksmart-page .smart-stat-grid,
  .speaksmart-page .smart-score-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .speaksmart-page .smart-stat-grid article,
  .speaksmart-page .smart-score-grid article {
    min-height: 88px !important;
    padding: 14px !important;
  }

  .speaksmart-page .smart-stat-grid span,
  .speaksmart-page .smart-score-grid span {
    font-size: 0.82rem;
    line-height: 1.12;
  }

  .speaksmart-page .smart-stat-grid strong,
  .speaksmart-page .smart-score-grid strong {
    font-size: clamp(1.35rem, 3.8vw, 2rem);
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .speaksmart-page .top-strip {
    flex-direction: column;
    gap: 5px;
    text-align: center;
    padding: 9px 12px;
  }

  .speaksmart-page .speaksmart-hero,
  .speaksmart-page .section {
    width: min(100% - 24px, 1180px);
    margin-top: 18px;
  }

  .speaksmart-page .speaksmart-hero-copy,
  .speaksmart-page .speaksmart-camera-mock,
  .speaksmart-page .smart-profile-card,
  .speaksmart-page .smart-dashboard-head,
  .speaksmart-page .smart-video-card,
  .speaksmart-page .smart-question-panel,
  .speaksmart-page .speaksmart-transcript,
  .speaksmart-page .speaksmart-feedback,
  .speaksmart-page .speaksmart-progress {
    padding: 18px;
    border-radius: 20px;
  }

  .speaksmart-page .speaksmart-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
    line-height: 0.96;
  }

  .speaksmart-page .hero-actions,
  .speaksmart-page .smart-controls,
  .speaksmart-page .smart-feedback-actions {
    flex-direction: column;
  }

  .speaksmart-page .primary-button,
  .speaksmart-page .secondary-button,
  .speaksmart-page .smart-controls button,
  .speaksmart-page .smart-feedback-actions button {
    width: 100%;
  }

  .speaksmart-page .speaksmart-skill-constellation,
  .speaksmart-page .speaksmart-features,
  .speaksmart-page .smart-feedback-grid,
  .speaksmart-page .smart-reminders {
    grid-template-columns: 1fr;
  }

  .speaksmart-page .speaksmart-skill-constellation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin-top: 12px;
  }

  .speaksmart-page .speaksmart-skill-constellation span {
    min-height: 44px;
    padding: 8px 6px;
    border-radius: 14px;
    font-size: clamp(0.78rem, 3.4vw, 0.92rem);
    transform: none;
  }

  .speaksmart-page .speaksmart-features {
    gap: 10px;
  }

  .speaksmart-page .speaksmart-features article {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 6px 12px;
    padding: 14px;
    border-radius: 16px;
  }

  .speaksmart-page .speaksmart-features article span {
    grid-row: span 2;
  }

  .speaksmart-page .speaksmart-features article strong {
    line-height: 1.1;
  }

  .speaksmart-page .speaksmart-features article p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .speaksmart-page .smart-stat-grid,
  .speaksmart-page .smart-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .speaksmart-page .smart-stat-grid article,
  .speaksmart-page .smart-score-grid article {
    min-height: 74px !important;
    padding: 11px !important;
    border-radius: 14px;
  }

  .speaksmart-page .smart-stat-grid span,
  .speaksmart-page .smart-score-grid span {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .speaksmart-page .smart-stat-grid strong,
  .speaksmart-page .smart-score-grid strong {
    margin-top: 6px;
    font-size: clamp(1.22rem, 6vw, 1.7rem);
    line-height: 1;
  }

  .speaksmart-page .smart-actions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
  }

  .speaksmart-page .smart-actions-grid button {
    min-height: 58px !important;
    padding: 9px 8px;
    border-radius: 14px;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.1;
  }

  .speaksmart-page .smart-actions-grid button::before {
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  .speaksmart-page .speaksmart-features article {
    min-height: auto;
  }

  .speaksmart-page .speaksmart-camera-mock {
    min-height: 360px;
  }

  .speaksmart-page .mock-video {
    min-height: 280px;
  }

  .speaksmart-page .mock-ai-feedback {
    top: auto;
    right: 16px;
    left: 16px;
    bottom: 18px;
    width: auto;
    grid-template-columns: 1fr;
  }

  .speaksmart-page .mock-teleprompter {
    left: 14px;
    right: 14px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
  }

  .speaksmart-page .mock-teleprompter strong,
  .speaksmart-page .mock-teleprompter span {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .speaksmart-page .mock-ai-feedback span {
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .speaksmart-page .mock-speech-bubble {
    top: 28px;
    max-width: 178px;
    white-space: normal;
  }

  .speaksmart-page .mock-video-label {
    top: 18px;
    left: 18px;
    right: 18px;
    max-width: none;
    border-radius: 16px;
    text-align: center;
  }

  .speaksmart-page .smart-planet-deck,
  .speaksmart-page .smart-mission-portal {
    display: none;
  }

  .speaksmart-page .smart-video-frame {
    min-height: 260px;
  }

  .speaksmart-page .smart-camera-switches {
    top: 10px;
    left: 10px;
    right: 10px;
    gap: 7px;
  }

  .speaksmart-page .smart-switch {
    min-height: 34px;
    gap: 5px;
    padding: 6px 8px;
  }

  .speaksmart-page .smart-switch span {
    width: 21px;
    height: 21px;
    font-size: 0.72rem;
  }

  .speaksmart-page .smart-switch strong {
    display: none;
  }

  .speaksmart-page .smart-switch em {
    min-width: 30px;
    padding: 4px 7px;
    font-size: 0.68rem;
  }

  .speaksmart-page .smart-quick-result {
    margin-top: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .speaksmart-page .smart-quick-head {
    display: grid;
    gap: 5px;
    margin-bottom: 10px;
  }

  .speaksmart-page .smart-quick-head strong {
    max-width: none;
    text-align: left;
  }

  .speaksmart-page .smart-quick-score-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .speaksmart-page .smart-quick-score-row article {
    min-height: 68px;
    padding: 10px;
    border-radius: 14px;
  }

  .speaksmart-page .smart-quick-result .primary-button {
    min-height: 48px;
    border-radius: 15px;
  }

  .speaksmart-page .smart-teleprompter {
    left: 10px;
    right: auto;
    bottom: 10px;
    width: min(280px, calc(100% - 20px));
  }

  .speaksmart-page .smart-teleprompter div {
    padding: 8px 10px;
    border-radius: 16px;
  }

  .speaksmart-page .smart-transcript-head,
  .speaksmart-page .smart-feedback-head,
  .speaksmart-page .smart-dashboard-head {
    grid-template-columns: 1fr;
  }

  .speaksmart-page .smart-feedback-head > strong {
    justify-self: start;
    width: 112px;
    height: 112px;
    font-size: 2rem;
  }
}

/* Cleaner SpeakSmart hero preview: three clear zones instead of overlapping layers. */
.speaksmart-page .speaksmart-camera-mock .smart-planet-deck {
  display: none;
}

.speaksmart-page .mock-video {
  min-height: 360px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 24px;
}

.speaksmart-page .mock-video-label {
  position: relative;
  inset: auto;
  z-index: 7;
  max-width: 100%;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: clamp(0.9rem, 1.4vw, 1.08rem);
  animation: none;
}

.speaksmart-page .mock-camera-light {
  top: 34px;
  right: 34px;
}

.speaksmart-page .mock-student {
  align-self: center;
  justify-self: center;
  transform: translateY(-2px);
}

.speaksmart-page .mock-face {
  width: 118px;
  height: 118px;
}

.speaksmart-page .mock-shoulders {
  width: 190px;
  height: 70px;
}

.speaksmart-page .mock-speech-bubble {
  top: -8px;
  left: calc(100% - 14px);
  max-width: 172px;
  padding: 9px 12px;
  font-size: 0.78rem;
}

.speaksmart-page .mock-ai-feedback {
  right: 24px;
  top: 90px;
  z-index: 4;
  width: 168px;
  gap: 7px;
}

.speaksmart-page .mock-ai-feedback span {
  padding: 8px 10px;
  font-size: 0.74rem;
  border-radius: 14px;
}

.speaksmart-page .mock-teleprompter {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 7;
  grid-template-columns: 1fr;
  gap: 7px;
  width: min(100%, 520px);
  justify-self: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(13, 34, 69, 0.72);
}

.speaksmart-page .mock-teleprompter strong {
  min-height: auto;
  padding: 6px 10px;
  border-radius: 12px;
  color: #ffe78b;
  background: transparent;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.speaksmart-page .mock-teleprompter span {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

@media (max-width: 760px) {
  .speaksmart-page .mock-video {
    min-height: 330px;
    padding: 16px;
  }

  .speaksmart-page .mock-ai-feedback {
    position: relative;
    top: auto;
    right: auto;
    z-index: 7;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 8px 0;
  }

  .speaksmart-page .mock-ai-feedback span {
    transform: none;
    text-align: center;
    font-size: 0.66rem;
  }

  .speaksmart-page .mock-student {
    transform: translateY(0) scale(0.86);
  }

  .speaksmart-page .mock-speech-bubble {
    display: none;
  }
}
