/* MOXIE Ideas: readable content, clear deliverables and orange / purple accents. */
.cn-page--rich,
.page-service-growth {
  --depth-ink: #23212b;
  --depth-muted: #625c69;
  --depth-line: #e9e3dc;
  --depth-paper: #fbf8f4;
  --depth-orange: #bc470d;
  --depth-purple: #6945b4;
}
.cn-page--rich .cn-page-hero {
  padding: clamp(42px, 6vw, 84px) 0;
  color: var(--depth-ink);
  background: radial-gradient(ellipse at 90% 10%, #ffdec380, transparent 55%), var(--depth-paper);
  border-bottom: 1px solid var(--depth-line);
}
.cn-page--rich .cn-page-hero__inner { max-width: 1200px; }
.cn-page--rich .cn-page-hero__texture { opacity: 0.035; }
.cn-page--rich .cn-page-hero h1 {
  max-width: 980px;
  color: var(--depth-ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cn-page--rich .cn-page-hero .cn-kicker { color: var(--depth-purple); }
.cn-page--rich .cn-page-hero__inner > p:not(.cn-kicker) {
  max-width: 780px;
  color: var(--depth-muted);
  font-size: 18px;
  line-height: 1.9;
}
.cn-page--rich .cn-page-hero .btn--light { color: #fff; background: var(--depth-orange); border-color: var(--depth-orange); }
.cn-page--rich .cn-page-hero .btn--outline-light { color: var(--depth-ink); background: #fff; border-color: #d5ccc2; }
.cn-reading-layout {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 4vw, 66px);
  max-width: 1200px;
  padding-block: clamp(32px, 5vw, 64px);
}
.cn-reading-layout__index { min-width: 0; position: sticky; top: calc(var(--content-header-offset, 80px) + 20px); }
.cn-content-index { border: 1px solid var(--depth-line, #e9e3dc); border-radius: 10px; background: #fff; padding: 18px; }
.cn-content-index summary { cursor: pointer; color: #342a44; font-size: 15px; font-weight: 700; }
.cn-content-index summary span { display: block; margin-top: 4px; color: #78717b; font-size: 11px; font-weight: 400; }
.cn-content-index ol { list-style: none; padding: 10px 0 0; margin: 0; max-height: 64vh; overflow: auto; }
.cn-content-index li { margin: 0; padding: 0; }
.cn-content-index a { display: block; border-left: 2px solid transparent; padding: 7px 0 7px 11px; color: #655b6e; font-size: 13px; line-height: 1.65; text-decoration: none; }
.cn-content-index a:hover,
.cn-content-index a.is-current { color: #6239a8; border-left-color: #7754d9; background: #f7f3fe; }
.cn-reading-content { min-width: 0; color: var(--depth-ink); font-size: 18px; line-height: 1.9; }
.cn-reading-content .cn-deepen-section { padding: 0; margin: 0 0 42px; background: transparent; scroll-margin-top: calc(var(--content-header-offset, 80px) + 24px); }
.cn-reading-content .cn-deepen-section__inner { display: block; width: 100%; max-width: none; padding: 0; margin: 0; }
.cn-reading-content h2 { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.5; letter-spacing: -0.015em; margin: 0 0 18px; padding-top: 25px; border-top: 1px solid var(--depth-line); text-wrap: balance; }
.cn-reading-content h3 { font-size: 20px; line-height: 1.6; color: #58416f; margin: 26px 0 12px; }
.cn-reading-content p { color: var(--depth-muted); max-width: 760px; margin: 0 0 20px; }
.cn-reading-content li { color: var(--depth-muted); margin-bottom: 9px; }
.cn-reading-content a { color: #9c420f; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cn-reading-content a:hover { color: #6239a8; }
.cn-reading-content code { border-radius: 4px; padding: 2px 4px; background: #f1ece6; font-size: 0.9em; overflow-wrap: anywhere; }
.cn-table-scroll { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid #e5ded5; border-radius: 9px; margin: 18px 0 25px; background: #fff; }
.cn-table-scroll .sgd-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15px; line-height: 1.75; background: #fff; }
.cn-table-scroll .sgd-table th,
.cn-table-scroll .sgd-table td { min-width: 140px; padding: 14px 16px; border: 0; border-bottom: 1px solid #ece5dc; vertical-align: top; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.cn-table-scroll .sgd-table th { background: #f4eee6; color: #41342b; }
.cn-table-scroll .sgd-table td { color: #625b62; }
.cn-table-scroll .sgd-table tr:last-child td { border-bottom: 0; }
.cn-table-scroll .sgd-table td:first-child { font-weight: 600; color: #3d353e; }
.page-service-growth .sgd-hero h1 { font-size: clamp(31px, 3.6vw, 54px); line-height: 1.35; text-wrap: balance; overflow-wrap: anywhere; }
.page-service-growth .sgd-hero__desc { font-size: 18px; line-height: 1.85; max-width: 720px; }
.sgd-price-line { display: flex; gap: 8px 15px; flex-wrap: wrap; align-items: center; margin: 0 0 22px; padding: 12px 15px; border: 1px solid #e6d4c6; border-radius: 8px; background: #fffaf4; color: #703613; font-size: 14px; line-height: 1.7; }
.sgd-price-line strong { font-weight: 700; }
.sgd-price-line a { color: #6742a7; font-size: 12px; text-underline-offset: 3px; }
.page-service-growth .sgd-jump { top: var(--content-header-offset, 80px); }
.sgd-jump__row { overflow-x: auto; overscroll-behavior-inline: contain; flex-wrap: nowrap; scrollbar-width: thin; }
.sgd-jump__row a { flex: 0 0 auto; }
.sgd-jump__row a.is-current { color: #6239a8; border-color: #b9a4dc; background: #f6f1ff; }
.page-service-growth [id] { scroll-margin-top: calc(var(--content-header-offset, 80px) + 86px); }
.page-service-growth .sgd-title { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.5; text-wrap: balance; }
.sgd-method-tools { display: flex; justify-content: flex-end; margin: 15px 0 0; }
.sgd-method-tools button { border: 1px solid #c8b7df; border-radius: 6px; padding: 8px 13px; background: #fff; color: #643ca6; cursor: pointer; font: inherit; font-size: 13px; }
.sgd-method-tools button[hidden] { display: none; }
.sgd-method .sgd-steps--method { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sgd-method .sgd-steps--method > li { padding: 23px; gap: 15px; border-color: #e5ddd4; background: #fff; border-radius: 10px; }
.sgd-method .sgd-steps--method > li > div { min-width: 0; flex: 1; }
.sgd-method .sgd-steps--method h3 { font-size: 18px; line-height: 1.65; margin: 0 0 12px; }
.sgd-method .sgd-steps--method p.sgd-method__lead { font-size: 16px; color: #625b66; line-height: 1.85; margin: 0 0 13px; }
.sgd-method .sgd-steps--method p.sgd-method__output { font-size: 13px; color: #5a3b84; line-height: 1.7; background: #f6f2fc; padding: 9px 11px; border-radius: 5px; margin: 0 0 13px; }
.sgd-method__output span { font-weight: 700; margin-right: 7px; }
.sgd-method__details summary { font-size: 13px; line-height: 1.8; color: #7c3b12; list-style: disclosure-closed; }
.sgd-method__details[open] summary { list-style: disclosure-open; }
.sgd-method__details p { font-size: 15px; line-height: 1.85; color: #625b66; }
.sgd-decide__grid > div { min-width: 0; }
.cn-page--rich :focus-visible,
.page-service-growth :focus-visible,
.cn-table-scroll:focus-visible { outline: 3px solid #7754d9; outline-offset: 4px; }
@media (max-width: 1000px) {
  .cn-reading-layout { grid-template-columns: minmax(170px, 205px) minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .cn-page--rich .cn-page-hero { padding-block: 38px; }
  .cn-page--rich .cn-page-hero h1 { font-size: 31px; line-height: 1.4; }
  .cn-page--rich .cn-page-hero__inner > p:not(.cn-kicker) { font-size: 17px; }
  .cn-reading-layout { display: block; padding-block: 25px 35px; }
  .cn-reading-layout__index { position: static; margin-bottom: 30px; }
  .cn-content-index ol { max-height: none; }
  .cn-content-index summary span { display: inline; margin-left: 8px; }
  .cn-reading-content { font-size: 17px; }
  .cn-reading-content h2 { font-size: 24px; }
  .cn-reading-content h3 { font-size: 19px; }
  .cn-table-scroll .sgd-table { font-size: 14px; }
  .cn-table-scroll .sgd-table th,
  .cn-table-scroll .sgd-table td { min-width: 140px; padding: 12px; }
  .page-service-growth .sgd-hero__desc { font-size: 17px; }
  .sgd-method .sgd-steps--method { grid-template-columns: minmax(0, 1fr); }
  .sgd-method .sgd-steps--method > li { padding: 19px 16px; }
  .sgd-method .sgd-steps--method h3 { font-size: 18px; }
  .sgd-method .sgd-steps--method p.sgd-method__lead { font-size: 16px; }
  .sgd-method-tools { justify-content: flex-start; }
  .sgd-decide__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cn-page--rich, .page-service-growth { scroll-behavior: auto; }
  .cn-page--rich *, .page-service-growth * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
@media print {
  .cn-reading-layout { display: block; }
  .cn-reading-layout__index, .sgd-method-tools, .sgd-jump { display: none; }
  .cn-table-scroll { overflow: visible; border-radius: 0; }
  .sgd-method .sgd-steps--method { display: block; }
  .sgd-method .sgd-steps--method > li { break-inside: avoid; margin-bottom: 15px; }
}
