/* Formexi CNC website - clean industrial system
   Reference direction: current jg.semitanker.com Elementor style
   Typography requested: p 15px / h1 40px / h2 30px / h3 22px / h4 18px */

:root {
  --fx-navy-950: #061b36;
  --fx-navy-900: #10233f;
  --fx-navy-800: #102845;
  --fx-blue-700: #0b5ed7;
  --fx-blue-600: #1f6fff;
  --fx-blue-100: #eef5ff;
  --fx-blue-050: #f7faff;
  --fx-orange-600: #ff6b00;
  --fx-orange-500: #fa7530;
  --fx-orange-100: #fff2e8;
  --fx-text: #22314a;
  --fx-muted: #526071;
  --fx-soft: #f6f9fd;
  --fx-white: #ffffff;
  --fx-border: #e3eaf2;
  --fx-border-strong: #d5e0ec;
  --fx-shadow-sm: 0 8px 24px rgba(16, 35, 63, 0.07);
  --fx-shadow-md: 0 18px 45px rgba(16, 35, 63, 0.12);
  --fx-radius-sm: 5px;
  --fx-radius-md: 10px;
  --fx-radius-lg: 16px;
  --fx-content: 1400px;
  --fx-reading: 880px;
  --fx-section-space: 34px;
  --fx-font: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--fx-text);
  font-family: var(--fx-font);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: min(calc(100vw - 48px), var(--fx-content));
  max-width: none;
  margin: 0 0 0 50%;
  padding: 0 0 78px;
  color: var(--fx-text);
  font-family: var(--fx-font);
  font-size: 15px;
  line-height: 1.72;
  transform: translateX(-50%);
}

.page * {
  box-sizing: border-box;
}

.page img,
.page svg,
.page video {
  display: block;
  max-width: 100%;
}

.page a {
  color: var(--fx-blue-700);
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.page a:hover {
  color: var(--fx-orange-600);
}

.page p,
.page li,
.page td,
.page dd {
  color: var(--fx-muted);
  font-size: 15px;
}

.page p {
  margin: 0 0 18px;
}

.page h1,
.page h2,
.page h3,
.page h4 {
  margin: 0;
  color: var(--fx-navy-900);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.page h1 {
  margin-bottom: 18px;
  color: var(--fx-white);
  font-size: 40px;
  line-height: 1.14;
}

.page h2 {
  margin-bottom: 16px;
  font-size: 30px;
}

.page h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.page h4 {
  margin-bottom: 9px;
  font-size: 18px;
}

.page strong {
  color: var(--fx-navy-900);
  font-weight: 750;
}

.page ul,
.page ol {
  margin: 0 0 20px;
  padding-left: 23px;
}

.page li {
  margin: 8px 0;
}

.page li::marker {
  color: var(--fx-orange-600);
  font-weight: 800;
}

.page blockquote {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 4px solid var(--fx-orange-600);
  border-radius: 0 var(--fx-radius-sm) var(--fx-radius-sm) 0;
  background: var(--fx-orange-100);
  color: var(--fx-navy-900);
}

.page > article,
.page > header,
.page > section {
  min-width: 0;
}

/* Hero */
.page .hero {
  position: relative;
  margin: 0 0 0;
  padding: 76px 64px 82px;
  overflow: hidden;
  border-radius: 0 0 var(--fx-radius-lg) var(--fx-radius-lg);
  background:
    linear-gradient(115deg, rgba(11, 94, 215, 0.22), rgba(255, 107, 0, 0.08) 46%, rgba(6, 27, 54, 0.02)),
    linear-gradient(135deg, #061b36 0%, #10233f 54%, #0b3f78 100%);
  box-shadow: var(--fx-shadow-md);
}

.page .hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(31, 111, 255, 0.32), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  content: "";
  opacity: 0.75;
  pointer-events: none;
}

.page .hero > * {
  position: relative;
  z-index: 1;
}

.page .hero h1,
.page .hero h2,
.page .hero h3,
.page .hero strong {
  color: var(--fx-white);
}

.page .hero > p:not(.eyebrow),
.page .hero-copy > p:not(.eyebrow) {
  max-width: 820px;
  margin-bottom: 0;
  color: #dbe9ff;
  font-size: 15px;
  line-height: 1.78;
}

.page .hero.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: 48px;
}

.page .hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--fx-orange-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.page .eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

/* Buttons */
.page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 0;
}

.page .button,
.page button,
.page input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 13px 24px;
  border: 1px solid var(--fx-blue-700);
  border-radius: 6px;
  background: var(--fx-blue-700);
  color: #fff;
  font-family: var(--fx-font);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.page .button:hover,
