/* Remote Jobs Now — design system
   Warm cream canvas, ink text, a single ember-orange accent, pill controls,
   generously rounded cards, borders instead of shadows, light-weight display
   type with tight tracking. Inter is self-hosted (no third-party requests). */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Accent */
  --ember: #ff3c00;          /* accents: underlines, dots, icon buttons, large display words */
  --ember-cta: #d93400;      /* filled buttons with white text (4.7:1, WCAG AA) */
  --ember-cta-hover: #c93000;
  --ember-text: #c93000;     /* orange text on cream (5.0:1) */
  --rust: #ec4e02;           /* outlines for tags and focused edges */
  --coral: #ff764c;
  --peach: #ffb199;
  --peach-tint: #ffe6dc;
  /* Surfaces */
  --canvas: #faf6f1;
  --white: #ffffff;
  --sand: #dfddd8;
  --driftwood: #cbc7c3;
  --fog: #efefef;
  --dark: #1a1919;
  /* Ink */
  --ink: #0e0e0f;
  --charcoal: #312e2e;
  --slate: #36373b;
  --pewter: #52545a;
  --warm-gray: #76716f;
  --stone: #898c94;
  /* Shape */
  --r-pill: 100px;
  --r-card: 20px;
  --r-feature: 40px;
  --r-small: 6px;
  --wrap: 1200px;
  --font: "Inter", "Geist", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  letter-spacing: -0.01em;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: var(--ember); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { color: var(--ember-text); }
p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--ink); font-weight: 450; margin: 0; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4rem); line-height: 0.98; letter-spacing: -0.05em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--pewter); }
.small { font-size: 0.875rem; }
.eyebrow { font-size: 0.875rem; font-weight: 500; color: var(--warm-gray); letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.accent { color: var(--ember); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-pill); z-index: 10; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.section { padding: 80px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { margin: 0; }

/* ---------- Header / nav ---------- */
.site-header { background: var(--canvas); border-bottom: 1px solid var(--sand); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--ember); display: inline-block; position: relative; }
.brand-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--canvas); }
.brand b { font-weight: 600; color: var(--ember-text); }
.site-nav { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.site-nav a { color: var(--slate); font-size: 0.875rem; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ember); }
.site-nav .btn { border-bottom: 0; padding: 9px 18px; min-height: 0; color: #fff; }
@media (max-width: 640px) { .site-nav { gap: 16px; } .site-nav .btn { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 0.95rem/1 var(--font); letter-spacing: -0.01em;
  padding: 13px 22px; min-height: 46px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ember-cta); background: var(--ember-cta); color: #fff; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ember-cta-hover); border-color: var(--ember-cta-hover); color: #fff; }
.btn-secondary, .btn-quiet { background: transparent; color: var(--ink); border-color: var(--charcoal); }
.btn-secondary:hover, .btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--charcoal); border-color: var(--charcoal); }

/* ---------- Forms ---------- */
label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; font: 400 1rem var(--font); color: var(--ink); background: var(--white);
  border: 1px solid var(--driftwood); border-radius: var(--r-small); padding: 11px 12px; min-height: 46px;
}
input::placeholder { color: var(--warm-gray); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate); margin: 6px 0; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--ember-cta); }
.form-field { margin-bottom: 16px; }
.form-field ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.form-field ul label { font-weight: 400; display: flex; gap: 10px; align-items: center; color: var(--slate); }
.form-field input[type="radio"], .form-field input[type="checkbox"] { accent-color: var(--ember-cta); width: 18px; height: 18px; }
.errorlist { color: var(--ember-text); list-style: none; padding: 0; margin: 6px 0; font-size: 0.875rem; }
.hp-field { position: absolute; left: -5000px; }
.card-form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 32px; }
@media (max-width: 480px) { .card-form { padding: 22px; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 8px; }
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.125rem; line-height: 1.55; color: var(--pewter); max-width: 38rem; margin: 22px 0 0; }
.search-bar {
  margin-top: 36px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card);
  padding: 8px; display: grid; grid-template-columns: 1.6fr 1fr auto; gap: 8px; align-items: center; max-width: 860px;
}
.search-bar input, .search-bar select { border: 0; min-height: 52px; font-size: 1.0625rem; background: transparent; }
.search-bar select { border-left: 1px solid var(--sand); border-radius: 0; }
.search-bar input:focus, .search-bar select:focus { outline: 2px solid var(--ember); outline-offset: -2px; border-radius: 12px; }
.search-go {
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ember); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color .15s ease;
}
.search-go:hover { background: var(--ember-cta-hover); }
.search-go svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .search-bar { grid-template-columns: 1fr auto; }
  .search-bar select { grid-column: 1 / -1; grid-row: 2; border-left: 0; border-top: 1px solid var(--sand); }
}
.hero-meta { display: flex; gap: 8px 22px; flex-wrap: wrap; margin-top: 18px; color: var(--warm-gray); font-size: 0.875rem; }
.hero-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-right: 8px; vertical-align: middle; }

