/* Save Now Pay Later case study pages (snpl-case-study.php)
   Breakpoints: 1600 (large), 1060 (hero banner stacks), 1100 (two-column sections stack),
   900 (tablet), 640 (phone). */

:root {
  /* Colours */
  --scs-navy: #0b1b33;
  --scs-text: #3a4a60;
  --scs-text-hero: #33445a;
  --scs-muted: #6b7a90;
  --scs-white: #fff;
  --scs-teal: #0f9f97;
  --scs-teal-dark: #0b827b;
  --scs-teal-soft: #e3f5f3;
  --scs-teal-line: #cfe9e6;
  --scs-teal-border: #4dbdb4;
  --scs-teal-panel: #e5f5f2;
  --scs-teal-panel-line: #cdebe7;
  --scs-teal-panel-alt: #eef9f7;
  --scs-teal-wire: #6cc9c1;
  --scs-teal-ghost: #8fd3cc;
  --scs-blue: #1f4fa8;
  --scs-blue-dark: #183f8c;
  --scs-blue-bar: #3565c4;
  --scs-blue-light: #3a74d8;
  --scs-blue-pale: #7fa8ee;
  --scs-sky: #eef7fc;
  --scs-sky-2: #e1f0f9;
  --scs-sky-3: #cfe6f6;
  /* Edge colours of the Figma hero banners, so the space around a banner blends in */
  --scs-banner-left: #eff9fb;
  --scs-banner-mid: #ecf9fd;
  --scs-banner-right: #d8f1fd;
  --scs-callout: #e9f5f7;
  --scs-red: #e5484d;
  --scs-red-soft: #fdecec;
  --scs-line: #e2e9f2;
  --scs-line-soft: #eef2f7;
  --scs-grid-line: #e6ecf4;
  --scs-surface-alt: #fbfcfe;
  --scs-chip: #eef2f8;
  --scs-server: #0f2b5e;
  --scs-server-dark: #10254f;
  --scs-server-mid: #1d3a72;
  --scs-led: #6fe3ff;
  --scs-sun: #f5a623;
  --scs-moon: #3a5ad8;
  --scs-aws: #ff9900;
  --scs-footer: #1c4a5e;

  /* Type */
  --scs-font: "Manrope", Arial, sans-serif;
  --scs-fs-h1: clamp(30px, 2.8vw + 6px, 52px);
  --scs-fs-intro: clamp(15px, 0.7vw + 7px, 18px);
  --scs-fs-h2: clamp(23px, 1vw + 14px, 30px);
  --scs-fs-h2-lg: clamp(26px, 1.6vw + 12px, 36px);
  --scs-fs-body: clamp(15px, 0.25vw + 12.5px, 17px);
  --scs-fs-small: 14px;
  --scs-fs-xs: 12.5px;

  /* Layout */
  --scs-gutter: clamp(16px, 4vw, 48px);
  --scs-max: 1240px;
  --scs-section-pad: clamp(36px, 4vw, 56px);
  --scs-hero-pad-top: clamp(28px, 3.5vw, 56px);
  --scs-hero-pad-bottom: clamp(56px, 6vw, 88px);
  --scs-glance-overlap: 32px;
  --scs-gap: clamp(24px, 3.5vw, 48px);

  /* Shape */
  --scs-radius-sm: 10px;
  --scs-radius: 14px;
  --scs-radius-lg: 18px;
  --scs-radius-pill: 999px;
  --scs-shadow-sm: 0 8px 24px rgba(15, 40, 80, 0.07);
  --scs-shadow-md: 0 14px 40px rgba(15, 40, 80, 0.1);
  --scs-shadow-lg: 0 24px 50px rgba(31, 79, 168, 0.25);
  --scs-shadow-btn: 0 6px 14px rgba(15, 159, 151, 0.25);
  --scs-ease: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.scs-body {
  margin: 0;
  overflow-x: hidden;
  background: var(--scs-white);
  color: var(--scs-text);
  font-family: var(--scs-font);
  font-size: var(--scs-fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.scs-body img {
  display: block;
  max-width: 100%;
}

.scs-body a:focus-visible,
.scs-body button:focus-visible {
  outline: 3px solid var(--scs-teal);
  outline-offset: 3px;
}

.scs-wrap {
  width: min(var(--scs-max), 100% - 2 * var(--scs-gutter));
  margin-right: auto;
  margin-left: auto;
}

.scs-ico {
  flex: 0 0 auto;
}

/* ---------- Shared pieces ---------- */

.scs-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: var(--scs-radius-pill);
  background: var(--scs-teal);
  color: var(--scs-white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--scs-shadow-btn);
  transition: background var(--scs-ease), transform var(--scs-ease);
}

.scs-btn:hover {
  background: var(--scs-teal-dark);
  transform: translateY(-2px);
}

.scs-btn--header {
  padding: 12px clamp(18px, 2vw, 28px);
  font-size: clamp(15px, 0.4vw + 11px, 17px);
}

.scs-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--scs-teal-line);
  border-radius: var(--scs-radius-pill);
  background: var(--scs-white);
  color: var(--scs-teal-dark);
  font-size: 13px;
  font-weight: 700;
}

