:root{--ink:#0f172a;--text:#334155;--mut:#64748b;--line:#e2e8f0;--soft:#f8fafc;--brand:#0f766e;--brand-d:#115e59;--brand-l:#ccfbf1;--brand-xl:#f0fdfa;--err:#b91c1c;--r:12px;
  --ff:"Inter","Inter Variable",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--ff);color:var(--text);background:#fff;line-height:1.55;font-size:16px;display:flex;flex-direction:column;min-height:100vh}
main{flex:1}
h1,h2,h3,h4{color:var(--ink);line-height:1.2;margin:0}
h1{font-size:30px;letter-spacing:-.02em}
h2{font-size:22px;letter-spacing:-.01em}
h3{font-size:17px}
p{margin:0 0 12px}
a{color:var(--brand-d)}
code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.88em;background:#f1f5f9;padding:1px 6px;border-radius:6px;color:var(--ink);word-break:break-all}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 24px}
.narrow-wrap{max-width:900px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 12px;border-radius:8px;z-index:50}
.skip:focus{left:8px}
.muted{color:var(--mut)}.small{font-size:14px}.center{text-align:center}

/* header */
header.site{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:10}
.bar{display:flex;align-items:center;gap:28px;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;color:var(--ink);text-decoration:none;letter-spacing:-.01em}
.logo i{width:34px;height:34px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;font-style:normal;font-size:18px}
nav.main{display:flex;gap:6px;flex:1}
nav.main a{color:var(--text);text-decoration:none;font-weight:500;font-size:15px;padding:8px 12px;border-radius:8px}
nav.main a:hover,nav.main a[aria-current]{background:var(--brand-xl);color:var(--brand-d)}
.auth{display:flex;align-items:center;gap:10px}
.auth .link{color:var(--text);text-decoration:none;font-weight:500;font-size:15px;padding:6px 10px;border-radius:8px;white-space:nowrap;max-width:180px;overflow:hidden;text-overflow:ellipsis}
.auth .link:hover,.auth .link[aria-current]{background:var(--brand-xl);color:var(--brand-d)}
form.inline{display:inline;margin:0}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 20px;border-radius:10px;background:var(--brand);color:#fff;text-decoration:none;font:inherit;font-weight:600;font-size:15px;border:1px solid var(--brand);cursor:pointer;transition:background .15s}
.btn:hover{background:var(--brand-d)}
.btn:disabled{opacity:.55;cursor:not-allowed}
.btn.ghost{background:#fff;color:var(--ink);border-color:#cbd5e1}
.btn.ghost:hover{background:var(--soft)}
.btn.sm{padding:8px 14px;font-size:14px}
.btn.block{display:flex;width:100%;margin-top:10px}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}

