/* Jacked's look on the control site's pages, over site.css (which is all variables). Green, white and black: clean white surfaces, black ink,
   dark green for buttons and accents (a lifted green where it sits on black). The same values are in the app's brand.py. */
:root {
	--bg: #ffffff; --paper: #ffffff; --wash: #f4f6f5; --ink: #0b0b0c; --ink-2: #333836; --ink-3: #5a625e;
	--line: #d8dfdb; --line-soft: #e8edeb;
	--brand: #0f5c41; --brand-ink: #ffffff; --brand-soft: #dff0e7; --accent: #0f5c41; --accent-ink: #0f5c41; --on-accent: #ffffff;
	--shadow: 0 1px 2px rgba(11, 11, 12, .06), 0 28px 50px -28px rgba(11, 11, 12, .26);
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--bg: #0b0d0c; --paper: #141816; --wash: #0f1211; --ink: #f2f5f3; --ink-2: #c3cbc7; --ink-3: #99a39e;
		--line: #29302d; --line-soft: #1d2321;
		--brand: #3fcf94; --brand-ink: #04140d; --brand-soft: #0f2a20; --accent: #3fcf94; --accent-ink: #8ee6bf; --on-accent: #04140d;
	}
}
body::after { display: none; } /* site.css's paper grain is PM's */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.logo { color: var(--ink); }
.logo .wordmark { height: 30px; width: auto; display: block; overflow: visible; }
.logo svg.wordmark { margin: 0; }

/* hero */
.jk-hero h1 { letter-spacing: -.03em; }
.jk-hero h1 .two { color: var(--ink-3); }
.jk-mark { color: var(--accent-ink); font-weight: 700; }

/* plans */
.jk-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line-soft); margin-top: 18px; }
.jk-toggle button { font: inherit; font-size: 14px; font-weight: 600; border: 0; background: transparent; color: var(--ink-2); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.jk-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.jk-toggle small { color: var(--accent-ink); font-weight: 700; margin-left: 4px; }
.jk-plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 26px; align-items: stretch; }
.jk-plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-box); padding: 26px; }
.jk-plan.pick { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.jk-plan .tag { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.jk-plan h3 { margin: 0; font-size: 20px; }
.jk-plan .who { margin: 4px 0 18px; color: var(--ink-3); font-size: 14px; }
.jk-price { display: flex; align-items: baseline; gap: 6px; }
.jk-price strong { font-size: 44px; letter-spacing: -.03em; line-height: 1; }
.jk-price span { color: var(--ink-3); font-size: 14px; }
.jk-billed { min-height: 20px; margin: 6px 0 18px; color: var(--ink-3); font-size: 13px; }
.jk-plan ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.jk-plan li { display: flex; gap: 10px; }
.jk-plan li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--accent); }
.jk-plan .btn { margin-top: auto; justify-content: center; }
.jk-small { margin-top: 18px; color: var(--ink-3); font-size: 14px; }
/* the example job's stamp, in our colours instead of PM's */
.jk-job .stamp.pursue { color: var(--accent-ink); border-color: currentColor; }
/* the brand line is longer than a slogan: keep it to two lines beside the form on a laptop */
.jk-hero h1 { font-size: clamp(34px, 4.1vw, 56px); line-height: 1.04; }

/* ERP Lite framing */
.jk-eyebrow { display: inline-block; margin: 0 0 16px; padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--accent-ink); font: 600 12.5px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; }
.jk-nz { background: var(--paper); border-block: 1px solid var(--line-soft); padding: 26px 0 30px; }
.jk-nz-h { font: 600 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.jk-nz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.jk-nz-list li { display: grid; gap: 3px; padding-left: 14px; border-left: 3px solid var(--accent); }
.jk-nz-list b { font-size: 15.5px; }
.jk-nz-list span { color: var(--ink-2); font-size: 14px; line-height: 1.45; }

/* the feature gallery */
.jk-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 8px; }
.jk-cats button { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink-2); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; cursor: pointer; }
.jk-cats button small { color: var(--ink-3); font-weight: 600; margin-left: 4px; }
.jk-cats button:hover { border-color: var(--ink-3); }
.jk-cats button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.jk-cats button[aria-pressed="true"] small { color: inherit; opacity: .75; }
.jk-gal { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); margin-top: 18px; }
.jk-gtile { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-box); padding: 16px 16px 20px; }
.jk-gtile[hidden] { display: none; }
.jk-gtile h3 { margin: 8px 0 0; font-size: 19px; letter-spacing: -.015em; }
.jk-gtile .lead { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.jk-gtile ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 7px; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.jk-gtile li { display: flex; gap: 9px; }
.jk-gtile li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--accent); }

