/* The company home has its own rhythm; reading and tool pages keep theirs. */
.brand-page {
  --brand-ink: #171e29;
  --brand-muted: #596575;
  --brand-blue: #1765d9;
  --brand-surface: #f4f6f9;
  --brand-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
  color: var(--brand-ink);
}
.brand-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: none;
  min-height: 76px;
  padding: 12px max(32px, calc((100% - 1200px) / 2));
  background: rgb(255 255 255 / .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(23 30 41 / .06);
}
.brand-page .site-header nav { gap: 20px; }
.brand-page .site-header nav a { color: var(--brand-muted); }
.brand-home { overflow: clip; }
.brand-home :is(h1, h2, h3) { text-wrap: balance; letter-spacing: -.05em; }
.brand-home :is(p, a) { word-break: keep-all; overflow-wrap: anywhere; }
.brand-home a { text-decoration: none; }
.brand-home :is(a, button):focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 6px; }
.brand-home :is(section, article)[id] { scroll-margin-top: calc(76px + 4rem); }
.brand-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.brand-eyebrow { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; color: var(--brand-muted); }
.brand-hero { padding-top: clamp(72px, 8vw, 120px); }
.brand-hero-copy { padding-inline: 24px; text-align: center; }
.brand-hero h1 { margin-top: 22px; font-size: clamp(3.2rem, 6.4vw, 6rem); line-height: 1.16; font-weight: 750; }
.brand-hero h1 span { color: var(--brand-blue); }
.brand-lead { margin: 28px auto 30px; color: var(--brand-muted); font-size: clamp(1.0625rem, 1.55vw, 1.3125rem); line-height: 1.8; }
.brand-action { display: inline-flex; align-items: center; gap: 30px; min-height: 56px; padding: 14px 24px; border-radius: 18px; background: var(--brand-blue); color: #fff; font-weight: 650; transition: transform 240ms var(--brand-ease), background-color 160ms; }
.brand-action:active { transform: scale(.97); }
.brand-gallery { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 44px; max-width: 1264px; height: clamp(490px, 52vw, 690px); margin: 68px auto 0; padding: 58px clamp(50px, 9vw, 140px) 0; border-radius: 52px; background: var(--brand-surface); overflow: clip; view-timeline-name: --brand-gallery; }
.brand-hero-card { position: relative; width: 100%; margin: 0; min-width: 0; }
.brand-hero-card--dito { z-index: 2; }
.brand-hero-card--fx-signal { transform: translateY(76px) rotate(-9deg); }
.brand-hero-card--exit-pay { transform: translateY(76px) rotate(9deg); }
.brand-hero-card figcaption { margin-top: 20px; text-align: center; color: var(--brand-muted); font-size: .9375rem; font-weight: 600; }
.brand-device { overflow: hidden; padding: 7px; border: 1px solid rgb(23 30 41 / .07); border-radius: 30px; background: #fff; box-shadow: 0 28px 60px -20px rgb(31 46 69 / .18), 0 5px 12px rgb(31 46 69 / .04); }
.brand-device img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 24px; }
.brand-screen-note { margin: 18px 24px 0; font-size: .8125rem; text-align: center; color: var(--brand-muted); }
.brand-section-intro { padding-top: clamp(100px, 12vw, 180px); }
.brand-section-intro h2, .brand-section-heading h2, .brand-about h2 { font-size: clamp(2.25rem, 4.4vw, 4rem); font-weight: 700; line-height: 1.25; margin-top: 20px; }
.brand-section-intro > p:last-child { margin-top: 24px; max-width: 620px; color: var(--brand-muted); font-size: 1.1875rem; line-height: 1.9; }
.brand-story { display: grid; grid-template-columns: 1fr 1.04fr; gap: clamp(48px, 8vw, 130px); align-items: center; padding-block: clamp(72px, 9vw, 128px); }
.brand-story-copy { min-width: 0; }
.brand-product-name { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 650; }
.brand-product-name img { flex: none; border-radius: 10px; }
.brand-story h3 { margin-top: 26px; font-size: clamp(2.1rem, 3.4vw, 3.25rem); font-weight: 700; line-height: 1.3; }
.brand-story-copy > p:not([class]) { margin-top: 24px; color: var(--brand-muted); font-size: 1.125rem; line-height: 1.9; max-width: 430px; }
.brand-text-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; padding-block: 10px; color: var(--brand-blue); font-weight: 650; font-size: 1rem; }
.brand-text-link > span:last-child { display: inline-block; transition: transform 240ms var(--brand-ease); }
.brand-story-copy > .brand-text-link { margin-top: 22px; }
.brand-detail { margin-top: 20px; font-size: .875rem; color: var(--brand-muted); line-height: 1.8; }
.brand-story-visual { position: relative; display: flex; justify-content: center; align-items: flex-start; padding: 60px 50px 70px; height: 680px; overflow: clip; border-radius: 44px; background: var(--brand-surface); }
.brand-story-visual--dito { background: #eef5f1; }
.brand-story-visual--exit { background: #edf2fa; }
.brand-story-visual--fx { background: #f3f4f6; }
.brand-drift { width: min(100%, 290px); flex: none; transform: rotate(-3deg); }
.brand-story--reverse .brand-story-copy { order: 2; }
.brand-story--reverse .brand-story-visual { order: 1; }
.brand-story--reverse .brand-drift { transform: rotate(3deg); }
.brand-visual-label { position: absolute; inset: auto 16px 24px; text-align: center; font-size: .875rem; color: #475567; line-height: 1.7; }
.brand-play { padding-bottom: 108px; margin-top: 48px; background: var(--brand-surface); }
.brand-play .brand-section-intro { padding-top: 110px; text-align: center; }
.brand-play .brand-section-intro > p:last-child { margin-inline: auto; }
.brand-apps { display: flex; justify-content: center; gap: clamp(24px, 8vw, 120px); margin: 64px auto 48px; }
.brand-apps li { min-width: 0; flex: 1; max-width: 250px; }
.brand-apps a { display: flex; align-items: center; flex-direction: column; padding: 16px 8px; text-align: center; border-radius: 24px; }
.brand-apps img { width: 112px; height: 112px; margin-bottom: 24px; border-radius: 28px; box-shadow: 0 14px 25px -18px rgb(31 46 69 / .3); transition: transform 420ms var(--brand-ease); }
.brand-apps strong { font-size: 1.25rem; letter-spacing: -.025em; }
.brand-apps a > span { margin-top: 10px; color: var(--brand-muted); font-size: .9375rem; }
.brand-apps small { margin-top: 14px; font-size: .875rem; color: var(--brand-blue); }
.brand-play > .brand-container > .brand-text-link { display: flex; width: fit-content; margin-inline: auto; }
.brand-reading { padding-block: 160px 112px; }
.brand-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 52px; }
.brand-section-heading > .brand-text-link { flex: none; }
.brand-home .reading-grid { gap: 32px; }
.brand-home .reading-grid > li { border: 0; padding: 0; }
.brand-home .reading-image img { height: 270px; border-radius: 22px; background: #f4f6f9; }
.brand-home .reading-image figcaption { font-size: .8125rem; }
.brand-home .reading-topic { color: var(--brand-muted); margin-top: 24px; }
.brand-home .reading-grid h3 { font-size: 1.375rem; letter-spacing: -.03em; margin-top: 12px; line-height: 1.5; }
.brand-home .reading-product { margin-top: 8px; }
.brand-home .reading-description { margin-top: 14px; }
.brand-home .reading-date { margin-top: 18px; }
.brand-home .article-views { display: block; color: var(--brand-muted); font-size: .875rem; }
.brand-series-link { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 24px 28px; border-radius: 20px; background: var(--brand-surface); margin-top: 56px; color: var(--brand-muted); font-size: 1rem; }
.brand-series-link > span:first-child { color: var(--brand-ink); font-weight: 650; }
.brand-series-link > span:last-child { margin-left: auto; color: var(--brand-blue); }
.brand-home .reading-tools { padding-block: 32px 140px; }
.brand-home .reading-tools h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.brand-home .reading-tools > a { border-top: 1px solid #e5e9ef; padding: 26px 4px; min-height: 108px; }
.brand-home .reading-tools > a > span:last-child { color: var(--brand-blue); font-size: 1.4rem; }
.brand-home .reading-tools small { color: var(--brand-muted); }
.brand-home .reading-comparisons { margin-top: 28px; line-height: 2; }
.brand-about { text-align: center; padding: 120px 0; background: #f4f6f9; }
.brand-about img { margin-bottom: 16px; }
.brand-about p { margin-top: 28px; color: var(--brand-muted); font-size: 1.1875rem; line-height: 1.9; }
.brand-about .brand-text-link { margin-top: 22px; }
.brand-contact { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 88px; }
.brand-contact h2 { font-size: clamp(1.375rem, 2.6vw, 2rem); }
.brand-page .dx-footer { background: #fff; border-top: 1px solid #e5e9ef; }
@media (hover: hover) and (pointer: fine) {
  .brand-action:hover { background: #0b51b6; transform: translateY(-3px); }
  .brand-text-link:hover > span:last-child { transform: translateX(4px); }
  .brand-apps a:hover img { transform: translateY(-8px) rotate(-3deg); }
  .brand-home .reading-card-link:hover h3, .brand-home .reading-tools > a:hover strong { color: var(--brand-blue); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .brand-hero-card--fx-signal { animation: brand-fan-left linear both; animation-timeline: --brand-gallery; animation-range: entry 0% exit 80%; }
    .brand-hero-card--exit-pay { animation: brand-fan-right linear both; animation-timeline: --brand-gallery; animation-range: entry 0% exit 80%; }
    .brand-story-visual { view-timeline-name: --brand-story; }
    .brand-drift { animation: brand-screen-drift linear both; animation-timeline: --brand-story; animation-range: entry 0% exit 100%; }
    @keyframes brand-fan-left { from { transform: translate(22px, 110px) rotate(-4deg); } to { transform: translate(-18px, 0) rotate(-12deg); } }
    @keyframes brand-fan-right { from { transform: translate(-22px, 110px) rotate(4deg); } to { transform: translate(18px, 0) rotate(12deg); } }
    @keyframes brand-screen-drift { from { transform: translateY(42px) rotate(4deg); } to { transform: translateY(-36px) rotate(-4deg); } }
  }
}
@media (max-width: 1000px) {
  .brand-gallery { margin-inline: 24px; gap: 26px; padding-inline: 60px; height: 540px; }
  .brand-story { gap: 48px; }
  .brand-story-visual { height: 590px; padding: 55px 28px; border-radius: 32px; }
  .brand-home .reading-grid { gap: 24px; }
  .brand-home .reading-image img { height: 210px; }
}
@media (max-width: 760px) {
  .brand-page .site-header { padding: 10px 20px; min-height: 68px; gap: 8px; flex-wrap: wrap; }
  .brand-page .site-header nav { gap: 2px; flex-wrap: wrap; }
  .brand-page .site-header .wordmark { font-size: 1.3125rem; }
  .brand-container { width: calc(100% - 48px); }
  .brand-hero { padding-top: 68px; }
  .brand-hero h1 { font-size: clamp(2.5rem, 7.4vw, 3.8rem); margin-top: 18px; line-height: 1.22; }
  .brand-hero-copy { padding-inline: 20px; }
  .brand-eyebrow { font-size: .9375rem; }
  .brand-lead { margin-block: 22px 26px; font-size: 1.0625rem; }
  .brand-gallery { width: calc(100% - 32px); height: 480px; margin: 48px 16px 0; padding: 40px 0 0; grid-template-columns: repeat(3, 190px); justify-content: center; gap: 20px; border-radius: 30px; }
  .brand-device { border-radius: 26px; padding: 6px; }
  .brand-device img { border-radius: 20px; }
  .brand-hero-card figcaption { font-size: .875rem; }
  .brand-section-intro { padding-top: 104px; }
  .brand-section-intro h2, .brand-section-heading h2, .brand-about h2 { font-size: clamp(2rem, 5.7vw, 2.75rem); line-height: 1.3; }
  .brand-section-intro > p:last-child { font-size: 1.0625rem; }
  .brand-section-intro br, .brand-lead br { display: none; }
  .brand-story { grid-template-columns: 1fr; gap: 36px; padding-block: 64px 28px; }
  .brand-story-copy { padding-inline: 4px; }
  .brand-story h3 { font-size: clamp(2rem, 5.4vw, 2.75rem); margin-top: 22px; }
  .brand-story-copy > p:not([class]) { font-size: 1.0625rem; max-width: 480px; margin-top: 20px; }
  .brand-story--reverse .brand-story-copy, .brand-story--reverse .brand-story-visual { order: initial; }
  .brand-story-visual { height: 620px; padding: 56px 34px 60px; border-radius: 32px; }
  .brand-drift { width: min(100%, 280px); }
  .brand-detail { margin-top: 12px; }
  .brand-play { margin-top: 80px; padding-bottom: 72px; }
  .brand-play .brand-section-intro { padding-top: 80px; }
  .brand-apps { flex-direction: column; gap: 4px; margin: 36px auto 20px; }
  .brand-apps li { max-width: none; }
  .brand-apps a { display: grid; grid-template-columns: 76px 1fr; text-align: left; column-gap: 20px; padding-block: 22px; }
  .brand-apps img { grid-row: 1 / 4; width: 76px; height: 76px; border-radius: 21px; margin: 0; }
  .brand-apps strong { font-size: 1.125rem; }
  .brand-apps a > span, .brand-apps small { margin-top: 4px; }
  .brand-reading { padding-block: 104px 64px; }
  .brand-section-heading { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 32px; }
  .brand-home .reading-grid { grid-template-columns: 1fr; gap: 42px; }
  .brand-home .reading-card-link { display: block; }
  .brand-home .reading-image img { height: 260px; }
  .brand-home .reading-grid h3 { font-size: 1.375rem; }
  .brand-home .reading-topic { margin-top: 20px; }
  .brand-home .reading-date { margin-top: 12px; }
  .brand-series-link { flex-wrap: wrap; gap: 8px 12px; margin-top: 40px; padding: 22px; }
  .brand-series-link > span:first-child { width: 100%; }
  .brand-home .reading-tools { padding-block: 16px 80px; }
  .brand-home .reading-tools > a { padding-block: 22px; }
  .brand-about { padding-block: 88px; }
  .brand-about p { font-size: 1.0625rem; }
  .brand-contact { padding-block: 64px; align-items: start; flex-direction: column; gap: 12px; }
}
@media (max-width: 360px) {
  .brand-page .site-header { padding-inline: 16px; }
  .brand-page .site-header .wordmark { font-size: 1.1875rem; gap: 5px; }
  .brand-page .site-header nav a { font-size: .8125rem; padding-inline: 4px; }
  .brand-container { width: calc(100% - 40px); }
  .brand-hero h1 { font-size: 2rem; }
  .brand-story-visual { padding-inline: 26px; height: 550px; }
  .brand-apps a { grid-template-columns: 64px 1fr; column-gap: 16px; }
  .brand-apps img { width: 64px; height: 64px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-page { scroll-behavior: auto; }
  .brand-home *, .brand-home *::before, .brand-home *::after { animation: none !important; transition: none !important; }
  .brand-home .brand-action, .brand-home .brand-apps img { transform: none; }
}
