/* JobsViz marketing site. No web fonts or third-party files: the system font stack, local images only. */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-tint: #edf6ee;
  --orange: #f28c28;
  --orange-dark: #b85f0c;
  --orange-tint: #fff3e6;
  --ink: #333333;
  --ink-soft: #555b61;
  --line: #e3e6e8;
  --bg: #ffffff;
  --bg-soft: #f6f7f8;
  --night: #1f2a24;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 8px 24px rgba(0, 0, 0, .08);
  --max: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--orange-dark); margin-bottom: .6em; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 40em; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--green-tint); color: var(--green-dark); }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
  .brand img { height: 36px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-accent { background: var(--orange); color: #1d1d1d; }
.btn-accent:hover { background: #e07a14; color: #111; }
.btn-ghost { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-tint); }
.nav .btn-primary { color: #fff; padding: 9px 16px; }
.nav .btn-primary:hover { background: var(--green-dark); color: #fff; }
.nav .btn-primary[aria-current="page"] { background: var(--green-dark); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Sections */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.center.section-head, .section-head.center { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { padding: 64px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, var(--orange-tint), transparent 60%), radial-gradient(900px 500px at -10% 10%, var(--green-tint), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero h1 .accent { color: var(--green); }
.hero .lead { margin-top: .4em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 1.6em 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--ink-soft); }
.chips li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }

/* Product screenshots in a browser frame */
.frame { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow), 0 0 0 1px var(--line); overflow: hidden; }
.frame::before { content: ""; display: block; height: 30px; background: #f1f3f4 radial-gradient(circle at 16px 15px, #ff5f57 5px, transparent 6px), radial-gradient(circle at 34px 15px, #febc2e 5px, transparent 6px), radial-gradient(circle at 52px 15px, #28c840 5px, transparent 6px); background-color: #f1f3f4; border-bottom: 1px solid var(--line); }
.frame img { width: 100%; }
.hero .frame { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); }
@media (max-width: 960px) { .hero .frame { transform: none; } }

/* Strip: the banner */
.banner-strip { background: #20302a; }
.banner-strip img { width: 100%; max-height: 260px; object-fit: cover; object-position: left center; }

/* Stats / trust row */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.trust strong { display: block; font-size: 1.5rem; color: var(--green-dark); line-height: 1.2; }
.trust span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* Feature rows: text beside a screenshot */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: center; margin: 0 0 88px; }
.feature:last-child { margin-bottom: 0; }
.feature.flip > :first-child { order: 2; }
.feature ul { padding-left: 1.1em; margin: 0 0 1em; }
.feature li { margin: .35em 0; }
.feature li::marker { color: var(--green); }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
@media (max-width: 960px) { .feature { grid-template-columns: 1fr; gap: 24px; margin-bottom: 64px; } .feature.flip > :first-child { order: 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-top: 2px; }
.card p { color: var(--ink-soft); margin: 0; }
.card .ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--green-tint); color: var(--green-dark); margin-bottom: 14px; }
.card .ico svg { width: 24px; height: 24px; }
.card.orange .ico { background: var(--orange-tint); color: var(--orange-dark); }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.four { grid-template-columns: 1fr; } }

/* Roadmap cards */
.roadmap .card { position: relative; }
.roadmap .status { position: absolute; top: 24px; right: 24px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: 3px 10px; background: var(--green-tint); color: var(--green-dark); }
.roadmap .ico.knot { background: #fff; border: 1px solid var(--line); }
.roadmap .ico.knot img { width: 30px; height: auto; }
.roadmap h3 .sub { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.roadmap .card.orange .status { background: var(--orange-tint); color: var(--orange-dark); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 56px 20px 20px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 20px; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #1d1d1d; font-weight: 800; display: grid; place-items: center; font-size: .9rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Split callout (data / security) */
.callout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; background: var(--night); color: #e9efe9; border-radius: 18px; padding: 48px; }
.callout h2, .callout h3 { color: #fff; }
.callout p, .callout li { color: #cfdad1; }
.callout ul { margin: 0; padding-left: 1.1em; }
.callout li { margin: .5em 0; }
.callout li::marker { color: var(--orange); }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; padding: 32px 24px; } }

/* Industries / terms */
.words { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.words li { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .95rem; }
.words li b { color: var(--green-dark); }

/* Two screens side by side (home: PM Dashboard and Reports) */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.duo article { display: flex; flex-direction: column; align-items: flex-start; }
.duo .frame { width: 100%; margin-bottom: 20px; aspect-ratio: 4 / 3; }
.duo .frame img { height: 100%; object-fit: cover; object-position: top left; }
.duo h3 { margin: 0 0 6px; font-size: 1.25rem; }
.duo p { margin: 0; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

/* A left-to-right journey (home: lead, estimate, job) */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 0; }
.flow li { position: relative; border-top: 4px solid var(--green); padding-top: 18px; }
.flow li:nth-child(2) { border-color: var(--orange); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -30px; top: 8px; color: var(--ink-soft); font-size: 1.3rem; }
.flow h3 { margin: 0 0 6px; }
.flow p { margin: 0; color: var(--ink-soft); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; gap: 28px; } .flow li::after { display: none; } }

/* Text beside a short list */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.split .words { flex-direction: column; align-items: flex-start; margin: 0; }
.split .words li { font-weight: 400; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 20px; } }

/* A long list folded away inside a card */
.more { margin-top: 10px; color: var(--ink-soft); }
.more summary { cursor: pointer; color: var(--green); font-weight: 600; }
.more p { margin-top: 8px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; border-radius: 18px; padding: 48px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { color: #e3f1e4; margin: 0; max-width: 38em; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 650; font-size: .95rem; margin-bottom: 6px; }
.form label .opt { font-weight: 400; color: var(--ink-soft); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #c9cfd3; border-radius: 8px; background: #fff; color: var(--ink); }
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(46, 125, 50, .2); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .note { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.form-status { grid-column: 1 / -1; border-radius: 8px; padding: 12px 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--green-tint); color: var(--green-dark); }
.form-status.err { display: block; background: #fdecea; color: #8a1c13; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; padding: 20px; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal li { margin: .35em 0; }
.legal .updated { color: var(--ink-soft); }
.legal .toc { background: var(--bg-soft); border-radius: var(--radius); padding: 18px 24px; margin: 24px 0 8px; }
.legal .toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal table { border-collapse: collapse; width: 100%; font-size: .95rem; margin: 12px 0 20px; }
.legal th, .legal td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 10px 12px; }
.legal th { background: var(--bg-soft); }
.legal .scroll { overflow-x: auto; }

/* Footer */
.site-foot { background: var(--night); color: #c8d3ca; padding: 56px 0 28px; margin-top: 0; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin: 8px 0; }
.foot-brand img { height: 46px; width: auto; margin-bottom: 14px; }
.foot-brand p { font-size: .95rem; max-width: 30em; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #9fb0a3; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Page header for inner pages */
.page-head { padding: 56px 0 40px; background: radial-gradient(900px 400px at 90% -20%, var(--orange-tint), transparent 60%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head .lead { margin-bottom: 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero .frame { transform: none; } }
@media print { .site-head, .site-foot, .cta, .menu-btn { display: none; } }

/* Sign in: open in a new tab or here (site.js) */
.signin-dialog { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 28px 24px; max-width: min(440px, calc(100vw - 32px)); color: var(--ink); background: var(--bg); }
.signin-dialog::backdrop { background: rgba(20, 28, 24, .45); }
.signin-dialog form { position: relative; margin: 0; }
.signin-dialog h2 { margin: 0 0 8px; font-size: 1.3rem; }
.signin-dialog p { margin: 0 0 20px; color: var(--ink-soft); }
.signin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.signin-actions .btn { flex: 1 1 160px; }
.signin-close { position: absolute; top: -18px; right: -14px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 8px; }
.signin-close:hover { background: var(--bg-soft); color: var(--ink); }

/* Home hero: the tour video (site.js plays it, and shows its controls on hover) */
.hero-video { position: relative; }
.hero-video video { display: block; width: 100%; height: auto; background: #f6f7f8; }

[hidden] { display: none !important; }
