:root {
  --orange: #e84b2c;
  --orange-hover: #cf3f23;
  --orange-soft: #fff1ed;
  --blue: #183787;
  --blue-hover: #2549a0;
  --blue-soft: #edf2ff;
  --ink: #3b3b3b;
  --body: #727a8e;
  --line: #e7eaf0;
  --mist: #f6f7f9;
  --white: #fff;
  --max: 1240px;
  --editor-height: 0;
  --shadow-sm: 0 14px 38px rgba(38, 51, 90, 0.07);
  --shadow-md: 0 22px 60px rgba(35, 52, 96, 0.11);
  --shadow-lg: 0 30px 90px rgba(50, 68, 118, 0.16);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #f7f8fb;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Display',
    'PingFang SC',
    'Microsoft YaHei',
    sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
main {
  padding-top: calc(var(--editor-height) + 64px);
}
main section[id] {
  scroll-margin-top: calc(var(--editor-height) + 64px);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20000;
  padding: 12px 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px;
}

.design-toolbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  height: var(--editor-height);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100%;
  padding: 8px 14px;
  overflow-x: auto;
  color: #fff;
  background: #232633;
  border-bottom: 1px solid #353847;
  box-shadow: 0 4px 18px rgba(20, 23, 35, 0.16);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'PingFang SC',
    sans-serif;
  white-space: nowrap;
}
.design-toolbar strong {
  flex: 0 0 auto;
  margin-right: 8px;
  font-size: 16px;
}
.design-toolbar .hint {
  flex: 1 0 auto;
  color: #aeb5c5;
  font-size: 11px;
}
.format-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 8px;
  border-left: 1px solid #404456;
}
.format-group label {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #c7ccda;
  font-size: 11px;
}
.design-toolbar input,
.design-toolbar select {
  height: 34px;
  border: 1px solid #4a4f62;
  border-radius: 6px;
  color: #fff;
  background: #303446;
  font: 12px inherit;
}
.design-toolbar input[type='number'] {
  width: 58px;
  padding: 0 6px;
}
.design-toolbar input[type='color'] {
  width: 36px;
  padding: 3px;
}
.design-toolbar select {
  width: 82px;
  padding: 0 5px;
}
.design-toolbar button {
  height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #3b4052;
  cursor: pointer;
  font: 600 12px inherit;
}
.design-toolbar button:hover,
.design-toolbar button.is-active {
  background: #535a70;
}
.design-toolbar button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}
.design-toolbar .danger {
  color: #ffc5bb;
}
.design-toolbar .save-html {
  background: var(--orange);
}
.design-toolbar .save-html:hover {
  background: var(--orange-hover);
}

