/* ============================================================================
   Oracle × Mastercard landing page — styles (concept v2).
   Section-by-section, matching index.html. Brand tokens in :root; each section
   grouped under a banner so it can be removed/rearranged with its markup.
   Placeholder assets marked  SWAP.  WCAG 2.1 AA throughout.
   ========================================================================== */
@font-face {
  font-family: "Sofia Sans";           /* Mastercard's OFL fallback (see /calc). Swap 'mccom' when licensed. */
  src: url("../calc/assets/fonts/sofia-sans/sofia-sans.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
:root {
  --grad: linear-gradient(90deg, #ea3b1c 0%, #ff5a19 55%, #ff9a1e 100%);
  --oracle-red: #ea3b1c;
  --oracle-orange: #f37338;
  --orange-ink: var(--oracle-orange);   /* orange TEXT on light sections. Brand orange by client choice (2026-10-01), same as "Total Value of Program"; it is 2.6-2.9:1 on cream/white, below WCAG AA. The accessible option is #c2410c (4.63 / 5.18:1) — change this one line to switch. */
  --err: #a02218;              /* form validation red (from Mastercard) */
  --field-line: #55514f;       /* visible input border (from mocks) */
  --disc-border: rgba(243,115,56,.5);   /* --oracle-orange at 50% — same hue, softened to a hairline */
  --d-bg: #141410; --d-bg-2: #0e0e0b;   /* page ground; buttons keep their own true black */ --d-ink: #ffffff; --d-ink-2: #cfc9d4; --d-muted: #948d9c; --d-border: #322d36;
  --l-bg: #ffffff; --l-cream: #f4f2ef; --l-ink: #17151b; --l-ink-2: #45414b; --l-muted: #6f6a75; --l-border: #e6e3e8;
  --maxw: 1120px; --r: 16px; --r-pill: 999px; --ease: cubic-bezier(.2,.7,.2,1); --reveal-ease: cubic-bezier(.22, 1, .36, 1);
  --content-pad: 40px;   /* how far section content sits in from the page margin — matches the comparison card's inner padding */
  --font-display: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;   /* clean neutral heading face */
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;                   /* body text: Arial */
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
/* Sideways overflow must be clipped on BOTH html and body: iOS Safari ignores it on body
   alone and lets the page rubber-band sideways, exposing the charcoal ground as a bar.
   `clip` is the modern form (no scroll container, so sticky/anchors keep working);
   `hidden` stays as the fallback for browsers without it. */
html { overflow-x: hidden; overflow-x: clip; }
body { background: var(--d-bg); color: var(--d-ink); line-height: 1.55; overflow-x: hidden; overflow-x: clip; }
img { max-width: 100%; display: block; }

/* ---- shared scaffolding -------------------------------------------------- */
h1, h2, h3, .h2, .hero h1 { font-family: var(--font-display); }   /* headings stay on the brand face */
.lp-section { padding: 80px 0; }
.lp-section--dark  { background: var(--d-bg);   color: var(--d-ink); }
.lp-section--light { background: var(--l-cream); color: var(--l-ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  /* viewport-fit=cover: keep content clear of the iPhone notch / rounded corners in landscape */
  padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }
/* Section CONTENT sits one card-padding in from the page margin (the "content line").
   Header/hero/footer keep the base margin; feature cards below bleed back out to it. */
.lp-section > .wrap, .supporting > .wrap {
  padding-left:  calc(max(24px, env(safe-area-inset-left)) + var(--content-pad));
  padding-right: calc(max(24px, env(safe-area-inset-right)) + var(--content-pad));
}
/* Feature cards bleed out from the content line back to the page margin. */
#overview .benefits,
.compare .cmp-head, .compare .cmp-card {
  margin-left:  calc(-1 * var(--content-pad));
  margin-right: calc(-1 * var(--content-pad));
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }
#calculator .eyebrow::before { background: var(--oracle-orange); }   /* solid orange dot — the gradient read like a faux Mastercard mark */
#calculator .eyebrow { color: #fff; }                                /* "VALUE CALCULATOR" reads white, per R3 */
.lp-section--dark .eyebrow { color: var(--d-ink-2); }
.lp-section--light .eyebrow { color: var(--l-ink-2); }
.h2 { font-size: clamp(23px, 2.95vw, 31px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 700; text-wrap: balance; }
#ov-h { font-size: clamp(22px, 2.85vw, 30px); }
#ov-h { font-weight: 600; }   /* "Benefit from an embedded B2B payments solution" — a touch lighter */
.lead { font-size: 16px; max-width: 76ch; margin: 0 0 14px; }
.lp-section--dark .lead { color: var(--d-ink-2); }
.lp-section--light .lead { color: var(--l-ink-2); }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--oracle-orange); outline-offset: 2px; border-radius: 4px; }
.ph { display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(135deg, #2a2630, #2a2630 10px, #262230 10px, #262230 20px);
  color: var(--d-muted); font-size: 12px; letter-spacing: .04em; border-radius: var(--r); }
.lp-section--light .ph { background: repeating-linear-gradient(135deg, #ecebee, #ecebee 10px, #e6e4e9 10px, #e6e4e9 20px); color: var(--l-muted); }

/* ============================================================================
   HEADER + Contact us button
   ========================================================================== */
.lp-header { background: var(--d-bg-2); border-bottom: 1px solid var(--d-border); }
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.cobrand { display: inline-flex; align-items: center; gap: 16px; }
.mc-mark { height: 28px; width: auto; }
.divider { width: 1px; height: 38px; background: var(--d-border); }
.oracle-word { font-weight: 700; letter-spacing: .22em; font-size: 18px; color: #fff; }  /* fallback */
.oracle-logo { height: 13px; width: auto; display: block; }
.btn-contact { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7);
  text-decoration: none; font-weight: 300; font-size: 14px; padding: 6px 38px; border-radius: var(--r-pill);
  transition: background .15s var(--ease), border-color .15s var(--ease); }
.btn-contact:hover { background: var(--grad); border-color: transparent; }

/* ============================================================================
   HERO  (full-bleed image — SWAP .hero-bg)
   ========================================================================== */
.hero { position: relative; display: flex; align-items: center; min-height: calc(100vh - 68px); color: #fff; background: var(--d-bg-2); overflow: hidden; }   /* header sits in normal flow above it (not overlaid), so subtract its height — header + hero together fill exactly one viewport */
.hero-bg { position: absolute; inset: 0; background: #17141c url("img/hero.jpg") 72% 22% / cover no-repeat; }
/* a defined transparent circle: photo shows through cleanly inside, dark overlay outside */
@property --hero-cr { syntax: "<length>"; inherits: false; initial-value: 0px; }   /* animatable circle radius */
.hero-bg::before { content: ""; position: absolute; inset: 0; --hero-cr: 0px;
  background:
    /* left dark "safety" — keeps text off the bright area at every viewport width */
    linear-gradient(90deg, rgba(11,10,12,.6) 0%, rgba(11,10,12,.36) 42%, rgba(11,10,12,0) 58%),
    /* the transparent circle (bright inside, dark outside) — grows in on load */
    /* centre = 78% across, or further right if needed so the circle's left edge never
       reaches the copy column: copy left edge (page margin, or centred 1120px wrap) +
       480px copy + 16px gap + the 60vh radius. Wide screens are unchanged; as the window
       narrows the circle slides right instead of bleeding into the h1. */
    radial-gradient(circle var(--hero-cr) at max(78%, calc(max(24px, 50vw - 536px) + 496px + 60vh)) 34%, transparent 99.4%, rgba(11,10,12,.58) 100%);
  animation: heroCircle 1.5s var(--ease) .15s both; }
@keyframes heroCircle { from { --hero-cr: 0px; } to { --hero-cr: 60vh; } }
@media (prefers-reduced-motion: reduce) { .hero-bg::before { --hero-cr: 60vh; animation: none; } }
/* a separate large white arc — right edge of a big circle, drawn in (top→bottom) just after the circle finishes */
@property --arc-a { syntax: "<angle>"; inherits: false; initial-value: 90deg; }   /* revealed wedge of the arc mask */
.hero-bg::after { content: ""; position: absolute; left: calc(44% - 2vw); top: 50%; transform: translate(-50%, -50%) rotate(-8deg);
  width: 190vh; height: 190vh; border-radius: 50%;
  border: 5px solid transparent; border-right-color: #fff;   /* only the right edge — no arc on the left; large radius so the sweep reaches the hero's bottom */
  /* conic mask reveals the border wedge from the arc's top (conic 45°) clockwise to the bottom as --arc-a grows 0→90°.
     base is the finished state so the arc still shows if animations never run; `both` fill hides it during the delay. */
  --arc-a: 90deg;
  -webkit-mask: conic-gradient(from 45deg at 50% 50%, #000 0 var(--arc-a), transparent var(--arc-a));
          mask: conic-gradient(from 45deg at 50% 50%, #000 0 var(--arc-a), transparent var(--arc-a));
  animation: arcDraw 1.15s var(--ease) .55s both;   /* starts ~1s earlier, while the hero circle is still growing in */
  pointer-events: none; z-index: 0; }
@keyframes arcDraw { from { --arc-a: 0deg; } to { --arc-a: 90deg; } }
@media (prefers-reduced-motion: reduce) { .hero-bg::after { --arc-a: 90deg; animation: none; } }
.hero::after { content: none; }
.hero-ph { position: absolute; right: 10%; top: 14px; color: var(--d-muted); font-size: 12px; letter-spacing: .04em; }
.hero .wrap { position: relative; z-index: 1; width: 100%; }  /* fill the flex row so copy aligns to the page margin */
.hero-copy { max-width: 480px; padding: 96px 0; }
.hero h1 { font-size: clamp(27px, 3.55vw, 42px); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 22px; font-weight: 400; }
.hero .sub { color: var(--oracle-orange); font-size: clamp(20px, 2.85vw, 29px); font-weight: 300; max-width: 34ch; margin: 0; }

/* ============================================================================
   SUPPORTING BANKS (logo row under hero)
   ========================================================================== */
.supporting { background: #fff; padding: 72px 0; }
.supporting .eyebrow { display: flex; justify-content: flex-start; margin-bottom: 0; }
.supporting > .wrap { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }   /* label left, pause control right */
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 40px; }
/* overflowing auto-scroll logo carousel */
.supporting .marquee { overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 76px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* WCAG 2.2.2: anything that moves for more than 5s needs a way to stop it */
.supporting.is-paused .marquee-track { animation-play-state: paused; }
.marquee-toggle { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 6px 12px; border-radius: var(--r-pill);
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--l-ink-2); background: transparent;
  border: 1px solid var(--l-border); cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease); }
.marquee-toggle:hover { border-color: var(--l-ink-2); color: var(--l-ink); }
.marquee-toggle svg { width: 10px; height: 10px; }
@media (prefers-reduced-motion: reduce) { .marquee-toggle { display: none; } }   /* already static + swipeable there */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track .logo { width: auto; height: auto; max-height: 40px; max-width: 164px; flex: none; object-fit: contain; }
.marquee--rev { display: none; }   /* second row: only used as the reverse carousel on mobile */

/* ============================================================================
   OVERVIEW + BENEFIT CARDS (accordions, collapsed by default)
   ========================================================================== */
#overview .lead, #talk .lead, .banks .lead { max-width: none; }   /* body copy spans the full content width, not capped at 76ch */
#talk .lead { font-size: 16px; }
#talk .lead strong { font-weight: 700; }
#talk .h2 { font-size: clamp(21px, 2.6vw, 28px); }
.benefit-note { color: var(--orange-ink); font-weight: 600; margin: 22px 0 20px; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { display: grid; grid-template-columns: 1fr auto; align-items: stretch; min-height: 216px;   /* = the photo (204px circle + 6px either side); the open state must fit inside this */
  appearance: none; -webkit-appearance: none;        /* it's a <button>; native appearance would ignore background-color */
  border: 1.5px solid var(--oracle-orange); border-radius: var(--r-pill); overflow: hidden; background-color: transparent;
  text-align: left; cursor: pointer; width: 100%; font: inherit; color: inherit;
  transition: box-shadow .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease); position: relative; }
.benefit:hover { box-shadow: 0 12px 34px rgba(234,59,28,.14); border-color: var(--oracle-red); }
.benefit.flip { grid-template-columns: auto 1fr; }
.benefit .b-text { padding: 30px 46px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
  transition: opacity .38s var(--ease); }
.benefit .b-title { font-size: 20px; font-weight: 400; line-height: 1.2; min-height: 72px;   /* 3 lines — equalises the text block across cards */
  transition: opacity .4s var(--ease); }
/* R3 sets the arrow on its own line under the title, in black and larger.
   Drawn as SVG rather than the → glyph: the character's head barbs are short
   and font-dependent, and R3's arrow has a long, open head. */
.benefit .b-arrow { display: block; align-self: flex-start; line-height: 0; margin-top: 5px;
  transition: opacity .38s var(--ease); }
.benefit .b-arrow svg { width: 34px; height: 16px; display: block;
  fill: none; stroke: var(--l-ink); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }
.benefit .b-media { width: 216px; padding: 6px; display: flex; align-items: center; flex: none;
  transition: opacity .38s var(--ease); }   /* circle sits ~6px in from the pill border */
.benefit.flip .b-media { order: -1; }
.benefit .b-media .ph { width: 100%; aspect-ratio: 1; border-radius: 50%; }
.benefit .b-media img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover;
  border-radius: 50%; display: block; }
/* These photos were cropped as wide strips for the old pill layout, so a square
   crop lands on whatever happens to be in the middle — which is not the subject.
   Anchor each one on its subject instead. Keyed off the filename so the cards can
   be reordered without the crops following the wrong picture. */
.benefit .b-media img[src*="benefit-efficiency"] { object-position: 66% 42%; }   /* woman in glasses sits right of centre */
.benefit .b-media img[src*="benefit-cashfloat"]  { object-position: 55% 38%; }   /* the three of them, faces high in frame */
.benefit .b-media img[src*="benefit-visibility"] { object-position: 6%  42%; }   /* she is far left; monitors fill the rest */
.benefit .b-media img[src*="benefit-fraud"]      { object-position: 50% 50%; }   /* padlock already dead centre */
/* OPEN STATE = a full-width overlay: the title (drawn from data-title) with the
   copy beneath it, vertically centred over the whole pill — R3's flip side.
   It is absolutely positioned so it never affects the card's height, and the
   closed-state title/photo simply cross-fade with it. Nothing moves. */
.benefit .b-desc { position: absolute; inset: 0; padding: 18px 46px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  color: var(--l-ink-2); font-size: 13px; line-height: 1.45;
  opacity: 0; pointer-events: none; transition: opacity .38s var(--ease); }
.benefit .b-desc::before { content: attr(data-title); display: block;
  color: var(--l-ink); font-size: 23px; line-height: 1.2; }
/* ACTIVE state — white pill; the image collapses away so the text takes the
   full width, the TITLE STAYS, and the description opens underneath it. */
.benefit[aria-expanded="true"] { background-color: #fff; }
.benefit[aria-expanded="true"] .b-media { opacity: 0; }
.benefit[aria-expanded="true"] .b-text { opacity: 0; }
.benefit[aria-expanded="true"] .b-arrow { opacity: 0; }
.benefit[aria-expanded="true"] .b-desc { opacity: 1; }

/* ============================================================================
   COMPARISON  (dark header card over white 2-column card, bridging to calc)
   ========================================================================== */
.compare { position: relative; padding-bottom: 0; }   /* no stacking context here, so the calc's dark bg can paint over the comparison's cream in the overlap */
.cmp-head { margin-top: 30px; background: #141118; border-radius: 44px 44px 0 0; padding: 32px 36px 30px; }
.cmp-head .eyebrow { color: var(--d-ink-2); margin-bottom: 12px; }
.cmp-head .h2 { color: var(--oracle-orange); margin-bottom: 12px; font-size: clamp(20px, 2.5vw, 27px); }
.cmp-head .lead { color: #fff; margin: 0; max-width: none; }   /* white, full width of the header card */
.cmp-card { background: #fff; border-radius: 0 0 44px 44px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  box-shadow: 0 34px 70px rgba(0,0,0,.20); margin-bottom: -300px;   /* bridges onto dark calc section — dark seam lands ~2nd table row */
  position: relative; z-index: 3; }   /* float above the calc's dark bg so the card's bottom sits ON the dark, like the mock */
.cmp-col h3 { color: var(--oracle-orange); font-size: 23px; font-weight: 700; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--l-ink); }
.cmp-col ul { list-style: none; margin: 0; padding: 0; }
.cmp-col li { padding: 22px 0; border-bottom: 1px solid var(--l-ink); color: var(--l-ink-2); font-size: 14.5px; }
.cmp-col li:last-child { border-bottom: none; }
.cmp-col li strong { color: var(--l-ink); font-weight: 600; }

/* ============================================================================
   ROI CALCULATOR (embeds /calc via iframe)
   ========================================================================== */
#calculator { position: relative; z-index: 1; }   /* the 360px top pad cleared the old comparison card overhang; that section is gone */
/* The inputs column (and the disclaimer below it) are separate layers because of the
   scroll-reveal transforms, and the disclaimer comes later in the page — so it painted
   OVER the open industry dropdown, whatever z-index the dropdown had inside its column.
   Lift the whole inputs column above the disclaimer so the list can overlap it. */
#calculator .roi-calc .inputs { position: relative; z-index: 3; }
.calc-embed { width: 100%; border: 0; display: block; min-height: 600px; }
.calc-disclaimer { margin: 20px calc(-1 * var(--content-pad)) 0; border: 1.5px solid var(--disc-border); border-radius: 44px;
  background: #000; padding: 22px 40px; }   /* bleeds out to the page margin like a feature card */
.calc-disclaimer .disc-lead { margin: 0 0 12px; color: #fff; font-weight: 700; font-size: 13px; line-height: 1.5; }   /* white bold summary (from mock) */
.calc-disclaimer .disc-legal { margin: 0; color: var(--d-ink-2); font-size: 11.5px; line-height: 1.65; }

/* ============================================================================
   BANKS (logo grid + CTA)
   ========================================================================== */
/* flex, not grid, so a short last row (9 logos = 5 + 4) sits centred; --cols keeps the same
   column widths a 5/3/2-column grid would give */
.banks .bank-grid { --cols: 4; --gap-x: 44px;   /* 12 logos: 4 cols = 4/4/4, no lone orphan row */ display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 40px var(--gap-x); margin: 34px 0 30px; }
.banks .bank-grid > .bank-logo { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols)); }
.bank-logo { display: flex; align-items: center; justify-content: center; height: 100px; padding: 8px; border-radius: 12px; min-width: 0; }
.bank-logo img { width: auto; height: auto; max-height: 40px; max-width: 100%; object-fit: contain; }
/* approved bank logos (assets/img/banks/): per-logo HEIGHT so stacked marks and long wordmarks read at the same optical size */
.marquee-track .logo[data-b="barclays"], .bank-logo img[data-b="barclays"] { height: 34px; max-height: none; width: auto; object-fit: contain; max-width: min(170px, 100%); }
.marquee-track .logo[data-b="bradesco"], .bank-logo img[data-b="bradesco"] { height: 58px; max-height: none; width: auto; object-fit: contain; max-width: min(90px, 100%); }
.marquee-track .logo[data-b="brex"], .bank-logo img[data-b="brex"] { height: 30px; max-height: none; width: auto; object-fit: contain; max-width: min(130px, 100%); }
.marquee-track .logo[data-b="clara"], .bank-logo img[data-b="clara"] { height: 30px; max-height: none; width: auto; object-fit: contain; max-width: min(160px, 100%); }
.marquee-track .logo[data-b="emirates-nbd"], .bank-logo img[data-b="emirates-nbd"] { height: 48px; max-height: none; width: auto; object-fit: contain; max-width: min(180px, 100%); }
.marquee-track .logo[data-b="fab"], .bank-logo img[data-b="fab"] { height: 58px; max-height: none; width: auto; object-fit: contain; max-width: min(110px, 100%); }
.marquee-track .logo[data-b="hsbc"], .bank-logo img[data-b="hsbc"] { height: 30px; max-height: none; width: auto; object-fit: contain; max-width: min(120px, 100%); }
.marquee-track .logo[data-b="natwest"], .bank-logo img[data-b="natwest"] { height: 44px; max-height: none; width: auto; object-fit: contain; max-width: min(130px, 100%); }
.marquee-track .logo[data-b="rbs"], .bank-logo img[data-b="rbs"] { height: 40px; max-height: none; width: auto; object-fit: contain; max-width: min(150px, 100%); }
.marquee-track .logo[data-b="us-bank"], .bank-logo img[data-b="us-bank"] { height: 36px; max-height: none; width: auto; object-fit: contain; max-width: min(140px, 100%); }
.marquee-track .logo[data-b="wells-fargo"], .bank-logo img[data-b="wells-fargo"] { height: 20px; max-height: none; width: auto; object-fit: contain; max-width: min(190px, 100%); }
.marquee-track .logo[data-b="westpac"], .bank-logo img[data-b="westpac"] { height: 32px; max-height: none; width: auto; object-fit: contain; max-width: min(160px, 100%); }

/* logos with heavy internal whitespace read small — scale them up to balance the row.
   max-width stays 100% (relative to the grid track, which can now shrink on narrow
   screens) — these per-brand rules only raise the max-HEIGHT ceiling, matching the
   original design intent; a fixed px max-width here was overflowing the grid on phones. */
.banks .lead a { color: var(--l-ink); }   /* "Contact with the Mastercard team" — black, not the browser's default link blue */
.banks .lead a:hover { color: var(--orange-ink); }
.bank-cta { margin: 0; }
.bank-cta a { display: block; text-align: left; border: 1px solid var(--l-ink); border-radius: var(--r-pill); padding: 14px 26px; text-decoration: none; color: var(--l-ink-2); font-size: 14px; }
.bank-cta a:hover { border-color: var(--oracle-orange); }
.bank-cta strong { color: var(--orange-ink); font-weight: 700; }
.bank-cta .u { text-decoration: underline; }
/* ---- Clients (placeholder logo grid, matches the mock) ---- */
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 26px; }
.client-ph { aspect-ratio: 2 / 1; border: 1px solid #d7d3dc; border-radius: 16px; background: #ecebee; }
@media (max-width: 980px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ============================================================================
   TESTIMONIAL (single carousel)
   ========================================================================== */
.testimonial { text-align: center; }
.carousel { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 940px; margin: 0 auto; overflow: hidden; }
.car-item { flex: 1; transition: transform .26s var(--ease), opacity .26s var(--ease); will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .car-item { transition: none; } }
.car-item .mark { color: var(--oracle-orange); font-family: Georgia, "Times New Roman", serif;   /* rounded, curly quote glyph */
  font-size: clamp(120px, 13vw, 190px); line-height: .5; display: block; }
.car-quote { font-style: italic; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.32; color: var(--l-ink); margin: 2px 0 26px;
  display: flex; align-items: center; justify-content: center; text-align: center; }   /* min-height reserved in JS so shorter quotes don't shift the section */
.car-item blockquote { margin: 0; }
.who { display: flex; flex-direction: column; gap: 2px; }
.car-name { color: var(--l-ink); font-size: 14px; }
.car-role, .car-co { color: var(--l-muted); font-size: 13px; }
.car-nav { background: none; border: none; font-size: 40px; color: var(--l-muted); cursor: pointer; line-height: 1; padding: 0 6px; flex: none; }
.car-nav:hover { color: var(--l-ink); }

/* ============================================================================
   RESOURCES (accordion)
   ========================================================================== */
.resources { position: relative; overflow: hidden; background: #0d0b0f; }
/* the photo fills the whole section; a semi-transparent overlay keeps the office
   faintly visible on the left (for legibility) and reveals the man in a bright
   circle on the right. */
.resources::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("img/resources.jpg") 70% 30% / cover no-repeat; }
.resources::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    /* darkness concentrated in the top-left (for the eyebrow + white copy), fading to a lighter photo elsewhere */
    radial-gradient(135% 125% at 0% 0%, rgba(13,11,15,.96) 0%, rgba(13,11,15,.64) 26%, rgba(13,11,15,.2) 54%, rgba(13,11,15,.06) 78%),
    /* light overall veil so the photo stays cohesive behind the pills */
    linear-gradient(rgba(13,11,15,.3), rgba(13,11,15,.3)); }
.resources .wrap { position: relative; z-index: 1; }
.res-media { display: none; }   /* the man now lives in the section background above */
.res-copy { max-width: 560px; }
.resources .h2, .resources .lead { color: #fff; }
.res-list { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; margin-left: -30px; }   /* widen left so the pill headers line up with the paragraph above */
.res-item { border-radius: var(--r-pill); transition: background-color .45s var(--ease), box-shadow .5s var(--ease); }
.res-item.open { background: #fff; overflow: hidden; border-radius: 28px;   /* expanded: a clean rounded card, not a stretched pill */
  box-shadow: 0 16px 38px rgba(0,0,0,.24); }
.res-btn { width: 100%; text-align: left; font: inherit; color: #fff; font-weight: 700; font-size: 20px;
  background: var(--grad); border: none; cursor: pointer; padding: 22px 30px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background-color .45s var(--ease), color .45s var(--ease); }
.res-btn[aria-expanded="true"] { background: #fff; color: var(--oracle-orange); }   /* open item becomes a white pill (active-states mock) */
.res-btn-short { display: none; }
.res-btn .icon { font-family: var(--font-display); font-size: 34px; font-weight: 200; line-height: 1; transition: transform .2s var(--ease); }   /* system face has true light weights */
/* open item flips the + to a − (minus) */
.res-btn[aria-expanded="true"] .icon { font-size: 0; }
.res-btn[aria-expanded="true"] .icon::after { content: "\2212"; font-size: 32px; font-weight: 200; }
/* The "pad": a plain rounded panel that drops open on max-height alone — opacity is
   handled per-item below (each <li> fades in on its own delay), not on the panel. */
.res-panel { background: transparent; border: none;
  border-radius: 0 0 20px 20px; padding: 0 24px; max-height: 0; overflow: hidden;
  transition: max-height .38s var(--ease), padding .38s var(--ease); }
.res-item.open .res-panel { max-height: 360px; padding: 10px 24px 30px;
  transition: max-height .8s var(--ease), padding .8s var(--ease); }   /* slower opening drop; closing stays quick */
.res-panel p { margin: 0; color: var(--d-ink-2); font-size: 14px; }
.res-panel ul { margin: 0; padding-left: 18px; color: var(--d-ink-2); font-size: 14px;
  display: flex; flex-direction: column; gap: 11px; }
.res-panel li { line-height: 1.5; }
.res-panel ul ul { margin-top: 9px; gap: 9px; }
.res-panel a { color: var(--l-ink); }
.res-panel a:hover { color: var(--orange-ink); }
/* external links get a diagonal arrow; video links get a play mark (they open the lightbox) */
.res-panel a[href^="http"]:not([data-video])::after,
.res-panel a[data-video]::after { content: ""; display: inline-block; width: .95em; height: .95em; margin-left: .28em; vertical-align: -.14em;
  background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.res-panel a[href^="http"]:not([data-video])::after {
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11L11 5M6 5h5v5'/%3E%3C/svg%3E"); }
.res-panel a[data-video]::after { width: .9em; height: .9em; vertical-align: -.1em;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M6.5 5.3v5.4L11 8z' fill='%23000'/%3E%3C/svg%3E"); }

/* ============================================================================
   VIDEO LIGHTBOX  (built by landing.js on first use)
   ========================================================================== */
.vbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; }
.vbox[hidden] { display: none; }
.vbox-backdrop { position: absolute; inset: 0; background: rgba(8,6,9,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: vboxFade .3s var(--ease) both; }
.vbox-stage { position: relative; width: min(1120px, 100%, calc((100vh - 140px) * 16 / 9)); animation: vboxPop .45s cubic-bezier(.16,1,.3,1) both; }
.vbox-media { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 40px 120px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.vbox-media video, .vbox-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.vbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: #fff; }
.vbox-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: rgba(255,255,255,.88); }
.vbox-close { flex: none; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); transition: background .2s var(--ease), border-color .2s var(--ease); }
.vbox-close:hover { background: var(--grad); border-color: transparent; }
.vbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vbox-close svg { width: 16px; height: 16px; }
.vbox.is-closing .vbox-backdrop { animation: vboxFade .25s var(--ease) reverse both; }
.vbox.is-closing .vbox-stage { animation: vboxPop .25s var(--ease) reverse both; }
@keyframes vboxFade { from { opacity: 0; } }
@keyframes vboxPop { from { opacity: 0; transform: translateY(18px) scale(.96); } }
html.vbox-locked { overflow: hidden; }
@media (max-width: 760px) { .vbox { padding: 16px; } .vbox-media { border-radius: 12px; } .vbox-title { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .vbox-backdrop, .vbox-stage { animation: none !important; } }
.res-item.open .res-panel { background: transparent; border: none; }        /* content sits inside the white pill */
.res-item.open .res-panel p, .res-item.open .res-panel ul, .res-item.open .res-panel li { color: var(--l-ink-2); }
/* "Pages from a book": the pad drops first, on its own — items don't start until it's
   mostly settled — then each top-level item takes its turn, clearly one at a time
   (a real gap between each item's start, not a blurred wash of overlapping fades).
   Quick, un-staggered reversal when the pill closes so it doesn't linger on the way out. */
.res-panel > ul > li { opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease; }
.res-item.open .res-panel > ul > li { opacity: 1; transform: translateY(0); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.res-item.open .res-panel > ul > li:nth-child(1) { transition-delay: .4s; }
.res-item.open .res-panel > ul > li:nth-child(2) { transition-delay: .56s; }
.res-item.open .res-panel > ul > li:nth-child(3) { transition-delay: .72s; }
.res-item.open .res-panel > ul > li:nth-child(4) { transition-delay: .88s; }
.res-item.open .res-panel > ul > li:nth-child(5) { transition-delay: 1.04s; }
@media (prefers-reduced-motion: reduce) {
  .res-panel, .res-item.open .res-panel,
  .res-panel > ul > li, .res-item.open .res-panel > ul > li { transition: none; transition-delay: 0s; }
}
.res-media { position: absolute; top: 50%; right: -110px; transform: translateY(-50%);
  width: 620px; height: 620px; max-width: 55vw; border-radius: 50%; overflow: hidden; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 34%);
          mask-image: linear-gradient(90deg, transparent, #000 34%); }
.res-media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }

/* ============================================================================
   LET'S TALK (lead-capture form)
   ========================================================================== */
.form-grid { margin-top: 24px; }   /* layout via Bootstrap grid (.row.g-3 + .col-*) */
/* honeypot: kept in the layout (not display:none, which bots skip) but off-screen and out of tab/AT order */
.hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.field label { display: block; color: var(--orange-ink); font-weight: 400; font-size: 18px; margin-bottom: 9px; }
.field label .req { color: var(--err); margin-right: 2px; }   /* required-field asterisk */
.field input, .field select { width: 100%; padding: 14px 18px; font: inherit; font-size: 16px; color: var(--l-ink);
  background: #fff; border: 1.5px solid var(--field-line); border-radius: var(--r-pill); appearance: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.field input::placeholder { color: var(--l-muted); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2317151b' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px; cursor: pointer; }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange-ink); box-shadow: 0 0 0 3px rgba(243,115,56,.35); }
/* validation error state — red border + message with a warning triangle, à la Mastercard */
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid input:focus, .field.invalid select:focus { box-shadow: 0 0 0 3px rgba(160,34,24,.18); }
.field-error { display: flex; align-items: center; gap: 6px; margin: 7px 2px 0; color: var(--err); font-size: 13px; font-weight: 500; }
.field-error::before { content: ""; flex: none; width: 15px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 15'%3E%3Cpath d='M8 .8 15.4 14.2 .6 14.2 Z' fill='%23a02218'/%3E%3Crect x='7.1' y='4.8' width='1.8' height='5' rx='.9' fill='%23fff'/%3E%3Ccircle cx='8' cy='12' r='1.05' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat; }
.consent.invalid input { border-color: var(--err); }
.consents { border: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--l-ink-2); line-height: 1.55; cursor: pointer; }
/* circular consent checkboxes (like the mock) — centered checkmark via SVG background */
.consent input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin-top: 1px;
  border: 1.5px solid #17151b; border-radius: 50%; background: #fff; cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease); }
.consent input:hover { border-color: #17151b; }
.consent input:checked { border-color: #17151b;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.4 3.3L11 1.5' fill='none' stroke='%23f37338' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px 11px no-repeat; }
.consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(244,115,56,.3); }
.submit { margin: 26px 0 0; background: #111; color: #fff; font: inherit; font-weight: 600; border: none; border-radius: var(--r-pill); padding: 13px 40px; cursor: pointer;
  transition: background .15s var(--ease), transform .1s var(--ease), box-shadow .15s var(--ease); }
.submit:hover { background: #000; }
.submit:active { transform: translateY(1px); background: #000; }   /* pressed state */
.submit:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(244,115,56,.45); }

/* ============================================================================
   FOOTER
   ========================================================================== */
.lp-footer { background: var(--d-bg-2); color: var(--d-ink-2); padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }   /* clears the iPhone home indicator */
.lp-footer .home { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.lp-footer .tagline { margin: 10px 0 34px; max-width: 22ch; color: #fff; font-size: 20px; line-height: 1.35; }
/* layout handled by Bootstrap grid (.row.row-cols-2.row-cols-md-4) — these rules only style the contents */
.foot-cols h3 { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--d-muted); margin: 0 0 14px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { text-decoration: none; font-size: 14.5px; color: #fff; }
.foot-cols a:hover { color: var(--oracle-orange); }
/* heading toggle (injected by landing.js). Desktop: looks and behaves like the plain heading. */
.foot-toggle { all: unset; display: block; width: 100%; cursor: default; }
.foot-toggle .chev { display: none; }
@media (max-width: 760px) {
  /* Mastercard.com-style mobile footer: each column collapses into an accordion row */
  .foot-cols { --bs-gutter-y: 0; }
  .foot-cols > .col { flex: 0 0 100%; max-width: 100%; border-top: 1px solid var(--d-border); }
  .foot-cols > .col:last-child { border-bottom: 1px solid var(--d-border); }
  .foot-cols h3 { margin: 0; font-size: 13px; color: #fff; }
  .foot-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box;
    min-height: 56px; padding: 16px 0; cursor: pointer; }
  .foot-toggle:focus-visible { outline: 2px solid var(--oracle-orange); outline-offset: 2px; border-radius: 4px; }
  .foot-toggle .chev { display: block; flex: none; width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .foot-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .foot-cols .col ul { overflow: hidden; max-height: 0; padding: 0; gap: 14px; transition: max-height .35s var(--ease), padding .35s var(--ease); }
  .foot-cols .col.is-open ul { max-height: 400px; padding: 2px 0 20px; }
  .foot-cols .col ul a { font-size: 15px; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .foot-toggle .chev, .foot-cols .col ul { transition: none; }
}
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--d-border); font-size: 12px; color: var(--d-muted); }
.foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-bottom a { text-decoration: none; font-size: 13px; }

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .resources .wrap { grid-template-columns: 1fr; }
  .res-media { display: none; }
}
@media (max-width: 760px) {
  :root { --content-pad: 0px; }   /* on phones, content and cards share the page margin */
  .lp-section { padding: 100px 0; }
  .wf-sub .wf-sub-br { display: inline; }   /* extra specificity: the base .wf-sub-br rule is defined later in the file (workflow section styles), so source order alone would let it win despite this media query matching */
  .workflow .wf-sub { text-align: center; }   /* size now comes from the base rule + its 600px step, so it tracks the calculator heading */
  .hero { min-height: calc(100svh - 62px);   /* header is 62px on mobile (see .lp-header .wrap below) */
    align-items: flex-end; }                 /* copy drops to the foot of the hero; the arch takes the top */
  .hero-copy { padding: 40px 0 calc(52px + 5vh); }   /* extra bottom padding lifts the copy off the foot */
  /* both clamp to their MIN at phone widths, so the min is what to trim */
  .hero h1 { font-size: clamp(24px, 3.55vw, 42px); }
  .hero .sub { font-size: clamp(18px, 2.85vw, 29px); }
  /* logo carousel becomes a static 2-column x 3-row grid on mobile */
  /* two carousels, one per row, scrolling in opposite directions */
  .marquee-track { gap: 44px; animation-duration: 24s; }
  .marquee--rev { display: block; margin-top: 18px; }
  .marquee--rev .marquee-track { animation-direction: reverse; }
  /* split the logos across the two rows (set "a" up top, set "b" below; landing.js tags
     them) so the same logo is never showing in both rows at once — the sets are disjoint */
  .marquee:not(.marquee--rev) .marquee-track > [data-row="b"] { display: none; }
  .marquee--rev .marquee-track > [data-row="a"] { display: none; }
  .benefits { grid-template-columns: 1fr; }
  /* the 216px min-height is sized around the desktop 204px photo; at the mobile
     108px photo size it left a lot of dead space around the (now much shorter)
     content. Let the card size to its own content instead. */
  .benefit, .benefit.flip { min-height: 0; }
  .benefit .b-media { width: 108px; }
  .benefit .b-text { padding: 20px 20px 20px 18px; }
  .benefit .b-title { font-size: 17px; line-height: 1.25; min-height: 64px; }   /* 17px on phones (20px felt heavy); 64 = 3 lines at this size. = 3 lines at this column's line-height. The two longer titles genuinely wrap to 3 lines here, so this equalises card height instead of over-reserving (which is what "not lining up" meant before — it was tied to the old 216px card min-height, not this) */
  .benefit .b-arrow { display: block; }   /* shown on mobile too, already sits under the title via .b-text's column layout — same as desktop */
  /* expanded state: PUSH the card open instead of overlaying a fixed-height box —
     at this width the title + full description text does not fit inside the
     closed card's height, so the overlay was clipping it. Same accordion pattern
     as .res-panel elsewhere on this page. */
  .benefit .b-desc { position: static; inset: auto; grid-column: 1 / -1;
    left: auto; right: auto; max-height: 0; padding: 0 20px; opacity: 1; overflow: hidden;
    font-size: 14.5px; line-height: 1.5;
    transition: max-height .22s var(--ease), padding .22s var(--ease); }   /* collapsing hides text quickly */
  .benefit .b-desc::before { display: none; }   /* title is already shown above; no need to repeat it here */
  .benefit[aria-expanded="true"] .b-media,
  .benefit[aria-expanded="true"] .b-text { opacity: 1; }   /* nothing to fade to now the desc sits below rather than on top */
  .benefit[aria-expanded="true"] .b-desc { max-height: 260px; padding: 0 20px 20px;
    transition: max-height .4s var(--ease), padding .4s var(--ease); }   /* opening reveals more gently */
  .benefit[aria-expanded="true"] { border-radius: 28px; }   /* the full pill radius reads oddly on the taller pushed-open box — same treatment as .res-item.open */
  /* comparison bleeds edge-to-edge on mobile, keeping its rounded corners (dark calc shows behind the rounded bottom) */
  .compare .cmp-head, .compare .cmp-card { margin-left: -24px; margin-right: -24px; }
  .calc-disclaimer { padding: 16px 20px; border-radius: 28px; }   /* 44px corners crowd the text at this width */
  .bank-cta strong { display: block; margin-bottom: 2px; }
  /* phones: plain text, no pill border; "Contact us" stays underlined as the link cue */
  .bank-cta a { border: 0; border-radius: 0; padding: 0; font-size: 15px; line-height: 1.5; }   /* "Our list is growing, contact us now." drops to its own line */
  .cmp-head { padding: 26px 22px; }
  .cmp-card { grid-template-columns: 1fr; gap: 8px 0; padding: 28px 22px; margin-bottom: -200px; }   /* deeper bridge so the dark calc bg underlaps the card on mobile */
  .banks .bank-grid { --cols: 3; }
  .carousel { gap: 2px; }                                          /* tighter so the quote gets more width */
  .car-quote { font-size: 30px; font-weight: 600; line-height: 1.24; margin: 12px 0 16px; }   /* bigger + bolder */
  .car-nav { font-size: 26px; padding: 0 2px; }
  .lp-header .wrap { height: 62px; }
  .btn-contact { padding: 5px 28px; font-size: 13px; }
  /* on phones the text runs the full width over the photo, so drop the bright circle
     and use an even veil for legibility */
  .resources::before { background-position: 82% 18%; }
  .resources::after { background: linear-gradient(180deg, rgba(13,11,15,.9) 0%, rgba(13,11,15,.7) 45%, rgba(13,11,15,.84) 100%); }
  .oracle-word { font-size: 16px; }
  /* Copy now sits at the FOOT of the hero, so the veil runs top→bottom instead of
     left→right: the photo and the arch stay open up top, and the darkness gathers
     under the text. Bottom stop matches the .88 the left-hand stop used to carry, so
     the white h1 and orange sub keep the same contrast they have on desktop. */
  .hero-bg::before { background:
    linear-gradient(180deg, rgba(11,10,12,.1) 0%, rgba(11,10,12,.2) 20%, rgba(11,10,12,.62) 36%, rgba(11,10,12,.82) 68%, rgba(11,10,12,.9) 100%),
    /* The circle moves to the top edge, so its lower curve — the arch — sweeps across
       the hero and bottoms out at 50vh: photo open above it, dark below. Scaled off
       --hero-cr (which animates 0→60vh) rather than hard-coded, so it still grows in
       with the same timing, and the reduced-motion end state stays correct for free.
       Centre sits left of middle, which tilts the arch: its low point stays at 50vh but
       the curve now meets the right edge ~50px higher than the left. (A radial gradient
       can't be rotated, so off-centring is what buys the tilt.)
       Softened from the desktop .58 because the linear veil above already carries the
       copy's contrast, and stacking both at full strength crushed the lower photo. */
    radial-gradient(circle calc(var(--hero-cr) * 5 / 6) at 35% 0%, transparent 99.4%, rgba(11,10,12,.38) 100%); }
  /* the white decorative arc reads as a stray line on a narrow phone — hide it */
  .hero-bg::after { display: none; }
  /* footer bottom links inherit muted colour instead of the browser's default blue/purple */
  .foot-bottom a { color: #fff; }
  .foot-bottom a:hover { color: var(--oracle-orange); }
  /* the -30px desktop offset (lines the pills up with the paragraph above) pushes them
     past both edges of the viewport here, since .wrap's padding is already tight on phones */
  .res-list { margin-left: 0; }
  .res-btn { font-size: 17px; }
  .res-btn-full { display: none; }
  .res-btn-short { display: inline; }
  /* bottom contact form: match the popup modal's 2-up grid instead of Bootstrap's
     single-column col-12 stack — overrides the .row/.col-* gutters with plain grid gap */
  .contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; margin: 24px 0 0; }
  .contact-form .field { padding: 0; margin: 0; }
  .contact-form .field--wide { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .banks .bank-grid { --cols: 2; }
  .hero-copy { padding: 24px 0 calc(40px + 5vh); }
  .car-quote { font-size: 25px; }              /* keep the testimonial quote from crowding the arrows */
  .cmp-head { padding: 24px 18px; }
  .cmp-card { padding: 24px 18px; }
}
/* footer bottom links: never the default link blue, at any width */
.foot-bottom a { color: #fff; }
.foot-bottom a:hover { color: var(--oracle-orange); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .marquee { overflow-x: auto; }   /* no auto-scroll — let the user swipe the logos instead */
}

/* ---- Download lead-gate modal (download build only) ---- */
.dl-modal[hidden] { display: none; }
/* Desktop: a near-fullscreen modal sitting inside a 5vh / 5vw margin.
   Mobile (<=760px) overrides this back to a pull-up drawer — see the block below. */
.dl-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 5vh 5vw; }
.dl-backdrop { position: absolute; inset: 0; background: rgba(9,8,12,.62); backdrop-filter: blur(2px); animation: dlFade .34s ease both; }
.dl-modal { --dl-surface: #F0F0EB; }                                  /* form ground, per R3 */
/* Height follows the CONTENT (never stretched), so the padding above and below the form
   stays even instead of leaving dead space at the bottom; the dialog then centres in the
   viewport. The caps stop a 2000px+ display getting a 1800px-wide panel — past them it
   simply sits centred. Once content exceeds the cap, .dl-scroll takes over. */
.dl-dialog { position: relative; z-index: 1; width: 100%; max-width: 1180px; height: auto; max-height: min(880px, 90vh);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--dl-surface); border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45); animation: dlFlyIn .6s cubic-bezier(.16,1,.3,1) both; }   /* flies in from the left */
/* Faint sweeping arc, as R3 draws behind its Let's Talk block. Geometry fitted from the
   mock: a circle centred near the top-left whose lower-right edge crosses the panel.
   Same radial-gradient hairline trick as .hero-bg::before. */
.dl-dialog::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  /* a RING, not a vignette: the stop must close back to transparent at 100%, or everything
     outside the circle gets painted (which is what the hero's version deliberately does) */
  /* Tighter circle = a visibly rounded sweep rather than a near-diagonal. Sized so the
     lowest point still falls inside the panel (no clipped cap re-entering at the corner)
     while the top crossing stays out at ~76% width, and it bottoms out under the submit. */
  background: radial-gradient(circle 47vw at 26% 0%,
    transparent 99.78%, rgba(23,21,27,.15) 99.78%, rgba(23,21,27,.15) 100%, transparent 100%); }
.dl-form { position: relative; z-index: 1; }   /* content sits above the arc */
.dl-dialog:focus { outline: none; }   /* focused programmatically on touch; not a control, so no ring */
.dl-form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
/* The form content sits on the SAME measure as the page's content column, so the fields
   line up with the rest of the site instead of stretching across the whole dialog:
   --maxw minus the page gutter (24px) and --content-pad on each side. */
.dl-scroll { position: relative; overflow-y: auto; padding: 40px 24px; }   /* anchors .dl-x, which now scrolls with the content */
/* ONE wrapper on the page's own measure — constraining each child individually loses to
   their own margin shorthands, which is how the heading drifted off the field column. */
.dl-inner { max-width: calc(var(--maxw) - 2 * (24px + var(--content-pad))); margin: 0 auto; }
.dl-actions { margin: 26px 0 8px; }   /* submit scrolls with the form — no pinned bar, one flat surface */
@keyframes dlFade { from { opacity: 0; } to { opacity: 1; } }
/* same orange as the dropdown chevron / disclaimer hairline */
/* close X: two thin drawn lines, matching the light "+"/"-" of the Resources pills
   (the &times; in the markup stays as the no-CSS fallback). Tucked into the corner,
   with a full 44px tap target. */
.dl-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; border: none; background: transparent;
  font-size: 0; line-height: 0; color: var(--oracle-orange); cursor: pointer; border-radius: 50%; z-index: 2;
  transition: color .15s var(--ease); }
.dl-x::before, .dl-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 1.5px;
  background: currentColor; border-radius: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.dl-x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.dl-x:hover { color: #17151b; background: transparent; }
.dl-x-out { display: none; }   /* phones: the close button moves out onto the dimmed backdrop (see 760px below) */
.dl-x:focus-visible { outline: 2px solid var(--oracle-orange); outline-offset: 2px; }
.dl-eyebrow { color: #17151b; margin-bottom: 14px; }   /* black label, orange dot — as R3 draws it */
/* the modal is hidden when the scroll-reveal observer runs, so its label never "came
   into view" and stayed invisible (but still took space above the title) */
.reveal-on .dl-modal .eyebrow { opacity: 1 !important; transform: none !important; }
.dl-eyebrow::before { background: var(--oracle-orange); }
.dl-title { font-family: var(--font-display); font-size: 27px; line-height: 1.15; margin: 0 0 12px; color: #17151b; }
.dl-sub { color: var(--l-ink-2); font-size: 15.5px; line-height: 1.55; margin: 0 0 30px; }
.dl-sub strong { font-weight: 700; color: #17151b; }
/* R3 lays this form out three across: First/Last/Company, then Title/Email/Country,
   with Questions spanning the full width — but only where the columns can breathe.
   At iPad width three columns leaves ~200px each, so two is the default and three is
   opt-in above 1024px. */
.dl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
@media (min-width: 1025px) { .dl-grid { grid-template-columns: repeat(3, 1fr); } }
.dl-col-2 { grid-column: 1 / -1; }
.dl-field { margin: 0; min-width: 0; }
/* Larger, lighter orange labels, as R3 draws them.
   NOTE: none of the brand oranges clear 4.5:1 on this ground — see the contrast note. */
.dl-field label { display: block; font-size: 16px; font-weight: 500; color: var(--orange-ink); margin-bottom: 7px; }
.dl-field .req { color: var(--orange-ink); }
.dl-field input, .dl-field select { width: 100%; padding: 11px 18px; font: inherit; font-size: 14px; color: #17151b; background: #fff;
  border: 1.5px solid var(--field-line); border-radius: var(--r-pill); outline: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.dl-field input::placeholder { color: var(--l-muted); }
.dl-field select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='none' stroke='%236f6a75' stroke-width='1.6' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.dl-field input:focus, .dl-field select:focus { border-color: var(--oracle-orange); box-shadow: 0 0 0 3px rgba(244,115,56,.18); }
.dl-field.invalid input, .dl-field.invalid select { border-color: var(--err); }
.dl-err { display: none; color: var(--err); font-size: 11.5px; margin-top: 5px; }
.dl-field.invalid .dl-err { display: block; }
.dl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }   /* honeypot — off-screen, not display:none */
.dl-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 12px; color: #17151b; line-height: 1.45; margin: 13px 0 0; cursor: pointer; }
.dl-consent:first-of-type { margin-top: 20px; }
/* circular consent checkboxes — match the contact form at the bottom of the page */
/* circle keeps a black border in every state; only the tick carries the brand colour */
.dl-consent input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid #17151b; border-radius: 50%; background: #fff; cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease); }
.dl-consent input:hover { border-color: #17151b; }
.dl-consent input:checked { border-color: #17151b;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.4 3.3L11 1.5' fill='none' stroke='%23f37338' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 10px no-repeat; }
.dl-consent input:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(244,115,56,.3); }
.dl-consent a { color: #17151b; text-decoration: underline; }
.dl-consent a:hover { color: var(--orange-ink); }
.dl-consent.invalid { color: var(--err); }
.dl-consent.invalid input { border-color: var(--err); }
.dl-submit { min-width: 190px; background: #17151b; color: #fff;   /* rests black, as R3 draws it */ font: inherit; font-weight: 700; font-size: 16px;
  border: none; border-radius: var(--r-pill); padding: 14px 34px; cursor: pointer;
  transition: background .15s var(--ease), transform .1s var(--ease); }
.dl-submit:hover { filter: none; background: var(--grad); }   /* hovers to the toggle's active gradient */
.dl-submit:active { transform: translateY(1px); }
.dl-submit:disabled { opacity: .9; cursor: default; }
/* Confirmation: the button settles into the active gradient, gives one small pop, and a
   tick draws itself in. Everything is suppressed under prefers-reduced-motion. */
.dl-submit.is-done { background: var(--grad); opacity: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  animation: dlDonePop .42s cubic-bezier(.2,.8,.2,1); }
.dl-tick { display: inline-flex; width: 21px; height: 21px; flex: none; }
.dl-tick svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 27; stroke-dashoffset: 27;
  animation: dlTickDraw .45s .08s cubic-bezier(.65,0,.35,1) forwards; }
@keyframes dlTickDraw { to { stroke-dashoffset: 0; } }
@keyframes dlDonePop { 0% { transform: scale(1); } 45% { transform: scale(1.035); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .dl-submit.is-done { animation: none; }
  .dl-tick svg { animation: none; stroke-dashoffset: 0; }
}
/* Locked while a submission is in flight (see download-gate.js): the close button and
   backdrop/Esc handlers stop responding, and this veil makes that visible rather than
   leaving the form looking editable while nothing will actually respond to it. */
.dl-modal.is-submitting .dl-x { pointer-events: none; opacity: .35; }
.dl-modal.is-submitting .dl-dialog::before { content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(240,240,235,.55); animation: dlFade .18s ease both; }
@media (prefers-reduced-motion: reduce) {
  .dl-modal.is-submitting .dl-dialog::before { animation: none; }
}

/* every dismissal (X, backdrop, Esc, or after a submit): flies off to the right,
   continuing the left-to-right path it came in on */
.dl-modal.is-closing .dl-backdrop { animation: none; opacity: 0; transition: opacity .4s ease .08s; }
.dl-modal.is-closing .dl-dialog { animation: none; transform: translateX(110vw);
  transition: transform .48s cubic-bezier(.55,0,.75,.2); }
@media (prefers-reduced-motion: reduce) {
  .dl-modal.is-closing .dl-backdrop, .dl-modal.is-closing .dl-dialog { transition: none; }
}
/* mobile: back to a pull-up drawer, edge to edge */
@media (max-width: 760px) {
  .dl-modal { align-items: flex-end; padding: 0; }
  /* close X lives on the dimmed strip above the drawer, right-aligned, in white */
  /* the WHOLE drawer scrolls (not a box inside it): the modal itself is the scroller.
     margin-top:auto on the first child bottom-anchors a short drawer without the
     flex-end trap that would make a tall one's top unreachable. */
  .dl-modal { flex-direction: column; justify-content: flex-start; align-items: stretch;
    overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
    padding-top: 12px; }   /* puts the pinned X 12px from the top; its 12px bottom margin then stays clear of the drawer */
  .dl-backdrop { position: fixed; }                      /* stays put behind the scrolling drawer */
  /* iOS Safari's bottom toolbar floats over the page; "inset: 0" stops at its top edge, so
     the page showed through the bar. Size to the LARGE viewport (lvh), which includes
     the area under the toolbar, so the backdrop and drawer reach the true bottom. */
  .dl-modal, .dl-backdrop { inset: 0 0 auto 0; height: 100vh; height: 100lvh; }
  /* iOS Safari still paints the PAGE behind its floating bottom bar, whatever overlays
     it. So while the modal is open the page itself is hidden and the page background
     takes the drawer colour: the only thing left behind the bar matches the drawer.
     The backdrop goes near-opaque, since there is no page left to dim. */
  html.dl-open, html.dl-open body { background: #F0F0EB; }
  html.dl-open body > *:not(.dl-modal):not(script) { visibility: hidden; }
  html.dl-open .dl-backdrop { background: rgba(9,8,12,.92); }
  .dl-scroll { overflow: visible; }
  .dl-x { display: none; }
  .dl-eyebrow { display: none; }   /* phones: title sits at the top of the drawer */
  .dl-inner { margin-top: .5rem; }
  .dl-sub-lead { display: none; }   /* phones: just the "Contact us today…" line; the form comes sooner */   /* = Bootstrap mt-2, phones only (matches this 760px breakpoint exactly) */
  /* pinned: stays at the top-right as the drawer scrolls up beneath it; the dark
     glass circle keeps the white X readable over the backdrop AND the light form */
  .dl-x-out { display: block; position: sticky; top: 0; z-index: 3;   /* the modal's 12px padding-top already places it */ flex: none; align-self: flex-end;
    margin: auto 14px 12px 0; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; color: #fff;
    background: rgba(23,21,27,.55); border: 1px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    animation: dlFade .34s ease both; transition: opacity .3s ease; }
  .dl-x-out::before, .dl-x-out::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 1.5px;
    background: currentColor; border-radius: 1px; transform: translate(-50%, -50%) rotate(45deg); }
  .dl-x-out::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .dl-x-out:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .dl-modal.is-closing .dl-x-out, .dl-modal.is-submitting .dl-x-out { opacity: 0; pointer-events: none; }
  .dl-dialog { height: auto; max-width: none; max-height: none; flex: none; border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 60px rgba(0,0,0,.45); animation: dlSheet .42s cubic-bezier(.16,1,.3,1) both; }
  .dl-dialog::after { background: radial-gradient(circle 118vw at 8% -22%,
    transparent 99.75%, rgba(23,21,27,.15) 99.75%, rgba(23,21,27,.15) 100%, transparent 100%); }
  .dl-dialog::after { display: none; }             /* no decorative arc on a phone */
  /* mobile dismissal: the sheet drops straight back down to where it rose from */
  .dl-modal.is-closing .dl-dialog { animation: none; opacity: 1;
    transform: translateY(100%);
    transition: transform .42s cubic-bezier(.55,0,.75,.2); }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .dl-submit { width: 100%; min-width: 0; padding: 14px; }
  .dl-scroll { padding: 14px 18px 4px; }
  .dl-scroll { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  /* + the toolbar's own height (large minus small viewport), so Submit can always be
     scrolled clear above Safari's bar; 0 where there is no such toolbar */
  @supports (height: 100lvh) { .dl-scroll { padding-bottom: calc(24px + env(safe-area-inset-bottom) + (100lvh - 100svh)); } }
  .dl-grid { gap: 12px 10px; }                 /* keep the two-column rows on mobile */
  /* 16px minimum: below this iOS zooms the viewport on focus, which on a drawer looks
     like the form jumping. Fixed here rather than with maximum-scale, which would also
     disable pinch-zoom for everyone. */
  .dl-field input, .dl-field select { padding: 11px 15px; font-size: 16px; }
  .dl-field select { padding-right: 32px; background-position: right 12px center; }
}
@keyframes dlSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes dlPop { from { opacity: 0; transform: translateY(26px) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes dlFlyIn { from { transform: translateX(-110vw); } to { transform: none; } }



/* ============================================================================
   SCROLL REVEAL — content fades + rises into view (Mastercard-style)
   ========================================================================== */
.reveal-on :is(.eyebrow, .hero h1, .hero .sub, .benefit-note, .h2, .lead,
  .benefit, .client-ph, .bank-logo, .res-item, .calc-disclaimer, .cmp-col h3, .cmp-col li,
  .wf-step, .wf-sub, .wf-flow > li,
  .contact-form .field, .contact-form .submit, .testimonial .mark) {
  /* like mastercard.com: a 36px rise, no scaling, long soft ease-out.
     The fade runs a touch ahead of the movement so things settle rather than arrive. */
  opacity: 0; transform: translate3d(0, 36px, 0);
  transition: opacity 1s var(--reveal-ease), transform 1.4s var(--reveal-ease);
  will-change: opacity, transform;
}
.reveal-on .is-in { opacity: 1 !important; transform: none !important; will-change: auto; }   /* drop the layer hint once shown */
/* ROI calculator: inputs slide in from the left, the chart slides in from the right */
.reveal-on .roi-calc .inputs { opacity: 0; transform: translate3d(-40px, 0, 0);
  transition: opacity 1s var(--reveal-ease), transform 1.4s var(--reveal-ease); will-change: opacity, transform; }
.reveal-on .roi-calc .viz { opacity: 0; transform: translate3d(40px, 0, 0);
  transition: opacity 1s var(--reveal-ease), transform 1.4s var(--reveal-ease) .1s; will-change: opacity, transform; }
/* On phones the two blocks are stacked full-width, so the sideways slide parks the
   chart 64px PAST the viewport's right edge until it scrolls into view — iOS lets the
   page pan into that gap and shows the charcoal body background as a bar on load.
   Rise in vertically instead, like every other revealed element. (Lives here, after
   the base rules, because the mobile block earlier in the file would lose on order.) */
@media (max-width: 760px) {
  .reveal-on .roi-calc .inputs, .reveal-on .roi-calc .viz { transform: translate3d(0, 36px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on .roi-calc .inputs, .reveal-on .roi-calc .viz { opacity: 1; transform: none; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on :is(.eyebrow, .hero h1, .hero .sub, .benefit-note, .h2, .lead,
    .benefit, .client-ph, .bank-logo, .res-item, .calc-disclaimer, .cmp-col h3, .cmp-col li,
    .wf-step, .wf-sub, .wf-flow > li,
    .contact-form .field, .contact-form .submit, .testimonial .mark) {
    opacity: 1; transform: none; transition: none;
  }
}

/* ---- form submitted confirmation (replaces the form, fades in) ---- */
.form-confirm { text-align: center; padding: 72px 20px; opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.form-confirm.in { opacity: 1; transform: none; }
.form-confirm .fc-brand { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.form-confirm .fc-mc { height: 44px; width: auto; }
.form-confirm .fc-div { width: 1px; height: 36px; background: #cbc6d1; }
.form-confirm .fc-oracle { height: 19px; width: auto; filter: invert(1); }   /* white logo → dark on the light bg */
.form-confirm .fc-title { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 48px); font-weight: 700;
  color: var(--l-ink); margin: 0 0 14px; letter-spacing: -.02em; }
.form-confirm .fc-msg { font-size: 19px; color: var(--l-ink-2); margin: 0; }
/* laid over a form instead of replacing it: the form fades out underneath and keeps its
   height, the panel rises in, then (page form) fades away and gives the form back */
.fc-host { position: relative; }
.fc-host > :not(.fc-overlay) { transition: opacity .45s var(--ease); }
/* !important: the page form's Submit button is also a scroll-reveal target, and
   `.reveal-on .is-in` pins it to opacity 1 !important once it has scrolled into view.
   Without matching weight here the button (still reading "Submitting…") stayed visible
   underneath the confirmation panel. This selector is more specific, so it wins. */
.fc-host.is-confirming > :not(.fc-overlay) { opacity: 0 !important; pointer-events: none; }
.fc-overlay { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 24px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.form-confirm.out { opacity: 0; transform: translateY(-14px); }
.dl-form .fc-overlay { background: var(--dl-surface, #f0f0eb); border-radius: inherit; }
.cf-formerr { margin: 0 0 12px; color: #c0341d; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .fc-host > *, .fc-overlay { transition: none !important; } }

/* ============================================================================
   WORKFLOW  —  "How it works: 3 easy steps" + the in-ERP process strip
   Added for R3. The numbered circle overlaps the top of its card, so the card
   carries the top padding rather than the circle carrying a margin — that way
   the cards stay bottom-aligned when the titles wrap to different depths.
   ========================================================================= */
/* R3 puts this section on white with cream cards — the shared --light section
   ground is itself cream, so the section overrides it or the cards vanish. */
.workflow { background: var(--l-bg); }
.wf-h2 { color: var(--orange-ink); margin-bottom: 30px; }

.wf-steps {
  list-style: none; margin: 0 0 46px; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.wf-step { position: relative; display: flex; }
.wf-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 98px; height: 98px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--l-bg); border: 1.5px solid var(--oracle-orange);
  font-size: 44px; font-weight: 400; color: var(--l-ink);
}
.wf-card {
  flex: 1; background: var(--l-cream); border-radius: var(--r);
  padding: 68px 26px 26px; margin-top: 49px;   /* 49px = half the circle */
  text-align: center;
}
.wf-title { color: var(--orange-ink); font-size: 19px; line-height: 1.2; margin: 0 0 10px; font-weight: 700; }
.wf-copy  { margin: 0; font-size: 14px; line-height: 1.55; color: var(--l-ink-2); }

/* sized to match the calculator's "Total Value of Program" heading — same clamp and the
   same 600px step as .roi-calc .roi h2 in calc/assets/style.css; keep the two in sync */
.wf-sub { color: var(--orange-ink); font-size: clamp(21px, 2.4vw, 29px); margin: 0 0 24px; font-weight: 500; }
@media (max-width: 600px) { .workflow .wf-sub { font-size: 27px; } }
.wf-sub-br { display: none; }

.wf-flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 0; }   /* spans the full content width: first step flush left, last flush right */
.wf-icon { flex: 1 1 0; min-width: 0; text-align: center; font-size: 13px; line-height: 1.35; color: var(--l-ink-2); white-space: nowrap; }   /* six EQUAL columns across the full width, so icons sit at even intervals; line breaks are set in the markup */
.wf-icon svg {
  width: 56px; height: 58px; display: block; margin: 0 auto 10px;
  fill: none; stroke: var(--ic); stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.wf-img { display: block; width: 68px; height: 68px; margin: 0 auto 10px; object-fit: contain; }   /* approved artwork, contained in the same 68px slot the arrows centre on */
.wf-ph { display: block; width: 68px; height: 68px; margin: 0 auto 10px;
  border-radius: 50%; background: #ecebee; border: 1px solid #d7d3dc; }
/* the chevron between steps — a CSS triangle, so there is no extra asset */
/* fixed-width arrow between equal columns = always exactly halfway between two icons;
   the grey chevron (a CSS triangle, no asset) is centred level with the 68px icons */
.wf-arrow { flex: 0 0 20px; align-self: flex-start; position: relative; height: 68px; }
.wf-arrow::before { content: ""; position: absolute; left: 50%; top: 16px; transform: translateX(-50%);   /* 16 = (68 - 36) / 2 */
  width: 0; height: 0; border-top: 18px solid transparent; border-bottom: 18px solid transparent; border-left: 20px solid #cdc8c2; }

/* shared black pill CTA (R3 uses it to close Overview and Workflow) */
.lp-cta-row { display: flex; justify-content: center; margin-top: 38px; }
.lp-pill {
  display: inline-block; background: #000; color: #fff; text-decoration: none;
  font-size: 16px; font-weight: 600; padding: 7px 48px; border-radius: var(--r-pill);
  min-width: 280px; text-align: center;   /* both pills (Get started / Leverage these benefits) share one width */
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.lp-pill:hover { background: var(--grad); }
.lp-pill:active { transform: translateY(1px); }
.lp-pill:focus-visible { outline: 2px solid var(--oracle-orange); outline-offset: 3px; }

@media (max-width: 900px) {
  .wf-steps { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 760px) {
  /* phones: a vertical timeline. One step per row (icon left, label right) with a grey
     chevron pointing DOWN under each icon, so the order reads top to bottom. */
  .wf-flow { flex-direction: column; align-items: stretch; max-width: 380px; margin: 0 auto; }
  .wf-icon { flex: none; display: flex; align-items: center; gap: 18px; text-align: left;
    white-space: normal; font-size: 15px; line-height: 1.35; color: var(--l-ink); }
  .wf-icon br { display: none; }                         /* labels run on one or two natural lines */
  .wf-img { width: 56px; height: 56px; margin: 0; flex: none; }
  .wf-arrow { flex: none; height: 34px; width: 56px; }   /* same width as the icon column, so the chevron sits under its centre */
  .wf-arrow::before { left: 28px; top: 50%; transform: translate(-50%, -50%);
    border-left: 11px solid transparent; border-right: 11px solid transparent; border-top: 13px solid #cdc8c2; border-bottom: 0; }
}

/* ============================================================================
   TABLETS (iPad and similar) — between the phone (<=760px) and desktop layouts
   ========================================================================== */
/* Portrait tablets: the phone-style hero (photo + arch on top, copy at the foot on a
   dark veil) scaled up — side-by-side left the copy sitting on the man's arm. */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero { min-height: min(calc(100svh - 68px), 1000px); align-items: flex-end; }
  .hero-copy { max-width: 600px; padding: 40px 0 calc(64px + 4vh); }
  .hero h1 { font-size: clamp(32px, 4.4vw, 44px); }
  .hero .sub { font-size: clamp(21px, 2.9vw, 27px); }
  .hero-bg { background-position: 66% 18%; }
  .hero-bg::before { background:
    linear-gradient(180deg, rgba(11,10,12,.08) 0%, rgba(11,10,12,.16) 26%, rgba(11,10,12,.6) 44%, rgba(11,10,12,.84) 70%, rgba(11,10,12,.92) 100%),
    radial-gradient(circle calc(var(--hero-cr) * 5 / 6) at 38% 0%, transparent 99.4%, rgba(11,10,12,.38) 100%); }
  .hero-bg::after { display: none; }
}
/* Landscape tablets: keep side-by-side, but move the photo right, darken behind the
   copy and narrow the copy so it clears the man. */
@media (min-width: 761px) and (max-width: 1199px) and (orientation: landscape) {
  .hero-bg { background-position: 82% 22%; }
  .hero-copy { max-width: 420px; }
  .hero-bg::before { background:
    linear-gradient(90deg, rgba(11,10,12,.82) 0%, rgba(11,10,12,.62) 40%, rgba(11,10,12,.2) 56%, rgba(11,10,12,0) 66%),
    radial-gradient(circle var(--hero-cr) at max(80%, calc(max(24px, 50vw - 536px) + 436px + 60vh)) 34%, transparent 99.4%, rgba(11,10,12,.58) 100%); }   /* 420px copy + 16px gap, same rule as desktop */
}
/* Up to small-tablet width: one benefit card per row (two left the titles clipped),
   and the 9 bank logos as a tidy 3 x 3 grid instead of tiny logos five across. */
@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr; }
  .banks .bank-grid { --cols: 3; }
}

/* Small tablets (iPad portrait): the six steps as two rows of three (1 > 2 > 3, then
   4 > 5 > 6), arrows between steps in a row, and a step number on each so the order
   is unmistakable across the wrap. 1024px and up keep the single row. */
@media (min-width: 761px) and (max-width: 900px) {
  .wf-flow { display: grid; grid-template-columns: 1fr 28px 1fr 28px 1fr; row-gap: 40px; align-items: start; counter-reset: wfstep; }
  .wf-flow > li:nth-child(6) { display: none; }          /* the arrow between step 3 and step 4 (the wrap) */
  .wf-icon { counter-increment: wfstep; white-space: normal; font-size: 14px; color: var(--l-ink); }
  .wf-icon::before { content: counter(wfstep); display: block; margin: 0 0 8px;
    font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--orange-ink); }
  .wf-arrow { flex: none; width: 28px; margin-top: 23px; }   /* clears the step number so the chevron stays level with the icon */
}

/* Phones: one consistent heading scale. Section headings were 21-27px depending on the
   section (and the hero h1 smaller than all of them); now every section heading is
   28px and the hero leads at 30px. Desktop sizes are untouched. Prefixed with
   "html body" to outrank the per-section rules (some live in calc/assets/style.css). */
@media (max-width: 760px) {
  html body .hero h1 { font-size: 30px; line-height: 1.12; }
  html body .lp-section .h2,
  html body .workflow .wf-sub,
  html body .roi-calc .roi h2,
  html body #ov-h, html body #talk .h2 { font-size: 28px; line-height: 1.15; }   /* these two carry id-level sizes, so they need naming */
  html body .eyebrow { font-size: 12px; }
}

/* Phones: bigger buttons. They were 32-39px tall (under the ~44px tap-target guideline)
   next to the 56px calculator CTAs. Now 40-52px: the calculator stays the largest. */
@media (max-width: 760px) {
  html body .lp-pill { padding: 13px 40px; font-size: 16px; min-width: 0; width: min(100%, 320px); }
  html body .btn-contact { padding: 9px 22px; font-size: 14px; font-weight: 500; }
  html body .contact-form .submit { padding: 14px 44px; min-height: 52px; }
  html body .marquee-toggle { padding: 10px 14px; font-size: 12.5px; }
}

/* Hero scroll indicator: all sizes (header + hero fill exactly one viewport everywhere,
   so the next section is out of sight until you scroll). Nudges gently, fades once scrolling. */
.hero-scroll { display: grid; place-items: center; position: absolute; left: 50%; z-index: 2;
  bottom: 28px; width: 44px; height: 44px; border-radius: 50%;
  color: #fff; border: 1.5px solid rgba(255,255,255,.55); background: rgba(11,10,12,.25);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transform: translateX(-50%); animation: heroNudge 2.4s ease-in-out 1.6s infinite;
  transition: opacity .35s var(--ease); }
.hero-scroll svg { width: 18px; height: 18px; }
.hero-scroll:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-scroll.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 760px), (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .hero-scroll { bottom: max(16px, env(safe-area-inset-bottom)); }   /* tighter on phones; clears the iOS home bar */
}
@keyframes heroNudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }
