/* Staffi concept system for the original, complete presentation routes.
   Screen state selectors and accordion visibility belong to the original pages. */
html:has(body.staffi-redesign) {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: auto;
}
body.staffi-redesign {
  --purple: #5413b7;
  --lilac: #8c43f5;
  --cyan: #1cbced;
  --red: var(--purple);
  --red-soft: var(--lilac);
  --blue: var(--purple);
  --blue-2: var(--lilac);
  --blue-soft: #f2eafb;
  --ink: #28133c;
  --muted: #75677f;
  --quiet: #8e77a3;
  --line: #e8dff2;
  --glass: #fff;
  --radius: 28px;
  --surface: #fff;
  --surface-tint: #f5effc;
  --shadow: 0 20px 60px #48127f0b;
  --stage-w: min(calc(100vw - 64px), 1240px);
  --stage-h: 720px;
  --concept-phone-width: 264px;
  width: 100%;
  height: auto;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  color: var(--ink);
  background: #fbf8ff;
  font-family: Gilroy, "Trebuchet MS", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.staffi-redesign::before { display: none; }
body.staffi-redesign .shell {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 20px;
  width: var(--stage-w);
  height: auto;
  min-height: calc(100vh - 52px);
  margin: 0 auto;
  padding: 24px 0 30px;
}
body.staffi-redesign :is(.topbar, .controls, .stage-wrap, .page-footer) {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  margin: 0;
}
body.staffi-redesign .topbar { min-height: 58px; padding: 0 8px; gap: 24px; }
body.staffi-redesign .brand { gap: 16px; }
body.staffi-redesign :is(.staffi-logo, .brand-logo) {
  width: 134px;
  height: 45px;
  flex: 0 0 auto;
  object-fit: contain;
}
body.staffi-redesign .brand-title { display: none; }
body.staffi-redesign .brand-subtitle {
  max-width: 400px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
body.staffi-redesign :is(.back-link, .nav-button) {
  min-width: 98px;
  min-height: 46px;
  height: auto;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: none;
  background: var(--surface);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.staffi-redesign .nav-button.primary { color: #fff; background: var(--purple); border-color: var(--purple); box-shadow: none; }
body.staffi-redesign :is(.nav-button, .back-link):hover { transform: none; background: var(--surface-tint); }
body.staffi-redesign .nav-button.primary:hover { color: #fff; background: #6821d1; }
body.staffi-redesign .progress-wrap { color: var(--muted); font-size: 11px; }
body.staffi-redesign .progress { background: var(--line); border-radius: 99px; }
body.staffi-redesign .progress-bar { background: var(--purple); }
body.staffi-redesign .presentation-progress {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  width: min(390px, 38vw);
  flex: 0 1 390px;
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
body.staffi-redesign .presentation-progress .progress {
  height: 7px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--line);
}
body.staffi-redesign .presentation-progress .progress-bar {
  height: 100%;
  border-radius: inherit;
  background: var(--cyan);
  transition: width 240ms ease;
}
@media (max-width: 700px) {
  body.staffi-redesign .topbar:has(.presentation-progress) { gap: 12px; }
  body.staffi-redesign .presentation-progress {
    width: 80px;
    flex: 0 0 80px;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    font-size: 9px;
  }
  body.staffi-redesign .presentation-progress .progress { height: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  body.staffi-redesign .presentation-progress .progress-bar { transition: none; }
}
body.staffi-redesign .stage-wrap { overflow: visible; }
body.staffi-redesign .stage {
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: default;
}
body.staffi-redesign .stage::before,
body.staffi-redesign .stage::after { display: none; }
body.staffi-redesign .slide {
  position: relative;
  inset: auto;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 30px;
  min-height: 0;
  padding: 38px 42px 24px;
}
body.staffi-redesign .slide-top { align-items: center; gap: 24px; }
body.staffi-redesign .eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  gap: 12px;
}
body.staffi-redesign .eyebrow::before { width: 26px; height: 3px; border-radius: 99px; background: var(--cyan); }
body.staffi-redesign :is(h1, .features-title, .service-title) {
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(36px, 4.25vw, 61px) !important;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.045em;
  text-wrap: balance;
}
body.staffi-redesign .accent { color: var(--lilac); }
body.staffi-redesign .cover-copy h1 { font-size: clamp(64px, 6.7vw, 96px) !important; letter-spacing: -.065em; color: var(--purple); }
body.staffi-redesign :is(.cover-lead, .lead, .service-lead) {
  margin: 0;
  max-width: 690px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.02em;
}
body.staffi-redesign :is(.sublead, .story-prompt, .page-lead) { color: var(--muted); font-size: 16px; font-weight: 500; line-height: 1.6; }
body.staffi-redesign :is(.features-head, .service-head) { display: grid; gap: 16px; }
body.staffi-redesign .feature-layout { grid-template-columns: minmax(0, 1fr) 316px; align-items: start; gap: 30px; padding: 0; min-width: 0; }
body.staffi-redesign .feature-grid { gap: 10px; min-width: 0; }
body.staffi-redesign .feature-item,
body.staffi-redesign .feature-item.is-active {
  flex: 0 0 auto;
  min-height: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 17px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  transform: none;
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: hidden;
}
body.staffi-redesign .feature-item:not(.is-active) { opacity: 1; }
body.staffi-redesign .feature-item:hover { border-color: #b998e2; transform: none; box-shadow: none; }
body.staffi-redesign .feature-item.is-active { background: var(--surface-tint); border-color: #d8c3f1; }
body.staffi-redesign .feature-item.is-active::before { display: none; }
body.staffi-redesign .feature-num { width: 30px; height: 29px; border-radius: 9px; background: #eee1ff; color: var(--purple); box-shadow: none; font-size: 11px; font-weight: 700; }
body.staffi-redesign .feature-item.is-active .feature-num { color: #fff; background: var(--purple); }
body.staffi-redesign .feature-copy > strong { color: var(--ink); font-size: 17px !important; font-weight: 700; line-height: 1.25 !important; }
body.staffi-redesign .feature-item.is-active .feature-copy > strong { font-size: 22px !important; }
body.staffi-redesign .feature-copy > span:not(.feature-price) { margin-top: 6px; color: var(--muted); font-size: 12px !important; line-height: 1.5 !important; font-weight: 500; }
body.staffi-redesign .feature-item:not(.is-active) .feature-copy > span:not(.feature-price) { display: block !important; }
body.staffi-redesign .feature-copy > strong,
body.staffi-redesign .feature-copy > span:not(.feature-price) { padding-right: 0; }
body.staffi-redesign .feature-item.is-active .feature-price { position: static; justify-items: start; text-align: left; margin: 12px 0 0; min-width: 0; transform: none; }
body.staffi-redesign .feature-price strong { color: var(--purple); font-size: 16px; }
body.staffi-redesign .feature-price span { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
body.staffi-redesign .feature-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
body.staffi-redesign .feature-item.is-active .feature-details { margin-top: 16px; }
body.staffi-redesign .feature-detail-card { min-height: 0; padding: 12px; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; border-radius: 12px; background: #fff; border: 1px solid #e7dcf3; color: #675871; font-size: 11px; font-weight: 500; line-height: 1.45; box-shadow: none; }
body.staffi-redesign .feature-detail-card b { display: block; margin-bottom: 6px; color: var(--purple); font-size: 13px; font-weight: 700; line-height: 1.25; }
body.staffi-redesign .detail-icon { width: 26px; height: 26px; color: var(--purple); background: #f3eafb; border: 0; box-shadow: none; }
body.staffi-redesign .detail-icon svg { width: 16px; height: 16px; }
body.staffi-redesign .game-mechanics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.staffi-redesign .mechanic-card { color: #675871; font-size: 10px; font-weight: 500; line-height: 1.35; padding: 8px; background: #fff; border-color: var(--line); border-radius: 10px; box-shadow: none; }
body.staffi-redesign .mechanic-icon { color: var(--purple); border-color: var(--line); }
body.staffi-redesign .phone-panel {
  position: sticky;
  top: 78px;
  display: grid;
  justify-items: center;
  align-content: start;
  align-self: start;
  min-height: 0;
  padding: 24px 18px;
  border-radius: 28px 28px 74px 28px;
  background: #efe3ff;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
body.staffi-redesign .slide .phone-frame {
  width: var(--concept-phone-width);
  height: calc(var(--concept-phone-width) * 20 / 9) !important;
  min-height: 0;
  max-height: none !important;
  aspect-ratio: 9 / 20;
  border: 8px solid #17121d;
  border-radius: 32px;
  background: #17121d;
  transform: none;
  box-shadow: 0 20px 35px #31135b22;
}
body.staffi-redesign .phone-frame img { object-fit: contain; }
/* Screenshots already include the phone status bar; keep it unobstructed. */
body.staffi-redesign :is(.phone-frame, .app-slider)::before { content: none; display: none; }
body.staffi-redesign .phone-arrow { box-shadow: none; }
/* The original compact mobile phone hid notification details. Full size phones
   have room for those details; screen visibility still follows the page state. */
body.staffi-redesign .phone-frame :is(.notification-text, .ticket-notification-text) { display: block; }
body.staffi-redesign .phone-frame .notification-text { font-size: 10px; line-height: 1.25; white-space: normal; padding-right: 0; }
/* Keep notification titles and messages full width without a timestamp. */
body.staffi-redesign .phone-frame :is(.notification-card, .ticket-notification-card) {
  grid-template-columns: minmax(0, 1fr);
  row-gap: 3px;
  align-items: start;
}
body.staffi-redesign .phone-frame :is(.notification-copy, .ticket-notification-copy) { display: contents; }
body.staffi-redesign .phone-frame :is(.notification-title, .ticket-notification-title) {
  grid-column: 1;
  grid-row: 1;
  padding-right: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
body.staffi-redesign .phone-frame :is(.notification-text, .ticket-notification-text) {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0;
  padding-right: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
body.staffi-redesign .phone-frame :is(.notification-meta, .ticket-notification-meta),
body.staffi-redesign .phone-frame .notification-card > div:not(.notification-copy) {
  display: none;
}
body.staffi-redesign .controls { position: relative; bottom: auto; min-height: 48px; padding: 0 8px; }
body.staffi-redesign .control-group { gap: 8px; }
body.staffi-redesign .tiny-meta { color: var(--muted); font-size: 10px; line-height: 1.4; font-weight: 500; }
body.staffi-redesign .slide > .tiny-meta { margin: 0; padding-top: 6px; }
body.staffi-redesign :is(.poster, .cover-poster) { grid-template-columns: minmax(0, .8fr) minmax(0, 1.15fr); align-items: center; gap: 42px; }
body.staffi-redesign .cover-copy { gap: 22px; padding: 0; }
body.staffi-redesign .copy { padding: 0; }
body.staffi-redesign .visual { min-width: 0; width: 100%; min-height: 0; }
body.staffi-redesign .cover-poster .visual { padding: 28px 24px; border-radius: 28px 28px 82px 28px; background: #f1e7fc; }
body.staffi-redesign .app-slider-wrap {
  --hero-stack-h: 470px;
  --hero-phone-w: calc(var(--hero-stack-h) * 9 / 20);
  --hero-list-w: 246px;
  --hero-group-gap: 20px;
  --hero-title-gap: 12px;
  --hero-module-gap: 5px;
  --hero-module-h: calc((var(--hero-stack-h) - (9 * var(--hero-module-gap))) / 10);
  --hero-icon-size: 26px;
  min-height: 0;
  height: auto;
}
body.staffi-redesign .app-slider-glow { display: none; }
body.staffi-redesign .app-includes-title { color: var(--purple); font-size: 12px; font-weight: 700; }
body.staffi-redesign .app-module { color: #705785; background: #ffffffb3; border: 1px solid #e7d9f6; border-radius: 10px; font-size: 11px; font-weight: 600; box-shadow: none; backdrop-filter: none; }
body.staffi-redesign .app-module:not(.is-active) { opacity: 1; }
body.staffi-redesign .app-module.is-active { color: var(--purple); background: #fff; border-color: #b59bd9; box-shadow: none; }
body.staffi-redesign .app-module.is-active::before { display: none; }
body.staffi-redesign .app-module-icon,
body.staffi-redesign .app-module-stack .app-module:nth-child(3n + 2) .app-module-icon,
body.staffi-redesign .app-module.is-active .app-module-icon { color: var(--purple); background: #f0e4fd; border: 0; box-shadow: none; }
body.staffi-redesign .app-slider { box-shadow: 0 20px 35px #31135b22; }
body.staffi-redesign .topics-body { gap: 28px; }
body.staffi-redesign .topics-title { color: var(--ink); font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.04em; font-weight: 800; }
body.staffi-redesign :is(.topic-grid, .topics-grid, .topics-grid.has-five-topics) { width: 100%; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
body.staffi-redesign .topic-card,
body.staffi-redesign .topics-grid .topic-card,
body.staffi-redesign .topics-grid.has-five-topics .topic-card { min-height: 138px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-tint); box-shadow: none; animation: none; }
body.staffi-redesign .topic-card::before,
body.staffi-redesign .topic-card::after { display: none; }
body.staffi-redesign .topic-card:hover { border-color: #ad87dc; box-shadow: none; transform: translateY(-2px); }
body.staffi-redesign .topic-card strong,
body.staffi-redesign .topics-grid .topic-card strong,
body.staffi-redesign .topics-grid.has-five-topics .topic-card strong { color: var(--purple); font-size: clamp(23px, 2.3vw, 32px); font-weight: 700; line-height: 1.13; letter-spacing: -.035em; }
body.staffi-redesign .topic-card span,
body.staffi-redesign .topics-grid .topic-card span { color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.5; margin-top: 10px; }
body.staffi-redesign .topic-card strong.topic-training-metric { display: block; }
body.staffi-redesign .topic-card .topic-copy strong.topic-training-metric > span {
  margin: 0;
  color: var(--purple);
  font: inherit;
  letter-spacing: inherit;
}
body.staffi-redesign .topic-card .topic-training-name { display: block; }
body.staffi-redesign .topic-card .topic-duration-line {
  display: block;
  white-space: nowrap;
}
body.staffi-redesign .topic-card .topic-duration-line > s { display: inline; margin: 0; white-space: nowrap; }
@media (max-width: 360px) {
  body.staffi-redesign .topic-card .topic-copy strong.topic-training-metric > .topic-duration-line { font-size: .82em; }
}
body.staffi-redesign .topic-icon { width: 54px; height: 54px; border-radius: 16px; color: var(--purple); background: #fff; border: 0; box-shadow: none; animation: none; }
body.staffi-redesign .topic-icon svg { width: 29px; height: 29px; }
body.staffi-redesign .shell > .stage { padding: 38px 42px; }
body.staffi-redesign .page-heading { margin-bottom: 30px; }
body.staffi-redesign .page-heading .eyebrow { margin-bottom: 20px; }
body.staffi-redesign .format-options { gap: 20px; }
body.staffi-redesign .format-card,
body.staffi-redesign .format-card--ready { --card-accent: var(--purple); --card-tint: #f0e6fd; --card-border: #d8c3f1; padding: 24px 26px 0; border: 1px solid var(--line); border-radius: 22px; background: var(--surface-tint); }
body.staffi-redesign .format-tag { padding: 8px 12px; color: var(--purple); background: #fff; border-radius: 99px; font-size: 11px; }
body.staffi-redesign .card-title { color: var(--purple); font-size: 28px; line-height: 1.15; letter-spacing: -.035em; }
body.staffi-redesign .card-description { color: var(--muted); font-size: 13px; line-height: 1.6; }
body.staffi-redesign .format-flow { font-size: 11px; font-weight: 600; }
body.staffi-redesign .card-action { min-height: 60px; color: var(--purple); font-size: 12px; }
body.staffi-redesign .card-illustration img { height: 130px; }
body.staffi-redesign .selection-status { color: var(--muted); font-size: 12px; }
body.staffi-redesign :is(.program-panel, .blue-stack, .module, .quote-card) { background: var(--surface-tint); color: var(--ink); border-color: var(--line); border-radius: 16px; box-shadow: none; }
body.staffi-redesign :is(.program-panel h2, .big-number, .metric, .slide-number) { color: var(--purple); }
body.staffi-redesign :is(a, button):focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }

/* 02 / Energy: a purple stage, crisp white feature panels and cyan controls. */
body.staffi-redesign[data-staffi-concept="02"] {
  --ink: #fff;
  --muted: #decbef;
  --quiet: #d8b4fa;
  --line: #ffffff29;
  --surface: #5413b7;
  --surface-tint: #f2e9fc;
  --radius: 12px;
  --glass: #ffffff15;
  background: #32106c;
}
body.staffi-redesign[data-staffi-concept="02"] .stage { background: linear-gradient(130deg, #5413b7 12%, #7427d6 100%); border-color: #ffffff24; box-shadow: none; }
body.staffi-redesign[data-staffi-concept="02"] :is(.brand-subtitle, .progress-wrap, .tiny-meta, .topbar-caption, .page-footer) { color: #d6c1ee; }
body.staffi-redesign[data-staffi-concept="02"] :is(.back-link, .nav-button) { color: #fff; background: #ffffff12; border-color: #ffffff2c; border-radius: 8px; }
body.staffi-redesign[data-staffi-concept="02"] .nav-button.primary { color: #251039; background: var(--cyan); border-color: var(--cyan); }
body.staffi-redesign[data-staffi-concept="02"] :is(.back-link, .nav-button):hover { background: #ffffff25; }
body.staffi-redesign[data-staffi-concept="02"] .nav-button.primary:hover { background: #50cef4; }
body.staffi-redesign[data-staffi-concept="02"] .progress-bar { background: var(--cyan); }
body.staffi-redesign[data-staffi-concept="02"] .accent { color: #31cbf2; }
body.staffi-redesign[data-staffi-concept="02"] .cover-copy h1 { color: #fff; font-size: clamp(72px, 7.3vw, 108px) !important; }
body.staffi-redesign[data-staffi-concept="02"] .cover-copy h1 .accent { color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .feature-item { border: 1px solid #ffffff30; border-radius: 12px; background: #ffffff10; }
body.staffi-redesign[data-staffi-concept="02"] .feature-copy > strong { color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .feature-copy > span:not(.feature-price) { color: #e5d2f7; }
body.staffi-redesign[data-staffi-concept="02"] .feature-num { background: #ffffff1a; color: #b5eaff; }
body.staffi-redesign[data-staffi-concept="02"] .feature-item.is-active { color: #28133c; background: #fff; border-color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .feature-item.is-active .feature-copy > strong { color: #5413b7; }
body.staffi-redesign[data-staffi-concept="02"] .feature-item.is-active .feature-copy > span:not(.feature-price),
body.staffi-redesign[data-staffi-concept="02"] .feature-price span { color: #796488; }
body.staffi-redesign[data-staffi-concept="02"] .feature-item.is-active .feature-num { color: #261637; background: #a4e9fc; }
body.staffi-redesign[data-staffi-concept="02"] .feature-detail-card { background: #f5effb; border-color: #eaddf7; }
body.staffi-redesign[data-staffi-concept="02"] :is(.phone-panel, .cover-poster .visual) { border-radius: 16px 16px 58px 16px; background: #ffffff15; }
body.staffi-redesign[data-staffi-concept="02"] .app-includes-title { color: #e6d4fb; }
body.staffi-redesign[data-staffi-concept="02"] .app-module { color: #fff; background: #ffffff10; border-color: #ffffff1d; }
body.staffi-redesign[data-staffi-concept="02"] .app-module.is-active { background: #fff; color: var(--purple); border-color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .app-module-icon { background: #ffffffcc; }
body.staffi-redesign[data-staffi-concept="02"] .topic-card,
body.staffi-redesign[data-staffi-concept="02"] .topics-grid .topic-card,
body.staffi-redesign[data-staffi-concept="02"] .topics-grid.has-five-topics .topic-card { background: #ffffff12; border-color: #ffffff2b; border-radius: 12px; }
body.staffi-redesign[data-staffi-concept="02"] .topic-card strong,
body.staffi-redesign[data-staffi-concept="02"] .topics-grid .topic-card strong,
body.staffi-redesign[data-staffi-concept="02"] .topics-grid.has-five-topics .topic-card strong { color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .topic-card span,
body.staffi-redesign[data-staffi-concept="02"] .topics-grid .topic-card span { color: #e6d2f7; }
body.staffi-redesign[data-staffi-concept="02"] .topic-card strong.topic-metric s { color: #dacbed; text-decoration-color: #a4e9fc; }
body.staffi-redesign[data-staffi-concept="02"] .topic-icon { background: #ffffff14; color: #2ed0fa; border-radius: 12px; }
body.staffi-redesign[data-staffi-concept="02"] .format-card { background: #ffffff10; border-color: #ffffff29; border-radius: 12px; }
body.staffi-redesign[data-staffi-concept="02"] .format-tag { color: #20102f; background: #a4e9fc; border-radius: 5px; }
body.staffi-redesign[data-staffi-concept="02"] .card-title { color: #fff; }
body.staffi-redesign[data-staffi-concept="02"] .card-description { color: #e5d3f8; }
body.staffi-redesign[data-staffi-concept="02"] :is(.format-flow, .card-action) { color: #9de9ff; }

/* 03 / Focus: an editorial rhythm, open white space and one purple rule. */
body.staffi-redesign[data-staffi-concept="03"] { --radius: 0px; --shadow: none; --surface-tint: #faf8fd; background: #fff; --muted: #756880; }
body.staffi-redesign[data-staffi-concept="03"] .topbar { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
body.staffi-redesign[data-staffi-concept="03"] .stage { border: 0; border-radius: 0; box-shadow: none; }
body.staffi-redesign[data-staffi-concept="03"] .slide { padding: 26px 8px 24px; gap: 35px; }
body.staffi-redesign[data-staffi-concept="03"] .eyebrow::before { border-radius: 0; width: 42px; background: var(--purple); }
body.staffi-redesign[data-staffi-concept="03"] :is(.back-link, .nav-button) { border-radius: 0; }
body.staffi-redesign[data-staffi-concept="03"] :is(h1, .features-title, .service-title) { color: var(--purple); font-size: clamp(40px, 4.75vw, 68px) !important; }
body.staffi-redesign[data-staffi-concept="03"] .cover-copy h1 { font-size: clamp(74px, 8vw, 110px) !important; }
body.staffi-redesign[data-staffi-concept="03"] .feature-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 330px; }
body.staffi-redesign[data-staffi-concept="03"] .feature-grid { gap: 0; border-top: 1px solid var(--purple); }
body.staffi-redesign[data-staffi-concept="03"] .feature-item,
body.staffi-redesign[data-staffi-concept="03"] .feature-item.is-active { padding: 22px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body.staffi-redesign[data-staffi-concept="03"] .feature-num,
body.staffi-redesign[data-staffi-concept="03"] .feature-item.is-active .feature-num { background: transparent; color: var(--lilac); border-radius: 0; justify-content: start; }
body.staffi-redesign[data-staffi-concept="03"] .feature-item.is-active .feature-copy > strong { color: var(--purple); }
body.staffi-redesign[data-staffi-concept="03"] .feature-detail-card { border: 0; border-left: 1px solid #dbc9ee; border-radius: 0; padding: 4px 12px; background: transparent; }
body.staffi-redesign[data-staffi-concept="03"] .detail-icon { background: transparent; border-radius: 0; }
body.staffi-redesign[data-staffi-concept="03"] .mechanic-card { border-radius: 0; background: #faf8fd; box-shadow: none; }
body.staffi-redesign[data-staffi-concept="03"] :is(.phone-panel, .cover-poster .visual) { background: #f4effb; border-radius: 0; padding: 28px; }
body.staffi-redesign[data-staffi-concept="03"] .app-module { border-radius: 0; border: 0; border-bottom: 1px solid #dccaeF; background: transparent; box-shadow: none; }
body.staffi-redesign[data-staffi-concept="03"] .app-module.is-active { border-color: var(--purple); background: #fff; }
body.staffi-redesign[data-staffi-concept="03"] .app-module-icon { background: transparent; }
body.staffi-redesign[data-staffi-concept="03"] .topic-card,
body.staffi-redesign[data-staffi-concept="03"] .topics-grid .topic-card,
body.staffi-redesign[data-staffi-concept="03"] .topics-grid.has-five-topics .topic-card { padding: 28px 0; background: #fff; border: 0; border-top: 1px solid var(--purple); border-radius: 0; }
body.staffi-redesign[data-staffi-concept="03"] :is(.topic-grid, .topics-grid, .topics-grid.has-five-topics) { gap: 0 40px; }
body.staffi-redesign[data-staffi-concept="03"] .topic-icon { color: var(--purple); background: transparent; border-radius: 0; }
body.staffi-redesign[data-staffi-concept="03"] .shell > .stage { padding: 26px 8px; }
body.staffi-redesign[data-staffi-concept="03"] .format-card { border: 0; border-top: 1px solid var(--purple); background: #faf8fd; border-radius: 0; }
body.staffi-redesign[data-staffi-concept="03"] .format-tag { padding-left: 0; background: transparent; border-radius: 0; }

@media (max-width: 1120px) {
  body.staffi-redesign { --stage-w: calc(100vw - 40px); --concept-phone-width: 235px; }
  body.staffi-redesign .slide { padding: 30px; }
  body.staffi-redesign .feature-layout { grid-template-columns: minmax(0, 1fr) 275px; gap: 22px; }
  body.staffi-redesign[data-staffi-concept="03"] .feature-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; }
  body.staffi-redesign :is(.poster, .cover-poster) { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 25px; }
  body.staffi-redesign .app-slider-wrap { --hero-stack-h: 410px; --hero-list-w: 205px; --hero-group-gap: 12px; }
  body.staffi-redesign .cover-poster .visual { padding: 24px 16px; }
  body.staffi-redesign .cover-lead { font-size: 19px; }
  body.staffi-redesign .feature-item { padding: 15px; }
  body.staffi-redesign .feature-item.is-active { padding: 17px 15px; }
}
@media (max-width: 860px) {
  body.staffi-redesign .brand-subtitle { max-width: 240px; font-size: 10px; }
  body.staffi-redesign :is(.poster, .cover-poster) { grid-template-columns: 1fr; gap: 28px; }
  body.staffi-redesign .cover-poster .visual { padding: 28px; }
  body.staffi-redesign .app-slider-wrap { --hero-stack-h: 480px; --hero-list-w: 270px; --hero-group-gap: 25px; }
  body.staffi-redesign .feature-layout,
  body.staffi-redesign[data-staffi-concept="03"] .feature-layout { grid-template-columns: minmax(0, 1fr); }
  body.staffi-redesign .phone-panel { position: relative; top: auto; width: 100%; padding: 28px; margin: 0; }
  body.staffi-redesign .phone-frame { --concept-phone-width: 270px; }
}
@media (max-width: 700px) {
  body.staffi-redesign { --stage-w: calc(100vw - 28px); --concept-phone-width: 260px; }
  body.staffi-redesign .shell { gap: 16px; padding: 18px 0 26px; }
  body.staffi-redesign .topbar { min-height: 48px; padding: 0 2px; gap: 12px; }
  body.staffi-redesign .brand { gap: 10px; }
  body.staffi-redesign .brand-subtitle { display: none; }
  body.staffi-redesign :is(.staffi-logo, .brand-logo) { width: 130px; height: 44px; }
  body.staffi-redesign .back-link { min-width: 70px; min-height: 42px; padding: 10px 13px; font-size: 11px; }
  body.staffi-redesign .progress-wrap { width: 90px; min-width: 0; font-size: 9px; }
  body.staffi-redesign .stage { overflow: visible; border-radius: 20px; }
  body.staffi-redesign .slide,
  body.staffi-redesign[data-staffi-concept="03"] .slide { min-height: 0; padding: 26px 18px 20px; gap: 25px; }
  body.staffi-redesign :is(h1, .features-title, .service-title),
  body.staffi-redesign[data-staffi-concept="03"] :is(h1, .features-title, .service-title) { font-size: clamp(32px, 8.8vw, 48px) !important; }
  body.staffi-redesign .cover-copy h1,
  body.staffi-redesign[data-staffi-concept="02"] .cover-copy h1,
  body.staffi-redesign[data-staffi-concept="03"] .cover-copy h1 { font-size: clamp(64px, 18vw, 96px) !important; }
  body.staffi-redesign .cover-copy { gap: 18px; }
  body.staffi-redesign :is(.cover-lead, .lead, .service-lead) { font-size: 18px; line-height: 1.5; }
  body.staffi-redesign .eyebrow { font-size: 9px; }
  body.staffi-redesign .topics-title { font-size: 32px; }
  body.staffi-redesign .feature-layout { gap: 24px; }
  body.staffi-redesign .feature-item,
  body.staffi-redesign .feature-item.is-active { grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 15px 12px; }
  body.staffi-redesign .feature-copy > strong { font-size: 16px !important; }
  body.staffi-redesign .feature-item.is-active .feature-copy > strong { font-size: 20px !important; }
  body.staffi-redesign .feature-copy > span:not(.feature-price) { display: block; font-size: 12px; }
  body.staffi-redesign .feature-num { width: 25px; height: 26px; font-size: 10px; border-radius: 7px; }
  body.staffi-redesign .feature-details { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.staffi-redesign .feature-detail-card { padding: 12px; font-size: 12px; line-height: 1.5; }
  body.staffi-redesign .feature-detail-card b { font-size: 14px; }
  body.staffi-redesign .game-mechanics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.staffi-redesign .phone-panel { padding: 24px 14px; border-radius: 22px 22px 60px 22px; }
  body.staffi-redesign .slide .phone-frame { width: min(260px, 100%); height: auto !important; aspect-ratio: 9 / 20; }
  body.staffi-redesign .controls { min-height: 48px; padding: 0; gap: 8px; }
  body.staffi-redesign .nav-button { width: 44px; min-width: 44px; min-height: 44px; padding: 0; }
  body.staffi-redesign .nav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  body.staffi-redesign .controls > .tiny-meta { font-size: 9px; }
  body.staffi-redesign .cover-poster .visual { padding: 22px 12px; border-radius: 20px; }
  body.staffi-redesign .app-slider-wrap {
    --hero-stack-h: 560px;
    --hero-phone-w: 252px;
    --hero-list-w: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    align-items: start;
    gap: 20px;
  }
  body.staffi-redesign .app-includes { grid-row: 2; width: 100%; grid-template-rows: auto auto; }
  body.staffi-redesign .app-module-stack { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 6px; }
  body.staffi-redesign .app-module { height: auto; min-height: 49px; padding: 9px; grid-template-columns: 24px minmax(0, 1fr); font-size: 10px; line-height: 1.3; }
  body.staffi-redesign .app-module-icon { width: 24px; height: 24px; }
  body.staffi-redesign .app-slider { width: 252px; max-width: 100%; height: 560px; }
  body.staffi-redesign :is(.topic-grid, .topics-grid, .topics-grid.has-five-topics) { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.staffi-redesign .topic-card,
  body.staffi-redesign .topics-grid .topic-card,
  body.staffi-redesign .topics-grid.has-five-topics .topic-card { grid-template-columns: minmax(0, 1fr) 44px; min-height: 126px; padding: 20px 16px; gap: 12px; }
  body.staffi-redesign .topic-card strong,
  body.staffi-redesign .topics-grid .topic-card strong,
  body.staffi-redesign .topics-grid.has-five-topics .topic-card strong { font-size: 25px; }
  body.staffi-redesign .topic-icon { width: 44px; height: 44px; border-radius: 12px; }
  body.staffi-redesign .topic-icon svg { width: 25px; height: 25px; }
  body.staffi-redesign .shell > .stage,
  body.staffi-redesign[data-staffi-concept="03"] .shell > .stage { padding: 26px 18px; }
  body.staffi-redesign .format-options { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.staffi-redesign .format-card { padding: 22px 20px 0; border-radius: 16px; }
  body.staffi-redesign .card-title { font-size: 27px; }
  body.staffi-redesign .page-lead { font-size: 14px; }
  body.staffi-redesign[data-staffi-concept="03"] .topbar { padding-bottom: 16px; }
  body.staffi-redesign[data-staffi-concept="03"] .stage { border-radius: 0; }
  body.staffi-redesign[data-staffi-concept="03"] .topic-card { padding: 24px 0; border-radius: 0; }
  body.staffi-redesign[data-staffi-concept="03"] .feature-item { padding: 22px 0; }
  body.staffi-redesign[data-staffi-concept="03"] :is(.phone-panel, .cover-poster .visual, .format-card) { border-radius: 0; }
}
@media (max-width: 360px) {
  body.staffi-redesign .slide,
  body.staffi-redesign .shell > .stage { padding-inline: 14px; }
  body.staffi-redesign .phone-frame { width: 238px; max-width: 100%; }
  body.staffi-redesign .app-slider { width: 230px; height: calc(230px * 20 / 9); }
}
@media (prefers-reduced-motion: reduce) {
  body.staffi-redesign *, body.staffi-redesign *::before, body.staffi-redesign *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep presentation navigation in the viewport while the slide scrolls. */
html:has(body.staffi-redesign .controls) {
  --staffi-controls-height: 74px;
  scroll-padding-bottom: calc(var(--staffi-controls-height) + env(safe-area-inset-bottom, 0px) + 16px);
}
body.staffi-redesign:has(.controls) {
  padding-bottom: calc(var(--staffi-controls-height) + env(safe-area-inset-bottom, 0px) + 16px);
}
body.staffi-redesign .controls {
  position: fixed;
  inset: auto 0 0;
  z-index: 50;
  box-sizing: border-box;
  width: 100%;
  height: calc(var(--staffi-controls-height) + env(safe-area-inset-bottom, 0px));
  min-height: 0;
  margin: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px), calc((100vw - var(--stage-w)) / 2));
  padding-right: max(16px, env(safe-area-inset-right, 0px), calc((100vw - var(--stage-w)) / 2));
  border-top: 1px solid var(--line);
  background: #fff;
}
body.staffi-redesign .controls > .tiny-meta {
  min-width: 0;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.staffi-redesign .controls .control-group { flex: 0 0 auto; gap: 8px; margin-left: auto; }
body.staffi-redesign .controls .nav-button {
  width: auto;
  min-width: 104px;
  height: 48px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 16px;
  line-height: 1.3;
}
body.staffi-redesign .controls .nav-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
}
@media (max-width: 700px) {
  html:has(body.staffi-redesign .controls) { --staffi-controls-height: 76px; }
  body.staffi-redesign .controls {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  body.staffi-redesign .controls > .tiny-meta { display: none; }
  body.staffi-redesign .controls .control-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; margin: 0; }
  body.staffi-redesign .controls .nav-button {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    min-width: 0;
    height: 56px;
    min-height: 56px;
    padding: 6px 4px;
    font-size: 16px;
    line-height: 1.25;
  }
  body.staffi-redesign .controls .nav-button svg { flex: none; width: 18px; height: 18px; }
}
