:root {
  --bg: #f3efe5;
  --panel: rgba(255, 250, 243, 0.8);
  --panel-strong: #fffaf2;
  --ink: #1c2a1d;
  --muted: #5d685d;
  --accent: #d7642a;
  --accent-deep: #1f5f4a;
  --line: rgba(28, 42, 29, 0.12);
  --shadow: 0 22px 60px rgba(45, 35, 22, 0.12);
  --space-section: 26px;
  --space-card: 24px;
  --space-stack: 18px;
  --space-tight: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(215, 100, 42, 0.16), transparent 26%),
    radial-gradient(circle at right center, rgba(31, 95, 74, 0.16), transparent 24%),
    linear-gradient(180deg, #f7f1e8 0%, #eee7db 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

button:hover {
  transform: translateY(-1px);
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.page-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.page-shell > main {
  display: grid;
  gap: var(--space-section);
}

.page-shell > main > .panel,
.page-shell > main > .section-grid {
  margin-top: 0;
  margin-bottom: 0;
}

.hero,
.panel,
.bot-card,
.camera-card,
.step-card,
.timer-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.92), rgba(255, 245, 231, 0.72)),
    var(--panel);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(215, 100, 42, 0.13);
  filter: blur(6px);
}

.topbar,
.hero-content,
.section-grid,
.studio-top,
.lab-grid,
.tracker-and-timer,
.step-columns,
.question-row,
.step-actions,
.overview-meta,
.timer-controls,
.lab-actions,
.bot-controls,
.camera-controls {
  display: flex;
  gap: 16px;
}

.topbar,
.hero-content,
.section-grid,
.studio-top,
.lab-grid,
.tracker-and-timer {
  justify-content: space-between;
}

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

.topbar,
.case-meta,
.timer-controls,
.lab-actions,
.bot-controls,
.camera-controls,
.question-row {
  align-items: center;
}

.topbar {
  margin-bottom: 42px;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-deep);
  color: #fef6ea;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand p,
.brand span,
.source-list,
.step-list {
  margin: 0;
}

.brand p,
h1,
h2,
h3,
.timer-card strong,
.bot-name {
  font-family: "Space Grotesk", sans-serif;
}

.brand p {
  font-size: 1.05rem;
}

.brand span,
.hero-text,
.ghost-link,
.source-list,
.pillar p,
.step-copy,
.step-list,
.response-label,
.feedback-output,
.transcript-log,
.mini-heading span,
.camera-overlay span,
.step-label,
.coach-box p,
.overview-meta span {
  color: var(--muted);
}

.step-data {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.exhibit-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.82);
  max-width: 100%;
  min-width: 0;
}

.exhibit-title,
.exhibit-meta,
.exhibit-copy,
.exhibit-series p {
  margin: 0 0 8px;
}

.exhibit-title {
  font-weight: 800;
  color: var(--ink);
}

.exhibit-meta {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.exhibit-copy {
  color: var(--muted);
}

.exhibit-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.exhibit-table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

.exhibit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.exhibit-table th,
.exhibit-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.diagram-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diagram-node {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(31, 95, 74, 0.1);
  color: var(--accent-deep);
  font-weight: 700;
}

.quadrant-map-shell {
  overflow-x: auto;
  max-width: 100%;
}

.quadrant-map-svg {
  width: min(100%, 760px);
  min-width: 560px;
  display: block;
  margin: 4px auto 0;
}

.quadrant-axis-line {
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: square;
}

.quadrant-segment-ring {
  fill: transparent;
  stroke: #1674c9;
  stroke-width: 1.2;
}

.quadrant-dot {
  fill: #1674c9;
}

.quadrant-axis-title,
.quadrant-axis-end,
.quadrant-axis-percent,
.quadrant-segment-label,
.quadrant-legend {
  fill: var(--ink);
  font-family: "Space Grotesk", sans-serif;
}

.quadrant-axis-title {
  font-size: 15px;
  font-style: italic;
  font-weight: 800;
}

.quadrant-axis-end,
.quadrant-axis-percent,
.quadrant-legend {
  font-size: 16px;
  font-weight: 800;
}

.quadrant-segment-label {
  fill: #6a83bd;
  font-size: 18px;
  font-weight: 800;
}

.quadrant-note {
  margin-top: 8px;
  font-size: 0.9rem;
}

.ghost-link {
  text-decoration: none;
  font-weight: 700;
}

.ghost-link[aria-current="page"] {
  color: var(--accent);
}

.hero-copy {
  width: min(650px, 100%);
}

.hero-content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: var(--space-section);
  align-items: start;
}

