/* Daftar: clean, photo-led banking. Onest (Latin) + IBM Plex Sans Arabic (Arabic). Signature: ultramarine #2B3FF0. */
:root {
  --bg: #FFFFFF; --ink: #0B0C0F; --muted: #5F646D; --line: #E5E7EB; --surface: #F3F4F6; --panel: #F3F4F6;
  --accent: #2B3FF0; --accent-ink: #FFFFFF; --pos: #1F7A4D;
  --font-d: "Onest", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-u: "Onest", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-n: "Onest", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --r: 28px; --max: 1280px; --bar-h: 76px;
}
body.df-biz, html[data-aud="business"] body { --bg: #000000; --ink: #F5F5F4; --muted: #9A9CA3; --line: #24262B; --surface: #121316; --panel: #111215; --accent: #6574FF; --accent-ink: #FFFFFF; --pos: #6FD3A0; }
html[data-aud="business"] { background: #000; }
body { font-size: 17px; }
[dir="rtl"] body { font-size: 18px; }
.df-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ff-num, .ff-amt { font-variant-numeric: tabular-nums; }
.df-pos { color: var(--pos); }

/* ---------- Bar ---------- */
.ff-bar { gap: 6px; transition: background-color .35s, color .35s, border-color .35s; border-block-end: 1px solid transparent; }
html.df-scrolled .ff-bar { border-block-end-color: var(--line); }
.df-logo { position: relative; display: inline-flex; align-items: baseline; font: 700 26px/1 var(--font-d); letter-spacing: -.045em; }
[dir="rtl"] .df-logo { font-size: 28px; font-weight: 700; }
.df-logo i { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); margin-inline-start: 3px; transform: translateY(-1px); }
.ff-brand { margin-inline-end: 22px; }
.ff-bar .ff-aud { border: 0; padding: 0; gap: 2px; }
.ff-bar .ff-aud a { color: inherit; opacity: .72; font-size: 15px; padding: 8px 14px; }
.ff-bar .ff-aud a:hover { opacity: 1; }
.ff-bar .ff-aud a[aria-current] { opacity: 1; background: color-mix(in srgb, currentColor 10%, transparent); color: inherit; }
.ff-menu-btn { margin-inline-start: 6px; font-size: 15px; opacity: .85; }
.ff-menu-btn::after { content: ""; flex: 1; }
.ff-ask-btn { margin-inline-start: auto; border-color: color-mix(in srgb, currentColor 25%, transparent); font-size: 15px; }
.ff-ask-btn kbd { border-color: color-mix(in srgb, currentColor 25%, transparent); color: inherit; opacity: .7; }
.ff-lang { font-size: 15px; }
/* Over the hero photo: transparent and white until the page scrolls */
.df-over .ff-bar { margin-block-end: calc(-1 * var(--bar-h)); }
html:not(.df-scrolled):not(.ff-menu-open) .df-over .ff-bar { background: transparent; color: #fff; }
html:not(.df-scrolled):not(.ff-menu-open) .df-over .ff-bar .ff-ask-mark { background: #fff; }

/* ---------- Menu ---------- */
.ff-menu { border: 0; background: transparent; padding: 0 var(--gutter); }
.ff-menu-in { background: var(--bg); border: 1px solid var(--line); border-radius: 0 0 var(--r) var(--r); border-block-start: 0; padding: 28px 28px 32px; }
.ff-menu-kicker { color: var(--muted); font-size: 13px; }
.ff-menu-switch { font-weight: 600; color: var(--accent); }
.ff-menu-list { grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ff-mi { padding: 10px; border-radius: 20px; }
a.ff-mi:hover, a.ff-mi:focus-visible { background: var(--surface); border-color: transparent; }
.ff-mi[aria-current] { border-color: transparent; background: var(--surface); }
.ff-mi-pre { border-radius: 14px; background: var(--surface); color: var(--ink); }
a.ff-mi:hover .ff-mi-pre { background: var(--bg); }
.ff-mi-t { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Ask anatomy, Daftar look ---------- */
.ff-ask-field { border-radius: 999px; border-color: var(--line); background: var(--bg); padding: 6px 6px 6px 10px; }
.ff-ask-go { border-radius: 999px; background: var(--accent); color: #fff; padding: 12px 22px; font-weight: 600; }
.ff-chip { border-radius: 999px; background: var(--bg); border-color: var(--line); padding: 9px 15px; }
.ff-chip:hover { border-color: var(--ink); }
.ff-asksheet-in { border-radius: 28px; }

/* ---------- Type ---------- */
.df-h1 { font: 600 clamp(56px, 7.4vw, 116px)/.94 var(--font-d); letter-spacing: -.045em; }
[dir="rtl"] .df-h1 { font-weight: 700; line-height: 1.18; font-size: clamp(50px, 6.6vw, 104px); }
.df-h2 { font: 600 clamp(40px, 4.8vw, 72px)/1 var(--font-d); letter-spacing: -.04em; }
[dir="rtl"] .df-h2 { font-weight: 700; line-height: 1.25; font-size: clamp(36px, 4.4vw, 66px); }
.df-eyebrow { font-size: 15px; font-weight: 500; color: var(--accent); margin-block-end: 18px; }
.df-lede { font-size: 20px; line-height: 1.5; max-width: 34ch; margin-block-start: 26px; }
[dir="rtl"] .df-lede { font-size: 21px; line-height: 1.75; }
.df-sub { font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 46ch; margin-block-start: 20px; }
[dir="rtl"] .df-sub { line-height: 1.8; }
.df-head-c { text-align: center; display: grid; justify-items: center; margin-block-end: 48px; }
.df-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }
.df-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 16px; border: 1px solid transparent; transition: transform .2s var(--ease), background-color .2s; }
.df-btn:hover { transform: translateY(-1px); }
.df-btn-light { background: #fff; color: #0B0C0F; }
.df-btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.df-btn-line:hover { border-color: #fff; }
.df-link { color: var(--accent); text-decoration: none; font-weight: 600; display: inline-flex; gap: 8px; }
.df-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.df-sec { padding-block: clamp(80px, 10vw, 150px) 0; }
.df-panel { background: var(--panel); border-radius: var(--r); }

/* ---------- Hero ---------- */
.df-hero { position: relative; min-height: max(760px, 100svh); color: #fff; overflow: hidden; display: grid; }
.df-hero-media { position: absolute; inset: 0; background: #1A2033; }
.df-hero-media .ff-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.df-hero-media .ff-frame { background: #1A2033; color: rgba(255,255,255,.55); place-items: end center; padding-block-end: 28px; }
.df-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,8,14,.62), rgba(6,8,14,.08) 55%, rgba(6,8,14,.28)); }
.df-hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; padding-block: calc(var(--bar-h) + 60px) 0; width: 100%; }
.df-hero-copy { padding-block-end: clamp(64px, 9vh, 110px); }
.df-hero-phone { align-self: end; margin-block-end: -170px; margin-inline-end: clamp(0px, 3vw, 60px); }

/* ---------- iOS phone ---------- */
.df-phone { width: 330px; aspect-ratio: 390/844; border-radius: 54px; background: #0A0A0C; padding: 10px; border: 1px solid #2A2B30; flex: none; }
.df-phone-scr { position: relative; height: 100%; border-radius: 45px; overflow: hidden; background: var(--accent); color: #fff; font-family: -apple-system, "SF Pro Text", var(--font-u); }
.df-phone-light .df-phone-scr { background: #F2F2F7; color: #0B0C0F; }
.df-sb { position: absolute; inset-inline: 0; inset-block-start: 0; height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 8px 8% 0; font: 600 15px/1 -apple-system, "SF Pro Text", system-ui; z-index: 3; direction: ltr; }
.df-sb-i { display: flex; gap: 5px; align-items: center; } .df-sb-i svg { height: 11px; width: auto; fill: currentColor; }
.df-island { position: absolute; inset-inline-start: 50%; inset-block-start: 3.4%; width: 32%; aspect-ratio: 126/37; translate: -50% 0; border-radius: 20px; background: #000; }
[dir="rtl"] .df-island { translate: 50% 0; }
.df-hi { position: absolute; inset-block-end: 8px; inset-inline-start: 50%; width: 124px; height: 5px; margin-inline-start: -62px; border-radius: 3px; background: currentColor; opacity: .9; z-index: 3; }
.df-app { position: relative; height: 100%; padding-block-start: 62px; display: flex; flex-direction: column; }
.df-app-top { display: flex; gap: 10px; align-items: center; padding-inline: 18px; }
.df-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-weight: 600; font-size: 15px; }
.df-search { flex: 1; height: 34px; border-radius: 17px; background: rgba(255,255,255,.16); display: flex; align-items: center; padding-inline: 14px; font-size: 14px; opacity: .85; }
.df-app-lab { text-align: center; font-size: 14px; opacity: .8; margin-block-start: 30px; }
.df-app-bal { text-align: center; font: 600 46px/1.1 -apple-system, var(--font-d); letter-spacing: -.03em; margin-block-start: 4px; }
.df-app-bal small { font-size: 26px; opacity: .8; }
.df-app-pill { align-self: center; margin-block-start: 12px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.2); font-size: 14px; font-weight: 600; }
.df-acts { display: grid; grid-template-columns: repeat(4, 1fr); padding: 22px 14px 0; text-align: center; font-size: 12px; }
.df-act { display: grid; justify-items: center; gap: 7px; }
.df-act i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; }
.df-act svg { width: 20px; height: 20px; }
.df-app-sheet { margin-block-start: 22px; flex: 1; background: #fff; color: #0B0C0F; border-radius: 26px 26px 0 0; padding: 14px 14px 0; }
.df-kb { border-radius: 18px; background: color-mix(in srgb, var(--accent) 8%, #fff); padding: 12px 14px; }
.df-kb-k { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--accent); margin-block-end: 4px; }
.df-kb-k .ff-ask-mark { width: 8px; height: 8px; border-radius: 2px; }
.df-kb p { font-size: 14px; line-height: 1.4; }
[dir="rtl"] .df-kb p { line-height: 1.7; }
.df-txs { list-style: none; margin: 8px 0 0; padding: 0; }
.df-tx { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding-block: 10px; }
.df-tx-m { width: 36px; height: 36px; border-radius: 50%; background: #EEF0F3; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #3A3F48; }
.df-tx-n { display: grid; font-size: 15px; font-weight: 500; line-height: 1.25; }
.df-tx-n small { font-size: 12.5px; color: #7A7F88; font-weight: 400; }
.df-tx-a { font-size: 15px; font-weight: 500; }

/* ---------- Kateb statement (pinned on desktop) ---------- */
.df-kateb-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.df-steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 26px; }
.df-steps li { display: grid; gap: 6px; padding-inline-start: 20px; border-inline-start: 2px solid var(--line); opacity: .4; transition: opacity .4s, border-color .4s; }
.df-steps li.is-on { opacity: 1; border-color: var(--accent); }
.df-steps strong { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.df-steps span { color: var(--muted); max-width: 40ch; }
.df-stmt { padding: 26px 26px 18px; }
.df-stmt-h { display: flex; justify-content: space-between; align-items: baseline; padding-inline: 6px; margin-block-end: 8px; }
.df-stmt-h strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.df-stmt-h span { color: var(--muted); font-size: 14px; }
.df-bal { color: var(--ink); font-size: 18px; font-weight: 600; margin-inline-start: 8px; }
.df-txs-lg { background: var(--bg); border-radius: 20px; padding: 6px 16px; }
.df-txs-lg .df-tx { padding-block: 13px; border-block-end: 1px solid var(--line); }
.df-txs-lg .df-tx:last-child { border: 0; }
.df-row-note { padding-block: 4px 12px; border-block-end: 1px solid var(--line); }
.df-row-note .df-kb { margin-inline-start: 48px; }
.js .df-row { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .df-row.is-off { opacity: 0; transform: translateY(8px); }

/* ---------- Salary pots ---------- */
.df-pots { padding: clamp(20px, 3vw, 36px); }
.df-potbar { display: flex; gap: 8px; height: 220px; }
.df-pot { flex: var(--w) 1 0; min-width: 128px; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; background: var(--bg); min-width: 0; overflow: hidden; }
.df-pot span { font-size: 15px; font-weight: 500; white-space: nowrap; }
.df-pot .ff-amt { font-size: clamp(18px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; }
.df-pot-0 { background: var(--accent); color: #fff; }
.df-pot-1 { background: color-mix(in srgb, var(--accent) 62%, #fff); color: #fff; }
.df-pot-2 { background: color-mix(in srgb, var(--accent) 22%, #fff); }
.df-pots-f { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-block-start: 18px; padding-inline: 4px; color: var(--muted); flex-wrap: wrap; }

/* ---------- Card band ---------- */
.df-blue { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 600px; padding: clamp(32px, 5vw, 80px); border-radius: var(--r); background: var(--accent); color: #fff; overflow: hidden; }
.df-blue .df-sub { color: rgba(255,255,255,.82); margin-block-end: 32px; }
.df-card-stage { perspective: 1400px; display: grid; place-items: center; }
.df-card { position: relative; width: min(430px, 100%); aspect-ratio: 1.586; border-radius: 20px; background: #17181C; color: #ECEDEF; border: 1px solid #2C2E35;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.022) 0 1px, transparent 1px 3px); transform: rotateX(14deg) rotateY(-20deg) rotateZ(5deg); transform-style: preserve-3d; }
[dir="rtl"] .df-card { transform: rotateX(14deg) rotateY(20deg) rotateZ(-5deg); }
.df-card-name { position: absolute; inset-block-start: 9%; inset-inline-start: 8%; font: 700 24px/1 var(--font-d); letter-spacing: -.04em; }
.df-card-chip { position: absolute; inset-block-start: 40%; inset-inline-start: 8%; width: 13%; aspect-ratio: 1.3; border-radius: 6px; background: #BEB9AC; }
.df-card-no { position: absolute; inset-block-end: 10%; inset-inline-start: 8%; font-size: 15px; color: #9EA1A8; letter-spacing: .08em; }
.df-card-net { position: absolute; inset-block-end: 9%; inset-inline-end: 7%; display: flex; }
.df-card-net i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #ECEDEF; }
.df-card-net i + i { margin-inline-start: -12px; background: var(--accent); border-color: var(--accent); }
.df-blue-photo { position: absolute; inset-block-end: 28px; inset-inline-end: 28px; width: 132px; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }

/* ---------- Ask ---------- */
.df-ask-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.df-askpanel { padding: clamp(20px, 3vw, 36px); }
.df-ans { background: var(--bg); border-radius: 20px; padding: 20px 22px; }
.df-ans-t { font-size: 21px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; margin-block-end: 12px; }
[dir="rtl"] .df-ans-t { line-height: 1.6; }
.df-ans table { width: 100%; border-collapse: collapse; font-size: 15px; }
.df-ans th { font-size: 13px; font-weight: 500; color: var(--muted); text-align: start; }
.df-ans td, .df-ans th { border-block-end: 1px solid var(--line); padding: 10px 0; }
.df-ans td:nth-child(n+2), .df-ans th:nth-child(n+2) { text-align: end; }
.df-ans tr.is-hot td { color: var(--accent); font-weight: 600; }
.df-ans-n { margin-block-start: 14px; color: var(--muted); }

/* ---------- Plans ---------- */
.df-plan-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.df-plan { background: var(--panel); border-radius: var(--r); padding: 32px 30px 34px; display: grid; align-content: start; gap: 8px; }
.df-plan.is-hl { background: var(--ink); color: var(--bg); }
.df-plan h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.df-plan-p { font-size: 34px; font-weight: 600; letter-spacing: -.03em; margin-block: 6px 18px; }
.df-plan-p small { font-size: 15px; font-weight: 400; letter-spacing: 0; opacity: .7; }
.df-plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.df-plan li { display: flex; gap: 10px; font-size: 16px; }
.df-plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-block-start: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- Open ---------- */
.df-open { padding-block-end: 0; }
.df-open-grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 6vw, 110px); align-items: center; }
.df-open-steps { list-style: none; padding: 0; margin: 40px 0 40px; display: grid; gap: 10px; max-width: 520px; }
.df-open-steps li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: var(--panel); border-radius: 18px; font-size: 17px; }
.df-open-steps b { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 15px; }
.df-app-id { padding: 70px 20px 0; gap: 16px; }
.df-app-t { font-size: 25px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
[dir="rtl"] .df-app-t { line-height: 1.45; }
.df-idcard { position: relative; aspect-ratio: 1.586; border-radius: 16px; border: 2px solid var(--accent); padding: 12px; overflow: hidden; background: #E9EBF8; }
.df-idc { display: grid; grid-template-columns: 30% 1fr; grid-template-rows: repeat(3, 1fr); gap: 8px 10px; height: 100%; }
.df-idc i { grid-row: span 3; border-radius: 8px; background: #CDD1EC; }
.df-idc b { border-radius: 4px; background: #CFD3EF; height: 9px; align-self: center; }
.df-scan { position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: var(--accent); }
.df-app-s { font-size: 14px; color: #6A6A70; }
.df-app-l { list-style: none; padding: 0; margin: 0; border-radius: 14px; background: #fff; }
.df-app-l li { display: flex; justify-content: space-between; padding: 13px 14px; font-size: 14px; border-block-end: 1px solid #ECECEF; color: #6A6A70; }
.df-app-l li span { color: #0B0C0F; font-weight: 500; }
.df-app-l li:last-child { border: 0; }
.df-dots { display: flex; gap: 3px; } .df-dots i { width: 5px; height: 5px; border-radius: 50%; background: #B9B9C0; animation: ff-dot 1s infinite; }
.df-dots i:nth-child(2) { animation-delay: .15s; } .df-dots i:nth-child(3) { animation-delay: .3s; }
.df-app-btn { display: grid; place-items: center; height: 52px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 600; }

/* ---------- Footer ---------- */
.ff-foot { border: 0; margin-block-start: clamp(80px, 10vw, 140px); background: var(--panel); }
.ff-foot-name { font-weight: 700; letter-spacing: -.04em; }
.ff-foot-base { border-color: var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .ff-menu-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .df-kateb-grid, .df-ask-grid, .df-blue, .df-open-grid { grid-template-columns: 1fr; }
  .df-hero-in { grid-template-columns: 1fr; justify-items: center; }
  .df-hero-copy { justify-self: stretch; padding-block-end: 20px; }
  .df-hero-phone { margin: 0 0 -230px; }
  .df-open-grid { justify-items: center; } .df-open-grid > div:first-child { justify-self: stretch; }
  .df-plan-row { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --r: 22px; --bar-h: 60px; }
  .df-logo { font-size: 24px; }
  .df-h1 { font-size: clamp(48px, 13.5vw, 64px); }
  [dir="rtl"] .df-h1 { font-size: clamp(44px, 12.4vw, 58px); }
  .df-h2 { font-size: clamp(34px, 9.6vw, 46px); }
  [dir="rtl"] .df-h2 { font-size: clamp(32px, 9vw, 42px); }
  .df-lede, [dir="rtl"] .df-lede { font-size: 18px; }
  .df-sub { font-size: 17px; }
  .df-hero { min-height: 0; }
  .df-hero-in { padding-block-start: calc(var(--bar-h) + 40px); }
  .df-phone { width: 290px; }
  .df-hero-phone { margin-block-end: -200px; }
  .df-potbar { flex-direction: column; height: auto; }
  .df-pot { flex: none; min-width: 0; flex-direction: row; align-items: center; min-height: 64px; }
  .df-blue { min-height: 0; padding-block-end: 180px; }
  .df-blue-photo { width: 110px; inset-block-end: 20px; inset-inline-end: 20px; }
  .df-stmt { padding: 16px 12px 10px; }
  .df-row-note .df-kb { margin-inline-start: 0; }
  .ff-menu { padding: 0; }
  .ff-menu-in { border-radius: 0; border: 0; padding: 18px var(--gutter) 24px; }
  .ff-menu-list { grid-template-columns: 1fr; }
}

/* =================== Inner pages =================== */
.df-phead { padding-block: clamp(56px, 8vw, 110px) clamp(36px, 5vw, 60px); }
.df-h1-s { font-size: clamp(48px, 6.2vw, 96px); }
[dir="rtl"] .df-h1-s { font-size: clamp(44px, 5.6vw, 86px); }
.df-h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin-block-end: 16px; }
.df-btn-s { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--accent); color: #fff; }

/* ---------- Business hero board + forecast ---------- */
.df-board { align-self: end; margin-block-end: clamp(64px, 9vh, 110px); width: min(420px, 100%); background: rgba(10,11,14,.82); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: 24px; color: #fff; }
.df-board-l { font-size: 14px; opacity: .7; }
.df-board-v { font-size: 40px; font-weight: 600; letter-spacing: -.03em; margin-block: 4px 14px; }
.df-feed { list-style: none; margin: 0; padding: 0; display: grid; }
.df-feed li { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding-block: 11px; border-block-start: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.df-feed .ff-amt { font-weight: 600; }
.df-fd { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.df-fd-in { background: #6FD3A0; }
.df-fc-panel { padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.df-fc-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.df-fc-l { color: var(--muted); font-size: 15px; }
.df-fc-v { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; letter-spacing: -.03em; }
.df-fc-note { max-width: 40ch; color: var(--accent); font-weight: 500; text-align: end; min-height: 1.5em; }
.df-chart { position: relative; height: 300px; border-radius: 18px; background: var(--bg); overflow: hidden; }
.df-chart:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.df-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.df-ch-floor { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 4 6; }
.df-ch-line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.df-ch-area { fill: color-mix(in srgb, var(--accent) 14%, transparent); }
.df-ch-alt { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 6 6; opacity: 0; transition: opacity .4s; }
.df-ch-alt.is-on { opacity: .8; }
.df-ch-cursor { stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .5; }
.df-ch-marks span { position: absolute; inset-block-start: 14px; translate: -50% 0; font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; padding: 4px 8px; border-radius: 999px; background: var(--panel); }
[dir="rtl"] .df-ch-marks span { translate: 50% 0; }
.df-scrub { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.df-ch-axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; padding-inline: 4px; }
.df-ask-fc { margin-block-start: 8px; }
.df-ask-fc .df-ans { background: var(--bg); }

/* ---------- Business bento ---------- */
.df-bento-h { margin-block-end: 40px; }
.df-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.df-tile { background: var(--panel); border-radius: var(--r); padding: 28px; display: grid; gap: 10px; align-content: start; text-decoration: none; color: inherit; min-height: 250px; }
a.df-tile:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.df-tile-xl { grid-row: span 2; }
.df-tile-w { grid-column: span 2; }
.df-tile-k { font-size: 14px; color: var(--accent); font-weight: 600; }
.df-tile h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; }
[dir="rtl"] .df-tile h3 { line-height: 1.5; }
.df-tile-big { font-size: 44px; font-weight: 600; letter-spacing: -.03em; margin-block-start: auto; }
.df-tile-big small { font-size: 18px; font-weight: 400; color: var(--muted); }
.df-inv-mini { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.df-inv-mini li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--bg); font-size: 15px; }
.df-inv-mini .ff-amt { font-weight: 600; }
.df-inv-mini b { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.df-chip-o { background: color-mix(in srgb, #E5484D 18%, transparent); color: #FF8589; }
.df-chip-s { background: color-mix(in srgb, var(--accent) 22%, transparent); color: #A9B1FF; }
.df-chip-p { background: color-mix(in srgb, #6FD3A0 18%, transparent); color: #6FD3A0; }
.df-limits { display: grid; gap: 12px; margin-block-start: 10px; }
.df-lim { display: grid; grid-template-columns: 70px 1fr 44px; gap: 14px; align-items: center; font-size: 15px; }
.df-lim i { height: 8px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.df-lim i::after { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p); background: var(--accent); border-radius: 4px; }
.df-lim bdi { text-align: end; color: var(--muted); }

/* ---------- Salary splitter ---------- */
.df-splitter { padding: clamp(20px, 3vw, 36px); }
.df-sp-top { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-block-end: 22px; }
.df-sp-sal { display: grid; gap: 6px; }
.df-sp-sal > span:first-child { font-size: 14px; color: var(--muted); }
.df-sp-in { display: inline-flex; align-items: baseline; gap: 8px; font-size: 40px; font-weight: 600; letter-spacing: -.03em; }
.df-sp-in bdi { font-size: 20px; color: var(--muted); font-weight: 500; }
.df-sp-in input { width: 6.2ch; border: 0; background: transparent; font: inherit; letter-spacing: inherit; padding: 0; border-block-end: 2px solid var(--line); }
.df-sp-in input:focus { outline: none; border-color: var(--accent); }
.df-sp-hint { color: var(--muted); font-size: 14px; }
.df-sp-bar { position: relative; display: flex; height: 230px; gap: 0; touch-action: none; user-select: none; }
.df-sp-seg { position: relative; flex: 0 0 calc(var(--w) * 1%); height: 100%; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-width: 0; background: var(--bg); border-inline-end: 6px solid var(--panel); transition: flex-basis .35s var(--ease); }
.df-sp-seg:last-child { border-inline-end: 0; }
.df-sp-seg span { font-size: 15px; font-weight: 500; white-space: nowrap; }
.df-sp-seg .ff-amt { font-size: clamp(16px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.is-drag .df-sp-seg { transition: none; }
.df-sp-h { position: absolute; inset-inline-start: var(--pos); inset-block: -8px; width: 44px; translate: -50% 0; display: grid; place-items: center; cursor: ew-resize; background: none; border: 0; padding: 0; z-index: 2; touch-action: none; }
[dir="rtl"] .df-sp-h { translate: 50% 0; }
.df-sp-h::before { content: ""; width: 6px; height: 64px; border-radius: 3px; background: var(--ink); }
.df-sp-h:focus-visible { outline: none; } .df-sp-h:focus-visible::before { background: var(--accent); outline: 4px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.df-sp-pots { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.df-sp-pots li { display: grid; grid-template-columns: 12px 1fr; column-gap: 10px; padding: 14px 16px; border-radius: 16px; background: var(--bg); }
.df-sp-pots i { width: 12px; height: 12px; border-radius: 4px; margin-block-start: 5px; grid-row: span 2; }
.df-sp-pots b { font-weight: 600; }
.df-sp-pots small { color: var(--muted); font-size: 14px; }
.df-sp-lower { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 64px); align-items: start; padding-block-start: clamp(48px, 6vw, 80px); }
.df-sp-sugg { display: grid; gap: 28px; }
.df-kb-lg { padding: 22px 24px; border-radius: 22px; display: grid; gap: 10px; justify-items: start; }
.df-kb-lg p { font-size: 18px; line-height: 1.5; }
[dir="rtl"] .df-kb-lg p { line-height: 1.8; }
.df-cal-h { font-size: 20px; font-weight: 600; margin-block-end: 14px; }
.df-cal-l { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.df-cal-l li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: var(--panel); border-radius: 16px; }
.df-cal-l b { height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 18px; }

/* ---------- Cards page ---------- */
.df-cardx { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 100px) 0; }
.df-cardx-photo { width: 150px; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; margin-block-start: 36px; }
.df-cardx-stage { display: grid; justify-items: center; gap: 16px; background: var(--panel); border-radius: var(--r); padding: clamp(40px, 6vw, 90px) 24px; perspective: 1600px; }
.df-flip { border: 0; background: none; padding: 0; width: min(460px, 100%); aspect-ratio: 1.586; display: block; border-radius: 20px; }
.df-flip-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); transform: rotateX(8deg) rotateY(-14deg); }
[dir="rtl"] .df-flip-in { transform: rotateX(8deg) rotateY(14deg); }
.df-flip.is-back .df-flip-in { transform: rotateX(8deg) rotateY(166deg); }
[dir="rtl"] .df-flip.is-back .df-flip-in { transform: rotateX(8deg) rotateY(-166deg); }
.df-flip .df-card { position: absolute; inset: 0; width: 100%; transform: none; backface-visibility: hidden; transition: filter .5s; }
.df-card-b { transform: rotateY(180deg) !important; }
.df-card-strip { position: absolute; inset-inline: 0; inset-block-start: 12%; height: 18%; background: #050506; }
.df-card-pan { position: absolute; inset-block-start: 46%; inset-inline-start: 8%; font-size: clamp(15px, 2vw, 20px); letter-spacing: .08em; color: #E7E8EA; direction: ltr; }
.df-card-cvv { position: absolute; inset-block-start: 62%; inset-inline-start: 8%; display: flex; gap: 22px; font-size: 14px; color: #9EA1A8; }
.df-card-nm { position: absolute; inset-block-end: 10%; inset-inline-start: 8%; font-size: 13px; letter-spacing: .12em; color: #C9CBD0; }
.df-card-frozen { position: absolute; inset-block-start: 9%; inset-inline-end: 7%; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; color: #0B0C0F; opacity: 0; transition: opacity .3s; }
.is-frozen .df-card-f { filter: grayscale(1) brightness(1.35) contrast(.7); }
.is-frozen .df-card-frozen { opacity: 1; }
.df-flip-hint { color: var(--muted); font-size: 14px; }
.df-ctl { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.df-ctl-set { display: grid; gap: 18px; }
.df-group { list-style: none; margin: 0; padding: 4px 18px; background: var(--panel); border-radius: 22px; }
.df-group > li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--line); }
.df-group > li:last-child { border: 0; }
.df-sw-t { display: grid; font-size: 16px; font-weight: 500; }
.df-sw-t small { font-size: 13px; color: var(--muted); font-weight: 400; }
.df-sw { position: relative; flex: none; width: 51px; height: 31px; border-radius: 999px; border: 0; background: #D4D6DB; transition: background-color .25s; }
.df-sw::after { content: ""; position: absolute; inset-block-start: 2px; inset-inline-start: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.df-sw[aria-checked="true"] { background: var(--accent); }
.df-sw[aria-checked="true"]::after { transform: translateX(20px); }
[dir="rtl"] .df-sw[aria-checked="true"]::after { transform: translateX(-20px); }
.df-limit { padding: 16px 18px 18px; display: grid; gap: 10px; }
.df-limit label { display: flex; justify-content: space-between; font-weight: 500; }
.df-limit input { --p: 0%; appearance: none; -webkit-appearance: none; width: 100%; height: 36px; margin: 0; background: transparent; cursor: pointer; }
.df-limit input::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--accent) 0 var(--p), var(--line) var(--p) 100%); }
.df-limit input[dir="rtl"]::-webkit-slider-runnable-track { background: linear-gradient(to left, var(--accent) 0 var(--p), var(--line) var(--p) 100%); }
.df-limit input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-block-start: -10px; border-radius: 50%; background: var(--bg); border: 6px solid var(--accent); }
.df-limit input::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.df-limit input::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--accent); }
.df-limit input::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 6px solid var(--accent); }
.df-limit input:focus-visible { outline: none; }
.df-limit input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
.df-limit input:focus-visible::-moz-range-thumb { outline: 2px solid var(--ink); outline-offset: 2px; }
.df-limit-u { font-size: 14px; color: var(--muted); }
.df-bench { position: sticky; inset-block-start: calc(var(--bar-h) + 20px); }
.df-bench-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.df-pay { display: grid; gap: 4px; text-align: start; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; }
.df-pay bdi { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.df-pay:hover { border-color: var(--ink); }
.df-attempts { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.df-att-empty { color: var(--muted); padding: 18px; border-radius: 18px; border: 1px dashed var(--line); font-size: 15px; }
.df-att { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--panel); }
.df-att i { width: 10px; height: 10px; border-radius: 50%; background: var(--pos); }
.df-att.is-no i { background: #E5484D; }
.df-att span { display: grid; font-weight: 500; }
.df-att small { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.df-att b { font-size: 13px; font-weight: 600; }
.df-att.is-no b { color: #C53A3F; }
.df-att:not(.is-no) b { color: var(--pos); }

/* ---------- Invoices page ---------- */
.df-inv-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.df-inv-photo { width: 200px; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; }
.df-inv-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-block-end: 16px; }
.df-inv-sum div { background: var(--panel); border-radius: 22px; padding: 20px 22px; display: grid; gap: 4px; }
.df-inv-sum span { color: var(--muted); font-size: 14px; }
.df-inv-sum strong { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; }
.df-inv { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.df-inv-list { background: var(--panel); border-radius: var(--r); padding: 18px; display: grid; gap: 14px; }
.df-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); justify-self: start; }
.df-tabs button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.df-tabs button[aria-selected="true"] { background: var(--surface); color: var(--ink); font-weight: 600; }
#df-invs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
#df-invs li.is-hidden { display: none; }
.df-iv { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; text-align: start; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: var(--bg); }
.df-iv:hover, .df-iv[aria-pressed="true"] { border-color: var(--accent); }
.df-iv-n { display: grid; font-weight: 500; }
.df-iv-n small { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.df-iv-st { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.df-iv[data-st="over"] .df-iv-st { background: color-mix(in srgb, #E5484D 18%, transparent); color: #FF8589; }
.df-iv[data-st="due"] .df-iv-st { background: var(--surface); color: var(--muted); }
.df-iv[data-st="sent"] .df-iv-st { background: color-mix(in srgb, var(--accent) 22%, transparent); color: #A9B1FF; }
.df-iv[data-st="paid"] .df-iv-st { background: color-mix(in srgb, #6FD3A0 18%, transparent); color: #6FD3A0; }
.df-iv-a { font-weight: 600; min-width: 9ch; text-align: end; }
.df-iv.is-hl { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); }
.df-draft { position: sticky; inset-block-start: calc(var(--bar-h) + 20px); background: var(--panel); border-radius: var(--r); padding: 24px; min-height: 380px; display: grid; align-content: start; gap: 16px; }
.df-draft-empty { color: var(--muted); }
.df-draft-h { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.df-draft-h strong { font-size: 20px; font-weight: 600; }
.df-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); }
.df-seg button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; color: var(--muted); }
.df-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; }
.df-segs { display: flex; flex-wrap: wrap; gap: 8px; }
.df-mail { background: var(--bg); border-radius: 18px; padding: 18px 20px; font-size: 15.5px; line-height: 1.6; white-space: pre-line; }
.df-mail[dir="rtl"] { line-height: 1.9; font-size: 16.5px; }
.df-mail-s { font-weight: 600; margin-block-end: 8px; display: block; }
.df-draft-b { display: flex; flex-wrap: wrap; gap: 10px; }
.df-btn-q { background: transparent; color: var(--ink); border: 1px solid var(--line); min-height: 44px; padding: 0 18px; font-size: 15px; }
.df-ask-inv .ff-ask-field { background: var(--bg); }

@media (max-width: 960px) {
  .df-bento { grid-template-columns: 1fr; } .df-tile-xl, .df-tile-w { grid-row: auto; grid-column: auto; }
  .df-sp-lower, .df-cardx, .df-ctl, .df-inv, .df-inv-head { grid-template-columns: 1fr; }
  .df-bench, .df-draft { position: static; }
  .df-board { margin-block-end: 48px; }
  .df-inv-photo { display: none; }
}
@media (max-width: 760px) {
  .df-board-v { font-size: 32px; }
  .df-chart { height: 220px; }
  .df-sp-bar { height: 300px; flex-direction: column; }
  .df-sp-seg { height: auto; border-inline-end: 0; border-block-end: 6px solid var(--panel); flex-direction: row; align-items: center; transition: flex-basis .35s var(--ease); }
  .df-sp-seg:last-child { border-block-end: 0; }
  .df-sp-h { inset-block: var(--pos) auto; inset-inline: -8px; width: auto; height: 44px; translate: 0 -50% !important; cursor: ns-resize; }
  .df-sp-h::before { width: 64px; height: 6px; }
  .df-sp-in { font-size: 32px; }
  .df-inv-sum { grid-template-columns: 1fr; }
  .df-iv { grid-template-columns: 1fr auto; } .df-iv-st { grid-row: 2; grid-column: 1; justify-self: start; }
  .df-bench-btns { grid-template-columns: 1fr; }
}