.scs-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--scs-teal);
}

.scs-iconwrap {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--scs-teal-soft);
  color: var(--scs-teal);
}

.scs-underline {
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--scs-teal);
}

.scs-panel {
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius-lg);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-sm);
}

/* ---------- Header ---------- */

.scs-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--scs-line-soft);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.scs-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: clamp(64px, 5vw + 12px, 84px);
}

.scs-logo img {
  width: clamp(124px, 9vw + 40px, 170px);
  height: auto;
}

/* ---------- Hero ---------- */

.scs-hero {
  position: relative;
  overflow: hidden;
  padding: var(--scs-hero-pad-top) 0 calc(var(--scs-hero-pad-bottom) + 40px);
  background:
    radial-gradient(ellipse at 85% 40%, rgba(255, 255, 255, 0.75) 0, rgba(255, 255, 255, 0) 45%),
    radial-gradient(ellipse at 10% 100%, rgba(255, 255, 255, 0.6) 0, rgba(255, 255, 255, 0) 40%),
    linear-gradient(120deg, var(--scs-sky) 0%, var(--scs-sky-2) 45%, var(--scs-sky-3) 100%);
}

.scs-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--scs-gap);
  align-items: center;
}

.scs-hero h1 {
  margin: 18px 0;
  color: var(--scs-navy);
  font-size: var(--scs-fs-h1);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.scs-hero__intro {
  max-width: 600px;
  margin: 0;
  color: var(--scs-text-hero);
  font-size: var(--scs-fs-intro);
  line-height: 1.65;
}

.scs-hero__intro strong {
  color: var(--scs-navy);
  font-weight: 700;
}

.scs-hero__visual {
  display: flex;
  justify-content: center;
}

.scs-visual-img {
  width: 100%;
  max-width: 600px;
  height: auto;
}

/* Hero with a full-width banner image (Figma artwork on the right, empty on the left).
   The image and the text share one grid cell. The image is never enlarged, so the artwork
   stays clear of the text: if the text needs more height than the image, the image sits at
   the bottom and the space above it is filled with the banner's own edge colours (its top
   edge fades in). Below 1060px the image moves under the text. */
.scs-hero.scs-hero--banner {
  display: grid;
  padding: 0;
  background: linear-gradient(90deg, var(--scs-banner-left) 0%, var(--scs-banner-mid) 45%, var(--scs-banner-right) 100%);
}

.scs-hero--banner > .scs-hero__bg,
.scs-hero--banner > .scs-hero__in {
  grid-area: 1 / 1;
}

.scs-hero__bg {
  display: block;
  align-self: end;
  min-width: 0;
}

.scs-hero__bg img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: right center;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 6%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 6%);
}

.scs-hero--banner .scs-hero__in {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: var(--scs-hero-pad-top) 0 calc(var(--scs-hero-pad-bottom) - 24px);
}

.scs-hero--banner .scs-hero__copy {
  max-width: 44%;
}

.scs-hero--banner .scs-hero__intro {
  max-width: none;
}

/* Each heading line stays on one line on wide screens, as in Figma */
.scs-hero--banner .scs-h1-line {
  white-space: nowrap;
}

.scs-hero--banner + .scs-glance-wrap {
  margin-top: calc(-1 * var(--scs-glance-overlap));
}

/* ---------- Built-in illustration (used where no Figma image exists yet) ---------- */