.page button:hover,
.page input[type="submit"]:hover {
  border-color: var(--fx-blue-600);
  background: var(--fx-blue-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(11, 94, 215, 0.2);
}

.page .button.primary,
.page button.primary,
.page input[type="submit"] {
  border-color: var(--fx-orange-600);
  background: var(--fx-orange-600);
}

.page .button.primary:hover,
.page button.primary:hover,
.page input[type="submit"]:hover {
  border-color: var(--fx-orange-500);
  background: var(--fx-orange-500);
  box-shadow: 0 12px 24px rgba(255, 107, 0, 0.24);
}

.page .button.secondary {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Media */
.page .media {
  position: relative;
  margin: 30px 0;
}

.page .media img,
.page .media video,
.page .image-placeholder {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #e8eef5;
  box-shadow: var(--fx-shadow-sm);
  object-fit: cover;
}

.page .media--hero {
  position: relative;
  z-index: 2;
  margin: 0;
}

.page .page-hero-image {
  z-index: 2;
  width: min(calc(100% - 96px), 1080px);
  margin: -48px auto 36px;
}

.page .page-process-image,
.page .page-evidence-image {
  width: min(100%, 1080px);
  margin-right: auto;
  margin-left: auto;
}

.page .page-hero-image img {
  aspect-ratio: 16 / 8.6;
  border: 6px solid #fff;
  box-shadow: 0 22px 48px rgba(16, 35, 63, 0.18);
}

.page .media--hero img,
.page .media--hero .image-placeholder {
  aspect-ratio: 4 / 3;
  min-height: 340px;
  border-color: rgba(255, 255, 255, 0.24);
}

.page .media--wide img,
.page .media--wide .image-placeholder {
  aspect-ratio: 16 / 9;
}

.page .media--process img,
.page .media--process .image-placeholder {
  aspect-ratio: 12 / 5;
}

.page .media--card img,
.page .media--card .image-placeholder {
  aspect-ratio: 3 / 2;
}

.page .media--square img,
.page .media--square .image-placeholder {
  aspect-ratio: 1 / 1;
}

.page .media--portrait img,
.page .media--portrait .image-placeholder {
  aspect-ratio: 4 / 5;
}

.page .media--report img,
.page .media--report .image-placeholder {
  aspect-ratio: 4 / 3;
}

.page .media--technical img {
  padding: 14px;
  background: #fff;
  object-fit: contain;
}

.page .media figcaption {
  margin-top: 9px;
  color: #748198;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.page .hero .media figcaption {
  color: #c8d7ea;
}

.page .image-placeholder {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  color: var(--fx-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.page .image-placeholder::before {
  display: block;
  margin-bottom: 8px;
  color: var(--fx-orange-600);
  content: "IMAGE";
}

/* In-page navigation */
.page nav[aria-label="On this page"] {
  display: flex;
  position: sticky;
  z-index: 8;
  top: 0;
  gap: 8px;
  margin: 24px 0;
  padding: 12px;
  overflow-x: auto;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--fx-shadow-sm);
  backdrop-filter: blur(10px);
}

.page nav[aria-label="On this page"] a {
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 5px;
  color: var(--fx-navy-900);
  font-size: 13px;
  text-decoration: none;
}

.page nav[aria-label="On this page"] a:hover {
  background: var(--fx-blue-100);
  color: var(--fx-blue-700);
}

/* Main sections */
.page article > section,
.page > section:not(.hero):not(.final-cta) {
  margin: 24px 0;
  padding: 36px 40px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(16, 35, 63, 0.045);
}

.page article > section:nth-of-type(even):not(.no-panel),
.page > section:nth-of-type(even):not(.hero):not(.final-cta):not(.no-panel) {
  background: var(--fx-blue-050);
}

.page article > section > p,
.page article > section > ul,
.page article > section > ol,
.page > section > p,
.page > section > ul,
.page > section > ol {
  max-width: var(--fx-reading);
}

.page article > section > h2:first-child::before,
.page > section > h2:first-child::before {
  display: block;
  width: 44px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--fx-orange-600);
  content: "";
}

/* Cards */
.page .card-grid,
.page .evidence-grid,
.page .media-grid,
.page .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 26px 0;
}

.page .card,
.page .evidence-card,
.page .metric-card,
.page .card-grid > article,
.page .card-grid > section,
.page .card-grid > div {
  padding: 24px;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--fx-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page .card:hover,
.page .evidence-card:hover,
.page .card-grid > article:hover,
.page .card-grid > div:hover {
  border-color: #c9dcf5;
  transform: translateY(-2px);
  box-shadow: var(--fx-shadow-md);
}

.page .metric-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--fx-navy-900);
  font-size: 24px;
  line-height: 1.2;
}

