/* VRFJ portal. Brand tokens from tools/card_v2.py (vrfj-design §2). Self-hosted Inter: no third-party requests. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-semibold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-bold.woff2) format("woff2"); }

:root {
  --navy: #0F2A44; --green: #1E8E5A; --green-dk: #177249; --cream: #F6F4EF; --paper: #FFFFFF;
  --ink: #1B1F24; --muted: #5B6670; --line: #DCD8CF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink);
  font: 400 16px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
a { color: var(--green-dk); }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 700; font-size: 15px; }
.brand img { border-radius: 6px; }
.top .link { white-space: nowrap; }
.brand span { line-height: 1.25; }

main.wrap { padding: 32px 16px 48px; }
.hero, .hello { padding: 8px 0 20px; }
h1 { color: var(--navy); font-weight: 700; font-size: 30px; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 10px; }
.eyebrow { margin: 0 0 4px; color: var(--muted); font-weight: 600; }
.lead { color: var(--ink); font-size: 17px; margin: 0 0 18px; max-width: 60ch; }
.small { color: var(--muted); font-size: 14px; }

.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 20px; border-radius: 8px; border: 0; }
.btn:hover, .btn:focus-visible { background: var(--green-dk); }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--green-dk); text-decoration: underline; cursor: pointer; }
.link.muted { color: var(--muted); font-size: 14px; }

.jobs { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px 16px; }
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card h3 { margin: 0; font-size: 18px; line-height: 1.3; color: var(--navy); font-weight: 700; }
.co { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.why { margin: 10px 0 0; font-size: 15px; color: var(--ink); background: #EEF7F1; border-left: 3px solid var(--green); padding: 7px 10px; border-radius: 0 6px 6px 0; }
.why span { font-weight: 600; color: var(--green-dk); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.chip { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 14px; }
.new { background: #E6F4EC; color: var(--green-dk); font-weight: 600; font-size: 13px; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.verified { color: var(--muted); font-size: 14px; }
.verified::before { content: "\2713  "; color: var(--green); font-weight: 700; }
.verified:empty::before { content: none; }

.empty { background: var(--paper); border: 1px dashed var(--line); border-radius: 12px; padding: 24px; }
.empty p { margin: 0 0 6px; }
.notes { margin-top: 28px; }
.notes form { margin-top: 8px; }

.foot { border-top: 1px solid var(--line); padding: 20px 0 32px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0 0 6px; }

/* Privacy and other text pages */
.prose { max-width: 64ch; }
.prose h2 { color: var(--navy); font-size: 19px; margin: 26px 0 6px; }
.prose p, .prose li { font-size: 16px; }
.prose ul { padding-left: 20px; margin: 6px 0 10px; }
.prose li { margin: 4px 0; }

/* Sections (Jobs / Flexible AI & contract work) */
.group { margin-top: 18px; }
.group:first-child { margin-top: 0; }
.group-h { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.count { margin: 0 0 12px; }

/* Filters: no JavaScript. Phone = a "Filters" toggle above the list; desktop = a left column. */
.wrap.wide { max-width: 980px; }
.ftoggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ftoggle-btn { display: inline-block; border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 7px 16px; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; margin-bottom: 14px; }
.ftoggle:focus-visible + .ftoggle-btn { outline: 2px solid var(--green); outline-offset: 2px; }
.fpanel { display: none; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.ftoggle:checked ~ .fpanel { display: block; }
.fhead { margin: 0 0 10px; font-weight: 700; color: var(--navy); font-size: 15px; }
.check { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); margin: 0; flex: none; }
.fpanel .btn { margin-top: 12px; width: 100%; }
.fpanel .small { display: block; text-align: center; margin-top: 10px; }

@media (min-width: 640px) { h1 { font-size: 36px; } }
@media (min-width: 860px) {
  .layout.has-filters { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; }
  .ftoggle-btn { display: none; }
  .fpanel { display: block; position: sticky; top: 16px; margin: 0; }
}

/* ---------- Public landing page (design A "The checklist", 25 Nov 2026) ---------- */
.lp { background: var(--cream); color: var(--navy); }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lp-narrow { max-width: 760px; margin: 0 auto; padding: 80px max(20px, env(safe-area-inset-right, 0px)) 80px max(20px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 18px; }
.lp .label { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp .g { color: var(--green); }
.lp .muted { color: var(--muted); }
.lp h2 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--navy); text-wrap: balance; }
.lp h3 { margin: 0; color: var(--navy); }
.lp-body { margin: 0; font-size: 18px; line-height: 1.65; }

.lp-top { background: transparent; }
.lp-top .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding-block: 12px; }
.lp-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: 15px; }
.lp-nav a { color: var(--navy); text-decoration: none; }
.lp-nav a:hover { text-decoration: underline; }
.lp-nav .pill { font-weight: 600; border: 1.5px solid var(--navy); border-radius: 999px; padding: 9px 18px; }
.lp-nav .pill:hover { background: var(--navy); color: var(--cream); text-decoration: none; }

