/* ==========================================================================
   Inner page templates (service and industry pages) in the redesign style.
   Restyles the existing page-* classes; tokens come from css/aspire.css.
   ========================================================================== */

/* Keep in-page links clear of the sticky header. */
html { scroll-padding-top: 90px; }

/* Hero --------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--a-navy);
  color: #fff;
  padding: 3rem 0;
}
.page-hero-eyebrow {
  display: block;
  color: var(--a-blue-light);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.page-hero-title {
  color: #fff;
  font-size: clamp(2.125rem, 1.2rem + 2.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.page-hero-dek {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.75rem;
}
.page-hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }
/* Text links inside the dark hero and closing band need the light blue. */
.page-hero a:not(.btn), .page-cta a:not(.btn) { color: #8cc6ff; text-decoration: underline; }
.page-hero a:not(.btn):hover, .page-cta a:not(.btn):hover { color: #fff; }

/* Default: photograph below the text on small screens... */
.page-hero-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--a-radius);
}
/* ...or shown whole, for graphics and smaller images. */
.page-hero-framed .page-hero-img {
  width: auto;
  max-width: 100%;
  max-height: 420px;
  aspect-ratio: auto;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .page-hero { display: flex; align-items: center; min-height: 540px; padding: 3.5rem 0; }
  .page-hero > .container { width: 100%; }
  .page-hero .col-lg-7 > * { max-width: 440px; }

  /* Full-bleed photograph with the homepage's diagonal edge. */
  .page-hero:not(.page-hero-framed) .page-hero-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }
  .page-hero-framed .col-lg-7 > * { max-width: 620px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-hero-cta { gap: 0.75rem; }
  .page-hero-cta .btn { --bs-btn-padding-x: 1rem; }
}
@media (min-width: 1200px) {
  .page-hero .col-lg-7 > * { max-width: 500px; }
}
@media (min-width: 1400px) {
  .page-hero .col-lg-7 > * { max-width: 580px; }
}

/* Sections ----------------------------------------------------------------- */
.page-section { padding: 4rem 0; background: var(--a-surface); }
.page-section-grey { background: var(--a-tint); }
.page-section-header { max-width: 800px; margin-bottom: 2rem; }
.page-section-header h2 {
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.625rem);
  margin-bottom: 0.75rem;
}
.page-section-header p { font-size: 1.0625rem; margin-bottom: 0; }
/* Centre the heading when the block under it is a centred column (forms, video, FAQ). */
.page-section-header:has(+ .row > .mx-auto) { margin-left: auto; margin-right: auto; text-align: center; }

/* Cards -------------------------------------------------------------------- */
.page-keypoint {
  height: 100%;
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  padding: 1.35rem 1.25rem;
}
.page-keypoint-icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--a-radius);
  color: var(--a-blue);
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.page-keypoint.text-center .page-keypoint-icon { margin-left: auto; margin-right: auto; }
.page-keypoint h3 { font-size: 1.1875rem; line-height: 1.25; }
.page-keypoint p, .page-keypoint ul { font-size: 0.9375rem; }
.page-keypoint > :last-child { margin-bottom: 0; }

/* Icon beside the text, as on the homepage, where the card is wide enough for
   its heading. The column is measured, not the screen.                        */
.row > [class*="col-"]:has(> .page-keypoint) { container-type: inline-size; }
@container (min-width: 380px) {
  .page-keypoint:not(.text-center):has(> .page-keypoint-icon) {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr);
    column-gap: 1rem;
    align-content: start;
  }
  .page-keypoint:not(.text-center):has(> .page-keypoint-icon) > * { grid-column: 2; }
  .page-keypoint:not(.text-center):has(> .page-keypoint-icon) > .page-keypoint-icon {
    grid-column: 1;
    grid-row: 1 / span 12;
    margin: 0;
  }
  .page-keypoint:not(.text-center):has(> .page-keypoint-icon) > .btn { justify-self: start; }
}
/* Slightly smaller card headings where cards are narrow. */
@container (max-width: 419.98px) {
  .page-keypoint h3 { font-size: 1.0625rem; }
}
@container (max-width: 339.98px) {
  .page-keypoint { padding-left: 1rem; padding-right: 1rem; }
  .page-keypoint h3 { font-size: 1rem; }
}

