:root {
  --bg: #fbfaf8;
  --fg: #16150f;
  --muted: #5c5a4f;
  --muted-2: #86836f;
  --line: #e4e1d6;
  --line-strong: #d6d2c3;
  --accent: #b24614;
  --accent-dark: #8f3810;
  --accent-fg: #fff9f0;
  --accent-tint: #fbeee6;
  --card: #ffffff;
  --good: #1f7a3d;
  --bad: #b23a1f;
  --maxw: 760px;
  --maxw-wide: 1080px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(22, 21, 15, 0.04);
  --shadow-md: 0 6px 20px rgba(22, 21, 15, 0.07);
  --shadow-lg: 0 16px 40px rgba(22, 21, 15, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--fg);
  flex-shrink: 0;
}

.logo img {
  height: 22px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo span {
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

nav.site a {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.header-actions .btn {
  padding: 9px 16px;
  font-size: 14px;
}

@media (max-width: 640px) {
  header.site .wrap-wide { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .logo img { height: 18px; }
  .logo span { display: none; }
  nav.site { display: none; }
  .header-actions { gap: 10px; }
  .header-actions .btn { padding: 8px 13px; font-size: 13px; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 0 0 40px;
}

.hero .kicker { margin-bottom: 16px; }

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  max-width: 760px;
}

.hero .lede {
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-actions .btn { padding: 15px 26px; font-size: 16px; }

.trust-bar {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust-bar .stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.trust-bar .stat-label {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .hero { padding: 0 0 8px; }
  .trust-bar { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; padding-top: 24px; }
}

/* ---------- Benefits ---------- */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.benefit-card .icon {
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.benefit-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.benefit-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 720px) {
  .benefits-grid { grid-template-columns: 1fr; }
}

main { padding-bottom: 96px; }
main.wrap, main.wrap-wide { padding-top: 48px; }

h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 22px;
  margin: 40px 0 14px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.kicker {
  color: var(--accent);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 8px;
}

p { margin: 0 0 16px; }

ul.list { margin: 0 0 8px; padding-left: 22px; }
ul.list li { margin-bottom: 10px; }

ul.list-check,
ul.list-cross {
  list-style: none;
  margin: 0 0 8px;
  padding-left: 0;
}

ul.list-check li,
ul.list-cross li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}

ul.list-check li::before,
ul.list-cross li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}

ul.list-check li::before {
  content: "\2713";
  background: #eaf5ea;
  color: var(--good);
}

ul.list-cross li::before {
  content: "\2715";
  background: #fbeae6;
  color: var(--bad);
}

.meta-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
  margin: 22px 0 0;
}

.jobs-grid {
  display: grid;
  gap: 16px;
}

.role-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.role-card:hover {
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.role-card .role-card-body { min-width: 0; }

.role-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: var(--fg);
}

.role-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.role-card .arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 20px;
  transition: transform .15s ease;
}

.role-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 560px) {
  .role-card { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  margin-right: 6px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease, box-shadow .15s ease;
}

.btn:hover { background: var(--accent-dark); text-decoration: none; box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}

.btn-outline:hover { border-color: var(--accent); background: var(--accent-tint); text-decoration: none; }

.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Role page layout ---------- */

.role-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  align-items: start;
}

.role-main { min-width: 0; }

.role-sidebar {
  position: sticky;
  top: 88px;
}

.facts-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.facts-card h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

.facts-card dl {
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

.facts-card dl div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.facts-card dl dt { color: var(--muted); }
.facts-card dl dd { margin: 0; font-weight: 600; text-align: right; }

.facts-card .hint { margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .role-layout { grid-template-columns: 1fr; gap: 0; }
  .role-sidebar { position: static; margin-bottom: 32px; }
}

/* mobile sticky apply bar */

.mobile-apply-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(251, 250, 248, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

@media (max-width: 900px) {
  .mobile-apply-bar { display: block; }
  main.wrap, main.wrap-wide { padding-bottom: 88px; }
}

form.apply {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 18px;
  box-shadow: var(--shadow-sm);
}

.field { margin-bottom: 18px; }

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

label .opt { color: var(--muted); font-weight: 400; }

input, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

textarea { resize: vertical; min-height: 100px; }

.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
}

#form-status {
  margin-top: 16px;
  font-size: 15px;
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
}

#form-status.ok { display: block; background: #eaf5e9; color: #285a25; }
#form-status.err { display: block; background: #fbe9e6; color: #8a2b16; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 13px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 18px;
  width: auto;
  opacity: 0.85;
}

.footer-brand p {
  margin: 0;
  font-size: 13px;
}

footer.site .legal-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

footer.site .legal-links a {
  color: var(--muted);
}

footer.site .legal-links a:hover {
  color: var(--accent);
}

.footer-legal {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--muted-2);
  line-height: 1.6;
}

.footer-legal a { color: var(--muted-2); }
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .footer-top { flex-direction: column; align-items: flex-start; gap: 16px; }
}

.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; color: var(--muted); }