.scs-art {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1.45;
}

.scs-art__blob {
  position: absolute;
  inset: 8% 2% 4% 8%;
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  background: rgba(255, 255, 255, 0.55);
}

.scs-art__cloud {
  position: absolute;
  top: 0;
  left: 38%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--scs-radius-pill);
  background: var(--scs-white);
  box-shadow: 0 10px 30px rgba(31, 79, 168, 0.15);
  color: var(--scs-navy);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.scs-art__cloud .scs-ico {
  color: var(--scs-aws);
}

.scs-art__screen {
  position: absolute;
  top: 20%;
  left: 18%;
  z-index: 1;
  width: 58%;
  padding: 22px 22px 16px;
  border: 8px solid var(--scs-blue);
  border-radius: var(--scs-radius-lg);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-lg);
}

.scs-art--hero .scs-art__screen {
  transform: perspective(900px) rotateY(-8deg);
}

.scs-art__value {
  display: block;
  color: var(--scs-teal);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.scs-art__label {
  display: block;
  margin-top: 4px;
  color: var(--scs-navy);
  font-size: 13px;
  font-weight: 700;
}

.scs-art__chart {
  width: 100%;
  height: auto;
  margin-top: 12px;
  fill: var(--scs-blue-light);
}

.scs-art__chart rect:nth-child(odd) {
  fill: var(--scs-blue-pale);
}

.scs-art__trend,
.scs-art__trend-head {
  fill: none;
  stroke: var(--scs-teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scs-art__trend {
  stroke-dasharray: 6 6;
}

.scs-art__check {
  position: absolute;
  top: 54%;
  left: 68%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--scs-white);
  border-radius: 50%;
  background: var(--scs-teal);
  color: var(--scs-white);
  box-shadow: var(--scs-shadow-btn);
}

.scs-art__side {
  position: absolute;
  right: 0;
  bottom: 4%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 30%;
  padding: 18px 12px;
  border-radius: var(--scs-radius);
  background: var(--scs-white);
  box-shadow: 0 16px 34px rgba(31, 79, 168, 0.2);
  color: var(--scs-navy);
}

.scs-art__side b {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.scs-art__side i {
  width: 70%;
  height: 6px;
  border-radius: 6px;
  background: var(--scs-line);
}

.scs-art__shield {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--scs-radius);
  background: linear-gradient(160deg, var(--scs-teal-border), var(--scs-blue));
  color: var(--scs-white);
}

.scs-art__servers {
  position: absolute;
  bottom: 6%;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.scs-art__coin {
  position: absolute;
  top: 14%;
  right: 4%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: var(--scs-radius-lg);
  background: linear-gradient(150deg, var(--scs-blue-light), var(--scs-blue));
  color: var(--scs-white);
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(31, 79, 168, 0.3);
}

/* Server rack used in the illustrations */
.scs-rack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 110px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(170deg, var(--scs-blue-light), var(--scs-blue-dark));
  box-shadow: 0 16px 30px rgba(24, 65, 143, 0.3);
}

.scs-rack--teal {
  width: 90px;
  background: linear-gradient(170deg, var(--scs-teal-border), var(--scs-teal-dark));
}

.scs-rack i {
  position: relative;
  height: 20px;
  border-radius: 5px;
  background: var(--scs-server);
}

.scs-rack--teal i {
  background: var(--scs-teal-dark);
}

.scs-rack i::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--scs-led);
  box-shadow: 10px 0 0 var(--scs-led);
}

.scs-rack i::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 10px;
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

/* ---------- At a glance ---------- */

.scs-glance-wrap {
  position: relative;
  z-index: 2;
  margin-top: -80px;
}

.scs-glance {
  padding: 26px clamp(18px, 2.4vw, 30px) 28px;
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius-lg);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-md);
}

.scs-glance__title {
  margin: 0 0 20px;
  color: var(--scs-navy);
  font-size: 20px;
  font-weight: 800;
}

.scs-glance__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.scs-glance__item {
  display: flex;
  gap: 10px;
  padding: 0 clamp(10px, 1.2vw, 16px);
  border-left: 1px solid var(--scs-line);
}

.scs-glance__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.scs-glance__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--scs-teal-line);
  border-radius: 50%;
  background: var(--scs-teal-soft);
  color: var(--scs-teal);
}

