/* OfficeJob.in
   Palette: wine (stamp-pad red ink), marigold (file tab), stamp green, cool paper.
   Type: Anek Latin (Ek Type, India), condensed for headlines, normal width for reading. */

@font-face {
  font-family: 'Anek Latin';
  src: url('../fonts/anek-latin.woff2') format('woff2');
  font-weight: 100 800; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Anek Latin';
  src: url('../fonts/anek-latin-ext.woff2') format('woff2');
  font-weight: 100 800; font-stretch: 75% 125%; font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --wine: #5C0F33;
  --wine-deep: #2B0717;
  --wine-mid: #7A1A47;
  --wine-tint: #F5E8EE;
  --gold: #FFB627;
  --gold-deep: #E39600;
  --gold-tint: #FFF4D9;
  --stamp: #0B7A55;
  --stamp-tint: #E3F4EC;
  --paper: #FAF6F8;
  --card: #FFFFFF;
  --ink: #26131C;
  --mute: #6B5460;
  --line: #EADFE4;
  --bad: #B3261E;
  --bad-tint: #FCE9E7;
  --r-s: 8px; --r-m: 14px; --r-l: 22px;
  --shadow-paper: 0 1px 0 #fff inset, 0 18px 40px -18px rgba(43, 7, 23, .55), 0 3px 8px rgba(43, 7, 23, .18);
  --shadow-lift: 0 10px 28px -14px rgba(92, 15, 51, .35);
  --font: 'Anek Latin', 'Segoe UI', 'Noto Sans', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5; font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--wine); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-stretch: 84%; font-weight: 750; line-height: 1.08; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 2px; border-radius: 4px; }
.ic { flex: none; vertical-align: -3px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--wine-deep); padding: 8px 14px; border-radius: var(--r-s); z-index: 100; }
.skip:focus { left: 8px; }
.mute { color: var(--mute); }
.small { font-size: 15px; }
.center { text-align: center; }
.hide-m { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--r-s);
  font-weight: 650; font-size: 17px; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--wine-deep); box-shadow: 0 3px 0 var(--gold-deep); }
