/* Product pages - layout and style modelled on the ordinexis.com product pages */

.ox {
  --ink: #1c2539; --muted: #4b5566; --green: rgb(21, 50, 146); --green-dark: #0c1a35; --orange: #f06a2e;
  --line: #d7dce3; --soft: #f5f7fa; --mint: #f5f7fa; --radius: 4px; --space: 96px;
  font-family: "Outfit", "Helvetica Neue", Arial, sans-serif; color: var(--ink);
  font-size: 16px; line-height: 1.65; letter-spacing: 0; background: #fff;
}
.ox *, .ox *::before, .ox *::after { box-sizing: border-box; }
.ox h1, .ox h2, .ox h3, .ox p, .ox figure, .ox ol, .ox ul, .ox dl, .ox dd { margin: 0; padding: 0; }
.ox h1, .ox h2, .ox h3 { font-weight: 550; line-height: 1.13; color: var(--ink); text-wrap: balance; letter-spacing: 0; }
.ox h2 { font-size: 40px; }
.ox h3 { font-size: 22px; line-height: 1.3; }
.ox p { color: var(--muted); }
.ox a { color: inherit; text-decoration: none; }
.ox img { display: block; max-width: 100%; height: auto; }
.ox .wrap { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; }
.ox .section { padding-block: var(--space); }
.ox .eyebrow { font-size: 14px; font-weight: 700; color: var(--orange); margin: 0 0 22px; line-height: 1.5; text-transform: uppercase; letter-spacing: 1.5px; }
.ox .eyebrow::before { display: none; }
.ox .lede { font-size: 19px; line-height: 1.65; max-width: 650px; }
.ox .actions { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.ox .btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 52px;
  padding: 13px 22px; background: var(--orange); color: #fff; font-size: 15px; font-weight: 550;
  border: 1px solid transparent; border-radius: var(--radius); line-height: 1.4; transition: background .18s ease;
}
.ox .btn:hover { background: #d95a20; color: #fff; }
.ox .text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 600; padding: 5px 0; }
.ox .text-link:hover { color: var(--green); }
.ox .icon { width: 20px; height: 20px; flex-shrink: 0; }

