/* Shared refinements for the supplied PODS site. */
:root { --section-offset: 88px; }
html { scroll-padding-top: var(--section-offset); }
body > header, body > section { scroll-margin-top: 0; }
body > section,
body > section:not(.trust):not(.navy):not(.final) {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}
.hero, .ph { padding-top: 28px !important; padding-bottom: 24px !important; }
.eyebrow { margin-bottom: 14px; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
.hh > .cta { margin-top: 22px; }
.wrap:has(>h2+.lead) > *:nth-child(n+4) { margin-top: 28px; }
.pc, .bg, .tc, .ch, .story, .ss9 { margin-top: 28px; }
.pc > div { padding: 22px; }
.pc em { margin-bottom: 14px; }
.cr { margin-top: 32px !important; gap: 32px; }
.capcap { margin-top: 24px; }
.hero .snapwrap { margin: 24px auto 0; padding: 10px; max-width: 1136px; }
.snap .sh { aspect-ratio: auto; background: #f4f6fa; }
.snap .sh img { position: static; display: none; width: 100%; height: auto; max-height: 38svh; object-fit: contain; }
.snap .sh img.on { display: block; }
/* Inactive panels must not cover the selected image or remain keyboard targets.
   This outranks the supplied page-local opacity-only styles loaded later. */
.snap .sh img:not(.on),.stage .si:not(.on),.wbox .wi:not(.on) { display: none; }
.fsb { margin-top: 10px; border: 0; background: transparent; padding: 0; font: 500 13px Manrope,system-ui,sans-serif; text-decoration: underline; }
body > section.trust { padding: 22px 0 28px !important; }
.trust .tl { font-size: 22px; margin-bottom: 24px; }
.brand-strip { background: transparent; padding: 0; margin: 0 0 48px; }
.brand-strip .tt img { height: 44px; max-width: 220px; margin-right: 48px; }
.navy .brand-strip .tl { color: #fff; }
.navy .brand-strip .tl em { color: #b4c0ee; }
.navy .brand-strip .tl i { background: rgba(255,255,255,.3); }
.hero-copy { min-width: 0; }
.hero-copy>.cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.closing-main { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 24px 48px; align-items: start; }
.closing-main>.eyebrow { grid-column: 1/-1; margin: 0; }
.closing-main>h2 { margin: 0; grid-column: 1; }
.closing-main>h2 .m { display: block; }
.closing-copy { grid-column: 2; min-width: 0; }
.closing-copy>.lead { margin: 0; padding-top: 4px; max-width: none; font-size: 19px; line-height: 1.55; }
.closing-copy>div { margin-top: 22px !important; }
.closing .site-footer { background: transparent; margin-top: 40px; padding-top: 28px; padding-bottom: 0; }
.closing .footer-bottom { padding-bottom: 0; }
.cr .ct>.out { display: block; margin: 18px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; font: 500 15px/1.55 Manrope,system-ui,sans-serif; color: var(--mute); }
.cr .ct>.out strong { color: var(--navy); font-weight: 600; }
.frec .cr .ct>.out { color: #b4c0ee; }
.frec .cr .ct>.out strong { color: #fff; }
.cr>.ct { display: block; padding: 0; border: 0; border-radius: 0; background: transparent; }
.frec .lv { margin-top: 24px; }
.frec .lv>div { padding: 16px; }
.frec .lv b { font-size: 17px; }
.frec .lv span { font-size: 13.5px; line-height: 1.5; }
.frec .ct h3 { font-size: 32px; }
.frec .ct p { font-size: 16px; line-height: 1.5; }
.frec .ct li { padding-top: 7px; padding-bottom: 7px; }
.brand-strip .tt { animation: brands-left 100s linear infinite normal; }
.brand-strip .tt > picture { display: flex; flex: none; }
@keyframes brands-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tt img { height: 38px; margin-right: 44px; }
.hrow3 { margin-top: 0; gap: 18px; }
.hs { opacity: .7; }
.hs h3 { font-size: 21px; }
.hs i { margin: 8px 0 10px; }
.hs p { font-size: 14px; }
.stage { margin-top: 0; padding: 14px; }
.wtabs { margin-top: 0; gap: 12px; }
.wt { padding-top: 12px; opacity: .75; }
.wt h3 { margin: 8px 0 4px; }
.wt p { font-size: 13px; }
.wstage { margin-top: 20px; padding: 14px; }
/* Reserve one canvas for every screenshot in a switching panel. */
.wbox { aspect-ratio: 1279/1004; }
.wbox .wi { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; }
.wcon { margin-top: 12px; }
.hcap { margin-top: 10px; }
.fsb,.zoomable { cursor: zoom-in; }
.zoomable:focus-visible,.viewer-actions button:focus-visible { outline: 2px solid #5b6be0; outline-offset: 4px; }
.zoomable.viewer-pointer-return:focus,.fsb.viewer-pointer-return:focus { outline: none; }
/* Keep keyboard focus visible around the rounded Brand stories screenshots. */
.sr .sc:has(.zoomable) { overflow: visible; }
.sr .sc img { border-radius: inherit; }
/* The screenshot viewer sits outside the scaled section frames. */
html:has(.screen-viewer[open]) { overflow: hidden; scroll-snap-type: none !important; }
.screen-viewer { position: fixed; inset: 0; margin: auto; width: min(1440px,96vw); max-width: 96vw; height: 94svh; max-height: 94svh; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--off); color: var(--navy); box-shadow: 0 24px 80px rgba(3,15,52,.3); }
.screen-viewer[open] { display: flex; flex-direction: column; }
.screen-viewer::backdrop { background: rgba(3,15,52,.7); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.viewer-toolbar h2 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.viewer-actions { display: flex; gap: 8px; flex-shrink: 0; }
.viewer-actions button { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--navy); font: 600 14px Manrope,system-ui,sans-serif; background: transparent; color: var(--navy); cursor: pointer; }
.viewer-actions .viewer-close { background: var(--navy); color: #fff; }
.viewer-scale { min-width: 48px; display: inline-flex; align-items: center; justify-content: center; font: 600 13px Manrope,system-ui,sans-serif; }
.viewer-actions button:disabled { opacity: .4; cursor: default; }
.viewer-media { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px; }
.viewer-canvas { position: relative; }
.viewer-media img { position: absolute; display: block; max-width: none; max-height: none; border-radius: 12px; user-select: none; }
.screen-viewer.zoomed .viewer-media { cursor: grab; }
.screen-viewer.dragging .viewer-media { cursor: grabbing; }
@media (max-width: 600px) {
  .screen-viewer { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; border: 0; border-radius: 0; }
  .viewer-toolbar { flex-wrap: wrap; padding: 14px 16px; }
  .viewer-actions { margin-left: auto; }
  .viewer-actions button { padding: 9px 13px; }
  .viewer-media { padding: 12px; }
}
/* Section jumps should reveal content immediately, without blank placeholders. */
.js .rv, .mrv { opacity: 1 !important; transform: none !important; transition: none !important; }
.flow { margin-top: 24px; }
.fg { margin-top: 20px; }
.fc.w .ft { padding: 24px; }
.rg > div, .rx > div { padding: 16px; }
.rt, .rg, .rx { gap: 12px; }
.rc { margin-top: 28px; }
.cw .chn { margin-top: 24px; }
.cw .cl { margin-top: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a:hover { text-decoration: underline; }
.nav-auth { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
nav .wrap,body.sc nav .wrap { gap: 24px; }
nav .links { align-items: center; gap: 16px; }
nav .links a { white-space: nowrap; }
/* Reserve bold label width so the navigation stays fixed between pages. */
nav .links a::before { content: attr(data-nav-label); display: block; height: 0; visibility: hidden; font-weight: 700; }
nav .links a[aria-current="page"],.mmenu a[aria-current="page"] { color: var(--navy); font-weight: 700; }
nav .wrap > a { flex: none; width: 100px; height: 36px; }
nav .wrap > a img { display: block; width: 100px; height: 36px; object-fit: contain; }
.mmenu.open { max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; }
.site-footer { padding: 32px 0 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); background: var(--off); }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 24px; }
.footer-brand img { display: block; object-fit: contain; }
.footer-brand p { margin-top: 12px; max-width: 240px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-group h3 { font-size: 14px; color: var(--navy); font-weight: 700; letter-spacing: 0; margin-bottom: 4px; }
.footer-group a { overflow-wrap: anywhere; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; margin-top: 24px; position: relative; }
.footer-bottom::before { content: ''; position: absolute; top: 0; left: 32px; right: 32px; height: 1px; background: var(--line); }
/* Keep the sticky navigation footprint stable during section jumps. */
body.sc nav .wrap { margin-top: 0; height: 72px; border-radius: 0; max-width: 1200px; padding: 0 32px; border: 0; box-shadow: none; }
body.sc nav { background: rgba(251,251,249,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
body.sc nav img { height: 36px; }
@media (min-width: 901px) {
  /* Headline and supporting copy share the same columns and top edge. */
  .wrap:has(>h2+.lead) { grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); column-gap: 48px !important; align-items: start !important; }
  .wrap:has(>h2+.lead)>h2 { grid-column: 1; margin: 0; align-self: start; }
  .wrap:has(>h2+.lead)>h2+.lead { grid-column: 2; align-self: start !important; margin: 0 !important; padding-top: 4px; font-size: 19px; line-height: 1.55; }
  /* Match the Finance introduction to the screenshot and text beneath it. */
  body[data-page="finance"] #walk .wrap:has(>h2+.lead) { grid-template-columns: minmax(0,7fr) minmax(0,5fr); column-gap: 32px !important; }
  .hero .hrow,.ph .hrow { display: grid !important; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) !important; gap: 48px; align-items: start; }
  .hero h1,.ph h1 { white-space: normal !important; font-size: clamp(40px,4.5vw,68px); line-height: 1.05; }
  body[data-page="ops"] .ph h1 { font-size: clamp(36px,4vw,60px); }
  .hero .hrow h1,.ph .hrow h1 { grid-column: 1 !important; }
  .hrow>.hero-copy { grid-column: 2; align-self: start; }
  .hh .sub,.hero .sub,.ph .hrow .sub { grid-column: 2; width: auto !important; max-width: none !important; margin: 0 !important; padding: 4px 0 0 !important; border: 0; font-size: 19px !important; line-height: 1.55 !important; align-self: start; }
  .ph.pp .hrow { display: grid !important; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) !important; }
  .ph.pp .hrow .sub { grid-column: 2; width: auto !important; margin: 0 !important; padding: 4px 0 0 !important; }
  .cr,.cr.rv2,.sr,.rc { align-items: start !important; }
  .cr>.ct,.cr>.cv { grid-row: 1; }
  .cr>.ct,.cr.rv2>.cv { grid-column: 1; }
  .cr>.cv,.cr.rv2>.ct { grid-column: 2; }
  .feature-media { min-width: 0; }
  .feature-media>.hcap { margin: 10px 0 0; }
  .js .hh h1,.js .hh .r,.js .frame { animation: none; }
  .cr .ct,.sr .ct { min-width: 0; }
  .hero .sub .st + .st { margin-top: 12px !important; }
  .snap .sh { height: clamp(260px, 42svh, 480px); overflow: hidden; }
  .snap .sh img.on { position: absolute; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: top center; }
  .hero .fsb,.ph .fsb { display: block; width: fit-content; margin: 8px auto 0; font-size: 13px; color: var(--mute); text-decoration: underline; }
  .hw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 24px; align-items: stretch; margin-top: 28px; }
  .hrow3 { grid-template-columns: 1fr; }
  .hw > .hcap { grid-column: 2; margin-top: -14px; }
  .feature-media { display: flex; flex-direction: column; }
  .stage { flex: none; height: auto !important; aspect-ratio: auto !important; }
  .stage .si { position: static; transform: none; display: none; width: 100%; height: auto; max-width: 100%; object-fit: contain; pointer-events: auto; }
  .stage .si.on { display: block; }
  .ww { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 20px 24px; align-items: stretch; }
  .wtabs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .wstage { margin-top: 0; flex: 1; display: flex; flex-direction: column; }
  .wbox { height: auto; aspect-ratio: auto; flex: none; }
  .ww > .hcap { grid-column: 2; margin-top: -10px; }
  .ww > .wcon { grid-column: 1/-1; margin-top: 0; }
  .ph.pp h1 { white-space: normal; }
  #how h2 { white-space: normal; }
  /* The four summaries fit together without an extra screen of scrolling. */
  .fg.two { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fg.two .fm { aspect-ratio: 16/11; padding: 10px; }
  .fg.two .ft { padding: 18px; }
  .fg.two .ft h3 { font-size: 21px; }
  .fg.two .fm.ai .qs span { padding: 7px 10px; font-size: 11px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  nav .wrap, body.sc nav .wrap { gap: 16px; }
  nav .links { gap: 14px; font-size: 13px; }
  .nav-auth .btn { padding: 0 14px; }
  .wtabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wt p { display: none; }
  .fg.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1101px) and (max-width: 1200px) {
  nav .wrap, body.sc nav .wrap { gap: 16px; }
  nav .links { gap: 14px; font-size: 13px; }
  .nav-auth .btn { padding: 0 14px; }
}
@media (max-width: 900px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer-bottom::before { left: 20px; right: 20px; }
  body > section,
  body > section:not(.trust):not(.navy):not(.final) { padding-top: 28px !important; padding-bottom: 28px !important; }
  .hero, .ph { padding-top: 28px !important; padding-bottom: 24px !important; }
  body.sc nav .wrap { padding: 0 20px; }
  .snap .sh { aspect-ratio: var(--screen-ratio,16/9); overflow: hidden; }
  .snap .sh img { position: absolute; inset: 0; width: 100% !important; min-width: 0 !important; height: 100%; max-height: none; object-fit: contain; object-position: top center; }
  .hrow3 { margin-top: 24px; }
  .stage { margin-top: 20px; height: auto !important; aspect-ratio: var(--screen-ratio,1136/592); overflow: hidden; }
  .stage .si { position: absolute; left: 10px; top: 10px; width: calc(100% - 20px) !important; height: calc(100% - 20px); object-fit: contain; object-position: top center; }
  .stage .si.on { pointer-events: auto; }
  .brand-strip .tw { overflow: hidden; }
  .brand-strip .tt,.brand-strip .tw:hover .tt { animation-play-state: running; }
  /* Match the light mobile hero without isolated navy gutters around the logos. */
  body[data-page="index"] section.navy:has(.brand-strip) { background: linear-gradient(180deg,var(--off),var(--soft)); color: var(--navy); }
  body[data-page="index"] .navy:has(.brand-strip) .lead,
  body[data-page="index"] .navy:has(.brand-strip) .pc p { color: var(--mute); }
  body[data-page="index"] .navy:has(.brand-strip) .eyebrow,
  body[data-page="index"] .navy:has(.brand-strip) .pc em { color: #3a56a5; }
  body[data-page="index"] .navy:has(.brand-strip) .m { color: #8a96c4; }
  body[data-page="index"] .navy .brand-strip .tl { color: var(--navy); }
  body[data-page="index"] .navy .brand-strip .tl em { color: transparent; }
  body[data-page="index"] .navy .brand-strip .tl i { background: var(--line); }
  body[data-page="index"] .navy:has(.brand-strip) .pc > div { background: #fff; border-color: var(--line); }
  .wbox { aspect-ratio: var(--screen-ratio,1279/1004); }
  .wstage { padding: 10px; }
  .trust .tl { font-size: 20px; }
  .brand-strip .tt img { height: 34px; max-width: 160px; margin-right: 32px; }
  .tt img { height: 32px; margin-right: 32px; }
  .cr { gap: 22px; }
  .hero-copy { margin-top: 18px; }
  .closing-main { display: block; }
  .closing-main>.eyebrow { margin-bottom: 14px; }
  .closing-copy { margin-top: 18px; }
  .closing .site-footer { margin-top: 28px; }
}
/* The supplied menu breakpoint left tablet widths without navigation. */
@media (min-width: 821px) and (max-width: 1100px) {
  nav .links { display: none; }
  nav .mnb { display: flex; }
  nav .wrap { gap: 0; }
  .mmenu.open { display: flex; flex-direction: column; position: fixed; top: 82px; left: 12px; right: 12px; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px; box-shadow: 0 24px 50px -20px rgba(3,15,52,.35); }
  .mmenu a { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-strip .tt { animation: none; }
  html { scroll-behavior: auto; }
}
/* Every desktop page fits below navigation with a shared vertical centre. */
@media (min-width: 901px) {
  html:has(body.section-frames) { --section-offset: var(--nav-height,73px); scroll-snap-type: y mandatory; }
  html:has(body.frame-moving) { scroll-snap-type: none; }
  body.section-frames nav,body.section-frames.sc nav { background: var(--off); backdrop-filter: none; }
  body.section-frames .screen-frame { height: var(--frame-height,calc(100dvh - var(--nav-height,73px))); min-height: 0 !important; padding: 0 !important; margin: 0 !important; overflow: clip; display: block; position: relative; isolation: isolate; scroll-snap-align: start; scroll-snap-stop: always; }
  body.section-frames>section,body.section-frames>section:not(.trust):not(.navy):not(.final) { padding: 0 !important; }
  body.section-frames #walk,body.section-frames #walk2,body.section-frames #connect { padding: 0 !important; }
  body.section-frames .screen-content { position: relative; width: 100%; height: 100%; padding: 0; overflow: clip; }
  body.section-frames .screen-layout { display: flow-root; position: absolute; top: 50%; left: 0; width: 100%; transform: translateY(-50%) scale(var(--frame-scale,1)); transform-origin: center; }
  body.section-frames .screen-content:focus-visible { outline: 2px solid #5b6be0; outline-offset: -3px; }
  body.section-frames .screen-content .wrap { max-width: 1200px; padding-left: 32px; padding-right: 32px; }
  body.section-frames .cv:has(img) { overflow: visible; background: transparent; border: 0; box-shadow: none; }
  body.section-frames .cv img { width: 100%; max-width: 100%; height: auto; max-height: none; border-radius: 18px; box-shadow: 0 20px 40px -28px rgba(3,15,52,.35); }
  body.section-frames .cr[data-image-align="heading"] .cv { margin-top: var(--heading-offset,0px); }
  body.section-frames .cr[data-image-align="top"] .ct,body.section-frames .cr[data-image-align="top"] .cv { align-self: start; }
  body.section-frames .fg.two .fm { height: auto; aspect-ratio: auto; flex-shrink: 0; }
  body.section-frames .fg.two .fm img { width: 100%; height: auto; max-height: none; object-fit: contain; }
  body.section-frames .fc.w { flex-direction: row; }
  body.section-frames .fc.w .sb { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body.section-frames .fc.w .fm.w { border-top: 0; border-left: 1px solid var(--line); }
  body.section-frames .screen-layout>.wrap { width: 100%; }
  body.section-frames .screen-layout>.trust { padding: 16px 0 12px !important; }
  body.section-frames .screen-layout>.wrap>.cr:first-child,body.section-frames .screen-layout>.wrap>.sr:first-child { margin-top: 0 !important; }
  body.section-frames .screen-layout>.wrap>.capcap { margin-top: 18px; }
}
@media (min-width:901px) and (max-height:820px) {
  body.section-frames h2 { font-size: clamp(30px,3vw,40px); }
  body.section-frames .wrap:has(>h2+.lead)>*:nth-child(n+4) { margin-top: 20px; }
  body.section-frames .pc>div,body.section-frames .ft { padding: 18px; }
  body.section-frames .fg.two { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* Phones use a readable document flow, full images and finger-sized controls. */
@media (max-width: 900px) {
  html { scroll-padding-top: 88px; }
  body { font-size: 16px; line-height: 1.6; }
  .wrap { width: 100%; min-width: 0; padding: 0 20px; }
  .hero .hrow,.ph .hrow { display: block !important; }
  .hero h1,.ph h1 { font-size: clamp(34px,9.5vw,42px); line-height: 1.1; margin: 0; white-space: normal !important; }
  .js .hh h1,.js .hh .r,.js .frame { animation: none; opacity: 1; transform: none; }
  .hero-copy { margin-top: 20px; }
  .hh .sub,.ph .sub,.hero .sub { font-size: 17px !important; line-height: 1.6 !important; margin: 0 !important; }
  .hero-copy>.cta { gap: 10px; margin-top: 20px; }
  .hero-copy>.cta .btn { min-height: 48px; padding: 0 20px; }
  h2 { font-size: clamp(28px,8vw,36px); line-height: 1.15; }
  .lead,.closing-copy>.lead { font-size: 17px; line-height: 1.6; }
  .eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .16em; }
  nav .wrap,body.sc nav .wrap { display: grid; grid-template-columns: minmax(100px,1fr) 44px auto; height: 72px; gap: 8px; padding: 0 16px; }
  nav .mnb { width: 44px; height: 44px; flex-shrink: 0; margin: 0; }
  nav .nav-auth { gap: 8px; }
  nav .nav-auth .btn { height: 44px; min-height: 44px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .mmenu.open { top: 82px; max-height: calc(100dvh - 96px); }
  .mmenu a { min-height: 44px; }
  .snap .bar { gap: 8px; }
  .snap .tabs { margin-left: 0; }
  .snap .tabs button { min-height: 44px; padding: 7px 12px; }
  .snap .badge { font-size: 10px; }
  .fsb { display: block; min-height: 44px; margin: 0 auto; }
  .hw,.ww,.cr,.cr.rv2,.sr,.rc { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; }
  .feature-media,.ct,.cv { min-width: 0; }
  .cr .ct { order: 0; }
  .cr .cv { order: 1; }
  .cr .ct h3 { font-size: 28px; line-height: 1.15; }
  .cr .ct p,.cr .ct li { font-size: 15px; line-height: 1.6; }
  .cr .ct>.out { font-size: 14px; }
  .cv:has(img) { border: 0; background: transparent; overflow: visible; box-shadow: none; }
  .fm:has(img) { display: block; height: auto; aspect-ratio: auto; padding: 10px; overflow: visible; }
  .fm img,.cv img { min-width: 0 !important; max-width: 100% !important; width: 100% !important; height: auto !important; max-height: none !important; object-fit: contain; border-radius: 12px; }
  .fc.w .fm.w { width: 100%; padding: 10px; }
  .fg.two { grid-template-columns: minmax(0,1fr); }
  .fg.two .ft h3 { min-height: 0; }
  .ft,.fc.w .ft { padding: 20px; }
  .ft p,.sb span,.rg span,.rx span { font-size: 15px; }
  .hrow3 { margin-top: 0; }
  .wtabs { gap: 18px 12px; }
  .wt h3 { font-size: 18px; }
  .wt p { display: block; font-size: 14px; line-height: 1.55; }
  .wt,.hs { opacity: 1; min-height: 44px; }
  .hs p { font-size: 15px; }
  .wcon { font-size: 14px; line-height: 1.6; }
  .wcon .who { margin-bottom: 6px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-group { min-width: 0; gap: 0; }
  .footer-group a { display: flex; align-items: center; min-height: 44px; line-height: 1.5; }
  .site-footer .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-bottom>a { display: inline-flex; min-height: 44px; align-items: center; }
  .legal-document { overflow-wrap: anywhere; }
  .viewer-toolbar { padding: 12px; gap: 8px; }
  .viewer-toolbar h2 { font-size: 16px; }
  .viewer-actions { gap: 6px; }
  .viewer-actions button { min-height: 44px; padding: 9px 12px; }
  .viewer-scale { min-width: 40px; }
}

/* Keep both app actions visible without squeezing the logo or menu on phones. */
@media (max-width:600px) {
  html { scroll-padding-top: 134px; }
  nav .wrap,body.sc nav .wrap { grid-template-columns: minmax(100px,1fr) 44px; height: auto; padding: 12px 16px; gap: 10px; }
  nav .nav-auth { grid-column: 1/-1; width: 100%; }
  nav .nav-auth .btn { flex: 1; justify-content: center; }
  .mmenu.open { top: 134px; max-height: calc(100dvh - 146px); }
}

/* Hem's mobile/desktop review: match the preview frame to the actual screen. */
.recon-screens { position: relative; aspect-ratio: 1240/1050; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #f4f6fa; }
.recon-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.recon-screens img:not(.on) { display: none; }
.recon-preview { min-width: 0; }
.recon-pages { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.recon-pages button { min-height: 44px; border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px; background: #fff; color: var(--mute); font: 600 13px Manrope,system-ui,sans-serif; cursor: pointer; }
.recon-pages button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.rg>.recon-feature,.rx>.recon-feature { text-align: left; min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--navy); font-family: inherit; cursor: pointer; }
.recon-feature b { display: block; font-size: 17px; }
.recon-feature span { display: block; margin-top: 8px; color: var(--mute); font-size: 14px; line-height: 1.5; }
.rg>.recon-feature.on,.rx>.recon-feature.on { border-color: #5b6be0; box-shadow: inset 0 0 0 1px #5b6be0; background: #f4f6ff; }
.recon-feature:focus-visible,.recon-pages button:focus-visible,.wt:focus-visible { outline: 2px solid #5b6be0; outline-offset: 3px; }
@media (min-width:901px) {
  .product-hero .hero-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: center; }
  .product-hero .hero-text,.product-hero .hero-preview { min-width: 0; }
  .product-hero .hero-preview { width: 100%; max-width: 620px; justify-self: end; }
  body[data-page="ops"] .product-hero .hero-layout { grid-template-columns: minmax(0,4fr) minmax(0,5fr); gap: 32px; }
  .product-hero .hero-text .hrow { display: block !important; }
  .product-hero .hero-text h1 { font-size: clamp(34px,3.3vw,52px) !important; line-height: 1.1; }
  .product-hero .hero-copy { margin-top: 22px; }
  .product-hero .hero-text .sub { font-size: 17px !important; line-height: 1.6 !important; padding: 0 !important; }
  .product-hero .hero-preview .snapwrap { margin: 0; max-width: none; padding: 10px; border-radius: 24px; }
  .product-hero .snap { border-radius: 16px; border-bottom: 1px solid var(--line); }
  .product-hero .snap .sh { height: auto !important; aspect-ratio: auto; }
  .product-hero .snap .sh img.on { position: static; height: auto; width: 100%; max-height: none; object-fit: contain; }
  .product-hero .snap .bar { flex-wrap: wrap; padding: 8px 10px; gap: 8px; }
  .product-hero .snap .tabs { margin-left: 0; flex-wrap: wrap; }
  .product-hero .snap .badge { margin-left: 0; font-size: 9px; }
  .product-hero .snap .tabs button { padding: 8px 12px; font-size: 12px; }
  body[data-page="ops"] .product-hero .snap .tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); width: 100%; gap: 4px; border-radius: 16px; }
  body[data-page="ops"] .product-hero .snap .tabs button { white-space: normal; min-height: 44px; padding: 8px; line-height: 1.4; }
  .trust .tl { font-size: 17.6px !important; margin-bottom: 19px !important; }
  .brand-strip .tt img { height: 35.2px; max-width: 176px; margin-right: 38.4px; }
  .brand-strip { margin-bottom: 38px; }
  #workspace .ww { grid-template-columns: minmax(0,1fr) minmax(0,1.3fr); gap: 20px 36px; margin-top: 20px; align-items: start; }
  #workspace .wtabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
  #workspace .wt h3 { font-size: 18px; margin: 8px 0 4px; }
  #workspace .wt p { font-size: 14px; line-height: 1.5; }
  #workspace .wt { opacity: 1; padding-top: 8px; }
  #workspace .wstage { flex: none; padding: 0; background: transparent; border: 0; box-shadow: none; }
  #workspace .workspace-preview { grid-column: 2; grid-row: 1 / span 2; width: 100%; justify-self: end; }
  #workspace .ww>.wcon { grid-column: 1; grid-row: 2; align-self: end; }
  #workspace .wbox { flex: none; height: auto !important; aspect-ratio: auto; background: transparent; box-shadow: none; overflow: visible; }
  #workspace .wbox .wi { position: static; width: 100% !important; max-width: 100% !important; height: auto; max-height: none; border-radius: 14px; box-shadow: 0 20px 40px -28px rgba(3,15,52,.3); }
  #reconciliation .rc { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; }
  #reconciliation .recon-preview { width: 100%; max-width: 100%; justify-self: end; }
  .recon-pages { display: none; }
  .frec .cr { grid-template-columns: minmax(0,7fr) minmax(0,5fr); }
  .frec .cr .cv { justify-self: end; width: 100%; display: flex; justify-content: flex-end; }
  .frec .cr .cv img { width: 100%; max-width: 100%; max-height: none; height: auto; }
  body.section-frames .cr[data-image-align="top"] .ct,
  body.section-frames .cr[data-image-align="top"] .cv { align-self: start !important; margin-top: 0; }
  body.section-frames .cr[data-image-align="top"] .cv img { max-height: none; }
  .sr h3 { font-size: 32px; }
  .sr p { font-size: 18px; }
  .sr em,.sr .op { font-size: 14px; }
  .sr .ol { font-size: 17px; }
  .sr .tg { font-size: 13px; }
  .sr { padding-top: 24px; padding-bottom: 24px; gap: 40px; }
}
@media (max-width:900px) {
  .hero-preview { margin-top: 24px; }
  .hero-preview .snapwrap { margin-top: 0; }
  body[data-page="ops"] .snap .tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; width: 100%; border-radius: 16px; }
  body[data-page="ops"] .snap .tabs button { white-space: normal; min-height: 44px; padding: 8px; font-size: 12px; line-height: 1.4; }
  #workspace .wtabs { grid-template-columns: minmax(0,1fr); gap: 18px; }
  #workspace .workspace-preview { grid-column: 1/-1; margin: 0 0 12px; }
  #workspace .workspace-preview .wstage { margin: 0; }
  #workspace .wbox { aspect-ratio: auto; }
  #workspace .wbox .wi { position: static; height: auto; width: 100%; }
  #workspace .wbox .wi:not(.on) { display: none; }
  #workspace .wt { padding: 14px 0 0; }
  .recon-feature b { font-size: 18px; }
  .recon-feature span { font-size: 15px; }
  .viewer-media { touch-action: pan-x pan-y; }
}

/* Switching screenshots share a canvas, so copy, captions and pages stay put. */
.hero-layout,.hw,.ww { align-items: start; }
.product-hero .snap .sh { width: 100%; height: auto !important; aspect-ratio: var(--screen-ratio,1) !important; overflow: hidden; }
.product-hero .snap .sh img.on { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; max-height: none !important; min-width: 0 !important; object-fit: contain; object-position: top center; }
.stage { flex: none; width: 100%; height: auto !important; aspect-ratio: var(--screen-ratio,2) !important; padding: 0 !important; border: 12px solid #f4f6fa; overflow: hidden; }
.stage .si.on { position: absolute !important; inset: 0; display: block; width: 100% !important; height: 100% !important; max-height: none; min-width: 0 !important; transform: none; object-fit: contain; object-position: top center; }
#workspace .feature-media { align-self: start; }
#workspace .wbox { height: auto !important; aspect-ratio: var(--screen-ratio,1.27) !important; overflow: hidden; }
#workspace .wbox .wi.on { position: absolute; inset: 0; width: 100% !important; height: 100%; max-height: none; object-fit: contain; object-position: top center; }
.feature-media>.hcap { margin-top: 10px; }
.fg.two .fm:has(img) { height: auto !important; aspect-ratio: auto !important; }
.brand-strip .tw { overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 64px,#000 calc(100% - 64px),transparent); mask-image: linear-gradient(90deg,transparent,#000 64px,#000 calc(100% - 64px),transparent); }
.brand-strip .tl { width: min(100%,440px) !important; gap: 16px !important; }
.brand-strip .tl i { flex: 1 1 64px; max-width: 96px !important; }
.fc.w .ft { display: flex; flex-direction: column; }
.fc.w .sb { flex: 1; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.xmq { align-items: stretch; }
.xmw { min-height: 0 !important; }
.xmw .body { flex: none; gap: 16px; padding: 20px; }
.xmw .body .xqb,.xmw .body .xab,.xmw .xtb .r { opacity: 1 !important; transform: none !important; animation: none !important; }
.xmw .body .xty { display: none; }
.xmw .xch i { height: var(--h); animation: none !important; }
.xmw .xqb { background: var(--navy); color: #fff; }
.answer-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.answer-metrics>div { padding: 10px 8px; background: #fff; border-radius: 10px; }
.answer-metrics dt { font-size: 10px; color: var(--mute); }
.answer-metrics dd { margin: 4px 0 0; font-size: 17px; font-weight: 700; color: var(--navy); }
body[data-page="connector"] .bg { align-items: start; margin-top: 0 !important; }
.ai-setup-links { display: grid; gap: 10px; margin-top: 20px; }
.ai-setup-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 14px; background: #f3f5fc; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; }
.ai-setup-links span { color: var(--mute); font-size: 12px; }
@media (min-width:901px) {
  #channels .chn { flex-wrap: wrap; }
  .product-hero .hero-layout { align-items: start; }
  body.section-frames .product-hero .snap .sh { max-height: max(180px,calc(var(--frame-height) - var(--preview-chrome,180px))); }
  body.section-frames .stage { max-height: max(180px,calc(var(--frame-height) - 260px)); }
  .wrap:has(>h2+.lead)>h2,.wrap:has(>h2+.lead)>h2+.lead { grid-row: 2; align-self: start !important; padding-top: 0 !important; }
  .cr[data-image-align="heading"] .cv { margin-top: var(--heading-offset,0px); }
  .ph .hrow>.hero-copy { margin-top: 0; }
  .ph.pp .hrow h1 { font-size: clamp(34px,3vw,52px); }
  .ph.pp .heading-line,.ph.pp h1>.m { display: block !important; }
  .ph.pp .nowrap { white-space: nowrap; }
  #workspace .wt p { display: block; }
}
@media (min-width:901px) and (max-height:760px) {
  :is(#channels,#connect,#marketplaces,#business-connectors) h2 { font-size: clamp(30px,3vw,40px); }
}
@media (max-width:900px) {
  .xmq { grid-template-columns: minmax(0,1fr); }
  body[data-page="connector"] .bg { grid-template-columns: minmax(0,1fr) !important; }
  .brand-strip .tw { -webkit-mask-image: linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent); mask-image: linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent); }
  .ph.pp .nowrap { white-space: nowrap; }
  .fc.w .sb { grid-template-columns: minmax(0,1fr); }
}