.scs-glance__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.scs-glance__label {
  color: var(--scs-text);
  font-size: var(--scs-fs-small);
  line-height: 1.3;
}

.scs-glance__value {
  margin-top: 4px;
  color: var(--scs-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.scs-glance__value small {
  color: var(--scs-muted);
  font-size: 12px;
  font-weight: 500;
}

.scs-glance__note {
  margin-top: 2px;
  color: var(--scs-muted);
  font-size: 13px;
}

.scs-glance__levers {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--scs-navy);
  font-size: var(--scs-fs-small);
  font-weight: 600;
  line-height: 1.35;
}

.scs-glance__levers li {
  position: relative;
  margin-bottom: 4px;
  padding-left: 12px;
}

.scs-glance__levers li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--scs-muted);
}

/* Stacked style: big icon on top, centered */
.scs-glance--stacked {
  padding: 32px clamp(18px, 2.6vw, 34px) 34px;
}

.scs-glance--stacked .scs-glance__title {
  font-size: 22px;
}

.scs-glance--stacked .scs-glance__item {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.scs-glance--stacked .scs-glance__item:first-child {
  padding-left: clamp(10px, 1.2vw, 16px);
}

.scs-glance--stacked .scs-glance__icon {
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 12px;
}

.scs-glance--stacked .scs-glance__text {
  align-items: center;
}

.scs-glance--stacked .scs-glance__label {
  min-height: 2.6em;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scs-glance--stacked .scs-glance__value {
  margin-top: 10px;
  font-size: clamp(22px, 1.4vw + 10px, 30px);
}

.scs-glance--stacked .scs-glance__value--small {
  font-size: 17px;
}

.scs-glance--stacked .scs-glance__levers {
  text-align: left;
}

/* ---------- Sections and text ---------- */

.scs-section {
  padding: var(--scs-section-pad) 0 8px;
}

.scs-h2 {
  margin: 0 0 14px;
  color: var(--scs-navy);
  font-size: var(--scs-fs-h2);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.scs-h2--lg {
  font-size: var(--scs-fs-h2-lg);
}

.scs-text p {
  margin: 0 0 16px;
  line-height: 1.7;
}

.scs-text strong {
  color: var(--scs-navy);
}

.scs-text + .scs-text .scs-h2,
.scs-callout + .scs-text .scs-h2 {
  margin-top: 40px;
}

.scs-lead {
  margin: -6px 0 24px;
  color: var(--scs-navy);
  font-size: 15px;
  font-weight: 600;
}

.scs-lead--body {
  max-width: 640px;
  color: var(--scs-text);
  font-size: var(--scs-fs-body);
  font-weight: 400;
}

.scs-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--scs-gap);
  align-items: start;
}

.scs-split__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Check list */
.scs-checks {
  display: grid;
  gap: 10px;
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}

.scs-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--scs-text);
  font-size: 15.5px;
  line-height: 1.5;
}

.scs-checks strong {
  color: var(--scs-navy);
}

.scs-checks__dot {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--scs-teal);
  color: var(--scs-white);
}

.scs-checks__dot--blue {
  background: var(--scs-blue);
}

/* Callout */
.scs-callout {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 8px 0 0;
  padding: 20px 24px;
  border-left: 4px solid var(--scs-teal);
  border-radius: 0 12px 12px 0;
  background: var(--scs-callout);
}

.scs-callout p {
  margin: 0;
  color: var(--scs-navy);
  font-size: 15.5px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
}

.scs-callout__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--scs-teal);
  color: var(--scs-white);
}

/* Process stages */
.scs-stages__label {
  margin: 8px 0 14px;
  color: var(--scs-text);
  font-size: 13px;
}

.scs-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scs-stages li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 82px;
  color: var(--scs-navy);
  font-size: 15px;
  font-weight: 700;
}

.scs-stages li:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 8px;
  right: -6px;
  color: var(--scs-muted);
  font-size: 18px;
  line-height: 1;
}

.scs-stages__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--scs-teal-soft);
  color: var(--scs-teal);
}

/* Save Now Pay Later box */
.scs-snpl {
  padding: 28px 30px;
}

.scs-snpl__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.scs-snpl__head h3 {
  margin: 0;
  color: var(--scs-blue-dark);
  font-size: 21px;
  font-weight: 800;
}