.hero-content-split .hero-copy {
  width: 100%;
  max-width: none;
}

.hero-content-split .hero-panel {
  min-width: 0;
  width: 100%;
  align-self: start;
}

.hero-panel {
  min-width: 250px;
  align-self: flex-end;
  padding: 18px;
  border-radius: 22px;
  background: rgba(28, 42, 29, 0.92);
  color: #fff9f0;
}

.panel-stat + .panel-stat {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 240, 0.14);
}

.panel-stat span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 249, 240, 0.74);
}

.panel-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.8rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 1.05;
}

.hero-text {
  margin: var(--space-stack) 0 22px;
  max-width: 54ch;
  font-size: 1.05rem;
}

.audience-switch {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(28, 42, 29, 0.07);
}

.track-pill,
.primary-btn,
.secondary-btn,
.ghost-button {
  padding: 14px 18px;
  border-radius: 16px;
  font-weight: 800;
}

a.primary-btn,
a.secondary-btn,
a.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.track-pill {
  background: transparent;
  color: var(--ink);
  line-height: 1.15;
  text-align: center;
  white-space: normal;
}

.track-pill.active {
  background: var(--ink);
  color: #fff9f0;
}

.primary-btn {
  background: var(--accent);
  color: #fff9f0;
}

.secondary-btn {
  background: var(--accent-deep);
  color: #fff9f0;
}

.ghost-button {
  background: rgba(28, 42, 29, 0.08);
  color: var(--ink);
}

.text-button {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
  align-self: flex-end;
}

.text-button:hover {
  transform: none;
  opacity: 0.8;
}

.hero-card,
.panel {
  padding: var(--space-card);
  background: var(--panel);
}

.hero-card {
  max-width: 520px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
}

.track-focus {
  margin: var(--space-tight) 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.compact-grid > * {
  flex: 1;
}

.logo-ticker-panel {
  overflow: hidden;
}

.logo-ticker-copy {
  max-width: 74ch;
  margin-bottom: 0;
}

.logo-ticker {
  margin-top: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-ticker-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: logo-scroll 38s linear infinite;
}

.logo-ticker-panel:hover .logo-ticker-track {
  animation-play-state: paused;
}

.logo-ticker-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.logo-card {
  flex: 0 0 auto;
  width: 190px;
  height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
}

.logo-card-wide {
  width: 220px;
}

.logo-card img {
  max-width: 156px;
  max-height: 58px;
  object-fit: contain;
}

.logo-card-wide img {
  max-width: 174px;
}

.two-up-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-section);
  align-items: stretch;
}

.two-up-grid > * {
  min-width: 0;
}

.two-up-grid > .panel {
  height: 100%;
}

.panel-accent {
  background:
    linear-gradient(180deg, rgba(31, 95, 74, 0.95), rgba(24, 76, 60, 0.94)),
    var(--panel);
  color: #fff9f0;
}

.panel-accent .eyebrow,
.panel-accent .source-list {
  color: rgba(255, 249, 240, 0.82);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: var(--space-stack);
}