.edit-status {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10000;
  max-width: min(420px, calc(100vw - 40px));
  padding: 10px 14px;
  border-radius: 8px;
  color: #fff;
  background: #202432;
  box-shadow: 0 12px 36px rgba(11, 14, 26, 0.24);
  font-size: 12px;
  line-height: 1.55;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.edit-status.show {
  opacity: 1;
  transform: none;
}
[contenteditable='true'] {
  cursor: text !important;
  transition: box-shadow 0.15s ease;
}
[contenteditable='true']:hover {
  box-shadow: 0 0 0 2px rgba(232, 75, 44, 0.35);
}
[contenteditable='true']:focus,
[contenteditable='true'].editor-selected {
  outline: none;
  box-shadow: 0 0 0 2px var(--orange);
}
.editor-image {
  cursor: pointer !important;
  transition:
    outline-color 0.15s ease,
    filter 0.15s ease;
}
.editor-image:hover {
  outline: 2px solid rgba(24, 55, 135, 0.45);
  outline-offset: 3px;
}
.editor-image.image-selected {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  filter: saturate(1.05);
}

.nav {
  position: fixed;
  inset: var(--editor-height) 0 auto;
  z-index: 500;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(0, 0, 0, 0.045);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.header-brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 124px;
  height: auto;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}
.site-nav a {
  position: relative;
  color: #292d36;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -22px;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after {
  right: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  white-space: nowrap;
}
.nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 17px;
  border-radius: 7px;
  color: #fff;
  font-weight: 600;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.nav-action:hover {
  color: #fff;
  transform: translateY(-1px);
}
.nav-login {
  background: var(--blue);
}
.nav-login:hover {
  background: var(--blue-hover);
}
.nav-trial {
  background: var(--orange);
}
.nav-trial:hover {
  background: var(--orange-hover);
}
.editor-mode .nav-actions .nav-action,
.editor-mode .nav-actions .nav-action:hover,
.editor-mode .nav-actions .nav-action:focus {
  color: #fff !important;
}
.menu {
  display: none;
  margin-left: auto;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu i {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px;
  background: #11131a;
  transition: transform 0.25s ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 24px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--orange);
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}
.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(232, 75, 44, 0.22);
}
.button-small {
  padding: 10px 17px;
  border-radius: 7px;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding: 100px max(28px, calc((100vw - var(--max)) / 2)) 80px;
  background: linear-gradient(180deg, #fafbfe 0%, #f1f4fb 100%);
}
.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
.aurora-left {
  width: 760px;
  height: 580px;
  left: -180px;
  top: -100px;
  background: radial-gradient(
    circle,
    rgba(117, 143, 255, 0.2),
    rgba(183, 202, 255, 0.08) 48%,
    transparent 72%
  );
}
.aurora-right {
  width: 680px;
  height: 520px;
  right: -130px;
  top: 90px;
  background: radial-gradient(
    circle,
    rgba(223, 177, 255, 0.16),
    rgba(255, 202, 184, 0.1) 48%,
    transparent 72%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 590px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  max-width: 100%;
  box-sizing: border-box;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(95, 106, 210, 0.2);
  border-radius: 999px;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 16px rgba(44, 55, 100, 0.08);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.eyebrow span {
  flex: 0 0 16px;
  height: 1px;
  background: var(--orange);
}
.hero h1 {
  margin: 30px 0 18px;
  color: #182047;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.3;
}
.hero-lead {
  margin: 0 auto;
  color: #4d5668;
  font-size: 16px;
  line-height: 1.8;
}
.hero-focus {
  margin: 18px auto 0;
  color: #30384a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}
.hero-note {
  max-width: 560px;
  margin: 10px auto 0;
  color: #657087;
  font-size: 14px;
  line-height: 1.8;
}
.capability-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.capability-list li {
  padding: 7px 10px;
  border: 1px solid rgba(24, 55, 135, 0.11);
  border-radius: 999px;
  color: #59627a;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1;
}
.capability-list li::before {
  content: '✓';
  margin-right: 5px;
  color: #20aa7b;
  font-weight: 800;
}
.hero-media {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
}
.hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 80px max(28px, calc((100vw - var(--max)) / 2));
}
.section-head {
  width: 100%;
  max-width: 920px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  color: #4f66f6;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.6;
}
.section-head h2 {
  margin: 14px 0 0;
  color: #1b234c;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: -1.1px;
}
.section-head p {
  margin: 18px auto 0;
  color: #444;
  font-size: 16px;
  line-height: 1.75;
}
.section-subline {
  color: var(--blue) !important;
  font-weight: 600;
}

.pain {
  background: #fff;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.pain-card,
.reason-card {
  overflow: hidden;
  border: 1px solid #ebeef4;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.pain-card:hover,
.reason-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(38, 55, 98, 0.13);
}
.card-media {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #f4f6fb;
  cursor: zoom-in;
}
.card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.pain-card-copy {
  min-height: 178px;
  padding: 28px 26px 30px;
}
.card-index {
  display: block;
  margin-bottom: 18px;
  color: #a0a6b1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}
.pain-card h3,
.reason-card h3 {
  margin: 0 0 12px;
  color: #21295a;
  font-size: 20px;
  line-height: 1.4;
}
.pain-card p,
.reason-card p {
  margin: 0;
  color: #5d6470;
  font-size: 14px;
  line-height: 1.75;
}
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.plain-list li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: #5d6470;
  font-size: 14px;
  line-height: 1.7;
}
.plain-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.consulting-pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.consulting-pain-grid .pain-card-copy {
  min-height: 292px;
}

.consulting-stages {
  background: linear-gradient(180deg, #f4f6fb 0%, #eef2f9 100%);
}
.stage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stage-card {
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(220, 225, 236, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.stage-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(38, 55, 98, 0.13);
}
.stage-copy {
  min-height: 292px;
  padding: 22px 20px 26px;
}
.stage-copy .card-index {
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 1.4;
}
.stage-copy h3 {
  margin: 0 0 12px;
  color: #21295a;
  font-size: 18px;
  line-height: 1.4;
}
.stage-copy .plain-list li {
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
}
.stage-copy .plain-list li::before {
  top: 15px;
  width: 5px;
  height: 5px;
}

.scenarios {
  background: linear-gradient(180deg, #f4f6fb 0%, #eef2f9 100%);
}
.scenario-list {
  display: grid;
  gap: 36px;
}
.scenario {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  align-items: stretch;
  border: 1px solid rgba(220, 225, 236, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.scenario:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(43, 56, 95, 0.14);
}
.scenario.reverse {
  grid-template-columns: 1.16fr 0.84fr;
}
.scenario.reverse .scenario-copy {
  order: 2;
}
.scenario.reverse .scenario-media {
  order: 1;
}
.scenario-copy {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
}
.scenario-number {
  position: absolute;
  right: 34px;
  top: 34px;
  color: #b2b7c2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.scenario-label {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.scenario h3 {
  margin: 0 0 14px;
  padding-right: 52px;
  color: #1c234d;
  font-size: 28px;
  line-height: 1.35;
}
.scenario-lead {
  margin: 0 0 18px;
  color: #4d5566;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}
.scenario ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.scenario li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-top: 1px dashed #dfe4ee;
  color: #525b6a;
  font-size: 14px;
  line-height: 1.65;
}
.scenario li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 17px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.scenario-media {
  position: relative;
  min-width: 0;
  display: grid;
  place-items: center;
  width: 100%;
  padding: 24px;
  border: 0;
  background: rgba(238, 242, 251, 0.72);
  cursor: zoom-in;
}
.scenario-media img {
  display: block;
  width: 100%;
  border: 1px solid #eef1f7;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(24, 55, 135, 0.13);
}
.overview-row {
  grid-template-columns: 0.78fr 1.22fr;
}
.overview-row .scenario-label {
  color: #4f66f6;
}
.overview-row .scenario-copy {
  padding-block: 50px;
}

.operations-panel {
  margin-top: 36px;
  padding: 48px;
  border: 1px solid rgba(220, 225, 236, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-md);
}
.operations-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}
.operations-head h3 {
  margin: 8px 0 0;
  color: #1c234d;
  font-size: 28px;
  line-height: 1.4;
}
.operations-head p {
  margin: 0;
  color: #596274;
  font-size: 15px;
  line-height: 1.75;
}
.operations-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e4e8f0;
  border-radius: 18px;
}
.operations-main .detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
  background: #fbfcff;
}
.operations-main h4 {
  margin: 0 0 12px;
  color: #23305d;
  font-size: 20px;
  line-height: 1.4;
}
.operations-main ul {
  margin: 0;
  padding-left: 20px;
  color: #5d6575;
  font-size: 14px;
  line-height: 1.8;
}
.operations-main .card-media {
  background: #eef2fa;
}
.operations-main .card-media img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.detail-copy {
  padding: 24px 26px 28px;
}
.detail-copy h4 {
  margin: 0 0 9px;
  color: #23305d;
  font-size: 18px;
  line-height: 1.4;
}
.detail-copy p {
  margin: 0;
  color: #626b7b;
  font-size: 13px;
  line-height: 1.75;
}

.reasons {
  background: #fff;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.reason-card {
  border-radius: 16px;
}
.reason-card-copy {
  min-height: 218px;
  padding: 20px 16px 24px;
}
.reason-card .card-index {
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 1.35;
}
.reason-card h3 {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.45;
}
.reason-card p {
  font-size: 12px;
  line-height: 1.7;
}
.reason-card-copy p + p {
  margin-top: 6px;
}
.marketing-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.marketing-reasons .section-head {
  margin-bottom: 40px;
}
.marketing-reason-grid .reason-card {
  border-radius: 20px;
}
.marketing-reason-grid .reason-card-copy {
  min-height: 190px;
  padding: 26px 26px 30px;
}
.marketing-reason-grid .card-index {
  margin-bottom: 18px;
  font-size: 10px;
  letter-spacing: 1.6px;
  line-height: 1.4;
}
.marketing-reason-grid .reason-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
}
.marketing-reason-grid .reason-card p {
  font-size: 14px;
  line-height: 1.75;
}
.consulting-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.consulting-reasons .section-head {
  margin-bottom: 40px;
}
.consulting-reason-grid .reason-card {
  border-radius: 16px;
}
.consulting-reason-grid .reason-card-copy {
  min-height: 246px;
  padding: 22px 20px 26px;
}
.consulting-reason-grid .card-index {
  margin-bottom: 14px;
  font-size: 9px;
  letter-spacing: 1.1px;
  line-height: 1.4;
}
.consulting-reason-grid .reason-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}
.consulting-reason-grid .reason-card p {
  font-size: 13px;
  line-height: 1.7;
}

.hqm-pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.hqm-pain-grid .pain-card-copy {
  min-height: 178px;
}
.ccc-pain-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.ccc-pain-grid .pain-card-copy {
  min-height: 212px;
}
.hqm-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.hqm-case-card {
  overflow: hidden;
  border: 1px solid #e6eaf2;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.hqm-case-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(38, 55, 98, 0.13);
}
.hqm-case-card .card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1f4fa;
}
.hqm-case-card .card-media::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: #f1f4fa var(--case-bg) center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.18;
  transform: scale(1.06);
}
.hqm-case-card .card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.hqm-case-copy {
  min-height: 230px;
  padding: 28px 26px 30px;
}
.hqm-case-copy h3 {
  margin: 0 0 12px;
  color: #21295a;
  font-size: 20px;
  line-height: 1.4;
}
.hqm-case-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hqm-case-copy li {
  position: relative;
  padding: 7px 0 7px 18px;
  color: #5d6470;
  font-size: 14px;
  line-height: 1.7;
}
.hqm-case-copy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.ccc-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ccc-case-card {
  overflow: hidden;
  border: 1px solid #e6eaf2;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.ccc-case-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 60px rgba(38, 55, 98, 0.13);
}
.ccc-case-card .card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f1f4fa;
}
.ccc-case-card .card-media::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: #f1f4fa var(--case-bg) center / cover no-repeat;
  filter: blur(18px);
  opacity: 0.18;
  transform: scale(1.06);
}
.ccc-case-card .card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.ccc-case-copy {
  min-height: 210px;
  padding: 28px 26px 30px;
}
.ccc-case-copy h3 {
  margin: 0 0 12px;
  color: #21295a;
  font-size: 20px;
  line-height: 1.4;
}
.ccc-case-copy p {
  margin: 0;
  color: #5d6470;
  font-size: 14px;
  line-height: 1.75;
}

