/* careers.globalxtreme.net — GX black and yellow (the logogram's #111 and #F9C900) on white. No framework, no web fonts
   from elsewhere: IBM Plex Sans comes from Hearth's own /fonts. Served by modules/careers-site.ts. */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('/fonts/ibm-plex-sans-latin-wght-normal.woff2') format('woff2');
}
:root {
  --ink: #111111;
  --ink-2: #2a2a28;
  --muted: #5d5d58;
  --subtle: #8a8a84;
  --line: #e5e5e0;
  --line-2: #d6d6d0;
  --bg: #ffffff;
  --soft: #f6f6f3;
  --gx: #f9c900;
  --gx-deep: #e2b600;
  --gx-soft: #fff7d1;
  --ok: #1d7a4c;
  --ok-soft: #e6f3ec;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(17 17 17 / 5%), 0 8px 24px rgb(17 17 17 / 6%);
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 650; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 94%); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); flex: none; }
.brand .lockup { height: 30px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current='page'] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--gx); border-radius: 0; }
.tools { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.lang { display: flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.lang a { text-decoration: none; padding: 4px 10px; color: var(--muted); font-weight: 500; }
.lang a[aria-current='true'] { background: var(--ink); color: #fff; }
.signin { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; }
.signin svg { width: 18px; height: 18px; }
.menu { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gx); color: var(--ink); }
.btn-primary:hover { background: var(--gx-deep); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-quiet { background: none; color: var(--ink); padding: 0 6px; min-height: 36px; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.btn-danger { background: #fff; color: var(--bad); border-color: #f0c2bd; }
.btn-danger:hover { border-color: var(--bad); }
.btn-block { width: 100%; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 22px; height: 3px; border-radius: 2px; background: var(--gx); }
.mark { background: linear-gradient(transparent 62%, var(--gx) 62%, var(--gx) 92%, transparent 92%); padding: 0 2px; }

/* Home */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background: radial-gradient(1200px 400px at 85% -10%, var(--gx-soft), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 64px); margin: 18px 0 20px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 33em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 420px; justify-self: end; width: 100%; }
.hero-art .disc { position: absolute; inset: 6%; border-radius: 28px; background: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.hero-art .disc svg { width: 58%; height: 58%; }
.hero-art .chip { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: 14px; line-height: 1.35; }
.hero-art .chip b { display: block; font-size: 22px; }
.hero-art .chip.one { left: -4%; bottom: 10%; }
.hero-art .chip.two { right: -2%; top: 4%; }
.hero-art .chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 6px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.stats div { padding: 20px 20px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stats span { color: var(--muted); font-size: 14px; }

.section { padding: 80px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 12px; }
.section-head p { color: var(--muted); max-width: 34em; margin-top: 12px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--gx-soft); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .ic svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 18px; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 15px; }

.band { background: var(--ink); color: #fff; border-radius: 18px; padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 28px; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--gx); opacity: .14; }
.band h2 { font-size: clamp(26px, 3vw, 34px); margin: 10px 0 8px; }
.band p { color: #cfcfca; max-width: 36em; }
.band .eyebrow { color: #cfcfca; }

/* Jobs */
.page-head { padding: 56px 0 32px; border-bottom: 1px solid var(--line); background: var(--soft); }
.page-head h1 { font-size: clamp(32px, 4.4vw, 48px); margin: 14px 0 10px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 38em; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.filters { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(4, minmax(150px, 1fr)) auto; gap: 10px; margin: 28px 0 8px; }
.filters .search { position: relative; }
.filters .search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--subtle); }
.filters .search input { padding-left: 38px; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; color: var(--muted); font-size: 15px; }
.result-bar b { color: var(--ink); }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.job .dept { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.job h3 { font-size: 20px; margin: 6px 0 6px; }
.job p { color: var(--muted); font-size: 15px; }
.job .go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.job .go svg { width: 18px; height: 18px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--ink-2); font-size: 14px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { width: 16px; height: 16px; color: var(--muted); }
.empty { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--ink); font-size: 20px; margin-bottom: 8px; }
.empty .btn { margin-top: 18px; }

/* Job page */
.job-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding: 48px 0 80px; }
.job-page article h2 { font-size: 22px; margin: 40px 0 14px; }
.job-page article h2:first-child { margin-top: 0; }
.job-page article p { color: var(--ink-2); margin-bottom: 12px; }
.job-page article ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.job-page article li { position: relative; padding-left: 26px; color: var(--ink-2); }
.job-page article li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--gx); }
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.perks div { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; }
.perks svg { width: 20px; height: 20px; flex: none; }
.apply-card { position: sticky; top: 92px; align-self: start; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); background: #fff; }
.apply-card h3 { font-size: 18px; margin-bottom: 14px; }
.apply-card dl { margin: 0 0 20px; display: grid; gap: 10px; font-size: 15px; }
.apply-card dt { color: var(--muted); font-size: 13px; }
.apply-card dd { margin: 0; font-weight: 500; }
.apply-card small { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: 13px; }
.notice { border-radius: 10px; padding: 14px 16px; font-size: 15px; background: var(--soft); border: 1px solid var(--line); }
.notice.warn { background: var(--gx-soft); border-color: #f1df8a; }
.notice.bad { background: var(--bad-soft); border-color: #f4c7c2; color: #7a1a12; }
.notice.ok { background: var(--ok-soft); border-color: #bfe0cd; color: #124d31; }

/* Forms */
.form-wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.form-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.form-top { padding: 24px 28px; border-bottom: 1px solid var(--line); background: var(--soft); }
.form-top .for { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.form-top h1 { font-size: 26px; margin: 6px 0 4px; }
.form-top p { color: var(--muted); font-size: 15px; }
.steps { display: flex; gap: 8px; padding: 18px 28px 0; list-style: none; margin: 0; }
.steps li { flex: 1; font-size: 13px; color: var(--muted); }
.steps li::before { content: ''; display: block; height: 4px; border-radius: 2px; background: var(--line); margin-bottom: 8px; }
.steps li.on { color: var(--ink); font-weight: 600; }
.steps li.on::before { background: var(--gx); }
fieldset { border: 0; margin: 0; padding: 24px 28px 8px; min-width: 0; }
legend { font-size: 20px; font-weight: 650; padding: 0; margin-bottom: 4px; letter-spacing: -0.01em; }
.legend-note { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.grid .wide { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field .err { font-size: 13px; color: var(--bad); margin-top: 6px; font-weight: 500; }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], input[type='url'], input[type='search'], input[type='number'], select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px;
}
textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d5d58' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gx-soft); }
.invalid input, .invalid select, .invalid textarea, .invalid .drop { border-color: var(--bad); }
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 12px; background: var(--soft); cursor: pointer; }
.drop:hover { border-color: var(--ink); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop .ic { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.drop .ic svg { width: 20px; height: 20px; }
.drop strong { display: block; font-size: 15px; }
.drop small { color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 28px 26px; border-top: 1px solid var(--line); margin-top: 18px; }
.form-foot .note { color: var(--muted); font-size: 13px; }
.errors { margin: 20px 28px 0; }
html.js .step[hidden] { display: none; }
html:not(.js) .only-js { display: none !important; }

/* Done, sign-in, portal */
.center { max-width: 620px; margin: 0 auto; padding: 72px 20px 96px; text-align: center; }
.center .badge { width: 64px; height: 64px; border-radius: 50%; background: var(--gx); display: grid; place-items: center; margin: 0 auto 22px; }
.center .badge svg { width: 30px; height: 30px; }
.center h1 { font-size: clamp(30px, 4vw, 40px); margin: 10px 0 14px; }
.center p { color: var(--muted); font-size: 17px; }
.ref { display: inline-flex; flex-direction: column; gap: 2px; margin: 26px 0; padding: 14px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.ref span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ref b { font-size: 22px; letter-spacing: .02em; }
.center .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.center small { display: block; margin-top: 22px; color: var(--muted); }
.narrow-card { max-width: 440px; margin: 0 auto; text-align: left; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.narrow-card .field { margin: 18px 0; }

.portal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; padding: 40px 0 80px; }
.portal aside { border: 1px solid var(--line); border-radius: 16px; padding: 24px; align-self: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--gx); display: grid; place-items: center; font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.portal aside h2 { font-size: 20px; }
.portal aside p { color: var(--muted); font-size: 14px; word-break: break-all; margin: 4px 0 18px; }
.portal h1 { font-size: 32px; margin: 10px 0 6px; }
.portal .sub { color: var(--muted); margin-bottom: 24px; }
.app { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.app-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.app-head h3 { font-size: 20px; margin: 4px 0 2px; }
.app-head p { color: var(--muted); font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }
.pill.gx { background: var(--gx-soft); border-color: #f1df8a; }
.pill.ok { background: var(--ok-soft); border-color: #bfe0cd; color: #124d31; }
.pill.muted { color: var(--muted); }
.track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 22px 0 18px; list-style: none; padding: 0; }
.track li { font-size: 13px; color: var(--muted); }
.track li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 8px; }
.track li.done::before { background: var(--ink); }
.track li.now::before { background: var(--gx); }
.track li.now { color: var(--ink); font-weight: 600; }
.app .msg { display: flex; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--soft); font-size: 15px; }
.app .msg svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.app details { margin-top: 14px; font-size: 14px; }
.app summary { cursor: pointer; color: var(--muted); }
.app details form { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.prose { max-width: 760px; margin: 0 auto; padding: 48px 20px 88px; }
.prose h1 { font-size: 38px; margin-bottom: 10px; }
.prose h2 { font-size: 21px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 20px; }
.prose .updated { color: var(--muted); font-size: 14px; }

/* Footer */
.foot { background: var(--ink); color: #d4d4cf; margin-top: 0; }
.foot .wrap { padding-top: 56px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot .brand { color: #fff; }
.foot .brand .lockup { height: 34px; }
.foot p { margin-top: 14px; font-size: 15px; max-width: 26em; }
.foot h4 { margin: 0 0 12px; color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot ul a { text-decoration: none; color: #d4d4cf; }
.foot ul a:hover { color: var(--gx); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid #2c2c2a; font-size: 13px; color: #9a9a94; }
.foot-bottom a { color: #9a9a94; }

@media (max-width: 900px) {
  .hero .wrap, .job-page, .portal { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .search { grid-column: 1 / -1; }
  .apply-card { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 8px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary svg { width: 22px; height: 22px; }
  .menu nav { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: grid; min-width: 200px; }
  .menu nav a { padding: 10px 12px; text-decoration: none; border-radius: 8px; }
  .menu nav a:hover { background: var(--soft); }
  .top .wrap { gap: 12px; }
  .brand .lockup { height: 26px; }
  .tools { margin-left: auto; }
  .signin span { display: none; }
  .hero { padding: 48px 0 40px; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { padding-left: 0; border-left: 0; }
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .benefits, .perks, .grid { grid-template-columns: 1fr; }
  .band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .job { grid-template-columns: 1fr; padding: 20px; }
  .filters { grid-template-columns: 1fr; }
  fieldset, .form-top, .form-foot { padding-left: 20px; padding-right: 20px; }
  .steps { padding: 16px 20px 0; }
  .errors { margin: 16px 20px 0; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .foot-grid { grid-template-columns: 1fr; }
}
