/* ============================================================
   REPLY READY — style.css
   Purpose: help people find work and get a response.
   Tone: clear, capable, encouraging, realistic — not corporate.
   Palette: ink navy #14213D | confident blue #2D6CDF | teal #179A8B
            slate bg #F4F6FB | lime #7BC950 | ink #1B2431
   Type: Sora (headings) + Inter (body)
   ============================================================ */

:root {
  --navy: #14213D;
  --navy-2: #1E2F52;
  --blue: #2D6CDF;
  --blue-dk: #1E52B8;
  --teal: #179A8B;
  --teal-dk: #12796D;
  --lime: #7BC950;
  --lime-dk: #5FA838;
  --slate: #F4F6FB;
  --slate-2: #E7ECF6;
  --ink: #1B2431;
  --ink-soft: #5B6676;
  --line: #DCE3EF;
  --white: #fff;
  --amber: #E8A33D;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 6px 22px rgba(20, 33, 61, 0.10);
  --head: "Sora", -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--slate); color: var(--ink); line-height: 1.6; font-size: 16.5px; }
img { max-width: 100%; }
a { color: var(--blue-dk); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.skip-link { position: absolute; left: -9999px; background: var(--lime); color: var(--navy); padding: 10px 16px; z-index: 100; font-weight: 700; border-radius: 8px; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- header ---------- */
.hdr { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.hdr-inner { max-width: 1140px; margin: 0 auto; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); font-family: var(--head); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.brand .p2 { color: var(--blue); }
.nav { display: flex; gap: 3px; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 9px 12px; border-radius: 8px; transition: background .15s; }
.nav a:hover, .nav a.on { background: var(--slate-2); }
.nav a.cta { background: var(--blue); color: #fff; }
.nav a.cta:hover { background: var(--blue-dk); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 0.98rem; padding: 12px 22px; border-radius: 10px; border: none; cursor: pointer; text-decoration: none; text-align: center; transition: all .15s; }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dk); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dk); }
.btn-lime { background: var(--lime); color: var(--navy); }
.btn-lime:hover { background: var(--lime-dk); color: #fff; }
.btn-line { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(160deg, var(--navy) 0%, #1B2E56 100%); color: #fff; padding: 56px 20px 60px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(45,108,223,0.35), transparent 70%); }
.hero-inner { max-width: 1140px; margin: 0 auto; position: relative; }
.hero .eyebrow { display: inline-block; background: rgba(123,201,80,0.18); color: var(--lime); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.05em; margin-bottom: 16px; }
.hero h1 { font-family: var(--head); font-size: clamp(2.1rem, 5.4vw, 3.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; max-width: 780px; }
.hero h1 .u { color: var(--lime); }
.hero p.lede { margin-top: 14px; font-size: 1.12rem; max-width: 620px; color: #C7D2E6; }

/* ---------- search card ---------- */
.search-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; margin-top: 26px; }
.search-card h2 { font-family: var(--head); font-size: 1.05rem; color: var(--navy); margin-bottom: 14px; }
.s-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 12px; }
.fld label { display: block; font-weight: 700; font-size: 0.76rem; color: var(--ink-soft); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.fld input, .fld select { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-family: var(--body); font-size: 0.98rem; background: var(--slate); color: var(--ink); }
.fld input:focus, .fld select:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

/* ---------- action plan ---------- */
.plan { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; margin-top: 22px; border-top: 5px solid var(--lime); }
.plan h2 { font-family: var(--head); font-size: 1.2rem; color: var(--navy); margin-bottom: 6px; }
.plan .sub { color: var(--ink-soft); margin-bottom: 18px; }
.plan ol { list-style: none; counter-reset: step; display: grid; gap: 12px; }
.plan li { counter-increment: step; position: relative; padding: 14px 16px 14px 58px; background: var(--slate); border-radius: var(--radius-sm); font-weight: 600; }
.plan li::before { content: counter(step); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; background: var(--blue); color: #fff; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-family: var(--head); }
.plan li b { display: block; color: var(--navy); }
.plan li span { color: var(--ink-soft); font-weight: 500; font-size: 0.94rem; }

/* ---------- sections ---------- */
.section { padding: 54px 0; }
.section.alt { background: #fff; }
.sec-head { margin-bottom: 26px; }
.sec-head .k { color: var(--teal-dk); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; }
.sec-head h2 { font-family: var(--head); font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; letter-spacing: -0.01em; margin-top: 4px; }
.sec-head p { color: var(--ink-soft); max-width: 640px; margin-top: 6px; }

/* ---------- category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px,1fr)); gap: 14px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-decoration: none; color: var(--navy); text-align: left; transition: all .16s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.cat .ci { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.cat .ct { font-family: var(--head); font-weight: 700; display: block; font-size: 0.98rem; }
.cat .cs { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- resource cards ---------- */
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 18px; }
.res-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: all .16s; }
.res-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.res-card h3 { font-family: var(--head); font-size: 1.12rem; font-weight: 700; line-height: 1.25; }
.res-card h3 a { color: var(--navy); text-decoration: none; }
.res-card h3 a:hover { color: var(--blue-dk); }
.res-where { color: var(--ink-soft); font-weight: 600; font-size: 0.88rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 0.73rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--slate-2); color: var(--navy); }
.tag.cat-t { background: #E5EDFB; color: var(--blue-dk); }
.tag.free { background: #E7F5E1; color: var(--lime-dk); }
.tag.hiring { background: #FCEFD7; color: #9A6A16; }
.tag.remote { background: #E1F3F0; color: var(--teal-dk); }
.res-note { font-size: 0.9rem; color: var(--ink-soft); }
.res-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.77rem; color: var(--ink-soft); font-weight: 600; }
.sample-flag { display: inline-block; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #9A6A16; background: #FCEFD7; border: 1px dashed #C79233; padding: 2px 8px; border-radius: 6px; }

/* ---------- filters ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.85rem; font-weight: 700; color: var(--navy); background: var(--slate); border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; user-select: none; }
.chip input { accent-color: var(--blue); cursor: pointer; width: 16px; height: 16px; }
.chip:has(input:checked) { background: var(--blue); border-color: var(--blue); color: #fff; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0; flex-wrap: wrap; }
.count { font-weight: 800; color: var(--ink-soft); }

/* ---------- detail ---------- */
.d-hero { background: var(--navy); color: #fff; padding: 44px 20px; }
.d-hero h1 { font-family: var(--head); font-size: clamp(1.8rem, 4.2vw, 2.6rem); font-weight: 800; line-height: 1.1; }
.d-hero .where { color: #C7D2E6; font-weight: 600; margin-top: 6px; }
.d-grid { display: grid; grid-template-columns: 1fr 330px; gap: 26px; align-items: start; }
@media (max-width: 880px) { .d-grid { grid-template-columns: 1fr; } }
.d-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.d-block h2 { font-family: var(--head); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.facts { list-style: none; }
.facts li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.facts li:last-child { border-bottom: none; }
.facts .k { color: var(--ink-soft); font-weight: 700; }
.facts .v { text-align: right; font-weight: 600; }
.side { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--blue); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.side h3 { font-family: var(--head); font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.side .btn { width: 100%; margin-bottom: 9px; }
.mini { font-size: 0.83rem; color: var(--ink-soft); background: var(--slate); border-radius: 10px; padding: 11px 13px; }

/* ---------- notices ---------- */
.notice { background: #FCEFD7; border-left: 5px solid var(--amber); border-radius: 10px; padding: 15px 18px; color: #6E4E13; margin: 18px 0; }
.notice.blue { background: #E5EDFB; border-color: var(--blue); color: #1A3B7A; }
.notice.teal { background: #E1F3F0; border-color: var(--teal); color: #0E574E; }

/* ---------- steps / prose / checklist ---------- */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--head); font-size: 1.45rem; font-weight: 800; color: var(--navy); margin: 30px 0 10px; }
.prose h3 { font-size: 1.12rem; font-weight: 700; margin: 20px 0 8px; color: var(--navy); }
.prose p, .prose li { color: #38424F; margin-bottom: 10px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 14px; }
.check-list { list-style: none; padding-left: 0 !important; }
.check-list li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px solid var(--line); font-weight: 500; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; top: 9px; width: 24px; height: 24px; background: #E7F5E1; color: var(--lime-dk); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- copy box (templates) ---------- */
.copybox { background: var(--navy); color: #E7ECF6; border-radius: var(--radius); padding: 20px 22px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92rem; line-height: 1.7; white-space: pre-wrap; position: relative; }
.copybtn { position: absolute; top: 12px; right: 12px; background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 7px 13px; font-weight: 700; cursor: pointer; font-family: var(--body); font-size: 0.82rem; }
.copybtn:hover { background: var(--blue-dk); }

/* ---------- tracker ---------- */
.tracker-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 22px; }
.tk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 12px; align-items: end; }
.tk-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table.tk { width: 100%; border-collapse: collapse; min-width: 720px; }
table.tk th, table.tk td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
table.tk th { background: var(--slate); font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.tk td select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--body); }
.status-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; }
.st-applied { background: var(--slate-2); color: var(--navy); }
.st-followed { background: #FCEFD7; color: #9A6A16; }
.st-interview { background: #E1F3F0; color: var(--teal-dk); }
.st-offer { background: #E7F5E1; color: var(--lime-dk); }
.st-closed { background: #F0E4E4; color: #8A5151; }
.due { color: var(--amber); font-weight: 800; }
.linkbtn { background: none; border: none; color: var(--blue-dk); font-weight: 700; cursor: pointer; font-family: var(--body); font-size: 0.86rem; text-decoration: underline; padding: 0; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; font-family: var(--head); }
.faq summary::after { content: "+"; position: absolute; right: 22px; color: var(--blue); font-size: 1.4rem; }
.faq[open] summary::after { content: "–"; }
.faq .a { padding: 0 22px 18px; color: var(--ink-soft); }

/* ---------- form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 720px; }
.frow { margin-bottom: 16px; }
.frow label { display: block; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 6px; }
.frow input, .frow select, .frow textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: var(--radius-sm); font-family: var(--body); font-size: 0.98rem; background: var(--slate); }
.frow textarea { min-height: 110px; resize: vertical; }
.frow input:focus, .frow select:focus, .frow textarea:focus { outline: 3px solid var(--blue); border-color: var(--blue); }

.empty { text-align: center; padding: 56px 20px; color: var(--ink-soft); background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); font-weight: 600; }
.cta { background: var(--blue); color: #fff; padding: 48px 20px; text-align: center; }
.cta h2 { font-family: var(--head); font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; }
.cta p { max-width: 560px; margin: 10px auto 20px; color: #D7E2F8; }

.ftr { background: var(--navy); color: #A9B6CC; padding: 46px 20px 30px; font-size: 0.92rem; }
.ftr-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
.ftr h4 { color: #fff; font-family: var(--head); font-weight: 700; margin-bottom: 12px; font-size: 0.95rem; }
.ftr a { color: #A9B6CC; text-decoration: none; display: block; padding: 3px 0; }
.ftr a:hover { color: var(--lime); }
.ftr-legal { max-width: 1140px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid var(--navy-2); font-size: 0.82rem; color: #7F8EA8; }

.hidden { display: none !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; }
.center { text-align: center; }

@media (max-width: 640px) {
  .hdr-inner { justify-content: center; }
  .nav { justify-content: center; }
}

/* ---------- solidarity band + community board (added) ---------- */
.solidarity { background: var(--lime); color: var(--navy); padding: 30px 20px; text-align: center; }
.solidarity .in { max-width: 780px; margin: 0 auto; }
.solidarity h2 { font-family: var(--head); font-weight: 800; font-size: clamp(1.4rem, 3.2vw, 2rem); }
.solidarity p { font-weight: 600; margin-top: 8px; font-size: 1.04rem; }
.solidarity .heart { font-size: 1.6rem; }
.note-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.note-card.mine { border-color: var(--blue); border-style: dashed; }
.note-card .n-text { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.note-card .n-meta { font-size: 0.82rem; color: var(--ink-soft); font-weight: 700; }
.note-badge { display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 2px 9px; border-radius: 999px; }
.note-badge.tip { background: #E7F5E1; color: var(--lime-dk); }
.note-badge.mine { background: #E5EDFB; color: var(--blue-dk); }

/* ---------- map page (added) ---------- */
:root { --map-accent: #2D6CDF; }
#map { height: 62vh; min-height: 420px; border-radius: 16px; border: 2px solid var(--line); z-index: 1; }
.map-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.leaflet-popup-content { font-family: inherit; font-size: 0.92rem; line-height: 1.5; }

/* ---------- 988 lifeline button (added — do not remove) ---------- */
.lifeline-btn {
  position: fixed; right: 14px; bottom: 14px; z-index: 999;
  display: inline-flex; align-items: center; gap: 7px;
  background: #4A2A8A; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 0.86rem; line-height: 1;
  padding: 11px 16px; border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
  border: 2px solid rgba(255,255,255,0.85);
}
.lifeline-btn:hover { background: #5C3AA6; color: #fff; }
.lifeline-btn .lb-sub { font-weight: 600; font-size: 0.72rem; opacity: 0.9; }
@media (max-width: 640px) { .lifeline-btn .lb-sub { display: none; } }