/* Marketing layout modules */
.page .section-heading {
  max-width: 820px;
  margin: 0 0 26px;
}

.page .section-heading p:not(.eyebrow) {
  max-width: 760px;
}

.page .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0;
}

.page .feature-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.page .feature-grid > article {
  position: relative;
  min-height: 190px;
  padding: 28px 24px 24px;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--fx-shadow-sm);
}

.page .feature-grid > article::after {
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: rgba(11, 94, 215, 0.08);
  content: "";
}

.page .feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--fx-blue-100);
  color: var(--fx-blue-700);
  font-size: 13px;
  font-weight: 800;
}

.page .split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 46px;
}

.page .split-section--image-left {
  grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
}

.page .split-section .media {
  margin: 0;
}

.page .split-copy {
  min-width: 0;
}

.page .check-list,
.page .check-grid {
  padding-left: 0;
  list-style: none;
}

.page .check-list li,
.page .check-grid li {
  position: relative;
  padding-left: 30px;
}

.page .check-list li::before,
.page .check-grid li::before {
  position: absolute;
  top: 0.22em;
  left: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fx-orange-600);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  content: "✓";
}

.page .process-steps {
  background:
    linear-gradient(135deg, rgba(11, 94, 215, 0.08), rgba(255, 107, 0, 0.04)),
    var(--fx-blue-050) !important;
}

.page .step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 18px;
}

.page .step-grid > article {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--fx-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--fx-shadow-sm);
}

.page .step-grid > article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--fx-navy-900);
  color: #fff;
  font-weight: 800;
}

.page .note {
  max-width: 900px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--fx-orange-600);
  border-radius: 8px;
  background: #fff;
  color: var(--fx-navy-900);
}

.page .mini-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.page .mini-card-grid > article {
  padding: 20px 18px;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: var(--fx-blue-050);
}

.page .check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 24px;
}

.page .check-grid li {
  margin: 0;
  padding: 16px 18px 16px 48px;
  border: 1px solid var(--fx-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(16, 35, 63, 0.045);
}

.page .check-grid li::before {
  top: 17px;
  left: 18px;
}

.page .compact-section {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

.page .final-cta--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.page .final-cta--split .actions {
  justify-content: flex-end;
  margin: 0;
}

/* Tables */
.page table {
  display: block;
  width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border: 1px solid var(--fx-border);
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--fx-shadow-sm);
  font-size: 14px;
  white-space: normal;
}

.page thead,
.page tbody {
  display: table-row-group;
}

.page thead {
  display: table-header-group;
  background: var(--fx-navy-900);
}

.page tr {
  display: table-row;
}

.page th,
.page td {
  display: table-cell;
  min-width: 150px;
  padding: 14px 16px;
  border-right: 1px solid var(--fx-border);
  border-bottom: 1px solid var(--fx-border);
  text-align: left;
  vertical-align: top;
}

.page th {
  color: #fff;
  font-weight: 720;
  line-height: 1.45;
}

.page td {
  line-height: 1.58;
}

.page tbody tr:nth-child(even) {
  background: #f7faff;
}

.page tbody tr:hover {
  background: var(--fx-blue-100);
}

.page th:last-child,
.page td:last-child {
  border-right: 0;
}

.page tbody tr:last-child td {
  border-bottom: 0;
}

/* Forms */
.page form {
  margin: 28px 0;
}

.page fieldset {
  margin: 0 0 24px;
  padding: 26px;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #fff;
}

.page legend,
.page label {
  color: var(--fx-navy-900);
  font-weight: 700;
}

.page label {
  display: block;
  margin: 0 0 7px;
  font-size: 14px;
}

.page input,
.page select,
.page textarea {
  width: 100%;
  min-height: 46px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border: 1px solid #cbd7e4;
  border-radius: 6px;
  background: #fff;
  color: var(--fx-text);
  font: inherit;
}

.page textarea {
  min-height: 140px;
  resize: vertical;
}

.page input:focus,
.page select:focus,
.page textarea:focus {
  border-color: var(--fx-blue-700);
  box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.13);
  outline: 0;
}

/* Final CTA */
.page .final-cta {
  margin-top: 42px;
  padding: 46px 52px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 12%, rgba(31, 111, 255, 0.28), transparent 34%),
    linear-gradient(135deg, #061b36, #10233f);
  box-shadow: var(--fx-shadow-md);
}

