:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --white: #fffefb;
  --ink: #132b40;
  --muted: #506272;
  --gold: #edbf60;
  --line: #dadfdc;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #4377a5; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -100px; padding: 12px; z-index: 2; background: var(--white); }
.skip:focus { top: 12px; }

.site-header { border-bottom: 1px solid #e7e6df; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; letter-spacing: .06em; text-decoration: none; }
.header-inner nav, .site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.header-inner nav a, .site-footer nav a { text-decoration: none; font-size: .92rem; font-weight: 650; }
.header-inner nav a:hover, .site-footer nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-weight: 740; line-height: 1.25; text-decoration: none; cursor: pointer; }
.button-small { min-height: 42px; padding: 9px 13px; font-size: .9rem; }
.button-outline { border-color: #b8c2c8; background: var(--white); color: var(--ink); }
.button-outline:hover { background: #e8edf0; }
.button-gold { background: var(--gold); color: #132739; }
.button-gold:hover { background: #ffd486; }
.button-glass { background: #12283855; border-color: #dbe4eb96; color: #fff; }
.button-glass:hover { background: #2b475d; }

.hero { isolation: isolate; position: relative; margin-top: 22px; min-height: 505px; overflow: hidden; border-radius: 22px; display: grid; align-items: center; background: #102639; color: #fff; }
.hero-photo, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo { z-index: -2; object-fit: cover; object-position: center 56%; }
.hero::before { z-index: -1; content: ""; background: linear-gradient(90deg, #071c2bfa 0%, #0a2031ea 30%, #10263797 57%, #11283b11 100%); }
.hero-content { padding: 56px clamp(28px, 6vw, 82px); }
.eyebrow { margin: 0 0 16px; font-size: .74rem; font-weight: 820; line-height: 1.4; letter-spacing: .13em; }
.hero-label { display: flex; align-items: center; gap: 10px; color: #ffdb89; }
.hero-label span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { margin: 0; font-size: clamp(3rem, 7.2vw, 6.25rem); font-weight: 800; line-height: .96; letter-spacing: -.07em; }
.hero-content > p:not(.eyebrow):not(.hero-note) { max-width: 430px; margin: 22px 0 28px; color: #eef1f5; font-size: clamp(1rem, 2vw, 1.19rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-note { margin: 14px 0 0; font-size: .86rem; color: #dee6ed; }

.jobs-section, .how-section { margin-top: clamp(54px, 7vw, 92px); scroll-margin-top: 24px; }
.section-label { color: #795414; margin-bottom: 9px; }
h2 { margin: 0; font-size: clamp(2rem, 4.5vw, 3.45rem); line-height: 1.06; letter-spacing: -.055em; }
.section-heading p { color: var(--muted); margin: 12px 0 0; line-height: 1.55; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(170px, 1fr); gap: 14px; margin-top: 25px; max-width: 760px; }
.filter label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 720; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 13px; top: 15px; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.filter input, .filter select { width: 100%; min-height: 50px; border: 1px solid #c6d0d2; border-radius: 9px; background: var(--white); color: var(--ink); }
.filter input { padding: 10px 14px 10px 42px; }
.filter select { padding: 10px; }
.listing-shell { margin-top: 24px; }
.listing-status { color: var(--muted); margin: 0 0 13px; }
.listing-shell.empty { padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.listing-shell.empty .listing-status { margin: 0; }
.retry { margin-top: 14px; }
.job-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 13px; margin: 0; padding: 0; list-style: none; }
.job-card { background: var(--white); border: 1px solid var(--line); border-radius: 13px; padding: 20px; min-width: 0; overflow-wrap: anywhere; }
.job-category { margin: 0 0 9px; color: #795414; font-size: .82rem; font-weight: 800; }
.job-title { margin: 0; line-height: 1.25; font-size: 1.27rem; }
.job-meta { margin: 9px 0; color: var(--muted); font-size: .92rem; }
.job-price { margin: 13px 0 0; font-weight: 750; }
.job-details { margin-top: 13px; }
.job-details summary { cursor: pointer; font-size: .88rem; font-weight: 700; }
.job-details p { color: var(--muted); line-height: 1.55; white-space: pre-line; }
.job-details a { font-weight: 700; }

.how-section { border-top: 1px solid var(--line); padding-top: 39px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.steps article { border-top: 2px solid #d9ba77; padding: 17px 8px 4px 0; }
.step-number { color: #795414; font-size: .82rem; font-weight: 850; letter-spacing: .08em; }
.steps h3 { margin: 9px 0 6px; font-size: 1.24rem; }
.steps p { max-width: 300px; margin: 0; color: var(--muted); line-height: 1.58; }
.download { margin: 48px 0 0; padding: clamp(22px, 4vw, 42px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 17px; color: #fff; background: #132b40; }
.download h2 { font-size: clamp(1.65rem, 4vw, 2.55rem); }
.download p { margin: 10px 0 0; color: #e1e8ed; line-height: 1.5; }
.download .button { flex: none; }
.site-footer { min-height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 24px; }
.site-footer p { margin: 0; color: var(--muted); font-size: .88rem; }
.site-footer nav { gap: 16px; }
.footer-brand { font-size: .88rem; }
.brief-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.brief-intro > p:not(.eyebrow) { max-width: 480px; line-height: 1.6; color: var(--muted); }
.fee-note { padding: 18px; border-left: 3px solid var(--gold); background: var(--white); }
.brief-form { min-width: 0; }
.brief-form label { display: block; margin: 0 0 7px; font-size: 1rem; font-weight: 650; }
.brief-form input, .brief-form textarea { display: block; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #a9b9c2; border-radius: 8px; background: var(--white); color: var(--ink); margin-bottom: 20px; }
.brief-form textarea { resize: vertical; }
.brief-form p { line-height: 1.55; color: var(--muted); }
.brief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.brief-row > div { min-width: 0; }
.brief-actions { display: flex; flex-wrap: wrap; gap: 10px; }
#brief-result { margin-top: 28px; }
#brief-text { line-height: 1.55; }
#price-note { margin-top: -10px; font-size: .9rem; }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 65px; gap: 8px; }
  .header-inner nav { display: none; }
  .hero { margin-top: 14px; min-height: 440px; border-radius: 15px; }
  .hero::before { background: linear-gradient(90deg, #081d2ef5, #0c2537af 72%, #132d4060); }
  .hero-content { padding-block: 36px; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .brief-section { grid-template-columns: 1fr; }
  .download, .site-footer { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .brand { gap: 6px; font-size: .94rem; }
  .brand img { width: 30px; height: 30px; }
  .header-inner .button { gap: 6px; padding-inline: 9px; }
  .hero-content { padding-inline: 19px; }
  .hero h1 { font-size: clamp(2.55rem, 12vw, 3.1rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .brief-row { grid-template-columns: 1fr; gap: 0; }
}
