/* ============================================================================
   OpenFDE — styles.css
   Light "enterprise-trust" marketplace. Fraunces (display) + Hanken Grotesk (UI).
   Stripe/Linear precision with a recruiter's warmth.
   ========================================================================== */

:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-raised: #FCFCFB;
  --surface-2: #F6F5F1;
  --text: #0F172A;
  --muted: #475569;
  --faint: #94A3B8;
  --border: rgba(15,23,42,.07);
  --border-strong: rgba(15,23,42,.12);
  --primary: #4338CA;
  --primary-hover: #3730A3;
  --primary-lift: #4F46E5;
  --accent: #6366F1;
  --primary-soft: #EEF2FF;
  --primary-ink: #3730A3;
  --success: #15803D;
  --success-soft: #DCFCE7;
  --warning: #B45309;
  --star: #D97706;
  --glow: rgba(99,102,241,.45);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-ui: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-chip: 8px;
  --r-btn: 12px;
  --r-card: 16px;

  --shadow-sm: 0 1px 2px rgba(15,23,42,.04);
  --shadow-card: 0 1px 2px rgba(15,23,42,.04), 0 4px 10px -2px rgba(15,23,42,.06), 0 16px 32px -12px rgba(67,56,202,.13);
  --shadow-hover: 0 2px 4px rgba(15,23,42,.05), 0 8px 18px -4px rgba(15,23,42,.08), 0 28px 50px -16px rgba(67,56,202,.22);
  --shadow-drawer: 0 8px 40px rgba(15,23,42,.14), 0 2px 8px rgba(67,56,202,.08);
  --shadow-btn: inset 0 1px 0 rgba(255,255,255,.20), 0 1px 2px rgba(15,23,42,.12), 0 6px 16px -4px rgba(67,56,202,.30);
  --hilite-top: inset 0 1px 0 rgba(255,255,255,.9);
  --shadow-md: var(--shadow-card);
  --shadow-lg: var(--shadow-drawer);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --mesh:
    radial-gradient(40% 55% at 18% 12%, rgba(67,56,202,.10), transparent 70%),
    radial-gradient(38% 50% at 85% 8%, rgba(99,102,241,.08), transparent 72%),
    radial-gradient(45% 60% at 70% 95%, rgba(21,128,61,.05), transparent 75%);
  --hero-glow: radial-gradient(60% 50% at 50% 0%, rgba(99,102,241,.10), transparent 70%);

  --maxw: 1200px;
  --ease: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-io: cubic-bezier(.4,0,.2,1);
  --nav-h: 64px;
}