.page .final-cta h2,
.page .final-cta h3,
.page .final-cta strong {
  color: #fff;
}

.page .final-cta p {
  max-width: 760px;
  color: #dbe9ff;
}

.page .final-cta > a:not(.button) {
  display: inline-block;
  margin: 6px 14px 6px 0;
  color: #cfe1ff;
}

.page .final-cta .button,
.page .final-cta > .button {
  margin: 8px 10px 0 0;
}

/* Notes */
.page .editorial-note,
.page .notice,
.page .conditional-capability {
  margin: 30px 0;
  padding: 24px 26px;
  border: 1px solid #ffd8b8;
  border-left: 5px solid var(--fx-orange-600);
  border-radius: 10px;
  background: var(--fx-orange-100);
}

.page .editorial-note h2,
.page .notice h2,
.page .conditional-capability h2 {
  margin-bottom: 10px;
  color: #8c3d00;
  font-size: 22px;
}

.page .editorial-note p,
.page .notice p,
.page .conditional-capability p {
  margin-bottom: 0;
  color: #6a4b32;
}

/* Definition lists and FAQ */
.page dl {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  margin: 24px 0;
  border-top: 1px solid var(--fx-border);
}

.page dt,
.page dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--fx-border);
}

.page dt {
  padding-right: 20px;
  color: var(--fx-navy-900);
  font-weight: 750;
}

.page details {
  margin: 12px 0;
  border: 1px solid var(--fx-border);
  border-radius: 8px;
  background: #fff;
}

.page summary {
  padding: 16px 18px;
  color: var(--fx-navy-900);
  font-weight: 750;
  cursor: pointer;
}

.page details > p,
.page details > div {
  padding: 0 18px 18px;
}

/* Proof strip */
.page .proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid var(--fx-border);
  border-radius: 12px;
  background: #fff;
}

.page .proof-strip > div {
  padding: 18px;
  border-right: 1px solid var(--fx-border);
}

.page .proof-strip > div:last-child {
  border-right: 0;
}

.page .proof-strip strong {
  display: block;
  font-size: 18px;
}

.page .proof-strip span {
  color: var(--fx-muted);
  font-size: 12px;
}

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

.page .media-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media print {
  .page {
    width: 100%;
    padding: 0;
    color: #000;
  }

  .page .hero,
  .page .final-cta {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .page .hero h1,
  .page .hero p,
  .page .final-cta h2,
  .page .final-cta p {
    color: #000;
  }

  .page nav[aria-label="On this page"],
  .page .button {
    display: none;
  }
}

@media (max-width: 1440px) {
  :root {
    --fx-content: 1200px;
    --fx-reading: 820px;
  }

  .page {
    width: min(calc(100vw - 40px), var(--fx-content));
  }
}

@media (max-width: 980px) {
  .page {
    width: min(calc(100vw - 32px), 100%);
  }

  .page .hero {
    padding: 58px 34px 70px;
  }

  .page .hero.has-media {
    grid-template-columns: 1fr;
  }

  .page .hero.has-media .media--hero {
    max-width: 720px;
  }

  .page article > section,
  .page > section:not(.hero):not(.final-cta) {
    padding: 30px 28px;
  }

  .page .card-grid,
  .page .evidence-grid,
  .page .feature-grid,
  .page .media-grid,
  .page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page .media-grid--4,
  .page .step-grid,
  .page .check-grid,
  .page .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page .split-section,
  .page .split-section--image-left {
    grid-template-columns: 1fr;
  }

  .page .split-section--image-left .media {
    order: 2;
  }

  .page .split-section--image-left .split-copy {
    order: 1;
  }

  .page .final-cta--split {
    grid-template-columns: 1fr;
  }

  .page .final-cta--split .actions {
    justify-content: flex-start;
  }

  .page .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .page .proof-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--fx-border);
  }
}

