/*
Theme Name: MyJopps
Theme URI: https://us.myjopps.com
Author: MyJopps
Description: Minimal, fast theme for the MyJopps job-alert marketplace.
Version: 0.1.0
Text Domain: myjopps
*/

/* ---------- Design tokens ---------- */
:root {
  --ink: #0b1220;
  --ink-2: #1b2540;
  --muted: #566074;
  --line: #e4e8f1;
  --bg: #ffffff;
  --soft: #f4f6fb;

  --blue: #2f5bff;
  --blue-d: #1f42d6;
  --violet: #7a4dff;
  --coral: #ff5c39;
  --sun: #ffc72c;
  --mint: #12c48b;
  --danger: #c2381a;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .06), 0 10px 30px rgba(11, 18, 32, .07);
  --shadow-lg: 0 30px 70px -20px rgba(47, 91, 255, .35);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --maxw: 1120px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--maxw), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -6px rgba(47, 91, 255, .6); }
.btn-primary:hover { background: var(--blue-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #c9d0e0; }
.btn-light { background: #fff; color: var(--ink); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.03em; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 550; color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.header-cta .btn { white-space: nowrap; }
.header-cta .btn-ghost { display: none; }
.brand svg { flex: none; }
@media (max-width: 440px) {
  /* small phones: keep the logo, the globe and the button on one line (longer ES/PT labels) */
  .header-in { gap: 8px; }
  .header-cta { gap: 4px; }
  .header-cta .btn { padding: 0 12px; font-size: .88rem; }
  .lang summary { padding: 0 8px; }
  .lang summary span { display: none; }
}
@media (min-width: 820px) {
  .nav { display: flex; }
  .header-cta .btn-ghost { display: inline-flex; }
}

/* Language menu */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 12px; border-radius: 12px; font-weight: 700; font-size: .9rem; color: var(--ink-2);
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: var(--soft); border-color: var(--line); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 170px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 6px;
}
.lang-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.lang-menu a:hover { background: var(--soft); }
.lang-menu a[aria-current] { color: var(--blue); background: rgba(47, 91, 255, .08); }
.lang-inline { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.lang-inline a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.lang-inline a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(55% 55% at 88% 8%, rgba(122, 77, 255, .20), transparent 62%),
    radial-gradient(50% 50% at 6% 0%, rgba(47, 91, 255, .17), transparent 62%),
    radial-gradient(40% 40% at 72% 96%, rgba(255, 92, 57, .13), transparent 62%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-grid > * { min-width: 0; } /* let the column shrink below the ZIP field's natural width on phones */
@media (min-width: 940px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .875rem; font-weight: 650; color: var(--ink-2);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(18, 196, 139, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(18, 196, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 196, 139, 0); } }
.hero h1 { margin-top: 22px; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; }
.grad { white-space: nowrap; background: linear-gradient(100deg, var(--blue) 0%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { margin-top: 22px; font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 34em; }
.zip-form { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.zip-box {
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.zip-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 91, 255, .15); }
.zip-box svg { flex: none; color: var(--blue); }
.zip-box input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.125rem; font-weight: 600; height: 48px; color: var(--ink); }
.zip-box input::placeholder { color: #98a1b3; font-weight: 500; }
.zip-box .btn { min-height: 48px; }
@media (max-width: 440px) {
  /* longer ES/PT button labels: button goes under the field instead of squeezing it */
  .zip-box { flex-wrap: wrap; padding: 10px; gap: 8px; }
  .zip-box input { flex: 1 1 0; width: auto; min-width: 0; height: 44px; }
  .zip-box .btn { flex: 1 1 100%; }
}
.hero-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.hero-note a { color: var(--ink); font-weight: 650; }
.trust-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted); font-size: .92rem; font-weight: 550; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { color: var(--mint); }

/* Hero visual */
.stage { position: relative; min-height: 420px; }
@media (min-width: 940px) { .stage { min-height: 500px; } }
.stage-map {
  position: absolute; inset: 0; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); overflow: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
}
.stage-map::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0) 30%, #fff 100%); }
.rings { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; overflow: hidden; border-radius: 30px; }
.rings svg { position: absolute; inset: 0; width: 100%; height: 100%; } /* viewBox keeps the circles round and inside the card */
.pin { position: absolute; z-index: 3; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--blue); border: 5px solid #fff; box-shadow: 0 6px 18px rgba(47, 91, 255, .55); }
.pin::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(47, 91, 255, .35); animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.job-dot { position: absolute; z-index: 2; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(11, 18, 32, .25); }
.alert-card {
  position: absolute; z-index: 4; left: 4%; top: 7%; width: min(300px, 78%);
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow);
  transform: rotate(-2.5deg); animation: float 6s ease-in-out infinite;
}
.alert-top { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.alert-top i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.alert-card h3 { margin-top: 10px; font-size: 1.15rem; letter-spacing: -.02em; }
.alert-card p { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.alert-meta { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.tag-blue { background: rgba(47, 91, 255, .1); color: var(--blue-d); }
.tag-sun { background: rgba(255, 199, 44, .28); color: #6b4a00; }
.tag-mint { background: rgba(18, 196, 139, .14); color: #05694a; }
.zip-chip {
  position: absolute; z-index: 4; right: 5%; bottom: 8%;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-weight: 650; font-size: .92rem;
  box-shadow: 0 18px 40px -12px rgba(11, 18, 32, .5); transform: rotate(2deg); animation: float 7s ease-in-out -2s infinite;
}
.zip-chip small { display: block; font-weight: 500; color: #aab3c8; font-size: .78rem; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 940px) { .section { padding: 112px 0; } }
.section-soft { background: var(--soft); }
.kicker { font-size: .85rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.section-head { max-width: 640px; }
.section-head h2 { margin-top: 12px; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.125rem; }

.steps { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow); }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff; font-weight: 800; }
.step-card h3 { margin-top: 20px; font-size: 1.35rem; letter-spacing: -.02em; }
.step-card p { margin-top: 10px; color: var(--muted); }

.sides { display: grid; gap: 20px; }
@media (min-width: 900px) { .sides { grid-template-columns: 1fr 1fr; } }
.side { position: relative; overflow: hidden; border-radius: 28px; padding: 40px 32px; color: #fff; }
@media (min-width: 900px) { .side { padding: 52px 44px; } }
.side h3 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.side p { margin-top: 14px; font-size: 1.1rem; max-width: 30em; opacity: .92; }
.side ul { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.side li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; }
.side li svg { flex: none; margin-top: 3px; }
.side-seek { background: linear-gradient(140deg, #2f5bff 0%, #5a46ff 55%, #7a4dff 100%); }
.side-hire { background: var(--ink); }
.side-hire::before { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 92, 57, .55), transparent 65%); }
.side-seek::before { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 199, 44, .45), transparent 65%); }
.side > * { position: relative; }

.groups { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 820px) { .groups { grid-template-columns: repeat(3, 1fr); } }
.group { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.group-title { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.group-title i { width: 12px; height: 12px; border-radius: 4px; }
.roles { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.roles span { padding: 8px 14px; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: .92rem; color: var(--ink-2); }

.trust-grid { margin-top: 48px; display: grid; gap: 20px; }
@media (min-width: 700px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-item h3 { margin-top: 18px; font-size: 1.15rem; letter-spacing: -.02em; }
.trust-item p { margin-top: 8px; color: var(--muted); }
.ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; }
.ico-blue { background: rgba(47, 91, 255, .1); color: var(--blue); }
.ico-coral { background: rgba(255, 92, 57, .12); color: #d4401f; }
.ico-sun { background: rgba(255, 199, 44, .3); color: #7a5600; }
.ico-mint { background: rgba(18, 196, 139, .14); color: #067a55; }

.faq { margin-top: 40px; max-width: 760px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); font-size: 1.3rem; font-weight: 500; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

.cta-band { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -40% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(122, 77, 255, .5), transparent 65%); }
.cta-band::after { content: ""; position: absolute; inset: auto auto -50% -10%; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(47, 91, 255, .45), transparent 65%); }
.cta-in { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }
.cta-in h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.cta-in p { margin-top: 16px; color: #b9c2d6; font-size: 1.15rem; }
.cta-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 40px; background: #fff; border-top: 1px solid var(--line); }
.foot { display: grid; gap: 32px; }
@media (min-width: 820px) { .foot { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.foot p { color: var(--muted); max-width: 34em; margin-top: 14px; }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; font-weight: 600; }
@media (min-width: 820px) { .foot-links { justify-content: flex-end; } }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--blue); }
.legal-note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: grid; gap: 8px; }

/* ---------- Generic pages ---------- */
.page-wrap { padding: 56px 0 96px; }
.page-wrap .prose { max-width: 720px; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 24px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.prose p, .prose li { color: #2b3550; }
.prose p + p { margin-top: 14px; }
.notice { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; background: rgba(255, 199, 44, .22); color: #5a4100; font-weight: 550; }

/* ---------- Join wizard ---------- */
.join-wrap { padding: 32px 0 96px; background: linear-gradient(180deg, var(--soft) 0%, #fff 340px); min-height: 70vh; }
.wizard { width: min(660px, 100% - 32px); margin-inline: auto; }
.progress { display: flex; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.progress li { list-style: none; flex: 1; }
.progress .bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress .bar::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--violet)); transition: width .35s ease; }
.progress li.done .bar::after, .progress li.now .bar::after { width: 100%; }
.progress .lbl { display: block; margin-top: 8px; font-size: .78rem; font-weight: 650; color: #8590a5; }
.progress li.now .lbl { color: var(--blue); }
.progress li.done .lbl { color: var(--ink-2); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px 22px; box-shadow: var(--shadow); }
@media (min-width: 600px) { .card { padding: 40px; } }
.card h1, .card h2 { font-size: clamp(1.7rem, 4.6vw, 2.2rem); letter-spacing: -.03em; }
.card .sub { margin-top: 10px; color: var(--muted); font-size: 1.05rem; }
.field { margin-top: 22px; }
.field label, .legend { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.field .hint { font-weight: 500; color: var(--muted); font-size: .88rem; margin-top: 6px; }
.input, .textarea {
  width: 100%; min-height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line);
  font: inherit; font-size: 1.05rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.textarea { padding: 14px 16px; min-height: 110px; resize: vertical; line-height: 1.5; }
.input:hover, .textarea:hover { border-color: #c9d0e0; }
.input:focus, .textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 91, 255, .15); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--danger); }
.code-input { text-align: center; letter-spacing: .5em; font-size: 1.6rem; font-weight: 700; padding-left: .5em; }
.err { margin-top: 8px; color: var(--danger); font-weight: 600; font-size: .92rem; }
.form-err { margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: rgba(194, 56, 26, .08); color: var(--danger); font-weight: 600; }
.actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.actions .btn-primary { flex: 1 1 200px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 650; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn[disabled] { color: #9aa3b5; cursor: default; text-decoration: none; }
.row-between { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .95rem; }

.area { margin-top: 22px; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px; background: #fbfcfe; }
.area-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 750; }
.area-head .swatch { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.area .input { max-width: 200px; font-weight: 700; letter-spacing: .08em; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-weight: 650; cursor: pointer; color: var(--ink-2); transition: all .15s;
}
.pill:hover { border-color: #c9d0e0; }
.pill[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(47, 91, 255, .6); }
.count-line { margin-top: 12px; font-weight: 600; color: var(--ink-2); font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.count-line b { color: var(--blue); }
.map { margin-top: 20px; height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map .leaflet-container { font: inherit; }
.chip-group { margin-top: 26px; }
.chip-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; letter-spacing: -.01em; }
.chip-group h3 i { width: 10px; height: 10px; border-radius: 3px; }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 46px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: inherit; font-weight: 650; cursor: pointer; color: var(--ink-2); transition: all .15s;
}
.chip:hover { border-color: #c9d0e0; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: rgba(47, 91, 255, .08); color: var(--blue-d); box-shadow: inset 0 0 0 1px var(--blue); }
.segmented { display: inline-flex; padding: 4px; background: var(--soft); border-radius: 14px; flex-wrap: wrap; }
.segmented button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.check, .field label.check { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; margin: 10px 0 0; cursor: pointer; font-weight: 400; font-size: 1rem; }
.area label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.wizard { scroll-margin-top: 84px; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.check span { font-weight: 600; }
.check small { display: block; color: var(--muted); font-weight: 500; }
.consent { margin-top: 22px; display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; margin: 1px 0 0; }
.consent a { color: var(--ink); font-weight: 650; }
.counter { text-align: right; font-size: .82rem; color: var(--muted); margin-top: 4px; }
.success { text-align: center; padding: 12px 0; }
.success .big { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(18, 196, 139, .15); color: #067a55; }
.success h2 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
.success p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Employer pages ---------- */
.wizard.wide { width: min(860px, 100% - 32px); }
.wiz-hero { margin-bottom: 26px; }
.big-title { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -.035em; line-height: 1.04; }
.wiz-hero .sub, .page-top .sub { margin-top: 10px; color: var(--muted); font-size: 1.1rem; }
.page-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { margin-top: 14px; color: var(--muted); font-size: .85rem; }
.pill-note { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(47, 91, 255, .09); color: var(--blue-d); font-size: .82rem; font-weight: 700; vertical-align: middle; }
.pill-note:empty { display: none; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23566074' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.textarea.tall { min-height: 170px; }
.pay-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-row .input:not(.select) { flex: 0 1 150px; }
.pay-row .select { flex: 1 1 160px; max-width: 240px; }
.pay-prefix { font-weight: 800; color: var(--muted); margin-right: -4px; }
.reach { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: rgba(18, 196, 139, .12); color: #05694a; font-weight: 650; }

.job-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 16px; }
.job-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.job-top h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.job-meta { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.job-desc { margin-top: 14px; color: #2b3550; white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.job-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.job-dates { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .9rem; font-weight: 550; }
.job-dates .interested { color: var(--ink-2); font-weight: 700; }
.badge { flex: none; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 750; background: var(--soft); color: var(--ink-2); }
.badge-active { background: rgba(18, 196, 139, .16); color: #05694a; }
.badge-expired { background: rgba(255, 199, 44, .3); color: #6b4a00; }
.badge-closed { background: var(--soft); color: var(--muted); }
.badge-hidden { background: rgba(194, 56, 26, .12); color: var(--danger); }
.btn.small { min-height: 44px; padding: 0 16px; font-size: .95rem; }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.card.empty { text-align: center; }
.card.empty .actions { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