/* Category pills */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--driftwood); background: transparent; color: var(--ink); text-decoration: none; font-size: 0.875rem; font-weight: 500;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip .count { color: var(--warm-gray); font-weight: 400; }
.chip[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-current="true"] .count { color: var(--driftwood); }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card { border-radius: var(--r-feature); padding: 36px; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-card h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 450; margin-top: 18px; max-width: 18ch; }
.bento-card p { margin: 16px 0 0; font-size: 0.95rem; line-height: 1.55; max-width: 34rem; }
.bento-card .eyebrow { color: var(--charcoal); margin: 0; }
.bento-peach { background: var(--peach); grid-column: span 3; }
.bento-coral { background: var(--coral); grid-column: span 3; }
.bento-coral p, .bento-peach p { color: var(--charcoal); }
.bento-dark { background: var(--dark); color: #f3efe9; grid-column: span 6; flex-direction: row; align-items: center; gap: 32px; min-height: 0; }
.bento-dark h3 { color: #fff; margin: 0; }
.bento-dark p { color: #cbc7c3; margin: 0; }
.bento-dark .eyebrow { color: var(--peach); }
@media (max-width: 900px) {
  .bento-peach, .bento-coral, .bento-dark { grid-column: span 6; }
  .bento-dark { flex-direction: column; align-items: flex-start; }
  .bento-card { border-radius: 28px; padding: 28px; min-height: 0; }
}

/* Employer strip */
.logo-strip { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; padding: 0; margin: 0; list-style: none; }
.logo-strip li { color: var(--warm-gray); font-size: 1.125rem; font-weight: 500; letter-spacing: -0.03em; }

/* ---------- Layout: listing ---------- */
.page-head { padding: 56px 0 28px; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3rem); letter-spacing: -0.04em; line-height: 1; max-width: 22ch; }
.page-head p { margin: 16px 0 0; max-width: 44rem; }
.layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } }
.filters { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 22px; position: sticky; top: 16px; }
@media (max-width: 960px) { .filters { position: static; } }
.filters fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.filters legend { font-size: 0.875rem; font-weight: 500; color: var(--charcoal); margin-bottom: 6px; }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .filter-toggle { display: inline-flex; margin-bottom: 12px; }
  .filters.collapsed .filters-body { display: none; }
  .filters.collapsed { padding: 14px 16px; }
  .filters.collapsed .filter-toggle { margin: 0; }
}
.results-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-title { margin: 0; font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 500; }