/* hero */
.hero{background:linear-gradient(135deg,#ccfbf1 0%,#e0f2fe 100%);padding:64px 0 56px;border-bottom:1px solid var(--line)}
.eyebrow{display:inline-block;font-size:13px;font-weight:600;color:var(--brand-d);background:#fff;border-radius:99px;padding:4px 12px;margin-bottom:16px}
.hero h1{font-size:46px;max-width:760px;letter-spacing:-.03em}
.lead{font-size:18px;color:#334155;margin:16px 0 26px;max-width:560px}
.search{display:flex;gap:10px;max-width:660px;background:#fff;padding:8px;border-radius:14px;box-shadow:0 8px 28px rgba(15,23,42,.1);margin:0}
.search input{flex:1;min-width:0;border:0;font:inherit;padding:0 12px;outline:none;font-size:16px}
.search .btn{padding:12px 24px}

/* sections / jobs */
.section{padding:44px 24px}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:20px}
.jobs{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:18px}
.job{display:flex;flex-direction:column;gap:14px;border:1px solid var(--line);border-radius:var(--r);padding:20px;text-decoration:none;color:var(--text);background:#fff;transition:box-shadow .15s,border-color .15s,transform .15s}
.job:hover{border-color:#99f6e4;box-shadow:0 10px 26px rgba(15,23,42,.08);transform:translateY(-1px)}
.job[hidden]{display:none}
.job-top{display:flex;gap:14px;align-items:center}
.job h3{margin-bottom:2px}
.company{color:var(--mut);font-size:15px}
.co-mark{width:44px;height:44px;border-radius:12px;background:var(--brand-l);color:var(--brand-d);display:grid;place-items:center;font-weight:700;font-size:18px;flex:none}
.co-mark.lg{width:60px;height:60px;font-size:24px;border-radius:16px}
.meta{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:14px;color:var(--text)}
.meta span:nth-child(3){font-weight:600;color:var(--ink)}
.meta.big span:nth-child(3){font-weight:500;color:var(--text)}.meta.big{font-size:15px;margin:14px 0 6px}
.job-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tag{display:inline-block;padding:2px 10px;border-radius:99px;background:var(--brand-xl);border:1px solid #99f6e4;color:var(--brand-d);font-size:12px;font-weight:600}
.empty{text-align:center;color:var(--mut);padding:30px}
.band{background:var(--soft);border-block:1px solid var(--line);padding:48px 0}
.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}
.ticks{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ticks li{padding-left:30px;position:relative}
.ticks li::before{content:"";position:absolute;left:0;top:4px;width:18px;height:18px;border-radius:99px;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.advice{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;margin-top:18px}
.advice article{border:1px solid var(--line);border-radius:var(--r);padding:20px}
.advice h3{margin-bottom:6px}

/* job detail */
.crumb{font-size:14px;margin-bottom:18px}
.job-head{display:flex;gap:18px;align-items:center}
.job-grid{display:grid;grid-template-columns:1fr 300px;gap:40px;margin-top:26px;align-items:start}
.prose h2{font-size:19px;margin:24px 0 8px}.prose h2:first-child{margin-top:0}
.prose ul{padding-left:20px;margin:0}.prose li{margin:6px 0}
.apply{position:sticky;top:90px}
.apply h3{margin-bottom:6px}
.apply .tags{margin-top:16px}

/* cards, forms */
.card{border:1px solid var(--line);border-radius:16px;padding:26px;background:#fff;box-shadow:0 6px 24px rgba(15,23,42,.05)}
.auth-wrap{padding:44px 24px}
.form-card{max-width:440px;margin:0 auto}
.form-card.wide{max-width:560px}
.form-card h1{margin-bottom:4px}
label{display:block;margin:16px 0 6px;font-weight:600;font-size:14px;color:var(--ink)}
input:not([type=hidden]):not([type=checkbox]){width:100%;height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:0 12px;font:inherit;color:var(--ink);background:#fff}
input:disabled{background:var(--soft);color:var(--mut)}
input:focus{outline:2px solid var(--brand);outline-offset:0;border-color:var(--brand)}
.hint{font-size:13px;color:var(--mut);margin:6px 0 0}
.consent-block{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.consent-block h2{font-size:17px;margin-bottom:4px}
.consent-block #choice-consent{margin-top:12px}
.notice{border-radius:10px;padding:12px 16px;font-size:15px;margin:16px 0}
.notice.ok{background:var(--brand-xl);border:1px solid #99f6e4;color:var(--brand-d)}
.notice.err{background:#fef2f2;border:1px solid #fecaca;color:var(--err)}
.account-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-top:22px;align-items:start}
.account-grid h2{margin:10px 0 10px;font-size:19px}
.avatar{width:52px;height:52px;border-radius:99px;background:var(--brand-l);color:var(--brand-d);display:grid;place-items:center;font-weight:700;font-size:21px;text-transform:uppercase}
.account-grid .btn{margin-top:18px}
.lead2{margin:6px 0 22px}
.prefs-card{min-height:160px}
.center-row{margin-top:26px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.center-row form{margin:0}.center-row .hint{margin:0;flex:1 1 260px}

/* debug strip */
.debug-wrap{margin-top:56px}
.debug{background:#0f172a;color:#cbd5e1;border-radius:12px 12px 0 0;font-size:14px}
.debug summary{cursor:pointer;padding:12px 18px;color:#fff;font-weight:600;list-style:none;display:flex;align-items:center;gap:10px}
.debug summary::-webkit-details-marker{display:none}
.debug summary small{color:#94a3b8;font-weight:400;margin-left:6px}
.debug summary::after{content:"Show";margin-left:auto;font-size:12px;color:#5eead4;font-weight:500}
.debug[open] summary::after{content:"Hide"}
.dot{width:8px;height:8px;border-radius:99px;background:#2dd4bf}
.dbg-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;padding:4px 18px 20px}
.debug h4{color:#fff;font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}
.debug h5{color:#fff;margin:12px 0 6px;font-size:13px}
.debug dl{display:grid;grid-template-columns:150px 1fr;gap:6px 12px;margin:0}
.debug dt{color:#94a3b8}.debug dd{margin:0;word-break:break-word}
.debug code{background:#1e293b;color:#e2e8f0}
.debug .muted{color:#94a3b8}
.debug .receipts{margin:0;padding-left:18px}
.chip{display:inline-block;border-radius:99px;padding:1px 10px;font-size:12px;font-weight:600;background:#334155;color:#e2e8f0}
.chip.attached{background:#064e3b;color:#6ee7b7}.chip.failed{background:#7f1d1d;color:#fecaca}
.err-text{color:#fca5a5}

/* footer */
footer.site{background:var(--ink);color:#cbd5e1;padding-top:36px}
.debug-wrap + footer.site{margin-top:0}
.foot{padding-bottom:22px;border-bottom:1px solid #1e293b;display:grid;grid-template-columns:1.4fr 1fr auto;gap:30px;align-items:start}
.foot .logo{color:#fff}.foot-brand p{margin:10px 0 0;color:#94a3b8;font-size:14px}
.foot-links{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:auto auto;justify-content:start;gap:8px 20px;font-size:14px}
.foot-links a{color:#cbd5e1;text-decoration:none}.foot-links a:hover{color:#fff;text-decoration:underline}
.analytics{display:flex;gap:8px;align-items:center;font-size:13px}
.pill{display:inline-block;padding:3px 12px;border-radius:99px;background:#dcfce7;color:#166534;font-weight:600;font-size:13px}
.pill.off{background:#1e293b;color:#94a3b8;font-weight:500}
.legal{padding-top:22px;padding-bottom:26px;margin-top:26px;font-size:13px;color:#64748b}

@media (max-width:860px){
  .bar{gap:12px;height:auto;padding:12px 24px;flex-wrap:wrap}
  nav.main{order:3;flex-basis:100%;overflow-x:auto}
  .auth{margin-left:auto}.auth .link{display:none}
  .hero{padding:44px 0 40px}.hero h1{font-size:34px}
  .job-grid,.two-col,.account-grid,.dbg-grid,.foot{grid-template-columns:1fr}
  .apply{position:static}
  .jobs{grid-template-columns:1fr}
  .debug dl{grid-template-columns:120px 1fr}
}
