/* OneNine Finance, look and feel rework (25 Nov 2026): the sales site.
   Loaded after v5.css. One file per area, kept separate. */

/* 1. The product page's seven steps. The sign-in stepper in v5.css uses the same class name (flow-steps) and laid these
   steps out four to a row, centred and grey, on top of the picture (found 25 Nov 2026). Here they are a plain column
   again. The stepper has its own class name since (signin-steps); these rules do no harm. */
.flow-grid > .flow-steps { display: block; grid-template-columns: none; }
ol li.flow-step { display: flex; text-align: left; justify-items: initial; font-size: inherit; line-height: inherit; color: inherit; padding: 24px 0; gap: 10px; }
ol li.flow-step::before { content: none; }

/* 2. The example charts show the product as it looks now: the month in view in the strong blue, the other months in
   the lighter blue, the second figure in terracotta (the product's chart colours since 25 Nov 2026). */
.chart .bar { fill: #8FB3DA; }
.chart .bar:hover { fill: #6F9BCB; }
.chart .bar-now { fill: #2F6FB0; }
.chart .bar-now:hover { fill: #245A92; }
.chart .gp-line { stroke: #D9622B; }
.chart .gp-dot { stroke: #D9622B; }
.lg-bar { background: #2F6FB0; }
.lg-line { background: #D9622B; }

/* 3. The error page: one sentence as the headline, the rest as text. */
.auth-card .err-more { margin: 12px 0 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.5; }
.auth-card .err-more + .muted { margin-top: 10px; }

/* 4. Where to sign in (the public site has no accounts): three numbered steps instead of two loose sentences. */
.where-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin: 0 0 18px; }
.where-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.where-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; align-items: start; }
.where-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--butter); color: var(--ink);
  font-size: .86rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.where-steps b { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; padding-top: 4px; }
.where-steps p { margin: 4px 0 0; color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.where-steps .btn { margin-top: 10px; }
.where-new { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); color: var(--ink-2); font-size: .97rem; }
.where-new a { color: var(--ink); font-weight: 600; text-underline-offset: .2em; }

/* 5. The phone menu: the three languages were jammed together under the links (they took the links' own padding and line). */
.menu-panel .site-lang-menu { margin-top: 18px; gap: 8px; }
.menu-panel .site-lang-menu a:not(.btn) { padding: 8px 14px; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; min-width: 46px; text-align: center; }
.menu-panel .site-lang-menu a[aria-current="true"] { background: rgba(255, 255, 255, .14); border-color: transparent; color: var(--white); }

/* 6. A new account's one time password: framed, with what to do right beside it, and a copy button. */
.once-box { margin: 18px 0 20px; padding: 16px 18px 14px; border-radius: 12px; background: var(--cream, #FFF6DA); border: 1px solid rgba(21, 17, 13, .08); }
.once-l { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.once-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.once-pw { font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); background: var(--white); padding: 8px 12px; border-radius: 8px; border: 1px solid var(--hair); overflow-wrap: anywhere; }
.once-note { margin: 12px 0 0; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.once-box .btn.is-done { border-color: var(--ok); color: var(--ok); }

/* 7. The website's sign in (board WEB-5, 2 Dec 2026): the company code and the address it leads to. Taken from the draft
   for oneninecloud.com of the same day (code field with the domain beside it, the address preview, remembered company). */
.signin-page .form-grid { grid-template-areas: "intro card" "help card"; row-gap: 0; }
.signin-intro { grid-area: intro; }
.signin-help { grid-area: help; }
.signin-page .signin-card { grid-area: card; }
@media (max-width: 860px) { .signin-page .form-grid { grid-template-areas: "intro" "card" "help"; row-gap: 32px; } }
.signin-help-title { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.1; margin: 40px 0 18px; }
.signin-mono { font-family: var(--mono); font-size: .92rem; color: var(--ink); overflow-wrap: anywhere; }
.where-steps .signin-mono b { display: inline; padding: 0; font-weight: 600; }
.signin-card { display: grid; gap: 18px; box-shadow: 0 24px 60px -28px rgba(21, 17, 13, .28); }
.signin-card .signin-form { display: grid; gap: 14px; }
.signin-form[hidden], .signin-remembered[hidden] { display: none; }
.signin-remembered { display: grid; gap: 10px; justify-items: start; }
.signin-remembered .linkish { background: none; border: 0; padding: 0; color: var(--ink-2); font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.code-wrap { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-s, 10px); background: var(--white); overflow: hidden; }
.code-wrap:focus-within { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(203, 103, 0, .22); }
.code-wrap .code-field { border: 0; box-shadow: none; min-width: 0; flex: 1 1 auto; font-family: var(--mono); font-size: 1.05rem; letter-spacing: .06em; }
.code-wrap .code-field:focus { box-shadow: none; }
.code-wrap .code-field[aria-invalid="true"] { border: 0; }
.code-wrap:has(.code-field[aria-invalid="true"]) { border-color: var(--bad); }
.code-suffix { display: flex; align-items: center; padding: 0 .8rem; background: var(--paper); border-left: 1px solid var(--hair);
  font-family: var(--mono); font-size: .86rem; color: var(--ink-2); white-space: nowrap; }
.signin-to { margin: 0; font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.signin-to b { font-family: var(--mono); font-weight: 400; color: var(--ink); }
.signin-check { display: flex; gap: 10px; align-items: center; font-size: .93rem; color: var(--ink-2); }
.signin-check input { width: 18px; height: 18px; accent-color: var(--slate); }
.signin-card .btn-ink { justify-self: start; }
.signin-foot { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 420px) { .code-suffix { font-size: .72rem; padding: 0 .5rem; } }

/* 8. What the product is today (board WEB-5, 2 Dec 2026): one software with switches per client (home), what is in it and
   the owner's own data tools (product). Plain cards on the site's pastels; no new colours. */
.switches, .features, .tools { padding: clamp(72px, 9vw, 120px) 0; background: var(--white); }
.switch-grid, .feature-grid, .tools-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.switch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.switch-grid li, .feature-grid li { display: grid; align-content: start; gap: 8px; padding: 22px 22px 24px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--hair); }
.switch-grid li:nth-child(4n+1), .feature-grid li:nth-child(6n+1) { background: var(--butter); border-color: transparent; }
.switch-grid li:nth-child(4n+3), .feature-grid li:nth-child(6n+4) { background: var(--sage); border-color: transparent; }
.switch-grid b, .feature-grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.1; color: var(--ink); }
.switch-grid span, .feature-grid p { color: var(--ink-2); font-size: .97rem; line-height: 1.5; }
.tools-list li { padding: 18px 0 18px 30px; border-top: 1px solid var(--hair); position: relative; color: var(--ink-2); line-height: 1.5; }
.tools-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 8px; border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.tools-list b { color: var(--ink); font-weight: 600; }
.tools-note { margin-top: 28px; color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
@media (max-width: 1020px) { .switch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .switch-grid, .feature-grid, .tools-list { grid-template-columns: minmax(0, 1fr); } }

/* 9. Sign in in the header (Ferdinand, 3 Dec 2026): beside Live demo and the button; in the phone menu below that width. */
.topbar .signin { white-space: nowrap; }
.topbar .signin svg { width: 15px; height: 15px; }
.topbar .signin[aria-current="page"] { background: rgba(255, 255, 255, .12); }
@media (max-width: 860px) { .topbar .signin { display: none; } }