.scs-snpl__body {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.scs-snpl__body .scs-checks {
  margin: 0;
}

.scs-snpl__body .scs-checks li {
  font-size: 14.5px;
}

.scs-snpl__quote {
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--scs-line);
  color: var(--scs-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.scs-snpl__quote::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  border-radius: 3px;
  background: var(--scs-teal);
}

/* Bar chart */
.scs-bars {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 26px 24px;
  background: var(--scs-surface-alt);
}

.scs-bars svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.scs-bars__grid line {
  stroke: var(--scs-grid-line);
  stroke-dasharray: 3 3;
}

.scs-bars__axis {
  fill: var(--scs-muted);
  font-size: 10px;
}

.scs-bars__bar {
  fill: var(--scs-blue-bar);
}

.scs-bars__bar--last {
  fill: var(--scs-blue-dark);
}

.scs-bars__in {
  fill: var(--scs-white);
  font-size: 12px;
  font-weight: 700;
}

.scs-bars__x {
  fill: var(--scs-navy);
  font-size: 11px;
  font-weight: 600;
}

.scs-bars__change {
  fill: var(--scs-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.scs-bars__arrow {
  fill: none;
  stroke: var(--scs-blue-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scs-bars figcaption {
  margin-top: 4px;
  color: var(--scs-muted);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.scs-bars figcaption span {
  font-size: 11px;
}

.scs-bars__side p {
  margin: 0;
  color: var(--scs-text);
  font-size: 13.5px;
  line-height: 1.55;
}

.scs-bars__side strong {
  color: var(--scs-navy);
}

.scs-bars__legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  padding: 4px 12px;
  border-radius: var(--scs-radius-pill);
  background: var(--scs-chip);
  color: var(--scs-text);
  font-size: 12px;
}

.scs-bars__legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--scs-blue-dark);
}

/* Always On vs Scheduled comparison */
.scs-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.scs-compare__card {
  height: 100%;
  padding: 22px 20px;
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius-lg);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-sm);
}

.scs-compare__card--after {
  border-color: var(--scs-teal-panel-line);
  background: var(--scs-teal-panel);
}

.scs-compare__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.scs-compare__head h3 {
  margin: 0;
  color: var(--scs-navy);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.scs-compare__head div > span {
  color: var(--scs-muted);
  font-size: var(--scs-fs-xs);
}

.scs-compare__badge {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--scs-red);
  color: var(--scs-white);
}

.scs-compare__card--after .scs-compare__badge {
  background: var(--scs-teal);
}

.scs-compare__art {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 220px;
  margin: 16px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--scs-line);
}

.scs-compare__card--after .scs-compare__art {
  border-bottom-color: var(--scs-teal-panel-line);
}

.scs-compare__tag {
  position: absolute;
  top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--scs-radius-pill);
  background: linear-gradient(180deg, var(--scs-blue-light), var(--scs-blue));
  color: var(--scs-white);
  font-size: var(--scs-fs-small);
  font-weight: 800;
}

.scs-compare__moon,
.scs-compare__sun {
  position: absolute;
  top: 14px;
}

.scs-compare__moon {
  left: 12%;
  color: var(--scs-moon);
}

.scs-compare__sun {
  right: 12%;
  color: var(--scs-sun);
}

.scs-rack--wide {
  width: 78%;
  gap: 8px;
  padding: 10px;
  background: linear-gradient(170deg, var(--scs-server-mid), var(--scs-server-dark));
}

.scs-rack--wide i {
  height: 26px;
  background: var(--scs-server-mid);
}

.scs-compare__clock {
  position: absolute;
  top: 6px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--scs-teal);
  color: var(--scs-white);
}

.scs-compare__wire {
  position: absolute;
  top: 48px;
  left: 20%;
  width: 60%;
  height: 22px;
  border: 2px dashed var(--scs-teal-wire);
  border-bottom: 0;
}

.scs-compare__towers {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.scs-tower {
  position: relative;
  width: 42px;
  height: 110px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--scs-server-mid), var(--scs-server-dark));
  box-shadow: 0 10px 20px rgba(16, 37, 79, 0.25);
}

.scs-tower::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 4px;
  height: 70px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--scs-led) 1.6px, transparent 2px) 0 0 / 4px 10px repeat-y;
}

