/* CMS product overview. Shared tokens, buttons, header and footer live in style.css. */
.overview-page { --overview-dark: var(--mie-deep-navy, #051323); }
.overview-page.overview-page > .alignfull { width: 100%; max-width: none; }
.overview-page .overview-section { margin-block: clamp(90px, 9vw, 175px); }
.overview-page .overview-hero { padding-top: clamp(70px, 7vw, 135px); position: relative; isolation: isolate; }
/* The supplied artwork is already darkened; keep its sparks visible without another overlay. */
.overview-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('../assets/overview/hero-background.webp') center top / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
}
.overview-hero-copy { max-width: 1420px; margin: auto; padding-inline: var(--mie-gutter); text-align: center; }
.overview-hero-content-image { display:block; width:auto; max-width:min(100%,800px); height:auto; margin:28px auto 0; }
.overview-page .overview-hero h1 { font-size: clamp(36px, 3.7vw, 68px); line-height: 1.06; }
.overview-hero-copy > p:not(.feature-eyebrow) { font-size: clamp(18px, 1.85vw, 30px); line-height: 1.35; }
/* Center the list as a block while keeping all markers and text aligned. */
.overview-hero-text > :is(ul, ol) {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.5em;
  text-align: left;
  overflow-wrap: anywhere;
}
.overview-hero .overview-hero-text ul { list-style: none; padding-inline: 0; }
.overview-hero .overview-hero-text ul > li { position: relative; padding-left: 2em; }
.overview-hero .overview-hero-text ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.15em;
  height: 1.15em;
  font-size: max(14px, .9em);
  color: var(--mie-cyan, #00D9FF);
  background-color: currentColor;
  -webkit-mask: url('../images/checkbox.svg') center / contain no-repeat;
  mask: url('../images/checkbox.svg') center / contain no-repeat;
}
.overview-product-visual { width: min(100% - 40px, 1800px); margin: 70px auto 0; }
.overview-product-visual img { display: block; width: 100%; max-width: 100%; height: auto; }
.overview-trust { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; width: calc(100% - var(--mie-gutter) * 2); max-width: 1400px; margin: 30px auto 0; }
.overview-trust > img { width: 100%; }
.overview-trust p { font-size: 14px; line-height: 1.4; margin: 8px 0 0; }
.overview-stars { color: #ffe600; letter-spacing: 5px; }
.overview-page .overview-features { max-width: 1760px; position: relative; }
.overview-features::after { content: ''; width: 300px; height: 300px; border: 1px solid #007895; border-radius: 50%; position: absolute; bottom: -320px; left: 37%; z-index: 0; pointer-events: none; }
.overview-feature-tabs { display: flex; gap: 26px; overflow: auto; padding-block: 12px 28px; }
.overview-feature-tabs button { flex: 0 0 auto; appearance: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; background: none; color: #aab8c7; font: inherit; font-size: 16px; cursor: pointer; }
.overview-feature-tabs button[aria-pressed="true"] { border-bottom-color: var(--mie-red); color: #fff; }
.overview-page .swiper { min-width: 0; width: 100%; }
.overview-page .swiper:not(.swiper-initialized) { overflow-x: auto; }
.overview-page .swiper:not(.swiper-initialized) .swiper-slide { flex-shrink: 0; width: 100%; }
.overview-page .overview-product-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; overflow: hidden; min-height: clamp(450px, 48vw, 860px); border-radius: 40px; background: var(--overview-dark); padding: 70px 0 70px 8%; height: auto; }
.overview-product-card > div { padding-right: 30px; }
.overview-page .overview-product-card h3 { font-size: clamp(28px, 2.5vw, 44px); }
.overview-product-card p { font-size: clamp(16px, 1.15vw, 20px); line-height: 1.45; }
.overview-product-card .mie-button { color: #fff; font-size: 14px; padding: 10px 20px; }
.overview-page .overview-product-card > img { width: 150%; max-width: none; }
.overview-controls { display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-block: 20px; min-height: 44px; }
.overview-controls > span { width: auto; font-size: 14px; color: #7e8ea0; margin-right: 10px; }
.overview-controls button { border: 0; padding: 0 4px; background: transparent; color: var(--mie-cyan); font: inherit; font-size: 44px; line-height: 1; cursor: pointer; }
.overview-controls button:disabled { color: #8d9aab; opacity: .55; cursor: default; }
.overview-page .feature-demo { position: relative; margin-block: 190px 270px; }
.overview-page .overview-integrations { background: linear-gradient(to bottom, var(--mie-navy) 50%, #fff 50%); padding-inline: 32px; }
.overview-integration-panel { max-width: 1800px; margin: auto; background: #f2eeeb; color: var(--mie-ink); border-radius: 24px; padding: 120px 60px 100px; text-align: center; }
.overview-page .overview-integration-panel h2 { font-size: clamp(30px, 3vw, 54px); }
.overview-integration-panel > p { font-size: 18px; }
.overview-integration-panel ul { list-style: none; padding: 0; margin: 70px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 60px; align-items: center; }
.overview-integration-panel li { min-width: 0; }
.overview-integration-panel img { width: 100%; height: 85px; object-fit: contain; mix-blend-mode: multiply; }
.overview-page .overview-quotes, .overview-page .overview-resources, .overview-page .overview-reasons { background: #fff; color: var(--mie-ink); }
.overview-white-inner { max-width: 1760px; width: calc(100% - var(--mie-gutter) * 2); margin: auto; }
.overview-page .overview-quotes { padding-block: 0 clamp(60px, 7vw, 120px); }
/* Match the heading/video canvas instead of adding the older, narrower gutter. */
.overview-quotes > .overview-white-inner { width:calc(100% - var(--mie-gutter) * 2); max-width:1760px; margin-inline:auto; }
/* Keep Swiper's fraction in the right-aligned navigation row. */
.overview-quotes .overview-controls { width: 100%; justify-content: flex-end; margin: clamp(24px, 3vw, 48px) 0 0; gap: 12px; }
.overview-quotes .overview-quote-count { position: static; width: auto; flex: 0 0 auto; text-align: right; }
.overview-quotes .overview-controls button { flex: 0 0 52px; padding: 0; }
.overview-quotes .overview-controls svg { display: block; width: 52px; height: 44px; }
.overview-quotes .overview-quote-slider { mask-image: linear-gradient(to right, #000 90%, transparent 100%); }
.overview-quotes .overview-quote blockquote { border: 0; padding: 0; }
.overview-quotes .overview-quote blockquote > :last-child { margin-bottom: 0; }
.overview-quotes .overview-quote figcaption { display: block; color: var(--mie-ink); font-style: normal; }
.overview-quotes .overview-quote figcaption strong { display: block; font-weight: 600; }
.overview-quotes .overview-quote figcaption span { padding-left: 0; font-size: inherit; margin-top: 0; }
.overview-page .overview-quotes--dark { background: var(--mie-navy, #0a2038); color: #fff; }
/* Give transformed slides a dark surface for the inverted logo to blend into. */
.overview-quotes--dark .overview-quote { background: var(--mie-navy, #0a2038); }
.overview-quotes--dark .overview-quote > img { filter: grayscale(1) invert(1); mix-blend-mode: lighten; }
.overview-quotes--dark .overview-quote figcaption { color: inherit; }
.overview-quotes--dark .overview-quote-count { color: #c0cbd6; }
.overview-quotes--dark .overview-controls button:disabled { color: #c0cbd6; }
.overview-quotes--dark .overview-quote a { color: var(--mie-cyan); }
.overview-intro { max-width: 900px; font-size: 18px; font-weight: 600; }
.overview-quote { margin: 0; padding-right: 10px; height: auto; }
.overview-quote > img { width: 200px; height: 100px; object-fit: contain; object-position: left center; margin-bottom: 35px; }
.overview-quote .overview-company { display: flex; align-items: center; min-height: 100px; margin-bottom: 35px; font-weight: 700; font-size: 30px; }
.overview-quote blockquote { margin: 0 0 28px; font-size: clamp(20px, 1.8vw, 30px); font-weight: 600; line-height: 1.5; }
.overview-quote figcaption { font-size: 16px; }
.overview-quote figcaption span { display: block; font-size: 14px; margin-top: 4px; }
.overview-page .overview-resources { padding: 0 0 0 32px; }
.overview-resource-panel { display: grid; grid-template-columns: .8fr 1.8fr; gap: 75px; background: var(--mie-navy); color: #fff; padding: 145px 0 145px 45px; border-radius: 40px 0 0 40px; max-width: 2000px; margin-left: auto; }
.overview-resource-heading { align-self: center; min-width: 0; }
.overview-page .overview-resource-heading h2 { font-size: clamp(30px, 3vw, 52px); }
.overview-resource-card { height: auto; padding: 32px; background: var(--overview-dark); border-radius: 24px; }
.overview-resource-card > img { width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 12px; margin-bottom: 22px; }
.overview-page .overview-resource-card h3 { font-family: 'aptos', Arial, sans-serif; font-size: 25px; text-transform: none; line-height: 1.2; }
.overview-resource-card p { font-size: 16px; }
.overview-resource-card a { font-size: 14px; text-decoration: none; }
.overview-resource-card a:hover { text-decoration: underline; }
.overview-page .overview-reasons { padding-block: 280px 0; background: linear-gradient(to bottom, #fff 85%, var(--mie-navy) 85%); }
.overview-page .overview-reasons h2 { font-size: clamp(28px, 2.4vw,44px); line-height: 1.15; }
.overview-reasons .overview-intro { max-width: 950px; margin-bottom: 170px; }
.overview-reason-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; padding-bottom: 70px; }
.overview-reason-grid article { background: #f2eeeb; border-radius: 24px; padding: 45px; }
.overview-reason-icon { color: var(--mie-cyan); font-size: 70px; display: block; line-height: 1; margin-bottom: 25px; }
.overview-page .overview-reason-grid h3 { font-size: clamp(28px, 2.9vw, 50px); }
.overview-reason-grid p { font-size: 18px; }
@media (max-width: 1100px) {
 .overview-feature-tabs { gap: 18px; }
 .overview-trust { gap: 30px; }
 .overview-page .feature-demo { margin-block: 120px 170px; }
 .overview-integration-panel { padding: 80px 40px; }
 .overview-integration-panel ul { gap: 25px; }
 .overview-resource-panel { gap: 40px; padding-block: 85px; }
 .overview-resource-card { padding: 24px; }
 .overview-page .overview-reasons { padding-top: 160px; }
 .overview-reasons .overview-intro { margin-bottom: 90px; }
 .overview-reason-grid article { padding: 28px; }
}
@media (max-width: 781px) {
 .overview-hero-copy br { display: none; }
 .overview-product-visual { margin-top: 45px; width: 100%; }
 .overview-trust { grid-template-columns: 1fr; margin-top: 25px; gap: 20px; }
 .overview-trust > img { max-width: 500px; margin: auto; }
 .overview-trust p { font-size: 14px; }
 .overview-page .overview-section { margin-block: 70px; }
 .overview-feature-tabs button { font-size: 14px; }
 .overview-page .overview-product-card { grid-template-columns: 1fr; padding: 32px 26px 0; border-radius: 24px; min-height: 0; }
 .overview-product-card > div { padding: 0; }
 .overview-page .overview-product-card > img { width: 110%; max-height: 330px; object-fit: contain; margin-top: 25px; }
 .overview-features::after { display: none; }
 .overview-page .feature-demo { margin-block: 80px 100px; }
 .overview-page .overview-integrations { padding-inline: 20px; }
 .overview-integration-panel { padding: 48px 24px; }
 .overview-integration-panel > p { font-size: 16px; }
 .overview-integration-panel br { display: none; }
 .overview-integration-panel ul { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 35px; gap: 25px; }
 .overview-integration-panel li:last-child { grid-column: 1 / -1; width: 45%; justify-self: center; }
 .overview-integration-panel img { height: 55px; }
 .overview-quotes .overview-quote-slider { mask-image: none; }
 .overview-intro { font-size: 16px; }
 .overview-quote > img { width: 150px; height: 75px; margin-bottom: 20px; }
 .overview-page .overview-resources { padding-left: 20px; }
 .overview-resource-panel { grid-template-columns: 1fr; gap: 25px; padding: 48px 0 48px 24px; border-radius: 24px 0 0 24px; }
 .overview-resource-heading { padding-right: 24px; }
 .overview-resource-card { padding: 24px; }
 .overview-resource-slider { padding-right: 24px; }
 .overview-page .overview-reasons { padding-top: 90px; }
 .overview-reasons .overview-intro { margin-bottom: 45px; }
 .overview-reason-grid { grid-template-columns: 1fr; gap: 20px; }
 .overview-reason-grid article { padding: 32px; }
}
.overview-reason-icon svg { display: block; width: 72px; height: 72px; }
/* CMS block wrappers provide the same section geometry in pages and the editor. */
.mie-overview-block { min-width: 0; }
.mie-overview-block > .overview-section { width: calc(100% - var(--mie-gutter) * 2); margin-inline: auto; }
.mie-overview-block p { margin-block: 0 1.5em; }
.mie-overview-block .overview-hero-text { font-size: clamp(18px, calc(16px + 0.4vw), 22px); line-height: 1.35; }
.mie-overview-block .feature-eyebrow { color: var(--mie-cyan); letter-spacing: .18em; text-transform: uppercase; font-size: 14px; font-weight: 700; }
.mie-overview-block .feature-accent { color: var(--mie-cyan); }
.mie-overview-block .mie-feature-button-solid { color: #fff; background: var(--mie-red); }
.mie-overview-block .overview-reason-grid .overview-reason-icon { display: block; }
.mie-overview-block .overview-hero-copy > .mie-button { margin-top: 12px; }
.mie-overview-block .overview-hero-copy > .mie-hero-actions {
 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 align-items: center;
 gap: 20px;
}
.mie-overview-block .overview-hero-copy > .mie-hero-actions > .mie-button {
 flex: 0 1 auto;
 width: auto;
 margin: 0;
}
@media (min-width: 782px) {
 .mie-overview-block .overview-hero-copy > .mie-hero-actions { flex-wrap: nowrap; }
}
.overview-page > .mie-feature-cta { margin-block: 190px 270px; }
.mie-overview-block .overview-product-card > img { height: clamp(450px, 43vw, 800px); object-fit: contain; object-position: left center; }
/* Compact laptop panels without clipping longer copy or changing large displays. */
@media (min-width: 782px) and (max-width: 1600px), (min-width: 782px) and (max-height: 900px) {
  :is(.overview-page, .mie-overview-block) .overview-product-card {
    min-height: 0;
    padding-block: clamp(28px, 4vh, 48px);
  }
  :is(.overview-page, .mie-overview-block) .overview-product-card > img {
    height: clamp(240px, min(34vw, 52svh), 520px);
    object-fit: contain;
    object-position: left center;
  }
}
@media (max-width: 781px) {
  .overview-page > .mie-feature-cta { margin-block: 80px 100px; }
  :is(.overview-page, .mie-overview-block) .overview-product-card > img {
    height: auto;
    max-height: clamp(180px, 35svh, 280px);
  }
}

/* Desktop spacing after the overview hero; the next block must not add a second gap. */
@media (min-width: 1101px) {
 .mie-overview-block:has(> .overview-hero) {
  margin-block-end:200px;
 }
 .mie-overview-block:has(> .overview-hero) + * {
  margin-block-start:0;
 }
 .mie-overview-block:has(> .overview-hero) + .mie-overview-block > .overview-section {
  margin-block-start:0;
 }
}

/* Panel images are already cropped during image generation. */
:is(.overview-page, .mie-overview-block) .overview-product-card > img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  max-height: none;
  object-fit: contain;
}
