/* ============================================================
   VyaparCred - us.css
   Components for the /us/ market pages. Everything is scoped under
   .vc-us, a class that only /us/ pages carry on <body>, so nothing
   else on the site changes. Built on the site tokens and on the
   section flow of the paid landing pages (hero + form, pains,
   calculator, steps, FAQ, closing band).
   ============================================================ */

.vc-us { --us-radius: 16px; --us-shadow: 0 24px 48px -28px rgba(11,61,11,.28), 0 2px 6px rgba(0,0,0,.04); }
.vc-us .fab { display: none !important; }
.vc-us #talk { scroll-margin-top: 96px; }
.vc-us .us-sec { padding-block: clamp(56px, 6vw, 96px); }
.vc-us .us-sec--paper { background: var(--paper); }
.vc-us .us-head { max-width: 740px; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; }
.vc-us .us-head .eyebrow { justify-content: center; }
.vc-us .us-head .h2, .vc-us .us-h2 { color: var(--ink); }
.vc-us .us-head .lede { margin-inline: auto; color: var(--ink-2); }
.vc-us .us-hl { color: var(--green-deep); }

/* responsive switches: .us-d desktop only, .us-m phone only (same 768px
   line the landing pages use to swap replicas) */
.vc-us .us-m { display: none !important; }
@media (max-width: 767px) {
  .vc-us .us-d { display: none !important; }
  .vc-us .us-m { display: inline-flex !important; }
}

/* ---------- hero ---------- */
.vc-us .us-hero { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 5vw, 72px) clamp(48px, 5vw, 84px); }
.vc-us .us-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 4.5vw, 72px); align-items: start; }
/* the eyebrow is the page H1 (site convention: eyebrow-is-H1, headline is an h2);
   headings carry UA margins a <p> did not, so pin it */