.pillar {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.seo-link-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.seo-link-grid {
  margin-top: var(--space-stack);
}

.seo-card {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  text-decoration: none;
}

.seo-card span {
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.seo-card p,
.content-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-panel {
  display: grid;
  gap: var(--space-card);
}

.content-grid article {
  display: grid;
  gap: 12px;
}

.guide-section {
  display: grid;
  gap: 18px;
}

.guide-section h2,
.guide-section h3 {
  margin: 0;
}

.guide-section p {
  max-width: 980px;
}

.faq-list,
.related-guide-grid {
  display: grid;
  gap: 14px;
}

.faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item,
.related-guide-grid a {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
}

.faq-item {
  display: grid;
  gap: 8px;
}

.faq-item h3 {
  font-size: 1.02rem;
}

.related-guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-guide-grid a {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.source-list {
  padding-left: 18px;
  line-height: 1.9;
}

.lab-shell {
  padding: 30px;
}

.lab-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: var(--space-card);
}

.lab-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lab-actions label,
.timer-select {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.lab-grid {
  align-items: flex-start;
}

.studio-panel {
  flex: 1.05;
  min-width: 0;
}

.workspace-panel {
  flex: 1.2;
  min-width: 0;
}

.bot-card,
.camera-card,
.transcript-panel,
.qa-panel,
.feedback-panel,
.step-card,
.timer-card {
  background: var(--panel-strong);
}

.bot-card,
.camera-card {
  flex: 1;
  padding: 18px;
}

.bot-video {
  position: relative;
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(72, 198, 160, 0.25), transparent 35%),
    linear-gradient(180deg, #17362f 0%, #10221d 100%);
}

.bot-orb,
.bot-ring {
  position: absolute;
  border-radius: 50%;
}

.bot-orb {
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at 30% 30%, #fff4c6, #ff8d42 55%, #d85f27 100%);
  box-shadow: 0 0 70px rgba(255, 141, 66, 0.45);
}

.bot-ring {
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 248, 234, 0.25);
  animation: pulse 3s infinite ease-in-out;
}

.bot-orb.speaking {
  animation: pulse 1.2s infinite ease-in-out;
}

.bot-name,
#bot-status {
  position: relative;
  z-index: 1;
  color: #fff9f0;
}

.bot-name {
  margin-top: 156px;
  font-size: 1.15rem;
}

#bot-status {
  display: block;
  margin-top: 6px;
  color: rgba(255, 249, 240, 0.78);
}

.bot-controls,
.camera-controls {
  margin-top: var(--space-tight);
  flex-wrap: wrap;
}

.camera-card {
  position: relative;
}

#user-video {
  width: 100%;
  min-height: 300px;
  border-radius: 24px;
  background: linear-gradient(180deg, #d9ded9, #bac3bb);
  object-fit: cover;
}

.camera-overlay {
  position: absolute;
  inset: 34px 34px auto auto;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(28, 42, 29, 0.7);
  color: #fff9f0;
}

.camera-overlay strong {
  display: block;
  margin-top: 2px;
}

.download-link {
  display: inline-flex;
  margin-top: var(--space-tight);
  color: var(--accent-deep);
  font-weight: 800;
  text-decoration: none;
}

.camera-voice {
  margin-top: var(--space-stack);
  padding-top: var(--space-stack);
  border-top: 1px solid var(--line);
}

.hidden {
  display: none;
}

.transcript-panel,
.qa-panel,
.feedback-panel {
  margin-top: var(--space-stack);
}

.transcript-toggle-row {
  display: flex;
  justify-content: flex-start;
  margin-top: var(--space-stack);
}

.paywall-panel {
  background: linear-gradient(180deg, rgba(255, 246, 232, 0.92), rgba(255, 252, 246, 0.9));
}