.cases {
  background: var(--mist);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.case-placeholder {
  overflow: hidden;
  border: 1px solid #e8ebf1;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.placeholder-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #edf1fb, #e5eaf7);
}
.placeholder-media::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(82, 102, 158, 0.22);
  border-radius: 12px;
}
.placeholder-media span {
  position: relative;
  z-index: 1;
  color: #98a1b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
}
.placeholder-copy {
  padding: 22px 22px 26px;
}
.placeholder-copy > span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.placeholder-copy h3 {
  margin: 11px 0 8px;
  color: #1c234d;
  font-size: 18px;
  line-height: 1.4;
}
.placeholder-copy p {
  margin: 0;
  color: #6a7280;
  font-size: 13px;
  line-height: 1.7;
}

.cta-wrap {
  padding: 80px max(28px, calc((100vw - var(--max)) / 2));
  background: #fff;
}
.cta {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 64px 40px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #152d76 0%, #213d95 55%, #322d79 100%);
  box-shadow: 0 28px 80px rgba(24, 55, 135, 0.25);
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.2), transparent 25%),
    linear-gradient(120deg, transparent 55%, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}
.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to right, #000, transparent);
}
.cta-copy {
  position: relative;
  z-index: 2;
}
.cta .kicker {
  color: #dfe6ff;
}
.cta h2 {
  margin: 14px 0 12px;
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.45;
}
.cta p {
  margin: 0 auto;
  color: #dce4ff;
  font-size: 16px;
  line-height: 1.75;
}
.button-white {
  margin-top: 24px;
  color: var(--blue);
  background: #fff;
}
.button-white:hover {
  background: #fff;
  box-shadow: 0 14px 35px rgba(13, 25, 73, 0.2);
}

