/* Shared Slapon identity and purchase information. */
:root {
  --site-ink: #393737;
  --site-muted: #59616e;
  --site-primary: #576be2;
  --site-primary-hover: #485dcc;
  --site-line: #dce1eb;
  --site-soft: #f5f6fc;
  --site-radius: 10px;
}
body[class*="site-"] { --muted: var(--site-muted); }
.site-logo { display: block; width: 130px; height: 44px; object-fit: contain; }
.site-support .nav, .site-apply .header-inner { min-height: 80px; padding-block: 16px; }
.site-legal header a { display: inline-flex; }
.site-template .site-header .logo { width: 130px; height: 44px; }
.site-eyebrow { color: var(--site-primary); font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 14px; }
.site-note { color: var(--site-muted); font-size: 13px; line-height: 1.8; }

/* Primary actions keep Slapon's purple surface and warm yellow arrow. */
.site-apply .button-primary,
.site-support .chatgpt-cta,
.site-support .actions button,
.site-receive .download-button {
  background: var(--site-primary);
  border: 1px solid var(--site-primary);
  border-radius: var(--site-radius);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 52px;
  box-shadow: none;
}
.site-apply .button-primary:hover:enabled,
.site-support .chatgpt-cta:hover {
  background: var(--site-primary-hover);
  border-color: var(--site-primary-hover);
  transform: none;
}
.site-template .button-secondary,
.site-apply .button-secondary,
.site-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 20px;
  min-height: 48px;
  border: 1px solid #c9cde5;
  border-radius: var(--site-radius);
  background: #fff;
  color: #444bb8;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
}
.site-template .button-secondary:hover,
.site-apply .button-secondary:hover:enabled,
.site-secondary:hover { background: var(--site-soft); transform: none; }
.site-apply .form-actions .button-secondary { border-color: transparent; color: var(--site-muted); }
.site-apply .progress li.active { color: #444bb8; border-color: var(--site-primary); }
.site-apply .segmented button[aria-pressed=true] { background: #eeeffd; color: #3d45b3; border-color: var(--site-primary); }
.site-apply .option[aria-pressed=true] { border-color: var(--site-primary); background: #f5f5ff; }
.site-apply button:disabled { opacity: 1; color: #626b7d; background: #e9ecf2; border-color: #d7dce6; }
.site-support { --accent: var(--site-primary); --soft: var(--site-soft); --line: var(--site-line); }
.site-support article a { color: #444bb8; }
.site-support .chatgpt-cta .cta-arrow { color: #fff; }
.site-apply .button-primary,
.site-support .chatgpt-cta { position: relative; overflow: hidden; padding-right: 72px; }
.site-apply .button-primary::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px;
  border-radius: 8px 10px 10px 8px;
  background: #ffbb55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23393737' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--site-ink);
  font-size: 22px;
  font-weight: 400;
}
.site-apply .button-primary:disabled::after { background: #e0e3e9; color: #626b7d; }
.site-support .chatgpt-cta .cta-arrow {
  position: absolute;
  right: 0;
  top: 0;
  width: 52px;
  height: 100%;
  margin: 0;
  padding: 16px;
  border-radius: 8px 10px 10px 8px;
  background: #ffbb55;
  color: var(--site-ink);
}
.site-support .chatgpt-cta:hover .cta-arrow { transform: none; background: #ffc76f; }
.site-receive .download-button .button-icon { background: #ffbb55; color: var(--site-ink); }
.site-corporate .offer-cta,
.site-corporate .external-contact,
.site-corporate .nav .pill { background: var(--site-primary); color: #fff; border-color: var(--site-primary); border-radius: var(--site-radius); }
.site-support .support-title-line { display: block; text-wrap: balance; }
.site-support .hero h1 { text-wrap: balance; }
.site-legal .eyebrow { color: var(--site-primary); }
body[class*="site-"] a:focus-visible,
body[class*="site-"] button:focus-visible { outline: 3px solid #7a86ec; outline-offset: 4px; }

.purchase-facts { background: var(--site-soft); border: 1px solid var(--site-line); border-radius: 16px; padding: 28px 30px; }
.product-offer { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(260px,1fr); align-items: start; gap: 48px; margin-top: 64px; padding-top: 42px; border-top: 1px solid var(--site-line); }
.product-offer .delivery-summary { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; border: 0; }
.product-offer .delivery-summary h3 { margin: 0; }
.product-offer .delivery-summary p { margin: 7px 0 0; }
.purchase-included { border-top: 1px solid var(--site-line); padding-top: 18px; margin: 18px 0 0; font-size: 14px; line-height: 1.9; color: var(--site-muted); }
.purchase-facts-label { font-size: 13px; margin: 0 0 8px; }
.purchase-amount { display: flex; align-items: baseline; gap: 5px; font-size: 17px; margin: 0; line-height: 1.3; }
.purchase-amount strong { font: 600 42px/1.2 Arial,sans-serif; letter-spacing: -.04em; }
.purchase-amount>span { font-size: 13px; }
.purchase-facts .site-note { margin: 7px 0 22px; }
.purchase-facts dl { margin: 0; }
.purchase-facts dl>div { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 16px; border-top: 1px solid var(--site-line); padding: 13px 0; font-size: 13px; line-height: 1.8; }
.purchase-facts dl>div:last-child { padding-bottom: 0; }
.purchase-facts dt { font-weight: 600; }
.purchase-facts dd { margin: 0; color: var(--site-muted); }
.purchase-facts dd strong { color: var(--site-ink); }
.purchase-facts dd small { display: block; font-size: 12px; margin-top: 3px; }
.requirements-panel { grid-column: 1/-1; display: flex; align-items: center; gap: 28px; padding: 26px 30px; background: #fff; border: 1px solid #d5d9f1; border-left: 4px solid var(--site-primary); border-radius: 12px; scroll-margin-top: 30px; }
.requirements-panel>div { min-width: 0; flex: 1; }
.requirements-panel .site-eyebrow { margin-bottom: 8px; }
.requirements-panel h3 { font-size: 19px; margin: 0 0 10px; line-height: 1.6; }
.requirements-panel p:not(.site-eyebrow) { font-size: 14px; line-height: 1.9; margin: 0; color: var(--site-muted); }
.requirements-panel .site-secondary { flex-shrink: 0; white-space: nowrap; }
.purchase-inline { margin: 18px 0 0; color: var(--site-muted); font-size: 13px; line-height: 1.9; }
.purchase-inline strong { color: var(--site-ink); }
.purchase-inline a { color: #444bb8; text-decoration: underline; text-underline-offset: 4px; }
.site-apply .apply-purchase-inline { padding: 15px 18px; margin: -10px 0 26px; background: var(--site-soft); border-radius: 10px; }
.site-support .support-requirements { display: block; margin-bottom: 34px; padding: 25px; }
.site-support .support-requirements h2 { font-size: 24px; border: 0; padding: 0; margin: 0 0 15px; }
.site-support .support-requirements p { margin: 12px 0; }
.site-support .support-requirements li { font-size: 14px; }

/* Supporting information remains readable on both screen sizes. */
.site-template .theme-card-summary,
.site-template .theme-card-meta,
.site-template .theme-tags li,
.site-template .theme-detail-help,
.site-template .theme-detail-grid figcaption,
.site-template .theme-dialog-content>p,
.site-template .problem-copy p,
.site-template .editing-note { color: var(--site-muted); }
.site-template .theme-dialog-footer small,
.site-template .theme-card-meta span:last-child { font-size: 12px; color: var(--site-muted); }
.site-template .theme-detail-note { color: var(--site-muted)!important; font-size: 12px!important; }
.site-apply .note, .site-apply .option .description, .site-apply .chosen-theme>p { color: var(--site-muted); }
.site-template .closing-price-tax { color: #e1e3ee; font-size: 12px; }
.site-corporate .brand .site-logo { width: 130px; height: 44px; }

@media(max-width:850px) {
  .product-offer { gap: 28px; }
  .requirements-panel { flex-direction: column; align-items: stretch; gap: 20px; }
  .requirements-panel .site-secondary { white-space: normal; }
  .site-template .hero-details .hero-description { font-size: 14px; }
}
@media(max-width:540px) {
  .product-offer { grid-template-columns: minmax(0,1fr); margin-top: 42px; padding-top: 30px; }
  .site-apply .form-actions .button-primary { padding-right: 60px; }
  .site-apply .form-actions .button-primary::after { width: 42px; font-size: 20px; }
  .site-logo, .site-template .site-header .logo { width: 112px; height: 38px; }
  .site-support .nav, .site-apply .header-inner { min-height: 68px; padding-block: 14px; }
  .purchase-facts { padding: 24px 20px; }
  .purchase-facts dl>div { grid-template-columns: 1fr; gap: 5px; }
  .requirements-panel { padding: 22px 20px; }
  .requirements-panel h3 { font-size: 18px; }
  .site-template .theme-card-summary { font-size: 14px; }
  .site-template .theme-tags li { font-size: 12px; }
  .site-template .sticky-purchase .button.conversion-cta { font-size: 15px; }
  .site-support .hero h1 { font-size: 29px; line-height: 1.5; }
  .site-support .support-title-line { text-wrap: balance; }
  .site-support .support-requirements { padding: 20px 17px; }
  .site-support .support-requirements h2 { font-size: 22px; }
  .site-support .cta-note { font-size: 13px; }
}

/* Installation help stays accessible from the footer. */
.site-template footer>div { flex-wrap: wrap; gap: 12px 20px; }

/* Finished slides grouped by use case. */
.case-section { padding: 86px 0 90px; background: #f7f8fc; scroll-margin-top: 26px; }
.case-heading { text-align: center; }
.case-heading h2 { font-size: clamp(32px,3.6vw,46px); font-weight: 600; line-height: 1.55; letter-spacing: -.04em; margin: 0 0 22px; }
.case-heading h2 span { color: var(--site-primary); }
.case-heading>p:last-child { margin: 0; font-size: 14px; line-height: 1.95; color: var(--site-muted); }
.case-tabs { display: flex; justify-content: center; gap: 10px; margin: 32px 0 42px; }
.case-tabs button { min-height: 45px; min-width: 112px; padding: 10px 23px; border: 1px solid transparent; border-radius: 24px; background: transparent; color: var(--site-muted); font-size: 14px; line-height: 1.5; }
.case-tabs button:hover { background: #e9ebf7; }
.case-tabs button[aria-selected="true"] { background: var(--site-ink); color: #fff; font-weight: 600; }
.case-collection { display: grid; grid-template-columns: minmax(0,1fr); gap: 38px; max-width: 1000px; margin: 0 auto; }
.case-collection:focus-visible { outline: 2px solid var(--site-primary); outline-offset: 12px; }
.case-collection-multiple { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.case-example-card { min-width: 0; }
.case-example-card>header { margin-bottom: 20px; }
.case-example-label { margin: 0 0 8px; color: var(--site-primary); font-size: 12px; font-weight: 500; line-height: 1.6; }
.case-example-card h3 { margin: 0; color: var(--site-ink); font-size: clamp(18px,2vw,23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.6; }
.case-collection-multiple .case-example-card>header { min-height: 89px; }
.case-slide-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 18px; }
.case-slide-grid figure { min-width: 0; margin: 0; }
.case-slide-grid-single { grid-template-columns: minmax(0,1fr); }
.case-slide-grid button { display: block; padding: 0; width: 100%; border: 1px solid #d9deea; border-radius: 7px; background: #fff; overflow: hidden; box-shadow: 0 7px 20px #242d5010; transition: box-shadow .2s; }
.case-slide-grid button:hover { box-shadow: 0 8px 24px #242d5028; }
.case-slide-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
.case-slide-grid figcaption { margin-top: 6px; font-size: 10px; color: var(--site-muted); line-height: 1.6; }
.case-output-footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 13px 20px; margin-top: 22px; }
.case-view-all { display: inline-flex; align-items: center; gap: 22px; min-height: 44px; padding: 9px 0; border: 0; border-bottom: 1px solid #a6acde; border-radius: 0; background: transparent; font-size: 13px; color: #4658c3; }
.case-view-all>span[aria-hidden] { font-size: 19px; }
.case-view-all:hover { color: #303cb0; border-color: currentColor; }
.case-dialog-open { overflow: hidden; }
.case-dialog-content { padding: 24px 30px 30px; }
.case-dialog-note { font-size: 12px; color: var(--site-muted); margin: 0 0 21px; line-height: 1.8; }
.case-dialog-slide { margin: 0; }
.case-dialog-slide>img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border: 1px solid var(--site-line); border-radius: 5px; }
.case-dialog-slide figcaption { margin-top: 10px; font-size: 13px; text-align: center; }
.case-page-controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 16px; }
.case-page-controls button { border: 1px solid #d4d9ea; background: #fff; color: var(--site-primary); border-radius: 50%; width: 44px; height: 44px; font-size: 20px; padding: 0; }
.case-page-controls p { margin: 0; color: var(--site-muted); font-size: 12px; }
.case-page-thumbnails { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 23px; }
.case-page-thumbnails button { padding: 3px; border: 2px solid transparent; border-radius: 5px; width: 110px; background: transparent; }
.case-page-thumbnails button[aria-pressed="true"] { border-color: var(--site-primary); }
.case-page-thumbnails img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border: 1px solid var(--site-line); }
@media(max-width:700px) {
 .case-section { padding: 55px 0 54px; }
 .case-heading { text-align: left; }
 .case-heading h2 { font-size: 31px; margin-bottom: 18px; }
 .case-heading>p:last-child { font-size: 13px; }
 .case-tabs { justify-content: flex-start; gap: 5px; margin: 26px 0 29px; }
 .case-tabs button { flex: 1; min-width: 0; min-height: 44px; padding: 9px 14px; font-size: 13px; }
 .case-collection, .case-collection-multiple { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .case-example-card>header, .case-collection-multiple .case-example-card>header { min-height: 0; margin-bottom: 16px; }
 .case-example-card h3 { font-size: 19px; }
 .case-slide-grid { grid-template-columns: minmax(0,1fr); }
 .case-slide-grid { gap: 13px 12px; }
 .case-slide-grid figcaption { font-size: 9px; }
 .case-output-footer { margin-top: 16px; gap: 10px; }
 .case-view-all { font-size: 12px; }
 .case-dialog-content { padding: 19px 14px 23px; }
 .case-dialog-note { font-size: 11px; margin-bottom: 17px; }
 .case-page-thumbnails { gap: 6px; }
 .case-page-thumbnails button { width: 29%; }
}

/* A reusable skill set, presented after the finished slide examples. */
.skill-set-section { padding: 108px 0 96px; background: #fff; scroll-margin-top: 28px; overflow: hidden; }
.skill-set-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 64px; align-items: center; }
.skill-set-copy h2 { margin: 0; font-size: clamp(32px,3.3vw,46px); line-height: 1.6; letter-spacing: -.04em; font-weight: 600; }
.skill-set-copy h2>span { color: var(--site-primary); }
.skill-set-description { margin: 26px 0 0; font-size: 15px; line-height: 2.05; color: var(--site-muted); }
.skill-set-repeat { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; font-size: 15px; font-weight: 600; }
.skill-set-repeat svg { width: 27px; height: 27px; flex-shrink: 0; stroke: var(--site-primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.skill-set-visual { position: relative; margin: 0; padding-top: 35px; isolation: isolate; }
.skill-set-halo { position: absolute; inset: 0 -20px 30px; border-radius: 48% 48% 40% 44%; background: #fff5d8; z-index: -1; transform: rotate(-8deg); }
.skill-set-package { position: relative; border: 1px solid #d8dcf0; border-radius: 0 18px 18px 18px; background: #f2f3ff; box-shadow: 0 20px 42px #40368b12; }
.skill-set-package-tab { position: absolute; width: 42%; height: 24px; top: -24px; left: -1px; border: 1px solid #d8dcf0; border-bottom: 0; border-radius: 15px 18px 0 0; background: #f2f3ff; }
.skill-set-package-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 23px 24px 0; }
.skill-set-package-heading img { width: 100px; height: 34px; object-fit: contain; }
.skill-set-package-heading>span { font-size: 11px; color: var(--site-muted); }
.skill-set-previews { position: relative; height: 260px; margin: 8px 24px 0; }
.skill-set-previews img { position: absolute; width: 86%; height: auto; border-radius: 5px; background: white; border: 1px solid #dfe3ed; box-shadow: 0 8px 22px #25366116; }
.skill-set-preview-back { top: 13px; left: 0; transform: rotate(-7deg); }
.skill-set-preview-front { bottom: 18px; right: 0; transform: rotate(5deg); }
.skill-set-contents { list-style: none; display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 0; margin: 0; padding: 19px 12px; border-top: 1px solid #d8dcf0; background: #fff; border-radius: 0 0 18px 18px; }
.skill-set-contents li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.skill-set-contents li+li { border-left: 1px solid #e7e8f2; }
.skill-set-contents svg { width: 23px; height: 23px; stroke: var(--site-primary); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skill-set-contents li>span { color: var(--site-primary); font-size: 25px; line-height: 23px; }
.skill-set-visual figcaption { margin-top: 25px; text-align: center; color: var(--site-muted); font-size: 12px; line-height: 1.7; }
.editing-section { padding: 0 0 90px; background: #fff; }
.editing-section .solution-proof .editing-proof { margin-top: 0; padding-top: 56px; border-top: 1px solid var(--site-line); }
.skill-set-pricing { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 60px; padding: 32px 38px; background: var(--site-soft); border: 1px solid var(--site-line); border-radius: 16px; }
.skill-set-pricing h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.skill-set-pricing>div>p:not(.purchase-amount):not(.site-note) { margin: 0; font-size: 13px; line-height: 1.9; color: var(--site-muted); }
.skill-set-pricing-amount { flex-shrink: 0; }
.skill-set-pricing .site-note { margin: 6px 0 0; }
@media(max-width:1000px) {
  .skill-set-layout { gap: 38px; }
  .skill-set-description { font-size: 14px; }
  .skill-set-previews { height: 235px; margin-inline: 18px; }
  .skill-set-package-heading { padding-inline: 18px; gap: 8px; }
  .skill-set-package-heading img { width: 85px; }
  .skill-set-package-heading>span { font-size: 10px; }
}
@media(max-width:700px) {
  .skill-set-section { padding: 64px 0 58px; }
  .skill-set-layout { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .skill-set-copy h2 { font-size: 32px; line-height: 1.6; }
  .skill-set-description { margin-top: 20px; font-size: 14px; }
  .skill-set-repeat { font-size: 14px; margin-top: 22px; }
  .skill-set-visual { width: 100%; max-width: 440px; justify-self: center; }
  .skill-set-halo { inset-inline: -6px; }
  .skill-set-previews { height: 260px; }
  .skill-set-package-heading { padding-top: 19px; }
  .skill-set-package-heading img { width: 96px; }
  .skill-set-package-heading>span { font-size: 11px; }
  .skill-set-contents { padding-block: 17px; }
  .skill-set-contents li { font-size: 11px; }
  .editing-section { padding-bottom: 55px; }
  .editing-section .solution-proof .editing-proof { padding-top: 36px; }
  .skill-set-pricing { flex-direction: column; align-items: flex-start; padding: 25px 23px; gap: 24px; margin-top: 40px; }
}
@media(max-width:420px) {
  .skill-set-copy h2 { font-size: 29px; }
  .skill-set-previews { height: 226px; }
}

/* Supplied PowerPoint editing image includes its own callout and zoom. */
.editing-section .solution-proof .editing-proof { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; }
.editing-figure-real { max-width: none; }
.editing-figure-real .powerpoint-proof-composite { display: block; width: 100%; height: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.editing-figure-real figcaption { margin-top: 14px; font-size: 11px; line-height: 1.8; color: var(--site-muted); }
@media(max-width:900px) {
 .editing-section .solution-proof .editing-proof { gap: 28px; }
}
@media(max-width:700px) {
 .editing-section .solution-proof .editing-proof { grid-template-columns: minmax(0,1fr); gap: 28px; }
 .editing-figure-real figcaption { font-size: 10px; }
}

/* The former theme montage becomes the closing visual. */
.closing-main-inner.closing-theme-layout { display: block; max-width: 1440px; min-height: 0; padding: 72px 0 52px; }
.closing-theme-layout .closing-copy { max-width: 760px; padding-inline: 28px; margin-inline: auto; text-align: center; }
.closing-theme-layout .closing-copy .closing-price { justify-items: center; margin-inline: auto; }
.closing-theme-layout .closing-cta { width: min(100%,360px); }
.closing-theme-layout .closing-art.closing-theme-art { width: 100%; max-width: none; aspect-ratio: auto; margin: 42px 0 0; }
.closing-theme-art .solution-gallery { width: 100%; max-width: none; left: auto; margin: 0; aspect-ratio: 2.2; }
.closing-theme-art .solution-gallery:before { inset: 3% 7% 0; background: radial-gradient(ellipse,#786caa42,transparent 72%); }
.closing-theme-art .solution-page { box-shadow: 0 12px 35px #17122045; border-color: #ffffffc9; }
.closing-theme-art .solution-page-7 { box-shadow: 0 22px 55px #17122066; }
.closing-theme-art>figcaption { margin: 24px 22px 0; text-align: center; font-size: 11px; line-height: 1.8; color: #dedee8; }
@media(max-width:1000px) {
 .closing-main-inner.closing-theme-layout { padding-block: 60px 42px; }
 .closing-theme-art .solution-gallery { width: 110%; margin-left: -5%; aspect-ratio: 1.95; }
}
@media(max-width:640px) {
 .closing-main-inner.closing-theme-layout { padding-block: 48px 34px; }
 .closing-theme-layout .closing-copy { padding-inline: 22px; }
 .closing-theme-layout .closing-art.closing-theme-art { margin-top: 32px; }
 .closing-theme-art .solution-gallery { width: 660px; left: 50%; margin-left: -330px; aspect-ratio: 1.85; }
 .closing-theme-art>figcaption { font-size: 10px; margin-top: 19px; }
}

/* Production sample topics remain reachable on small screens. */
.case-tabs { overflow-x: auto; scrollbar-width: thin; padding: 5px 3px 10px; }
.case-tabs button { flex-shrink: 0; min-width: 0; white-space: nowrap; padding-inline: 20px; }
.case-page-controls[hidden], .case-page-thumbnails[hidden] { display: none; }
@media(max-width:700px) {
 .case-tabs { margin-inline: -3px; }
 .case-tabs button { flex: 1 1 0; padding-inline: 5px; font-size: 12px; }
}

/* A left-aligned story paired with a larger, tilted memo. */
.case-section { position: relative; }
.case-story-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; scroll-margin-top: 26px; pointer-events: none; }
.case-heading-with-memo { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 48px; align-items: center; max-width: 1000px; margin: 0 auto; text-align: left; }
.case-memo { margin: 0; transform: rotate(6deg); }
.case-memo img { display: block; width: 100%; height: auto; }
.case-heading-copy { min-width: 0; }
.case-heading-copy h2 { font-size: clamp(32px,3.4vw,43px); line-height: 1.55; margin-bottom: 0; }
.case-heading-copy .case-title-phrase { display: inline-block; }
.case-heading-summary { margin: 24px 0 0; text-align: left; font-size: 14px; line-height: 2; color: var(--site-muted); }
.case-tabs { max-width: 1000px; margin-inline: auto; justify-content: flex-start; }
.case-example-deck { grid-column: 1/-1; }
.case-collection-multiple .case-example-deck>header { min-height: 0; }
.case-slide-grid-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
@media(max-width:1000px) {
 .case-heading-with-memo { grid-template-columns: minmax(0,1fr) 210px; gap: 30px; }
}
@media(max-width:700px) {
 .case-heading-with-memo { grid-template-columns: minmax(0,1fr) 112px; gap: 18px 10px; align-items: center; }
 .case-heading-copy { display: contents; }
 .case-heading-copy .site-eyebrow { grid-column: 1; grid-row: 1; font-size: 10px; letter-spacing: .08em; margin: 0; }
 .case-heading-copy h2 { grid-column: 1; grid-row: 2; font-size: 23px; line-height: 1.65; }
 .case-memo { grid-column: 2; grid-row: 1/3; margin: 16px -3px 0 0; }
 .case-heading-summary { grid-column: 1/-1; grid-row: 3; margin: 0; font-size: 13px; line-height: 1.95; }
 .case-slide-grid-three { grid-template-columns: minmax(0,1fr); }
}

.case-gallery-label { max-width: 1000px; margin: 36px auto 0; color: var(--site-ink); font-size: 16px; font-weight: 600; line-height: 1.7; }
.case-gallery-label+.case-tabs { margin-top: 12px; }
@media(max-width:700px) {
 .case-gallery-label { margin-top: 28px; font-size: 15px; }
 .case-gallery-label+.case-tabs { margin-top: 10px; }
}

/* Keep the opening phrase connected to the main hero promise. */
.site-template .headline-intro { margin-bottom: 0; }

/* Product environment and purchase conditions. */
.skill-set-environment { display: inline-flex; margin: 23px 0 0; padding: 7px 12px; border: 1px solid #d8dcf0; border-radius: 6px; background: #f5f6fc; color: #4658c3; font-size: 13px; font-weight: 600; line-height: 1.6; }
.skill-set-environment+.skill-set-description { margin-top: 20px; }
.skill-set-pricing { flex-wrap: wrap; gap: 25px 32px; }
.skill-set-conditions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px; flex-basis: 100%; border-top: 1px solid #dce1eb; padding-top: 22px; }
.skill-set-conditions>p { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.skill-set-conditions strong { color: var(--site-ink); font-size: 15px; font-weight: 600; }
.skill-set-conditions>p>span, .skill-set-conditions a { font-size: 12px; line-height: 1.8; color: var(--site-muted); }
.skill-set-conditions a { width: fit-content; color: #4658c3; text-underline-offset: 3px; }
@media(max-width:700px) {
 .skill-set-environment { margin-top: 19px; font-size: 12px; }
 .skill-set-conditions { grid-template-columns: minmax(0,1fr); gap: 19px; width: 100%; }
 .skill-set-conditions strong { font-size: 14px; }
}