/* ------------------------------ reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-optical-sizing: auto; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text); }
svg { display: block; }
:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(99,102,241,.35), 0 0 0 1px var(--primary); border-radius: 6px; }
.tnum { font-variant-numeric: tabular-nums; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--primary); color: #fff; padding: 8px 16px; border-radius: var(--r-btn); }
.skip-link:focus { left: 16px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ----------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: var(--r-btn);
  border: 1px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn--primary { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--primary-lift), var(--primary)); box-shadow: var(--shadow-btn); }
.btn--primary::before { content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: left .55s var(--ease); }
.btn--primary:hover::before { left: 130%; }
.btn--primary:hover { box-shadow: 0 10px 26px -6px rgba(67,56,202,.5), inset 0 1px 0 rgba(255,255,255,.28); }
.btn--primary:active { transform: translateY(1px) scale(.985); }
.btn--ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--block { width: 100%; padding-block: 13px; }
.btn:active { transform: translateY(1px); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; color: var(--text); }
.field textarea, .field input[type="text"], .field select, .intake__form select {
  width: 100%; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-btn);
  padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease; resize: vertical;
}
.field textarea:focus, .field input:focus, .field select:focus, .intake__form select:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}

/* ------------------------------- nav --------------------------------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(250,250,247,.72); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.6); box-shadow: 0 1px 0 rgba(15,23,42,.04), 0 8px 24px -16px rgba(15,23,42,.18); }
.nav__inner { max-width: var(--maxw); margin-inline: auto; height: var(--nav-h); padding-inline: 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand__mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--primary); color: #fff; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; }
.mode-toggle { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 3px; margin-inline: auto; }
.mode-toggle__btn { font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 18px; border-radius: 999px; transition: all .15s ease; }
.mode-toggle__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

/* ------------------------------- hero -------------------------------- */
.hero { position: relative; isolation: isolate; padding-top: 72px; padding-bottom: 56px; overflow: hidden; background: var(--hero-glow), var(--bg); }
.hero__bg {
  position: absolute; inset: -10% -5% auto -5%; height: 120%; z-index: -1; pointer-events: none;
  background: var(--mesh); filter: blur(8px);
  -webkit-mask: radial-gradient(75% 75% at 50% 30%, #000, transparent);
          mask: radial-gradient(75% 75% at 50% 30%, #000, transparent);
}
.hero__inner { position: relative; z-index: 1; max-width: 940px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.eyebrow__badge { background: var(--success-soft); color: var(--success); padding: 4px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .01em; }
.hero__title { font-size: clamp(38px, 5.4vw, 62px); font-weight: 400; letter-spacing: -.025em; max-width: 16ch; }
.hero__sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 60ch; margin-top: 18px; }

/* search bar */
.searchbar {
  display: flex; align-items: stretch; gap: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  padding: 8px; margin-top: 28px; max-width: 860px;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}
.searchbar:focus-within { transform: translateY(-2px); border-color: #C7C3FF; box-shadow: 0 0 0 4px rgba(67,56,202,.12), 0 14px 30px -14px rgba(15,23,42,.25); }
.searchbar__field { display: flex; align-items: center; gap: 10px; padding: 6px 12px; }
.searchbar__field--text { flex: 1; min-width: 0; }
.searchbar__icon { color: var(--faint); flex-shrink: 0; }
.searchbar__field--text input { width: 100%; border: none; outline: none; background: none; font-size: 15px; }
.searchbar__field--text input::placeholder { color: var(--faint); }
.searchbar__field--select { flex-direction: column; align-items: flex-start; gap: 0; justify-content: center; }
.searchbar__label { font-size: 11px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.searchbar__field--select select { border: none; outline: none; background: none; font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; }
.searchbar__divider { width: 1px; background: var(--border); margin-block: 6px; }
.searchbar__submit { padding-inline: 26px; border-radius: 11px; }

.hero__quick { display: flex; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.hero__quick-label { font-size: 13px; color: var(--muted); font-weight: 600; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .01em; color: var(--primary-ink); background: var(--primary-soft); border: 1px solid transparent; padding: 6px 13px; border-radius: 999px; transition: all .15s ease; }
.qchip:hover { border-color: var(--primary); }

.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 36px; margin-top: 40px; max-width: 720px; }
.hstat { display: flex; flex-direction: column; gap: 2px; }
.hstat__num { font-family: var(--font-mono); font-weight: 600; font-size: 28px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hstat__star { color: var(--star); font-size: 22px; }
.hstat__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* --------------------------- trust band ------------------------------ */
.trustband { border-block: 1px solid var(--border); background: var(--surface); }
.trustband__inner { display: flex; align-items: center; gap: 32px; padding-block: 22px; flex-wrap: wrap; }
.trustband__label { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.trustband__logos { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.tlogo { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--faint); letter-spacing: -.01em; opacity: .85; }

/* ------------------------------ browse ------------------------------- */
.browse { padding-block: 56px 72px; }
.browse__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.browse__title { font-size: 30px; }
.browse__filters-btn { display: none; }
.browse__layout { display: grid; grid-template-columns: 264px 1fr; gap: 32px; align-items: start; }

/* filters */
.filters { position: sticky; top: calc(var(--nav-h) + 20px); }
.filters__panel { display: flex; flex-direction: column; gap: 22px; }
.fgroup { display: flex; flex-direction: column; gap: 11px; }
.fgroup__label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.fgroup__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fchip { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); padding: 6px 12px; border-radius: 999px; transition: all .14s ease; }
.fchip:hover { border-color: var(--primary); color: var(--primary); }
.fchip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.fgroup__row { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; user-select: none; }
.fgroup__row input { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.frate__val { font-weight: 600; font-variant-numeric: tabular-nums; }
.frange { -webkit-appearance: none; appearance: none; width: 100%; height: 5px; border-radius: 999px; background: var(--border-strong); cursor: pointer; margin-top: 6px; }
.frange::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.frange::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); border: 3px solid #fff; cursor: pointer; }
.filters__search { position: relative; }
.filters__search input { width: 100%; border: 1px solid var(--border-strong); border-radius: var(--r-btn); padding: 9px 12px 9px 34px; background: var(--surface); }
.filters__search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.filters__search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.fgroup__divider { height: 1px; background: var(--border); }

/* toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__count b { color: var(--text); font-weight: 700; }
.toolbar__right { display: flex; align-items: center; gap: 16px; }
.toolbar__sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.toolbar__sort select { border: 1px solid var(--border-strong); border-radius: 8px; padding: 7px 10px; background: var(--surface); font-weight: 600; font-size: 13px; cursor: pointer; }
.toolbar__clear { font-size: 13px; font-weight: 600; color: var(--primary); }
.toolbar__clear:hover { text-decoration: underline; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.active-filters:empty { display: none; }
.afchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; background: var(--primary-soft); color: var(--primary-ink); border-radius: 999px; padding: 5px 6px 5px 12px; }
.afchip button { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--primary-ink); font-size: 14px; line-height: 1; }
.afchip button:hover { background: rgba(67,56,202,.16); }

/* results grid */
.results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }

/* ------------------------------ avatar ------------------------------- */
.avatar { position: relative; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-ui); background: linear-gradient(135deg, var(--g1, #4338CA), var(--g2, #7C6BE6)); box-shadow: 0 0 0 3px rgba(99,102,241,.10), inset 0 1px 1px rgba(255,255,255,.25); }
.avatar--48 { width: 48px; height: 48px; font-size: 16px; }
.avatar--64 { width: 64px; height: 64px; font-size: 22px; }
.avatar__dot { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--surface); }
.avatar__dot--now { background: var(--success); box-shadow: 0 0 7px 1px rgba(21,128,61,.6); }
.avatar__dot--soon { background: var(--star); }

/* ---------------------------- talent card ---------------------------- */
.tcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-card); cursor: pointer; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; text-align: left; width: 100%; will-change: transform; }
.tcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: var(--hilite-top); }
.tcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: linear-gradient(135deg, rgba(67,56,202,.06), transparent 42%); transition: opacity .28s var(--ease); }
.tcard:hover { transform: translate3d(0,-4px,0); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.tcard:hover::after { opacity: 1; }
.tcard__head { display: flex; align-items: flex-start; gap: 13px; }
.tcard__id { min-width: 0; flex: 1; }
.tcard__name { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.verified { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); color: #fff; flex-shrink: 0; }
.verified svg { width: 10px; height: 10px; }
.tcard__title { font-size: 13.5px; color: var(--muted); margin-top: 1px; }
.tcard__rate { text-align: right; flex-shrink: 0; }
.tcard__rate b { font-family: var(--font-mono); font-weight: 600; font-size: 18px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tcard__rate span { display: block; font-size: 11px; color: var(--faint); }
.tcard__skills { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: -.01em; color: var(--primary-ink); background: var(--primary-soft); padding: 4px 9px; border-radius: var(--r-chip); }
.chip--more { color: var(--muted); background: var(--surface-2); }
.chip--stack { color: var(--muted); background: var(--surface-2); }
.tcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.tcard__meta .star { color: var(--star); font-weight: 700; }
.tcard__meta .dot-sep { color: var(--border-strong); }
.tcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 13px; border-top: 1px solid var(--border); }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.avail__dot { width: 8px; height: 8px; border-radius: 50%; }
.avail__dot--now { background: var(--success); box-shadow: 0 0 6px 0 rgba(21,128,61,.55); }
.avail__dot--soon { background: var(--star); }
.avail--now { color: var(--success); }
.avail--soon { color: var(--warning); }
.tcard__view { font-size: 13px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; transition: transform .28s var(--ease-spring); }
.tcard:hover .tcard__view { transform: translateX(4px); }

/* ----------------------------- job card ------------------------------ */
.jcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow-card); cursor: pointer; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s ease; width: 100%; text-align: left; will-change: transform; }
.jcard::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: var(--hilite-top); }
.jcard::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0; pointer-events: none; background: linear-gradient(135deg, rgba(67,56,202,.06), transparent 42%); transition: opacity .28s var(--ease); }
.jcard:hover { transform: translate3d(0,-4px,0); box-shadow: var(--shadow-hover); border-color: var(--border-strong); }
.jcard:hover::after { opacity: 1; }
.jcard__head { display: flex; align-items: center; gap: 12px; }
.jlogo { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.jcard__co { flex: 1; min-width: 0; }
.jcard__company { font-size: 13px; color: var(--muted); font-weight: 600; }
.jcard__role { font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.jcard__comp { text-align: right; font-family: var(--font-display); font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.jcard__desc { font-size: 14px; color: var(--muted); }
.jcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.jcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--text); }
.pill--type { background: var(--surface-2); border-color: transparent; }

/* empty state */
.empty-state { text-align: center; padding: 64px 24px; border: 1px dashed var(--border-strong); border-radius: var(--r-card); }
.empty-state__title { font-family: var(--font-display); font-weight: 600; font-size: 19px; }
.empty-state__sub { color: var(--muted); margin: 6px 0 18px; }

/* --------------------------- how it works ---------------------------- */
.section-eyebrow { font-family: var(--font-mono); font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.section-title { font-size: clamp(28px, 4vw, 38px); margin-top: 8px; }
.how { padding-block: 72px; border-top: 1px solid var(--border); background: var(--surface); }
.how__steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.how__step { padding-top: 24px; border-top: 2px solid var(--text); }
.how__num { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--primary); }
.how__step-title { font-size: 21px; margin-top: 10px; }
.how__step-body { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* ----------------------------- intake -------------------------------- */
.intake { padding-block: 80px; border-top: 1px solid var(--border); }
.intake__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intake__lede { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 46ch; }
.intake__points { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.intake__points li { position: relative; padding-left: 28px; font-size: 15px; }
.intake__points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--success-soft); }
.intake__points li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 3px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg); }
.intake__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 16px; }
.intake__confirm { background: var(--success-soft); color: var(--success); border-radius: var(--r-btn); padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* --------------------------- closing / faq --------------------------- */
.closing { padding-block: 80px; border-top: 1px solid var(--border); background: var(--surface); }
.closing__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.quote { display: flex; flex-direction: column; gap: 22px; }
.quote__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; letter-spacing: -.01em; }
.quote__by { display: flex; align-items: center; gap: 13px; font-size: 14px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--g1), var(--g2)); }
.quote__role { display: block; color: var(--muted); }
.faq__title { font-size: 26px; margin-bottom: 18px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; text-align: left; font-weight: 600; font-size: 16px; }
.faq__icon { flex-shrink: 0; width: 20px; height: 20px; position: relative; transition: transform .2s ease; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; }
.faq__icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq__icon::after { width: 2px; height: 14px; top: 3px; left: 9px; transition: opacity .2s ease; }
.faq__item.is-open .faq__icon::after { opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); font-size: 15px; }
.faq__a p { padding-bottom: 18px; }