.scs-tower--ghost {
  border: 2px dashed var(--scs-teal-ghost);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.scs-tower--ghost::before {
  display: none;
}

.scs-compare__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scs-compare__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.scs-compare__list b {
  display: block;
  color: var(--scs-navy);
  font-size: var(--scs-fs-small);
  font-weight: 700;
  line-height: 1.3;
}

.scs-compare__list div > span {
  display: block;
  color: var(--scs-muted);
  font-size: var(--scs-fs-xs);
  line-height: 1.4;
}

.scs-compare__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--scs-red-soft);
  color: var(--scs-red);
}

.scs-compare__card--after .scs-compare__icon {
  background: var(--scs-white);
  color: var(--scs-teal);
}

.scs-compare__arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--scs-line);
  border-radius: 50%;
  background: var(--scs-white);
  color: var(--scs-teal);
  box-shadow: var(--scs-shadow-sm);
}

/* Assessment findings */
.scs-findings {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.scs-account {
  height: 100%;
  padding: 24px 26px 20px;
  border: 1.5px solid var(--scs-teal-border);
  border-radius: var(--scs-radius);
  background: var(--scs-white);
}

.scs-account h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--scs-line);
  color: var(--scs-navy);
  font-size: 18px;
  font-weight: 800;
}

.scs-account__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--scs-blue);
  color: var(--scs-white);
}

.scs-account .scs-checks li {
  font-size: 15px;
}

.scs-account__total {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--scs-line);
  color: var(--scs-navy);
  font-size: 15px;
  font-weight: 800;
}

.scs-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px;
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-md);
  text-align: center;
}

.scs-total .scs-iconwrap {
  width: 40px;
  height: 40px;
}

.scs-total__label {
  color: var(--scs-text);
  font-size: var(--scs-fs-xs);
}

.scs-total__value {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--scs-navy);
  font-size: 22px;
  font-weight: 800;
}

.scs-total__value small {
  color: var(--scs-muted);
  font-size: 11px;
  font-weight: 500;
}

.scs-total__sub {
  color: var(--scs-text);
  font-size: 12px;
  font-weight: 700;
}

/* How we approached it */
.scs-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.scs-step {
  padding: 22px 22px 26px;
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-sm);
  transition: transform var(--scs-ease), box-shadow var(--scs-ease);
}

.scs-step:hover {
  box-shadow: var(--scs-shadow-md);
  transform: translateY(-3px);
}

.scs-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.scs-step__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--scs-teal);
  color: var(--scs-white);
  font-size: 13px;
  font-weight: 800;
}

.scs-step__icon {
  color: var(--scs-teal);
}

.scs-step h3 {
  margin: 0 0 8px;
  color: var(--scs-navy);
  font-size: 16.5px;
  font-weight: 800;
}

.scs-step p {
  margin: 0;
  color: var(--scs-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* What changed for the team */
.scs-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--scs-gap);
  align-items: center;
  margin-bottom: var(--scs-section-pad);
  padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 40px) clamp(24px, 2.4vw, 32px);
  border: 1px solid var(--scs-line);
  border-radius: var(--scs-radius-lg);
  background: var(--scs-white);
  box-shadow: var(--scs-shadow-sm);
}

.scs-closing .scs-text p {
  margin: 0;
}

.scs-closing__box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2.4vw, 30px);
  border: 1px solid var(--scs-teal-panel-line);
  border-radius: var(--scs-radius);
  background: var(--scs-teal-panel-alt);
}

.scs-closing__box .scs-iconwrap {
  background: var(--scs-white);
}

.scs-closing__box p {
  margin: 0;
  color: var(--scs-navy);
  font-size: clamp(19px, 0.8vw + 12px, 23px);
  font-weight: 800;
  line-height: 1.3;
}

/* What happens next */
.scs-next {
  margin-top: var(--scs-section-pad);
  padding: clamp(44px, 5vw, 64px) 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 55%),
    linear-gradient(120deg, var(--scs-sky-2) 0%, var(--scs-sky) 60%, var(--scs-white) 100%);
}

.scs-next__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--scs-gap);
  align-items: center;
}

.scs-next__visual {
  display: flex;
  justify-content: center;
}

.scs-next .scs-text p {
  margin-bottom: 24px;
}