.vc-us .us-hero__eyebrow { margin: 0; }
.vc-us .us-hero__eyebrow img { width: 18px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.vc-us .us-hero__eyebrow::before { display: none; }
.vc-us .us-hero__title { font-size: clamp(2.05rem, 1.05rem + 2.55vw, 3.05rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 600; color: var(--ink); margin: 18px 0 0; text-wrap: balance; }
.vc-us .us-hero__lede { font-size: var(--fs-lede); color: var(--ink-2); line-height: 1.6; max-width: 56ch; margin: 20px 0 0; text-wrap: pretty; }
.vc-us .us-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.vc-us .us-proof li { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); font-size: .97rem; }
.vc-us .us-proof svg { width: 20px; height: 20px; flex: none; }
.vc-us .us-hero__ctas { display: none; flex-direction: column; gap: 10px; margin-top: 28px; }
.vc-us .us-hero__ctas .btn { width: 100%; justify-content: center; }
/* long, page-specific CTA labels wrap on narrow phones instead of clipping */
@media (max-width: 767px) { .vc-us main .btn { white-space: normal; text-align: center; line-height: 1.3; } }

/* ---------- enquiry form ---------- */
.vc-us .us-form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 2.4vw, 32px); box-shadow: var(--us-shadow); }
.vc-us .us-form__title { font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin: 0; line-height: 1.2; }
.vc-us .us-form__sub { color: var(--gray); font-size: .95rem; line-height: 1.5; margin: 8px 0 20px; }
.vc-us .us-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.vc-us .us-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vc-us .us-field--full { grid-column: 1 / -1; }
.vc-us .us-field label { font-size: .8rem; font-weight: 600; color: var(--ink-2); letter-spacing: .01em; }
.vc-us .us-input { height: 48px; width: 100%; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 14px; background: var(--cream); font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.vc-us .us-input::placeholder { color: var(--gray-2); }
.vc-us .us-input:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px var(--green-soft); }
.vc-us select.us-input { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233A413C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.vc-us .us-form .btn { width: 100%; justify-content: center; margin-top: 18px; }
.vc-us .us-form__micro { font-size: .84rem; color: var(--gray); text-align: center; margin: 12px 0 0; }
.vc-us .us-form__err { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBEDEB; color: #8E2F25; font-size: .9rem; line-height: 1.45; }
.vc-us .us-form__err[hidden], .vc-us .us-form__sent[hidden], .vc-us [data-when="form"][hidden] { display: none; }
.vc-us .us-form__sent { text-align: center; padding: 18px 4px 6px; }
.vc-us .us-form__sent:focus { outline: none; }
.vc-us .us-form__tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin: 0 auto 16px; }
.vc-us .us-form__tick svg { width: 28px; height: 28px; }
.vc-us .us-form__sent .us-form__sent-t { font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 0 0 8px; letter-spacing: -.02em; }
.vc-us .us-form__sent p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; margin: 0 auto 8px; max-width: 40ch; }
.vc-us .us-form__sent a { color: var(--green-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- pains ---------- */
.vc-us .us-pains__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-us .us-pain { background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 24px 22px; display: flex; flex-direction: column; }
.vc-us .us-pain__ic { width: 40px; height: 40px; border-radius: 11px; background: var(--caution-soft); color: #8A6418; display: grid; place-items: center; }
.vc-us .us-pain__ic svg { width: 20px; height: 20px; }
.vc-us .us-pain h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 600; color: var(--ink); margin: 18px 0 8px; letter-spacing: -.01em; }
.vc-us .us-pain p { font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.vc-us .us-pains__close { text-align: center; margin: 36px auto 0; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; color: var(--ink); max-width: 36ch; }
.vc-us .us-pains__close span { color: var(--green-deep); }

/* ---------- the conversation ---------- */
.vc-us .us-thread { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.vc-us .us-turn { display: flex; flex-direction: column; gap: 10px; }
.vc-us .us-say { max-width: 78%; border-radius: 20px; padding: 16px 20px 18px; }
.vc-us .us-say--you { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.vc-us .us-say--vc { align-self: flex-end; background: var(--green-deep); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 14px 30px -20px rgba(11,61,11,.55); }
.vc-us .us-say__who { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .68rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 8px; color: var(--gray); }
.vc-us .us-say--vc .us-say__who { color: rgba(255,255,255,.86); }
.vc-us .us-say__who img { width: 16px; height: 16px; }
.vc-us .us-say__av { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); color: var(--gray); display: grid; place-items: center; }
.vc-us .us-say__av svg { width: 12px; height: 12px; }
.vc-us .us-say--you h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.4; font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.vc-us .us-say--vc p { margin: 0; font-size: 1rem; line-height: 1.62; color: #fff; }
.vc-us .us-say--vc p + p { margin-top: 10px; }
.vc-us .us-say__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: #fff; font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.vc-us .us-say__go:hover { color: #fff; text-decoration-thickness: 2px; }
.vc-us .us-say__go svg { width: 16px; height: 16px; }
.vc-us .us-thread__end { text-align: center; margin-top: 44px; }
.vc-us .us-thread__end p { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; margin: 0 0 18px; }

/* ---------- checklist ---------- */
.vc-us .us-check__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.vc-us .us-check__intro { position: sticky; top: 104px; }
.vc-us .us-check__intro .h2 { color: var(--ink); }
.vc-us .us-check__intro .lede { color: var(--ink-2); }
.vc-us .us-check__intro .btn { margin-top: 26px; }
.vc-us .us-check__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: uscheck; }
.vc-us .us-check__item { counter-increment: uscheck; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 18px 66px; }
.vc-us .us-check__item::before { content: counter(uscheck, decimal-leading-zero); position: absolute; left: 18px; top: 17px; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-family: var(--mono); font-size: .76rem; font-weight: 600; display: grid; place-items: center; }
.vc-us .us-check__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 5px 0 6px; }
.vc-us .us-check__item h3 { font-size: 1.03rem; font-weight: 600; color: var(--ink); margin: 0; letter-spacing: -.01em; }
.vc-us .us-check__item p { font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.vc-us .us-tag { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); white-space: nowrap; }
.vc-us .us-tag--alt { background: var(--paper); color: var(--ink-2); }

/* ---------- calculator ---------- */
.vc-us .us-calc__card { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--us-shadow); }
.vc-us .us-calc__in { padding: clamp(24px, 3vw, 44px); }
.vc-us .us-range + .us-range { margin-top: 30px; }
.vc-us .us-range__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vc-us .us-range__row label { font-weight: 600; color: var(--ink); font-size: .98rem; }
.vc-us .us-range__val { font-family: var(--mono); font-weight: 600; font-size: 1.2rem; color: var(--green-deep); font-variant-numeric: tabular-nums; }
.vc-us .us-range__ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--gray); margin-top: 8px; }
.vc-us input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 16px 0 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(to right, var(--green) 0, var(--green) var(--p, 50%), var(--line-2) var(--p, 50%), var(--line-2) 100%); }
.vc-us input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.vc-us input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--green); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.25); }
.vc-us input[type=range]:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.vc-us .us-calc__disc { font-size: .82rem; line-height: 1.5; color: var(--gray); margin: 28px 0 0; }
.vc-us .us-calc__out { background: var(--green-ink); color: #fff; padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; }
.vc-us .us-stat { padding-block: 16px; border-bottom: 1px solid rgba(255,255,255,.14); }
.vc-us .us-stat:first-child { padding-top: 0; }
.vc-us .us-stat__lbl { font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.8); }
.vc-us .us-stat__num { display: block; font-size: clamp(1.9rem, 1.2rem + 1.6vw, 2.55rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; margin: 6px 0 4px; }
.vc-us .us-stat__num--hi { color: var(--green-soft); }
.vc-us .us-stat__sub { font-size: .84rem; color: rgba(255,255,255,.72); }
.vc-us .us-calc__out .btn { margin-top: auto; width: 100%; justify-content: center; }
.vc-us .us-calc__out .us-stat:last-of-type { border-bottom: 0; margin-bottom: 20px; }

/* ---------- steps ---------- */
.vc-us .us-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.vc-us .us-step { background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 24px 22px; }
.vc-us .us-step__n { font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .12em; color: var(--green-deep); }
.vc-us .us-step h3 { font-size: 1.08rem; font-weight: 600; color: var(--ink); margin: 14px 0 8px; letter-spacing: -.01em; line-height: 1.3; }
.vc-us .us-step p { font-size: .95rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.vc-us .us-steps__foot { text-align: center; margin-top: 36px; }
.vc-us .us-steps__foot p { color: var(--ink-2); margin: 0 auto 18px; max-width: 58ch; }

/* ---------- categories ---------- */
.vc-us .us-cats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vc-us .us-cat { display: flex; flex-direction: column; padding: 18px 18px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.vc-us .us-cat:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(11,61,11,.35); }
.vc-us .us-cat:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.vc-us .us-cat b { font-weight: 600; font-size: 1rem; color: var(--ink); hyphens: auto; overflow-wrap: anywhere; }
.vc-us .us-cat span { font-size: .88rem; line-height: 1.45; color: var(--gray); margin: 6px 0 12px; }
.vc-us .us-cat svg { margin-top: auto; width: 18px; height: 18px; color: var(--green); transition: transform .15s; }
.vc-us .us-cat:hover svg { transform: translateX(3px); }

/* ---------- financing ---------- */
.vc-us .us-fin__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.vc-us .us-fin { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 26px 24px 22px; }
.vc-us .us-fin__when { font-size: .92rem; line-height: 1.45; color: #6B5314; background: var(--caution-soft); border-radius: 10px; padding: 9px 12px; margin: 0; }
.vc-us .us-fin h3 { font-size: 1.22rem; font-weight: 600; color: var(--ink); margin: 18px 0 8px; letter-spacing: -.015em; }
.vc-us .us-fin p.us-fin__what { font-size: .96rem; line-height: 1.55; color: var(--ink-2); margin: 0; }
.vc-us .us-fin .textlink { margin-top: auto; padding-top: 18px; align-self: flex-start; color: var(--green-deep); font-weight: 600; }
.vc-us .textlink svg { width: 16px; height: 16px; flex: none; }

/* ---------- FAQ spacing (component is the site's .faqx) ---------- */
.vc-us .us-faq .faqx summary { font-size: 1.02rem; }
.vc-us .us-faq .faqx .fa { line-height: 1.62; }

/* ---------- closing band ---------- */
.vc-us .us-final { text-align: center; }
.vc-us .us-final .h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.vc-us .us-final .lede { color: rgba(255,255,255,.8); margin-inline: auto; }
.vc-us .us-final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .vc-us .us-pains__grid, .vc-us .us-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-us .us-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .vc-us .us-hero__grid, .vc-us .us-check__grid, .vc-us .us-calc__card { grid-template-columns: minmax(0, 1fr); }
  .vc-us .us-check__intro { position: static; }
}
@media (max-width: 767px) {
  .vc-us .us-hero__form { display: none; }
  .vc-us .us-hero__ctas { display: flex; }
  .vc-us .us-proof { flex-direction: column; gap: 10px; }
  .vc-us .us-say { max-width: 94%; }
  .vc-us .us-cats__grid, .vc-us .us-fin__grid { grid-template-columns: minmax(0, 1fr); }
  .vc-us .us-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-us .us-final__ctas .btn, .vc-us .us-thread__end .btn, .vc-us .us-steps__foot .btn, .vc-us .us-check__intro .btn { width: 100%; justify-content: center; }
  .vc-us input[type=range]::-webkit-slider-thumb { width: 28px; height: 28px; border-width: 4px; }
  .vc-us input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-width: 4px; }
}
@media (max-width: 560px) {
  .vc-us .us-pains__grid, .vc-us .us-steps__grid { grid-template-columns: minmax(0, 1fr); }
  .vc-us .us-form__grid { grid-template-columns: minmax(0, 1fr); }
  .vc-us .us-check__item { padding-left: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-us .us-cat, .vc-us .us-cat svg, .vc-us .us-input { transition: none; }
  .vc-us .us-cat:hover { transform: none; }
}

/* ================= product template components ================= */
/* breadcrumb */
.vc-us .us-crumbs { margin: 0 0 clamp(18px, 2.4vw, 30px); }
.vc-us .us-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--gray); }
.vc-us .us-crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--gray-2); }
.vc-us .us-crumbs a { color: var(--gray); text-decoration: none; }
.vc-us .us-crumbs a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.vc-us .us-crumbs [aria-current] { color: var(--ink-2); font-weight: 500; }