/* ---------- Job cards ---------- */
.job-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .job-grid { grid-template-columns: 1fr; } }
.job-card {
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 22px 24px;
  transition: border-color .15s ease; position: relative;
}
.job-card:hover { border-color: var(--ink); }
.job-card h3 { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-card); } /* whole card clickable */
.job-card .employer { color: var(--pewter); font-size: 0.9375rem; margin: 4px 0 12px; }
.job-card p { margin: 12px 0 0; color: var(--pewter); font-size: 0.9375rem; line-height: 1.55; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0; padding: 4px 9px; border-radius: var(--r-small); background: var(--fog); color: var(--slate); }
.tag-remote { background: transparent; border: 1px solid var(--rust); color: var(--ember-text); }
.tag-hybrid { background: var(--sand); color: var(--charcoal); }
.tag-unclear { background: var(--peach-tint); color: #8a2a00; }
.tag-pay { background: var(--ink); color: #fff; }
.section-note { background: var(--peach-tint); border-radius: var(--r-card); padding: 18px 22px; margin: 36px 0 14px; color: #5c1d00; }
.pagination { display: flex; gap: 12px; align-items: center; margin-top: 28px; flex-wrap: wrap; }
.empty { background: var(--white); border: 1px dashed var(--driftwood); border-radius: var(--r-card); padding: 28px; }

/* ---------- Job detail ---------- */
.job-header { padding: 56px 0 28px; }
.job-header .employer { font-size: 1.0625rem; color: var(--pewter); margin-bottom: 14px; }
.job-header h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); letter-spacing: -0.045em; line-height: 1; max-width: 20ch; margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-grid article h2 { font-size: 1.5rem; letter-spacing: -0.03em; margin: 36px 0 12px; }
.detail-grid article ul { padding-left: 1.2rem; color: var(--slate); }
.detail-grid article li { margin: 6px 0; }
.facts { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 24px; }
.facts dl { margin: 0; display: grid; gap: 14px; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--warm-gray); font-weight: 500; }
.facts dd { margin: 2px 0 0; color: var(--ink); }
.apply-box { margin-bottom: 16px; }
.apply-box p { font-size: 0.8125rem; color: var(--warm-gray); margin: 10px 4px 0; }
.closed-banner { background: var(--fog); border-radius: var(--r-card); padding: 18px 20px; margin-bottom: 14px; }
.eligibility { background: var(--white); border: 1px solid var(--sand); border-left: 4px solid var(--ember); border-radius: 14px; padding: 16px 20px; margin: 0 0 14px; }
.eligibility.unclear { background: var(--peach-tint); border-color: var(--peach); border-left-color: var(--rust); color: #5c1d00; }
.source-description { border-top: 1px solid var(--sand); margin-top: 36px; padding-top: 8px; color: var(--slate); }
.safety { font-size: 0.9375rem; background: var(--dark); color: #e9e4dd; border-radius: var(--r-card); padding: 22px 24px; margin-top: 36px; }
.safety strong { color: var(--peach); }
.staff-banner { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); margin: 16px 0 0; font-size: 0.875rem; }
.apply-mobile { display: none; margin: 0 0 24px; }
.apply-mobile p { margin: 8px 4px 0; }
@media (max-width: 960px) { .apply-mobile { display: block; } }

/* ---------- Signup ---------- */
.signup-box { background: var(--peach); border-radius: var(--r-feature); padding: 40px; margin-top: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: end; }
.signup-box h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.02; margin: 0; }
.signup-box p { color: var(--charcoal); margin: 12px 0 0; }
.signup-box label { color: var(--ink); }
.signup-box select { border-color: transparent; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
@media (max-width: 820px) { .signup-box { grid-template-columns: 1fr; padding: 28px; border-radius: 28px; } }
@media (max-width: 480px) { .search-row { grid-template-columns: 1fr; } }

/* ---------- Notices / prose ---------- */
.notice { background: var(--peach-tint); color: #5c1d00; padding: 14px 18px; border-radius: 14px; margin: 16px 0; }
.owner-review { background: var(--ink); color: #fff; padding: 14px 18px; border-radius: 14px; margin: 16px 0 28px; font-weight: 500; }
.prose { max-width: 720px; color: var(--slate); }
.prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.prose li { margin: 6px 0; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--sand); padding: 48px 0 56px; color: var(--pewter); font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--slate); text-decoration: none; }
.footer-links a:hover { color: var(--ember-text); }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Ad slots: off by default; always labeled; never next to Apply. */
.ad-slot { border: 1px dashed var(--driftwood); border-radius: var(--r-card); padding: 16px; margin: 32px 0; font-size: 0.85rem; color: var(--warm-gray); }
.ad-slot::before { content: "Advertisement"; display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }

/* Utilities */
.page-top { padding-top: 56px; }
.mt-0 { margin-top: 0; }
.mt-half { margin-top: 10px; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.break-all { word-break: break-all; }

/* Landing pages */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: 0.8125rem; color: var(--warm-gray); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--driftwood); }
.crumbs a { color: var(--warm-gray); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.lede-sm { font-size: 1.0625rem; line-height: 1.6; color: var(--pewter); max-width: 48rem; margin: 18px 0 0; }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--sand); }
.related h2 { font-size: 1.5rem; }
.related .chips { margin-top: 10px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.hub-grid a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--white); border: 1px solid var(--sand); border-radius: 14px; text-decoration: none; color: var(--ink); }
.hub-grid a:hover { border-color: var(--ink); color: var(--ink); }
.hub-grid .count { color: var(--warm-gray); }
.hub-grid .none { opacity: 0.6; }

