/* Infographics: order lanes, checks tree, money flow, setup bar.
   Loaded after styles.css. */
.sec--sky { background: var(--sky); }
.sec--mint { background: var(--mint); }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- checks tree (decision flow) --- */
.checks { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.checks .sec__lede { color: var(--ink); }
.example { margin-top: 28px; display: grid; gap: 8px; justify-items: start; }
.example__label { font: 700 15px var(--display); }
.example .bubble { border: 2px solid var(--ink); padding-bottom: 8px; max-width: 30em; }
.tree { list-style: none; margin: 0; padding: 0; --dx: 92px; }
.tree > li { position: relative; }
.tree > li + li { padding-top: 46px; }
.tree > li + li::before { content: ""; position: absolute; top: 0; left: calc(var(--dx) - 1.5px); width: 3px; height: 46px; background: var(--ink); }
.tree__q + .tree__q::after, .tree__q + .tree__end::after { content: "Yes"; position: absolute; top: 13px; left: calc(var(--dx) + 10px); font: 700 14px var(--display); color: var(--paid); }
.tree__start, .tree__end { width: calc(var(--dx) * 2); text-align: center; border: 2px solid var(--ink); border-radius: 999px; padding: 10px 12px; font: 700 15px/1.2 var(--display); background: var(--sheet); }
.tree__end { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--carbon); }
.tree__q { display: grid; grid-template-columns: calc(var(--dx) * 2) minmax(0, 1fr); align-items: center; }
.diamond { position: relative; width: calc(var(--dx) * 2); aspect-ratio: 1; display: grid; place-items: center; text-align: center; margin: -14px 0; }
.diamond::before { content: ""; position: absolute; inset: 15%; background: var(--sun); border: 2.5px solid var(--ink); border-radius: 10px; transform: rotate(45deg); box-shadow: 3px 3px 0 var(--ink); }
.diamond span { position: relative; max-width: 112px; font: 700 14.5px/1.2 var(--display); }
.tree__no { position: relative; display: flex; align-items: center; }
.tree__no::before { content: ""; flex: none; width: 34px; height: 3px; background: var(--ink); margin-left: -16px; }
.tree__no em { flex: none; font: 700 13.5px/1 var(--display); font-style: normal; background: var(--rose); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 10px; margin-right: 10px; }
.tree__no p { background: var(--sheet); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; }
.tree__no q { font-weight: 600; }

/* --- money flow --- */
.flows { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
.flow { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.4fr) minmax(170px, 1fr); align-items: center; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 20px; background: var(--sheet); }
.flow--main { background: var(--mint); border-width: 2.5px; box-shadow: var(--shadow); }
.node { display: inline-flex; align-items: center; gap: 10px; justify-self: start; border: 2px solid var(--ink); border-radius: 14px; padding: 10px 14px; background: var(--sheet); font: 700 16px/1.2 var(--display); }
.node--bank { background: var(--sun); }
.node--om { background: var(--lilac); }
.pipe { position: relative; display: block; height: 3px; background: var(--ink); margin: 0 18px 0 10px; }
.pipe::after { content: ""; position: absolute; right: -4px; top: 50%; translate: 0 -50%; border: 9px solid transparent; border-left: 13px solid var(--ink); border-right: 0; }
.pipe span { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; width: max-content; max-width: 100%; text-align: center; font: 600 15px/1.25 var(--body); }
.flow__note { grid-column: 1 / -1; margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.flow--main .flow__note { color: var(--ink); font-weight: 600; }

/* --- setup bar (widths proportional to minutes) --- */
.setup { margin-top: 40px; display: grid; gap: 18px; }
.setup__bar { display: flex; height: 70px; border: 2.5px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--sheet); box-shadow: var(--shadow); }
.seg { flex: var(--m) 1 0; min-width: 42px; display: grid; place-items: center; font: 800 16px/1 var(--display); }
.seg + .seg { border-left: 2.5px solid var(--ink); }
.seg--a, .key--a::before { background: var(--carbon); color: #fff; }
.seg--b, .key--b::before { background: var(--sun); }
.seg--c, .key--c::before { background: var(--sky); }
.seg--d, .key--d::before { background: var(--rose); }
.seg--e, .key--e::before { background: var(--lilac); }
.setup__key { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.setup__key li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.4; }
.setup__key li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border: 2px solid var(--ink); border-radius: 6px; }
.setup__key b { display: block; font: 800 16px var(--display); }
.setup__bg { border: 2px dashed var(--ink); border-radius: 16px; padding: 14px 18px; background: rgba(255, 255, 255, .6); font-size: 15.5px; }