@media (max-width: 680px) {
  :root {
    --fx-section-space: 30px;
  }

  .page {
    width: min(calc(100vw - 24px), 100%);
    padding-bottom: 54px;
  }

  .page .hero {
    padding: 44px 22px 56px;
    border-radius: 0 0 12px 12px;
  }

  .page h1 {
    font-size: 40px;
  }

  .page h2 {
    font-size: 30px;
  }

  .page h3 {
    font-size: 22px;
  }

  .page h4 {
    font-size: 18px;
  }

  .page p,
  .page li {
    font-size: 15px;
  }

  .page article > section,
  .page > section:not(.hero):not(.final-cta) {
    margin: 18px 0;
    padding: 24px 20px;
    border-radius: 10px;
  }

  .page .card-grid,
  .page .evidence-grid,
  .page .feature-grid,
  .page .media-grid,
  .page .media-grid--2,
  .page .media-grid--4,
  .page .mini-card-grid,
  .page .step-grid,
  .page .check-grid,
  .page .metric-grid,
  .page .proof-strip {
    grid-template-columns: 1fr;
  }

  .page .proof-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--fx-border);
  }

  .page .proof-strip > div:last-child {
    border-bottom: 0;
  }

  .page .final-cta {
    padding: 30px 24px;
  }

  .page .button,
  .page button,
  .page input[type="submit"] {
    width: 100%;
  }

  .page dl {
    grid-template-columns: 1fr;
  }

  .page dt {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .page dd {
    padding-top: 4px;
  }

  .page .media--hero img,
  .page .media--hero .image-placeholder {
    min-height: 260px;
  }

  .page .page-hero-image {
    width: calc(100% - 20px);
    margin-top: -30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Full-width page bands with centered content containers */
html,
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
}

.page {
  position: relative;
  left: 50%;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-right: -50vw !important;
  margin-left: -50vw !important;
  transform: none !important;
}

.page .section-inner {
  width: min(calc(100% - 48px), 1400px);
  max-width: 1400px;
  margin-right: auto;
  margin-left: auto;
}

.page > section,
.page > article > section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.page > section:not(.hero):not(.final-cta),
.page > article > section {
  padding: 72px 0 !important;
}

.page .hero,
.page .hero.has-media {
  display: block;
  padding: 0;
  border-radius: 0;
}

.page .hero > .section-inner {
  position: relative;
  z-index: 1;
  padding-top: 76px;
  padding-bottom: 82px;
}

.page .hero.has-media > .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr);
  align-items: center;
  gap: 48px;
  min-height: 620px;
}

.page .hero.has-media .hero-copy {
  align-self: center;
}

.page .hero.has-media .media--hero {
  align-self: stretch;
  display: flex;
  margin: 0;
}

.page .hero.has-media .media--hero img {
  width: 100%;
  min-height: 520px;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.page .final-cta {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.page .final-cta > .section-inner {
  padding-top: 46px;
  padding-bottom: 46px;
}

.page .final-cta.final-cta--split {
  display: block;
}

.page .final-cta.final-cta--split > .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.page .section-inner > p,
.page .section-inner > ul,
.page .section-inner > ol {
  max-width: var(--fx-reading);
}

/* Alternating image-and-copy sections */
.page .media-split-section .split-section {
  align-items: stretch;
  gap: 40px;
}

.page .media-split-section .split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding: 48px;
  background: #08477c;
}

.page .media-split-section .split-copy > h2,
.page .media-split-section .split-copy > h3,
.page .media-split-section .split-copy > p,
.page .media-split-section .split-copy > ul,
.page .media-split-section .split-copy > ol,
.page .media-split-section .split-copy > ul li,
.page .media-split-section .split-copy > ol li {
  color: #fff;
}

.page .media-split-section .split-copy > a,
.page .media-split-section .split-copy > p a {
  color: #b9dcff;
}

.page .media-split-section .media {
  align-self: stretch;
  display: flex;
  margin: 0;
}

.page .media-split-section .media img {
  width: 100%;
  min-height: 460px;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

@media (max-width: 1539px) {
  .page .section-inner {
    width: min(calc(100% - 40px), 1280px);
    max-width: 1280px;
  }
}

@media (max-width: 980px) {
  .page .section-inner {
    width: calc(100% - 40px);
    max-width: none;
  }

  .page .hero.has-media > .section-inner,
  .page .final-cta.final-cta--split > .section-inner {
    grid-template-columns: 1fr;
  }

  .page .hero.has-media > .section-inner {
    min-height: auto;
  }

  .page .hero.has-media .media--hero img {
    min-height: 320px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .page .media-split-section .split-copy {
    min-height: auto;
    padding: 36px 30px;
  }

  .page .media-split-section .media img {
    min-height: 300px;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .page > section:not(.hero):not(.final-cta),
  .page > article > section {
    padding: 56px 0 !important;
  }
}

@media (max-width: 680px) {
  .page .section-inner {
    width: calc(100% - 40px);
  }

  .page .hero > .section-inner {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .page .final-cta > .section-inner {
    padding-top: 38px;
    padding-bottom: 38px;
  }
}