.btn-gold:hover { background: #FFC548; }
.btn-gold:active { box-shadow: 0 1px 0 var(--gold-deep); }
.btn-wine { background: var(--wine); color: #fff; box-shadow: 0 3px 0 var(--wine-deep); }
.btn-wine:hover { background: var(--wine-mid); }
.btn-line { background: transparent; color: var(--wine); border-color: var(--wine); }
.btn-line:hover { background: var(--wine-tint); }
.btn-green { background: var(--stamp); color: #fff; box-shadow: 0 3px 0 #075A3E; }
.btn-ghost { background: transparent; color: var(--mute); border-color: var(--line); }
.btn-ghost:hover { color: var(--wine); border-color: var(--wine); }
.btn-danger { background: transparent; color: var(--bad); border-color: #E6B8B4; }
.btn-sm { min-height: 40px; padding: 7px 14px; font-size: 15.5px; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 19px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- header ---------- */
.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-stretch: 80%; font-weight: 800; font-size: 27px; line-height: 1; letter-spacing: -.01em; }
.logo-a { color: var(--wine); }
.logo-b { background: var(--gold); color: var(--wine-deep); padding: 5px 7px 3px; margin-left: 3px; border-radius: 7px 7px 2px 2px; }
.logo-c { color: var(--mute); font-weight: 600; font-size: .62em; margin-left: 2px; }
.nav { display: none; gap: 4px; margin-left: 14px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 550; padding: 9px 12px; border-radius: var(--r-s); }
.nav a:hover { background: var(--wine-tint); color: var(--wine); }
.nav a[aria-current] { color: var(--wine); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-post { display: none; }
.top-out { color: var(--mute); display: inline-flex; padding: 9px; border-radius: var(--r-s); }
.top-out:hover { color: var(--wine); background: var(--wine-tint); }

.subnav { background: var(--wine-deep); }
.subnav-in { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { color: #E9CFDA; text-decoration: none; white-space: nowrap; padding: 13px 14px 11px; font-weight: 550; font-size: 16px; border-bottom: 3px solid transparent; }
.subnav a:hover { color: #fff; }
.subnav a[aria-current] { color: #fff; border-bottom-color: var(--gold); }

.flash-wrap { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--r-s); margin-bottom: 8px; font-weight: 550; border: 1px solid; }
.flash-ok { background: var(--stamp-tint); color: #064D36; border-color: #A9DCC6; }
.flash-err { background: var(--bad-tint); color: #7E1A14; border-color: #EDBBB6; }
.flash-info { background: var(--gold-tint); color: #5E4200; border-color: #F2D48A; }

/* ---------- hero ---------- */
.hero {
  background:
    repeating-linear-gradient(180deg, transparent 0 35px, rgba(255, 255, 255, .045) 35px 36px),
    radial-gradient(120% 90% at 85% 10%, #7F1D4B 0%, transparent 60%),
    var(--wine);
  color: #fff; overflow: hidden; position: relative;
}
.hero::before { /* register margin line */
  content: none; position: absolute; inset: 0 auto 0 max(14px, calc((100% - 1160px) / 2 - 22px)); width: 2px; background: rgba(255, 182, 39, .28);
}
.hero-in { display: grid; gap: 34px; padding-block: 38px 46px; position: relative; }
.hero h1 { font-size: clamp(42px, 11.5vw, 84px); font-weight: 800; font-stretch: 78%; line-height: .94; letter-spacing: -.015em; }
.hero h1 span { display: block; }
.hero-sub { font-size: 19px; line-height: 1.45; color: #F3DDE7; max-width: 34em; margin: 18px 0 24px; }

.finder { background: var(--card); color: var(--ink); border-radius: var(--r-m); padding: 10px; display: grid; gap: 8px; box-shadow: var(--shadow-paper); }
.finder label { display: flex; align-items: center; gap: 10px; padding: 0 12px; min-height: 54px; border: 1.5px solid var(--line); border-radius: var(--r-s); color: var(--wine); }
.finder label:focus-within { border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-tint); }
.finder input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 18px; color: var(--ink); min-width: 0; }
.finder input::placeholder { color: #9A8690; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.quick-label { color: #E9CFDA; font-size: 15.5px; margin-right: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 550; font-size: 15.5px; border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.chip:hover { border-color: var(--wine); color: var(--wine); }
.chip b { font-weight: 700; color: var(--mute); font-size: .9em; }
.hero .chip { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero .chip:hover { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }

/* appointment letter: the one loud thing on the page */
.letter-stage { position: relative; display: grid; place-items: center; padding: 6px 6px 18px; }
.letter { position: relative; width: min(100%, 400px); color: #2B1B22; padding: 22px 24px 22px; transform: rotate(2.2deg); isolation: isolate; }
.letter::before, .letter::after { content: ''; position: absolute; inset: 0; border-radius: 4px; z-index: -1; }
.letter::before { background: #EBDCC0; transform: rotate(-5deg) translate(-10px, 4px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.letter::after { background: #FFFEFB; box-shadow: var(--shadow-paper); }
.letter-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-bottom: 2px solid var(--wine); padding-bottom: 9px; margin-bottom: 14px; }
.letter-head strong { font-stretch: 80%; font-weight: 800; font-size: 21px; color: var(--wine); line-height: 1; }
.letter-head span { font-size: 13.5px; color: var(--mute); }
.letter h2 { font-size: 22px; font-stretch: 84%; margin-bottom: 10px; }
.letter p { font-size: 15.5px; line-height: 1.45; margin-bottom: 12px; }
.letter dl { margin: 0 0 14px; display: grid; gap: 7px; }
.letter dl div { display: flex; align-items: baseline; gap: 8px; font-size: 15.5px; }
.letter dt { color: var(--mute); white-space: nowrap; }
.letter dl div::before { content: ''; order: 1; flex: 1; border-bottom: 1.5px dotted #C9B8C0; transform: translateY(-4px); }
.letter dd { margin: 0; order: 2; font-weight: 700; text-align: right; }
.letter-sign { display: flex; justify-content: space-between; align-items: flex-end; font-size: 13.5px; color: var(--mute); padding-top: 58px; }
.letter-sign svg { display: block; width: 96px; height: 34px; color: #1B2A6B; margin-bottom: 2px; }
.stamp {
  position: absolute; left: 20px; bottom: 40px; transform: rotate(-9deg);
  border: 3px solid var(--stamp); outline: 1.5px solid var(--stamp); outline-offset: 3px; border-radius: 9px;
  color: var(--stamp); padding: 6px 14px 4px; text-align: center; line-height: 1; opacity: .9;
  font-stretch: 76%; font-weight: 800; font-size: 31px; letter-spacing: .04em;
  background: radial-gradient(circle at 30% 40%, rgba(11, 122, 85, .08), transparent 60%);
}
.stamp small { display: block; font-size: 11.5px; letter-spacing: .02em; font-stretch: 100%; font-weight: 650; margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp-in .42s cubic-bezier(.2, 1.4, .4, 1) .75s both; }
  .letter { animation: letter-press .3s ease-out 1.05s both; }
  @keyframes stamp-in { from { opacity: 0; transform: rotate(-22deg) scale(2.6); } to { opacity: .9; transform: rotate(-9deg) scale(1); } }
  @keyframes letter-press { 0% { transform: rotate(2.2deg) scale(1); } 40% { transform: rotate(2.2deg) scale(.985); } 100% { transform: rotate(2.2deg) scale(1); } }
}

/* ---------- promise band ---------- */
.promise { background: var(--card); border-bottom: 1px solid var(--line); }
.promise ul { display: grid; }
.promise li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.promise li:first-child { border-top: 0; }
.promise .ic { color: var(--wine); margin-top: 3px; }
.promise strong { display: block; font-stretch: 86%; font-size: 19px; font-weight: 700; line-height: 1.2; }
.promise span { color: var(--mute); font-size: 16px; }

/* ---------- sections ---------- */
.sec { padding-block: 44px; }
.sec-tight { padding-block: 28px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 20px; margin-bottom: 22px; }
.sec-head h2 { font-size: clamp(30px, 6.5vw, 44px); font-weight: 800; font-stretch: 80%; }
.sec-head p { margin: 6px 0 0; color: var(--mute); max-width: 40em; }
.sec-head a { font-weight: 650; }

/* role directory: file tabs */
.files { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
.file { position: relative; display: block; text-decoration: none; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 0 var(--r-m) var(--r-m) var(--r-m); padding: 16px 14px 14px; margin-top: 12px; transition: transform .12s ease, border-color .12s ease; }
.file::before { content: attr(data-count); position: absolute; left: -1.5px; top: -23px; height: 23px; padding: 2px 11px 0; background: var(--gold); color: var(--wine-deep); font-size: 13.5px; font-weight: 700; border-radius: 8px 8px 0 0; line-height: 21px; }
.file[data-empty]::before { background: var(--line); color: var(--mute); }
.file:hover { transform: translateY(-3px); border-color: var(--wine); }
.file strong { display: block; font-stretch: 84%; font-size: 19.5px; font-weight: 750; line-height: 1.15; }
.file span { display: block; color: var(--mute); font-size: 15px; line-height: 1.35; margin-top: 4px; }

/* ---------- job list ---------- */
.joblist { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.job { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; padding: 18px 16px; border-top: 1px solid var(--line); position: relative; }
.job:first-child { border-top: 0; }
.job-featured { background: linear-gradient(90deg, var(--gold-tint), #fff 55%); box-shadow: inset 4px 0 0 var(--gold); }
.job-mark { width: 46px; height: 46px; border-radius: 11px; background: var(--wine-tint); color: var(--wine); display: grid; place-items: center; font-weight: 800; font-stretch: 82%; font-size: 18px; }
.job-title { font-size: 21px; font-weight: 750; line-height: 1.15; }
.job-title a { color: var(--ink); text-decoration: none; }
.job-title a::after { content: ''; position: absolute; inset: 0; }
.job-title a:hover { color: var(--wine); text-decoration: underline; }
.job-co { margin: 3px 0 8px; color: var(--mute); font-size: 16px; }
.verified { display: inline-flex; align-items: center; gap: 3px; color: var(--stamp); font-weight: 650; font-size: 14px; margin-left: 4px; white-space: nowrap; }
.job-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15.5px; color: #4A3540; }
.job-facts li { display: inline-flex; align-items: center; gap: 5px; }
.job-facts .ic { color: var(--wine-mid); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { font-size: 13.5px; font-weight: 600; padding: 3px 9px 2px; border-radius: 5px; background: var(--paper); border: 1px solid var(--line); color: #4A3540; }
.tag-urgent { background: var(--bad-tint); border-color: #EDBBB6; color: #8C1D17; }
.job-side { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 6px; }
.job-pay { margin: 0; font-size: 21px; font-weight: 800; font-stretch: 84%; color: var(--wine); line-height: 1.1; }
.job-pay span { display: block; font-size: 13.5px; font-weight: 500; font-stretch: 100%; color: var(--mute); }
.job-actions { position: relative; z-index: 1; }
.job-when { margin: 0; font-size: 13.5px; color: var(--mute); width: 100%; }
.empty { text-align: center; padding: 44px 20px; background: var(--card); border: 1.5px dashed #D9C8CF; border-radius: var(--r-l); }
.empty h3 { font-size: 24px; margin-bottom: 8px; }
.empty p { color: var(--mute); max-width: 32em; margin-inline: auto; }

/* ---------- employer band + steps ---------- */
.band { background: var(--wine-deep); color: #fff; border-radius: var(--r-l); padding: 30px 22px; display: grid; gap: 22px; position: relative; overflow: hidden; }
.band::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 34px solid rgba(255, 182, 39, .12); }
.band h2 { font-size: clamp(30px, 7vw, 46px); font-weight: 800; font-stretch: 78%; }
.band p { color: #E9CFDA; margin: 12px 0 0; max-width: 36em; }
.band .rate { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; }
.band .rate div { border-left: 3px solid var(--gold); padding-left: 12px; }
.band .rate b { display: block; font-size: 28px; font-stretch: 82%; font-weight: 800; color: var(--gold); line-height: 1; }
.band .rate span { font-size: 15px; color: #E9CFDA; }
.band .btn-row { position: relative; z-index: 1; }
.band .btn-line { color: #fff; border-color: rgba(255, 255, 255, .5); }
.band .btn-line:hover { background: rgba(255, 255, 255, .1); }

.steps { display: grid; gap: 14px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 18px 18px 16px 70px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--wine); color: var(--gold); display: grid; place-items: center; font-weight: 800; font-size: 21px; font-stretch: 84%; }
.steps strong { display: block; font-size: 19.5px; font-stretch: 86%; font-weight: 750; line-height: 1.2; }
.steps span { color: var(--mute); font-size: 16px; }

.note { background: var(--gold-tint); border: 1.5px solid #F2D48A; border-radius: var(--r-m); padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; }
.note .ic { color: #8A5A00; margin-top: 2px; }
.note strong { font-weight: 700; }
.note p { margin: 0; }

/* ---------- search page ---------- */
.searchbar { background: var(--wine); padding-block: 16px; }
.searchbar .finder { box-shadow: none; }
.results { display: grid; gap: 22px; padding-block: 24px 48px; }
.filters { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); }
.filters summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: '+'; font-size: 22px; color: var(--wine); line-height: 1; }
.filters[open] summary::after { content: '\2212'; }
.filters form { padding: 0 16px 16px; display: grid; gap: 14px; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; margin-bottom: 14px; }
.results-head h1 { font-size: clamp(26px, 6vw, 36px); font-weight: 800; font-stretch: 80%; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: var(--r-s); border: 1.5px solid var(--line); text-decoration: none; font-weight: 650; background: var(--card); color: var(--ink); }
.pager span { background: var(--wine); color: #fff; border-color: var(--wine); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > span.lbl { font-weight: 650; font-size: 16px; }
.field small { color: var(--mute); font-size: 14.5px; line-height: 1.35; }
.input, select.input, textarea.input {
  width: 100%; min-height: 50px; padding: 11px 14px; background: #fff; border: 1.5px solid #D9C8CF; border-radius: var(--r-s); font-size: 17px;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.45; }
.input:focus { outline: 0; border-color: var(--wine); box-shadow: 0 0 0 3px var(--wine-tint); }
.form-grid { display: grid; gap: 16px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1.5px solid #D9C8CF; border-radius: 999px; font-weight: 550; font-size: 15.5px; background: #fff; }
.check input:checked + span { background: var(--wine); border-color: var(--wine); color: #fff; }
.check input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.tick { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.tick input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--wine); flex: none; }
.err { color: var(--bad); font-weight: 600; font-size: 15px; }

/* ---------- auth ---------- */
.auth { display: grid; gap: 0; max-width: 980px; margin: 28px auto 56px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.auth-side { background: var(--wine); color: #fff; padding: 26px 22px; background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(255, 255, 255, .05) 35px 36px); }
.auth-side h1 { font-size: clamp(30px, 7vw, 42px); font-weight: 800; font-stretch: 78%; }
.auth-side ul { margin-top: 16px; display: grid; gap: 9px; color: #F3DDE7; }
.auth-side li { display: flex; gap: 9px; align-items: flex-start; }
.auth-side .ic { color: var(--gold); margin-top: 3px; }
.auth-form { padding: 24px 22px 28px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 5px; margin-bottom: 20px; }
.switch a { text-align: center; padding: 11px 8px; border-radius: 8px; text-decoration: none; font-weight: 650; color: var(--mute); }
.switch a[aria-current] { background: var(--wine); color: #fff; }

/* ---------- job detail ---------- */
.jd-head { background: var(--wine); color: #fff; padding-block: 26px 62px; background-image: repeating-linear-gradient(180deg, transparent 0 35px, rgba(255, 255, 255, .045) 35px 36px); }
.crumbs { font-size: 15px; color: #E9CFDA; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.jd-head h1 { font-size: clamp(32px, 8vw, 54px); font-weight: 800; font-stretch: 78%; }
.jd-co { margin: 10px 0 0; font-size: 18.5px; color: #F3DDE7; }
.jd-co .verified { color: #8FE5C2; font-size: 15px; }
.jd-body { display: grid; gap: 20px; margin-top: -40px; padding-bottom: 52px; }
.sheet { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 22px 20px; }
.sheet h2 { font-size: 24px; font-weight: 750; margin-bottom: 12px; }
.sheet h2:not(:first-child) { margin-top: 26px; }
.sheet .prose { white-space: pre-line; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden; margin-bottom: 6px; }
.facts div { padding: 13px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.facts dt { font-size: 14.5px; color: var(--mute); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 17.5px; line-height: 1.25; }
.facts .wide { grid-column: 1 / -1; background: var(--wine-tint); }
.facts .wide dd { font-size: 27px; font-stretch: 82%; font-weight: 800; color: var(--wine); }
.skills { display: flex; flex-wrap: wrap; gap: 7px; }
.apply { position: sticky; top: 78px; align-self: start; }
.apply .btn { margin-bottom: 10px; }
.apply-safe { font-size: 14.5px; color: var(--mute); display: flex; gap: 8px; margin: 6px 0 0; }
.apply-safe .ic { color: var(--stamp); margin-top: 2px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--mute); text-decoration: underline; cursor: pointer; font-size: 15px; }
.applybar { position: fixed; left: 0; right: 0; bottom: calc(60px + env(safe-area-inset-bottom)); z-index: 35; background: var(--card); border-top: 1px solid var(--line); padding: 10px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 -8px 20px -14px rgba(43, 7, 23, .5); }
.applybar p { margin: 0; font-weight: 800; font-stretch: 84%; color: var(--wine); line-height: 1.1; font-size: 18px; flex: 1; }
.applybar p span { display: block; font-size: 13px; font-weight: 500; color: var(--mute); font-stretch: 100%; }
.has-applybar .foot { padding-bottom: 150px; }

/* ---------- panels ---------- */
.is-panel main { padding-bottom: 56px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 20px; padding-block: 26px 18px; }
.page-head h1 { font-size: clamp(28px, 6.5vw, 40px); font-weight: 800; font-stretch: 80%; }
.page-head p { margin: 6px 0 0; color: var(--mute); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 22px; }
.stat { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); padding: 14px 16px; text-decoration: none; color: var(--ink); display: block; }
.stat b { display: block; font-size: 34px; font-weight: 800; font-stretch: 82%; color: var(--wine); line-height: 1; }
.stat span { font-size: 15px; color: var(--mute); }
.stat-alert { border-color: var(--gold-deep); background: var(--gold-tint); }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 20px 18px; margin-bottom: 18px; }
.card > h2 { font-size: 23px; font-weight: 750; margin-bottom: 14px; }
.card-narrow { max-width: 760px; }
.rows { display: grid; }
.row { display: grid; gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; padding-top: 0; }
.row:last-child { padding-bottom: 0; }
.row h3 { font-size: 20px; font-weight: 750; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--wine); text-decoration: underline; }
.row-meta { color: var(--mute); font-size: 15.5px; margin: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row-actions form { display: contents; }
.pill { display: inline-flex; align-items: center; padding: 3px 10px 2px; border-radius: 999px; font-size: 13.5px; font-weight: 700; white-space: nowrap; border: 1px solid; }
.pill-neutral { background: var(--paper); border-color: var(--line); color: #4A3540; }
.pill-good { background: var(--gold-tint); border-color: #F2D48A; color: #6B4A00; }
.pill-great { background: var(--stamp-tint); border-color: #A9DCC6; color: #064D36; }
.pill-bad { background: var(--bad-tint); border-color: #EDBBB6; color: #8C1D17; }
.interview { background: var(--stamp-tint); border: 1.5px solid #A9DCC6; border-radius: var(--r-s); padding: 10px 14px; font-size: 16px; }
.interview strong { color: #064D36; }
.meter { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--gold); border-radius: 999px; }
.inline-form { display: grid; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s); padding: 14px; }
details.more > summary { cursor: pointer; color: var(--wine); font-weight: 650; list-style: none; display: inline-flex; min-height: 40px; align-items: center; }
details.more > summary::-webkit-details-marker { display: none; }
details.more[open] > summary { margin-bottom: 10px; }
.kv { display: grid; gap: 4px 16px; font-size: 16px; }
.kv dt { color: var(--mute); font-size: 14.5px; }
.kv dd { margin: 0 0 8px; font-weight: 600; }
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 16px; }
.tbl th { text-align: left; font-size: 14px; color: var(--mute); font-weight: 650; padding: 8px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }

/* ---------- plans ---------- */
.plans { display: grid; gap: 14px; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 22px 20px; display: flex; flex-direction: column; position: relative; }
.plan h3 { font-size: 23px; font-weight: 750; }
.plan .tagline { color: var(--mute); font-size: 15.5px; line-height: 1.35; margin: 4px 0 14px; min-height: 2.7em; }
.plan .price { font-size: 46px; font-weight: 800; font-stretch: 78%; line-height: 1; color: var(--wine); }
.plan .price small { font-size: 16px; font-weight: 550; font-stretch: 100%; color: var(--mute); }
.plan ul { margin: 16px 0 20px; display: grid; gap: 8px; font-size: 16px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li .ic { color: var(--stamp); margin-top: 3px; }
.plan li.no { color: #A2929A; }
.plan li.no .ic { color: #C9B8C0; }
.plan-hot { background: var(--wine); border-color: var(--wine); color: #fff; }
.plan-hot .tagline, .plan-hot .price small { color: #E9CFDA; }
.plan-hot .price { color: var(--gold); }
.plan-hot li .ic { color: var(--gold); }
.plan-hot li.no { color: #C79DB0; }
.plan-flag { position: absolute; top: -13px; right: 18px; background: var(--gold); color: var(--wine-deep); font-weight: 700; font-size: 14px; padding: 3px 12px 2px; border-radius: 999px; }
.plan-now { border-color: var(--stamp); box-shadow: 0 0 0 3px var(--stamp-tint); }

.compare { width: 100%; border-collapse: collapse; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--wine-deep); color: #fff; font-weight: 650; }
.compare thead th:last-child { background: var(--wine); color: var(--gold); }
.compare td:last-child { background: var(--gold-tint); font-weight: 650; }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- prose pages ---------- */
.doc { padding-block: 34px 56px; }
.doc > * { max-width: 760px; }
.doc h1 { font-size: clamp(34px, 8vw, 52px); font-weight: 800; font-stretch: 78%; margin-bottom: 16px; }
.doc h2 { font-size: 25px; margin: 30px 0 10px; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.doc ol { padding-left: 22px; display: grid; gap: 6px; }

/* ---------- footer + mobile tab bar ---------- */
.foot { background: var(--wine-deep); color: #E9CFDA; padding: 40px 0 96px; margin-top: 0; }
.foot .logo-a { color: #fff; }
.foot .logo-c { color: #C79DB0; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand p { margin: 14px 0 0; max-width: 30em; font-size: 16px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-contact a { display: inline-flex; gap: 6px; align-items: center; }
.foot a { color: #fff; }
.foot nav { display: grid; gap: 9px; align-content: start; }
.foot nav h2 { font-size: 17px; font-stretch: 100%; font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.foot nav a { text-decoration: none; color: #F3DDE7; font-size: 16px; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 28px; padding-top: 18px; font-size: 14.5px; }
.foot-base p { margin: 0; }

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--card); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: grid; justify-items: center; gap: 1px; padding: 8px 2px 6px; text-decoration: none; color: var(--mute); font-size: 12.5px; font-weight: 600; min-height: 60px; }
.tabbar a[aria-current] { color: var(--wine); box-shadow: inset 0 3px 0 var(--gold); }

/* ---------- wider screens ---------- */
@media (min-width: 620px) {
  .finder { grid-template-columns: 1.2fr 1fr auto; }
  .files { grid-template-columns: repeat(3, 1fr); }
  .promise ul { grid-template-columns: repeat(3, 1fr); }
  .promise li { border-top: 0; border-left: 1px solid var(--line); padding: 22px 22px; }
  .promise li:first-child { border-left: 0; padding-left: 0; }
  .form-grid.two { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 70px 18px 18px; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .kv { grid-template-columns: repeat(2, 1fr); }
  .job { grid-template-columns: 52px 1fr auto; padding: 20px 22px; gap: 4px 18px; }
  .job-mark { width: 52px; height: 52px; font-size: 20px; }
  .job-side { grid-column: auto; grid-row: 1; grid-column-start: 3; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; margin-top: 0; min-width: 190px; }
  .job-when { width: auto; }
  .row { grid-template-columns: 1fr auto; align-items: center; }
  .row .row-wide { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  body { font-size: 17.5px; }
  .hide-m { display: initial; }
  .nav { display: flex; }
  .top-post { display: inline-flex; }
  .tabbar, .applybar { display: none; }
  .foot { padding-bottom: 40px; }
  .has-applybar .foot { padding-bottom: 40px; }
  .hero::before { content: ''; }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; padding-block: 64px 72px; gap: 48px; }
  .files { grid-template-columns: repeat(4, 1fr); gap: 28px 16px; }
  .sec { padding-block: 64px; }
  .band { grid-template-columns: 1.5fr auto; align-items: center; padding: 44px 44px; }
  .results { grid-template-columns: 270px 1fr; align-items: start; }
  .filters { position: sticky; top: 82px; }
  .filters summary { pointer-events: none; }
  .filters summary::after { content: none; }
  .auth { grid-template-columns: .85fr 1.15fr; margin-block: 44px 72px; }
  .auth-side { padding: 40px 34px; }
  .auth-form { padding: 38px 40px 42px; }
  .jd-body { grid-template-columns: 1fr 340px; align-items: start; }
  .sheet { padding: 30px 32px; }
  .plans { grid-template-columns: repeat(4, 1fr); }
  .card { padding: 26px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .file { transition: none; }
}
@media print {
  .top, .subnav, .foot, .tabbar, .applybar, .no-print { display: none !important; }
  body { background: #fff; }
}