/* ----------------------------- footer -------------------------------- */
.footer { border-top: 1px solid var(--border); padding-block: 56px 28px; background: var(--surface-2); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer__tag { color: var(--muted); font-size: 14px; margin: 14px 0; max-width: 32ch; }
.footer__soc2 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--border-strong); border-radius: 8px; padding: 5px 10px; display: inline-block; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__col h4 { font-family: var(--font-ui); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; padding: 5px 0; color: var(--text); }
.footer__col a:hover { color: var(--primary); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .02em; color: var(--faint); }

/* ------------------------------ drawer ------------------------------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 200; background: rgba(15,23,42,.42); backdrop-filter: blur(2px); opacity: 0; transition: opacity .22s ease; }
.drawer-scrim.is-open { opacity: 1; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(720px, 94vw); background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .26s var(--ease); display: flex; flex-direction: column; }
.drawer.is-open { transform: none; }
.drawer__content { overflow-y: auto; height: 100%; }
.dwr__close { position: absolute; top: 18px; right: 18px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); transition: all .15s ease; }
.dwr__close:hover { background: var(--border); color: var(--text); }
.dwr__header { padding: 32px 32px 24px; border-bottom: 1px solid var(--border); }
.dwr__top { display: flex; gap: 18px; align-items: center; }
.dwr__idblock { flex: 1; min-width: 0; }
.dwr__name { font-family: var(--font-display); font-weight: 600; font-size: 25px; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.dwr__title { color: var(--muted); font-size: 15px; margin-top: 2px; }
.dwr__metarow { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.dwr__metarow .star { color: var(--star); font-weight: 700; }
.dwr__cta { display: flex; gap: 10px; margin-top: 22px; }
.dwr__cta .btn { flex: 1; }
.dwr__rate { margin-left: auto; text-align: right; flex-shrink: 0; }
.dwr__top .avatar, .dwr__top .jlogo { flex-shrink: 0; }
.dwr__rate b { font-family: var(--font-display); font-weight: 700; font-size: 26px; font-variant-numeric: tabular-nums; }
.dwr__rate span { display: block; font-size: 12px; color: var(--faint); }
.dwr__body { padding: 28px 32px 40px; display: flex; flex-direction: column; gap: 28px; }
.dwr__section h3 { font-family: var(--font-ui); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.dwr__bio { font-size: 16px; line-height: 1.65; }
.dwr__deploys { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.dwr__deploys li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; }
.dwr__deploys li::before { content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px; background: var(--primary-soft); }
.dwr__deploys li::after { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 3px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.dwr__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dwr__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dwr__stat { background: var(--surface-2); border-radius: var(--r-chip); padding: 14px 16px; }
.dwr__stat b { font-family: var(--font-display); font-weight: 700; font-size: 20px; display: block; font-variant-numeric: tabular-nums; }
.dwr__stat span { font-size: 12.5px; color: var(--muted); }

/* ----------------------------- responsive ---------------------------- */
@media (min-width: 980px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }

@media (max-width: 979px) {
  .browse__layout { grid-template-columns: 1fr; }
  .browse__filters-btn { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 220; width: min(320px, 86vw); background: var(--surface); transform: translateX(-100%); transition: transform .24s var(--ease); padding: 24px; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .filters.is-open { transform: none; }
  .filters__scrim { position: fixed; inset: 0; z-index: 215; background: rgba(15,23,42,.4); }
  .intake__inner, .closing__inner { grid-template-columns: 1fr; gap: 32px; }
  .how__steps { grid-template-columns: 1fr; gap: 20px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .mode-toggle { order: 3; margin: 0; width: 100%; }
  .nav__inner { flex-wrap: wrap; height: auto; padding-block: 10px; gap: 10px; }
  .nav__signin { display: none; }
  .searchbar { flex-direction: column; align-items: stretch; padding: 12px; gap: 6px; }
  .searchbar__divider { display: none; }
  .searchbar__field { border: 1px solid var(--border); border-radius: 10px; }
  .searchbar__submit { width: 100%; padding-block: 12px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .drawer { width: 100vw; }
  .dwr__header, .dwr__body { padding-inline: 22px; }
  .results-grid { grid-template-columns: 1fr; }
}

/* ----------------------- craft: texture + motion --------------------- */
body::after { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .022; mix-blend-mode: multiply; background-image: var(--grain); }

@keyframes riseIn { from { opacity: 0; transform: translate3d(0,16px,0); } to { opacity: 1; transform: none; } }
.hero__title, .hero__sub, .searchbar, .hero__quick, .hero__stats { animation: riseIn .62s var(--ease) both; }
.hero__sub { animation-delay: .08s; }
.searchbar { animation-delay: .16s; }
.hero__quick { animation-delay: .24s; }
.hero__stats { animation-delay: .32s; }

.reveal { opacity: 0; transform: translate3d(0,22px,0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-stagger] > * { opacity: 0; transform: translate3d(0,18px,0); transition: opacity .55s var(--ease), transform .55s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.reveal.is-in[data-stagger] > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .reveal > *, .hero__title, .hero__sub, .searchbar, .hero__quick, .hero__stats { opacity: 1 !important; transform: none !important; }
}