.lightbox {
  width: min(94vw, 1500px);
  max-width: none;
  padding: 42px 20px 20px;
  border: 0;
  border-radius: 18px;
  background: rgba(247, 248, 252, 0.98);
  box-shadow: 0 35px 120px rgba(6, 12, 32, 0.4);
}
.lightbox::backdrop {
  background: rgba(7, 11, 25, 0.78);
  backdrop-filter: blur(8px);
}
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 86vh;
  margin: auto;
  border-radius: 10px;
}
.lightbox-close {
  position: absolute;
  right: 12px;
  top: 7px;
  width: 34px;
  height: 34px;
  border: 0;
  color: #303642;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.zoomable {
  color: inherit;
}
.zoom-hint {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20, 28, 55, 0.74);
  font-size: 11px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.zoomable:hover .zoom-hint,
.zoomable:focus-visible .zoom-hint {
  opacity: 1;
  transform: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .nav {
    gap: 28px;
  }
  .site-nav {
    gap: 20px;
  }
  .pain-grid,
  .consulting-pain-grid,
  .stage-grid,
  .consulting-reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .case-grid,
  .hqm-case-grid,
  .ccc-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    height: 64px;
  }
  .site-nav,
  .nav-actions {
    display: none;
  }
  .menu {
    display: block;
  }
  .nav.menu-open {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 20px;
  }
  .nav.menu-open .site-nav {
    order: 3;
    display: flex;
    flex: 1 0 100%;
    flex-direction: column;
    gap: 0;
    padding-top: 10px;
  }
  .nav.menu-open .site-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eef0f4;
  }
  .nav.menu-open .site-nav a::after {
    display: none;
  }
  .nav.menu-open .menu i:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav.menu-open .menu i:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 80px 24px;
    text-align: center;
  }
  .hero-copy {
    margin: 0 auto;
    max-width: 760px;
  }
  .hero-media {
    max-width: 760px;
    margin: 0 auto;
  }
  .section {
    padding: 80px 24px;
  }
  .scenario,
  .scenario.reverse,
  .overview-row {
    grid-template-columns: 1fr;
  }
  .scenario.reverse .scenario-copy,
  .scenario.reverse .scenario-media {
    order: initial;
  }
  .scenario-copy {
    padding: 38px 34px;
  }
  .scenario-media {
    padding: 20px;
  }
  .operations-panel {
    padding: 34px;
  }
  .operations-head,
  .operations-main {
    grid-template-columns: 1fr;
  }
  .operations-head {
    align-items: start;
    gap: 14px;
  }
  .operations-main .detail-copy {
    order: 1;
  }
  .operations-main .card-media {
    order: 2;
  }
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .marketing-reason-grid {
    grid-template-columns: 1fr;
  }
  .cta-wrap {
    padding: 80px 24px;
  }
}