/* ---------- Footer ---------- */

.scs-footer {
  background: var(--scs-footer);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--scs-fs-small);
}

.scs-footer__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.scs-footer a {
  color: var(--scs-white);
  font-weight: 600;
  text-decoration: none;
}

.scs-footer a:hover {
  text-decoration: underline;
}

/* ---------- Large screens ---------- */

@media (min-width: 1600px) {
  :root {
    --scs-max: 1360px;
  }
}

/* ---------- Two-column sections stack ---------- */

@media (max-width: 1100px) {
  .scs-glance__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 24px;
  }

  .scs-glance__item:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .scs-glance--stacked .scs-glance__item:nth-child(3n + 1) {
    padding-left: clamp(10px, 1.2vw, 16px);
  }

  .scs-split,
  .scs-next__in {
    grid-template-columns: 1fr;
  }

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

  .scs-findings {
    grid-template-columns: 1fr 1fr;
  }

  .scs-total {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* ---------- Hero banner: image moves under the text ---------- */

@media (max-width: 1059px) {
  :root {
    --scs-glance-overlap: 20px;
  }

  .scs-hero--banner > .scs-hero__bg {
    grid-area: 2 / 1;
  }

  .scs-hero--banner .scs-hero__in {
    padding: var(--scs-hero-pad-top) 0 8px;
  }

  .scs-hero--banner .scs-hero__copy {
    max-width: 720px;
  }

  .scs-hero--banner .scs-h1-line {
    white-space: normal;
  }

  /* Only the artwork (right part of the banner) is shown under the text */
  .scs-hero__bg img {
    aspect-ratio: 2 / 1;
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
  .scs-hero__in {
    grid-template-columns: 1fr;
  }

  .scs-closing {
    grid-template-columns: 1fr;
  }
}

/* ---------- Phone ---------- */

@media (max-width: 640px) {
  .scs-hero__bg img {
    aspect-ratio: 3 / 2;
  }

  .scs-art__cloud {
    padding: 8px 14px;
    font-size: 16px;
  }

  .scs-art__check {
    width: 42px;
    height: 42px;
  }

  .scs-art__label {
    font-size: 11px;
  }

  .scs-art__side b {
    font-size: 11px;
  }

  .scs-art__servers {
    transform: scale(0.7);
    transform-origin: bottom left;
  }

  .scs-rack {
    width: 72px;
  }

  .scs-rack--teal {
    width: 60px;
  }

  .scs-glance__list {
    grid-template-columns: 1fr 1fr;
  }

  .scs-glance__item,
  .scs-glance__item:nth-child(3n + 1) {
    padding: 0 10px;
    border-left: 1px solid var(--scs-line);
  }

  .scs-glance__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .scs-glance--stacked .scs-glance__item,
  .scs-glance--stacked .scs-glance__item:nth-child(3n + 1),
  .scs-glance--stacked .scs-glance__item:nth-child(odd) {
    padding: 0 8px;
  }

  .scs-stages li {
    min-width: 62px;
    font-size: 13px;
  }

  .scs-bars,
  .scs-snpl__body,
  .scs-compare,
  .scs-findings,
  .scs-steps {
    grid-template-columns: 1fr;
  }

  .scs-bars__legend {
    margin-top: 14px;
  }

  .scs-snpl {
    padding: 22px 20px;
  }

  .scs-snpl__quote {
    padding: 14px 0 0;
    border-top: 1px solid var(--scs-line);
    border-left: 0;
  }

  .scs-compare__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .scs-total {
    order: 0;
  }

  .scs-footer__in {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
  }
}

/* Very small phones (e.g. 320px) */
@media (max-width: 360px) {
  .scs-btn--header {
    padding: 8px 14px;
    font-size: 14px;
  }

  .scs-glance__list {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .scs-glance__item,
  .scs-glance__item:nth-child(3n + 1),
  .scs-glance__item:nth-child(odd),
  .scs-glance--stacked .scs-glance__item,
  .scs-glance--stacked .scs-glance__item:nth-child(3n + 1),
  .scs-glance--stacked .scs-glance__item:nth-child(odd) {
    padding: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scs-btn,
  .scs-step {
    transition: none;
  }

  .scs-btn:hover,
  .scs-step:hover {
    transform: none;
  }
}