/* Included lists ----------------------------------------------------------- */
.page-included {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.page-included i { color: var(--a-blue); font-size: 1.5rem; line-height: 1.2; flex: 0 0 auto; }
.page-included strong { display: block; font-weight: 700; margin-bottom: 0.15rem; }
.page-included span { font-size: 0.9375rem; }

/* Closing call to action --------------------------------------------------- */
.page-cta {
  background: var(--a-navy);
  color: #fff;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.page-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.15rem);
  margin-bottom: 0.5rem;
}
.page-cta p { color: rgba(255, 255, 255, 0.88); font-size: 1.0625rem; margin-bottom: 1.25rem; }
.page-cta .btn { margin-bottom: 0.5rem; }

@media (min-width: 992px) {
  .page-cta > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 0.75rem;
    align-items: center;
  }
  .page-cta h2 { grid-column: 1; grid-row: 1; max-width: 640px; }
  .page-cta p { grid-column: 1; grid-row: 2; max-width: 640px; margin-bottom: 0; }
  .page-cta .btn { grid-row: 1 / span 2; margin: 0 !important; }
}

/* Buttons, accordion and media --------------------------------------------- */
.btn-lg { --bs-btn-font-size: 1rem; --bs-btn-padding-x: 1.375rem; --bs-btn-padding-y: 0.7rem; --bs-btn-border-radius: var(--a-radius-btn); }
.btn-outline-primary {
  --bs-btn-color: var(--a-blue);
  --bs-btn-border-color: var(--a-blue);
  --bs-btn-hover-bg: var(--a-blue);
  --bs-btn-hover-border-color: var(--a-blue);
  --bs-btn-active-bg: var(--a-blue-dark);
  --bs-btn-active-border-color: var(--a-blue-dark);
}
.page-section .accordion {
  --bs-accordion-border-color: var(--a-border);
  --bs-accordion-border-radius: var(--a-radius);
  --bs-accordion-inner-border-radius: 7px;
  --bs-accordion-active-bg: #d6e8ff;
  --bs-accordion-active-color: var(--a-ink);
  --bs-accordion-btn-focus-border-color: var(--a-blue-light);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.25);
}
.page-section video, .page-section iframe { max-width: 100%; }
.page-section video { height: auto; }
.page-section .bi-star-fill { color: #d97706; font-size: 2rem; }
.page-section .bi-check-circle { color: var(--a-blue); }

/* Forms (same contract as the live aspire-form styles) --------------------- */
.aspire-form .form-control,
.aspire-form .form-select {
  border-radius: var(--a-radius-btn);
  border: 1px solid var(--a-border);
  padding: 0.65rem 0.9rem;
  font-size: 0.95rem;
}
.aspire-form .form-control:focus,
.aspire-form .form-select:focus {
  border-color: var(--a-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.15);
}
.aspire-form .form-label { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; }
.aspire-form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.aspire-form-status { font-size: 0.92rem; line-height: 1.5; margin-top: 0.5rem; }
.aspire-form-status:empty { display: none; }
.aspire-form-status-ok, .aspire-form-status-err { border-radius: var(--a-radius); padding: 0.65rem 0.9rem; }
.aspire-form-status-ok { color: #15803d; background: #ecfdf5; border: 1px solid #bbf7d0; }
.aspire-form-status-err { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.aspire-form button[type="submit"][disabled] { opacity: 0.65; cursor: wait; }

/* Text-only hero (pricing, contact, case studies) -------------------------- */
.page-hero-centered { min-height: 0; text-align: center; }
.page-hero-centered .page-hero-cta { justify-content: center; }
.page-hero-centered .page-hero-dek:last-child { margin-bottom: 0; }
@media (min-width: 992px) {
  .page-hero.page-hero-centered { min-height: 0; padding: 4rem 0; }
  .page-hero.page-hero-centered .col-lg-8 > * { max-width: none; }
}

/* Breadcrumb --------------------------------------------------------------- */
.breadcrumb-nav { background: #fff; border-bottom: 1px solid var(--a-border); padding: 0.75rem 0; font-size: 0.875rem; }
.breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb-list li { display: inline-flex; align-items: center; gap: 0.6rem; min-width: 0; }
.breadcrumb-list li:not(:last-child)::after { content: "\203A"; color: var(--a-muted); }
.breadcrumb-list a { color: var(--a-muted); text-decoration: none; }
.breadcrumb-list a:hover { color: var(--a-blue); text-decoration: underline; }
.breadcrumb-list li[aria-current="page"] { font-weight: 700; }

/* Linked cards ------------------------------------------------------------- */
.page-section a > .page-keypoint { color: var(--a-ink); transition: border-color 0.15s ease; }
.page-section a:hover > .page-keypoint, .page-section a:focus-visible > .page-keypoint { border-color: var(--a-blue); }
.page-section a > .page-keypoint strong { color: var(--a-blue); }
.page-section h2 > .bi { color: var(--a-blue); }

/* About: leadership team --------------------------------------------------- */
.about-team-card { height: 100%; background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 1.5rem; }
.about-team-photo { display: block; width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.about-team-card h3 { font-size: 1.3125rem; margin-bottom: 0.25rem; }
.about-team-role { color: var(--a-blue); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.about-team-card p { font-size: 0.9375rem; }
.about-team-card > :last-child { margin-bottom: 0; }
.about-team-social a { display: inline-block; color: var(--a-muted); font-size: 1.35rem; }
.about-team-social a:hover { color: var(--a-blue); }

/* Case studies ------------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  color: var(--a-ink);
  text-decoration: none;
  transition: border-color 0.15s ease;
}
.service-card:hover, .service-card:focus-visible { border-color: var(--a-blue); color: var(--a-ink); }
.service-card-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.service-card-body h3 { font-size: 1.3125rem; line-height: 1.25; }
.service-card-tagline { color: var(--a-muted); font-size: 0.9375rem; }
.service-card-list { flex: 1; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.service-card-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.4rem; font-size: 0.9375rem; }
.service-card-list li::before, .pricing-tier-features li::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  width: 0.7rem;
  height: 0.4rem;
  border-left: 2px solid var(--a-blue);
  border-bottom: 2px solid var(--a-blue);
  transform: rotate(-45deg);
}
.service-card-list li::before { top: 0.45em; }
.service-card-link { color: var(--a-blue); font-weight: 700; font-size: 0.9375rem; }
.cta-box-blue { background: #fff; border: 1px solid var(--a-border); border-left: 4px solid var(--a-blue); border-radius: var(--a-radius); padding: 2rem; margin: 0; }

/* Pricing ------------------------------------------------------------------ */
.pricing-tier {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
}
.pricing-tier.is-featured { border: 2px solid var(--a-blue); }
.pricing-tier-badge {
  position: absolute;
  top: 0;
  right: 1.25rem;
  transform: translateY(-50%);
  background: var(--a-blue);
  color: #fff;
  border-radius: var(--a-radius-btn);
  padding: 0.3rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pricing-tier-header { padding: 1.5rem 1.5rem 1.25rem; border-bottom: 1px solid var(--a-border); }
.pricing-tier-name { color: var(--a-blue); font-size: 0.875rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pricing-tier-tagline { color: var(--a-muted); font-size: 0.9375rem; }
.pricing-tier-price { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0; }
.pricing-tier-price small { color: var(--a-muted); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; }
.pricing-tier-priceline { color: var(--a-muted); font-size: 0.875rem; margin: 0.4rem 0 0; }
.pricing-tier-body { flex: 1; padding: 1rem 1.5rem; }
.pricing-tier-features { list-style: none; margin: 0; padding: 0; }
.pricing-tier-features li { position: relative; padding: 0.45rem 0 0.45rem 1.75rem; border-bottom: 1px solid var(--a-tint); font-size: 0.9375rem; }
.pricing-tier-features li:last-child { border-bottom: 0; }
.pricing-tier-features li::before { top: 0.9em; }
.pricing-tier-features li.is-disabled { color: var(--a-muted); }
.pricing-tier-features li.is-disabled::before { content: "\00D7"; border: 0; transform: none; width: auto; height: auto; top: 0.4rem; left: 0.2rem; font-weight: 800; }
.pricing-tier-footer { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--a-border); }

.pricing-compare-table {
  width: 100%;
  min-width: 640px;
  background: #fff;
  border: 1px solid var(--a-border);
  border-radius: var(--a-radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 0.9375rem;
}
.pricing-compare-table th, .pricing-compare-table td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--a-border); vertical-align: top; }
.pricing-compare-table td { text-align: center; }
.pricing-compare-table td.text-left { text-align: left; }
.pricing-compare-table th { width: 28%; text-align: left; font-weight: 700; }
.pricing-compare-table thead th { background: var(--a-navy); color: #fff; text-align: center; border-bottom: 0; }
.pricing-compare-table tbody tr:last-child > * { border-bottom: 0; }
.pricing-compare-table .section-row td, .pricing-compare-table .section-row th { background: var(--a-tint); color: var(--a-blue-dark); font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pricing-compare-table .bi-check-lg { color: var(--a-blue); font-size: 1.25rem; -webkit-text-stroke: 0.5px; }
.pricing-compare-table .bi-x-lg { color: #8a99ad; font-size: 1rem; }
.small-citation { display: block; color: var(--a-muted); font-size: 0.78rem; font-weight: 500; margin-top: 0.2rem; }

/* Small screens: fit all three packages across the screen. */
@media (max-width: 767.98px) {
  .pricing-compare-table { min-width: 0; table-layout: fixed; font-size: 0.75rem; line-height: 1.35; }
  .pricing-compare-table th, .pricing-compare-table td { padding: 0.55rem 0.25rem; overflow-wrap: break-word; hyphens: auto; }
  .pricing-compare-table thead th { width: 24%; font-size: 0.6875rem; }
  .pricing-compare-table thead th:first-child { width: 28%; }
  .pricing-compare-table .small-citation { font-size: 0.6875rem; }
  .pricing-compare-table tbody th { hyphens: manual; } /* row labels wrap between words */
}
@media (max-width: 399.98px) {
  .pricing-compare-table { font-size: 0.6875rem; }
  .pricing-compare-table th, .pricing-compare-table td { padding-left: 0.2rem; padding-right: 0.2rem; }
  .pricing-compare-table thead th { font-size: 0.625rem; }
  .pricing-compare-table .small-citation { font-size: 0.625rem; }
}

/* Contact ------------------------------------------------------------------ */
.page-included h3 { font-size: 1.0625rem; margin-bottom: 0.15rem; }
.page-included p { font-size: 0.9375rem; margin-bottom: 0; }
.page-keypoint a { overflow-wrap: anywhere; }
.page-section .card { --bs-card-border-radius: var(--a-radius); border-radius: var(--a-radius); }

/* Compact hero with a small round picture (contact, Speak to Darren, telecoms demo) */
.page-hero-portrait {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.page-hero-portrait-name { margin: 0.9rem 0 0; text-align: center; font-weight: 700; }
.page-hero-portrait-role { margin: 0; text-align: center; color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }
@media (min-width: 992px) {
  .page-hero.page-hero-compact { min-height: 0; padding: 3.5rem 0; }
  .page-hero.page-hero-compact .col-lg-7 > *, .page-hero.page-hero-compact .col-lg-8 > * { max-width: 640px; }
  .page-hero-portrait { width: 260px; height: 260px; }
  .page-hero-portrait.page-hero-portrait-person { width: 200px; height: 200px; }

  /* Heading kept on one line (contact page); the usual size returns once there is room. */
  .page-hero.page-hero-compact .col-lg-9 > * { max-width: 640px; }
  .page-hero.page-hero-compact .page-hero-title-oneline { max-width: none; white-space: nowrap; }
  .page-hero.page-hero-compact .col-lg-3 .page-hero-portrait { width: 210px; height: 210px; }
}
@media (min-width: 1200px) {
  .page-hero.page-hero-compact .col-lg-3 .page-hero-portrait { width: 250px; height: 250px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-hero.page-hero-compact .page-hero-title-oneline { font-size: 2.75rem; }
}

/* Short message pages (404, thank you, unsubscribed) */
.page-hero.page-hero-message { padding-top: 6rem; padding-bottom: 6rem; }

/* Long-form text and tables (privacy policy) */
.page-prose h2 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); }
.page-prose h4, .page-prose h3.mt-4 { font-size: 1.0625rem; }
.page-prose a { overflow-wrap: anywhere; }
.page-table { font-size: 0.9375rem; }
.page-table > thead > tr > th { --bs-table-bg: var(--a-navy); --bs-table-color: #fff; }

/* Heading fit ---------------------------------------------------------------
   Text-only heroes get a wider column; headings beside a photograph are a
   little smaller and, where the photograph allows, a little wider.            */
@media (min-width: 992px) {
  .page-hero.page-hero-centered .col-lg-8 { width: 83.333333%; }
  .page-hero.page-hero-centered .page-hero-dek { max-width: 760px; margin-left: auto; margin-right: auto; }
  .page-hero:not(.page-hero-centered):not(.page-hero-compact) .page-hero-title { font-size: clamp(2.25rem, 0.9rem + 2.2vw, 3rem); }
  .page-hero:not(.page-hero-framed):not(.page-hero-centered):not(.page-hero-compact) .col-lg-7 > .page-hero-title { max-width: 460px; }
}
@media (min-width: 1200px) {
  .page-hero:not(.page-hero-framed):not(.page-hero-centered):not(.page-hero-compact) .col-lg-7 > .page-hero-title { max-width: 560px; }
}
@media (min-width: 1400px) {
  .page-hero:not(.page-hero-framed):not(.page-hero-centered):not(.page-hero-compact) .col-lg-7 > .page-hero-title { max-width: 600px; }
}

@media (min-width: 992px) {
  .page-section .col-lg-5 > h2 { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.25rem); }
}
/* Framed pictures sit in their own column, so the heading can use all of its own. */
@media (min-width: 992px) {
  .page-hero.page-hero-framed .col-lg-7 > .page-hero-title { max-width: none; }
}
@media (max-width: 575.98px) {
  .page-hero .page-hero-title { font-size: 1.875rem; }
}

@media (max-width: 991.98px) {
  .page-section .row.g-5 { --bs-gutter-x: 1.5rem; }
}

@media (max-width: 575.98px) {
  .page-section { padding: 2.75rem 0; }
  .page-hero { padding: 2.5rem 0; }
  .page-hero-cta .btn, .page-cta .btn { width: 100%; margin-right: 0 !important; }
}

/* Headline figures (PSTN page) --------------------------------------------- */
.page-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.page-stat { background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 1.25rem; }
.page-stat strong { display: block; color: var(--a-blue); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; line-height: 1.15; margin-bottom: 0.35rem; }
.page-stat span { display: block; font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 992px) { .page-stats-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 399.98px) { .page-stats { grid-template-columns: minmax(0, 1fr); } }

/* Option cards with a picture (PSTN page) ---------------------------------- */
.page-option { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); }
.page-option img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.page-option-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.35rem 1.25rem; }
.page-option h3 { font-size: 1.1875rem; line-height: 1.3; }
.page-option p { font-size: 0.9375rem; }
.page-option .page-option-need { margin-top: auto; }

/* Upright photograph beside text (PSTN page) */
.page-side-img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: var(--a-radius); }

/* Form beside a list (partner referral page) ------------------------------- */
.page-formbox { background: #fff; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 2rem; box-shadow: 0 12px 28px rgba(10, 27, 50, 0.08); }
.page-formbox h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.25rem; }
.page-formbox-note { color: var(--a-muted); font-size: 0.875rem; margin: 1rem 0 0; }
@media (max-width: 575.98px) { .page-formbox { padding: 1.35rem 1.25rem; } }

/* 404 page ----------------------------------------------------------------- */
.page-404-logo { display: block; width: 240px; max-width: 70%; height: auto; margin: 0 auto 2rem; }
.page-404-link { display: block; height: 100%; color: inherit; text-decoration: none; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.page-404-link:hover, .page-404-link:focus-visible { color: inherit; border-color: var(--a-blue); box-shadow: 0 12px 28px rgba(10, 27, 50, 0.12); }
.page-404-link p { margin-bottom: 0; }
