* { box-sizing: border-box; }
:root {
  --ink: #17211c;
  --muted: #69736d;
  --line: #e3e8e4;
  --soft: #f5f7f5;
  --green: #1e7351;
  --green-dark: #13543a;
  --green-soft: #e8f4ed;
  --cream: #f8f6ef;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 48, 37, .08);
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fbfcfb;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  gap: 54px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: white; font-size: 17px; }
.main-nav { display: flex; gap: 32px; margin-right: auto; }
.main-nav a { color: #465049; font-size: 14px; font-weight: 600; }
.main-nav a:first-child { color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button, .profile-button, .save-button, .report-button { border: 0; background: none; cursor: pointer; }
.icon-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.icon-button svg { width: 19px; }
.profile-button { display: flex; align-items: center; gap: 10px; padding: 0; text-align: left; }
.profile-button > svg { width: 16px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #e9ddd0; color: #724f35; font-size: 12px; font-weight: 800; }
.profile-copy { display: grid; line-height: 1.25; }
.profile-copy strong { font-size: 13px; }
.profile-copy small { color: var(--muted); }
main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 30px 0 72px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #7a837e; font-size: 13px; margin-bottom: 20px; }
.breadcrumb a { color: var(--green); font-weight: 650; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; }
.job-card, .offer-card, .company-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.job-card { overflow: hidden; }
.job-heading { display: flex; justify-content: space-between; gap: 30px; padding: 40px 44px 34px; }
.eyebrow-row { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 750; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: #2da66f; }
.reference { color: #8a928d; font-size: 12px; }
h1 { margin: 0; font-size: clamp(34px, 5vw, 48px); letter-spacing: -2px; line-height: 1.12; }
.lead { max-width: 650px; margin: 16px 0 0; color: #59635d; font-size: 17px; line-height: 1.65; }
.save-button { align-self: flex-start; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 13px; color: #566159; font-size: 13px; font-weight: 650; white-space: nowrap; }
.save-button svg { width: 17px; }
.save-button[aria-pressed="true"] { color: var(--green); border-color: #9dcab4; background: var(--green-soft); }
.save-button[aria-pressed="true"] svg { fill: currentColor; }
.quick-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 22px 44px; gap: 22px; }
.fact { display: flex; align-items: center; gap: 12px; }
.fact-icon { flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--white); color: var(--green); border: 1px solid #e5eae6; }
.fact-icon svg { width: 19px; }
.fact > span:last-child { display: grid; line-height: 1.35; }
.fact small { color: var(--muted); font-size: 11px; }
.fact strong { font-size: 13px; }
.content-section { margin: 0 44px; padding: 35px 0; border-bottom: 1px solid var(--line); }
.content-section:last-child { border-bottom: 0; }
h2 { margin: 0 0 17px; font-size: 21px; letter-spacing: -.5px; }
.content-section > p { margin: 0 0 12px; color: #59635d; font-size: 15px; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.expertise-item { display: flex; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fdfefd; }
.expertise-item > span { flex: 0 0 auto; color: var(--green); font-size: 11px; font-weight: 800; padding-top: 2px; }
.expertise-item div { display: grid; }
.expertise-item strong { font-size: 14px; }
.expertise-item p { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; color: #505b54; font-size: 14px; }
.check-list li { display: flex; gap: 11px; }
.check-list span { display: grid; place-items: center; flex: 0 0 auto; width: 21px; height: 21px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 800; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 20px; }
.offer-card { padding: 28px; box-shadow: var(--shadow); }
.card-label { margin: 0 0 3px; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; }
.budget { font-size: 27px; font-weight: 800; letter-spacing: -1px; }
.budget span { color: #98a09b; font-size: 14px; font-weight: 500; }
.rate { margin: 3px 0 22px; color: var(--muted); font-size: 13px; }
.rate strong { color: var(--green); }
.primary-button { width: 100%; border: 0; border-radius: 11px; padding: 14px 18px; background: var(--green); color: white; cursor: pointer; font-weight: 750; box-shadow: 0 7px 16px rgba(30,115,81,.17); transition: transform .2s, background .2s; }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); }
.reassurance { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; color: #7a837d; font-size: 11px; }
.reassurance svg { width: 14px; color: var(--green); }
.card-divider { height: 1px; background: var(--line); margin: 22px 0; }
.meta-list { margin: 0; display: grid; gap: 12px; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; font-weight: 650; }
.company-card { padding: 22px; }
.company-head { display: flex; align-items: center; gap: 12px; }
.company-logo { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--cream); color: #7b664d; font-weight: 850; font-size: 13px; }
.company-head > div:last-child { display: grid; line-height: 1.4; }
.company-head small { color: var(--muted); font-size: 11px; }
.company-head strong { font-size: 14px; }
.company-card p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.verified { display: flex; align-items: center; gap: 7px; color: var(--green); font-size: 12px; font-weight: 700; }
.verified span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: white; background: var(--green); font-size: 10px; }
.report-button { color: #8b938e; font-size: 12px; text-decoration: underline; justify-self: center; }
footer { border-top: 1px solid var(--line); padding: 30px max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; gap: 24px; color: var(--muted); background: white; font-size: 12px; }
footer p { margin: 0 auto 0 0; }
.footer-brand { font-size: 16px; color: var(--ink); }
.footer-brand .brand-mark { width: 27px; height: 27px; border-radius: 8px; font-size: 13px; }
.offer-modal { width: min(460px, calc(100% - 32px)); border: 0; border-radius: 20px; padding: 0; box-shadow: 0 24px 80px rgba(14,30,21,.3); }
.offer-modal::backdrop { background: rgba(13,24,18,.55); backdrop-filter: blur(3px); }
.offer-modal form { padding: 34px; position: relative; }
.modal-close { position: absolute; top: 14px; right: 16px; border: 0; background: none; color: var(--muted); font-size: 25px; cursor: pointer; }
.modal-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; color: var(--green); background: var(--green-soft); font-size: 23px; font-weight: 700; }
.offer-modal h2 { font-size: 25px; }
.offer-modal p { color: var(--muted); font-size: 14px; }
.modal-summary { display: flex; justify-content: space-between; margin: 22px 0; padding: 14px; border-radius: 10px; background: var(--soft); font-size: 13px; }
.modal-summary span { color: var(--muted); }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .offer-card { grid-row: span 2; }
}
@media (max-width: 620px) {
  .site-header { height: 66px; padding: 0 18px; }
  .profile-copy, .profile-button > svg, .icon-button { display: none; }
  main { width: min(100% - 24px, 1180px); padding-top: 20px; }
  .breadcrumb { overflow: hidden; white-space: nowrap; }
  .job-heading { padding: 28px 24px; display: block; }
  .save-button { margin-top: 22px; }
  .quick-facts { grid-template-columns: 1fr; padding: 20px 24px; gap: 16px; }
  .content-section { margin: 0 24px; padding: 28px 0; }
  .expertise-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .offer-card { grid-row: auto; }
  footer { align-items: flex-start; flex-wrap: wrap; }
  footer p { flex-basis: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