@media (max-width: 600px) {
  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand-logo {
    width: 108px;
  }
  .hero {
    padding: 80px 18px;
  }
  .eyebrow {
    width: min(320px, 100%);
    padding: 9px 12px;
    font-size: 16px;
    white-space: nowrap;
  }
  .hero h1 {
    margin-top: 28px;
    font-size: 40px;
    letter-spacing: -2px;
  }
  .hero-lead,
  .hero-focus {
    font-size: 16px;
  }
  .hero-media {
    border-radius: 15px;
  }
  .zoom-hint {
    display: none;
  }
  .section {
    padding: 80px 18px;
  }
  .section-head {
    margin-bottom: 48px;
  }
  .section-head h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .section-head p {
    font-size: 16px;
  }
  .pain-grid,
  .reason-grid,
  .marketing-reason-grid,
  .hqm-pain-grid,
  .hqm-case-grid,
  .ccc-pain-grid,
  .ccc-case-grid,
  .consulting-pain-grid,
  .stage-grid,
  .consulting-reason-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }
  .pain-card-copy,
  .reason-card-copy,
  .hqm-pain-grid .pain-card-copy,
  .hqm-case-copy,
  .ccc-pain-grid .pain-card-copy,
  .ccc-case-copy,
  .consulting-pain-grid .pain-card-copy,
  .consulting-reason-grid .reason-card-copy {
    min-height: 0;
  }
  .stage-copy {
    min-height: 0;
    padding: 28px 24px 30px;
  }
  .scenario-list {
    gap: 24px;
  }
  .scenario {
    border-radius: 18px;
  }
  .scenario-copy {
    padding: 34px 24px;
  }
  .scenario h3 {
    padding-right: 42px;
    font-size: 24px;
  }
  .scenario-number {
    right: 22px;
    top: 28px;
  }
  .scenario-media {
    padding: 12px;
  }
  .scenario-media img {
    border-radius: 10px;
  }
  .operations-panel {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .operations-head h3 {
    font-size: 24px;
  }
  .operations-main .detail-copy {
    padding: 26px 22px;
  }
  .cta-wrap {
    padding: 80px 18px;
  }
  .cta {
    min-height: 370px;
    padding: 50px 22px;
    border-radius: 18px;
  }
  .cta h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .lightbox {
    width: 96vw;
    padding: 40px 8px 8px;
  }
}

@media (max-width: 1500px) {
  .design-toolbar .hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Production delivery overrides: editor is not part of the public site. */
body.production-page {
  --editor-height: 0px;
  padding-top: 0 !important;
}
body.production-page .design-toolbar,
body.production-page .edit-status,
body.production-page #edit-status,
body.production-page #image-file-input {
  display: none !important;
}
body.production-page .nav,
body.production-page > header {
  top: 0 !important;
  inset-block-start: 0 !important;
}
body.production-page [contenteditable='true'] {
  cursor: inherit !important;
  box-shadow: none !important;
}