/* checklist tag for things the buyer should request */
.vc-us .us-tag--ask { background: var(--caution-soft); color: #6B5314; }

/* options: technologies / types */
.vc-us .us-opts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vc-us .us-opt { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 22px 20px 20px; }
.vc-us .us-opt__fit { margin: 0; font-family: var(--mono); font-size: .66rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--green-deep); }
.vc-us .us-opt h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); margin: 10px 0 8px; }
.vc-us .us-opt p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.vc-us .us-opt__meta { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vc-us .us-opt__meta li { font-size: .78rem; font-weight: 500; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 4px 10px; }
.vc-us .us-match { max-width: 820px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 18px 24px 8px; }
.vc-us .us-match__t { margin: 0 0 4px; font-weight: 600; color: var(--ink); }
.vc-us .us-match dl { margin: 0; }
.vc-us .us-match dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.vc-us .us-match dt { color: var(--ink-2); }
.vc-us .us-match dd { margin: 0; font-weight: 600; color: var(--green-deep); text-align: right; white-space: nowrap; }
.vc-us .us-opts__read { text-align: center; margin: 22px 0 0; }

/* guides: links into the blog */
.vc-us .us-guides__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.vc-us .us-guide { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.vc-us .us-guide:hover { border-color: var(--green); transform: translateY(-2px); }
.vc-us .us-guide:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.vc-us .us-guide__ic { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; }
.vc-us .us-guide__ic svg { width: 18px; height: 18px; }
.vc-us .us-guide b { display: block; font-weight: 600; color: var(--ink); line-height: 1.35; }
.vc-us .us-guide span span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.45; color: var(--gray); }

@media (max-width: 1080px) { .vc-us .us-opts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .vc-us .us-guides__grid { grid-template-columns: minmax(0, 1fr); }
  .vc-us .us-match { padding: 16px 18px 6px; }
  .vc-us .us-match dl > div { flex-direction: column; gap: 2px; }
  .vc-us .us-match dd { text-align: left; white-space: normal; }
}
@media (max-width: 560px) { .vc-us .us-opts__grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .vc-us .us-guide { transition: none; } .vc-us .us-guide:hover { transform: none; } }

/* ================= financing template components ================= */
/* how the money moves */
.vc-us .us-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vc-us .us-flow__step { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 22px 20px 18px; }
.vc-us .us-flow__step:not(:last-child)::after { content: ""; position: absolute; top: 30px; right: -16px; width: 10px; height: 10px; border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg); }
.vc-us .us-flow__when { align-self: flex-start; font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-ink); background: var(--green-soft); border-radius: 999px; padding: 4px 10px; }
.vc-us .us-flow__step h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 14px 0 8px; }
.vc-us .us-flow__step p { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.vc-us .us-flow__who { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .84rem; font-weight: 600; color: var(--green-deep); }

/* what you need / who it is for */
.vc-us .us-fit__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; }
.vc-us .us-fit__card { background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 26px 24px; }
.vc-us .us-fit__card h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 0 0 16px; letter-spacing: -.01em; }
.vc-us .us-fit__need { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.vc-us .us-fit__need li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); line-height: 1.5; }
.vc-us .us-fit__need svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.vc-us .us-fit__note { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--gray); }
.vc-us .us-fit__who > div { padding: 14px 0; border-top: 1px solid var(--line); }
.vc-us .us-fit__who > div:first-child { padding-top: 0; border-top: 0; }
.vc-us .us-fit__who > div:last-child { padding-bottom: 0; }
.vc-us .us-fit__who b { display: block; font-weight: 600; color: var(--ink); }
.vc-us .us-fit__who span { display: block; margin-top: 4px; font-size: .95rem; line-height: 1.5; color: var(--ink-2); }

