/* Sovereign Cloud -- the private, sovereign cloud offer page (/sovereign_cloud).
 *
 * Every colour here is one already used by the site: the hero gradient and the
 * yellow call to action come from pack_offer.css, the light section background
 * and the card borders from the Pack Offer and Catalogue sections. They are
 * collected as custom properties at the top so a change to the brand is one
 * edit rather than ninety, but the values themselves are not new.
 */

.sc-page {
  --sc-ink: #2a0033;
  --sc-plum: #33003b;
  --sc-plum-light: #4a0955;
  --sc-yellow: #fdd700;
  --sc-yellow-hi: #ffe840;
  --sc-muted: #6b6272;
  --sc-surface: #faf7fb;
  --sc-border: #ece6ef;
  --sc-border-hi: #d9c7e0;
  --sc-shadow: rgba(63, 0, 74, 0.1);
  --sc-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* None of the stylesheets this page loads sets box-sizing, so declare it for
   this page's own elements only. Scoped by class prefix rather than with a
   universal selector, because the shared footer renders inside .sc-page and
   must keep sizing the way it does on every other page. */
.sc-page [class^="sc-"],
.sc-page [class*=" sc-"] {
  box-sizing: border-box;
}

/* ---------------------------------------------------------------- hero ---- */

.sc-hero {
  background: linear-gradient(180deg, #33003b 0%, #4a0955 100%);
  padding: 64px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* A faint grid behind the hero: a nod to racks, and it keeps the large flat
   purple from looking like an unstyled block on wide screens. */
.sc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.sc-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.sc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 215, 0, 0.12);
  border: 1px solid rgba(253, 215, 0, 0.35);
  color: var(--sc-yellow);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}

.sc-hero-inner h1 {
  font-family: var(--sc-font);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.sc-hero-inner h1 span {
  color: var(--sc-yellow);
}

.sc-hero-inner > p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.sc-hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.sc-hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sc-hero-badge i {
  color: var(--sc-yellow);
}

.sc-hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sc-cta-primary,
.sc-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sc-font);
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s,
    transform 0.15s;
}

.sc-cta-primary {
  background: var(--sc-yellow);
  color: var(--sc-ink);
}

.sc-cta-primary:hover {
  background: var(--sc-yellow-hi);
  color: var(--sc-ink);
  transform: translateY(-2px);
  text-decoration: none;
}

.sc-cta-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.sc-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ------------------------------------------------------------ sections ---- */

.sc-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 24px;
}

.sc-section-alt {
  max-width: none;
  background: var(--sc-surface);
}

.sc-section-alt > * {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.sc-section-head {
  text-align: center;
  margin-bottom: 40px;
}

.sc-section-head h2 {
  font-family: var(--sc-font);
  font-size: 32px;
  font-weight: 800;
  color: var(--sc-ink);
  margin: 0 0 12px;
}

.sc-section-head p {
  font-size: 16px;
  color: var(--sc-muted);
  margin: 0 auto;
  max-width: 680px;
  line-height: 1.6;
}

/* ------------------------------------------------------- offer formulas --- */

.sc-formula-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.sc-formula {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.sc-formula:hover {
  transform: translateY(-4px);
  border-color: var(--sc-border-hi);
  box-shadow: 0 12px 28px var(--sc-shadow);
}

.sc-formula--featured {
  border-color: var(--sc-plum-light);
  box-shadow: 0 10px 30px var(--sc-shadow);
}

.sc-formula-flag {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--sc-yellow);
  color: var(--sc-ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.sc-formula-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #33003b 0%, #4a0955 100%);
  color: var(--sc-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.sc-formula h3 {
  font-family: var(--sc-font);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--sc-ink);
  margin: 0 0 6px;
}

.sc-formula-who {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  /* Two lines held open: one card's subtitle wraps and the others' do not,
     which staggered everything below it across the three cards. */
  min-height: 2.9em;
  color: var(--sc-plum-light);
  margin: 0 0 14px;
}

.sc-formula > p {
  font-size: 0.94rem;
  color: var(--sc-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}

.sc-formula ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.sc-formula li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--sc-ink);
  padding: 7px 0;
  line-height: 1.5;
}

.sc-formula li i {
  color: var(--sc-plum-light);
  font-size: 0.78rem;
  margin-top: 4px;
  flex: 0 0 auto;
}

.sc-formula-foot {
  margin-top: auto;
}

/* Block-level flex, not inline-flex with width:100%: none of the stylesheets
   this page loads sets box-sizing: border-box, so a declared width plus
   padding and border pushed the button out past the edge of its card. With
   width left to auto the browser subtracts the padding for us. */
.sc-quote-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sc-font);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sc-plum-light);
  text-decoration: none;
  border: 1px solid var(--sc-border-hi);
  border-radius: 10px;
  padding: 11px 20px;
  justify-content: center;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}

.sc-quote-link:hover {
  background: var(--sc-plum);
  border-color: var(--sc-plum);
  color: var(--sc-yellow);
  text-decoration: none;
}

/* -------------------------------------------------- what sovereign means -- */

.sc-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.sc-pillar {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 24px;
}