/* example screens: boxes only, so they follow light and dark mode */
.jk-win { border: 1px solid var(--line); border-radius: 12px; background: var(--wash); overflow: hidden; }
.jk-win-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; background: var(--paper); border-bottom: 1px solid var(--line-soft); font-size: 12.5px; font-weight: 650; }
.jk-win-body { padding: 12px; min-height: 178px; font-size: 12px; color: var(--ink-2); }
.jk-pill { font-style: normal; font-weight: 650; font-size: 10.5px; line-height: 1; padding: 4px 8px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.jk-pill.good { background: color-mix(in srgb, #1e9e6b 16%, var(--paper)); border-color: color-mix(in srgb, #1e9e6b 40%, var(--paper)); color: var(--ink); }
.jk-pill.warn { background: color-mix(in srgb, #ff9a1f 18%, var(--paper)); border-color: color-mix(in srgb, #ff9a1f 45%, var(--paper)); color: var(--ink); }
.jk-m-list .r { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.jk-m-list .r:last-child { border-bottom: 0; }
.jk-m-list .r span { flex: 1; min-width: 0; }
.jk-m-list .r b { color: var(--ink); font-variant-numeric: tabular-nums; }
.jk-m-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jk-m-kanban h6 { margin: 0 0 6px; font: 600 10px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.jk-m-kanban .k { display: grid; gap: 2px; padding: 7px 8px; margin-bottom: 6px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 7px; }
.jk-m-kanban .k b { color: var(--ink); font-size: 11.5px; }
.jk-m-bars .g, .jk-m-steps .st { display: grid; align-items: center; gap: 10px; padding: 6px 0; }
.jk-m-bars .g { grid-template-columns: 70px 1fr; }
.jk-m-steps .st { grid-template-columns: 82px 1fr 52px; }
.jk-m-steps .st b { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.lane { position: relative; height: 14px; border-radius: 4px; background: var(--line-soft); }
.lane .b { position: absolute; top: 0; bottom: 0; border-radius: 4px; background: var(--ink); }
.lane .b.b { background: var(--accent); }
.lane .b.c { background: var(--ink-3); }
.lane .b.d { background: color-mix(in srgb, var(--accent) 45%, var(--ink-3)); }
.jk-m-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jk-m-boxes .bx { display: grid; gap: 1px; padding: 8px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 7px; }
.jk-m-boxes small { font: 600 10px/1 var(--mono); color: var(--accent-ink); }
.jk-m-boxes span { font-size: 10.5px; line-height: 1.2; }
.jk-m-boxes b { color: var(--ink); font-size: 13px; font-variant-numeric: tabular-nums; }
.jk-m-check .r { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.jk-m-check .r:last-child { border-bottom: 0; }
.jk-m-check .r span { flex: 1; }
.jk-m-check .tick { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.jk-m-check .tick.on { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 3px var(--paper); }
.jk-m-check .photo { width: 26px; height: 20px; border-radius: 4px; background: var(--line-soft); border: 1px solid var(--line); }
.jk-m-phone { display: grid; place-items: center; }
.jk-m-phone .ph { width: 190px; padding: 10px 10px 12px; border: 2px solid var(--ink); border-radius: 20px; background: var(--paper); }
.jk-m-phone .ph-top { display: grid; padding: 2px 4px 8px; }
.jk-m-phone .ph-top b { color: var(--ink); font-size: 15px; }
.jk-m-phone .r { display: flex; justify-content: space-between; gap: 8px; padding: 7px 4px; border-top: 1px dashed var(--line); font-size: 11px; }
.jk-m-phone .r b { color: var(--ink); }
.jk-m-phone .ph-btn { margin-top: 8px; padding: 8px; border-radius: 999px; text-align: center; background: var(--brand); color: var(--brand-ink); font-weight: 650; font-size: 11.5px; }
.jk-m-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jk-m-cards .nc { display: grid; gap: 4px; padding: 9px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 8px; }
.jk-m-cards .nc span { font-size: 10.5px; line-height: 1.2; }
.jk-m-cards .nc b { color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; }
.jk-m-web .wb-hero { display: grid; gap: 4px; padding: 14px; border-radius: 8px; background: var(--brand); color: var(--brand-ink); }
.jk-m-web .wb-hero b { font-size: 15px; }
.jk-m-web .wb-hero span { opacity: .8; }
.jk-m-web .wb-hero u { justify-self: start; margin-top: 6px; padding: 5px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 11px; }
.jk-m-web .wb-row, .jk-m-web .wb-slots { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.jk-m-web .wb-row span, .jk-m-web .wb-slots em { font-style: normal; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.jk-m-web .wb-slots em.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.jk-m-chips { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.jk-m-chips .chip { padding: 7px 13px; border-radius: 999px; border: 1px dashed var(--ink-3); background: var(--paper); color: var(--ink-2); font-weight: 600; }
.jk-m-chips .chip.on { background: var(--ink); color: var(--paper); border-style: solid; }
@media (prefers-reduced-motion: no-preference) { .jk-gtile { transition: border-color .15s, transform .15s; } .jk-gtile:hover { border-color: var(--ink-3); transform: translateY(-2px); } }

/* the steps under the headline: numbered chips that wrap cleanly */
.jk-flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: step; }
.jk-flow li { counter-increment: step; display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 7px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.jk-flow li::before { content: counter(step); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--accent-ink); font: 700 11.5px/1 var(--mono); }

/* the sign-up form: boxed fields, a proper focus ring, and answers you can see */
.jk-hero #f .field { margin-bottom: 16px; }
.jk-hero #f .field > span.l, .jk-hero #f .field > label.l { margin-bottom: 7px; font-size: 13.5px; color: var(--ink); }
.jk-hero #f .field input { box-sizing: border-box; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 17px; box-shadow: none; }
.jk-hero #f .field input::placeholder { color: var(--ink-3); opacity: .55; }
.jk-hero #f .field input:hover { border-color: var(--ink-3); }
.jk-hero #f .field input:focus { border-color: var(--ink); background: var(--paper); box-shadow: none; outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent); }
.jk-hero #f .field input[aria-invalid="true"] { border-color: var(--bad); box-shadow: none; outline-color: color-mix(in srgb, var(--bad) 28%, transparent); }
.jk-hero #f .addr { align-items: center; padding-right: 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: none; }
.jk-hero #f .addr:hover { border-color: var(--ink-3); }
.jk-hero #f .addr:focus-within { border-color: var(--ink); box-shadow: none; outline: 3px solid color-mix(in srgb, var(--accent) 42%, transparent); }
.jk-hero #f .addr input, .jk-hero #f .addr input:hover, .jk-hero #f .addr input:focus { height: 47px; border: 0; outline: 0; background: transparent; box-shadow: none; padding-right: 6px; }
.jk-hero #f .hint { min-height: 24px; margin-top: 8px; font-size: 14px; }
.jk-hero #f .hint.good { color: #14633b; font-weight: 600; }
.jk-hero #f .hint.good::before { content: "\2713\00a0"; }
.jk-hero #f .hint.bad { font-weight: 500; }
.jk-hero .card .btn.primary { margin-top: 10px; }
.jk-hero #formbox .fine { margin-top: 14px; line-height: 1.5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jk-hero #f .hint.good { color: #6fdcaa; } }

/* the header keeps its links on phones: Features and Pricing, compact */
@media (max-width: 980px) {
	.bar .nav { display: flex; gap: 16px; margin-left: 2px; }
	.bar .nav a { font-size: 14.5px; }
}
@media (max-width: 560px) {
	.bar .wrap { gap: 10px; padding: 0 6px 0 16px; }
	.bar .nav { gap: 12px; }
	.bar .nav a { font-size: 14px; }
	.bar .nav a:nth-child(3) { display: none; }
	.logo .wordmark { height: 24px; }
	.bar .btn { padding: 8px 14px; font-size: 15px; }
}
@media (max-width: 340px) { .bar .nav a:nth-child(2) { display: none; } }

/* a long headline on a phone: let the whole line balance instead of orphaning one word */
@media (max-width: 560px) {
	.jk-hero h1 { font-size: clamp(30px, 8.4vw, 36px); text-wrap: balance; }
	.jk-hero h1 span { display: inline; }
}
.jk-mark { white-space: nowrap; }

/* the Built for New Zealand strip: three even columns, top-aligned */
.jk-nz-list { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.jk-nz-list li { align-content: start; }
@media (max-width: 860px) { .jk-nz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .jk-nz-list { grid-template-columns: minmax(0, 1fr); } }

/* a closing call to action, so the page ends on a next step */
.jk-close { background: var(--brand); color: var(--brand-ink); padding: clamp(48px, 7vw, 88px) 0; text-align: center; }
.jk-close h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.03em; line-height: 1.1; font-weight: 680; text-wrap: balance; }
.jk-close p { margin: 14px auto 28px; max-width: 30em; font-size: 18px; opacity: .85; }
.jk-close .btn { background: #ffffff; border-color: #ffffff; color: #0b0b0c; font-weight: 700; }
.jk-close .btn:hover { background: #e9f3ee; border-color: transparent; transform: translateY(-1px); }
.jk-plan .who { min-height: 2.9em; }
/* on dark, the closing band is bright green, so its button goes black */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .jk-close .btn { background: var(--brand-ink); border-color: var(--brand-ink); color: var(--brand); }
}

.logo .wordmark .dot { fill: var(--accent); }

/* Log in: the header link and the small panel */
.jk-loginlink { border-color: transparent; background: transparent; }
.jk-loginlink:hover { background: var(--paper); }
.jk-already { margin-top: 12px; text-align: center; }
dialog.jk-login { border: 1px solid var(--line-soft); border-radius: var(--r-box); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 34px); width: min(440px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); }
dialog.jk-login::backdrop { background: rgba(11, 11, 12, .45); }
dialog.jk-login h2 { margin: 0 0 4px; }
.jk-x { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink-3); }
.jk-x:hover { background: var(--line-soft); color: var(--ink); }
dialog.jk-login .sub { margin-bottom: 16px; }
dialog.jk-login .err { margin: 0 0 14px; }
dialog.jk-login .fine { margin-top: 14px; }
/* on a phone there is only room for the logo and the two buttons: the sections are one scroll away */
@media (max-width: 560px) { .jk-loginlink { padding-inline: 12px; } .bar .nav { display: none; } }
