/* Merge Clouds page CSS: only what sits inside a visual (the app's own screens drawn as live HTML),
   the app-frame recipe (sections-library.md) and the logo image. Everything else is the kit's. */

/* the client's logo in the nav and footer */
.nav__logo { gap: 10px; }
.nav__mark { width: 44px; height: 28px; flex: none; display: block; }

/* ---------- hero: the app's Home screen in a phone (the collage's main piece) ---------- */
.hero__art > .ly-piece--note { left: var(--s-6); bottom: var(--s-6); width: 300px; z-index: 2; }
.d-note__line { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 13px; color: #3d4247; border-top: 1px solid rgb(0 0 0 / .06); }
.d-note__line:first-of-type { border-top: 0; }
.d-note__line i { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #e3edf6; color: #135a92; font-style: normal; font-size: 13px; font-weight: 700; }
.d-note__line b { font-weight: 500; color: #16181a; }
.d-chip { background: #e3edf6; color: #135a92; }
.hero__proof { font-size: var(--t-small); color: var(--muted); }

.hero__art > .ly-piece--main.phone { left: auto; right: var(--s-8); width: 336px; top: var(--s-8); }
/* the phone is one box: its screen, with the bezel as a border */
.phone { background: #fcfcfd; border: 10px solid #1b1c1f; border-bottom: 0; border-radius: 40px 40px 0 0; padding: 22px 18px 40px; min-height: 760px; color: #1b1c1f; font: 400 14px/1.4 var(--font-text); box-shadow: 0 40px 80px -40px rgb(10 30 50 / .55); }
.ph-top { display: flex; align-items: center; gap: 8px; }
.ph-title { font: 500 22px/1.1 var(--font-text); letter-spacing: -0.01em; margin-right: auto; }
.ph-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 99px; background: #e5e1f5; font: 500 13px/1 var(--font-text); color: #1b1c1f; }
.ph-chip { background: #dbe7f2; }
.ph-chip svg { width: 13px; height: 13px; fill: #1b1c1f; }
.ph-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #d3e4f0; color: #0c3a5c; font: 500 13px/1 var(--font-text); }
.ph-sub { margin: 14px 0 14px; color: #5b5e65; font-size: 14px; line-height: 1.45; }
.ph-btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 99px; background: #135a92; color: #fff; font: 500 15px/1 var(--font-text); }
.ph-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ph-head { display: flex; align-items: baseline; gap: 6px; margin: 20px 4px 8px; }
.ph-head b { font: 500 15px/1.2 var(--font-text); }
.ph-head em { font-style: normal; color: #5b5e65; font-size: 13px; }
.ph-head span { margin-left: auto; color: #135a92; font: 500 13px/1 var(--font-text); }
.ph-list { border: 1px solid #e0e1e4; border-radius: 18px; overflow: hidden; }
.ph-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; }
.ph-row + .ph-row { border-top: 1px solid #ecedef; }
.ph-row b { display: block; font: 500 14px/1.25 var(--font-text); }
.ph-row small { display: block; font-size: 12px; color: #5b5e65; }
.ph-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; background: #f0f1f2; display: grid; place-items: center; }
.ph-ic img { width: 20px; height: 20px; object-fit: contain; }
.ph-ic--folder svg { width: 20px; height: 20px; fill: #135a92; }
@media (max-width: 1023px) { .hero__art > .ly-piece--note { left: var(--s-4); bottom: var(--s-4); width: 270px; } }
@media (max-width: 639px) {
  .hero__art > .ly-piece--main.phone { left: 50%; right: auto; top: var(--s-4); width: min(300px, calc(100% - 32px)); transform: translateX(-50%); }
}

/* ---------- app-frame (sections-library.md, the recipe's page CSS) ---------- */
.app.ui { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: var(--s-7); background: var(--u-bg); border: 1px solid var(--u-border); border-radius: var(--u-r); box-shadow: var(--u-shadow); }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--u-line); }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--u-bg)); pointer-events: none; }
@media (min-width: 1024px) and (max-width: 1279px) { .app.ui { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 252px; }
  .app > .app__pane--list::after { display: none; }
  .app .ui-win__side { display: none; }
  .app .ui-win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--u-line); }
}
@media (max-width: 639px) {
  .app.ui { grid-template-rows: minmax(0, 1fr); }
  .app > .app__pane--list { display: none; }
  .app > .app__pane + .app__pane { border-top: 0; }
}
/* inside the window: the app's logo in the crumb, real cloud marks where the kit draws initials */
.ui-win__logo { width: 22px; height: 14px; margin-right: 6px; vertical-align: -2px; }
.ui-win__ic { width: 14px; height: 14px; object-fit: contain; flex: none; }
.ui-avatar--ic { background: #f0f1f2 !important; display: grid; place-items: center; }
.ui-avatar--ic img { width: 60%; height: 60%; object-fit: contain; }
.ui-avatar--phone svg { width: 62%; height: 62%; fill: none; stroke: #135a92; stroke-width: 1.8; stroke-linecap: round; }
/* the open transfer's header, as the app's Transfer screen shows it */
.app__head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--u-line); font: 400 13px/1.3 var(--font-text); color: var(--u-ink, #16181a); }
.app__route { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; }
.app__route img { width: 16px; height: 16px; object-fit: contain; }
.app__route i { font-style: normal; color: #7b8086; }
.app__cancel { margin-left: auto; flex: none; height: 28px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--u-line); display: inline-flex; align-items: center; font-weight: 500; }

/* ---------- features: the app's Review step and the destination picker ---------- */
.rv { padding: 18px 20px 22px; font: 400 14px/1.45 var(--font-text); color: #1b1c1f; }
.rv__route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px; border-radius: 16px; background: #f4f5f6; text-align: center; }
.rv__route span { display: grid; justify-items: center; gap: 2px; }
.rv__route img { width: 28px; height: 28px; object-fit: contain; margin-bottom: 4px; }
.rv__route b { font-weight: 500; font-size: 14px; }
.rv__route small { font-size: 12px; color: #5b5e65; }
.rv__route i { font-style: normal; color: #135a92; font-size: 18px; }
.rv__total { margin: 16px 0 4px; font-weight: 500; font-size: 16px; }
.rv__file { margin: 0 0 12px; color: #3d4247; }
.rv__credit { margin: 0; padding-top: 12px; border-top: 1px solid #e6e7e9; }
.rv__credit b { font-weight: 500; color: #135a92; }
.rv__bal { margin: 2px 0 16px; color: #5b5e65; font-size: 13px; }
.rv__btn { display: flex; justify-content: center; align-items: center; height: 40px; border-radius: 99px; background: #135a92; color: #fff; font-weight: 500; }
.up { padding: 18px 18px 8px; font: 400 14px/1.4 var(--font-text); color: #1b1c1f; }
.up__title { margin: 0 0 2px; font-weight: 500; font-size: 15px; }
.up__from { margin: 0 0 12px; display: flex; align-items: center; gap: 6px; color: #5b5e65; font-size: 13px; }
.up__from svg { width: 16px; height: 16px; fill: #135a92; }
.up__row { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid #ecedef; }
.up__row img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.up__row b { display: block; font-weight: 500; }
.up__row small { display: block; font-size: 12px; color: #5b5e65; }
.up__row em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 500; color: #135a92; }
.up__row.is-on { background: #eef4fa; border-radius: 10px; border-top-color: transparent; }
.ui-note__ico--brand { background: #fff; border: 1px solid #e6e7e9; }
.ui-note__ico--brand img { width: 70%; height: 70%; object-fit: contain; }

/* ---------- the statement (liquid-type) ---------- */
#statement .statement__type { font-size: clamp(44px, 10.6vw, 160px); line-height: .98; letter-spacing: var(--display-tracking-xl); max-width: none; }
.statement__line { margin-top: var(--s-7); max-width: 52ch; font-size: var(--t-lead); line-height: 1.5; }

/* ---------- how a transfer goes: the app's screens in the pinned frame (one per step) ---------- */
.sc { position: relative; width: min(100%, 380px); max-height: 100%; overflow: hidden; background: #fcfcfd; color: #1b1c1f;
  border-radius: 20px; padding: 18px 18px 14px; font: 400 14px/1.4 var(--font-text); box-shadow: 0 24px 48px -24px rgb(20 30 40 / .45), 0 0 0 1px rgb(0 0 0 / .05); }
.sc__title { margin: 0; font: 500 17px/1.25 var(--font-text); }
.sc__sub { margin: 2px 0 10px; color: #5b5e65; font-size: 13px; }
.sc__row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 4px; border-top: 1px solid #ecedef; }
.sc__row img { width: 22px; height: 22px; object-fit: contain; flex: none; }
.sc__row span { display: grid; min-width: 0; flex: 1; }
.sc__row b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc__row small { font-size: 12px; color: #5b5e65; }
.sc__row em { margin-left: auto; font-style: normal; font-size: 12px; color: #5b5e65; flex: none; }
.sc__row em.is-ok { color: #1e7a37; font-weight: 500; }
.sc__row.is-on { background: #eef4fa; border-radius: 12px; border-top-color: transparent; }
.sc__row.is-on em { color: #135a92; font-weight: 500; }
.sc__row.is-on + .sc__row { border-top-color: transparent; }
.sc__bar { display: block; height: 4px; margin-top: 6px; border-radius: 4px; background: #e3e8ee; overflow: hidden; }
.sc__bar > i { display: block; height: 100%; background: #135a92; }
.sc__btn { display: inline-flex; align-items: center; height: 36px; margin-top: 10px; padding: 0 14px; border-radius: 99px; font-weight: 500; }
.sc__btn--ghost { color: #135a92; border: 1px solid #c9d6e3; }
/* the cancel dialog over the transfer's screen, dimmed by a scrim as Android draws a dialog; the screen and the
   dialog are siblings in a plain wrapper, so neither is a box inside the other */
.sc-stack { position: relative; width: min(100%, 380px); }
.sc-stack > .sc { width: 100%; }
.sc--dim::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgb(18 22 28 / .45); }
.sc__dialog { position: absolute; left: 14px; right: 14px; top: 50%; transform: translateY(-34%); background: #fff; color: #1b1c1f; border-radius: 22px; padding: 18px;
  font: 400 14px/1.4 var(--font-text); box-shadow: 0 24px 48px -16px rgb(0 0 0 / .5), 0 0 0 1px rgb(0 0 0 / .06); }
.sc__dtitle { margin: 0 0 6px; font: 500 17px/1.25 var(--font-text); }
.sc__dbody { margin: 0 0 14px; color: #3d4247; font-size: 14px; }
.sc__dbtns { display: flex; justify-content: flex-end; gap: 6px; }
.sc__dbtns span { height: 36px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; font-weight: 500; color: #135a92; }
.sc__dbtns .is-main { background: #135a92; color: #fff; }

/* ---------- pricing ---------- */
.plan__lines { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.plan__lines li { padding-top: var(--s-2); border-top: 1px solid var(--line); }
.pricing__note { margin-top: var(--s-6); }


/* the dealt grounds (bg-mist, bg-band) hold a screen of their own: here exactly the section's screens */
#features, #questions { --g-screen: calc(var(--h, 1) * 100svh); padding: var(--padt) 0 calc(var(--padb) + var(--bar)); }
/* ...and keep the kit's section box (the grounds' display: grid would let the .wrap shrink to its content) */
@media (min-width: 1280px) { #features, #questions { display: block; } }
@media (min-width: 640px) and (max-width: 1279px) { #features, #questions { display: flex; flex-direction: column; } }
@media (max-width: 639px) { #features, #questions { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr; grid-auto-rows: auto; align-content: stretch; } }
@media (max-width: 639px) { #features, #questions { --g-screen: calc(var(--hm, var(--h, 1)) * 100lvh); } }
/* tablet: the three price cards stay side by side, so pricing keeps one screen */
@media (min-width: 640px) and (max-width: 1023px) {
  #pricing .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #pricing .grid > .card--plan { grid-column: auto; }
  .app .ui-win__row:nth-child(n+5) { display: none; }
}
/* the statement fills its screen at every width */
@media (max-width: 1023px) { #statement .statement__type { font-size: clamp(56px, 19vw, 160px); } #statement .statement__line { font-size: var(--t-h3); line-height: 1.35; } }
/* a phone: the transfer header keeps the route only; the last question lives on its own page */
@media (max-width: 639px) {
  .app__path, .app__cancel { display: none; }
  .faq > .faq__item--desk { display: none; }
}

/* the close's name: hand-set to run nearly line to line at every width; its clip box reaches below the
   baseline so the descender of the g shows whole (padding out, the same margin back: the layout keeps its height) */
.close__word { font-size: clamp(40px, 15.8vw, 236px); line-height: 1; padding-bottom: .2em; margin-bottom: -.2em; }
/* a phone: the price cards drop their lines (the note under them says it), so prices keep one screen */
@media (max-width: 639px) { #pricing .plan__lines, #pricing .card--plan > p.muted, #pricing .section-head > p, #pricing .pricing__note { display: none; } }

/* features: two screens on a desktop and a phone (each screen one row of two cards, or two stacked cards);
   one screen on a tablet, where the four cards sit two by two (layout-v4.md: 832 to 1,130 cut to one screen) */
#features .panel { --p-h: 300px; }
@media (min-width: 640px) and (max-width: 1023px) {
  #features { --h: 1; }
  #features > .wrap { grid-template-rows: auto auto; row-gap: var(--s-5); }
  #features .panel { --p-h: 230px; }
}

/* how a transfer goes, at rest (tablets, phones, short screens: the moment shows each step with its own picture):
   each screen keeps its two first rows and the cancel step shows its dialog alone, so every picture fits its frame;
   on a tablet the three pictures share what one screen leaves under the heading */
#how:not(.is-live) .mo-pc__visual--lit { padding: var(--s-3); }
#how:not(.is-live) .sc { padding: 14px 14px 10px; }
#how:not(.is-live) :is(.sc__sub, .sc__btn, .sc__row small) { display: none; }
#how:not(.is-live) .sc__title { margin-bottom: 8px; }
#how:not(.is-live) .sc__row { min-height: 40px; }
#how:not(.is-live) .sc__row:nth-of-type(n+3) { display: none; }
#how:not(.is-live) .sc-stack > .sc--dim { display: none; }
#how:not(.is-live) .sc__dialog { position: static; transform: none; padding: 14px; box-shadow: 0 18px 36px -18px rgb(0 0 0 / .4), 0 0 0 1px rgb(0 0 0 / .06); }
#how:not(.is-live) .sc__dbody { font-size: 13px; margin-bottom: 12px; }
@media (min-width: 640px) { #how:not(.is-live) .mo-pc__visual--lit { max-height: calc((100svh - 440px) / 3); } }
/* a phone: the three steps stacked with their pictures take two screens */
@media (max-width: 639px) { main > #how[data-moment]:not(.is-live) { min-height: calc(2 * 100vh); min-height: calc(2 * 100lvh); } }
/* a phone: the feature panels are shorter, so each screen holds its two cards */
@media (max-width: 639px) { #features .panel { --p-h: 130px; } }

/* the drawn screens keep their own ink inside a step (the moment colours a step's paragraphs with the band's ink) */
#how .mo-pc__visual :is(.sc, .sc__dialog) p { max-width: none; opacity: 1; display: block; }
#how .mo-pc__visual :is(.sc__title, .sc__dtitle) { color: #1b1c1f; }
#how .mo-pc__visual .sc__sub { color: #5b5e65; }
#how .mo-pc__visual .sc__dbody { color: #3d4247; }