.upload-grid,
.upload-actions {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.upload-grid {
  margin-bottom: var(--space-tight);
}

.login-grid {
  align-items: flex-start;
}

.upload-grid > label {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.upload-grid > label input {
  margin-bottom: 0;
}

.contact-form {
  margin-top: var(--space-stack);
}

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

.contact-grid > label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.contact-message {
  grid-column: 1 / -1;
}

.hidden {
  display: none;
}

#toggle-password-visibility {
  min-height: 22px;
}

.upload-text-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.upload-actions {
  margin-top: var(--space-tight);
  flex-wrap: wrap;
}

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

.paywall-card {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.paywall-card-accent {
  background: rgba(31, 95, 74, 0.1);
}

.paywall-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
}

.paywall-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
}

.paywall-copy,
.access-gate-message {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.access-gate-message {
  margin-top: 14px;
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 26, 21, 0.48);
  z-index: 20;
}

.modal-shell.hidden {
  display: none;
}

.modal-card {
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.mini-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 16px;
}

.step-gate-control {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  max-width: min(100%, 720px);
}

.step-gate-control .ghost-button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.feedback-heading {
  align-items: flex-start;
}

.feedback-score-stack {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  text-align: right;
}

.feedback-readiness-score {
  color: var(--ink);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.mini-heading .beta-tag,
.pillar .beta-tag {
  display: inline-flex;
  align-items: center;
  margin-left: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(215, 100, 42, 0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.transcript-log {
  margin-top: var(--space-tight);
  max-height: 320px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.transcript-bubble {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(28, 42, 29, 0.06);
}

.transcript-bubble.bot {
  border-left: 4px solid var(--accent);
}

.transcript-bubble.user {
  border-left: 4px solid var(--accent-deep);
}

.transcript-role {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  font-weight: 800;
}

.question-row {
  align-items: stretch;
}

.voice-actions,
.hint-header {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.voice-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.voice-status {
  margin: var(--space-tight) 0 10px;
  color: var(--muted);
}

.voice-transcript,
.hint-box {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  line-height: 1.7;
}

.hint-box {
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
}

.case-overview,
.step-panel {
  border-radius: 24px;
  padding: var(--space-card);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.overview-meta {
  margin-top: var(--space-tight);
  flex-wrap: wrap;
}

.overview-meta div {
  min-width: 140px;
}

.overview-meta strong {
  display: block;
  margin-top: 4px;
}

.tracker-and-timer {
  margin-top: var(--space-stack);
  align-items: flex-start;
}

.case-utility-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: var(--space-stack);
}

.voice-select-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(28, 42, 29, 0.06);
  color: var(--muted);
  font-weight: 800;
}

.voice-select-control span {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.voice-select-control select {
  max-width: 240px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
  outline: 0;
}

.step-tracker {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.step-pill {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.step-pill.active {
  background: rgba(215, 100, 42, 0.14);
  border-color: rgba(215, 100, 42, 0.3);
}

.step-pill.done {
  background: rgba(31, 95, 74, 0.14);
  border-color: rgba(31, 95, 74, 0.3);
}

.step-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.timer-card {
  min-width: 250px;
  padding: 20px;
}

.timer-card span {
  color: var(--muted);
}

.timer-card strong {
  display: block;
  margin: 10px 0 14px;
  font-size: 3rem;
}

.timer-laps {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 42, 33, 0.12);
  display: grid;
  gap: 8px;
}

.timer-laps-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.timer-lap-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
}

.timer-lap-row strong {
  margin: 0;
  font-size: 0.95rem;
}

.step-panel {
  margin-top: var(--space-stack);
}

.step-card {
  padding: 22px;
  margin: var(--space-tight) 0 var(--space-stack);
}

.step-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  font-weight: 800;
}

.step-copy {
  margin: 0;
  line-height: 1.7;
}

.step-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-stack);
  margin-top: var(--space-stack);
  align-items: flex-start;
}

.step-columns > div {
  min-width: 0;
}

.hint-section {
  margin-top: var(--space-stack);
}

.step-list {
  padding-left: 18px;
  line-height: 1.75;
}

.help-block + .help-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.help-block-title {
  margin: 0 0 8px;
  font-weight: 800;
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.faq-item {
  display: grid;
  gap: 4px;
}

.faq-item dt {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.faq-item dd {
  margin: 0;
  color: var(--ink);
}

.chart-shell {
  margin: 18px 0 22px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 42, 33, 0.08);
}

.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}

.chart-grid-line {
  stroke: rgba(31, 42, 33, 0.12);
  stroke-width: 1;
}

.chart-axis-line {
  stroke: rgba(31, 42, 33, 0.35);
  stroke-width: 2;
}

.chart-axis-label,
.chart-point-label {
  fill: var(--muted);
  font-size: 12px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
}

.chart-axis-label--x {
  font-size: 11px;
  letter-spacing: 0.01em;
  dominant-baseline: middle;
}

.chart-axis-label--horizontal {
  font-size: 11px;
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.chart-legend-swatch {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(31, 42, 33, 0.16);
  flex: 0 0 auto;
}

.quadrant-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.88rem;
}

.quadrant-map-legend-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.quadrant-map-legend-item strong {
  color: var(--accent);
}

.chart-line {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-point {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 3;
}

.chart-bar {
  opacity: 0.92;
}

.coach-box {
  margin-top: var(--space-stack);
  padding: 16px;
  border-radius: 18px;
  background: rgba(31, 95, 74, 0.08);
}

.coach-box p:last-child {
  margin-bottom: 0;
}

.answer-exhibit {
  margin-top: 14px;
}

.answer-exhibit .exhibit-card {
  background: rgba(255, 250, 243, 0.68);
}

.framework-card {
  padding: 0;
  overflow: hidden;
}

.framework-card .exhibit-title {
  padding: 16px 18px 0;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
  padding: 16px 18px 18px;
}

.framework-column {
  min-width: 0;
}

.framework-column h4 {
  margin: 0 0 12px;
  padding: 10px 14px;
  border: 1px solid rgba(31, 95, 74, 0.16);
  border-radius: 14px;
  background: rgba(31, 95, 74, 0.1);
  color: var(--accent-deep);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  text-align: center;
}

.framework-section {
  margin: 0 0 14px;
}

.framework-section p {
  margin: 0 0 6px;
  color: var(--ink);
  font-weight: 800;
}

.framework-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
}

.framework-section li + li {
  margin-top: 4px;
}

.response-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.step-actions {
  margin-top: var(--space-tight);
  flex-wrap: wrap;
}

.feedback-output {
  line-height: 1.8;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-ticker-track {
    width: auto;
    flex-wrap: wrap;
    animation: none;
  }

  .logo-ticker-set {
    flex-wrap: wrap;
  }

  .logo-ticker-set[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 1100px) {
  .hero-content,
  .section-grid,
  .lab-grid,
  .studio-top,
  .tracker-and-timer,
  .lab-heading {
    flex-direction: column;
  }

  .step-columns {
    grid-template-columns: 1fr;
  }

  .hero-content-split,
  .two-up-grid {
    grid-template-columns: 1fr;
  }

  .paywall-grid {
    grid-template-columns: 1fr;
  }

  .upload-grid,
  .upload-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .case-utility-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .voice-select-control {
    justify-content: space-between;
  }

  .voice-select-control select {
    max-width: 100%;
  }

  .timer-card {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100% - 18px, 100%);
    padding-top: 10px;
  }

  .hero,
  .panel,
  .lab-shell,
  .case-overview,
  .step-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .page-shell > main {
    gap: 18px;
  }

  .feedback-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .feedback-score-stack {
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
  }

  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .seo-link-grid,
  .content-grid,
  .faq-list,
  .related-guide-grid {
    grid-template-columns: 1fr;
  }

  .topbar,
  .question-row {
    flex-direction: column;
    align-items: stretch;
  }

  .top-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .logo-ticker {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .logo-card {
    width: 170px;
  }

  .camera-overlay {
    inset: 28px 28px auto auto;
  }
}