/* Account */
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.account-grid > section:first-child { grid-row: span 2; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.account-grid h2 { font-size: 1.5rem; }
.account-grid textarea { min-height: 96px; }
.divider { border: 0; border-top: 1px solid var(--sand); margin: 28px 0 20px; }
.prompt-box { width: 100%; font: 400 0.875rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--canvas); border: 1px solid var(--sand); border-radius: 14px; padding: 16px; color: var(--ink); }
.ai-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 20px 22px; margin: 0 0 24px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.ai-card p { margin: 4px 0 0; color: var(--pewter); font-size: 0.9375rem; max-width: 34rem; }
.ai-card strong { font-weight: 500; }

/* CV builder */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 26px; }
.steps h3 { margin: 14px 0 8px; }
.steps p { color: var(--pewter); margin: 0; }
.step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--ember); color: #fff; align-items: center; justify-content: center; font-weight: 600; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.bento-white { background: var(--white); border: 1px solid var(--sand); grid-column: span 3; min-height: 0; }
@media (max-width: 900px) { .bento-white { grid-column: span 6; } }
.boost { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-feature); padding: 40px; }
@media (max-width: 900px) { .boost { grid-template-columns: 1fr; padding: 28px; border-radius: 28px; } }
.ticks { padding: 0; list-style: none; margin: 16px 0 0; display: grid; gap: 8px; color: var(--slate); }
.ticks li::before { content: "✓"; color: var(--ember-text); font-weight: 600; margin-right: 10px; }
.quote-demo { margin: 0; background: var(--canvas); border: 1px dashed var(--driftwood); border-radius: var(--r-card); padding: 24px; }
.quote-demo-h { font-weight: 600; margin: 6px 0 10px; }
.quote-demo blockquote { margin: 0 0 8px; font-size: 1.125rem; letter-spacing: -0.02em; color: var(--ink); }
.testimonial-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.testimonial-item { border: 1px solid var(--sand); border-radius: 14px; padding: 14px 16px; background: var(--canvas); }
.testimonial-item blockquote { margin: 6px 0; color: var(--ink); }
.testimonial-item .actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.testimonial-item .actions .btn { min-height: 0; padding: 7px 14px; font-size: 0.8125rem; }
.pick-list { list-style: none; padding: 0; margin: 8px 0 16px; display: grid; gap: 8px; }
.pick-list label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--slate); background: var(--canvas); border: 1px solid var(--sand); border-radius: 12px; padding: 10px 12px; }
.pick-list input { margin-top: 4px; accent-color: var(--ember-cta); width: 18px; height: 18px; flex: none; }
.mini-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.mini-steps li { counter-increment: s; background: var(--canvas); border: 1px solid var(--sand); border-radius: 14px; padding: 14px 16px; font-weight: 500; }
.mini-steps li::before { content: counter(s); display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--ember); color: #fff; align-items: center; justify-content: center; margin-right: 10px; font-size: 0.8125rem; }

/* ---------- CV builder funnel (no nav, no footer links) ---------- */
.funnel-header { border-bottom: 1px solid var(--sand); background: var(--canvas); }
.funnel-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 68px; }
.funnel-exit { justify-self: end; color: var(--warm-gray); text-decoration: none; }
.funnel-exit:hover { color: var(--ink); }
.funnel-progress { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.funnel-progress li { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--warm-gray); font-weight: 500; }
.funnel-progress li + li::before { content: ""; width: 28px; height: 1.5px; background: var(--driftwood); margin-right: 4px; }
.fp-n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--driftwood); align-items: center; justify-content: center; font-size: 0.8125rem; }
.funnel-progress li[aria-current="step"] { color: var(--ink); }
.funnel-progress li[aria-current="step"] .fp-n { background: var(--ember-cta); border-color: var(--ember-cta); color: #fff; }
.funnel-progress li.done .fp-n { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 720px) {
  .funnel-header-row { grid-template-columns: 1fr auto; }
  .funnel-header .brand { display: none; }
  .fp-label { display: none; }
  .funnel-progress li[aria-current="step"] .fp-label { display: inline; }
  .funnel-progress li + li::before { width: 14px; }
}
.funnel { padding-top: 48px; padding-bottom: 48px; max-width: 1040px; }
.funnel h1 { font-size: clamp(2.1rem, 5vw, 3rem); letter-spacing: -0.045em; line-height: 1.02; }
.funnel-head { max-width: 46rem; margin-bottom: 32px; }
.funnel-narrow { max-width: 560px; margin: 0 auto; }
.funnel-footer { padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--sand); max-width: 1040px; }
.funnel-form textarea { min-height: 0; }
.req { font-size: 0.75rem; font-weight: 500; color: var(--ember-text); margin-left: 4px; }

