/* Plus Jakarta Sans (headings) and Inter (text), served from this site. SIL Open Font License: fonts/OFL-*.txt */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f4f7f6;
  --ink: #0e1726;
  --muted: #4b5768;
  --line: #dbe3e0;
  --accent: #0f6b5c;
  --accent-dark: #0a5246;
  --accent-soft: #e3f3ef;
  --ok: #0a5246;
  --radius: 12px;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --head: "Plus Jakarta Sans", var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--sans); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; min-height: 60px; }
.brand { font: 800 1.2rem/1 var(--head); color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand small { font: 500 0.78rem/1 var(--sans); color: var(--muted); margin-left: 8px; letter-spacing: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: 600 1rem/1 var(--sans); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--accent-dark); }
.btn.big { min-height: 54px; padding: 0 30px; font-size: 1.1rem; }
.btn.secondary { background: var(--accent-soft); color: var(--accent-dark); }
.btn.secondary:hover { background: #d3ece6; }
.btn.outline { background: #fff; color: var(--accent-dark); box-shadow: inset 0 0 0 2px var(--accent); }
.btn.outline:hover { background: var(--accent-soft); }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* first screen */
.hero { padding: 48px 0 40px; }
.hero.is-over { background: var(--accent-soft); }
.hero-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.hero-copy > * + * { margin-top: 18px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 30em; }
.cta { margin-top: 28px !important; }
.privacy { font-size: 0.95rem; color: var(--muted); }
.feats { list-style: none; padding: 0; margin-bottom: 0; display: grid; gap: 4px; color: var(--muted); }
.feats li::before { content: "\2713"; color: var(--ok); font-weight: 800; margin-right: 8px; }
.sample { font-size: 0.95rem; }
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(14, 23, 38, 0.08); background: var(--surface); }
.shot img { display: block; width: 100%; height: auto; }
.error { color: #b42318; background: #fef1f0; padding: 10px 14px; border-radius: 8px; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .hero { padding: 64px 0 28px; } #pricing:not(.is-sheet) { padding-top: 36px; } }

/* work area */
#work { padding: 28px 0 40px; background: var(--surface); }
.stepper { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0 0 16px; font-size: 0.95rem; color: var(--muted); flex-wrap: wrap; }
.stepper .is-current { color: var(--ink); font-weight: 700; }
.stepper .is-done button { color: var(--ok); }
.panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel > * + * { margin-top: 14px; }
.sub, .hint { color: var(--muted); font-size: 0.95rem; }
.row-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 22px !important; }
.row-actions.tight { margin-top: 10px !important; }
.notes p { padding: 8px 12px; border-radius: 8px; background: var(--surface); font-size: 0.95rem; overflow-wrap: anywhere; }
.notes p + p { margin-top: 6px; }
.notes .warn { background: #fff6e5; color: #7a4205; }
.notes:empty { display: none; }
.cols { display: grid; gap: 10px; }
.cols-row { display: grid; grid-template-columns: 11em minmax(0, 1fr); gap: 12px; align-items: center; font-weight: 600; }
select, input[type="text"] { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #c4cdda; border-radius: 8px; background: #fff; color: var(--ink); font: 400 0.95rem/1.2 var(--sans); }
input[type="text"][aria-invalid="true"] { border-color: #b42318; }
.opt-check { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); }
.opt-check input, .person-main input, .pay-paid input { width: 20px; height: 20px; accent-color: var(--accent); }
.fold { border-top: 1px solid var(--line); padding-top: 10px; }
.fold summary { cursor: pointer; font-weight: 600; color: var(--muted); }
.how { margin: 10px 0 0; padding-left: 20px; color: var(--muted); font-size: 0.95rem; display: grid; gap: 6px; }

/* step 2: contractors */
.warn-line { padding: 8px 12px; border-radius: 8px; background: #fff6e5; color: #7a4205; font-size: 0.95rem; }
.people { display: grid; gap: 8px; }
.person { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; background: #fff; }
.person.is-on { border-color: var(--accent); background: #f6fbf9; }
.person-main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 18em; cursor: pointer; }
.person-name { display: grid; min-width: 0; }
.person-name b { overflow-wrap: anywhere; }
.person-meta { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.share { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.share input { width: 6em; }

/* step 3: deadlines */
.total { font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.35em; }
.tmeta { white-space: normal; min-width: 0; }
.total b { font-family: var(--head); font-size: 1.5rem; letter-spacing: -0.02em; white-space: nowrap; }
.pays { display: grid; gap: 8px; }
.pay { display: grid; grid-template-columns: 7.5em minmax(0, 1.4fr) 6em minmax(13em, 1.2fr); gap: 8px 16px; align-items: center; border: 1px solid var(--line); border-left-width: 5px; border-radius: 10px; padding: 10px 14px; background: #fff; }
.pay.is-late { border-left-color: #b42318; }
.pay.is-today { border-left-color: #b7791f; }
.pay.is-open { border-left-color: #8a96a8; }
.pay.is-paid { border-left-color: var(--accent); background: #f6fbf9; }
.pay-paid { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.pay-who { display: grid; min-width: 0; }
.pay-who b { overflow-wrap: anywhere; }
.pay-meta { color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.pay-super { display: grid; text-align: right; font-variant-numeric: tabular-nums; }
.pay-super span { color: var(--muted); font-size: 0.8rem; }
.pay-due { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.due-label { color: var(--muted); font-size: 0.78rem; }
.due-date { font-weight: 700; font-size: 0.98rem; }
.badge { display: inline-block; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; }
@media (min-width: 721px) { .badge { white-space: nowrap; } }
.badge.late { background: #fde8e6; color: #a3190e; }
.badge.today { background: #fff1c9; color: #5c3b00; }
.badge.open { background: #eef1f6; color: #243247; }
.badge.paid { background: var(--accent-soft); color: var(--accent-dark); }
.journal { padding: 10px 12px; border-radius: 8px; background: var(--surface); font: 0.88rem/1.45 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
/* the free-preview band is amber so it does not read as one of the outline download buttons; the Upgrade button inside it is solid dark teal (white on #0a3d34 is 11:1) */
.upgrade-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding: 10px 10px 10px 16px; border-radius: 10px; border: 1px solid #e6c15a; background: #fff1c9; color: #3d2a00; font-weight: 700; }
.upgrade-bar .btn { background: #0a3d34; color: #fff; min-height: 44px; padding: 10px 18px; line-height: 1.25; text-align: center; }
.upgrade-bar .btn:hover { background: #062a24; }

/* pricing */
#pricing { padding: 48px 0; }
#pricing h2 { margin-bottom: 14px; }
.offer { background: var(--accent-soft); color: var(--accent-dark); padding: 10px 14px; border-radius: 8px; margin-bottom: 18px; }
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); margin-bottom: 14px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; }
.plan .price { font: 800 2rem/1 var(--head); letter-spacing: -0.02em; }
.plan .price small { font: 500 0.9rem var(--sans); color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; color: var(--muted); }
.license-row { margin-top: 18px; display: grid; gap: 10px; }
#key-value { font: 600 1.05rem ui-monospace, Consolas, monospace; margin: 6px 0; overflow-wrap: anywhere; }
#key-box { background: var(--surface); padding: 12px 14px; border-radius: 8px; }
#activate-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
#activate-form input { max-width: 340px; }
.ok { color: var(--ok); font-weight: 600; }

/* legal pages */
.prose { padding: 40px 24px 56px; }
.prose h1 { font-size: 2rem; margin-bottom: 12px; }
.prose h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose p, .prose ul { margin: 0 0 12px; }
footer.site { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: 0.88rem; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }
footer.site p + p { margin-top: 8px; }
/* merchant and trademark notes: small and quiet; #5f6b7d on white is 5.4:1 (WCAG AA needs 4.5:1) */
footer.site .fine { font-size: 0.76rem; line-height: 1.5; color: #5f6b7d; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 28px 0 28px; }
  .panel { padding: 16px; }
  .cols-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pay { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who sup" "due due" "paid paid"; }
  .pay-who { grid-area: who; }
  .pay-super { grid-area: sup; }
  .pay-due { grid-area: due; }
  .pay-paid { grid-area: paid; }
  .upgrade-bar { padding: 12px; }
  .upgrade-bar .btn { width: 100%; }
  .btn.big { width: 100%; }
  .downloads .btn { width: 100%; }
  .plans { grid-template-columns: minmax(0, 1fr); }
}

/* the Upgrade panel: the pricing section lifted over the page. It stays below the payment window (which sits above everything). */
.sheet-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.sheet-close:hover { background: var(--surface); color: var(--ink); }
#pricing.is-sheet { position: fixed; inset: 0; z-index: 40; overflow-y: auto; padding: 6vh 16px; background: rgba(14, 23, 38, 0.62); }
#pricing.is-sheet .wrap { position: relative; max-width: 680px; padding: 28px 24px 24px; background: var(--bg); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(14, 23, 38, 0.3); }
#pricing.is-sheet h2 { padding-right: 44px; }
body.sheet-open { overflow: hidden; }
@media (max-width: 720px) { #pricing.is-sheet { padding: 12px 8px; } #pricing.is-sheet .wrap { padding: 24px 16px 16px; } }

/* guides: plain article pages, one answer first, quiet tables */
.guide .answer { font-size: 1.15rem; font-weight: 600; margin: 8px 0 10px; }
.guide .crumbs { margin: 0 0 8px; }
.guide .notice { margin-bottom: 18px; }
.guide ol, .guide ul, .prose ul.guide-list { padding-left: 1.3em; margin: 0 0 12px; }
.guide li { margin-bottom: 6px; }
.guide h3 { margin: 16px 0 4px; font-size: 1.05rem; }
.table-wrap { overflow-x: auto; margin: 0 0 12px; }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.guide table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.guide caption { text-align: left; font-weight: 600; padding: 0 0 6px; }
.guide th, .guide td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.guide th { background: var(--surface); }
#guides { padding: 28px 0 8px; }
#guides h2 { font-size: 1.2rem; margin-bottom: 8px; }
.guide-links { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; }

/* a table with four or more columns becomes one small card per row on a phone: label on the left, value on the right */
@media (max-width: 720px) {
  .guide table.stack, .guide table.stack tbody { display: block; }
  .guide table.stack caption { display: block; }
  .guide table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .guide table.stack tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .guide table.stack td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 10px; border: 0; text-align: right; }
  .guide table.stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
}