.lp-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 40px 72px; }
.lp-hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.lp-hero h1 { margin: 0; font-size: 40px; line-height: 1.06; letter-spacing: -.035em; font-weight: 700; color: var(--navy); text-wrap: balance; }
.lp-lead { margin: 0; font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.lp-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn-lg { font-size: 17px; padding: 15px 28px; border-radius: 999px; }

.lp-demo { flex: 1 1 360px; min-width: 0; background: var(--paper); border-radius: 16px; padding: 26px;
  box-shadow: 0 1px 2px rgba(15,42,68,.06), 0 12px 32px rgba(15,42,68,.08); display: flex; flex-direction: column; gap: 16px; }
.lp-demo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-demo .label { font-size: 12px; }
.passed { font-size: 12px; font-weight: 600; color: var(--green-dk); background: #E6F3EC; border-radius: 999px; padding: 5px 10px; }
.lp-demo-role { display: flex; flex-direction: column; gap: 3px; }
.lp-demo-role strong { font-size: 20px; }
.lp-demo-role span { font-size: 15px; color: var(--muted); }
.lp-demo-checks { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid #E7E3DA; display: flex; flex-direction: column; gap: 12px; }
.lp-demo-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.tick { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.lp-band { background: var(--paper); }
.lp-myth { margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }

.lp-sec { padding-block: 80px; display: flex; flex-direction: column; gap: 14px; }
.lp-sec h2 { max-width: 640px; margin-bottom: 22px; }
.lp-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.lp-check { background: var(--paper); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.lp-check h3 { font-size: 19px; }
.lp-check p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.ic { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lp-dark { background: var(--navy); color: var(--cream); }
.lp-dark .label { color: #7FD3A8; }
.lp-dark h2, .lp-dark h3 { color: var(--cream); }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.lp-steps li { border-top: 2px solid var(--green); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.lp-steps .n { font-weight: 700; color: #7FD3A8; }
.lp-steps h3 { font-size: 21px; }
.lp-steps p { margin: 0; font-size: 16px; line-height: 1.55; color: #C9D3DC; }

.lp-about { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: 88px; }
.lp-about img { flex: 0 1 340px; min-width: 0; width: 340px; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #E7E3DA; }
.lp-about-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lp-about-text h2 { font-size: 34px; }
.lp-about-text .muted { margin: -8px 0 4px; font-size: 16px; }
.lp-li { align-self: flex-start; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.lp-li:hover { color: var(--green-dk); }

.lp-close { align-items: center; text-align: center; }
.lp .foot { border-top: 1px solid var(--line); }
.lp a:focus-visible, .lp .btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
html:has(.lp) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.lp) { scroll-behavior: auto; } }

@media (min-width: 640px) {
  .lp-hero h1 { font-size: 56px; }
  .lp h2 { font-size: 38px; }
  .lp-myth { font-size: 32px; }
}
@media (min-width: 1000px) { .lp-hero h1 { font-size: 64px; } .lp-hero { padding-block: 64px 88px; } }

/* ---------- Native intake form (/join, 25 Nov 2026) ---------- */
.jform { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.jform .field { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 0; min-width: 0;
  display: flex; flex-direction: column; gap: 8px; }
.jform label:not(.opt):not(.sub), .jform legend { font-weight: 600; color: var(--navy); font-size: 16px; }
.jform legend { padding: 0; float: left; width: 100%; margin-bottom: 4px; }
.jform legend + * { clear: both; }
.hint-in { font-weight: 400; color: var(--muted); font-size: 14px; margin-left: 6px; }
.jform .hint { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.jform input[type=text], .jform input:not([type]), .jform input[type=url], .jform select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #C9C3B6; border-radius: 8px; padding: 11px 12px; min-height: 46px; }
.jform input[type=file] { font: inherit; font-size: 15px; max-width: 100%; }
.jform input:focus-visible, .jform select:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.jform [aria-invalid=true] { border-color: #B42318; }
.jform .opt { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 1.4; cursor: pointer; }
.jform .opt input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--green); }
.jform .sub { font-size: 14px; color: var(--muted); font-weight: 600; }
.row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.row3 > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.consent span { font-weight: 600; color: var(--navy); }
.ferr { margin: 2px 0 0; color: #B42318; font-size: 14px; font-weight: 600; }
.ferr-box { background: #FEF3F2; border: 1px solid #F4C7C3; color: #7A271A; border-radius: 12px; padding: 14px 16px; margin: 0 0 8px; }
.jform .btn { align-self: flex-start; }