/* comparison table */
.vc-us .us-cmp { max-width: 1000px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); overflow: hidden; }
.vc-us .us-cmp table { width: 100%; border-collapse: collapse; }
.vc-us .us-cmp th, .vc-us .us-cmp td { text-align: left; vertical-align: top; padding: 16px 20px; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.5; }
.vc-us .us-cmp thead th, .vc-us .us-cmp thead td { border-top: 0; background: var(--cream); font-family: var(--mono); font-size: .74rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--gray); }
.vc-us .us-cmp thead th.us-cmp__us { background: var(--green-soft); color: var(--green-ink); }
.vc-us .us-cmp tbody th { width: 22%; font-weight: 600; color: var(--ink); }
.vc-us .us-cmp td { color: var(--ink-2); }
.vc-us .us-cmp td.us-cmp__us { background: rgba(209, 231, 209, .3); color: var(--ink); font-weight: 500; }

@media (max-width: 1080px) {
  .vc-us .us-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vc-us .us-flow__step:nth-child(2n)::after { display: none; }
}
@media (max-width: 900px) { .vc-us .us-fit__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .vc-us .us-flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .vc-us .us-flow__step:not(:last-child)::after { display: block; top: auto; bottom: -17px; right: auto; left: 28px; transform: rotate(135deg); }
  .vc-us .us-cmp thead { display: none; }
  .vc-us .us-cmp tr { display: block; padding: 14px 18px; border-top: 1px solid var(--line); }
  .vc-us .us-cmp tbody tr:first-child { border-top: 0; }
  .vc-us .us-cmp th, .vc-us .us-cmp td { display: block; width: auto; padding: 3px 0; border: 0; }
  .vc-us .us-cmp td.us-cmp__us { background: none; }
  .vc-us .us-cmp td::before { content: attr(data-label); display: block; margin-top: 8px; font-family: var(--mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }
  .vc-us .us-cmp td.us-cmp__us::before { color: var(--green-deep); }
}

/* a row of three tiles gets three columns, never an empty fourth slot */
.vc-us .us-cats__grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .vc-us .us-cats__grid--n3 { grid-template-columns: minmax(0, 1fr); } }

