/* Feature landing page automatic-financial-management only (its mock UI from src/features/automatic-financial-management.ts).
   Split from the former site.css; rules keep their original order. Page types and files: Base.astro. */
.fhero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--ink-500); }
.fhero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.fhero__trust .i { color: var(--blue-500); }
.af-sync { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue-100); color: var(--blue-600); }
.af-dash.is-in .af-sync .i, .af-spin .i { animation: afSpin 2.4s linear infinite; }
.af-dash__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; padding: 20px 22px 26px; }
.af-accts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.af-acct { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: var(--surface-0); text-align: left; }
.af-acct small { font-size: 12px; color: var(--ink-450); }
.af-acct b { font-size: 22px; font-weight: 400; letter-spacing: -0.03em; }
.af-acct__bank { width: 30px; height: 30px; margin-bottom: 6px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--blue-500); color: #fff; }
.af-acct--lav .af-acct__bank { background: var(--lavender-500); }
.af-acct--pink .af-acct__bank { background: #c45d86; }
.af-flow { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin-top: 12px; padding: 20px; border-radius: 16px; background: var(--surface-0); }
.af-flow > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.af-flow small { font-size: 12.5px; color: var(--ink-450); }
.af-flow > div:first-child b { font-size: 34px; font-weight: 400; letter-spacing: -0.04em; }
.af-flow__bars { display: flex; flex-direction: column; gap: 12px; }
.af-flow__bars span { display: flex; flex-direction: column; gap: 6px; }
.af-flow__bars i { display: block; height: 12px; width: calc(var(--p) * 100%); border-radius: 999px; background: var(--blue-500); }
.af-flow__out i { background: var(--pink-400); }
.af-dash__side { display: flex; flex-direction: column; gap: 8px; }
.af-tx { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface-0); font-size: 13.5px; }
.af-tx b { font-weight: 500; }
.af-tx > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.af-tx .ev-pill { display: inline-flex; align-items: center; gap: 4px; }
.af-tx .ev-pill i { display: flex; opacity: .8; }
.af-in { color: var(--blue-600); }
.af-bento__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.af-card { display: flex; flex-direction: column; padding: 24px 28px 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line-100); box-shadow: var(--shadow-soft); opacity: 0; translate: 0 16px; transition: opacity .7s var(--ease-out), translate .9s var(--ease-out); transition-delay: calc(var(--k) * .12s); }
.af-bento__grid.is-in .af-card, .reduce-motion .af-card { opacity: 1; translate: 0 0; }
.af-card__visual { height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; border-radius: 20px; background: var(--surface-0); }
.af-link { display: flex; align-items: center; }
.af-link__node { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line-200); color: var(--ink-700); }
.af-link__node--lock { width: 40px; height: 40px; border-radius: 50%; background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.af-link__node--edeso img { border-radius: 8px; }
.af-link__wire { width: 46px; height: 2px; background: repeating-linear-gradient(90deg, var(--blue-300) 0 6px, transparent 6px 11px); background-size: 22px 2px; }
.af-bento__grid.is-in .af-link__wire { animation: afWire 1s linear infinite; }
.af-badge { padding: 5px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; color: var(--ink-500); }
.af-stack { width: 78%; display: flex; flex-direction: column; gap: 8px; }
.af-stack__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 13.5px; color: var(--ink-700); }
.af-stack__row i { width: 10px; height: 10px; border-radius: 3px; background: var(--blue-500); }
.af-stack__row.af-acct--lav i { background: var(--lavender-500); }
.af-stack__row.af-acct--pink i { background: #c45d86; }
.af-stack__row b { margin-left: auto; font-weight: 500; }
.af-io { width: 78%; display: flex; flex-direction: column; gap: 12px; }
.af-io__bar { display: flex; flex-direction: column; gap: 6px; }
.af-io__bar i { display: block; height: 16px; width: calc(var(--p) * 100%); border-radius: 999px; background: var(--blue-500); }
.af-io__bar--out i { background: var(--pink-400); }
.af-io__bar small { font-size: 12px; color: var(--ink-450); }
.af-io__net { font-size: 13.5px; color: var(--ink-500); }
.af-io__net b { color: var(--blue-600); font-weight: 500; }
.af-cat { width: 80%; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.af-cat__row { width: 100%; display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: #fff; font-size: 14px; }
.af-cat__row b { font-weight: 500; }
.af-cat__row em { font-style: normal; color: var(--ink-500); }
.af-bento__grid.is-in .af-cat__chip, .reduce-motion .af-cat__chip { opacity: 1; translate: 0 0; }
.af-merge { max-width: 480px; }
.af-merge__banks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.af-merge__banks .af-acct b { font-size: 16px; }
.af-merge__lines { position: relative; height: 54px; display: flex; justify-content: space-around; }
.af-merge__lines i { width: 2px; height: 100%; background: repeating-linear-gradient(180deg, var(--blue-300) 0 6px, transparent 6px 11px); }
.af-merge.is-in .af-merge__lines i { animation: afDrop 1s linear infinite; background-size: 2px 22px; }
.af-merge__total { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--surface-ink-card); color: #fff; }
.af-merge__total img { border-radius: 9px; }
.af-merge__total > span { display: flex; flex-direction: column; }
.af-merge__total small { font-size: 12.5px; color: var(--ink-300); }
.af-merge__total b { font-size: 26px; font-weight: 400; letter-spacing: -0.03em; }
.af-eyebrow { display: inline-block; margin-bottom: 18px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; letter-spacing: .08em; color: var(--ink-300); }
.af-funds { max-width: 460px; }
.af-fund { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.af-fund > span { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; }
.af-fund b { font-weight: 500; }
.af-fund small { font-size: 12.5px; color: var(--ink-450); }
.af-funds .fin-bar i, .af-steps .fin-bar i { scale: 1 1; }
.af-banks { width: 80%; display: flex; flex-direction: column; gap: 6px; }
.af-banks span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: #fff; font-size: 13px; color: var(--ink-500); }
.af-banks span.is-on { color: var(--ink-900); box-shadow: 0 0 0 1px var(--blue-500); }
.af-banks span > .i:last-child { margin-left: auto; color: var(--blue-500); }
.af-banks i { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--surface-1); font-style: normal; }
.af-found { font-size: 12.5px; color: var(--ink-450); }
.af-steps .flv-step__visual { height: 150px; }
.af-mini { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.af-mini i { width: 18px; height: calc(var(--h) * 100%); border-radius: 6px; background: linear-gradient(180deg, var(--blue-380), var(--blue-500)); }
@keyframes afSpin { to { rotate: 360deg; } }
@keyframes afWire { to { background-position: 22px 0; } }
@keyframes afDrop { to { background-position: 0 22px; } }
@media (max-width: 1100px) {
  .af-dash__body { grid-template-columns: minmax(0, 1fr); }
  .af-bento__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .af-dash__body { padding: 14px; }
  .af-accts { grid-template-columns: minmax(0, 1fr); }
  .af-flow { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .af-merge__banks { grid-template-columns: minmax(0, 1fr); }
  .af-merge__lines { height: 30px; }
  .af-card { padding: 20px; }
  .af-dash .af-sync { display: none; }
}