/* hero */
.ox .detail-hero { padding: 150px 0 46px; }
.ox .detail-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.ox .detail-hero h1 { font-size: 48px; margin-bottom: 26px; }
.ox .h1-descriptor { display: block; margin-top: 12px; color: var(--muted); font-size: 17px; font-weight: 600; line-height: 1.3; }
.ox .detail-hero .lede { font-size: 17px; margin-bottom: 27px; }
.ox .product-brandline { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.ox .product-brandline .brand-mark {
  width: 42px; height: 42px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 20px; background: var(--green);
}
.ox .product-brandline .eyebrow { margin: 0; }
.ox .product-promise { color: var(--green); font-size: 27px; line-height: 1.35; margin-bottom: 22px; max-width: 530px; font-weight: 650; }
.ox .demo-notice { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); max-width: 540px; }
.ox .demo-notice p { font-size: 14px; line-height: 1.65; }
.ox .demo-notice strong { color: var(--green); font-weight: 600; }
.ox .platform-preview { min-width: 0; width: 100%; }
.ox .platform-toolbar { display: flex; align-items: center; border-bottom: 1px solid #d7dce3; padding: 0 0 14px; margin-bottom: 15px; }
.ox .platform-toolbar > span { font-size: 13px; font-weight: 650; color: var(--ink); }
.ox .platform-image {
  display: block; aspect-ratio: 1.44; background: #f8f8fa; overflow: hidden; border: 1px solid #d7dce3;
  border-radius: 14px; box-shadow: 0 20px 36px -23px #0c1a3526;
}
.ox .platform-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.ox .platform-image:hover img { transform: scale(1.02); }
.ox .platform-preview figcaption { display: grid; gap: 6px; margin-top: 16px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.ox .fact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1px solid var(--line); margin-top: 52px; padding-top: 26px; }
.ox .fact-grid > div { padding-right: 25px; border-right: 1px solid var(--line); }
.ox .fact-grid > div:last-child { border: 0; }
.ox .fact-grid dt { font-size: 27px; line-height: 1.3; font-weight: 550; margin-bottom: 8px; color: var(--ink); }
.ox .fact-grid dd { font-size: 13px; color: var(--muted); max-width: 330px; }

/* page nav */
.ox .page-nav { background: var(--soft); border-block: 1px solid var(--line); }
.ox .page-nav > .wrap { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.ox .page-nav span { font-size: 12px; color: var(--muted); margin-right: auto; }
.ox .page-nav a { font-size: 13px; font-weight: 500; padding-block: 21px; min-height: 44px; }
.ox .page-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }

/* sections */
.ox .content-section { border-bottom: 1px solid var(--line); }
.ox .section-heading .eyebrow { margin-bottom: 16px; }
.ox .section-heading h2 { max-width: 750px; }
.ox .section-heading > p:last-child:not(.eyebrow) { margin-top: 22px; max-width: 680px; }
.ox .content-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.ox .content-split .section-heading h2 { font-size: 36px; }
.ox .use-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; margin-top: 42px; }
.ox .use-list article { display: flex; align-items: flex-start; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); min-width: 0; }
.ox .item-number { font-size: 13px; color: var(--green); padding-top: 4px; }
.ox .use-list h3 { font-size: 21px; margin-bottom: 10px; }
.ox .use-list p { font-size: 16px; }
.ox .capability { border-top: 1px solid #d7dce3; }
.ox .capability:last-child { border-bottom: 1px solid #d7dce3; }
.ox .capability summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 77px; padding: 21px 0; cursor: pointer; list-style: none; }
.ox .capability summary::-webkit-details-marker { display: none; }
.ox .capability h3 { font-size: 20px; font-weight: 500; }
.ox .capability summary .icon { color: var(--green); transition: transform .2s; }
.ox .capability[open] summary .icon { transform: rotate(180deg); }
.ox .capability > div { padding: 0 30px 25px 0; font-size: 16px; }
.ox .section-process { background: #f5f7fa; }
.ox .process-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 42px; }
.ox .process-steps li { border-top: 1px solid var(--line); padding-top: 20px; position: relative; }
.ox .step-number { display: block; font-size: 12px; color: var(--orange); margin-bottom: 22px; }
.ox .process-steps h3 { font-size: 21px; margin-bottom: 13px; }
.ox .process-steps p { font-size: 15px; }

/* contact band */
.ox .contact-band { background: var(--green-dark); color: #fff; padding: 72px 0; }
.ox .contact-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.ox .contact-band h2 { font-size: 38px; max-width: 530px; color: #fff; }
.ox .contact-band .eyebrow { color: var(--orange); }
.ox .contact-band p { color: #d7dce3; font-size: 17px; max-width: 490px; }
.ox .contact-band .actions { margin-top: 25px; }
.ox .contact-band .btn { background: var(--orange); color: #fff; }
.ox .contact-band .btn:hover { background: #d95a20; color: #fff; }
.ox .contact-band .text-link { color: #fff; }

@media (max-width: 1200px) { .ox .wrap { width: calc(100% - 72px); } .ox .detail-hero-grid { gap: 50px; } .ox .detail-hero h1 { font-size: 42px; } .ox .content-split { gap: 60px; } }
@media (max-width: 1000px) {
  .ox { --space: 72px; }
  .ox h2 { font-size: 35px; }
  .ox .detail-hero-grid { gap: 35px; }
  .ox .detail-hero h1 { font-size: 38px; }
  .ox .content-split { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .ox .content-split .section-heading h2 { font-size: 30px; }
  .ox .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px; }
  .ox .use-list { gap: 0 35px; }
  .ox .contact-band-grid { gap: 50px; }
  .ox .page-nav span { display: none; }
}
@media (max-width: 760px) {
  .ox .wrap { width: calc(100% - 40px); }
  .ox .detail-hero { padding-top: 120px; }
  .ox .detail-hero-grid, .ox .content-split, .ox .contact-band-grid, .ox .use-list { grid-template-columns: 1fr; }
  .ox .fact-grid { grid-template-columns: 1fr; gap: 20px; }
  .ox .fact-grid > div { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .ox .process-steps { grid-template-columns: 1fr; }
  .ox .detail-hero h1 { font-size: 34px; }
  .ox .product-promise { font-size: 22px; }
  .ox .contact-band h2 { font-size: 30px; }
}

.ox .product-brandline .brand-logo { width: 42px; height: 42px; object-fit: contain; }
.ox .product-brandline .brand-logo--wide { width: auto; height: 38px; }

/* Content sections: heading sticks on the left while the content scrolls on the right */
.ox .content-section > .wrap {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start;
}
.ox .content-section .section-heading { position: sticky; top: 130px; align-self: start; }
.ox .content-section .use-list { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.ox .content-section .use-list article:last-child { border-bottom: 1px solid var(--line); }
.ox .content-section .process-steps { grid-template-columns: 1fr; gap: 0; margin-top: 0; }
.ox .content-section .process-steps li { padding: 26px 0 28px; }
.ox .content-section .process-steps li:last-child { border-bottom: 1px solid var(--line); }
.ox .content-section .process-steps .step-number { margin-bottom: 12px; }
@media (max-width: 1200px) { .ox .content-section > .wrap { gap: 60px; } }
@media (max-width: 1000px) { .ox .content-section > .wrap { grid-template-columns: .8fr 1.2fr; gap: 40px; } }
@media (max-width: 760px) {
  .ox .content-section > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .ox .content-section .section-heading { position: static; }
}

/* Template colours and type: blue headings, grey body text, orange accents, navy bands */
.ox { --ink: var(--navy); --muted: var(--gray-700); --line: var(--gray-300); --soft: var(--bg-soft); }
.ox h1, .ox h2 { font-weight: 700; color: var(--navy); line-height: 1.2; }
.ox h3 { font-weight: 700; color: var(--navy); }
.ox .detail-hero h1 { font-weight: 700; }
.ox .h1-descriptor { color: var(--gray-500); font-weight: 600; }
.ox .product-promise { color: var(--orange); font-weight: 700; }
.ox .fact-grid dt { color: var(--navy); font-weight: 700; }
.ox .fact-grid dd { color: var(--gray-500); }
.ox .page-nav { background: var(--bg-soft); }
.ox .page-nav a { color: var(--navy-deep); }
.ox .page-nav a:hover { color: var(--orange); }
.ox .page-nav span { color: var(--gray-500); }
.ox .item-number, .ox .step-number { color: var(--orange); font-weight: 700; }
.ox .use-list h3, .ox .process-steps h3 { color: var(--navy); }
.ox .capability h3 { color: var(--navy); font-weight: 600; }
.ox .capability summary .icon { color: var(--orange); }
.ox .section-process { background: var(--bg-soft); }
.ox .demo-notice strong { color: var(--navy); }
.ox .platform-toolbar > span { color: var(--navy); }
.ox .platform-preview figcaption { color: var(--gray-500); }
.ox .btn { background: var(--orange); }
.ox .text-link { color: var(--navy); }
.ox .text-link:hover { color: var(--orange); }
.ox .contact-band { background: var(--navy-deep); }
.ox .contact-band .eyebrow { color: var(--orange); }
.ox .contact-band h2 { color: #fff; }
.ox .contact-band p { color: rgba(255, 255, 255, .78); }
.ox .contact-band .text-link { color: #fff; }

/* Hero background (same navy gradient as the other template heroes) */
.ox .detail-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 55% 70% at 85% 30%, rgba(240, 106, 46, .16), transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 100%, rgba(70, 110, 230, .22), transparent 70%),
    linear-gradient(120deg, #0a1730 0%, #0f2350 55%, #142a5c 100%);
  padding-bottom: 56px;
}
.ox .detail-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px); background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ox .detail-hero > .wrap { position: relative; z-index: 1; }
.ox .detail-hero h1 { color: #fff; }
.ox .detail-hero .h1-descriptor { color: rgba(255, 255, 255, .62); }
.ox .detail-hero .product-promise { color: var(--orange); }
.ox .detail-hero .lede { color: rgba(255, 255, 255, .78); }
.ox .detail-hero .eyebrow { color: var(--orange); }
.ox .detail-hero .product-brandline .brand-logo { width: 50px; height: 50px; }
.ox .detail-hero .text-link { color: #fff; }
.ox .detail-hero .text-link:hover { color: var(--orange); }
.ox .detail-hero .demo-notice { border-top-color: rgba(255, 255, 255, .2); }
.ox .detail-hero .demo-notice p { color: rgba(255, 255, 255, .72); }
.ox .detail-hero .demo-notice strong { color: #fff; }
.ox .detail-hero .platform-toolbar { border-bottom-color: rgba(255, 255, 255, .22); }
.ox .detail-hero .platform-toolbar > span { color: #fff; }
.ox .detail-hero .platform-image { border-color: rgba(255, 255, 255, .22); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .65); }
.ox .detail-hero .platform-preview figcaption { color: rgba(255, 255, 255, .6); }
.ox .detail-hero .fact-grid { border-top-color: rgba(255, 255, 255, .2); }
.ox .detail-hero .fact-grid > div { border-right-color: rgba(255, 255, 255, .2); }
.ox .detail-hero .fact-grid dt { color: #fff; }
.ox .detail-hero .fact-grid dd { color: rgba(255, 255, 255, .62); }
@media (max-width: 760px) { .ox .detail-hero .fact-grid > div { border-bottom-color: rgba(255, 255, 255, .2); } }

/* New content-section layout: centred heading on top, content laid out beneath */
.ox .content-section > .wrap,
.ox .content-section > .wrap.content-split { display: block; }
.ox .content-section .section-heading {
  position: static; text-align: center; max-width: 760px; margin: 0 auto 52px;
}
.ox .content-section .section-heading h2,
.ox .content-split .section-heading h2 { font-size: 38px; max-width: none; margin-inline: auto; }
.ox .content-section .section-heading > p:last-child:not(.eyebrow) { margin-inline: auto; }

/* use cases: cards */
.ox .content-section .use-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.ox .content-section .use-list article {
  flex-direction: column; gap: 14px; padding: 30px 26px; border: 1px solid var(--line); border-radius: 18px;
  background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ox .content-section .use-list article:last-child { border-bottom: 1px solid var(--line); }
.ox .content-section .use-list article:hover { transform: translateY(-4px); border-color: var(--orange); box-shadow: 0 22px 44px -28px rgba(12, 26, 53, .45); }
.ox .content-section .use-list .item-number { font-size: 34px; line-height: 1; font-weight: 700; padding: 0; color: var(--orange); }
.ox .content-section .use-list h3 { font-size: 20px; margin-bottom: 8px; }

/* capabilities and FAQ: accordion in a tidy block */
.ox .content-section .capability-list { max-width: 880px; margin-inline: auto; }
#features .capability-list { max-width: none; columns: 2; column-gap: 56px; }
#features .capability { break-inside: avoid; }

/* process: horizontal timeline */
.ox .content-section .process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; position: relative; padding-top: 22px;
}
.ox .content-section .process-steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: var(--line);
}
.ox .content-section .process-steps li { border: 0; padding: 22px 0 0; position: relative; }
.ox .content-section .process-steps li:last-child { border: 0; }
.ox .content-section .process-steps li::before {
  content: ""; position: absolute; left: 0; top: -22px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 5px rgba(240, 106, 46, .18);
}
.ox .content-section .process-steps .step-number { font-size: 14px; margin-bottom: 8px; }
.ox .content-section .process-steps h3 { font-size: 20px; margin-bottom: 8px; }

@media (max-width: 1000px) { #features .capability-list { columns: 1; } }
@media (max-width: 760px) {
  .ox .content-section .section-heading { margin-bottom: 34px; }
  .ox .content-section .section-heading h2, .ox .content-split .section-heading h2 { font-size: 30px; }
  .ox .content-section .process-steps::before { display: none; }
  .ox .content-section .process-steps li::before { display: none; }
}

/* MN Studio "What you get": keep the original layout (sticky heading on the left, accordion on the right) */
.ox .content-section.content-section--classic > .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.ox .content-section.content-section--classic .section-heading { position: sticky; top: 130px; align-self: start; text-align: left; max-width: none; margin: 0; }
.ox .content-section.content-section--classic .section-heading h2 { font-size: 36px; max-width: 750px; margin-inline: 0; }
#features.content-section--classic .capability-list { max-width: none; columns: auto; margin: 0; }
@media (max-width: 1200px) { .ox .content-section.content-section--classic > .wrap { gap: 60px; } }
@media (max-width: 1000px) { .ox .content-section.content-section--classic > .wrap { grid-template-columns: .8fr 1.2fr; gap: 40px; } }
@media (max-width: 760px) {
  .ox .content-section.content-section--classic > .wrap { grid-template-columns: 1fr; gap: 28px; }
  .ox .content-section.content-section--classic .section-heading { position: static; }
  .ox .content-section.content-section--classic .section-heading h2 { font-size: 30px; }
}

/* Features, How it works and FAQ keep the original layout: sticky heading on the left, content on the right */
.ox .content-section.content-section--classic .capability-list { max-width: none; margin: 0; columns: auto; }
.ox .content-section.content-section--classic .process-steps { display: block; padding-top: 0; position: static; }
.ox .content-section.content-section--classic .process-steps::before { display: none; }
.ox .content-section.content-section--classic .process-steps li { border: 0; border-top: 1px solid var(--line); padding: 26px 0 28px; position: static; }
.ox .content-section.content-section--classic .process-steps li:last-child { border-bottom: 1px solid var(--line); }
.ox .content-section.content-section--classic .process-steps li::before { display: none; }
.ox .content-section.content-section--classic .process-steps .step-number { margin-bottom: 12px; }
.ox .content-section.content-section--classic .process-steps h3 { font-size: 21px; margin-bottom: 13px; }

/* How it works: simple layout - heading on top, steps in one clean row */
#process.content-section--classic > .wrap { display: block; }
#process.content-section--classic .section-heading { position: static; text-align: left; max-width: 640px; margin: 0 0 40px; }
#process.content-section--classic .section-heading h2 { font-size: 34px; margin-inline: 0; }
#process.content-section--classic .process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 0; margin: 0;
}
#process.content-section--classic .process-steps li,
#process.content-section--classic .process-steps li:last-child {
  border: 0; border-top: 2px solid var(--line); padding: 20px 0 0; transition: border-color .25s ease;
}
#process.content-section--classic .process-steps li:hover { border-top-color: var(--orange); }
#process.content-section--classic .process-steps .step-number { font-size: 14px; margin-bottom: 10px; }
#process.content-section--classic .process-steps h3 { font-size: 20px; margin-bottom: 8px; }
#process.content-section--classic .process-steps p { font-size: 15px; }
@media (max-width: 760px) {
  #process.content-section--classic .section-heading h2 { font-size: 28px; }
  #process.content-section--classic .process-steps { grid-template-columns: 1fr; gap: 22px; }
}