/* ================= hub template components ================= */
/* directory: one card per child page; a partial last row is centred, never gapped */
.vc-us .us-dir__group + .us-dir__group { margin-top: 44px; }
.vc-us .us-dir__gt { margin: 0 0 4px; font-size: 1.25rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); text-align: center; }
.vc-us .us-dir__gi { margin: 0 auto 20px; max-width: 60ch; color: var(--ink-2); text-align: center; }
.vc-us .us-dir__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.vc-us .us-dir__card { position: relative; flex: 0 1 calc(33.333% - 11px); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--us-radius); padding: 22px 20px 18px; transition: border-color .15s, transform .15s, box-shadow .15s; }
.vc-us .us-dir__grid--2 { max-width: 1000px; margin-inline: auto; }
.vc-us .us-dir__grid--2 .us-dir__card { flex-basis: calc(50% - 8px); }
.vc-us .us-dir__card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 12px 26px -18px rgba(11, 61, 11, .35); }
.vc-us .us-dir__card:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.vc-us .us-dir__when { align-self: flex-start; margin: 0 0 12px; font-family: var(--mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #6B5314; background: var(--caution-soft); border-radius: 999px; padding: 4px 10px; }
.vc-us .us-dir__name { margin: 0 0 8px; font-size: 1.14rem; font-weight: 600; letter-spacing: -.015em; }
.vc-us .us-dir__name a { color: var(--ink); text-decoration: none; }
.vc-us .us-dir__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.vc-us .us-dir__name a:focus-visible { outline: none; }
.vc-us .us-dir__what { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--ink-2); }
.vc-us .us-dir__chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vc-us .us-dir__chips li { font-size: .76rem; font-weight: 500; color: var(--ink-2); background: var(--paper); border-radius: 999px; padding: 4px 10px; }
.vc-us .us-dir__go { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--green-deep); }
.vc-us .us-dir__go svg { width: 16px; height: 16px; }
.vc-us .us-dir__card:hover .us-dir__go svg { transform: translateX(3px); transition: transform .15s; }

/* chooser: match rows that link to the right page */
.vc-us .us-match dd a { color: var(--green-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.vc-us .us-match dd a:hover { color: var(--green-ink); }

@media (max-width: 1000px) { .vc-us .us-dir__card { flex-basis: calc(50% - 8px); } }
@media (max-width: 640px) { .vc-us .us-dir__card, .vc-us .us-dir__grid--2 .us-dir__card { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) { .vc-us .us-dir__card { transition: none; } .vc-us .us-dir__card:hover { transform: none; } }

/* options rows size to their item count, so 2 or 3 types never leave an empty column */
.vc-us .us-opts__grid--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vc-us .us-opts__grid--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
@media (max-width: 1080px) { .vc-us .us-opts__grid--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vc-us .us-opts__grid--n3, .vc-us .us-opts__grid--n2 { grid-template-columns: minmax(0, 1fr); } }

/* two tiles per row leave ~100px per title on the smallest phones: stack them there */
@media (max-width: 359px) { .vc-us .us-cats__grid { grid-template-columns: minmax(0, 1fr); } }