.sc-pillar > i {
  color: var(--sc-plum-light);
  font-size: 1.3rem;
  flex: 0 0 auto;
  margin-top: 2px;
}

.sc-pillar h4 {
  font-family: var(--sc-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sc-ink);
  margin: 0 0 6px;
}

.sc-pillar p {
  font-size: 0.9rem;
  color: var(--sc-muted);
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------------------ platform strip ---- */

.sc-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.sc-stack-item {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  padding: 22px 20px;
  text-align: center;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}

.sc-stack-item:hover {
  border-color: var(--sc-border-hi);
  box-shadow: 0 8px 20px var(--sc-shadow);
}

.sc-stack-item i {
  color: var(--sc-plum-light);
  font-size: 1.4rem;
  margin-bottom: 12px;
  display: block;
}

.sc-stack-item strong {
  display: block;
  font-family: var(--sc-font);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--sc-ink);
  margin-bottom: 6px;
}

.sc-stack-item span {
  font-size: 0.85rem;
  color: var(--sc-muted);
  line-height: 1.55;
}

/* ------------------------------------------------- comparison of models --- */

.sc-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  background: #fff;
}

.sc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.9rem;
}

.sc-table th,
.sc-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--sc-border);
  vertical-align: top;
  line-height: 1.5;
}

/* custom.css carries a site-wide `th { color: #3f004a !important }`, so the
   header row of a dark table needs !important of its own or it paints dark
   purple text on a dark purple band -- unreadable. Same reason for the row
   labels below: they must not be left to that global rule by accident. */
.sc-table thead th {
  background: var(--sc-plum);
  color: #fff !important;
  font-family: var(--sc-font);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: none;
  white-space: nowrap;
}

.sc-table thead th:first-child {
  background: var(--sc-plum);
  color: rgba(255, 255, 255, 0.62) !important;
  font-weight: 600;
}

.sc-table tbody th {
  font-weight: 700;
  color: var(--sc-ink) !important;
  background: var(--sc-surface);
  white-space: nowrap;
}

/* And a site-wide `td { align-content: center !important }`, which quietly
   defeated vertical-align: top and floated the one-line answers to the middle
   of a two-line row. A comparison table reads across, so the cells of a row
   must start on the same line. */
.sc-table th,
.sc-table td {
  align-content: start !important;
}

.sc-table tbody td {
  color: var(--sc-muted);
}

.sc-table tbody tr:last-child th,
.sc-table tbody tr:last-child td {
  border-bottom: none;
}

/* ------------------------------------------------------------- journey ---- */

.sc-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: sc-step;
}

.sc-step {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  padding: 26px 24px;
  position: relative;
}

.sc-step-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sc-plum);
  color: var(--sc-yellow);
  font-family: var(--sc-font);
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.sc-step h4 {
  font-family: var(--sc-font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--sc-ink);
  margin: 0 0 8px;
}

.sc-step p {
  font-size: 0.89rem;
  color: var(--sc-muted);
  line-height: 1.6;
  margin: 0;
}

.sc-step-when {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--sc-plum-light);
  background: var(--sc-surface);
  border-radius: 14px;
  padding: 4px 11px;
}

/* ----------------------------------------------------------- audiences ---- */

.sc-sector-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.sc-sector {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sc-ink);
}

.sc-sector i {
  color: var(--sc-plum-light);
}

/* ----------------------------------------------------------------- faq ---- */

.sc-faq {
  max-width: 820px;
  margin: 0 auto;
}

.sc-faq-item {
  background: #fff;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}

.sc-faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--sc-font);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--sc-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
}

.sc-faq-item summary::-webkit-details-marker {
  display: none;
}

.sc-faq-item summary::after {
  content: "\f078"; /* chevron-down */
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--sc-plum-light);
  transition: transform 0.2s;
  flex: 0 0 auto;
}

.sc-faq-item[open] summary::after {
  transform: rotate(180deg);
}

.sc-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--sc-muted);
  line-height: 1.65;
}

/* -------------------------------------------------------------- closing --- */

.sc-closing {
  background: linear-gradient(135deg, #33003b 0%, #4a0955 100%);
  text-align: center;
  padding: 64px 24px;
}

.sc-closing-inner {
  max-width: 760px;
  margin: 0 auto;
}

.sc-closing h2 {
  font-family: var(--sc-font);
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
}

.sc-closing p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin: 0 0 28px;
}

.sc-closing .sc-hero-cta {
  margin-bottom: 18px;
}

.sc-closing-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* --------------------------------------------------------------- rtl ------ */

[dir="rtl"] .sc-table th,
[dir="rtl"] .sc-table td {
  text-align: right;
}

[dir="rtl"] .sc-formula-flag {
  left: auto;
  right: 28px;
}

/* -------------------------------------------------------- small screens --- */

@media (max-width: 768px) {
  .sc-hero {
    padding: 48px 0 44px;
  }

  .sc-hero-inner h1 {
    font-size: 1.95rem;
  }

  .sc-section {
    padding: 48px 20px;
  }

  .sc-section-head h2 {
    font-size: 25px;
  }

  .sc-cta-primary,
  .sc-cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .sc-closing h2 {
    font-size: 24px;
  }
}