/* --- industries: the four trades the app sets up for --- */
.trades { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trade { border: 2.5px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.trade--sun { background: var(--sun); }
.trade--mint { background: var(--mint); }
.trade--sky { background: var(--sky); }
.trade--lilac { background: #d6d5fb; }
.trade h3 { font-size: 28px; }
.trade__unit { font-size: 15.5px; }
.trade__unit b { font-family: var(--display); background: var(--sheet); border: 2px solid var(--ink); border-radius: 8px; padding: 0 7px; }
.trade__cats { margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--ink); font-size: 15px; line-height: 1.5; }
.trades__other { margin-top: 22px; font-size: 16px; color: var(--ink-soft); }
@media (max-width: 1080px) { .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .trades { grid-template-columns: minmax(0, 1fr); } }

/* --- hero: the English line is part of the H1 so search engines read the plain words --- */
.hero__title .hero__en { display: block; margin-top: 18px; font: 700 22px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); white-space: normal; }

/* --- footer credit --- */
.foot__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot__credit { color: #c4c9d8; }
.foot__credit b { color: #fff; font-weight: 600; }

/* --- free-month form: hidden bot trap, sending and sent states --- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form button[disabled] { opacity: .7; cursor: progress; transform: none; }
.form.is-sent { text-align: left; gap: 10px; outline: none; }
.form.is-sent p { color: var(--ink); font-size: 17px; }
.form__note a { color: var(--carbon); font-weight: 600; }

/* --- browser surfaces and contrast fixes --- */
.bubble time { font-size: 11.5px; }
@media (prefers-reduced-motion: no-preference) {
  .phone { animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  .bill { animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
}
::selection { background: var(--carbon); color: #fff; }
html { accent-color: var(--carbon); caret-color: var(--carbon); }
.hero__fine { color: var(--ink); }
.phone__bar small { opacity: 1; color: #e8f5f1; }
.ledger__rows { position: relative; background: none; }
.ledger__rows::after { content: ""; position: absolute; top: 0; bottom: 0; left: 47px; width: 2px; background: #e9a2a2; }

@media (max-width: 1080px) {
  .checks { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .setup__key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .flow { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pipe { width: 3px; height: 64px; margin: 6px 0 6px 26px; }
  .pipe::after { right: auto; left: 50%; top: auto; bottom: -6px; translate: -50% 0; border: 9px solid transparent; border-top: 13px solid var(--ink); border-bottom: 0; }
  .pipe span { left: 22px; bottom: auto; top: 50%; translate: 0 -50%; width: min(240px, 62vw); max-width: none; text-align: left; }
  .tree { --dx: 74px; }
  .tree__q { grid-template-columns: minmax(0, 1fr); }
  .diamond { margin: 0; }
  .diamond span { max-width: 88px; font-size: 13px; }
  .tree__no { margin: 0 0 0 calc(var(--dx) - 1.5px); padding: 12px 0 0 0; border-left: 3px dashed var(--ink); }
  .tree__no::before { width: 18px; margin-left: 0; }
  .tree__no p { font-size: 14.5px; }
  .setup__key { grid-template-columns: minmax(0, 1fr); }
  .seg { font-size: 13px; }
}