/* Field + help tip side by side; the tip lights up while its field has focus. */
.help-row { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 22px 24px; margin-bottom: 12px;
  transition: border-color .15s ease; }
.help-row:focus-within { border-color: var(--ink); }
.help-row.has-error { border-color: var(--rust); }
.help-row .form-field { margin: 0; }
.help-tip { display: flex; gap: 10px; align-items: flex-start; color: var(--pewter); font-size: 0.875rem; line-height: 1.5;
  border-radius: 14px; padding: 12px 14px; background: var(--canvas); transition: background-color .15s ease, color .15s ease; }
.help-tip p { margin: 0; }
.help-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; }
.help-row:focus-within .help-tip { background: var(--peach-tint); color: #5c1d00; }
.help-row:focus-within .help-icon { background: var(--ember-cta); color: #fff; }
@media (max-width: 820px) {
  .help-row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .help-row .help-tip { order: -1; } /* tip right under the label on phones */
  .help-row .form-field { order: 1; }
}
.save-row { border-style: dashed; }
.funnel-actions { display: flex; gap: 16px 20px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.funnel-actions p { margin: 0; }
.btn-lg { min-height: 54px; padding: 16px 28px; font-size: 1.0625rem; }
.btn-small { min-height: 0; padding: 7px 14px; font-size: 0.8125rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Verify */
.code-form { display: grid; gap: 10px; }
.code-form label { margin: 0; }
.code-input { font-size: 1.75rem !important; letter-spacing: 0.4em; text-align: center; max-width: 280px; min-height: 64px; }
.funnel-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; font-size: 0.875rem; }
.funnel-links form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-color: var(--ember); text-underline-offset: 0.18em; cursor: pointer; }
.link-btn:hover { color: var(--ember-text); }

/* Invite */
.invite-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .invite-layout { grid-template-columns: 1fr; } }
.invite-rows { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 12px; }
.invite-row { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--r-card); padding: 18px 20px; transition: border-color .15s ease; }
.invite-row:focus-within { border-color: var(--ink); }
.invite-row.has-error { border-color: var(--rust); }
.invite-n { width: 30px; height: 30px; border-radius: 50%; background: var(--fog); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem; margin-top: 26px; }
.invite-row:focus-within .invite-n { background: var(--ember-cta); color: #fff; }
.invite-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.invite-fields .form-field { margin-bottom: 10px; }
.invite-rel { grid-column: 1 / -1; margin-bottom: 0 !important; }
.invite-error { grid-column: 1 / -1; margin: 8px 0 0; }
@media (max-width: 560px) { .invite-fields { grid-template-columns: 1fr; } .invite-row { grid-template-columns: 1fr; } .invite-n { margin: 0; } }
.invite-help { display: grid; gap: 12px; position: sticky; top: 16px; }
@media (max-width: 960px) { .invite-help { position: static; } }
.help-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 20px 22px; }
.help-card h2 { font-size: 1.125rem; letter-spacing: -0.02em; margin: 0 0 10px; font-weight: 500; }
.help-card .ticks { margin: 0 0 10px; font-size: 0.9rem; }
.help-card p:last-child { margin-bottom: 0; }
.email-preview { background: var(--canvas); border-style: dashed; }

/* Done */
.funnel-done { text-align: left; }
.done-mark { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: var(--ember-cta); color: #fff; font-size: 1.75rem; align-items: center; justify-content: center; margin-bottom: 20px; }

/* CV builder landing extras */
.cv-hero h1 { max-width: 17ch; }
.hero-cta-note { margin-top: 14px; color: var(--warm-gray); font-size: 0.875rem; }
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 820px) { .contrast { grid-template-columns: 1fr; } }
.contrast-card { border-radius: var(--r-card); padding: 26px 28px; border: 1px solid var(--sand); background: var(--white); }
.contrast-card.is-generic { background: var(--fog); border-color: var(--fog); }
.contrast-card.is-generic .sample { color: var(--warm-gray); }
.contrast-card .sample { font-size: 1.0625rem; letter-spacing: -0.02em; line-height: 1.5; margin: 12px 0 0; }
.contrast-card .sample-by { font-size: 0.875rem; color: var(--pewter); margin-top: 8px; }
.mb-1 { margin-bottom: 16px; }
.help-row-stack { grid-template-columns: 1fr; gap: 12px; }
.help-row-stack .help-tip { order: -1; }

