/* bentech.ca's free tools (2026-10): the job profit calculator, the GST/HST calculator.
   Dark, Inter, one gold accent — the same look as the BenDesk page. Loaded after styles.css. */
.jp { --gold: #b8965a; --gold-2: #e2c48a; --green: #22c55e; --amber: #f59e0b; --red: #ef4444; --purple: #8b7bff; overflow-x: clip; }
.jp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.jp-hero { position: relative; isolation: isolate; padding: clamp(6.5rem, 11vw, 8.5rem) 0 clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.jp-hero::before { content: ""; position: absolute; inset: 0 -20% 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 30% 10%, rgba(184,150,90,.22), transparent 70%), radial-gradient(35% 55% at 75% 25%, rgba(34,197,94,.12), transparent 70%); filter: blur(30px); }
.jp-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(184,150,90,.4); background: rgba(184,150,90,.08); border-radius: 99px; padding: .35rem .8rem; margin: 0 0 1.1rem; }
.jp-hero h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 850; letter-spacing: -.05em; line-height: 1; margin: 0 0 1rem; }
.jp-hero p { color: #b9b9c0; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; max-width: 58ch; margin: 0 auto; }

.jp-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.2rem; align-items: start; }
.jp-card { border: 1px solid #222226; background: var(--card); border-radius: 20px; padding: clamp(1.1rem, 3vw, 1.6rem); }
.jp-card h2 { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8b8b93; margin: 0 0 .9rem; }
.jp-card h2:not(:first-child) { margin-top: 1.5rem; }
.jp-note { font-size: .8rem; color: #8b8b93; margin: -.4rem 0 .9rem; }
.jp-field { display: grid; gap: .35rem; margin: 0 0 .85rem; }
.jp-field label { font-size: .9rem; font-weight: 600; color: #e5e5e5; }
.jp-field small { font-size: .78rem; color: #8b8b93; line-height: 1.45; }
.jp-in { display: flex; align-items: center; border: 1px solid #2a2a2e; background: #0b0b0c; border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.jp-in:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,90,.18); }
.jp-in span { padding: 0 .2rem 0 .85rem; color: #8b8b93; font-weight: 600; }
.jp-in span.after { padding: 0 .85rem 0 .2rem; }
.jp-in input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--white); font: inherit; font-size: 1.05rem; font-weight: 600;
  padding: .75rem .85rem .75rem .25rem; font-variant-numeric: tabular-nums; }
.jp-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.jp-field, .jp-in { min-width: 0; } .jp-in input { width: 100%; }   /* two boxes side by side always fit their card */

.jp-out { position: sticky; top: 86px; scroll-margin-top: 84px; }
.jp-verdict { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; border-radius: 14px; margin: 0 0 1.2rem; border: 1px solid; }
.jp-verdict i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: currentColor; box-shadow: 0 0 14px currentColor; }
.jp-verdict b { display: block; font-size: 1rem; color: var(--white); }
.jp-verdict span { font-size: .85rem; color: #b9b9c0; }
.jp-verdict.g { color: var(--green); border-color: rgba(34,197,94,.4); background: rgba(34,197,94,.08); }
.jp-verdict.a { color: var(--amber); border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.08); }
.jp-verdict.r { color: var(--red); border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.08); }
.jp-verdict.n { color: #6b6b73; border-color: #2a2a2e; background: #0d0d0f; }

.jp-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0 0 1.1rem; }
.jp-stat { padding: 1rem; border-radius: 14px; background: #0d0d0f; border: 1px solid #1f1f23; }
.jp-stat small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8b93; margin-bottom: .3rem; }
.jp-stat b { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.jp-stat em { display: block; font-style: normal; font-size: .8rem; color: #8b8b93; margin-top: .2rem; }
.jp-stat.g b { color: #4ade80; } .jp-stat.a b { color: #fbbf24; } .jp-stat.r b { color: #f87171; }

.jp-bar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: #1a1a1d; margin: .2rem 0 .6rem; }
.jp-bar i { display: block; height: 100%; transition: width .35s cubic-bezier(.2,.7,.2,1); }
.jp-bar .c { background: #6b7280; } .jp-bar .t { background: var(--purple); } .jp-bar .p { background: var(--green); }
.jp-bar .l { background: repeating-linear-gradient(135deg, var(--red) 0 6px, #b91c1c 6px 12px); }
.jp-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .78rem; color: #9a9aa2; margin: 0 0 1.1rem; }
.jp-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: .4rem; background: var(--c); }

.jp-lines { list-style: none; margin: 0 0 1.1rem; padding: 0; border-top: 1px solid #1f1f23; }
.jp-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #1f1f23; font-size: .9rem; color: #b9b9c0; }
.jp-lines li b { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.jp-lines li.hl { color: var(--white); font-weight: 600; }
.jp-lines li small { display: block; font-size: .76rem; color: #7b7b83; }

.jp-tip { padding: .9rem 1rem; border-radius: 14px; background: rgba(184,150,90,.08); border: 1px solid rgba(184,150,90,.3); font-size: .9rem; color: #e5d3ad; line-height: 1.55; margin: 0 0 1rem; }
.jp-tip b { color: var(--white); }
.jp-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.jp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .8rem 1.2rem; border-radius: 12px; font: inherit; font-size: .9rem; font-weight: 700;
  cursor: pointer; border: 1px solid #34343a; background: rgba(255,255,255,.03); color: var(--white); text-decoration: none; transition: border-color .2s, background .2s, transform .15s; }
.jp-btn:hover { border-color: var(--gold); background: rgba(184,150,90,.08); }
.jp-btn.gold { border-color: transparent; background: linear-gradient(180deg, #d4b175, var(--gold)); color: #0a0a0a; box-shadow: 0 10px 30px -12px rgba(184,150,90,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.jp-btn.gold:hover { transform: translateY(-2px); }

.jp-cta { margin: clamp(2.5rem, 6vw, 4rem) 0 0; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 22px; border: 1px solid rgba(184,150,90,.35);
  background: radial-gradient(90% 120% at 0% 0%, rgba(184,150,90,.16), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgba(34,197,94,.1), transparent 60%), var(--card);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.jp-cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; margin: 0 0 .6rem; }
.jp-cta p { color: #b9b9c0; line-height: 1.65; margin: 0; }
.jp-cta ul { list-style: none; padding: 0; margin: 0 0 1.1rem; display: grid; gap: .45rem; font-size: .92rem; color: #d4d4d8; }
.jp-cta li::before { content: "✓"; color: #4ade80; font-weight: 800; margin-right: .55rem; }
.jp-cta small { display: block; margin-top: .6rem; font-size: .8rem; color: #8b8b93; }

.jp-learn { max-width: 760px; margin: clamp(3rem, 7vw, 5rem) auto 0; }
.jp-learn h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.035em; margin: 2.4rem 0 .8rem; }
.jp-learn h2:first-child { margin-top: 0; }
.jp-learn h3 { font-size: 1.05rem; font-weight: 700; margin: 1.4rem 0 .4rem; }
.jp-learn p, .jp-learn li { color: #b9b9c0; line-height: 1.75; }
.jp-learn p { margin: 0 0 1rem; }
.jp-learn ol { margin: 0 0 1rem 1.2rem; }
.jp-learn strong { color: var(--white); }
.jp-learn a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.jp-formula { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; background: #0d0d0f; border: 1px solid #1f1f23; border-radius: 12px; padding: 1rem 1.1rem; color: #d4d4d8; line-height: 1.9; margin: 0 0 1rem; overflow-x: auto; }
.jp-faq details { border-bottom: 1px solid #1f1f23; padding: .9rem 0; }
.jp-faq summary { cursor: pointer; font-weight: 650; color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.jp-faq summary::-webkit-details-marker { display: none; }
.jp-faq summary::after { content: "+"; color: var(--gold); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.jp-faq details[open] summary::after { content: "−"; }
.jp-faq details p { margin: .6rem 0 0; }
.jp-end { height: clamp(3rem, 7vw, 5rem); }

.jp-peek { display: none; }
@media (max-width: 860px) {
  .jp-peek { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: .7rem;
    padding: .75rem .9rem; border-radius: 14px; border: 1px solid #2a2a2e; background: rgba(17,17,17,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px -10px #000; font: inherit; color: var(--white); text-align: left; cursor: pointer; transition: transform .25s, opacity .25s; }
  .jp-peek[hidden] { display: flex; transform: translateY(140%); opacity: 0; pointer-events: none; }
  .jp-peek i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
  .jp-peek.g i { color: var(--green); } .jp-peek.a i { color: var(--amber); } .jp-peek.r i { color: var(--red); } .jp-peek.n i { color: #6b6b73; }
  .jp-peek b { font-size: .95rem; font-variant-numeric: tabular-nums; }
  .jp-peek span { margin-left: auto; font-size: .82rem; font-weight: 700; color: var(--gold-2); white-space: nowrap; }
}
@media (max-width: 860px) {
  .jp-calc, .jp-cta { grid-template-columns: minmax(0, 1fr); }
  .jp-out { position: static; }
}
@media (max-width: 420px) {
  .jp-two, .jp-big { grid-template-columns: minmax(0, 1fr); }
}
.jp-also { margin: .9rem 0 0; font-size: .86rem; }
.jp-also a { color: var(--gold-2); }