/* ---------- Remote Job Academy ---------- */
.site-nav a.nav-academy { background: var(--peach-tint); color: #8a2a00; font-weight: 600; padding: 7px 14px 7px 12px; border-radius: var(--r-pill); border: 1.5px solid var(--peach); }
.site-nav a.nav-academy::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); margin-right: 7px; vertical-align: middle; }
.site-nav a.nav-academy:hover, .site-nav a.nav-academy[aria-current="page"] { background: var(--ember-cta); border-color: var(--ember-cta); color: #fff; }
.site-nav a.nav-academy[aria-current="page"]::before, .site-nav a.nav-academy:hover::before { background: #fff; }
.academy-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.academy-filters a { padding: 7px 14px; border: 1px solid var(--driftwood); border-radius: var(--r-pill); color: var(--slate); font-size: 0.875rem; text-decoration: none; }
.academy-filters a:hover { border-color: var(--ink); color: var(--ink); }
.academy-filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.article-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); padding: 26px; }
.article-card h2, .article-card h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 10px; }
.article-card h2 a, .article-card h3 a { color: var(--ink); text-decoration: none; }
.article-card h2 a:hover, .article-card h3 a:hover { color: var(--ember-text); }
.article-card p { color: var(--pewter); margin: 0 0 10px; }
.article-card .eyebrow { margin-bottom: 8px; }
.article-body { font-size: 1.0625rem; line-height: 1.7; }
.article-body h3 { font-size: 1.2rem; margin: 28px 0 8px; }
.article-body blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--ember); color: var(--pewter); }
.article-cta { margin: 36px 0 0; }
.article-byline a { color: var(--ink); font-weight: 500; }
.author-box { display: flex; gap: 18px; align-items: flex-start; max-width: 720px; margin: 40px 0 0; padding: 24px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-card); }
.author-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--peach-tint); color: var(--ember-text); font-weight: 600; font-size: 1.25rem; }
.author-box p { margin: 0; color: var(--pewter); }
.author-box .author-name { font-weight: 600; margin-bottom: 6px; }
.author-box .author-name a { color: var(--ink); text-decoration: none; }
.author-box .author-links { margin-top: 10px; font-size: 0.875rem; }
.author-box .author-links a { color: var(--ember-text); font-weight: 500; }
.article-card { display: flex; flex-direction: column; }
.article-card .btn-read { align-self: flex-start; margin-top: auto; min-height: 0; padding: 10px 18px; font-size: 0.875rem; }
.article-card .btn-read span[aria-hidden] { transition: transform .15s ease; }
.article-card .btn-read:hover span[aria-hidden] { transform: translateX(3px); }
.alert-banner { display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 32px 0; padding: 18px 22px; background: var(--peach-tint); border: 1.5px solid var(--peach); border-left: 5px solid var(--ember); border-radius: 14px; }
.alert-banner p { margin: 0; font-size: 0.9375rem; color: #5c1d00; line-height: 1.45; }
.alert-banner .alert-banner-title { font-weight: 600; font-size: 1.0625rem; color: var(--ink); margin-bottom: 2px; }
.alert-banner .btn { flex: none; padding: 10px 18px; font-size: 0.875rem; }
.academy-teaser { background: var(--white); border: 1px solid var(--sand); border-left: 5px solid var(--ember); border-radius: var(--r-card); padding: 32px; max-width: 860px; }
.academy-teaser h3 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.academy-teaser h3 a { color: var(--ink); text-decoration: none; }
.academy-teaser h3 a:hover { color: var(--ember-text); }
.academy-teaser p { color: var(--pewter); max-width: 44rem; margin: 0 0 12px; }
.academy-teaser .eyebrow { margin-bottom: 8px; }
.academy-teaser .btn { margin-top: 8px; }
@media (max-width: 640px) { .academy-teaser { padding: 22px; } }
.prose .author-box { margin: 12px 0 16px; }
.contact-sent { background: var(--peach-tint); border: 1.5px solid var(--peach); border-left: 5px solid var(--ember); border-radius: 14px; padding: 22px 24px; margin-top: 20px; }
.contact-sent p { margin: 0 0 8px; color: #5c1d00; }
.contact-sent p:last-child { margin-bottom: 0; }
.contact-sent .contact-sent-title { font-weight: 600; font-size: 1.125rem; color: var(--ink); }
